]> git.saurik.com Git - wxWidgets.git/blob - configure
3baba7e894b2d3fbc3f84a2a0ae484201e07e8b5
[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.4.
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.4'
274 PACKAGE_STRING='wxWidgets 2.5.4'
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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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 EXTRALIBS_GNOMEPRINT 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_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS 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_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_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_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_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_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 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_MACOS_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_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 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_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 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 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.4 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.4:";;
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 --disable-rpath disable use of rpath for uninstalled builds
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-arcstream use wxArchive streams
907 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class for DLL loading
913 --enable-dynamicloader use (new) wxDynamicLibrary class
914 --enable-exceptions build exception-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-streams use wxStream etc classes
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-stopwatch use wxStopWatch class
930 --enable-sysoptions use wxSystemOptions
931 --enable-textbuf use wxTextBuffer class
932 --enable-textfile use wxTextFile class
933 --enable-timer use wxTimer class
934 --enable-unicode compile wxString with Unicode support
935 --enable-sound use wxSound class
936 --enable-mediactrl use wxMediaCtrl class
937 --enable-wxprintfv use wxWidgets implementation of vprintf()
938 --enable-zipstream use wxZip streams
939 --enable-url use wxURL class
940 --enable-protocol use wxProtocol class
941 --enable-protocol-http HTTP support in wxProtocol
942 --enable-protocol-ftp FTP support in wxProtocol
943 --enable-protocol-file FILE support in wxProtocol
944 --enable-threads use threads
945 --enable-docview use document view architecture
946 --enable-help use help subsystem
947 --enable-mshtmlhelp use MS HTML Help (win32)
948 --enable-html use wxHTML sub-library
949 --enable-htmlhelp use wxHTML-based help
950 --enable-xrc use XRC resources sub-library
951 --enable-constraints use layout-constraints system
952 --enable-printarch use printing architecture
953 --enable-mdi use multiple document interface architecture
954 --enable-mdidoc use docview architecture with MDI
955 --enable-loggui use standard GUI logger
956 --enable-logwin use wxLogWindow
957 --enable-logdialog use wxLogDialog
958 --enable-webkit use wxWebKitCtrl (Mac)
959 --enable-postscript use wxPostscriptDC device context (default for gtk+)
960 --enable-prologio not available; see contrib
961 --enable-resources not available; see contrib
962 --enable-clipboard use wxClipboard class
963 --enable-dnd use Drag'n'Drop classes
964 --enable-metafile use win32 metafiles
965 --enable-controls use all usual controls
966 --enable-accel use accelerators
967 --enable-button use wxButton class
968 --enable-bmpbutton use wxBitmapButton class
969 --enable-calendar use wxCalendarCtrl class
970 --enable-caret use wxCaret class
971 --enable-checkbox use wxCheckBox class
972 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
973 --enable-choice use wxChoice class
974 --enable-choicebook use wxChoicebook class
975 --enable-combobox use wxComboBox class
976 --enable-datepick use wxDatePickerCtrl class
977 --enable-display use wxDisplay class
978 --enable-gauge use wxGauge class
979 --enable-grid use wxGrid class
980 --enable-imaglist use wxImageList class
981 --enable-listbook use wxListbook class
982 --enable-listbox use wxListBox class
983 --enable-listctrl use wxListCtrl class
984 --enable-notebook use wxNotebook class
985 --enable-radiobox use wxRadioBox class
986 --enable-radiobtn use wxRadioButton class
987 --enable-sash use wxSashWindow class
988 --enable-scrollbar use wxScrollBar class and scrollable windows
989 --enable-slider use wxSlider class
990 --enable-spinbtn use wxSpinButton class
991 --enable-spinctrl use wxSpinCtrl class
992 --enable-splitter use wxSplitterWindow class
993 --enable-statbmp use wxStaticBitmap class
994 --enable-statbox use wxStaticBox class
995 --enable-statline use wxStaticLine class
996 --enable-stattext use wxStaticText class
997 --enable-statusbar use wxStatusBar class
998 --enable-tabdialog use wxTabControl class
999 --enable-textctrl use wxTextCtrl class
1000 --enable-togglebtn use wxToggleButton class
1001 --enable-toolbar use wxToolBar class
1002 --enable-tbarnative use native wxToolBar class
1003 --enable-tbarsmpl use wxToolBarSimple class
1004 --enable-treectrl use wxTreeCtrl class
1005 --enable-tipwindow use wxTipWindow class
1006 --enable-popupwin use wxPopUpWindow class
1007 --enable-commondlg use all common dialogs
1008 --enable-choicedlg use wxChoiceDialog
1009 --enable-coldlg use wxColourDialog
1010 --enable-filedlg use wxFileDialog
1011 --enable-finddlg use wxFindReplaceDialog
1012 --enable-fontdlg use wxFontDialog
1013 --enable-dirdlg use wxDirDialog
1014 --enable-msgdlg use wxMessageDialog
1015 --enable-numberdlg use wxNumberEntryDialog
1016 --enable-splash use wxSplashScreen
1017 --enable-textdlg use wxTextDialog
1018 --enable-tipdlg use startup tips
1019 --enable-progressdlg use wxProgressDialog
1020 --enable-wizarddlg use wxWizard
1021 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1022 --enable-miniframe use wxMiniFrame class
1023 --enable-tooltips use wxToolTip class
1024 --enable-splines use spline drawing code
1025 --enable-validators use wxValidator and derived classes
1026 --enable-busyinfo use wxBusyInfo
1027 --enable-joystick use wxJoystick
1028 --enable-metafiles use wxMetaFile (Windows only)
1029 --enable-dragimage use wxDragImage
1030 --enable-accessibility enable accessibility support
1031 --enable-palette use wxPalette class
1032 --enable-image use wxImage class
1033 --enable-gif use gif images (GIF file format)
1034 --enable-pcx use pcx images (PCX file format)
1035 --enable-iff use iff images (IFF file format)
1036 --enable-pnm use pnm images (PNM file format)
1037 --enable-xpm use xpm images (XPM file format)
1038 --enable-icocur use Windows ICO and CUR formats
1039 --enable-official_build official build of wxWidgets (win32 DLL only)
1040 --enable-vendor=VENDOR vendor name (win32 DLL only)
1041 --disable-largefile omit support for large files
1042 --disable-gtktest do not try to compile and run a test GTK+ program
1043 --disable-gtktest Do not try to compile and run a test GTK program
1044 --disable-sdltest Do not try to compile and run a test SDL program
1045 --enable-omf use OMF object format (OS/2)
1046 --disable-precomp-headers
1047 don't use precompiled headers even if compiler can
1048
1049 Optional Packages:
1050 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1051 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1052 --with-gtk use GTK+
1053 --with-motif use Motif/Lesstif
1054 --with-mac use Mac OS X
1055 --with-cocoa use Cocoa
1056 --with-wine use Wine
1057 --with-msw use MS-Windows
1058 --with-pm use OS/2 Presentation Manager
1059 --with-mgl use SciTech MGL
1060 --with-microwin use MicroWindows
1061 --with-x11 use X11
1062 --with-libpng use libpng (PNG image format)
1063 --with-libjpeg use libjpeg (JPEG file format)
1064 --with-libtiff use libtiff (TIFF file format)
1065 --with-libxpm use libxpm (XPM file format)
1066 --with-libmspack use libmspack (CHM help files loading)
1067 --with-sdl use SDL for audio on Unix
1068 --with-gnomeprint use GNOME print for printing under Unix
1069 --with-opengl use OpenGL (or Mesa)
1070 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1071 --with-regex enable support for wxRegEx class
1072 --with-zlib use zlib for LZW compression
1073 --with-odbc use the IODBC and wxODBC classes
1074 --with-expat enable XML support using expat parser
1075 --with-flavour=NAME specify a name to identify this build
1076 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1077 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1078 --with-x use the X Window System
1079 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1080 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1081 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1082 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1083 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1084
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1092 CPP C preprocessor
1093 CXX C++ compiler command
1094 CXXFLAGS C++ compiler flags
1095 CXXCPP C++ preprocessor
1096
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1099
1100 Report bugs to <wx-dev@lists.wxwidgets.org>.
1101 _ACEOF
1102 fi
1103
1104 if test "$ac_init_help" = "recursive"; then
1105 # If there are subdirs, report their specific --help.
1106 ac_popdir=`pwd`
1107 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1108 test -d $ac_dir || continue
1109 ac_builddir=.
1110
1111 if test "$ac_dir" != .; then
1112 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1113 # A "../" for each directory in $ac_dir_suffix.
1114 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1115 else
1116 ac_dir_suffix= ac_top_builddir=
1117 fi
1118
1119 case $srcdir in
1120 .) # No --srcdir option. We are building in place.
1121 ac_srcdir=.
1122 if test -z "$ac_top_builddir"; then
1123 ac_top_srcdir=.
1124 else
1125 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1126 fi ;;
1127 [\\/]* | ?:[\\/]* ) # Absolute path.
1128 ac_srcdir=$srcdir$ac_dir_suffix;
1129 ac_top_srcdir=$srcdir ;;
1130 *) # Relative path.
1131 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1132 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1133 esac
1134
1135 # Do not use `cd foo && pwd` to compute absolute paths, because
1136 # the directories may not exist.
1137 case `pwd` in
1138 .) ac_abs_builddir="$ac_dir";;
1139 *)
1140 case "$ac_dir" in
1141 .) ac_abs_builddir=`pwd`;;
1142 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1143 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1144 esac;;
1145 esac
1146 case $ac_abs_builddir in
1147 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 *)
1149 case ${ac_top_builddir}. in
1150 .) ac_abs_top_builddir=$ac_abs_builddir;;
1151 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1153 esac;;
1154 esac
1155 case $ac_abs_builddir in
1156 .) ac_abs_srcdir=$ac_srcdir;;
1157 *)
1158 case $ac_srcdir in
1159 .) ac_abs_srcdir=$ac_abs_builddir;;
1160 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1161 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1162 esac;;
1163 esac
1164 case $ac_abs_builddir in
1165 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 *)
1167 case $ac_top_srcdir in
1168 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1169 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1171 esac;;
1172 esac
1173
1174 cd $ac_dir
1175 # Check for guested configure; otherwise get Cygnus style configure.
1176 if test -f $ac_srcdir/configure.gnu; then
1177 echo
1178 $SHELL $ac_srcdir/configure.gnu --help=recursive
1179 elif test -f $ac_srcdir/configure; then
1180 echo
1181 $SHELL $ac_srcdir/configure --help=recursive
1182 elif test -f $ac_srcdir/configure.ac ||
1183 test -f $ac_srcdir/configure.in; then
1184 echo
1185 $ac_configure --help
1186 else
1187 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 fi
1189 cd $ac_popdir
1190 done
1191 fi
1192
1193 test -n "$ac_init_help" && exit 0
1194 if $ac_init_version; then
1195 cat <<\_ACEOF
1196 wxWidgets configure 2.5.4
1197 generated by GNU Autoconf 2.59
1198
1199 Copyright (C) 2003 Free Software Foundation, Inc.
1200 This configure script is free software; the Free Software Foundation
1201 gives unlimited permission to copy, distribute and modify it.
1202 _ACEOF
1203 exit 0
1204 fi
1205 exec 5>config.log
1206 cat >&5 <<_ACEOF
1207 This file contains any messages produced by compilers while
1208 running configure, to aid debugging if configure makes a mistake.
1209
1210 It was created by wxWidgets $as_me 2.5.4, which was
1211 generated by GNU Autoconf 2.59. Invocation command line was
1212
1213 $ $0 $@
1214
1215 _ACEOF
1216 {
1217 cat <<_ASUNAME
1218 ## --------- ##
1219 ## Platform. ##
1220 ## --------- ##
1221
1222 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1223 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1224 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1225 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1226 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1227
1228 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1229 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1230
1231 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1232 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1233 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1234 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1235 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1236 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1237 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238
1239 _ASUNAME
1240
1241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1242 for as_dir in $PATH
1243 do
1244 IFS=$as_save_IFS
1245 test -z "$as_dir" && as_dir=.
1246 echo "PATH: $as_dir"
1247 done
1248
1249 } >&5
1250
1251 cat >&5 <<_ACEOF
1252
1253
1254 ## ----------- ##
1255 ## Core tests. ##
1256 ## ----------- ##
1257
1258 _ACEOF
1259
1260
1261 # Keep a trace of the command line.
1262 # Strip out --no-create and --no-recursion so they do not pile up.
1263 # Strip out --silent because we don't want to record it for future runs.
1264 # Also quote any args containing shell meta-characters.
1265 # Make two passes to allow for proper duplicate-argument suppression.
1266 ac_configure_args=
1267 ac_configure_args0=
1268 ac_configure_args1=
1269 ac_sep=
1270 ac_must_keep_next=false
1271 for ac_pass in 1 2
1272 do
1273 for ac_arg
1274 do
1275 case $ac_arg in
1276 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1278 | -silent | --silent | --silen | --sile | --sil)
1279 continue ;;
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 esac
1283 case $ac_pass in
1284 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1285 2)
1286 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1287 if test $ac_must_keep_next = true; then
1288 ac_must_keep_next=false # Got value, back to normal.
1289 else
1290 case $ac_arg in
1291 *=* | --config-cache | -C | -disable-* | --disable-* \
1292 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1293 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1294 | -with-* | --with-* | -without-* | --without-* | --x)
1295 case "$ac_configure_args0 " in
1296 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1297 esac
1298 ;;
1299 -* ) ac_must_keep_next=true ;;
1300 esac
1301 fi
1302 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1303 # Get rid of the leading space.
1304 ac_sep=" "
1305 ;;
1306 esac
1307 done
1308 done
1309 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1310 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1311
1312 # When interrupted or exit'd, cleanup temporary files, and complete
1313 # config.log. We remove comments because anyway the quotes in there
1314 # would cause problems or look ugly.
1315 # WARNING: Be sure not to use single quotes in there, as some shells,
1316 # such as our DU 5.0 friend, will then `close' the trap.
1317 trap 'exit_status=$?
1318 # Save into config.log some information that might help in debugging.
1319 {
1320 echo
1321
1322 cat <<\_ASBOX
1323 ## ---------------- ##
1324 ## Cache variables. ##
1325 ## ---------------- ##
1326 _ASBOX
1327 echo
1328 # The following way of writing the cache mishandles newlines in values,
1329 {
1330 (set) 2>&1 |
1331 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1332 *ac_space=\ *)
1333 sed -n \
1334 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1336 ;;
1337 *)
1338 sed -n \
1339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1340 ;;
1341 esac;
1342 }
1343 echo
1344
1345 cat <<\_ASBOX
1346 ## ----------------- ##
1347 ## Output variables. ##
1348 ## ----------------- ##
1349 _ASBOX
1350 echo
1351 for ac_var in $ac_subst_vars
1352 do
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1355 done | sort
1356 echo
1357
1358 if test -n "$ac_subst_files"; then
1359 cat <<\_ASBOX
1360 ## ------------- ##
1361 ## Output files. ##
1362 ## ------------- ##
1363 _ASBOX
1364 echo
1365 for ac_var in $ac_subst_files
1366 do
1367 eval ac_val=$`echo $ac_var`
1368 echo "$ac_var='"'"'$ac_val'"'"'"
1369 done | sort
1370 echo
1371 fi
1372
1373 if test -s confdefs.h; then
1374 cat <<\_ASBOX
1375 ## ----------- ##
1376 ## confdefs.h. ##
1377 ## ----------- ##
1378 _ASBOX
1379 echo
1380 sed "/^$/d" confdefs.h | sort
1381 echo
1382 fi
1383 test "$ac_signal" != 0 &&
1384 echo "$as_me: caught signal $ac_signal"
1385 echo "$as_me: exit $exit_status"
1386 } >&5
1387 rm -f core *.core &&
1388 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1389 exit $exit_status
1390 ' 0
1391 for ac_signal in 1 2 13 15; do
1392 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1393 done
1394 ac_signal=0
1395
1396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1397 rm -rf conftest* confdefs.h
1398 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1399 echo >confdefs.h
1400
1401 # Predefined preprocessor variables.
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_NAME "$PACKAGE_NAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_STRING "$PACKAGE_STRING"
1420 _ACEOF
1421
1422
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1425 _ACEOF
1426
1427
1428 # Let the site file select an alternate cache file if it wants to.
1429 # Prefer explicitly selected file to automatically selected ones.
1430 if test -z "$CONFIG_SITE"; then
1431 if test "x$prefix" != xNONE; then
1432 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1433 else
1434 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1435 fi
1436 fi
1437 for ac_site_file in $CONFIG_SITE; do
1438 if test -r "$ac_site_file"; then
1439 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1440 echo "$as_me: loading site script $ac_site_file" >&6;}
1441 sed 's/^/| /' "$ac_site_file" >&5
1442 . "$ac_site_file"
1443 fi
1444 done
1445
1446 if test -r "$cache_file"; then
1447 # Some versions of bash will fail to source /dev/null (special
1448 # files actually), so we avoid doing that.
1449 if test -f "$cache_file"; then
1450 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1451 echo "$as_me: loading cache $cache_file" >&6;}
1452 case $cache_file in
1453 [\\/]* | ?:[\\/]* ) . $cache_file;;
1454 *) . ./$cache_file;;
1455 esac
1456 fi
1457 else
1458 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1459 echo "$as_me: creating cache $cache_file" >&6;}
1460 >$cache_file
1461 fi
1462
1463 # Check that the precious variables saved in the cache have kept the same
1464 # value.
1465 ac_cache_corrupted=false
1466 for ac_var in `(set) 2>&1 |
1467 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1468 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1469 eval ac_new_set=\$ac_env_${ac_var}_set
1470 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1471 eval ac_new_val="\$ac_env_${ac_var}_value"
1472 case $ac_old_set,$ac_new_set in
1473 set,)
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1476 ac_cache_corrupted=: ;;
1477 ,set)
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1481 ,);;
1482 *)
1483 if test "x$ac_old_val" != "x$ac_new_val"; then
1484 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1487 echo "$as_me: former value: $ac_old_val" >&2;}
1488 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1489 echo "$as_me: current value: $ac_new_val" >&2;}
1490 ac_cache_corrupted=:
1491 fi;;
1492 esac
1493 # Pass precious variables to config.status.
1494 if test "$ac_new_set" = set; then
1495 case $ac_new_val in
1496 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1497 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1498 *) ac_arg=$ac_var=$ac_new_val ;;
1499 esac
1500 case " $ac_configure_args " in
1501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1502 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1503 esac
1504 fi
1505 done
1506 if $ac_cache_corrupted; then
1507 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1508 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1509 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1510 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1511 { (exit 1); exit 1; }; }
1512 fi
1513
1514 ac_ext=c
1515 ac_cpp='$CPP $CPPFLAGS'
1516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1545
1546
1547
1548
1549 ac_aux_dir=
1550 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1551 if test -f $ac_dir/install-sh; then
1552 ac_aux_dir=$ac_dir
1553 ac_install_sh="$ac_aux_dir/install-sh -c"
1554 break
1555 elif test -f $ac_dir/install.sh; then
1556 ac_aux_dir=$ac_dir
1557 ac_install_sh="$ac_aux_dir/install.sh -c"
1558 break
1559 elif test -f $ac_dir/shtool; then
1560 ac_aux_dir=$ac_dir
1561 ac_install_sh="$ac_aux_dir/shtool install -c"
1562 break
1563 fi
1564 done
1565 if test -z "$ac_aux_dir"; then
1566 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1567 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1571 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1572 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1573
1574 # Make sure we can run config.sub.
1575 $ac_config_sub sun4 >/dev/null 2>&1 ||
1576 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1577 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1578 { (exit 1); exit 1; }; }
1579
1580 echo "$as_me:$LINENO: checking build system type" >&5
1581 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1582 if test "${ac_cv_build+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 else
1585 ac_cv_build_alias=$build_alias
1586 test -z "$ac_cv_build_alias" &&
1587 ac_cv_build_alias=`$ac_config_guess`
1588 test -z "$ac_cv_build_alias" &&
1589 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1590 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1591 { (exit 1); exit 1; }; }
1592 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1593 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1594 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1595 { (exit 1); exit 1; }; }
1596
1597 fi
1598 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1599 echo "${ECHO_T}$ac_cv_build" >&6
1600 build=$ac_cv_build
1601 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1602 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1603 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604
1605
1606 echo "$as_me:$LINENO: checking host system type" >&5
1607 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1608 if test "${ac_cv_host+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 else
1611 ac_cv_host_alias=$host_alias
1612 test -z "$ac_cv_host_alias" &&
1613 ac_cv_host_alias=$ac_cv_build_alias
1614 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1615 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1616 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1617 { (exit 1); exit 1; }; }
1618
1619 fi
1620 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1621 echo "${ECHO_T}$ac_cv_host" >&6
1622 host=$ac_cv_host
1623 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1624 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1625 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1626
1627
1628 echo "$as_me:$LINENO: checking target system type" >&5
1629 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1630 if test "${ac_cv_target+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 else
1633 ac_cv_target_alias=$target_alias
1634 test "x$ac_cv_target_alias" = "x" &&
1635 ac_cv_target_alias=$ac_cv_host_alias
1636 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1640
1641 fi
1642 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1643 echo "${ECHO_T}$ac_cv_target" >&6
1644 target=$ac_cv_target
1645 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648
1649
1650 # The aliases save the names the user supplied, while $host etc.
1651 # will get canonicalized.
1652 test -n "$target_alias" &&
1653 test "$program_prefix$program_suffix$program_transform_name" = \
1654 NONENONEs,x,x, &&
1655 program_prefix=${target_alias}-
1656
1657
1658
1659 wx_major_version_number=2
1660 wx_minor_version_number=5
1661 wx_release_number=4
1662 wx_subrelease_number=0
1663
1664 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1665 WX_VERSION=$WX_RELEASE.$wx_release_number
1666 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1667
1668 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1669
1670 WX_CURRENT=4
1671 WX_REVISION=0
1672 WX_AGE=4
1673
1674
1675
1676 USE_UNIX=1
1677 USE_OS2=0
1678 USE_WIN32=0
1679 USE_DOS=0
1680 USE_BEOS=0
1681 USE_MAC=0
1682
1683 USE_AIX=
1684 USE_BSD= USE_DARWIN= USE_FREEBSD=
1685 USE_GNU= USE_HPUX=
1686 USE_LINUX=
1687 USE_NETBSD=
1688 USE_OPENBSD=
1689 USE_OSF= USE_SGI=
1690 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1691 USE_ULTRIX=
1692 USE_UNIXWARE=
1693
1694 USE_ALPHA=
1695
1696 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1697
1698 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1699
1700 DEFAULT_wxUSE_COCOA=0
1701 DEFAULT_wxUSE_GTK=0
1702 DEFAULT_wxUSE_MAC=0
1703 DEFAULT_wxUSE_MGL=0
1704 DEFAULT_wxUSE_MICROWIN=0
1705 DEFAULT_wxUSE_MOTIF=0
1706 DEFAULT_wxUSE_MSW=0
1707 DEFAULT_wxUSE_PM=0
1708 DEFAULT_wxUSE_X11=0
1709
1710 DEFAULT_DEFAULT_wxUSE_COCOA=0
1711 DEFAULT_DEFAULT_wxUSE_GTK=0
1712 DEFAULT_DEFAULT_wxUSE_MAC=0
1713 DEFAULT_DEFAULT_wxUSE_MGL=0
1714 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1715 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1716 DEFAULT_DEFAULT_wxUSE_MSW=0
1717 DEFAULT_DEFAULT_wxUSE_PM=0
1718 DEFAULT_DEFAULT_wxUSE_X11=0
1719
1720 PROGRAM_EXT=
1721 SO_SUFFIX=so
1722 SAMPLES_RPATH_FLAG=
1723 SAMPLES_RPATH_POSTLINK=
1724
1725 case "${host}" in
1726 *-hp-hpux* )
1727 USE_HPUX=1
1728 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1729 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1730 SO_SUFFIX=sl
1731 cat >>confdefs.h <<\_ACEOF
1732 #define __HPUX__ 1
1733 _ACEOF
1734
1735 ;;
1736 *-*-linux* )
1737 USE_LINUX=1
1738 cat >>confdefs.h <<\_ACEOF
1739 #define __LINUX__ 1
1740 _ACEOF
1741
1742 TMP=`uname -m`
1743 if test "x$TMP" = "xalpha"; then
1744 USE_ALPHA=1
1745 cat >>confdefs.h <<\_ACEOF
1746 #define __ALPHA__ 1
1747 _ACEOF
1748
1749 fi
1750 DEFAULT_DEFAULT_wxUSE_GTK=1
1751 ;;
1752 *-*-gnu* | *-*-k*bsd*-gnu )
1753 USE_GNU=1
1754 TMP=`uname -m`
1755 if test "x$TMP" = "xalpha"; then
1756 USE_ALPHA=1
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __ALPHA__ 1
1759 _ACEOF
1760
1761 fi
1762 DEFAULT_DEFAULT_wxUSE_GTK=1
1763 ;;
1764 *-*-irix5* | *-*-irix6* )
1765 USE_SGI=1
1766 USE_SVR4=1
1767 cat >>confdefs.h <<\_ACEOF
1768 #define __SGI__ 1
1769 _ACEOF
1770
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __SVR4__ 1
1773 _ACEOF
1774
1775 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1776 ;;
1777 *-*-solaris2* )
1778 USE_SUN=1
1779 USE_SOLARIS=1
1780 USE_SVR4=1
1781 cat >>confdefs.h <<\_ACEOF
1782 #define __SUN__ 1
1783 _ACEOF
1784
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SOLARIS__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SVR4__ 1
1791 _ACEOF
1792
1793 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1794 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1795 ;;
1796 *-*-sunos4* )
1797 USE_SUN=1
1798 USE_SUNOS=1
1799 USE_BSD=1
1800 cat >>confdefs.h <<\_ACEOF
1801 #define __SUN__ 1
1802 _ACEOF
1803
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __SUNOS__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __BSD__ 1
1810 _ACEOF
1811
1812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1813 ;;
1814 *-*-freebsd*)
1815 USE_BSD=1
1816 USE_FREEBSD=1
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __FREEBSD__ 1
1819 _ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __BSD__ 1
1823 _ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_GTK=1
1826 ;;
1827 *-*-openbsd*)
1828 USE_BSD=1
1829 USE_OPENBSD=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __OPENBSD__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __BSD__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_GTK=1
1839 ;;
1840 *-*-netbsd*)
1841 USE_BSD=1
1842 USE_NETBSD=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __NETBSD__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __BSD__ 1
1849 _ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1852 ;;
1853 *-*-osf* )
1854 USE_ALPHA=1
1855 USE_OSF=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __ALPHA__ 1
1858 _ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __OSF__ 1
1862 _ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1865 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1866 ;;
1867 *-*-dgux5* )
1868 USE_ALPHA=1
1869 USE_SVR4=1
1870 cat >>confdefs.h <<\_ACEOF
1871 #define __ALPHA__ 1
1872 _ACEOF
1873
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __SVR4__ 1
1876 _ACEOF
1877
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1879 ;;
1880 *-*-sysv5* )
1881 USE_SYSV=1
1882 USE_SVR4=1
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __SYSV__ 1
1885 _ACEOF
1886
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __SVR4__ 1
1889 _ACEOF
1890
1891 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1892 ;;
1893 *-*-aix* )
1894 USE_AIX=1
1895 USE_SYSV=1
1896 USE_SVR4=1
1897 SO_SUFFIX=a
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __AIX__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __SYSV__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __SVR4__ 1
1908 _ACEOF
1909
1910 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1911 ;;
1912
1913 *-*-*UnixWare*)
1914 USE_SYSV=1
1915 USE_SVR4=1
1916 USE_UNIXWARE=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __UNIXWARE__ 1
1919 _ACEOF
1920
1921 ;;
1922
1923 *-*-cygwin* | *-*-mingw32* )
1924 SO_SUFFIX=dll
1925 PROGRAM_EXT=".exe"
1926 RESCOMP=windres
1927 DEFAULT_DEFAULT_wxUSE_MSW=1
1928 ;;
1929
1930 *-pc-msdosdjgpp )
1931 USE_UNIX=0
1932 USE_DOS=1
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __DOS__ 1
1935 _ACEOF
1936
1937 PROGRAM_EXT=".exe"
1938 DEFAULT_DEFAULT_wxUSE_MGL=1
1939 LIBS="$LIBS -lstdc++"
1940 ;;
1941
1942 *-pc-os2_emx | *-pc-os2-emx )
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __EMX__ 1
1945 _ACEOF
1946
1947 USE_OS2=1
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __OS2__ 1
1950 _ACEOF
1951
1952 PROGRAM_EXT=".exe"
1953 DEFAULT_DEFAULT_wxUSE_PM=1
1954 CXX=gcc
1955 LDFLAGS="$LDFLAGS -Zcrtdll"
1956 ac_executable_extensions=".exe"
1957 export ac_executable_extensions
1958 ac_save_IFS="$IFS"
1959 IFS='\\'
1960 ac_TEMP_PATH=
1961 for ac_dir in $PATH; do
1962 IFS=$ac_save_IFS
1963 if test -z "$ac_TEMP_PATH"; then
1964 ac_TEMP_PATH="$ac_dir"
1965 else
1966 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1967 fi
1968 done
1969 export PATH="$ac_TEMP_PATH"
1970 unset ac_TEMP_PATH
1971 ;;
1972
1973 powerpc-*-darwin* )
1974 USE_BSD=1
1975 USE_DARWIN=1
1976 SO_SUFFIX=dylib
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __BSD__ 1
1979 _ACEOF
1980
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __DARWIN__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __POWERPC__ 1
1987 _ACEOF
1988
1989 cat >>confdefs.h <<\_ACEOF
1990 #define TARGET_CARBON 1
1991 _ACEOF
1992
1993 DEFAULT_DEFAULT_wxUSE_MAC=1
1994 ;;
1995 powerpc-apple-macos* )
1996 USE_UNIX=0
1997 ac_cv_c_bigendian=yes
1998 SO_SUFFIX=shlib
1999 DEFAULT_DEFAULT_wxUSE_MAC=1
2000 ;;
2001
2002 *-*-beos* )
2003 USE_BEOS=1
2004 cat >>confdefs.h <<\_ACEOF
2005 #define __BEOS__ 1
2006 _ACEOF
2007
2008 ;;
2009
2010 *)
2011 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2012 echo "$as_me: error: unknown system type ${host}." >&2;}
2013 { (exit 1); exit 1; }; }
2014 esac
2015
2016
2017
2018
2019 wx_arg_cache_file="configarg.cache"
2020 echo "loading argument cache $wx_arg_cache_file"
2021 rm -f ${wx_arg_cache_file}.tmp
2022 touch ${wx_arg_cache_file}.tmp
2023 touch ${wx_arg_cache_file}
2024
2025
2026 DEBUG_CONFIGURE=0
2027 if test $DEBUG_CONFIGURE = 1; then
2028 DEFAULT_wxUSE_UNIVERSAL=no
2029 DEFAULT_wxUSE_STL=no
2030
2031 DEFAULT_wxUSE_NANOX=no
2032
2033 DEFAULT_wxUSE_THREADS=yes
2034
2035 DEFAULT_wxUSE_SHARED=yes
2036 DEFAULT_wxUSE_OPTIMISE=no
2037 DEFAULT_wxUSE_PROFILE=no
2038 DEFAULT_wxUSE_NO_DEPS=no
2039 DEFAULT_wxUSE_NO_RTTI=no
2040 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2041 DEFAULT_wxUSE_RPATH=yes
2042 DEFAULT_wxUSE_PERMISSIVE=no
2043 DEFAULT_wxUSE_DEBUG_FLAG=yes
2044 DEFAULT_wxUSE_DEBUG_INFO=yes
2045 DEFAULT_wxUSE_DEBUG_GDB=yes
2046 DEFAULT_wxUSE_MEM_TRACING=no
2047 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2048 DEFAULT_wxUSE_DMALLOC=no
2049 DEFAULT_wxUSE_APPLE_IEEE=no
2050
2051 DEFAULT_wxUSE_EXCEPTIONS=no
2052 DEFAULT_wxUSE_LOG=yes
2053 DEFAULT_wxUSE_LOGWINDOW=no
2054 DEFAULT_wxUSE_LOGGUI=no
2055 DEFAULT_wxUSE_LOGDIALOG=no
2056
2057 DEFAULT_wxUSE_GUI=yes
2058 DEFAULT_wxUSE_CONTROLS=no
2059
2060 DEFAULT_wxUSE_REGEX=no
2061 DEFAULT_wxUSE_XML=no
2062 DEFAULT_wxUSE_EXPAT=no
2063 DEFAULT_wxUSE_ZLIB=no
2064 DEFAULT_wxUSE_LIBPNG=no
2065 DEFAULT_wxUSE_LIBJPEG=no
2066 DEFAULT_wxUSE_LIBTIFF=no
2067 DEFAULT_wxUSE_LIBXPM=no
2068 DEFAULT_wxUSE_LIBMSPACK=no
2069 DEFAULT_wxUSE_LIBSDL=no
2070 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2071 DEFAULT_wxUSE_ODBC=no
2072 DEFAULT_wxUSE_OPENGL=no
2073
2074 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2075 DEFAULT_wxUSE_STACKWALKER=no
2076 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2077 DEFAULT_wxUSE_STD_IOSTREAM=no
2078 DEFAULT_wxUSE_CMDLINE_PARSER=no
2079 DEFAULT_wxUSE_DATETIME=no
2080 DEFAULT_wxUSE_TIMER=no
2081 DEFAULT_wxUSE_STOPWATCH=no
2082 DEFAULT_wxUSE_FILE=no
2083 DEFAULT_wxUSE_FFILE=no
2084 DEFAULT_wxUSE_TEXTBUFFER=no
2085 DEFAULT_wxUSE_TEXTFILE=no
2086 DEFAULT_wxUSE_SOUND=no
2087 DEFAULT_wxUSE_MEDIACTRL=no
2088 DEFAULT_wxUSE_DIRECTSHOW=no
2089 DEFAULT_wxUSE_INTL=no
2090 DEFAULT_wxUSE_CONFIG=no
2091 DEFAULT_wxUSE_FONTMAP=no
2092 DEFAULT_wxUSE_STREAMS=no
2093 DEFAULT_wxUSE_SOCKETS=no
2094 DEFAULT_wxUSE_OLE=no
2095 DEFAULT_wxUSE_DATAOBJ=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER=no
2097 DEFAULT_wxUSE_JOYSTICK=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2100 DEFAULT_wxUSE_LONGLONG=no
2101 DEFAULT_wxUSE_GEOMETRY=no
2102
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2105 DEFAULT_wxUSE_POSTSCRIPT=no
2106
2107 DEFAULT_wxUSE_CLIPBOARD=no
2108 DEFAULT_wxUSE_TOOLTIPS=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP=no
2110 DEFAULT_wxUSE_DRAGIMAGE=no
2111 DEFAULT_wxUSE_SPLINES=no
2112
2113 DEFAULT_wxUSE_MDI=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2117
2118 DEFAULT_wxUSE_RESOURCES=no
2119 DEFAULT_wxUSE_CONSTRAINTS=no
2120 DEFAULT_wxUSE_IPC=no
2121 DEFAULT_wxUSE_HELP=no
2122 DEFAULT_wxUSE_MS_HTML_HELP=no
2123 DEFAULT_wxUSE_WXHTML_HELP=no
2124 DEFAULT_wxUSE_TREELAYOUT=no
2125 DEFAULT_wxUSE_METAFILE=no
2126 DEFAULT_wxUSE_MIMETYPE=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2128 DEFAULT_wxUSE_PROTOCOL=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE=no
2132 DEFAULT_wxUSE_URL=no
2133
2134 DEFAULT_wxUSE_COMMONDLGS=no
2135 DEFAULT_wxUSE_CHOICEDLG=no
2136 DEFAULT_wxUSE_COLOURDLG=no
2137 DEFAULT_wxUSE_DIRDLG=no
2138 DEFAULT_wxUSE_FILEDLG=no
2139 DEFAULT_wxUSE_FINDREPLDLG=no
2140 DEFAULT_wxUSE_FONTDLG=no
2141 DEFAULT_wxUSE_MSGDLG=no
2142 DEFAULT_wxUSE_NUMBERDLG=no
2143 DEFAULT_wxUSE_TEXTDLG=no
2144 DEFAULT_wxUSE_SPLASH=no
2145 DEFAULT_wxUSE_STARTUP_TIPS=no
2146 DEFAULT_wxUSE_PROGRESSDLG=no
2147 DEFAULT_wxUSE_WIZARDDLG=no
2148
2149 DEFAULT_wxUSE_MENUS=no
2150 DEFAULT_wxUSE_MINIFRAME=no
2151 DEFAULT_wxUSE_HTML=no
2152 DEFAULT_wxUSE_XRC=no
2153 DEFAULT_wxUSE_WEBKIT=no
2154 DEFAULT_wxUSE_FILESYSTEM=no
2155 DEFAULT_wxUSE_FS_INET=no
2156 DEFAULT_wxUSE_FS_ZIP=no
2157 DEFAULT_wxUSE_BUSYINFO=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2159 DEFAULT_wxUSE_ZIPSTREAM=no
2160 DEFAULT_wxUSE_VALIDATORS=no
2161
2162 DEFAULT_wxUSE_ACCEL=no
2163 DEFAULT_wxUSE_BUTTON=no
2164 DEFAULT_wxUSE_BMPBUTTON=no
2165 DEFAULT_wxUSE_CALCTRL=no
2166 DEFAULT_wxUSE_CARET=no
2167 DEFAULT_wxUSE_CHECKBOX=no
2168 DEFAULT_wxUSE_CHECKLST=no
2169 DEFAULT_wxUSE_CHOICE=no
2170 DEFAULT_wxUSE_CHOICEBOOK=no
2171 DEFAULT_wxUSE_COMBOBOX=no
2172 DEFAULT_wxUSE_DATEPICKCTRL=no
2173 DEFAULT_wxUSE_DISPLAY=no
2174 DEFAULT_wxUSE_GAUGE=no
2175 DEFAULT_wxUSE_GRID=no
2176 DEFAULT_wxUSE_IMAGLIST=no
2177 DEFAULT_wxUSE_LISTBOOK=no
2178 DEFAULT_wxUSE_LISTBOX=no
2179 DEFAULT_wxUSE_LISTCTRL=no
2180 DEFAULT_wxUSE_NOTEBOOK=no
2181 DEFAULT_wxUSE_RADIOBOX=no
2182 DEFAULT_wxUSE_RADIOBTN=no
2183 DEFAULT_wxUSE_SASH=no
2184 DEFAULT_wxUSE_SCROLLBAR=no
2185 DEFAULT_wxUSE_SLIDER=no
2186 DEFAULT_wxUSE_SPINBTN=no
2187 DEFAULT_wxUSE_SPINCTRL=no
2188 DEFAULT_wxUSE_SPLITTER=no
2189 DEFAULT_wxUSE_STATBMP=no
2190 DEFAULT_wxUSE_STATBOX=no
2191 DEFAULT_wxUSE_STATLINE=no
2192 DEFAULT_wxUSE_STATTEXT=no
2193 DEFAULT_wxUSE_STATUSBAR=yes
2194 DEFAULT_wxUSE_TABDIALOG=no
2195 DEFAULT_wxUSE_TEXTCTRL=no
2196 DEFAULT_wxUSE_TOGGLEBTN=no
2197 DEFAULT_wxUSE_TOOLBAR=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2200 DEFAULT_wxUSE_TREECTRL=no
2201 DEFAULT_wxUSE_POPUPWIN=no
2202 DEFAULT_wxUSE_TIPWINDOW=no
2203
2204 DEFAULT_wxUSE_UNICODE=no
2205 DEFAULT_wxUSE_UNICODE_MSLU=no
2206 DEFAULT_wxUSE_WCSRTOMBS=no
2207
2208 DEFAULT_wxUSE_PALETTE=no
2209 DEFAULT_wxUSE_IMAGE=no
2210 DEFAULT_wxUSE_GIF=no
2211 DEFAULT_wxUSE_PCX=no
2212 DEFAULT_wxUSE_PNM=no
2213 DEFAULT_wxUSE_IFF=no
2214 DEFAULT_wxUSE_XPM=no
2215 DEFAULT_wxUSE_ICO_CUR=no
2216 DEFAULT_wxUSE_ACCESSIBILITY=no
2217
2218 DEFAULT_wxUSE_MONOLITHIC=no
2219 DEFAULT_wxUSE_PLUGINS=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2221 else
2222 DEFAULT_wxUSE_UNIVERSAL=no
2223 DEFAULT_wxUSE_STL=no
2224
2225 DEFAULT_wxUSE_NANOX=no
2226
2227 DEFAULT_wxUSE_THREADS=yes
2228
2229 DEFAULT_wxUSE_SHARED=yes
2230 DEFAULT_wxUSE_OPTIMISE=yes
2231 DEFAULT_wxUSE_PROFILE=no
2232 DEFAULT_wxUSE_NO_DEPS=no
2233 DEFAULT_wxUSE_NO_RTTI=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2235 DEFAULT_wxUSE_RPATH=yes
2236 DEFAULT_wxUSE_PERMISSIVE=no
2237 DEFAULT_wxUSE_DEBUG_FLAG=no
2238 DEFAULT_wxUSE_DEBUG_INFO=no
2239 DEFAULT_wxUSE_DEBUG_GDB=no
2240 DEFAULT_wxUSE_MEM_TRACING=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2242 DEFAULT_wxUSE_DMALLOC=no
2243 DEFAULT_wxUSE_APPLE_IEEE=yes
2244
2245 DEFAULT_wxUSE_EXCEPTIONS=yes
2246 DEFAULT_wxUSE_LOG=yes
2247 DEFAULT_wxUSE_LOGWINDOW=yes
2248 DEFAULT_wxUSE_LOGGUI=yes
2249 DEFAULT_wxUSE_LOGDIALOG=yes
2250
2251 DEFAULT_wxUSE_GUI=yes
2252
2253 DEFAULT_wxUSE_REGEX=yes
2254 DEFAULT_wxUSE_XML=yes
2255 DEFAULT_wxUSE_EXPAT=yes
2256 DEFAULT_wxUSE_ZLIB=yes
2257 DEFAULT_wxUSE_LIBPNG=yes
2258 DEFAULT_wxUSE_LIBJPEG=yes
2259 DEFAULT_wxUSE_LIBTIFF=yes
2260 DEFAULT_wxUSE_LIBXPM=yes
2261 DEFAULT_wxUSE_LIBMSPACK=yes
2262 DEFAULT_wxUSE_LIBSDL=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2264 DEFAULT_wxUSE_ODBC=no
2265 DEFAULT_wxUSE_OPENGL=no
2266
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2268 DEFAULT_wxUSE_STACKWALKER=yes
2269 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2270 DEFAULT_wxUSE_STD_IOSTREAM=no
2271 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2272 DEFAULT_wxUSE_DATETIME=yes
2273 DEFAULT_wxUSE_TIMER=yes
2274 DEFAULT_wxUSE_STOPWATCH=yes
2275 DEFAULT_wxUSE_FILE=yes
2276 DEFAULT_wxUSE_FFILE=yes
2277 DEFAULT_wxUSE_TEXTBUFFER=yes
2278 DEFAULT_wxUSE_TEXTFILE=yes
2279 DEFAULT_wxUSE_SOUND=yes
2280 DEFAULT_wxUSE_MEDIACTRL=no
2281 DEFAULT_wxUSE_DIRECTSHOW=no
2282 DEFAULT_wxUSE_INTL=yes
2283 DEFAULT_wxUSE_CONFIG=yes
2284 DEFAULT_wxUSE_FONTMAP=yes
2285 DEFAULT_wxUSE_STREAMS=yes
2286 DEFAULT_wxUSE_SOCKETS=yes
2287 DEFAULT_wxUSE_OLE=yes
2288 DEFAULT_wxUSE_DATAOBJ=yes
2289 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2290 DEFAULT_wxUSE_JOYSTICK=yes
2291 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2292 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2293 DEFAULT_wxUSE_LONGLONG=yes
2294 DEFAULT_wxUSE_GEOMETRY=yes
2295
2296 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2297 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2298 DEFAULT_wxUSE_POSTSCRIPT=yes
2299
2300 DEFAULT_wxUSE_CLIPBOARD=yes
2301 DEFAULT_wxUSE_TOOLTIPS=yes
2302 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2303 DEFAULT_wxUSE_DRAGIMAGE=yes
2304 DEFAULT_wxUSE_SPLINES=yes
2305
2306 DEFAULT_wxUSE_MDI=yes
2307 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2308 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2309 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2310
2311 DEFAULT_wxUSE_RESOURCES=no
2312 DEFAULT_wxUSE_CONSTRAINTS=yes
2313 DEFAULT_wxUSE_IPC=yes
2314 DEFAULT_wxUSE_HELP=yes
2315 DEFAULT_wxUSE_MS_HTML_HELP=yes
2316 DEFAULT_wxUSE_WXHTML_HELP=yes
2317 DEFAULT_wxUSE_TREELAYOUT=yes
2318 DEFAULT_wxUSE_METAFILE=yes
2319 DEFAULT_wxUSE_MIMETYPE=yes
2320 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2321 DEFAULT_wxUSE_PROTOCOL=yes
2322 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2323 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2324 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2325 DEFAULT_wxUSE_URL=yes
2326
2327 DEFAULT_wxUSE_COMMONDLGS=yes
2328 DEFAULT_wxUSE_CHOICEDLG=yes
2329 DEFAULT_wxUSE_COLOURDLG=yes
2330 DEFAULT_wxUSE_DIRDLG=yes
2331 DEFAULT_wxUSE_FILEDLG=yes
2332 DEFAULT_wxUSE_FINDREPLDLG=yes
2333 DEFAULT_wxUSE_FONTDLG=yes
2334 DEFAULT_wxUSE_MSGDLG=yes
2335 DEFAULT_wxUSE_NUMBERDLG=yes
2336 DEFAULT_wxUSE_TEXTDLG=yes
2337 DEFAULT_wxUSE_SPLASH=yes
2338 DEFAULT_wxUSE_STARTUP_TIPS=yes
2339 DEFAULT_wxUSE_PROGRESSDLG=yes
2340 DEFAULT_wxUSE_WIZARDDLG=yes
2341
2342 DEFAULT_wxUSE_MENUS=yes
2343 DEFAULT_wxUSE_MINIFRAME=yes
2344 DEFAULT_wxUSE_HTML=yes
2345 DEFAULT_wxUSE_XRC=yes
2346 DEFAULT_wxUSE_WEBKIT=yes
2347 DEFAULT_wxUSE_FILESYSTEM=yes
2348 DEFAULT_wxUSE_FS_INET=yes
2349 DEFAULT_wxUSE_FS_ZIP=yes
2350 DEFAULT_wxUSE_BUSYINFO=yes
2351 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2352 DEFAULT_wxUSE_ZIPSTREAM=yes
2353 DEFAULT_wxUSE_VALIDATORS=yes
2354
2355 DEFAULT_wxUSE_ACCEL=yes
2356 DEFAULT_wxUSE_BUTTON=yes
2357 DEFAULT_wxUSE_BMPBUTTON=yes
2358 DEFAULT_wxUSE_CALCTRL=yes
2359 DEFAULT_wxUSE_CARET=yes
2360 DEFAULT_wxUSE_CHECKBOX=yes
2361 DEFAULT_wxUSE_CHECKLST=yes
2362 DEFAULT_wxUSE_CHOICE=yes
2363 DEFAULT_wxUSE_CHOICEBOOK=yes
2364 DEFAULT_wxUSE_COMBOBOX=yes
2365 DEFAULT_wxUSE_DATEPICKCTRL=yes
2366 DEFAULT_wxUSE_DISPLAY=yes
2367 DEFAULT_wxUSE_GAUGE=yes
2368 DEFAULT_wxUSE_GRID=yes
2369 DEFAULT_wxUSE_IMAGLIST=yes
2370 DEFAULT_wxUSE_LISTBOOK=yes
2371 DEFAULT_wxUSE_LISTBOX=yes
2372 DEFAULT_wxUSE_LISTCTRL=yes
2373 DEFAULT_wxUSE_NOTEBOOK=yes
2374 DEFAULT_wxUSE_RADIOBOX=yes
2375 DEFAULT_wxUSE_RADIOBTN=yes
2376 DEFAULT_wxUSE_SASH=yes
2377 DEFAULT_wxUSE_SCROLLBAR=yes
2378 DEFAULT_wxUSE_SLIDER=yes
2379 DEFAULT_wxUSE_SPINBTN=yes
2380 DEFAULT_wxUSE_SPINCTRL=yes
2381 DEFAULT_wxUSE_SPLITTER=yes
2382 DEFAULT_wxUSE_STATBMP=yes
2383 DEFAULT_wxUSE_STATBOX=yes
2384 DEFAULT_wxUSE_STATLINE=yes
2385 DEFAULT_wxUSE_STATTEXT=yes
2386 DEFAULT_wxUSE_STATUSBAR=yes
2387 DEFAULT_wxUSE_TABDIALOG=no
2388 DEFAULT_wxUSE_TEXTCTRL=yes
2389 DEFAULT_wxUSE_TOGGLEBTN=yes
2390 DEFAULT_wxUSE_TOOLBAR=yes
2391 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2392 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2393 DEFAULT_wxUSE_TREECTRL=yes
2394 DEFAULT_wxUSE_POPUPWIN=yes
2395 DEFAULT_wxUSE_TIPWINDOW=yes
2396
2397 DEFAULT_wxUSE_UNICODE=no
2398 DEFAULT_wxUSE_UNICODE_MSLU=yes
2399 DEFAULT_wxUSE_WCSRTOMBS=no
2400
2401 DEFAULT_wxUSE_PALETTE=yes
2402 DEFAULT_wxUSE_IMAGE=yes
2403 DEFAULT_wxUSE_GIF=yes
2404 DEFAULT_wxUSE_PCX=yes
2405 DEFAULT_wxUSE_IFF=no
2406 DEFAULT_wxUSE_PNM=yes
2407 DEFAULT_wxUSE_XPM=yes
2408 DEFAULT_wxUSE_ICO_CUR=yes
2409 DEFAULT_wxUSE_ACCESSIBILITY=no
2410
2411 DEFAULT_wxUSE_MONOLITHIC=no
2412 DEFAULT_wxUSE_PLUGINS=no
2413 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2414
2415 DEFAULT_wxUSE_GTK2=yes
2416 fi
2417
2418
2419
2420 for toolkit in `echo $ALL_TOOLKITS`; do
2421 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2422 if test "x$LINE" != "x" ; then
2423 has_toolkit_in_cache=1
2424 eval "DEFAULT_$LINE"
2425 eval "CACHE_$toolkit=1"
2426 fi
2427 done
2428
2429
2430
2431 enablestring=
2432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2433 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2434 no_cache=0
2435 # Check whether --enable-gui or --disable-gui was given.
2436 if test "${enable_gui+set}" = set; then
2437 enableval="$enable_gui"
2438
2439 if test "$enableval" = yes; then
2440 ac_cv_use_gui='wxUSE_GUI=yes'
2441 else
2442 ac_cv_use_gui='wxUSE_GUI=no'
2443 fi
2444
2445 else
2446
2447 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x ; then
2449 eval "DEFAULT_$LINE"
2450 else
2451 no_cache=1
2452 fi
2453
2454 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2455
2456 fi;
2457
2458 eval "$ac_cv_use_gui"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2461 fi
2462
2463 if test "$wxUSE_GUI" = yes; then
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2466 else
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2469 fi
2470
2471
2472 enablestring=
2473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2474 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2475 no_cache=0
2476 # Check whether --enable-monolithic or --disable-monolithic was given.
2477 if test "${enable_monolithic+set}" = set; then
2478 enableval="$enable_monolithic"
2479
2480 if test "$enableval" = yes; then
2481 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2482 else
2483 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2484 fi
2485
2486 else
2487
2488 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x ; then
2490 eval "DEFAULT_$LINE"
2491 else
2492 no_cache=1
2493 fi
2494
2495 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2496
2497 fi;
2498
2499 eval "$ac_cv_use_monolithic"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2502 fi
2503
2504 if test "$wxUSE_MONOLITHIC" = yes; then
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2507 else
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2510 fi
2511
2512
2513 enablestring=
2514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2515 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2516 no_cache=0
2517 # Check whether --enable-plugins or --disable-plugins was given.
2518 if test "${enable_plugins+set}" = set; then
2519 enableval="$enable_plugins"
2520
2521 if test "$enableval" = yes; then
2522 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2523 else
2524 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2525 fi
2526
2527 else
2528
2529 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2530 if test "x$LINE" != x ; then
2531 eval "DEFAULT_$LINE"
2532 else
2533 no_cache=1
2534 fi
2535
2536 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2537
2538 fi;
2539
2540 eval "$ac_cv_use_plugins"
2541 if test "$no_cache" != 1; then
2542 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2543 fi
2544
2545 if test "$wxUSE_PLUGINS" = yes; then
2546 echo "$as_me:$LINENO: result: yes" >&5
2547 echo "${ECHO_T}yes" >&6
2548 else
2549 echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6
2551 fi
2552
2553
2554 if test "$wxUSE_GUI" = "yes"; then
2555
2556
2557 enablestring=
2558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2559 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2560 no_cache=0
2561 # Check whether --enable-universal or --disable-universal was given.
2562 if test "${enable_universal+set}" = set; then
2563 enableval="$enable_universal"
2564
2565 if test "$enableval" = yes; then
2566 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2567 else
2568 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2569 fi
2570
2571 else
2572
2573 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2574 if test "x$LINE" != x ; then
2575 eval "DEFAULT_$LINE"
2576 else
2577 no_cache=1
2578 fi
2579
2580 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2581
2582 fi;
2583
2584 eval "$ac_cv_use_universal"
2585 if test "$no_cache" != 1; then
2586 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2587 fi
2588
2589 if test "$wxUSE_UNIVERSAL" = yes; then
2590 echo "$as_me:$LINENO: result: yes" >&5
2591 echo "${ECHO_T}yes" >&6
2592 else
2593 echo "$as_me:$LINENO: result: no" >&5
2594 echo "${ECHO_T}no" >&6
2595 fi
2596
2597
2598 # Check whether --with-gtk or --without-gtk was given.
2599 if test "${with_gtk+set}" = set; then
2600 withval="$with_gtk"
2601 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2602 fi;
2603
2604 # Check whether --with-motif or --without-motif was given.
2605 if test "${with_motif+set}" = set; then
2606 withval="$with_motif"
2607 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2608 fi;
2609
2610 # Check whether --with-mac or --without-mac was given.
2611 if test "${with_mac+set}" = set; then
2612 withval="$with_mac"
2613 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2614 fi;
2615
2616 # Check whether --with-cocoa or --without-cocoa was given.
2617 if test "${with_cocoa+set}" = set; then
2618 withval="$with_cocoa"
2619 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2620 fi;
2621
2622 # Check whether --with-wine or --without-wine was given.
2623 if test "${with_wine+set}" = set; then
2624 withval="$with_wine"
2625 wxUSE_WINE="$withval" CACHE_WINE=1
2626 fi;
2627
2628 # Check whether --with-msw or --without-msw was given.
2629 if test "${with_msw+set}" = set; then
2630 withval="$with_msw"
2631 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2632 fi;
2633
2634 # Check whether --with-pm or --without-pm was given.
2635 if test "${with_pm+set}" = set; then
2636 withval="$with_pm"
2637 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2638 fi;
2639
2640 # Check whether --with-mgl or --without-mgl was given.
2641 if test "${with_mgl+set}" = set; then
2642 withval="$with_mgl"
2643 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2644 fi;
2645
2646 # Check whether --with-microwin or --without-microwin was given.
2647 if test "${with_microwin+set}" = set; then
2648 withval="$with_microwin"
2649 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2650 fi;
2651
2652 # Check whether --with-x11 or --without-x11 was given.
2653 if test "${with_x11+set}" = set; then
2654 withval="$with_x11"
2655 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2656 fi;
2657
2658 enablestring=
2659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2660 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2661 no_cache=0
2662 # Check whether --enable-nanox or --disable-nanox was given.
2663 if test "${enable_nanox+set}" = set; then
2664 enableval="$enable_nanox"
2665
2666 if test "$enableval" = yes; then
2667 ac_cv_use_nanox='wxUSE_NANOX=yes'
2668 else
2669 ac_cv_use_nanox='wxUSE_NANOX=no'
2670 fi
2671
2672 else
2673
2674 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x ; then
2676 eval "DEFAULT_$LINE"
2677 else
2678 no_cache=1
2679 fi
2680
2681 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2682
2683 fi;
2684
2685 eval "$ac_cv_use_nanox"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2688 fi
2689
2690 if test "$wxUSE_NANOX" = yes; then
2691 echo "$as_me:$LINENO: result: yes" >&5
2692 echo "${ECHO_T}yes" >&6
2693 else
2694 echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6
2696 fi
2697
2698
2699
2700 enablestring=
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2703 no_cache=0
2704 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2705 if test "${enable_gtk2+set}" = set; then
2706 enableval="$enable_gtk2"
2707
2708 if test "$enableval" = yes; then
2709 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2710 else
2711 ac_cv_use_gtk2='wxUSE_GTK2=no'
2712 fi
2713
2714 else
2715
2716 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x ; then
2718 eval "DEFAULT_$LINE"
2719 else
2720 no_cache=1
2721 fi
2722
2723 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2724
2725 fi;
2726
2727 eval "$ac_cv_use_gtk2"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2730 fi
2731
2732 if test "$wxUSE_GTK2" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 fi
2739
2740
2741 enablestring=
2742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2743 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2744 no_cache=0
2745 # Check whether --enable-gpe or --disable-gpe was given.
2746 if test "${enable_gpe+set}" = set; then
2747 enableval="$enable_gpe"
2748
2749 if test "$enableval" = yes; then
2750 ac_cv_use_gpe='wxUSE_GPE=yes'
2751 else
2752 ac_cv_use_gpe='wxUSE_GPE=no'
2753 fi
2754
2755 else
2756
2757 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2758 if test "x$LINE" != x ; then
2759 eval "DEFAULT_$LINE"
2760 else
2761 no_cache=1
2762 fi
2763
2764 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2765
2766 fi;
2767
2768 eval "$ac_cv_use_gpe"
2769 if test "$no_cache" != 1; then
2770 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2771 fi
2772
2773 if test "$wxUSE_GPE" = yes; then
2774 echo "$as_me:$LINENO: result: yes" >&5
2775 echo "${ECHO_T}yes" >&6
2776 else
2777 echo "$as_me:$LINENO: result: no" >&5
2778 echo "${ECHO_T}no" >&6
2779 fi
2780
2781
2782
2783 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2784 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2785 no_cache=0
2786
2787 # Check whether --with-libpng or --without-libpng was given.
2788 if test "${with_libpng+set}" = set; then
2789 withval="$with_libpng"
2790
2791 if test "$withval" = yes; then
2792 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2793 elif test "$withval" = no; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2795 elif test "$withval" = sys; then
2796 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2797 elif test "$withval" = builtin; then
2798 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2799 else
2800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2801 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2802 { (exit 1); exit 1; }; }
2803 fi
2804
2805 else
2806
2807 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2810 else
2811 no_cache=1
2812 fi
2813
2814 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2815
2816 fi;
2817
2818 eval "$ac_cv_use_libpng"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_LIBPNG" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2826 elif test "$wxUSE_LIBPNG" = no; then
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2829 elif test "$wxUSE_LIBPNG" = sys; then
2830 echo "$as_me:$LINENO: result: system version" >&5
2831 echo "${ECHO_T}system version" >&6
2832 elif test "$wxUSE_LIBPNG" = builtin; then
2833 echo "$as_me:$LINENO: result: builtin version" >&5
2834 echo "${ECHO_T}builtin version" >&6
2835 else
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2839 fi
2840
2841
2842 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2843 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2844 no_cache=0
2845
2846 # Check whether --with-libjpeg or --without-libjpeg was given.
2847 if test "${with_libjpeg+set}" = set; then
2848 withval="$with_libjpeg"
2849
2850 if test "$withval" = yes; then
2851 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2852 elif test "$withval" = no; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2854 elif test "$withval" = sys; then
2855 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2856 elif test "$withval" = builtin; then
2857 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2858 else
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2862 fi
2863
2864 else
2865
2866 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x ; then
2868 eval "DEFAULT_$LINE"
2869 else
2870 no_cache=1
2871 fi
2872
2873 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2874
2875 fi;
2876
2877 eval "$ac_cv_use_libjpeg"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2880 fi
2881
2882 if test "$wxUSE_LIBJPEG" = yes; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2885 elif test "$wxUSE_LIBJPEG" = no; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2888 elif test "$wxUSE_LIBJPEG" = sys; then
2889 echo "$as_me:$LINENO: result: system version" >&5
2890 echo "${ECHO_T}system version" >&6
2891 elif test "$wxUSE_LIBJPEG" = builtin; then
2892 echo "$as_me:$LINENO: result: builtin version" >&5
2893 echo "${ECHO_T}builtin version" >&6
2894 else
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2898 fi
2899
2900
2901 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2902 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2903 no_cache=0
2904
2905 # Check whether --with-libtiff or --without-libtiff was given.
2906 if test "${with_libtiff+set}" = set; then
2907 withval="$with_libtiff"
2908
2909 if test "$withval" = yes; then
2910 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2911 elif test "$withval" = no; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2913 elif test "$withval" = sys; then
2914 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2915 elif test "$withval" = builtin; then
2916 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2917 else
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2921 fi
2922
2923 else
2924
2925 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x ; then
2927 eval "DEFAULT_$LINE"
2928 else
2929 no_cache=1
2930 fi
2931
2932 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2933
2934 fi;
2935
2936 eval "$ac_cv_use_libtiff"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2939 fi
2940
2941 if test "$wxUSE_LIBTIFF" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6
2944 elif test "$wxUSE_LIBTIFF" = no; then
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2947 elif test "$wxUSE_LIBTIFF" = sys; then
2948 echo "$as_me:$LINENO: result: system version" >&5
2949 echo "${ECHO_T}system version" >&6
2950 elif test "$wxUSE_LIBTIFF" = builtin; then
2951 echo "$as_me:$LINENO: result: builtin version" >&5
2952 echo "${ECHO_T}builtin version" >&6
2953 else
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2957 fi
2958
2959
2960 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2961 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2962 no_cache=0
2963
2964 # Check whether --with-libxpm or --without-libxpm was given.
2965 if test "${with_libxpm+set}" = set; then
2966 withval="$with_libxpm"
2967
2968 if test "$withval" = yes; then
2969 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2970 elif test "$withval" = no; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2972 elif test "$withval" = sys; then
2973 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2974 elif test "$withval" = builtin; then
2975 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2976 else
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2980 fi
2981
2982 else
2983
2984 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2987 else
2988 no_cache=1
2989 fi
2990
2991 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2992
2993 fi;
2994
2995 eval "$ac_cv_use_libxpm"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2998 fi
2999
3000 if test "$wxUSE_LIBXPM" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 elif test "$wxUSE_LIBXPM" = no; then
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 elif test "$wxUSE_LIBXPM" = sys; then
3007 echo "$as_me:$LINENO: result: system version" >&5
3008 echo "${ECHO_T}system version" >&6
3009 elif test "$wxUSE_LIBXPM" = builtin; then
3010 echo "$as_me:$LINENO: result: builtin version" >&5
3011 echo "${ECHO_T}builtin version" >&6
3012 else
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3016 fi
3017
3018
3019 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3020 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3021 no_cache=0
3022
3023 # Check whether --with-libmspack or --without-libmspack was given.
3024 if test "${with_libmspack+set}" = set; then
3025 withval="$with_libmspack"
3026
3027 if test "$withval" = yes; then
3028 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3029 else
3030 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3031 fi
3032
3033 else
3034
3035 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x ; then
3037 eval "DEFAULT_$LINE"
3038 else
3039 no_cache=1
3040 fi
3041
3042 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3043
3044 fi;
3045
3046 eval "$ac_cv_use_libmspack"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3049 fi
3050
3051 if test "$wxUSE_LIBMSPACK" = yes; then
3052 echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6
3054 else
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3057 fi
3058
3059
3060 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3061 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3062 no_cache=0
3063
3064 # Check whether --with-sdl or --without-sdl was given.
3065 if test "${with_sdl+set}" = set; then
3066 withval="$with_sdl"
3067
3068 if test "$withval" = yes; then
3069 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3070 else
3071 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3072 fi
3073
3074 else
3075
3076 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3077 if test "x$LINE" != x ; then
3078 eval "DEFAULT_$LINE"
3079 else
3080 no_cache=1
3081 fi
3082
3083 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3084
3085 fi;
3086
3087 eval "$ac_cv_use_sdl"
3088 if test "$no_cache" != 1; then
3089 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3090 fi
3091
3092 if test "$wxUSE_LIBSDL" = yes; then
3093 echo "$as_me:$LINENO: result: yes" >&5
3094 echo "${ECHO_T}yes" >&6
3095 else
3096 echo "$as_me:$LINENO: result: no" >&5
3097 echo "${ECHO_T}no" >&6
3098 fi
3099
3100
3101 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3102 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3103 no_cache=0
3104
3105 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3106 if test "${with_gnomeprint+set}" = set; then
3107 withval="$with_gnomeprint"
3108
3109 if test "$withval" = yes; then
3110 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3111 else
3112 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3113 fi
3114
3115 else
3116
3117 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3120 else
3121 no_cache=1
3122 fi
3123
3124 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3125
3126 fi;
3127
3128 eval "$ac_cv_use_gnomeprint"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3131 fi
3132
3133 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3136 else
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3139 fi
3140
3141
3142 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3143 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3144 no_cache=0
3145
3146 # Check whether --with-opengl or --without-opengl was given.
3147 if test "${with_opengl+set}" = set; then
3148 withval="$with_opengl"
3149
3150 if test "$withval" = yes; then
3151 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3152 else
3153 ac_cv_use_opengl='wxUSE_OPENGL=no'
3154 fi
3155
3156 else
3157
3158 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3161 else
3162 no_cache=1
3163 fi
3164
3165 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3166
3167 fi;
3168
3169 eval "$ac_cv_use_opengl"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3172 fi
3173
3174 if test "$wxUSE_OPENGL" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3177 else
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3180 fi
3181
3182
3183 fi
3184
3185
3186 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3187 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3188 no_cache=0
3189
3190 # Check whether --with-dmalloc or --without-dmalloc was given.
3191 if test "${with_dmalloc+set}" = set; then
3192 withval="$with_dmalloc"
3193
3194 if test "$withval" = yes; then
3195 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3196 else
3197 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3198 fi
3199
3200 else
3201
3202 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x ; then
3204 eval "DEFAULT_$LINE"
3205 else
3206 no_cache=1
3207 fi
3208
3209 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3210
3211 fi;
3212
3213 eval "$ac_cv_use_dmalloc"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3216 fi
3217
3218 if test "$wxUSE_DMALLOC" = yes; then
3219 echo "$as_me:$LINENO: result: yes" >&5
3220 echo "${ECHO_T}yes" >&6
3221 else
3222 echo "$as_me:$LINENO: result: no" >&5
3223 echo "${ECHO_T}no" >&6
3224 fi
3225
3226
3227 echo "$as_me:$LINENO: checking for --with-regex" >&5
3228 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3229 no_cache=0
3230
3231 # Check whether --with-regex or --without-regex was given.
3232 if test "${with_regex+set}" = set; then
3233 withval="$with_regex"
3234
3235 if test "$withval" = yes; then
3236 ac_cv_use_regex='wxUSE_REGEX=yes'
3237 elif test "$withval" = no; then
3238 ac_cv_use_regex='wxUSE_REGEX=no'
3239 elif test "$withval" = sys; then
3240 ac_cv_use_regex='wxUSE_REGEX=sys'
3241 elif test "$withval" = builtin; then
3242 ac_cv_use_regex='wxUSE_REGEX=builtin'
3243 else
3244 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3245 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3246 { (exit 1); exit 1; }; }
3247 fi
3248
3249 else
3250
3251 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3254 else
3255 no_cache=1
3256 fi
3257
3258 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3259
3260 fi;
3261
3262 eval "$ac_cv_use_regex"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3265 fi
3266
3267 if test "$wxUSE_REGEX" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269 echo "${ECHO_T}yes" >&6
3270 elif test "$wxUSE_REGEX" = no; then
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3273 elif test "$wxUSE_REGEX" = sys; then
3274 echo "$as_me:$LINENO: result: system version" >&5
3275 echo "${ECHO_T}system version" >&6
3276 elif test "$wxUSE_REGEX" = builtin; then
3277 echo "$as_me:$LINENO: result: builtin version" >&5
3278 echo "${ECHO_T}builtin version" >&6
3279 else
3280 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3281 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3282 { (exit 1); exit 1; }; }
3283 fi
3284
3285
3286 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3287 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3288 no_cache=0
3289
3290 # Check whether --with-zlib or --without-zlib was given.
3291 if test "${with_zlib+set}" = set; then
3292 withval="$with_zlib"
3293
3294 if test "$withval" = yes; then
3295 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3296 elif test "$withval" = no; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=no'
3298 elif test "$withval" = sys; then
3299 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3300 elif test "$withval" = builtin; then
3301 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3302 else
3303 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3304 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3305 { (exit 1); exit 1; }; }
3306 fi
3307
3308 else
3309
3310 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x ; then
3312 eval "DEFAULT_$LINE"
3313 else
3314 no_cache=1
3315 fi
3316
3317 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3318
3319 fi;
3320
3321 eval "$ac_cv_use_zlib"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3324 fi
3325
3326 if test "$wxUSE_ZLIB" = yes; then
3327 echo "$as_me:$LINENO: result: yes" >&5
3328 echo "${ECHO_T}yes" >&6
3329 elif test "$wxUSE_ZLIB" = no; then
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3332 elif test "$wxUSE_ZLIB" = sys; then
3333 echo "$as_me:$LINENO: result: system version" >&5
3334 echo "${ECHO_T}system version" >&6
3335 elif test "$wxUSE_ZLIB" = builtin; then
3336 echo "$as_me:$LINENO: result: builtin version" >&5
3337 echo "${ECHO_T}builtin version" >&6
3338 else
3339 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3340 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3341 { (exit 1); exit 1; }; }
3342 fi
3343
3344
3345 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3346 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3347 no_cache=0
3348
3349 # Check whether --with-odbc or --without-odbc was given.
3350 if test "${with_odbc+set}" = set; then
3351 withval="$with_odbc"
3352
3353 if test "$withval" = yes; then
3354 ac_cv_use_odbc='wxUSE_ODBC=yes'
3355 elif test "$withval" = no; then
3356 ac_cv_use_odbc='wxUSE_ODBC=no'
3357 elif test "$withval" = sys; then
3358 ac_cv_use_odbc='wxUSE_ODBC=sys'
3359 elif test "$withval" = builtin; then
3360 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3361 else
3362 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3363 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3364 { (exit 1); exit 1; }; }
3365 fi
3366
3367 else
3368
3369 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x ; then
3371 eval "DEFAULT_$LINE"
3372 else
3373 no_cache=1
3374 fi
3375
3376 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3377
3378 fi;
3379
3380 eval "$ac_cv_use_odbc"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3383 fi
3384
3385 if test "$wxUSE_ODBC" = yes; then
3386 echo "$as_me:$LINENO: result: yes" >&5
3387 echo "${ECHO_T}yes" >&6
3388 elif test "$wxUSE_ODBC" = no; then
3389 echo "$as_me:$LINENO: result: no" >&5
3390 echo "${ECHO_T}no" >&6
3391 elif test "$wxUSE_ODBC" = sys; then
3392 echo "$as_me:$LINENO: result: system version" >&5
3393 echo "${ECHO_T}system version" >&6
3394 elif test "$wxUSE_ODBC" = builtin; then
3395 echo "$as_me:$LINENO: result: builtin version" >&5
3396 echo "${ECHO_T}builtin version" >&6
3397 else
3398 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3399 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3400 { (exit 1); exit 1; }; }
3401 fi
3402
3403
3404 echo "$as_me:$LINENO: checking for --with-expat" >&5
3405 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3406 no_cache=0
3407
3408 # Check whether --with-expat or --without-expat was given.
3409 if test "${with_expat+set}" = set; then
3410 withval="$with_expat"
3411
3412 if test "$withval" = yes; then
3413 ac_cv_use_expat='wxUSE_EXPAT=yes'
3414 elif test "$withval" = no; then
3415 ac_cv_use_expat='wxUSE_EXPAT=no'
3416 elif test "$withval" = sys; then
3417 ac_cv_use_expat='wxUSE_EXPAT=sys'
3418 elif test "$withval" = builtin; then
3419 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3420 else
3421 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3422 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3423 { (exit 1); exit 1; }; }
3424 fi
3425
3426 else
3427
3428 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x ; then
3430 eval "DEFAULT_$LINE"
3431 else
3432 no_cache=1
3433 fi
3434
3435 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3436
3437 fi;
3438
3439 eval "$ac_cv_use_expat"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_EXPAT" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3447 elif test "$wxUSE_EXPAT" = no; then
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3450 elif test "$wxUSE_EXPAT" = sys; then
3451 echo "$as_me:$LINENO: result: system version" >&5
3452 echo "${ECHO_T}system version" >&6
3453 elif test "$wxUSE_EXPAT" = builtin; then
3454 echo "$as_me:$LINENO: result: builtin version" >&5
3455 echo "${ECHO_T}builtin version" >&6
3456 else
3457 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3458 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3459 { (exit 1); exit 1; }; }
3460 fi
3461
3462
3463
3464
3465 enablestring=
3466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3468 no_cache=0
3469 # Check whether --enable-shared or --disable-shared was given.
3470 if test "${enable_shared+set}" = set; then
3471 enableval="$enable_shared"
3472
3473 if test "$enableval" = yes; then
3474 ac_cv_use_shared='wxUSE_SHARED=yes'
3475 else
3476 ac_cv_use_shared='wxUSE_SHARED=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3489
3490 fi;
3491
3492 eval "$ac_cv_use_shared"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3495 fi
3496
3497 if test "$wxUSE_SHARED" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3500 else
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3503 fi
3504
3505
3506 enablestring=
3507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3508 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3509 no_cache=0
3510 # Check whether --enable-optimise or --disable-optimise was given.
3511 if test "${enable_optimise+set}" = set; then
3512 enableval="$enable_optimise"
3513
3514 if test "$enableval" = yes; then
3515 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3516 else
3517 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3518 fi
3519
3520 else
3521
3522 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x ; then
3524 eval "DEFAULT_$LINE"
3525 else
3526 no_cache=1
3527 fi
3528
3529 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3530
3531 fi;
3532
3533 eval "$ac_cv_use_optimise"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3536 fi
3537
3538 if test "$wxUSE_OPTIMISE" = yes; then
3539 echo "$as_me:$LINENO: result: yes" >&5
3540 echo "${ECHO_T}yes" >&6
3541 else
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3544 fi
3545
3546
3547 enablestring=
3548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3549 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3550 no_cache=0
3551 # Check whether --enable-debug or --disable-debug was given.
3552 if test "${enable_debug+set}" = set; then
3553 enableval="$enable_debug"
3554
3555 if test "$enableval" = yes; then
3556 ac_cv_use_debug='wxUSE_DEBUG=yes'
3557 else
3558 ac_cv_use_debug='wxUSE_DEBUG=no'
3559 fi
3560
3561 else
3562
3563 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x ; then
3565 eval "DEFAULT_$LINE"
3566 else
3567 no_cache=1
3568 fi
3569
3570 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3571
3572 fi;
3573
3574 eval "$ac_cv_use_debug"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3577 fi
3578
3579 if test "$wxUSE_DEBUG" = yes; then
3580 echo "$as_me:$LINENO: result: yes" >&5
3581 echo "${ECHO_T}yes" >&6
3582 else
3583 echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6
3585 fi
3586
3587
3588 enablestring=
3589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3590 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3591 no_cache=0
3592 # Check whether --enable-stl or --disable-stl was given.
3593 if test "${enable_stl+set}" = set; then
3594 enableval="$enable_stl"
3595
3596 if test "$enableval" = yes; then
3597 ac_cv_use_stl='wxUSE_STL=yes'
3598 else
3599 ac_cv_use_stl='wxUSE_STL=no'
3600 fi
3601
3602 else
3603
3604 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3607 else
3608 no_cache=1
3609 fi
3610
3611 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3612
3613 fi;
3614
3615 eval "$ac_cv_use_stl"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3618 fi
3619
3620 if test "$wxUSE_STL" = yes; then
3621 echo "$as_me:$LINENO: result: yes" >&5
3622 echo "${ECHO_T}yes" >&6
3623 else
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3626 fi
3627
3628 if test "$USE_OS2" = "1"; then
3629
3630 enablestring=
3631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3632 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3633 no_cache=0
3634 # Check whether --enable-omf or --disable-omf was given.
3635 if test "${enable_omf+set}" = set; then
3636 enableval="$enable_omf"
3637
3638 if test "$enableval" = yes; then
3639 ac_cv_use_omf='wxUSE_OMF=yes'
3640 else
3641 ac_cv_use_omf='wxUSE_OMF=no'
3642 fi
3643
3644 else
3645
3646 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x ; then
3648 eval "DEFAULT_$LINE"
3649 else
3650 no_cache=1
3651 fi
3652
3653 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3654
3655 fi;
3656
3657 eval "$ac_cv_use_omf"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3660 fi
3661
3662 if test "$wxUSE_OMF" = yes; then
3663 echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6
3665 else
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3668 fi
3669
3670 fi
3671
3672 if test "$wxUSE_DEBUG" = "yes"; then
3673 DEFAULT_wxUSE_DEBUG_FLAG=yes
3674 DEFAULT_wxUSE_DEBUG_INFO=yes
3675 BUILD=debug
3676 elif test "$wxUSE_DEBUG" = "no"; then
3677 DEFAULT_wxUSE_DEBUG_FLAG=no
3678 DEFAULT_wxUSE_DEBUG_INFO=no
3679 BUILD=release
3680 fi
3681
3682
3683 enablestring=
3684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3685 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3686 no_cache=0
3687 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3688 if test "${enable_debug_flag+set}" = set; then
3689 enableval="$enable_debug_flag"
3690
3691 if test "$enableval" = yes; then
3692 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3693 else
3694 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3695 fi
3696
3697 else
3698
3699 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3702 else
3703 no_cache=1
3704 fi
3705
3706 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3707
3708 fi;
3709
3710 eval "$ac_cv_use_debug_flag"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3713 fi
3714
3715 if test "$wxUSE_DEBUG_FLAG" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3718 else
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3721 fi
3722
3723
3724 enablestring=
3725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3726 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3727 no_cache=0
3728 # Check whether --enable-debug_info or --disable-debug_info was given.
3729 if test "${enable_debug_info+set}" = set; then
3730 enableval="$enable_debug_info"
3731
3732 if test "$enableval" = yes; then
3733 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3734 else
3735 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3736 fi
3737
3738 else
3739
3740 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3741 if test "x$LINE" != x ; then
3742 eval "DEFAULT_$LINE"
3743 else
3744 no_cache=1
3745 fi
3746
3747 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3748
3749 fi;
3750
3751 eval "$ac_cv_use_debug_info"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3754 fi
3755
3756 if test "$wxUSE_DEBUG_INFO" = yes; then
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3759 else
3760 echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6
3762 fi
3763
3764
3765 enablestring=
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3768 no_cache=0
3769 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3770 if test "${enable_debug_gdb+set}" = set; then
3771 enableval="$enable_debug_gdb"
3772
3773 if test "$enableval" = yes; then
3774 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3775 else
3776 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3777 fi
3778
3779 else
3780
3781 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x ; then
3783 eval "DEFAULT_$LINE"
3784 else
3785 no_cache=1
3786 fi
3787
3788 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3789
3790 fi;
3791
3792 eval "$ac_cv_use_debug_gdb"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3795 fi
3796
3797 if test "$wxUSE_DEBUG_GDB" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3800 else
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3803 fi
3804
3805
3806 enablestring=
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3809 no_cache=0
3810 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3811 if test "${enable_debug_cntxt+set}" = set; then
3812 enableval="$enable_debug_cntxt"
3813
3814 if test "$enableval" = yes; then
3815 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3816 else
3817 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3818 fi
3819
3820 else
3821
3822 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3825 else
3826 no_cache=1
3827 fi
3828
3829 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3830
3831 fi;
3832
3833 eval "$ac_cv_use_debug_cntxt"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3836 fi
3837
3838 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3841 else
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3844 fi
3845
3846
3847 enablestring=
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3850 no_cache=0
3851 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3852 if test "${enable_mem_tracing+set}" = set; then
3853 enableval="$enable_mem_tracing"
3854
3855 if test "$enableval" = yes; then
3856 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3857 else
3858 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3859 fi
3860
3861 else
3862
3863 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x ; then
3865 eval "DEFAULT_$LINE"
3866 else
3867 no_cache=1
3868 fi
3869
3870 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3871
3872 fi;
3873
3874 eval "$ac_cv_use_mem_tracing"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3877 fi
3878
3879 if test "$wxUSE_MEM_TRACING" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3882 else
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3885 fi
3886
3887
3888 enablestring=
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3891 no_cache=0
3892 # Check whether --enable-profile or --disable-profile was given.
3893 if test "${enable_profile+set}" = set; then
3894 enableval="$enable_profile"
3895
3896 if test "$enableval" = yes; then
3897 ac_cv_use_profile='wxUSE_PROFILE=yes'
3898 else
3899 ac_cv_use_profile='wxUSE_PROFILE=no'
3900 fi
3901
3902 else
3903
3904 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x ; then
3906 eval "DEFAULT_$LINE"
3907 else
3908 no_cache=1
3909 fi
3910
3911 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3912
3913 fi;
3914
3915 eval "$ac_cv_use_profile"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3918 fi
3919
3920 if test "$wxUSE_PROFILE" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3923 else
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3926 fi
3927
3928
3929 enablestring=
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3932 no_cache=0
3933 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3934 if test "${enable_no_rtti+set}" = set; then
3935 enableval="$enable_no_rtti"
3936
3937 if test "$enableval" = yes; then
3938 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3939 else
3940 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3941 fi
3942
3943 else
3944
3945 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x ; then
3947 eval "DEFAULT_$LINE"
3948 else
3949 no_cache=1
3950 fi
3951
3952 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3953
3954 fi;
3955
3956 eval "$ac_cv_use_no_rtti"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3959 fi
3960
3961 if test "$wxUSE_NO_RTTI" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3964 else
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3967 fi
3968
3969
3970 enablestring=
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3973 no_cache=0
3974 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3975 if test "${enable_no_exceptions+set}" = set; then
3976 enableval="$enable_no_exceptions"
3977
3978 if test "$enableval" = yes; then
3979 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3980 else
3981 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3982 fi
3983
3984 else
3985
3986 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3989 else
3990 no_cache=1
3991 fi
3992
3993 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3994
3995 fi;
3996
3997 eval "$ac_cv_use_no_exceptions"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4000 fi
4001
4002 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4005 else
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-permissive or --disable-permissive was given.
4016 if test "${enable_permissive+set}" = set; then
4017 enableval="$enable_permissive"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4021 else
4022 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4035
4036 fi;
4037
4038 eval "$ac_cv_use_permissive"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_PERMISSIVE" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-no_deps or --disable-no_deps was given.
4057 if test "${enable_no_deps+set}" = set; then
4058 enableval="$enable_no_deps"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4062 else
4063 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4076
4077 fi;
4078
4079 eval "$ac_cv_use_no_deps"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_NO_DEPS" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093
4094 enablestring=
4095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4096 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4097 no_cache=0
4098 # Check whether --enable-compat22 or --disable-compat22 was given.
4099 if test "${enable_compat22+set}" = set; then
4100 enableval="$enable_compat22"
4101
4102 if test "$enableval" = yes; then
4103 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4104 else
4105 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4106 fi
4107
4108 else
4109
4110 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x ; then
4112 eval "DEFAULT_$LINE"
4113 else
4114 no_cache=1
4115 fi
4116
4117 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4118
4119 fi;
4120
4121 eval "$ac_cv_use_compat22"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4124 fi
4125
4126 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4127 echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6
4129 else
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4132 fi
4133
4134
4135 enablestring=disable
4136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4138 no_cache=0
4139 # Check whether --enable-compat24 or --disable-compat24 was given.
4140 if test "${enable_compat24+set}" = set; then
4141 enableval="$enable_compat24"
4142
4143 if test "$enableval" = yes; then
4144 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4145 else
4146 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4147 fi
4148
4149 else
4150
4151 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4154 else
4155 no_cache=1
4156 fi
4157
4158 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4159
4160 fi;
4161
4162 eval "$ac_cv_use_compat24"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4165 fi
4166
4167 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4170 else
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4173 fi
4174
4175
4176
4177 enablestring=
4178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4180 no_cache=0
4181 # Check whether --enable-rpath or --disable-rpath was given.
4182 if test "${enable_rpath+set}" = set; then
4183 enableval="$enable_rpath"
4184
4185 if test "$enableval" = yes; then
4186 ac_cv_use_rpath='wxUSE_RPATH=yes'
4187 else
4188 ac_cv_use_rpath='wxUSE_RPATH=no'
4189 fi
4190
4191 else
4192
4193 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x ; then
4195 eval "DEFAULT_$LINE"
4196 else
4197 no_cache=1
4198 fi
4199
4200 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4201
4202 fi;
4203
4204 eval "$ac_cv_use_rpath"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4207 fi
4208
4209 if test "$wxUSE_RPATH" = yes; then
4210 echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4212 else
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4215 fi
4216
4217
4218
4219
4220
4221 enablestring=
4222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4223 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4224 no_cache=0
4225 # Check whether --enable-intl or --disable-intl was given.
4226 if test "${enable_intl+set}" = set; then
4227 enableval="$enable_intl"
4228
4229 if test "$enableval" = yes; then
4230 ac_cv_use_intl='wxUSE_INTL=yes'
4231 else
4232 ac_cv_use_intl='wxUSE_INTL=no'
4233 fi
4234
4235 else
4236
4237 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4238 if test "x$LINE" != x ; then
4239 eval "DEFAULT_$LINE"
4240 else
4241 no_cache=1
4242 fi
4243
4244 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4245
4246 fi;
4247
4248 eval "$ac_cv_use_intl"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4251 fi
4252
4253 if test "$wxUSE_INTL" = yes; then
4254 echo "$as_me:$LINENO: result: yes" >&5
4255 echo "${ECHO_T}yes" >&6
4256 else
4257 echo "$as_me:$LINENO: result: no" >&5
4258 echo "${ECHO_T}no" >&6
4259 fi
4260
4261
4262 enablestring=
4263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4264 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4265 no_cache=0
4266 # Check whether --enable-config or --disable-config was given.
4267 if test "${enable_config+set}" = set; then
4268 enableval="$enable_config"
4269
4270 if test "$enableval" = yes; then
4271 ac_cv_use_config='wxUSE_CONFIG=yes'
4272 else
4273 ac_cv_use_config='wxUSE_CONFIG=no'
4274 fi
4275
4276 else
4277
4278 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x ; then
4280 eval "DEFAULT_$LINE"
4281 else
4282 no_cache=1
4283 fi
4284
4285 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4286
4287 fi;
4288
4289 eval "$ac_cv_use_config"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4292 fi
4293
4294 if test "$wxUSE_CONFIG" = yes; then
4295 echo "$as_me:$LINENO: result: yes" >&5
4296 echo "${ECHO_T}yes" >&6
4297 else
4298 echo "$as_me:$LINENO: result: no" >&5
4299 echo "${ECHO_T}no" >&6
4300 fi
4301
4302
4303
4304 enablestring=
4305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4306 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4307 no_cache=0
4308 # Check whether --enable-protocols or --disable-protocols was given.
4309 if test "${enable_protocols+set}" = set; then
4310 enableval="$enable_protocols"
4311
4312 if test "$enableval" = yes; then
4313 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4314 else
4315 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4316 fi
4317
4318 else
4319
4320 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x ; then
4322 eval "DEFAULT_$LINE"
4323 else
4324 no_cache=1
4325 fi
4326
4327 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4328
4329 fi;
4330
4331 eval "$ac_cv_use_protocols"
4332 if test "$no_cache" != 1; then
4333 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4334 fi
4335
4336 if test "$wxUSE_PROTOCOL" = yes; then
4337 echo "$as_me:$LINENO: result: yes" >&5
4338 echo "${ECHO_T}yes" >&6
4339 else
4340 echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6
4342 fi
4343
4344
4345 enablestring=
4346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4347 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4348 no_cache=0
4349 # Check whether --enable-ftp or --disable-ftp was given.
4350 if test "${enable_ftp+set}" = set; then
4351 enableval="$enable_ftp"
4352
4353 if test "$enableval" = yes; then
4354 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4355 else
4356 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4357 fi
4358
4359 else
4360
4361 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x ; then
4363 eval "DEFAULT_$LINE"
4364 else
4365 no_cache=1
4366 fi
4367
4368 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4369
4370 fi;
4371
4372 eval "$ac_cv_use_ftp"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4375 fi
4376
4377 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4378 echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6
4380 else
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4383 fi
4384
4385
4386 enablestring=
4387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4388 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4389 no_cache=0
4390 # Check whether --enable-http or --disable-http was given.
4391 if test "${enable_http+set}" = set; then
4392 enableval="$enable_http"
4393
4394 if test "$enableval" = yes; then
4395 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4396 else
4397 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4398 fi
4399
4400 else
4401
4402 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x ; then
4404 eval "DEFAULT_$LINE"
4405 else
4406 no_cache=1
4407 fi
4408
4409 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4410
4411 fi;
4412
4413 eval "$ac_cv_use_http"
4414 if test "$no_cache" != 1; then
4415 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4416 fi
4417
4418 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4419 echo "$as_me:$LINENO: result: yes" >&5
4420 echo "${ECHO_T}yes" >&6
4421 else
4422 echo "$as_me:$LINENO: result: no" >&5
4423 echo "${ECHO_T}no" >&6
4424 fi
4425
4426
4427 enablestring=
4428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4429 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4430 no_cache=0
4431 # Check whether --enable-fileproto or --disable-fileproto was given.
4432 if test "${enable_fileproto+set}" = set; then
4433 enableval="$enable_fileproto"
4434
4435 if test "$enableval" = yes; then
4436 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4437 else
4438 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4439 fi
4440
4441 else
4442
4443 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x ; then
4445 eval "DEFAULT_$LINE"
4446 else
4447 no_cache=1
4448 fi
4449
4450 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4451
4452 fi;
4453
4454 eval "$ac_cv_use_fileproto"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4457 fi
4458
4459 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4462 else
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4465 fi
4466
4467
4468 enablestring=
4469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4471 no_cache=0
4472 # Check whether --enable-sockets or --disable-sockets was given.
4473 if test "${enable_sockets+set}" = set; then
4474 enableval="$enable_sockets"
4475
4476 if test "$enableval" = yes; then
4477 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4478 else
4479 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4480 fi
4481
4482 else
4483
4484 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x ; then
4486 eval "DEFAULT_$LINE"
4487 else
4488 no_cache=1
4489 fi
4490
4491 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4492
4493 fi;
4494
4495 eval "$ac_cv_use_sockets"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4498 fi
4499
4500 if test "$wxUSE_SOCKETS" = yes; then
4501 echo "$as_me:$LINENO: result: yes" >&5
4502 echo "${ECHO_T}yes" >&6
4503 else
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4506 fi
4507
4508
4509 enablestring=
4510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4511 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4512 no_cache=0
4513 # Check whether --enable-ole or --disable-ole was given.
4514 if test "${enable_ole+set}" = set; then
4515 enableval="$enable_ole"
4516
4517 if test "$enableval" = yes; then
4518 ac_cv_use_ole='wxUSE_OLE=yes'
4519 else
4520 ac_cv_use_ole='wxUSE_OLE=no'
4521 fi
4522
4523 else
4524
4525 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x ; then
4527 eval "DEFAULT_$LINE"
4528 else
4529 no_cache=1
4530 fi
4531
4532 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4533
4534 fi;
4535
4536 eval "$ac_cv_use_ole"
4537 if test "$no_cache" != 1; then
4538 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4539 fi
4540
4541 if test "$wxUSE_OLE" = yes; then
4542 echo "$as_me:$LINENO: result: yes" >&5
4543 echo "${ECHO_T}yes" >&6
4544 else
4545 echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6
4547 fi
4548
4549
4550 enablestring=
4551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4552 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4553 no_cache=0
4554 # Check whether --enable-dataobj or --disable-dataobj was given.
4555 if test "${enable_dataobj+set}" = set; then
4556 enableval="$enable_dataobj"
4557
4558 if test "$enableval" = yes; then
4559 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4560 else
4561 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4562 fi
4563
4564 else
4565
4566 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x ; then
4568 eval "DEFAULT_$LINE"
4569 else
4570 no_cache=1
4571 fi
4572
4573 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4574
4575 fi;
4576
4577 eval "$ac_cv_use_dataobj"
4578 if test "$no_cache" != 1; then
4579 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4580 fi
4581
4582 if test "$wxUSE_DATAOBJ" = yes; then
4583 echo "$as_me:$LINENO: result: yes" >&5
4584 echo "${ECHO_T}yes" >&6
4585 else
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4588 fi
4589
4590
4591
4592 enablestring=
4593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4595 no_cache=0
4596 # Check whether --enable-ipc or --disable-ipc was given.
4597 if test "${enable_ipc+set}" = set; then
4598 enableval="$enable_ipc"
4599
4600 if test "$enableval" = yes; then
4601 ac_cv_use_ipc='wxUSE_IPC=yes'
4602 else
4603 ac_cv_use_ipc='wxUSE_IPC=no'
4604 fi
4605
4606 else
4607
4608 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x ; then
4610 eval "DEFAULT_$LINE"
4611 else
4612 no_cache=1
4613 fi
4614
4615 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4616
4617 fi;
4618
4619 eval "$ac_cv_use_ipc"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4622 fi
4623
4624 if test "$wxUSE_IPC" = yes; then
4625 echo "$as_me:$LINENO: result: yes" >&5
4626 echo "${ECHO_T}yes" >&6
4627 else
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4630 fi
4631
4632
4633
4634 enablestring=
4635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4637 no_cache=0
4638 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4639 if test "${enable_apple_ieee+set}" = set; then
4640 enableval="$enable_apple_ieee"
4641
4642 if test "$enableval" = yes; then
4643 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4644 else
4645 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4646 fi
4647
4648 else
4649
4650 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4653 else
4654 no_cache=1
4655 fi
4656
4657 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4658
4659 fi;
4660
4661 eval "$ac_cv_use_apple_ieee"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4664 fi
4665
4666 if test "$wxUSE_APPLE_IEEE" = yes; then
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4669 else
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4672 fi
4673
4674
4675 enablestring=
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4678 no_cache=0
4679 # Check whether --enable-arcstream or --disable-arcstream was given.
4680 if test "${enable_arcstream+set}" = set; then
4681 enableval="$enable_arcstream"
4682
4683 if test "$enableval" = yes; then
4684 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4685 else
4686 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4687 fi
4688
4689 else
4690
4691 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4694 else
4695 no_cache=1
4696 fi
4697
4698 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4699
4700 fi;
4701
4702 eval "$ac_cv_use_arcstream"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4705 fi
4706
4707 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4710 else
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4713 fi
4714
4715
4716 enablestring=
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4719 no_cache=0
4720 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4721 if test "${enable_catch_segvs+set}" = set; then
4722 enableval="$enable_catch_segvs"
4723
4724 if test "$enableval" = yes; then
4725 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4726 else
4727 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4728 fi
4729
4730 else
4731
4732 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x ; then
4734 eval "DEFAULT_$LINE"
4735 else
4736 no_cache=1
4737 fi
4738
4739 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4740
4741 fi;
4742
4743 eval "$ac_cv_use_catch_segvs"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4746 fi
4747
4748 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4751 else
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4754 fi
4755
4756
4757 enablestring=
4758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4760 no_cache=0
4761 # Check whether --enable-backtrace or --disable-backtrace was given.
4762 if test "${enable_backtrace+set}" = set; then
4763 enableval="$enable_backtrace"
4764
4765 if test "$enableval" = yes; then
4766 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4767 else
4768 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4769 fi
4770
4771 else
4772
4773 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x ; then
4775 eval "DEFAULT_$LINE"
4776 else
4777 no_cache=1
4778 fi
4779
4780 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4781
4782 fi;
4783
4784 eval "$ac_cv_use_backtrace"
4785 if test "$no_cache" != 1; then
4786 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4787 fi
4788
4789 if test "$wxUSE_STACKWALKER" = yes; then
4790 echo "$as_me:$LINENO: result: yes" >&5
4791 echo "${ECHO_T}yes" >&6
4792 else
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4795 fi
4796
4797
4798 enablestring=
4799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4801 no_cache=0
4802 # Check whether --enable-cmdline or --disable-cmdline was given.
4803 if test "${enable_cmdline+set}" = set; then
4804 enableval="$enable_cmdline"
4805
4806 if test "$enableval" = yes; then
4807 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4808 else
4809 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4810 fi
4811
4812 else
4813
4814 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x ; then
4816 eval "DEFAULT_$LINE"
4817 else
4818 no_cache=1
4819 fi
4820
4821 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4822
4823 fi;
4824
4825 eval "$ac_cv_use_cmdline"
4826 if test "$no_cache" != 1; then
4827 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4828 fi
4829
4830 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4831 echo "$as_me:$LINENO: result: yes" >&5
4832 echo "${ECHO_T}yes" >&6
4833 else
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4836 fi
4837
4838
4839 enablestring=
4840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4842 no_cache=0
4843 # Check whether --enable-datetime or --disable-datetime was given.
4844 if test "${enable_datetime+set}" = set; then
4845 enableval="$enable_datetime"
4846
4847 if test "$enableval" = yes; then
4848 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4849 else
4850 ac_cv_use_datetime='wxUSE_DATETIME=no'
4851 fi
4852
4853 else
4854
4855 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x ; then
4857 eval "DEFAULT_$LINE"
4858 else
4859 no_cache=1
4860 fi
4861
4862 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4863
4864 fi;
4865
4866 eval "$ac_cv_use_datetime"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4869 fi
4870
4871 if test "$wxUSE_DATETIME" = yes; then
4872 echo "$as_me:$LINENO: result: yes" >&5
4873 echo "${ECHO_T}yes" >&6
4874 else
4875 echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6
4877 fi
4878
4879
4880 enablestring=
4881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4882 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4883 no_cache=0
4884 # Check whether --enable-dialupman or --disable-dialupman was given.
4885 if test "${enable_dialupman+set}" = set; then
4886 enableval="$enable_dialupman"
4887
4888 if test "$enableval" = yes; then
4889 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4890 else
4891 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4892 fi
4893
4894 else
4895
4896 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4897 if test "x$LINE" != x ; then
4898 eval "DEFAULT_$LINE"
4899 else
4900 no_cache=1
4901 fi
4902
4903 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4904
4905 fi;
4906
4907 eval "$ac_cv_use_dialupman"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4910 fi
4911
4912 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4913 echo "$as_me:$LINENO: result: yes" >&5
4914 echo "${ECHO_T}yes" >&6
4915 else
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4918 fi
4919
4920
4921 enablestring=
4922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4923 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4924 no_cache=0
4925 # Check whether --enable-dynlib or --disable-dynlib was given.
4926 if test "${enable_dynlib+set}" = set; then
4927 enableval="$enable_dynlib"
4928
4929 if test "$enableval" = yes; then
4930 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4931 else
4932 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4933 fi
4934
4935 else
4936
4937 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x ; then
4939 eval "DEFAULT_$LINE"
4940 else
4941 no_cache=1
4942 fi
4943
4944 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4945
4946 fi;
4947
4948 eval "$ac_cv_use_dynlib"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4951 fi
4952
4953 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4954 echo "$as_me:$LINENO: result: yes" >&5
4955 echo "${ECHO_T}yes" >&6
4956 else
4957 echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6
4959 fi
4960
4961
4962 enablestring=
4963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4965 no_cache=0
4966 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4967 if test "${enable_dynamicloader+set}" = set; then
4968 enableval="$enable_dynamicloader"
4969
4970 if test "$enableval" = yes; then
4971 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4972 else
4973 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4974 fi
4975
4976 else
4977
4978 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4979 if test "x$LINE" != x ; then
4980 eval "DEFAULT_$LINE"
4981 else
4982 no_cache=1
4983 fi
4984
4985 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4986
4987 fi;
4988
4989 eval "$ac_cv_use_dynamicloader"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4992 fi
4993
4994 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4995 echo "$as_me:$LINENO: result: yes" >&5
4996 echo "${ECHO_T}yes" >&6
4997 else
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5000 fi
5001
5002
5003 enablestring=
5004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5005 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5006 no_cache=0
5007 # Check whether --enable-exceptions or --disable-exceptions was given.
5008 if test "${enable_exceptions+set}" = set; then
5009 enableval="$enable_exceptions"
5010
5011 if test "$enableval" = yes; then
5012 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5013 else
5014 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5015 fi
5016
5017 else
5018
5019 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x ; then
5021 eval "DEFAULT_$LINE"
5022 else
5023 no_cache=1
5024 fi
5025
5026 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5027
5028 fi;
5029
5030 eval "$ac_cv_use_exceptions"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5033 fi
5034
5035 if test "$wxUSE_EXCEPTIONS" = yes; then
5036 echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6
5038 else
5039 echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6
5041 fi
5042
5043
5044 enablestring=
5045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5047 no_cache=0
5048 # Check whether --enable-ffile or --disable-ffile was given.
5049 if test "${enable_ffile+set}" = set; then
5050 enableval="$enable_ffile"
5051
5052 if test "$enableval" = yes; then
5053 ac_cv_use_ffile='wxUSE_FFILE=yes'
5054 else
5055 ac_cv_use_ffile='wxUSE_FFILE=no'
5056 fi
5057
5058 else
5059
5060 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x ; then
5062 eval "DEFAULT_$LINE"
5063 else
5064 no_cache=1
5065 fi
5066
5067 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5068
5069 fi;
5070
5071 eval "$ac_cv_use_ffile"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5074 fi
5075
5076 if test "$wxUSE_FFILE" = yes; then
5077 echo "$as_me:$LINENO: result: yes" >&5
5078 echo "${ECHO_T}yes" >&6
5079 else
5080 echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6
5082 fi
5083
5084
5085 enablestring=
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5088 no_cache=0
5089 # Check whether --enable-file or --disable-file was given.
5090 if test "${enable_file+set}" = set; then
5091 enableval="$enable_file"
5092
5093 if test "$enableval" = yes; then
5094 ac_cv_use_file='wxUSE_FILE=yes'
5095 else
5096 ac_cv_use_file='wxUSE_FILE=no'
5097 fi
5098
5099 else
5100
5101 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x ; then
5103 eval "DEFAULT_$LINE"
5104 else
5105 no_cache=1
5106 fi
5107
5108 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5109
5110 fi;
5111
5112 eval "$ac_cv_use_file"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5115 fi
5116
5117 if test "$wxUSE_FILE" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5120 else
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5123 fi
5124
5125
5126 enablestring=
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5129 no_cache=0
5130 # Check whether --enable-filesystem or --disable-filesystem was given.
5131 if test "${enable_filesystem+set}" = set; then
5132 enableval="$enable_filesystem"
5133
5134 if test "$enableval" = yes; then
5135 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5136 else
5137 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5138 fi
5139
5140 else
5141
5142 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x ; then
5144 eval "DEFAULT_$LINE"
5145 else
5146 no_cache=1
5147 fi
5148
5149 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5150
5151 fi;
5152
5153 eval "$ac_cv_use_filesystem"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5156 fi
5157
5158 if test "$wxUSE_FILESYSTEM" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5161 else
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5164 fi
5165
5166
5167 enablestring=
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5170 no_cache=0
5171 # Check whether --enable-fontmap or --disable-fontmap was given.
5172 if test "${enable_fontmap+set}" = set; then
5173 enableval="$enable_fontmap"
5174
5175 if test "$enableval" = yes; then
5176 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5177 else
5178 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5179 fi
5180
5181 else
5182
5183 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x ; then
5185 eval "DEFAULT_$LINE"
5186 else
5187 no_cache=1
5188 fi
5189
5190 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5191
5192 fi;
5193
5194 eval "$ac_cv_use_fontmap"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5197 fi
5198
5199 if test "$wxUSE_FONTMAP" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5202 else
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5205 fi
5206
5207
5208 enablestring=
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5211 no_cache=0
5212 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5213 if test "${enable_fs_inet+set}" = set; then
5214 enableval="$enable_fs_inet"
5215
5216 if test "$enableval" = yes; then
5217 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5218 else
5219 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5220 fi
5221
5222 else
5223
5224 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x ; then
5226 eval "DEFAULT_$LINE"
5227 else
5228 no_cache=1
5229 fi
5230
5231 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5232
5233 fi;
5234
5235 eval "$ac_cv_use_fs_inet"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5238 fi
5239
5240 if test "$wxUSE_FS_INET" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5243 else
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5246 fi
5247
5248
5249 enablestring=
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5252 no_cache=0
5253 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5254 if test "${enable_fs_zip+set}" = set; then
5255 enableval="$enable_fs_zip"
5256
5257 if test "$enableval" = yes; then
5258 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5259 else
5260 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5273
5274 fi;
5275
5276 eval "$ac_cv_use_fs_zip"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5279 fi
5280
5281 if test "$wxUSE_FS_ZIP" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5284 else
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5287 fi
5288
5289
5290 enablestring=
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5293 no_cache=0
5294 # Check whether --enable-geometry or --disable-geometry was given.
5295 if test "${enable_geometry+set}" = set; then
5296 enableval="$enable_geometry"
5297
5298 if test "$enableval" = yes; then
5299 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5300 else
5301 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5302 fi
5303
5304 else
5305
5306 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x ; then
5308 eval "DEFAULT_$LINE"
5309 else
5310 no_cache=1
5311 fi
5312
5313 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5314
5315 fi;
5316
5317 eval "$ac_cv_use_geometry"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5320 fi
5321
5322 if test "$wxUSE_GEOMETRY" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5325 else
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5328 fi
5329
5330
5331 enablestring=
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5334 no_cache=0
5335 # Check whether --enable-log or --disable-log was given.
5336 if test "${enable_log+set}" = set; then
5337 enableval="$enable_log"
5338
5339 if test "$enableval" = yes; then
5340 ac_cv_use_log='wxUSE_LOG=yes'
5341 else
5342 ac_cv_use_log='wxUSE_LOG=no'
5343 fi
5344
5345 else
5346
5347 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x ; then
5349 eval "DEFAULT_$LINE"
5350 else
5351 no_cache=1
5352 fi
5353
5354 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5355
5356 fi;
5357
5358 eval "$ac_cv_use_log"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5361 fi
5362
5363 if test "$wxUSE_LOG" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5366 else
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5369 fi
5370
5371
5372 enablestring=
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5375 no_cache=0
5376 # Check whether --enable-longlong or --disable-longlong was given.
5377 if test "${enable_longlong+set}" = set; then
5378 enableval="$enable_longlong"
5379
5380 if test "$enableval" = yes; then
5381 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5382 else
5383 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5384 fi
5385
5386 else
5387
5388 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x ; then
5390 eval "DEFAULT_$LINE"
5391 else
5392 no_cache=1
5393 fi
5394
5395 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5396
5397 fi;
5398
5399 eval "$ac_cv_use_longlong"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5402 fi
5403
5404 if test "$wxUSE_LONGLONG" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5407 else
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5410 fi
5411
5412
5413 enablestring=
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5416 no_cache=0
5417 # Check whether --enable-mimetype or --disable-mimetype was given.
5418 if test "${enable_mimetype+set}" = set; then
5419 enableval="$enable_mimetype"
5420
5421 if test "$enableval" = yes; then
5422 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5423 else
5424 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5425 fi
5426
5427 else
5428
5429 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x ; then
5431 eval "DEFAULT_$LINE"
5432 else
5433 no_cache=1
5434 fi
5435
5436 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5437
5438 fi;
5439
5440 eval "$ac_cv_use_mimetype"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5443 fi
5444
5445 if test "$wxUSE_MIMETYPE" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5448 else
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5451 fi
5452
5453
5454 enablestring=
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5457 no_cache=0
5458 # Check whether --enable-mslu or --disable-mslu was given.
5459 if test "${enable_mslu+set}" = set; then
5460 enableval="$enable_mslu"
5461
5462 if test "$enableval" = yes; then
5463 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5464 else
5465 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5466 fi
5467
5468 else
5469
5470 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5473 else
5474 no_cache=1
5475 fi
5476
5477 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5478
5479 fi;
5480
5481 eval "$ac_cv_use_mslu"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5484 fi
5485
5486 if test "$wxUSE_UNICODE_MSLU" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5489 else
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5492 fi
5493
5494
5495 enablestring=
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5498 no_cache=0
5499 # Check whether --enable-snglinst or --disable-snglinst was given.
5500 if test "${enable_snglinst+set}" = set; then
5501 enableval="$enable_snglinst"
5502
5503 if test "$enableval" = yes; then
5504 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5505 else
5506 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5507 fi
5508
5509 else
5510
5511 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x ; then
5513 eval "DEFAULT_$LINE"
5514 else
5515 no_cache=1
5516 fi
5517
5518 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5519
5520 fi;
5521
5522 eval "$ac_cv_use_snglinst"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5525 fi
5526
5527 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5530 else
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5533 fi
5534
5535
5536 enablestring=
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5539 no_cache=0
5540 # Check whether --enable-streams or --disable-streams was given.
5541 if test "${enable_streams+set}" = set; then
5542 enableval="$enable_streams"
5543
5544 if test "$enableval" = yes; then
5545 ac_cv_use_streams='wxUSE_STREAMS=yes'
5546 else
5547 ac_cv_use_streams='wxUSE_STREAMS=no'
5548 fi
5549
5550 else
5551
5552 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x ; then
5554 eval "DEFAULT_$LINE"
5555 else
5556 no_cache=1
5557 fi
5558
5559 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5560
5561 fi;
5562
5563 eval "$ac_cv_use_streams"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5566 fi
5567
5568 if test "$wxUSE_STREAMS" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5571 else
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5574 fi
5575
5576
5577 enablestring=
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5580 no_cache=0
5581 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5582 if test "${enable_std_iostreams+set}" = set; then
5583 enableval="$enable_std_iostreams"
5584
5585 if test "$enableval" = yes; then
5586 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5587 else
5588 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5589 fi
5590
5591 else
5592
5593 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5596 else
5597 no_cache=1
5598 fi
5599
5600 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5601
5602 fi;
5603
5604 eval "$ac_cv_use_std_iostreams"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5607 fi
5608
5609 if test "$wxUSE_STD_IOSTREAM" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5612 else
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5615 fi
5616
5617
5618 enablestring=
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5621 no_cache=0
5622 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5623 if test "${enable_stopwatch+set}" = set; then
5624 enableval="$enable_stopwatch"
5625
5626 if test "$enableval" = yes; then
5627 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5628 else
5629 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5630 fi
5631
5632 else
5633
5634 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x ; then
5636 eval "DEFAULT_$LINE"
5637 else
5638 no_cache=1
5639 fi
5640
5641 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5642
5643 fi;
5644
5645 eval "$ac_cv_use_stopwatch"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5648 fi
5649
5650 if test "$wxUSE_STOPWATCH" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5653 else
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5656 fi
5657
5658
5659 enablestring=
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5662 no_cache=0
5663 # Check whether --enable-system_options or --disable-system_options was given.
5664 if test "${enable_system_options+set}" = set; then
5665 enableval="$enable_system_options"
5666
5667 if test "$enableval" = yes; then
5668 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5669 else
5670 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5671 fi
5672
5673 else
5674
5675 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x ; then
5677 eval "DEFAULT_$LINE"
5678 else
5679 no_cache=1
5680 fi
5681
5682 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5683
5684 fi;
5685
5686 eval "$ac_cv_use_system_options"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5689 fi
5690
5691 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5694 else
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5697 fi
5698
5699
5700 enablestring=
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5703 no_cache=0
5704 # Check whether --enable-textbuf or --disable-textbuf was given.
5705 if test "${enable_textbuf+set}" = set; then
5706 enableval="$enable_textbuf"
5707
5708 if test "$enableval" = yes; then
5709 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5710 else
5711 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5712 fi
5713
5714 else
5715
5716 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x ; then
5718 eval "DEFAULT_$LINE"
5719 else
5720 no_cache=1
5721 fi
5722
5723 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5724
5725 fi;
5726
5727 eval "$ac_cv_use_textbuf"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5730 fi
5731
5732 if test "$wxUSE_TEXTBUFFER" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5735 else
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5738 fi
5739
5740
5741 enablestring=
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5744 no_cache=0
5745 # Check whether --enable-textfile or --disable-textfile was given.
5746 if test "${enable_textfile+set}" = set; then
5747 enableval="$enable_textfile"
5748
5749 if test "$enableval" = yes; then
5750 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5751 else
5752 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5753 fi
5754
5755 else
5756
5757 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x ; then
5759 eval "DEFAULT_$LINE"
5760 else
5761 no_cache=1
5762 fi
5763
5764 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5765
5766 fi;
5767
5768 eval "$ac_cv_use_textfile"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5771 fi
5772
5773 if test "$wxUSE_TEXTFILE" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5776 else
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5779 fi
5780
5781
5782 enablestring=
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5785 no_cache=0
5786 # Check whether --enable-timer or --disable-timer was given.
5787 if test "${enable_timer+set}" = set; then
5788 enableval="$enable_timer"
5789
5790 if test "$enableval" = yes; then
5791 ac_cv_use_timer='wxUSE_TIMER=yes'
5792 else
5793 ac_cv_use_timer='wxUSE_TIMER=no'
5794 fi
5795
5796 else
5797
5798 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x ; then
5800 eval "DEFAULT_$LINE"
5801 else
5802 no_cache=1
5803 fi
5804
5805 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5806
5807 fi;
5808
5809 eval "$ac_cv_use_timer"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5812 fi
5813
5814 if test "$wxUSE_TIMER" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5817 else
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5820 fi
5821
5822
5823 enablestring=
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5826 no_cache=0
5827 # Check whether --enable-unicode or --disable-unicode was given.
5828 if test "${enable_unicode+set}" = set; then
5829 enableval="$enable_unicode"
5830
5831 if test "$enableval" = yes; then
5832 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5833 else
5834 ac_cv_use_unicode='wxUSE_UNICODE=no'
5835 fi
5836
5837 else
5838
5839 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x ; then
5841 eval "DEFAULT_$LINE"
5842 else
5843 no_cache=1
5844 fi
5845
5846 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5847
5848 fi;
5849
5850 eval "$ac_cv_use_unicode"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5853 fi
5854
5855 if test "$wxUSE_UNICODE" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5858 else
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5861 fi
5862
5863
5864 enablestring=
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5867 no_cache=0
5868 # Check whether --enable-sound or --disable-sound was given.
5869 if test "${enable_sound+set}" = set; then
5870 enableval="$enable_sound"
5871
5872 if test "$enableval" = yes; then
5873 ac_cv_use_sound='wxUSE_SOUND=yes'
5874 else
5875 ac_cv_use_sound='wxUSE_SOUND=no'
5876 fi
5877
5878 else
5879
5880 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x ; then
5882 eval "DEFAULT_$LINE"
5883 else
5884 no_cache=1
5885 fi
5886
5887 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5888
5889 fi;
5890
5891 eval "$ac_cv_use_sound"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5894 fi
5895
5896 if test "$wxUSE_SOUND" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5899 else
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5902 fi
5903
5904
5905 enablestring=
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5908 no_cache=0
5909 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5910 if test "${enable_mediactrl+set}" = set; then
5911 enableval="$enable_mediactrl"
5912
5913 if test "$enableval" = yes; then
5914 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5915 else
5916 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5917 fi
5918
5919 else
5920
5921 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x ; then
5923 eval "DEFAULT_$LINE"
5924 else
5925 no_cache=1
5926 fi
5927
5928 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5929
5930 fi;
5931
5932 eval "$ac_cv_use_mediactrl"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5935 fi
5936
5937 if test "$wxUSE_MEDIACTRL" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5940 else
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5943 fi
5944
5945
5946 enablestring=
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5949 no_cache=0
5950 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5951 if test "${enable_wxprintfv+set}" = set; then
5952 enableval="$enable_wxprintfv"
5953
5954 if test "$enableval" = yes; then
5955 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5956 else
5957 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5958 fi
5959
5960 else
5961
5962 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x ; then
5964 eval "DEFAULT_$LINE"
5965 else
5966 no_cache=1
5967 fi
5968
5969 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5970
5971 fi;
5972
5973 eval "$ac_cv_use_wxprintfv"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5976 fi
5977
5978 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5981 else
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5984 fi
5985
5986
5987 enablestring=
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5990 no_cache=0
5991 # Check whether --enable-zipstream or --disable-zipstream was given.
5992 if test "${enable_zipstream+set}" = set; then
5993 enableval="$enable_zipstream"
5994
5995 if test "$enableval" = yes; then
5996 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5997 else
5998 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5999 fi
6000
6001 else
6002
6003 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x ; then
6005 eval "DEFAULT_$LINE"
6006 else
6007 no_cache=1
6008 fi
6009
6010 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6011
6012 fi;
6013
6014 eval "$ac_cv_use_zipstream"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6017 fi
6018
6019 if test "$wxUSE_ZIPSTREAM" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6022 else
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6025 fi
6026
6027
6028
6029 enablestring=
6030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6031 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6032 no_cache=0
6033 # Check whether --enable-url or --disable-url was given.
6034 if test "${enable_url+set}" = set; then
6035 enableval="$enable_url"
6036
6037 if test "$enableval" = yes; then
6038 ac_cv_use_url='wxUSE_URL=yes'
6039 else
6040 ac_cv_use_url='wxUSE_URL=no'
6041 fi
6042
6043 else
6044
6045 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6048 else
6049 no_cache=1
6050 fi
6051
6052 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6053
6054 fi;
6055
6056 eval "$ac_cv_use_url"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6059 fi
6060
6061 if test "$wxUSE_URL" = yes; then
6062 echo "$as_me:$LINENO: result: yes" >&5
6063 echo "${ECHO_T}yes" >&6
6064 else
6065 echo "$as_me:$LINENO: result: no" >&5
6066 echo "${ECHO_T}no" >&6
6067 fi
6068
6069
6070 enablestring=
6071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6073 no_cache=0
6074 # Check whether --enable-protocol or --disable-protocol was given.
6075 if test "${enable_protocol+set}" = set; then
6076 enableval="$enable_protocol"
6077
6078 if test "$enableval" = yes; then
6079 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6080 else
6081 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6082 fi
6083
6084 else
6085
6086 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x ; then
6088 eval "DEFAULT_$LINE"
6089 else
6090 no_cache=1
6091 fi
6092
6093 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6094
6095 fi;
6096
6097 eval "$ac_cv_use_protocol"
6098 if test "$no_cache" != 1; then
6099 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6100 fi
6101
6102 if test "$wxUSE_PROTOCOL" = yes; then
6103 echo "$as_me:$LINENO: result: yes" >&5
6104 echo "${ECHO_T}yes" >&6
6105 else
6106 echo "$as_me:$LINENO: result: no" >&5
6107 echo "${ECHO_T}no" >&6
6108 fi
6109
6110
6111 enablestring=
6112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6114 no_cache=0
6115 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6116 if test "${enable_protocol_http+set}" = set; then
6117 enableval="$enable_protocol_http"
6118
6119 if test "$enableval" = yes; then
6120 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6121 else
6122 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6123 fi
6124
6125 else
6126
6127 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6130 else
6131 no_cache=1
6132 fi
6133
6134 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6135
6136 fi;
6137
6138 eval "$ac_cv_use_protocol_http"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6141 fi
6142
6143 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6144 echo "$as_me:$LINENO: result: yes" >&5
6145 echo "${ECHO_T}yes" >&6
6146 else
6147 echo "$as_me:$LINENO: result: no" >&5
6148 echo "${ECHO_T}no" >&6
6149 fi
6150
6151
6152 enablestring=
6153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6155 no_cache=0
6156 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6157 if test "${enable_protocol_ftp+set}" = set; then
6158 enableval="$enable_protocol_ftp"
6159
6160 if test "$enableval" = yes; then
6161 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6162 else
6163 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6164 fi
6165
6166 else
6167
6168 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x ; then
6170 eval "DEFAULT_$LINE"
6171 else
6172 no_cache=1
6173 fi
6174
6175 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6176
6177 fi;
6178
6179 eval "$ac_cv_use_protocol_ftp"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6182 fi
6183
6184 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6185 echo "$as_me:$LINENO: result: yes" >&5
6186 echo "${ECHO_T}yes" >&6
6187 else
6188 echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6
6190 fi
6191
6192
6193 enablestring=
6194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6196 no_cache=0
6197 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6198 if test "${enable_protocol_file+set}" = set; then
6199 enableval="$enable_protocol_file"
6200
6201 if test "$enableval" = yes; then
6202 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6203 else
6204 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6205 fi
6206
6207 else
6208
6209 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x ; then
6211 eval "DEFAULT_$LINE"
6212 else
6213 no_cache=1
6214 fi
6215
6216 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6217
6218 fi;
6219
6220 eval "$ac_cv_use_protocol_file"
6221 if test "$no_cache" != 1; then
6222 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6223 fi
6224
6225 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6226 echo "$as_me:$LINENO: result: yes" >&5
6227 echo "${ECHO_T}yes" >&6
6228 else
6229 echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6231 fi
6232
6233
6234
6235
6236
6237 enablestring=
6238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6239 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6240 no_cache=0
6241 # Check whether --enable-threads or --disable-threads was given.
6242 if test "${enable_threads+set}" = set; then
6243 enableval="$enable_threads"
6244
6245 if test "$enableval" = yes; then
6246 ac_cv_use_threads='wxUSE_THREADS=yes'
6247 else
6248 ac_cv_use_threads='wxUSE_THREADS=no'
6249 fi
6250
6251 else
6252
6253 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x ; then
6255 eval "DEFAULT_$LINE"
6256 else
6257 no_cache=1
6258 fi
6259
6260 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6261
6262 fi;
6263
6264 eval "$ac_cv_use_threads"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6267 fi
6268
6269 if test "$wxUSE_THREADS" = yes; then
6270 echo "$as_me:$LINENO: result: yes" >&5
6271 echo "${ECHO_T}yes" >&6
6272 else
6273 echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6275 fi
6276
6277
6278 if test "$wxUSE_GUI" = "yes"; then
6279
6280
6281
6282 enablestring=
6283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6285 no_cache=0
6286 # Check whether --enable-docview or --disable-docview was given.
6287 if test "${enable_docview+set}" = set; then
6288 enableval="$enable_docview"
6289
6290 if test "$enableval" = yes; then
6291 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6292 else
6293 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6294 fi
6295
6296 else
6297
6298 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6299 if test "x$LINE" != x ; then
6300 eval "DEFAULT_$LINE"
6301 else
6302 no_cache=1
6303 fi
6304
6305 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6306
6307 fi;
6308
6309 eval "$ac_cv_use_docview"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6312 fi
6313
6314 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6315 echo "$as_me:$LINENO: result: yes" >&5
6316 echo "${ECHO_T}yes" >&6
6317 else
6318 echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6
6320 fi
6321
6322
6323 enablestring=
6324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6326 no_cache=0
6327 # Check whether --enable-help or --disable-help was given.
6328 if test "${enable_help+set}" = set; then
6329 enableval="$enable_help"
6330
6331 if test "$enableval" = yes; then
6332 ac_cv_use_help='wxUSE_HELP=yes'
6333 else
6334 ac_cv_use_help='wxUSE_HELP=no'
6335 fi
6336
6337 else
6338
6339 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x ; then
6341 eval "DEFAULT_$LINE"
6342 else
6343 no_cache=1
6344 fi
6345
6346 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6347
6348 fi;
6349
6350 eval "$ac_cv_use_help"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6353 fi
6354
6355 if test "$wxUSE_HELP" = yes; then
6356 echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6
6358 else
6359 echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6
6361 fi
6362
6363
6364 enablestring=
6365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6367 no_cache=0
6368 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6369 if test "${enable_mshtmlhelp+set}" = set; then
6370 enableval="$enable_mshtmlhelp"
6371
6372 if test "$enableval" = yes; then
6373 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6374 else
6375 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6376 fi
6377
6378 else
6379
6380 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6381 if test "x$LINE" != x ; then
6382 eval "DEFAULT_$LINE"
6383 else
6384 no_cache=1
6385 fi
6386
6387 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6388
6389 fi;
6390
6391 eval "$ac_cv_use_mshtmlhelp"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6394 fi
6395
6396 if test "$wxUSE_MS_HTML_HELP" = yes; then
6397 echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6
6399 else
6400 echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6
6402 fi
6403
6404
6405 enablestring=
6406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6408 no_cache=0
6409 # Check whether --enable-html or --disable-html was given.
6410 if test "${enable_html+set}" = set; then
6411 enableval="$enable_html"
6412
6413 if test "$enableval" = yes; then
6414 ac_cv_use_html='wxUSE_HTML=yes'
6415 else
6416 ac_cv_use_html='wxUSE_HTML=no'
6417 fi
6418
6419 else
6420
6421 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x ; then
6423 eval "DEFAULT_$LINE"
6424 else
6425 no_cache=1
6426 fi
6427
6428 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6429
6430 fi;
6431
6432 eval "$ac_cv_use_html"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6435 fi
6436
6437 if test "$wxUSE_HTML" = yes; then
6438 echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6
6440 else
6441 echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6
6443 fi
6444
6445
6446 enablestring=
6447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6449 no_cache=0
6450 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6451 if test "${enable_htmlhelp+set}" = set; then
6452 enableval="$enable_htmlhelp"
6453
6454 if test "$enableval" = yes; then
6455 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6456 else
6457 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6458 fi
6459
6460 else
6461
6462 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x ; then
6464 eval "DEFAULT_$LINE"
6465 else
6466 no_cache=1
6467 fi
6468
6469 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6470
6471 fi;
6472
6473 eval "$ac_cv_use_htmlhelp"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6476 fi
6477
6478 if test "$wxUSE_WXHTML_HELP" = yes; then
6479 echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6
6481 else
6482 echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6
6484 fi
6485
6486
6487 enablestring=
6488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6490 no_cache=0
6491 # Check whether --enable-xrc or --disable-xrc was given.
6492 if test "${enable_xrc+set}" = set; then
6493 enableval="$enable_xrc"
6494
6495 if test "$enableval" = yes; then
6496 ac_cv_use_xrc='wxUSE_XRC=yes'
6497 else
6498 ac_cv_use_xrc='wxUSE_XRC=no'
6499 fi
6500
6501 else
6502
6503 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6504 if test "x$LINE" != x ; then
6505 eval "DEFAULT_$LINE"
6506 else
6507 no_cache=1
6508 fi
6509
6510 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6511
6512 fi;
6513
6514 eval "$ac_cv_use_xrc"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6517 fi
6518
6519 if test "$wxUSE_XRC" = yes; then
6520 echo "$as_me:$LINENO: result: yes" >&5
6521 echo "${ECHO_T}yes" >&6
6522 else
6523 echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6
6525 fi
6526
6527
6528 enablestring=
6529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6531 no_cache=0
6532 # Check whether --enable-constraints or --disable-constraints was given.
6533 if test "${enable_constraints+set}" = set; then
6534 enableval="$enable_constraints"
6535
6536 if test "$enableval" = yes; then
6537 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6538 else
6539 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6540 fi
6541
6542 else
6543
6544 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x ; then
6546 eval "DEFAULT_$LINE"
6547 else
6548 no_cache=1
6549 fi
6550
6551 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6552
6553 fi;
6554
6555 eval "$ac_cv_use_constraints"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6558 fi
6559
6560 if test "$wxUSE_CONSTRAINTS" = yes; then
6561 echo "$as_me:$LINENO: result: yes" >&5
6562 echo "${ECHO_T}yes" >&6
6563 else
6564 echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6
6566 fi
6567
6568
6569 enablestring=
6570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6572 no_cache=0
6573 # Check whether --enable-printarch or --disable-printarch was given.
6574 if test "${enable_printarch+set}" = set; then
6575 enableval="$enable_printarch"
6576
6577 if test "$enableval" = yes; then
6578 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6579 else
6580 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6581 fi
6582
6583 else
6584
6585 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x ; then
6587 eval "DEFAULT_$LINE"
6588 else
6589 no_cache=1
6590 fi
6591
6592 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6593
6594 fi;
6595
6596 eval "$ac_cv_use_printarch"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6599 fi
6600
6601 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6602 echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6
6604 else
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6607 fi
6608
6609
6610 enablestring=
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6613 no_cache=0
6614 # Check whether --enable-mdi or --disable-mdi was given.
6615 if test "${enable_mdi+set}" = set; then
6616 enableval="$enable_mdi"
6617
6618 if test "$enableval" = yes; then
6619 ac_cv_use_mdi='wxUSE_MDI=yes'
6620 else
6621 ac_cv_use_mdi='wxUSE_MDI=no'
6622 fi
6623
6624 else
6625
6626 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6634
6635 fi;
6636
6637 eval "$ac_cv_use_mdi"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test "$wxUSE_MDI" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6
6645 else
6646 echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6
6648 fi
6649
6650
6651 enablestring=
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6654 no_cache=0
6655 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6656 if test "${enable_mdidoc+set}" = set; then
6657 enableval="$enable_mdidoc"
6658
6659 if test "$enableval" = yes; then
6660 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6661 else
6662 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6663 fi
6664
6665 else
6666
6667 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x ; then
6669 eval "DEFAULT_$LINE"
6670 else
6671 no_cache=1
6672 fi
6673
6674 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6675
6676 fi;
6677
6678 eval "$ac_cv_use_mdidoc"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6686 else
6687 echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6
6689 fi
6690
6691
6692 enablestring=
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6695 no_cache=0
6696 # Check whether --enable-loggui or --disable-loggui was given.
6697 if test "${enable_loggui+set}" = set; then
6698 enableval="$enable_loggui"
6699
6700 if test "$enableval" = yes; then
6701 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6702 else
6703 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6704 fi
6705
6706 else
6707
6708 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x ; then
6710 eval "DEFAULT_$LINE"
6711 else
6712 no_cache=1
6713 fi
6714
6715 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6716
6717 fi;
6718
6719 eval "$ac_cv_use_loggui"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_LOGGUI" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6
6727 else
6728 echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6
6730 fi
6731
6732
6733 enablestring=
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6736 no_cache=0
6737 # Check whether --enable-logwin or --disable-logwin was given.
6738 if test "${enable_logwin+set}" = set; then
6739 enableval="$enable_logwin"
6740
6741 if test "$enableval" = yes; then
6742 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6743 else
6744 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6745 fi
6746
6747 else
6748
6749 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6752 else
6753 no_cache=1
6754 fi
6755
6756 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6757
6758 fi;
6759
6760 eval "$ac_cv_use_logwin"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_LOGWINDOW" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6768 else
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6771 fi
6772
6773
6774 enablestring=
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6777 no_cache=0
6778 # Check whether --enable-logdialog or --disable-logdialog was given.
6779 if test "${enable_logdialog+set}" = set; then
6780 enableval="$enable_logdialog"
6781
6782 if test "$enableval" = yes; then
6783 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6784 else
6785 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6786 fi
6787
6788 else
6789
6790 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6798
6799 fi;
6800
6801 eval "$ac_cv_use_logdialog"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_LOGDIALOG" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6809 else
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6812 fi
6813
6814
6815 enablestring=
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6818 no_cache=0
6819 # Check whether --enable-webkit or --disable-webkit was given.
6820 if test "${enable_webkit+set}" = set; then
6821 enableval="$enable_webkit"
6822
6823 if test "$enableval" = yes; then
6824 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6825 else
6826 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6827 fi
6828
6829 else
6830
6831 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6839
6840 fi;
6841
6842 eval "$ac_cv_use_webkit"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_WEBKIT" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6850 else
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6853 fi
6854
6855
6856
6857 enablestring=
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6860 no_cache=0
6861 # Check whether --enable-postscript or --disable-postscript was given.
6862 if test "${enable_postscript+set}" = set; then
6863 enableval="$enable_postscript"
6864
6865 if test "$enableval" = yes; then
6866 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6867 else
6868 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6869 fi
6870
6871 else
6872
6873 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x ; then
6875 eval "DEFAULT_$LINE"
6876 else
6877 no_cache=1
6878 fi
6879
6880 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6881
6882 fi;
6883
6884 eval "$ac_cv_use_postscript"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6887 fi
6888
6889 if test "$wxUSE_POSTSCRIPT" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891 echo "${ECHO_T}yes" >&6
6892 else
6893 echo "$as_me:$LINENO: result: no" >&5
6894 echo "${ECHO_T}no" >&6
6895 fi
6896
6897
6898
6899
6900
6901 enablestring=
6902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6903 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6904 no_cache=0
6905 # Check whether --enable-prologio or --disable-prologio was given.
6906 if test "${enable_prologio+set}" = set; then
6907 enableval="$enable_prologio"
6908
6909 if test "$enableval" = yes; then
6910 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6911 else
6912 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6913 fi
6914
6915 else
6916
6917 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6918 if test "x$LINE" != x ; then
6919 eval "DEFAULT_$LINE"
6920 else
6921 no_cache=1
6922 fi
6923
6924 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6925
6926 fi;
6927
6928 eval "$ac_cv_use_prologio"
6929 if test "$no_cache" != 1; then
6930 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6931 fi
6932
6933 if test "$wxUSE_PROLOGIO" = yes; then
6934 echo "$as_me:$LINENO: result: yes" >&5
6935 echo "${ECHO_T}yes" >&6
6936 else
6937 echo "$as_me:$LINENO: result: no" >&5
6938 echo "${ECHO_T}no" >&6
6939 fi
6940
6941
6942 enablestring=
6943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6944 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6945 no_cache=0
6946 # Check whether --enable-resources or --disable-resources was given.
6947 if test "${enable_resources+set}" = set; then
6948 enableval="$enable_resources"
6949
6950 if test "$enableval" = yes; then
6951 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6952 else
6953 ac_cv_use_resources='wxUSE_RESOURCES=no'
6954 fi
6955
6956 else
6957
6958 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6959 if test "x$LINE" != x ; then
6960 eval "DEFAULT_$LINE"
6961 else
6962 no_cache=1
6963 fi
6964
6965 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6966
6967 fi;
6968
6969 eval "$ac_cv_use_resources"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6972 fi
6973
6974 if test "$wxUSE_RESOURCES" = yes; then
6975 echo "$as_me:$LINENO: result: yes" >&5
6976 echo "${ECHO_T}yes" >&6
6977 else
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6980 fi
6981
6982
6983
6984
6985 enablestring=
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6988 no_cache=0
6989 # Check whether --enable-clipboard or --disable-clipboard was given.
6990 if test "${enable_clipboard+set}" = set; then
6991 enableval="$enable_clipboard"
6992
6993 if test "$enableval" = yes; then
6994 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6995 else
6996 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6997 fi
6998
6999 else
7000
7001 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x ; then
7003 eval "DEFAULT_$LINE"
7004 else
7005 no_cache=1
7006 fi
7007
7008 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7009
7010 fi;
7011
7012 eval "$ac_cv_use_clipboard"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_CLIPBOARD" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7020 else
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7023 fi
7024
7025
7026 enablestring=
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7029 no_cache=0
7030 # Check whether --enable-dnd or --disable-dnd was given.
7031 if test "${enable_dnd+set}" = set; then
7032 enableval="$enable_dnd"
7033
7034 if test "$enableval" = yes; then
7035 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7036 else
7037 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7038 fi
7039
7040 else
7041
7042 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x ; then
7044 eval "DEFAULT_$LINE"
7045 else
7046 no_cache=1
7047 fi
7048
7049 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7050
7051 fi;
7052
7053 eval "$ac_cv_use_dnd"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7056 fi
7057
7058 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7061 else
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7064 fi
7065
7066
7067 enablestring=
7068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7070 no_cache=0
7071 # Check whether --enable-metafile or --disable-metafile was given.
7072 if test "${enable_metafile+set}" = set; then
7073 enableval="$enable_metafile"
7074
7075 if test "$enableval" = yes; then
7076 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7077 else
7078 ac_cv_use_metafile='wxUSE_METAFILE=no'
7079 fi
7080
7081 else
7082
7083 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x ; then
7085 eval "DEFAULT_$LINE"
7086 else
7087 no_cache=1
7088 fi
7089
7090 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7091
7092 fi;
7093
7094 eval "$ac_cv_use_metafile"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7097 fi
7098
7099 if test "$wxUSE_METAFILE" = yes; then
7100 echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6
7102 else
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7105 fi
7106
7107
7108
7109
7110
7111 enablestring=
7112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7114 no_cache=0
7115 # Check whether --enable-controls or --disable-controls was given.
7116 if test "${enable_controls+set}" = set; then
7117 enableval="$enable_controls"
7118
7119 if test "$enableval" = yes; then
7120 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7121 else
7122 ac_cv_use_controls='wxUSE_CONTROLS=no'
7123 fi
7124
7125 else
7126
7127 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7128 if test "x$LINE" != x ; then
7129 eval "DEFAULT_$LINE"
7130 else
7131 no_cache=1
7132 fi
7133
7134 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7135
7136 fi;
7137
7138 eval "$ac_cv_use_controls"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7141 fi
7142
7143 if test "$wxUSE_CONTROLS" = yes; then
7144 echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6
7146 else
7147 echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6
7149 fi
7150
7151
7152 if test "$wxUSE_CONTROLS" = "yes"; then
7153 DEFAULT_wxUSE_ACCEL=yes
7154 DEFAULT_wxUSE_BMPBUTTON=yes
7155 DEFAULT_wxUSE_BUTTON=yes
7156 DEFAULT_wxUSE_CALCTRL=yes
7157 DEFAULT_wxUSE_CARET=yes
7158 DEFAULT_wxUSE_COMBOBOX=yes
7159 DEFAULT_wxUSE_CHECKBOX=yes
7160 DEFAULT_wxUSE_CHECKLISTBOX=yes
7161 DEFAULT_wxUSE_CHOICE=yes
7162 DEFAULT_wxUSE_CHOICEBOOK=yes
7163 DEFAULT_wxUSE_DATEPICKCTRL=yes
7164 DEFAULT_wxUSE_GAUGE=yes
7165 DEFAULT_wxUSE_GRID=yes
7166 DEFAULT_wxUSE_IMAGLIST=yes
7167 DEFAULT_wxUSE_LISTBOOK=yes
7168 DEFAULT_wxUSE_LISTBOX=yes
7169 DEFAULT_wxUSE_LISTCTRL=yes
7170 DEFAULT_wxUSE_NOTEBOOK=yes
7171 DEFAULT_wxUSE_RADIOBOX=yes
7172 DEFAULT_wxUSE_RADIOBTN=yes
7173 DEFAULT_wxUSE_SASH=yes
7174 DEFAULT_wxUSE_SCROLLBAR=yes
7175 DEFAULT_wxUSE_SLIDER=yes
7176 DEFAULT_wxUSE_SPINBTN=yes
7177 DEFAULT_wxUSE_SPINCTRL=yes
7178 DEFAULT_wxUSE_SPLITTER=yes
7179 DEFAULT_wxUSE_STATBMP=yes
7180 DEFAULT_wxUSE_STATBOX=yes
7181 DEFAULT_wxUSE_STATLINE=yes
7182 DEFAULT_wxUSE_STATUSBAR=yes
7183 DEFAULT_wxUSE_TAB_DIALOG=yes
7184 DEFAULT_wxUSE_TOGGLEBTN=yes
7185 DEFAULT_wxUSE_TOOLBAR=yes
7186 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7187 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7188 DEFAULT_wxUSE_TOOLTIPS=yes
7189 DEFAULT_wxUSE_TREECTRL=yes
7190 DEFAULT_wxUSE_POPUPWIN=yes
7191 DEFAULT_wxUSE_TIPWINDOW=yes
7192 elif test "$wxUSE_CONTROLS" = "no"; then
7193 DEFAULT_wxUSE_ACCEL=no
7194 DEFAULT_wxUSE_BMPBUTTON=no
7195 DEFAULT_wxUSE_BUTTON=no
7196 DEFAULT_wxUSE_CALCTRL=no
7197 DEFAULT_wxUSE_CARET=no
7198 DEFAULT_wxUSE_COMBOBOX=no
7199 DEFAULT_wxUSE_CHECKBOX=no
7200 DEFAULT_wxUSE_CHECKLISTBOX=no
7201 DEFAULT_wxUSE_CHOICE=no
7202 DEFAULT_wxUSE_CHOICEBOOK=no
7203 DEFAULT_wxUSE_DATEPICKCTRL=no
7204 DEFAULT_wxUSE_GAUGE=no
7205 DEFAULT_wxUSE_GRID=no
7206 DEFAULT_wxUSE_IMAGLIST=no
7207 DEFAULT_wxUSE_LISTBOOK=no
7208 DEFAULT_wxUSE_LISTBOX=no
7209 DEFAULT_wxUSE_LISTCTRL=no
7210 DEFAULT_wxUSE_NOTEBOOK=no
7211 DEFAULT_wxUSE_RADIOBOX=no
7212 DEFAULT_wxUSE_RADIOBTN=no
7213 DEFAULT_wxUSE_SASH=no
7214 DEFAULT_wxUSE_SCROLLBAR=no
7215 DEFAULT_wxUSE_SLIDER=no
7216 DEFAULT_wxUSE_SPINBTN=no
7217 DEFAULT_wxUSE_SPINCTRL=no
7218 DEFAULT_wxUSE_SPLITTER=no
7219 DEFAULT_wxUSE_STATBMP=no
7220 DEFAULT_wxUSE_STATBOX=no
7221 DEFAULT_wxUSE_STATLINE=no
7222 DEFAULT_wxUSE_STATUSBAR=no
7223 DEFAULT_wxUSE_TAB_DIALOG=no
7224 DEFAULT_wxUSE_TOGGLEBTN=no
7225 DEFAULT_wxUSE_TOOLBAR=no
7226 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7227 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7228 DEFAULT_wxUSE_TOOLTIPS=no
7229 DEFAULT_wxUSE_TREECTRL=no
7230 DEFAULT_wxUSE_POPUPWIN=no
7231 DEFAULT_wxUSE_TIPWINDOW=no
7232 fi
7233
7234
7235 enablestring=
7236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7237 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7238 no_cache=0
7239 # Check whether --enable-accel or --disable-accel was given.
7240 if test "${enable_accel+set}" = set; then
7241 enableval="$enable_accel"
7242
7243 if test "$enableval" = yes; then
7244 ac_cv_use_accel='wxUSE_ACCEL=yes'
7245 else
7246 ac_cv_use_accel='wxUSE_ACCEL=no'
7247 fi
7248
7249 else
7250
7251 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7252 if test "x$LINE" != x ; then
7253 eval "DEFAULT_$LINE"
7254 else
7255 no_cache=1
7256 fi
7257
7258 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7259
7260 fi;
7261
7262 eval "$ac_cv_use_accel"
7263 if test "$no_cache" != 1; then
7264 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7265 fi
7266
7267 if test "$wxUSE_ACCEL" = yes; then
7268 echo "$as_me:$LINENO: result: yes" >&5
7269 echo "${ECHO_T}yes" >&6
7270 else
7271 echo "$as_me:$LINENO: result: no" >&5
7272 echo "${ECHO_T}no" >&6
7273 fi
7274
7275
7276 enablestring=
7277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7278 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7279 no_cache=0
7280 # Check whether --enable-button or --disable-button was given.
7281 if test "${enable_button+set}" = set; then
7282 enableval="$enable_button"
7283
7284 if test "$enableval" = yes; then
7285 ac_cv_use_button='wxUSE_BUTTON=yes'
7286 else
7287 ac_cv_use_button='wxUSE_BUTTON=no'
7288 fi
7289
7290 else
7291
7292 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7293 if test "x$LINE" != x ; then
7294 eval "DEFAULT_$LINE"
7295 else
7296 no_cache=1
7297 fi
7298
7299 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7300
7301 fi;
7302
7303 eval "$ac_cv_use_button"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7306 fi
7307
7308 if test "$wxUSE_BUTTON" = yes; then
7309 echo "$as_me:$LINENO: result: yes" >&5
7310 echo "${ECHO_T}yes" >&6
7311 else
7312 echo "$as_me:$LINENO: result: no" >&5
7313 echo "${ECHO_T}no" >&6
7314 fi
7315
7316
7317 enablestring=
7318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7319 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7320 no_cache=0
7321 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7322 if test "${enable_bmpbutton+set}" = set; then
7323 enableval="$enable_bmpbutton"
7324
7325 if test "$enableval" = yes; then
7326 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7327 else
7328 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7329 fi
7330
7331 else
7332
7333 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7334 if test "x$LINE" != x ; then
7335 eval "DEFAULT_$LINE"
7336 else
7337 no_cache=1
7338 fi
7339
7340 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7341
7342 fi;
7343
7344 eval "$ac_cv_use_bmpbutton"
7345 if test "$no_cache" != 1; then
7346 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7347 fi
7348
7349 if test "$wxUSE_BMPBUTTON" = yes; then
7350 echo "$as_me:$LINENO: result: yes" >&5
7351 echo "${ECHO_T}yes" >&6
7352 else
7353 echo "$as_me:$LINENO: result: no" >&5
7354 echo "${ECHO_T}no" >&6
7355 fi
7356
7357
7358 enablestring=
7359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7361 no_cache=0
7362 # Check whether --enable-calendar or --disable-calendar was given.
7363 if test "${enable_calendar+set}" = set; then
7364 enableval="$enable_calendar"
7365
7366 if test "$enableval" = yes; then
7367 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7368 else
7369 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7370 fi
7371
7372 else
7373
7374 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x ; then
7376 eval "DEFAULT_$LINE"
7377 else
7378 no_cache=1
7379 fi
7380
7381 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7382
7383 fi;
7384
7385 eval "$ac_cv_use_calendar"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7388 fi
7389
7390 if test "$wxUSE_CALCTRL" = yes; then
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7393 else
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7396 fi
7397
7398
7399 enablestring=
7400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7402 no_cache=0
7403 # Check whether --enable-caret or --disable-caret was given.
7404 if test "${enable_caret+set}" = set; then
7405 enableval="$enable_caret"
7406
7407 if test "$enableval" = yes; then
7408 ac_cv_use_caret='wxUSE_CARET=yes'
7409 else
7410 ac_cv_use_caret='wxUSE_CARET=no'
7411 fi
7412
7413 else
7414
7415 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x ; then
7417 eval "DEFAULT_$LINE"
7418 else
7419 no_cache=1
7420 fi
7421
7422 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7423
7424 fi;
7425
7426 eval "$ac_cv_use_caret"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7429 fi
7430
7431 if test "$wxUSE_CARET" = yes; then
7432 echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6
7434 else
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7437 fi
7438
7439
7440 enablestring=
7441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7443 no_cache=0
7444 # Check whether --enable-checkbox or --disable-checkbox was given.
7445 if test "${enable_checkbox+set}" = set; then
7446 enableval="$enable_checkbox"
7447
7448 if test "$enableval" = yes; then
7449 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7450 else
7451 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7452 fi
7453
7454 else
7455
7456 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x ; then
7458 eval "DEFAULT_$LINE"
7459 else
7460 no_cache=1
7461 fi
7462
7463 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7464
7465 fi;
7466
7467 eval "$ac_cv_use_checkbox"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7470 fi
7471
7472 if test "$wxUSE_CHECKBOX" = yes; then
7473 echo "$as_me:$LINENO: result: yes" >&5
7474 echo "${ECHO_T}yes" >&6
7475 else
7476 echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6
7478 fi
7479
7480
7481 enablestring=
7482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7484 no_cache=0
7485 # Check whether --enable-checklst or --disable-checklst was given.
7486 if test "${enable_checklst+set}" = set; then
7487 enableval="$enable_checklst"
7488
7489 if test "$enableval" = yes; then
7490 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7491 else
7492 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7493 fi
7494
7495 else
7496
7497 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7498 if test "x$LINE" != x ; then
7499 eval "DEFAULT_$LINE"
7500 else
7501 no_cache=1
7502 fi
7503
7504 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7505
7506 fi;
7507
7508 eval "$ac_cv_use_checklst"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7511 fi
7512
7513 if test "$wxUSE_CHECKLST" = yes; then
7514 echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6
7516 else
7517 echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6
7519 fi
7520
7521
7522 enablestring=
7523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7525 no_cache=0
7526 # Check whether --enable-choice or --disable-choice was given.
7527 if test "${enable_choice+set}" = set; then
7528 enableval="$enable_choice"
7529
7530 if test "$enableval" = yes; then
7531 ac_cv_use_choice='wxUSE_CHOICE=yes'
7532 else
7533 ac_cv_use_choice='wxUSE_CHOICE=no'
7534 fi
7535
7536 else
7537
7538 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7539 if test "x$LINE" != x ; then
7540 eval "DEFAULT_$LINE"
7541 else
7542 no_cache=1
7543 fi
7544
7545 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7546
7547 fi;
7548
7549 eval "$ac_cv_use_choice"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7552 fi
7553
7554 if test "$wxUSE_CHOICE" = yes; then
7555 echo "$as_me:$LINENO: result: yes" >&5
7556 echo "${ECHO_T}yes" >&6
7557 else
7558 echo "$as_me:$LINENO: result: no" >&5
7559 echo "${ECHO_T}no" >&6
7560 fi
7561
7562
7563 enablestring=
7564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7566 no_cache=0
7567 # Check whether --enable-choicebook or --disable-choicebook was given.
7568 if test "${enable_choicebook+set}" = set; then
7569 enableval="$enable_choicebook"
7570
7571 if test "$enableval" = yes; then
7572 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7573 else
7574 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7575 fi
7576
7577 else
7578
7579 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7580 if test "x$LINE" != x ; then
7581 eval "DEFAULT_$LINE"
7582 else
7583 no_cache=1
7584 fi
7585
7586 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7587
7588 fi;
7589
7590 eval "$ac_cv_use_choicebook"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7593 fi
7594
7595 if test "$wxUSE_CHOICEBOOK" = yes; then
7596 echo "$as_me:$LINENO: result: yes" >&5
7597 echo "${ECHO_T}yes" >&6
7598 else
7599 echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6
7601 fi
7602
7603
7604 enablestring=
7605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7607 no_cache=0
7608 # Check whether --enable-combobox or --disable-combobox was given.
7609 if test "${enable_combobox+set}" = set; then
7610 enableval="$enable_combobox"
7611
7612 if test "$enableval" = yes; then
7613 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7614 else
7615 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7616 fi
7617
7618 else
7619
7620 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7621 if test "x$LINE" != x ; then
7622 eval "DEFAULT_$LINE"
7623 else
7624 no_cache=1
7625 fi
7626
7627 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7628
7629 fi;
7630
7631 eval "$ac_cv_use_combobox"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7634 fi
7635
7636 if test "$wxUSE_COMBOBOX" = yes; then
7637 echo "$as_me:$LINENO: result: yes" >&5
7638 echo "${ECHO_T}yes" >&6
7639 else
7640 echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6
7642 fi
7643
7644
7645 enablestring=
7646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7648 no_cache=0
7649 # Check whether --enable-datepick or --disable-datepick was given.
7650 if test "${enable_datepick+set}" = set; then
7651 enableval="$enable_datepick"
7652
7653 if test "$enableval" = yes; then
7654 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7655 else
7656 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7657 fi
7658
7659 else
7660
7661 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x ; then
7663 eval "DEFAULT_$LINE"
7664 else
7665 no_cache=1
7666 fi
7667
7668 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7669
7670 fi;
7671
7672 eval "$ac_cv_use_datepick"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7675 fi
7676
7677 if test "$wxUSE_DATEPICKCTRL" = yes; then
7678 echo "$as_me:$LINENO: result: yes" >&5
7679 echo "${ECHO_T}yes" >&6
7680 else
7681 echo "$as_me:$LINENO: result: no" >&5
7682 echo "${ECHO_T}no" >&6
7683 fi
7684
7685
7686 enablestring=
7687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7689 no_cache=0
7690 # Check whether --enable-display or --disable-display was given.
7691 if test "${enable_display+set}" = set; then
7692 enableval="$enable_display"
7693
7694 if test "$enableval" = yes; then
7695 ac_cv_use_display='wxUSE_DISPLAY=yes'
7696 else
7697 ac_cv_use_display='wxUSE_DISPLAY=no'
7698 fi
7699
7700 else
7701
7702 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7703 if test "x$LINE" != x ; then
7704 eval "DEFAULT_$LINE"
7705 else
7706 no_cache=1
7707 fi
7708
7709 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7710
7711 fi;
7712
7713 eval "$ac_cv_use_display"
7714 if test "$no_cache" != 1; then
7715 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7716 fi
7717
7718 if test "$wxUSE_DISPLAY" = yes; then
7719 echo "$as_me:$LINENO: result: yes" >&5
7720 echo "${ECHO_T}yes" >&6
7721 else
7722 echo "$as_me:$LINENO: result: no" >&5
7723 echo "${ECHO_T}no" >&6
7724 fi
7725
7726
7727 enablestring=
7728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7729 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7730 no_cache=0
7731 # Check whether --enable-gauge or --disable-gauge was given.
7732 if test "${enable_gauge+set}" = set; then
7733 enableval="$enable_gauge"
7734
7735 if test "$enableval" = yes; then
7736 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7737 else
7738 ac_cv_use_gauge='wxUSE_GAUGE=no'
7739 fi
7740
7741 else
7742
7743 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7744 if test "x$LINE" != x ; then
7745 eval "DEFAULT_$LINE"
7746 else
7747 no_cache=1
7748 fi
7749
7750 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7751
7752 fi;
7753
7754 eval "$ac_cv_use_gauge"
7755 if test "$no_cache" != 1; then
7756 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7757 fi
7758
7759 if test "$wxUSE_GAUGE" = yes; then
7760 echo "$as_me:$LINENO: result: yes" >&5
7761 echo "${ECHO_T}yes" >&6
7762 else
7763 echo "$as_me:$LINENO: result: no" >&5
7764 echo "${ECHO_T}no" >&6
7765 fi
7766
7767
7768 enablestring=
7769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7770 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7771 no_cache=0
7772 # Check whether --enable-grid or --disable-grid was given.
7773 if test "${enable_grid+set}" = set; then
7774 enableval="$enable_grid"
7775
7776 if test "$enableval" = yes; then
7777 ac_cv_use_grid='wxUSE_GRID=yes'
7778 else
7779 ac_cv_use_grid='wxUSE_GRID=no'
7780 fi
7781
7782 else
7783
7784 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7785 if test "x$LINE" != x ; then
7786 eval "DEFAULT_$LINE"
7787 else
7788 no_cache=1
7789 fi
7790
7791 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7792
7793 fi;
7794
7795 eval "$ac_cv_use_grid"
7796 if test "$no_cache" != 1; then
7797 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7798 fi
7799
7800 if test "$wxUSE_GRID" = yes; then
7801 echo "$as_me:$LINENO: result: yes" >&5
7802 echo "${ECHO_T}yes" >&6
7803 else
7804 echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6
7806 fi
7807
7808
7809 enablestring=
7810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7812 no_cache=0
7813 # Check whether --enable-imaglist or --disable-imaglist was given.
7814 if test "${enable_imaglist+set}" = set; then
7815 enableval="$enable_imaglist"
7816
7817 if test "$enableval" = yes; then
7818 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7819 else
7820 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7821 fi
7822
7823 else
7824
7825 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7826 if test "x$LINE" != x ; then
7827 eval "DEFAULT_$LINE"
7828 else
7829 no_cache=1
7830 fi
7831
7832 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7833
7834 fi;
7835
7836 eval "$ac_cv_use_imaglist"
7837 if test "$no_cache" != 1; then
7838 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7839 fi
7840
7841 if test "$wxUSE_IMAGLIST" = yes; then
7842 echo "$as_me:$LINENO: result: yes" >&5
7843 echo "${ECHO_T}yes" >&6
7844 else
7845 echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6
7847 fi
7848
7849
7850 enablestring=
7851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7853 no_cache=0
7854 # Check whether --enable-listbook or --disable-listbook was given.
7855 if test "${enable_listbook+set}" = set; then
7856 enableval="$enable_listbook"
7857
7858 if test "$enableval" = yes; then
7859 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7860 else
7861 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7862 fi
7863
7864 else
7865
7866 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x ; then
7868 eval "DEFAULT_$LINE"
7869 else
7870 no_cache=1
7871 fi
7872
7873 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7874
7875 fi;
7876
7877 eval "$ac_cv_use_listbook"
7878 if test "$no_cache" != 1; then
7879 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7880 fi
7881
7882 if test "$wxUSE_LISTBOOK" = yes; then
7883 echo "$as_me:$LINENO: result: yes" >&5
7884 echo "${ECHO_T}yes" >&6
7885 else
7886 echo "$as_me:$LINENO: result: no" >&5
7887 echo "${ECHO_T}no" >&6
7888 fi
7889
7890
7891 enablestring=
7892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7893 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7894 no_cache=0
7895 # Check whether --enable-listbox or --disable-listbox was given.
7896 if test "${enable_listbox+set}" = set; then
7897 enableval="$enable_listbox"
7898
7899 if test "$enableval" = yes; then
7900 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7901 else
7902 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7903 fi
7904
7905 else
7906
7907 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7908 if test "x$LINE" != x ; then
7909 eval "DEFAULT_$LINE"
7910 else
7911 no_cache=1
7912 fi
7913
7914 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7915
7916 fi;
7917
7918 eval "$ac_cv_use_listbox"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7921 fi
7922
7923 if test "$wxUSE_LISTBOX" = yes; then
7924 echo "$as_me:$LINENO: result: yes" >&5
7925 echo "${ECHO_T}yes" >&6
7926 else
7927 echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6
7929 fi
7930
7931
7932 enablestring=
7933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7935 no_cache=0
7936 # Check whether --enable-listctrl or --disable-listctrl was given.
7937 if test "${enable_listctrl+set}" = set; then
7938 enableval="$enable_listctrl"
7939
7940 if test "$enableval" = yes; then
7941 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7942 else
7943 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7944 fi
7945
7946 else
7947
7948 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x ; then
7950 eval "DEFAULT_$LINE"
7951 else
7952 no_cache=1
7953 fi
7954
7955 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7956
7957 fi;
7958
7959 eval "$ac_cv_use_listctrl"
7960 if test "$no_cache" != 1; then
7961 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7962 fi
7963
7964 if test "$wxUSE_LISTCTRL" = yes; then
7965 echo "$as_me:$LINENO: result: yes" >&5
7966 echo "${ECHO_T}yes" >&6
7967 else
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7970 fi
7971
7972
7973 enablestring=
7974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7976 no_cache=0
7977 # Check whether --enable-notebook or --disable-notebook was given.
7978 if test "${enable_notebook+set}" = set; then
7979 enableval="$enable_notebook"
7980
7981 if test "$enableval" = yes; then
7982 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7983 else
7984 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7985 fi
7986
7987 else
7988
7989 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7990 if test "x$LINE" != x ; then
7991 eval "DEFAULT_$LINE"
7992 else
7993 no_cache=1
7994 fi
7995
7996 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7997
7998 fi;
7999
8000 eval "$ac_cv_use_notebook"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8003 fi
8004
8005 if test "$wxUSE_NOTEBOOK" = yes; then
8006 echo "$as_me:$LINENO: result: yes" >&5
8007 echo "${ECHO_T}yes" >&6
8008 else
8009 echo "$as_me:$LINENO: result: no" >&5
8010 echo "${ECHO_T}no" >&6
8011 fi
8012
8013
8014 enablestring=
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8017 no_cache=0
8018 # Check whether --enable-radiobox or --disable-radiobox was given.
8019 if test "${enable_radiobox+set}" = set; then
8020 enableval="$enable_radiobox"
8021
8022 if test "$enableval" = yes; then
8023 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8024 else
8025 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8026 fi
8027
8028 else
8029
8030 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8033 else
8034 no_cache=1
8035 fi
8036
8037 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8038
8039 fi;
8040
8041 eval "$ac_cv_use_radiobox"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8044 fi
8045
8046 if test "$wxUSE_RADIOBOX" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8049 else
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8052 fi
8053
8054
8055 enablestring=
8056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8058 no_cache=0
8059 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8060 if test "${enable_radiobtn+set}" = set; then
8061 enableval="$enable_radiobtn"
8062
8063 if test "$enableval" = yes; then
8064 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8065 else
8066 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8067 fi
8068
8069 else
8070
8071 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8072 if test "x$LINE" != x ; then
8073 eval "DEFAULT_$LINE"
8074 else
8075 no_cache=1
8076 fi
8077
8078 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8079
8080 fi;
8081
8082 eval "$ac_cv_use_radiobtn"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8085 fi
8086
8087 if test "$wxUSE_RADIOBTN" = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8090 else
8091 echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6
8093 fi
8094
8095
8096 enablestring=
8097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8099 no_cache=0
8100 # Check whether --enable-sash or --disable-sash was given.
8101 if test "${enable_sash+set}" = set; then
8102 enableval="$enable_sash"
8103
8104 if test "$enableval" = yes; then
8105 ac_cv_use_sash='wxUSE_SASH=yes'
8106 else
8107 ac_cv_use_sash='wxUSE_SASH=no'
8108 fi
8109
8110 else
8111
8112 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x ; then
8114 eval "DEFAULT_$LINE"
8115 else
8116 no_cache=1
8117 fi
8118
8119 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8120
8121 fi;
8122
8123 eval "$ac_cv_use_sash"
8124 if test "$no_cache" != 1; then
8125 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8126 fi
8127
8128 if test "$wxUSE_SASH" = yes; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8131 else
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8134 fi
8135
8136
8137 enablestring=
8138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8140 no_cache=0
8141 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8142 if test "${enable_scrollbar+set}" = set; then
8143 enableval="$enable_scrollbar"
8144
8145 if test "$enableval" = yes; then
8146 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8147 else
8148 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8149 fi
8150
8151 else
8152
8153 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8156 else
8157 no_cache=1
8158 fi
8159
8160 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8161
8162 fi;
8163
8164 eval "$ac_cv_use_scrollbar"
8165 if test "$no_cache" != 1; then
8166 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8167 fi
8168
8169 if test "$wxUSE_SCROLLBAR" = yes; then
8170 echo "$as_me:$LINENO: result: yes" >&5
8171 echo "${ECHO_T}yes" >&6
8172 else
8173 echo "$as_me:$LINENO: result: no" >&5
8174 echo "${ECHO_T}no" >&6
8175 fi
8176
8177
8178 enablestring=
8179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8181 no_cache=0
8182 # Check whether --enable-slider or --disable-slider was given.
8183 if test "${enable_slider+set}" = set; then
8184 enableval="$enable_slider"
8185
8186 if test "$enableval" = yes; then
8187 ac_cv_use_slider='wxUSE_SLIDER=yes'
8188 else
8189 ac_cv_use_slider='wxUSE_SLIDER=no'
8190 fi
8191
8192 else
8193
8194 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x ; then
8196 eval "DEFAULT_$LINE"
8197 else
8198 no_cache=1
8199 fi
8200
8201 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8202
8203 fi;
8204
8205 eval "$ac_cv_use_slider"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8208 fi
8209
8210 if test "$wxUSE_SLIDER" = yes; then
8211 echo "$as_me:$LINENO: result: yes" >&5
8212 echo "${ECHO_T}yes" >&6
8213 else
8214 echo "$as_me:$LINENO: result: no" >&5
8215 echo "${ECHO_T}no" >&6
8216 fi
8217
8218
8219 enablestring=
8220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8222 no_cache=0
8223 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8224 if test "${enable_spinbtn+set}" = set; then
8225 enableval="$enable_spinbtn"
8226
8227 if test "$enableval" = yes; then
8228 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8229 else
8230 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8231 fi
8232
8233 else
8234
8235 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x ; then
8237 eval "DEFAULT_$LINE"
8238 else
8239 no_cache=1
8240 fi
8241
8242 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8243
8244 fi;
8245
8246 eval "$ac_cv_use_spinbtn"
8247 if test "$no_cache" != 1; then
8248 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8249 fi
8250
8251 if test "$wxUSE_SPINBTN" = yes; then
8252 echo "$as_me:$LINENO: result: yes" >&5
8253 echo "${ECHO_T}yes" >&6
8254 else
8255 echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6
8257 fi
8258
8259
8260 enablestring=
8261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8263 no_cache=0
8264 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8265 if test "${enable_spinctrl+set}" = set; then
8266 enableval="$enable_spinctrl"
8267
8268 if test "$enableval" = yes; then
8269 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8270 else
8271 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8272 fi
8273
8274 else
8275
8276 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8279 else
8280 no_cache=1
8281 fi
8282
8283 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8284
8285 fi;
8286
8287 eval "$ac_cv_use_spinctrl"
8288 if test "$no_cache" != 1; then
8289 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8290 fi
8291
8292 if test "$wxUSE_SPINCTRL" = yes; then
8293 echo "$as_me:$LINENO: result: yes" >&5
8294 echo "${ECHO_T}yes" >&6
8295 else
8296 echo "$as_me:$LINENO: result: no" >&5
8297 echo "${ECHO_T}no" >&6
8298 fi
8299
8300
8301 enablestring=
8302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8304 no_cache=0
8305 # Check whether --enable-splitter or --disable-splitter was given.
8306 if test "${enable_splitter+set}" = set; then
8307 enableval="$enable_splitter"
8308
8309 if test "$enableval" = yes; then
8310 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8311 else
8312 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8313 fi
8314
8315 else
8316
8317 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8318 if test "x$LINE" != x ; then
8319 eval "DEFAULT_$LINE"
8320 else
8321 no_cache=1
8322 fi
8323
8324 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8325
8326 fi;
8327
8328 eval "$ac_cv_use_splitter"
8329 if test "$no_cache" != 1; then
8330 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8331 fi
8332
8333 if test "$wxUSE_SPLITTER" = yes; then
8334 echo "$as_me:$LINENO: result: yes" >&5
8335 echo "${ECHO_T}yes" >&6
8336 else
8337 echo "$as_me:$LINENO: result: no" >&5
8338 echo "${ECHO_T}no" >&6
8339 fi
8340
8341
8342 enablestring=
8343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8345 no_cache=0
8346 # Check whether --enable-statbmp or --disable-statbmp was given.
8347 if test "${enable_statbmp+set}" = set; then
8348 enableval="$enable_statbmp"
8349
8350 if test "$enableval" = yes; then
8351 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8352 else
8353 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8354 fi
8355
8356 else
8357
8358 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x ; then
8360 eval "DEFAULT_$LINE"
8361 else
8362 no_cache=1
8363 fi
8364
8365 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8366
8367 fi;
8368
8369 eval "$ac_cv_use_statbmp"
8370 if test "$no_cache" != 1; then
8371 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8372 fi
8373
8374 if test "$wxUSE_STATBMP" = yes; then
8375 echo "$as_me:$LINENO: result: yes" >&5
8376 echo "${ECHO_T}yes" >&6
8377 else
8378 echo "$as_me:$LINENO: result: no" >&5
8379 echo "${ECHO_T}no" >&6
8380 fi
8381
8382
8383 enablestring=
8384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8386 no_cache=0
8387 # Check whether --enable-statbox or --disable-statbox was given.
8388 if test "${enable_statbox+set}" = set; then
8389 enableval="$enable_statbox"
8390
8391 if test "$enableval" = yes; then
8392 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8393 else
8394 ac_cv_use_statbox='wxUSE_STATBOX=no'
8395 fi
8396
8397 else
8398
8399 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8400 if test "x$LINE" != x ; then
8401 eval "DEFAULT_$LINE"
8402 else
8403 no_cache=1
8404 fi
8405
8406 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8407
8408 fi;
8409
8410 eval "$ac_cv_use_statbox"
8411 if test "$no_cache" != 1; then
8412 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8413 fi
8414
8415 if test "$wxUSE_STATBOX" = yes; then
8416 echo "$as_me:$LINENO: result: yes" >&5
8417 echo "${ECHO_T}yes" >&6
8418 else
8419 echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6
8421 fi
8422
8423
8424 enablestring=
8425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8426 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8427 no_cache=0
8428 # Check whether --enable-statline or --disable-statline was given.
8429 if test "${enable_statline+set}" = set; then
8430 enableval="$enable_statline"
8431
8432 if test "$enableval" = yes; then
8433 ac_cv_use_statline='wxUSE_STATLINE=yes'
8434 else
8435 ac_cv_use_statline='wxUSE_STATLINE=no'
8436 fi
8437
8438 else
8439
8440 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x ; then
8442 eval "DEFAULT_$LINE"
8443 else
8444 no_cache=1
8445 fi
8446
8447 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8448
8449 fi;
8450
8451 eval "$ac_cv_use_statline"
8452 if test "$no_cache" != 1; then
8453 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8454 fi
8455
8456 if test "$wxUSE_STATLINE" = yes; then
8457 echo "$as_me:$LINENO: result: yes" >&5
8458 echo "${ECHO_T}yes" >&6
8459 else
8460 echo "$as_me:$LINENO: result: no" >&5
8461 echo "${ECHO_T}no" >&6
8462 fi
8463
8464
8465 enablestring=
8466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8467 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8468 no_cache=0
8469 # Check whether --enable-stattext or --disable-stattext was given.
8470 if test "${enable_stattext+set}" = set; then
8471 enableval="$enable_stattext"
8472
8473 if test "$enableval" = yes; then
8474 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8475 else
8476 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8477 fi
8478
8479 else
8480
8481 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x ; then
8483 eval "DEFAULT_$LINE"
8484 else
8485 no_cache=1
8486 fi
8487
8488 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8489
8490 fi;
8491
8492 eval "$ac_cv_use_stattext"
8493 if test "$no_cache" != 1; then
8494 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8495 fi
8496
8497 if test "$wxUSE_STATTEXT" = yes; then
8498 echo "$as_me:$LINENO: result: yes" >&5
8499 echo "${ECHO_T}yes" >&6
8500 else
8501 echo "$as_me:$LINENO: result: no" >&5
8502 echo "${ECHO_T}no" >&6
8503 fi
8504
8505
8506 enablestring=
8507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8508 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8509 no_cache=0
8510 # Check whether --enable-statusbar or --disable-statusbar was given.
8511 if test "${enable_statusbar+set}" = set; then
8512 enableval="$enable_statusbar"
8513
8514 if test "$enableval" = yes; then
8515 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8516 else
8517 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8518 fi
8519
8520 else
8521
8522 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x ; then
8524 eval "DEFAULT_$LINE"
8525 else
8526 no_cache=1
8527 fi
8528
8529 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8530
8531 fi;
8532
8533 eval "$ac_cv_use_statusbar"
8534 if test "$no_cache" != 1; then
8535 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8536 fi
8537
8538 if test "$wxUSE_STATUSBAR" = yes; then
8539 echo "$as_me:$LINENO: result: yes" >&5
8540 echo "${ECHO_T}yes" >&6
8541 else
8542 echo "$as_me:$LINENO: result: no" >&5
8543 echo "${ECHO_T}no" >&6
8544 fi
8545
8546
8547 enablestring=
8548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8549 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8550 no_cache=0
8551 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8552 if test "${enable_tabdialog+set}" = set; then
8553 enableval="$enable_tabdialog"
8554
8555 if test "$enableval" = yes; then
8556 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8557 else
8558 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8559 fi
8560
8561 else
8562
8563 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x ; then
8565 eval "DEFAULT_$LINE"
8566 else
8567 no_cache=1
8568 fi
8569
8570 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8571
8572 fi;
8573
8574 eval "$ac_cv_use_tabdialog"
8575 if test "$no_cache" != 1; then
8576 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8577 fi
8578
8579 if test "$wxUSE_TABDIALOG" = yes; then
8580 echo "$as_me:$LINENO: result: yes" >&5
8581 echo "${ECHO_T}yes" >&6
8582 else
8583 echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6
8585 fi
8586
8587
8588 enablestring=
8589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8590 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8591 no_cache=0
8592 # Check whether --enable-textctrl or --disable-textctrl was given.
8593 if test "${enable_textctrl+set}" = set; then
8594 enableval="$enable_textctrl"
8595
8596 if test "$enableval" = yes; then
8597 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8598 else
8599 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8600 fi
8601
8602 else
8603
8604 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8607 else
8608 no_cache=1
8609 fi
8610
8611 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8612
8613 fi;
8614
8615 eval "$ac_cv_use_textctrl"
8616 if test "$no_cache" != 1; then
8617 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8618 fi
8619
8620 if test "$wxUSE_TEXTCTRL" = yes; then
8621 echo "$as_me:$LINENO: result: yes" >&5
8622 echo "${ECHO_T}yes" >&6
8623 else
8624 echo "$as_me:$LINENO: result: no" >&5
8625 echo "${ECHO_T}no" >&6
8626 fi
8627
8628
8629 enablestring=
8630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8632 no_cache=0
8633 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8634 if test "${enable_togglebtn+set}" = set; then
8635 enableval="$enable_togglebtn"
8636
8637 if test "$enableval" = yes; then
8638 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8639 else
8640 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8641 fi
8642
8643 else
8644
8645 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8646 if test "x$LINE" != x ; then
8647 eval "DEFAULT_$LINE"
8648 else
8649 no_cache=1
8650 fi
8651
8652 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8653
8654 fi;
8655
8656 eval "$ac_cv_use_togglebtn"
8657 if test "$no_cache" != 1; then
8658 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8659 fi
8660
8661 if test "$wxUSE_TOGGLEBTN" = yes; then
8662 echo "$as_me:$LINENO: result: yes" >&5
8663 echo "${ECHO_T}yes" >&6
8664 else
8665 echo "$as_me:$LINENO: result: no" >&5
8666 echo "${ECHO_T}no" >&6
8667 fi
8668
8669
8670 enablestring=
8671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8673 no_cache=0
8674 # Check whether --enable-toolbar or --disable-toolbar was given.
8675 if test "${enable_toolbar+set}" = set; then
8676 enableval="$enable_toolbar"
8677
8678 if test "$enableval" = yes; then
8679 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8680 else
8681 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8682 fi
8683
8684 else
8685
8686 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x ; then
8688 eval "DEFAULT_$LINE"
8689 else
8690 no_cache=1
8691 fi
8692
8693 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8694
8695 fi;
8696
8697 eval "$ac_cv_use_toolbar"
8698 if test "$no_cache" != 1; then
8699 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8700 fi
8701
8702 if test "$wxUSE_TOOLBAR" = yes; then
8703 echo "$as_me:$LINENO: result: yes" >&5
8704 echo "${ECHO_T}yes" >&6
8705 else
8706 echo "$as_me:$LINENO: result: no" >&5
8707 echo "${ECHO_T}no" >&6
8708 fi
8709
8710
8711 enablestring=
8712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8714 no_cache=0
8715 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8716 if test "${enable_tbarnative+set}" = set; then
8717 enableval="$enable_tbarnative"
8718
8719 if test "$enableval" = yes; then
8720 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8721 else
8722 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8723 fi
8724
8725 else
8726
8727 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8728 if test "x$LINE" != x ; then
8729 eval "DEFAULT_$LINE"
8730 else
8731 no_cache=1
8732 fi
8733
8734 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8735
8736 fi;
8737
8738 eval "$ac_cv_use_tbarnative"
8739 if test "$no_cache" != 1; then
8740 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8741 fi
8742
8743 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8744 echo "$as_me:$LINENO: result: yes" >&5
8745 echo "${ECHO_T}yes" >&6
8746 else
8747 echo "$as_me:$LINENO: result: no" >&5
8748 echo "${ECHO_T}no" >&6
8749 fi
8750
8751
8752 enablestring=
8753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8755 no_cache=0
8756 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8757 if test "${enable_tbarsmpl+set}" = set; then
8758 enableval="$enable_tbarsmpl"
8759
8760 if test "$enableval" = yes; then
8761 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8762 else
8763 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8764 fi
8765
8766 else
8767
8768 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8769 if test "x$LINE" != x ; then
8770 eval "DEFAULT_$LINE"
8771 else
8772 no_cache=1
8773 fi
8774
8775 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8776
8777 fi;
8778
8779 eval "$ac_cv_use_tbarsmpl"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8782 fi
8783
8784 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8785 echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6
8787 else
8788 echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6
8790 fi
8791
8792
8793 enablestring=
8794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8796 no_cache=0
8797 # Check whether --enable-treectrl or --disable-treectrl was given.
8798 if test "${enable_treectrl+set}" = set; then
8799 enableval="$enable_treectrl"
8800
8801 if test "$enableval" = yes; then
8802 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8803 else
8804 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8805 fi
8806
8807 else
8808
8809 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8810 if test "x$LINE" != x ; then
8811 eval "DEFAULT_$LINE"
8812 else
8813 no_cache=1
8814 fi
8815
8816 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8817
8818 fi;
8819
8820 eval "$ac_cv_use_treectrl"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8823 fi
8824
8825 if test "$wxUSE_TREECTRL" = yes; then
8826 echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6
8828 else
8829 echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6
8831 fi
8832
8833
8834 enablestring=
8835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8837 no_cache=0
8838 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8839 if test "${enable_tipwindow+set}" = set; then
8840 enableval="$enable_tipwindow"
8841
8842 if test "$enableval" = yes; then
8843 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8844 else
8845 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8846 fi
8847
8848 else
8849
8850 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8851 if test "x$LINE" != x ; then
8852 eval "DEFAULT_$LINE"
8853 else
8854 no_cache=1
8855 fi
8856
8857 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8858
8859 fi;
8860
8861 eval "$ac_cv_use_tipwindow"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8864 fi
8865
8866 if test "$wxUSE_TIPWINDOW" = yes; then
8867 echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6
8869 else
8870 echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6
8872 fi
8873
8874
8875 enablestring=
8876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8878 no_cache=0
8879 # Check whether --enable-popupwin or --disable-popupwin was given.
8880 if test "${enable_popupwin+set}" = set; then
8881 enableval="$enable_popupwin"
8882
8883 if test "$enableval" = yes; then
8884 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8885 else
8886 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8887 fi
8888
8889 else
8890
8891 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x ; then
8893 eval "DEFAULT_$LINE"
8894 else
8895 no_cache=1
8896 fi
8897
8898 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8899
8900 fi;
8901
8902 eval "$ac_cv_use_popupwin"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8905 fi
8906
8907 if test "$wxUSE_POPUPWIN" = yes; then
8908 echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8910 else
8911 echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6
8913 fi
8914
8915
8916
8917
8918 enablestring=
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8921 no_cache=0
8922 # Check whether --enable-commondlg or --disable-commondlg was given.
8923 if test "${enable_commondlg+set}" = set; then
8924 enableval="$enable_commondlg"
8925
8926 if test "$enableval" = yes; then
8927 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8928 else
8929 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8930 fi
8931
8932 else
8933
8934 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x ; then
8936 eval "DEFAULT_$LINE"
8937 else
8938 no_cache=1
8939 fi
8940
8941 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8942
8943 fi;
8944
8945 eval "$ac_cv_use_commondlg"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8948 fi
8949
8950 if test "$wxUSE_COMMONDLGS" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8953 else
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8956 fi
8957
8958
8959 enablestring=
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8962 no_cache=0
8963 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8964 if test "${enable_choicedlg+set}" = set; then
8965 enableval="$enable_choicedlg"
8966
8967 if test "$enableval" = yes; then
8968 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8969 else
8970 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8971 fi
8972
8973 else
8974
8975 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x ; then
8977 eval "DEFAULT_$LINE"
8978 else
8979 no_cache=1
8980 fi
8981
8982 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8983
8984 fi;
8985
8986 eval "$ac_cv_use_choicedlg"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8989 fi
8990
8991 if test "$wxUSE_CHOICEDLG" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8994 else
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
8997 fi
8998
8999
9000 enablestring=
9001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9002 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9003 no_cache=0
9004 # Check whether --enable-coldlg or --disable-coldlg was given.
9005 if test "${enable_coldlg+set}" = set; then
9006 enableval="$enable_coldlg"
9007
9008 if test "$enableval" = yes; then
9009 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9010 else
9011 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9012 fi
9013
9014 else
9015
9016 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9017 if test "x$LINE" != x ; then
9018 eval "DEFAULT_$LINE"
9019 else
9020 no_cache=1
9021 fi
9022
9023 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9024
9025 fi;
9026
9027 eval "$ac_cv_use_coldlg"
9028 if test "$no_cache" != 1; then
9029 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9030 fi
9031
9032 if test "$wxUSE_COLOURDLG" = yes; then
9033 echo "$as_me:$LINENO: result: yes" >&5
9034 echo "${ECHO_T}yes" >&6
9035 else
9036 echo "$as_me:$LINENO: result: no" >&5
9037 echo "${ECHO_T}no" >&6
9038 fi
9039
9040
9041 enablestring=
9042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9043 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9044 no_cache=0
9045 # Check whether --enable-filedlg or --disable-filedlg was given.
9046 if test "${enable_filedlg+set}" = set; then
9047 enableval="$enable_filedlg"
9048
9049 if test "$enableval" = yes; then
9050 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9051 else
9052 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9053 fi
9054
9055 else
9056
9057 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9058 if test "x$LINE" != x ; then
9059 eval "DEFAULT_$LINE"
9060 else
9061 no_cache=1
9062 fi
9063
9064 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9065
9066 fi;
9067
9068 eval "$ac_cv_use_filedlg"
9069 if test "$no_cache" != 1; then
9070 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9071 fi
9072
9073 if test "$wxUSE_FILEDLG" = yes; then
9074 echo "$as_me:$LINENO: result: yes" >&5
9075 echo "${ECHO_T}yes" >&6
9076 else
9077 echo "$as_me:$LINENO: result: no" >&5
9078 echo "${ECHO_T}no" >&6
9079 fi
9080
9081
9082 enablestring=
9083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9084 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9085 no_cache=0
9086 # Check whether --enable-finddlg or --disable-finddlg was given.
9087 if test "${enable_finddlg+set}" = set; then
9088 enableval="$enable_finddlg"
9089
9090 if test "$enableval" = yes; then
9091 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9092 else
9093 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9094 fi
9095
9096 else
9097
9098 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9099 if test "x$LINE" != x ; then
9100 eval "DEFAULT_$LINE"
9101 else
9102 no_cache=1
9103 fi
9104
9105 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9106
9107 fi;
9108
9109 eval "$ac_cv_use_finddlg"
9110 if test "$no_cache" != 1; then
9111 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9112 fi
9113
9114 if test "$wxUSE_FINDREPLDLG" = yes; then
9115 echo "$as_me:$LINENO: result: yes" >&5
9116 echo "${ECHO_T}yes" >&6
9117 else
9118 echo "$as_me:$LINENO: result: no" >&5
9119 echo "${ECHO_T}no" >&6
9120 fi
9121
9122
9123 enablestring=
9124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9126 no_cache=0
9127 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9128 if test "${enable_fontdlg+set}" = set; then
9129 enableval="$enable_fontdlg"
9130
9131 if test "$enableval" = yes; then
9132 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9133 else
9134 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9135 fi
9136
9137 else
9138
9139 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9140 if test "x$LINE" != x ; then
9141 eval "DEFAULT_$LINE"
9142 else
9143 no_cache=1
9144 fi
9145
9146 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9147
9148 fi;
9149
9150 eval "$ac_cv_use_fontdlg"
9151 if test "$no_cache" != 1; then
9152 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9153 fi
9154
9155 if test "$wxUSE_FONTDLG" = yes; then
9156 echo "$as_me:$LINENO: result: yes" >&5
9157 echo "${ECHO_T}yes" >&6
9158 else
9159 echo "$as_me:$LINENO: result: no" >&5
9160 echo "${ECHO_T}no" >&6
9161 fi
9162
9163
9164 enablestring=
9165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9167 no_cache=0
9168 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9169 if test "${enable_dirdlg+set}" = set; then
9170 enableval="$enable_dirdlg"
9171
9172 if test "$enableval" = yes; then
9173 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9174 else
9175 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9176 fi
9177
9178 else
9179
9180 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9181 if test "x$LINE" != x ; then
9182 eval "DEFAULT_$LINE"
9183 else
9184 no_cache=1
9185 fi
9186
9187 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9188
9189 fi;
9190
9191 eval "$ac_cv_use_dirdlg"
9192 if test "$no_cache" != 1; then
9193 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9194 fi
9195
9196 if test "$wxUSE_DIRDLG" = yes; then
9197 echo "$as_me:$LINENO: result: yes" >&5
9198 echo "${ECHO_T}yes" >&6
9199 else
9200 echo "$as_me:$LINENO: result: no" >&5
9201 echo "${ECHO_T}no" >&6
9202 fi
9203
9204
9205 enablestring=
9206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9208 no_cache=0
9209 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9210 if test "${enable_msgdlg+set}" = set; then
9211 enableval="$enable_msgdlg"
9212
9213 if test "$enableval" = yes; then
9214 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9215 else
9216 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9217 fi
9218
9219 else
9220
9221 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9222 if test "x$LINE" != x ; then
9223 eval "DEFAULT_$LINE"
9224 else
9225 no_cache=1
9226 fi
9227
9228 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9229
9230 fi;
9231
9232 eval "$ac_cv_use_msgdlg"
9233 if test "$no_cache" != 1; then
9234 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9235 fi
9236
9237 if test "$wxUSE_MSGDLG" = yes; then
9238 echo "$as_me:$LINENO: result: yes" >&5
9239 echo "${ECHO_T}yes" >&6
9240 else
9241 echo "$as_me:$LINENO: result: no" >&5
9242 echo "${ECHO_T}no" >&6
9243 fi
9244
9245
9246 enablestring=
9247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9249 no_cache=0
9250 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9251 if test "${enable_numberdlg+set}" = set; then
9252 enableval="$enable_numberdlg"
9253
9254 if test "$enableval" = yes; then
9255 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9256 else
9257 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9258 fi
9259
9260 else
9261
9262 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9263 if test "x$LINE" != x ; then
9264 eval "DEFAULT_$LINE"
9265 else
9266 no_cache=1
9267 fi
9268
9269 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9270
9271 fi;
9272
9273 eval "$ac_cv_use_numberdlg"
9274 if test "$no_cache" != 1; then
9275 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9276 fi
9277
9278 if test "$wxUSE_NUMBERDLG" = yes; then
9279 echo "$as_me:$LINENO: result: yes" >&5
9280 echo "${ECHO_T}yes" >&6
9281 else
9282 echo "$as_me:$LINENO: result: no" >&5
9283 echo "${ECHO_T}no" >&6
9284 fi
9285
9286
9287 enablestring=
9288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9289 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9290 no_cache=0
9291 # Check whether --enable-splash or --disable-splash was given.
9292 if test "${enable_splash+set}" = set; then
9293 enableval="$enable_splash"
9294
9295 if test "$enableval" = yes; then
9296 ac_cv_use_splash='wxUSE_SPLASH=yes'
9297 else
9298 ac_cv_use_splash='wxUSE_SPLASH=no'
9299 fi
9300
9301 else
9302
9303 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9304 if test "x$LINE" != x ; then
9305 eval "DEFAULT_$LINE"
9306 else
9307 no_cache=1
9308 fi
9309
9310 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9311
9312 fi;
9313
9314 eval "$ac_cv_use_splash"
9315 if test "$no_cache" != 1; then
9316 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9317 fi
9318
9319 if test "$wxUSE_SPLASH" = yes; then
9320 echo "$as_me:$LINENO: result: yes" >&5
9321 echo "${ECHO_T}yes" >&6
9322 else
9323 echo "$as_me:$LINENO: result: no" >&5
9324 echo "${ECHO_T}no" >&6
9325 fi
9326
9327
9328 enablestring=
9329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9330 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9331 no_cache=0
9332 # Check whether --enable-textdlg or --disable-textdlg was given.
9333 if test "${enable_textdlg+set}" = set; then
9334 enableval="$enable_textdlg"
9335
9336 if test "$enableval" = yes; then
9337 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9338 else
9339 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9340 fi
9341
9342 else
9343
9344 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9345 if test "x$LINE" != x ; then
9346 eval "DEFAULT_$LINE"
9347 else
9348 no_cache=1
9349 fi
9350
9351 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9352
9353 fi;
9354
9355 eval "$ac_cv_use_textdlg"
9356 if test "$no_cache" != 1; then
9357 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9358 fi
9359
9360 if test "$wxUSE_TEXTDLG" = yes; then
9361 echo "$as_me:$LINENO: result: yes" >&5
9362 echo "${ECHO_T}yes" >&6
9363 else
9364 echo "$as_me:$LINENO: result: no" >&5
9365 echo "${ECHO_T}no" >&6
9366 fi
9367
9368
9369 enablestring=
9370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9371 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9372 no_cache=0
9373 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9374 if test "${enable_tipdlg+set}" = set; then
9375 enableval="$enable_tipdlg"
9376
9377 if test "$enableval" = yes; then
9378 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9379 else
9380 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9381 fi
9382
9383 else
9384
9385 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9386 if test "x$LINE" != x ; then
9387 eval "DEFAULT_$LINE"
9388 else
9389 no_cache=1
9390 fi
9391
9392 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9393
9394 fi;
9395
9396 eval "$ac_cv_use_tipdlg"
9397 if test "$no_cache" != 1; then
9398 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9399 fi
9400
9401 if test "$wxUSE_STARTUP_TIPS" = yes; then
9402 echo "$as_me:$LINENO: result: yes" >&5
9403 echo "${ECHO_T}yes" >&6
9404 else
9405 echo "$as_me:$LINENO: result: no" >&5
9406 echo "${ECHO_T}no" >&6
9407 fi
9408
9409
9410 enablestring=
9411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9412 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9413 no_cache=0
9414 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9415 if test "${enable_progressdlg+set}" = set; then
9416 enableval="$enable_progressdlg"
9417
9418 if test "$enableval" = yes; then
9419 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9420 else
9421 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9422 fi
9423
9424 else
9425
9426 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9427 if test "x$LINE" != x ; then
9428 eval "DEFAULT_$LINE"
9429 else
9430 no_cache=1
9431 fi
9432
9433 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9434
9435 fi;
9436
9437 eval "$ac_cv_use_progressdlg"
9438 if test "$no_cache" != 1; then
9439 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9440 fi
9441
9442 if test "$wxUSE_PROGRESSDLG" = yes; then
9443 echo "$as_me:$LINENO: result: yes" >&5
9444 echo "${ECHO_T}yes" >&6
9445 else
9446 echo "$as_me:$LINENO: result: no" >&5
9447 echo "${ECHO_T}no" >&6
9448 fi
9449
9450
9451 enablestring=
9452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9453 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9454 no_cache=0
9455 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9456 if test "${enable_wizarddlg+set}" = set; then
9457 enableval="$enable_wizarddlg"
9458
9459 if test "$enableval" = yes; then
9460 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9461 else
9462 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9463 fi
9464
9465 else
9466
9467 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9468 if test "x$LINE" != x ; then
9469 eval "DEFAULT_$LINE"
9470 else
9471 no_cache=1
9472 fi
9473
9474 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9475
9476 fi;
9477
9478 eval "$ac_cv_use_wizarddlg"
9479 if test "$no_cache" != 1; then
9480 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9481 fi
9482
9483 if test "$wxUSE_WIZARDDLG" = yes; then
9484 echo "$as_me:$LINENO: result: yes" >&5
9485 echo "${ECHO_T}yes" >&6
9486 else
9487 echo "$as_me:$LINENO: result: no" >&5
9488 echo "${ECHO_T}no" >&6
9489 fi
9490
9491
9492
9493
9494 enablestring=
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9497 no_cache=0
9498 # Check whether --enable-menus or --disable-menus was given.
9499 if test "${enable_menus+set}" = set; then
9500 enableval="$enable_menus"
9501
9502 if test "$enableval" = yes; then
9503 ac_cv_use_menus='wxUSE_MENUS=yes'
9504 else
9505 ac_cv_use_menus='wxUSE_MENUS=no'
9506 fi
9507
9508 else
9509
9510 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x ; then
9512 eval "DEFAULT_$LINE"
9513 else
9514 no_cache=1
9515 fi
9516
9517 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9518
9519 fi;
9520
9521 eval "$ac_cv_use_menus"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_MENUS" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9529 else
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9532 fi
9533
9534
9535 enablestring=
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9538 no_cache=0
9539 # Check whether --enable-miniframe or --disable-miniframe was given.
9540 if test "${enable_miniframe+set}" = set; then
9541 enableval="$enable_miniframe"
9542
9543 if test "$enableval" = yes; then
9544 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9545 else
9546 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9547 fi
9548
9549 else
9550
9551 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x ; then
9553 eval "DEFAULT_$LINE"
9554 else
9555 no_cache=1
9556 fi
9557
9558 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9559
9560 fi;
9561
9562 eval "$ac_cv_use_miniframe"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_MINIFRAME" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9570 else
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9573 fi
9574
9575
9576 enablestring=
9577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9579 no_cache=0
9580 # Check whether --enable-tooltips or --disable-tooltips was given.
9581 if test "${enable_tooltips+set}" = set; then
9582 enableval="$enable_tooltips"
9583
9584 if test "$enableval" = yes; then
9585 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9586 else
9587 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9588 fi
9589
9590 else
9591
9592 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9593 if test "x$LINE" != x ; then
9594 eval "DEFAULT_$LINE"
9595 else
9596 no_cache=1
9597 fi
9598
9599 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9600
9601 fi;
9602
9603 eval "$ac_cv_use_tooltips"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9606 fi
9607
9608 if test "$wxUSE_TOOLTIPS" = yes; then
9609 echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6
9611 else
9612 echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6
9614 fi
9615
9616
9617 enablestring=
9618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9620 no_cache=0
9621 # Check whether --enable-splines or --disable-splines was given.
9622 if test "${enable_splines+set}" = set; then
9623 enableval="$enable_splines"
9624
9625 if test "$enableval" = yes; then
9626 ac_cv_use_splines='wxUSE_SPLINES=yes'
9627 else
9628 ac_cv_use_splines='wxUSE_SPLINES=no'
9629 fi
9630
9631 else
9632
9633 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9634 if test "x$LINE" != x ; then
9635 eval "DEFAULT_$LINE"
9636 else
9637 no_cache=1
9638 fi
9639
9640 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9641
9642 fi;
9643
9644 eval "$ac_cv_use_splines"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9647 fi
9648
9649 if test "$wxUSE_SPLINES" = yes; then
9650 echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6
9652 else
9653 echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6
9655 fi
9656
9657
9658 enablestring=
9659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9661 no_cache=0
9662 # Check whether --enable-validators or --disable-validators was given.
9663 if test "${enable_validators+set}" = set; then
9664 enableval="$enable_validators"
9665
9666 if test "$enableval" = yes; then
9667 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9668 else
9669 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9670 fi
9671
9672 else
9673
9674 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9675 if test "x$LINE" != x ; then
9676 eval "DEFAULT_$LINE"
9677 else
9678 no_cache=1
9679 fi
9680
9681 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9682
9683 fi;
9684
9685 eval "$ac_cv_use_validators"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test "$wxUSE_VALIDATORS" = yes; then
9691 echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6
9693 else
9694 echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6
9696 fi
9697
9698
9699 enablestring=
9700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9702 no_cache=0
9703 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9704 if test "${enable_busyinfo+set}" = set; then
9705 enableval="$enable_busyinfo"
9706
9707 if test "$enableval" = yes; then
9708 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9709 else
9710 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9711 fi
9712
9713 else
9714
9715 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9716 if test "x$LINE" != x ; then
9717 eval "DEFAULT_$LINE"
9718 else
9719 no_cache=1
9720 fi
9721
9722 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9723
9724 fi;
9725
9726 eval "$ac_cv_use_busyinfo"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9729 fi
9730
9731 if test "$wxUSE_BUSYINFO" = yes; then
9732 echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6
9734 else
9735 echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6
9737 fi
9738
9739
9740 enablestring=
9741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9743 no_cache=0
9744 # Check whether --enable-joystick or --disable-joystick was given.
9745 if test "${enable_joystick+set}" = set; then
9746 enableval="$enable_joystick"
9747
9748 if test "$enableval" = yes; then
9749 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9750 else
9751 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9752 fi
9753
9754 else
9755
9756 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9757 if test "x$LINE" != x ; then
9758 eval "DEFAULT_$LINE"
9759 else
9760 no_cache=1
9761 fi
9762
9763 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9764
9765 fi;
9766
9767 eval "$ac_cv_use_joystick"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9770 fi
9771
9772 if test "$wxUSE_JOYSTICK" = yes; then
9773 echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6
9775 else
9776 echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6
9778 fi
9779
9780
9781 enablestring=
9782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9784 no_cache=0
9785 # Check whether --enable-metafile or --disable-metafile was given.
9786 if test "${enable_metafile+set}" = set; then
9787 enableval="$enable_metafile"
9788
9789 if test "$enableval" = yes; then
9790 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9791 else
9792 ac_cv_use_metafile='wxUSE_METAFILE=no'
9793 fi
9794
9795 else
9796
9797 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9798 if test "x$LINE" != x ; then
9799 eval "DEFAULT_$LINE"
9800 else
9801 no_cache=1
9802 fi
9803
9804 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9805
9806 fi;
9807
9808 eval "$ac_cv_use_metafile"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test "$wxUSE_METAFILE" = yes; then
9814 echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6
9816 else
9817 echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6
9819 fi
9820
9821
9822 enablestring=
9823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9825 no_cache=0
9826 # Check whether --enable-dragimage or --disable-dragimage was given.
9827 if test "${enable_dragimage+set}" = set; then
9828 enableval="$enable_dragimage"
9829
9830 if test "$enableval" = yes; then
9831 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9832 else
9833 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9834 fi
9835
9836 else
9837
9838 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9839 if test "x$LINE" != x ; then
9840 eval "DEFAULT_$LINE"
9841 else
9842 no_cache=1
9843 fi
9844
9845 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9846
9847 fi;
9848
9849 eval "$ac_cv_use_dragimage"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9852 fi
9853
9854 if test "$wxUSE_DRAGIMAGE" = yes; then
9855 echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6
9857 else
9858 echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6
9860 fi
9861
9862
9863 enablestring=
9864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9866 no_cache=0
9867 # Check whether --enable-accessibility or --disable-accessibility was given.
9868 if test "${enable_accessibility+set}" = set; then
9869 enableval="$enable_accessibility"
9870
9871 if test "$enableval" = yes; then
9872 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9873 else
9874 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9875 fi
9876
9877 else
9878
9879 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9880 if test "x$LINE" != x ; then
9881 eval "DEFAULT_$LINE"
9882 else
9883 no_cache=1
9884 fi
9885
9886 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9887
9888 fi;
9889
9890 eval "$ac_cv_use_accessibility"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9893 fi
9894
9895 if test "$wxUSE_ACCESSIBILITY" = yes; then
9896 echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6
9898 else
9899 echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6
9901 fi
9902
9903
9904
9905
9906 enablestring=
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9909 no_cache=0
9910 # Check whether --enable-palette or --disable-palette was given.
9911 if test "${enable_palette+set}" = set; then
9912 enableval="$enable_palette"
9913
9914 if test "$enableval" = yes; then
9915 ac_cv_use_palette='wxUSE_PALETTE=yes'
9916 else
9917 ac_cv_use_palette='wxUSE_PALETTE=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9930
9931 fi;
9932
9933 eval "$ac_cv_use_palette"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9936 fi
9937
9938 if test "$wxUSE_PALETTE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9941 else
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9944 fi
9945
9946
9947 enablestring=
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9950 no_cache=0
9951 # Check whether --enable-image or --disable-image was given.
9952 if test "${enable_image+set}" = set; then
9953 enableval="$enable_image"
9954
9955 if test "$enableval" = yes; then
9956 ac_cv_use_image='wxUSE_IMAGE=yes'
9957 else
9958 ac_cv_use_image='wxUSE_IMAGE=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9971
9972 fi;
9973
9974 eval "$ac_cv_use_image"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9977 fi
9978
9979 if test "$wxUSE_IMAGE" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9982 else
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9985 fi
9986
9987
9988 enablestring=
9989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9991 no_cache=0
9992 # Check whether --enable-gif or --disable-gif was given.
9993 if test "${enable_gif+set}" = set; then
9994 enableval="$enable_gif"
9995
9996 if test "$enableval" = yes; then
9997 ac_cv_use_gif='wxUSE_GIF=yes'
9998 else
9999 ac_cv_use_gif='wxUSE_GIF=no'
10000 fi
10001
10002 else
10003
10004 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10007 else
10008 no_cache=1
10009 fi
10010
10011 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10012
10013 fi;
10014
10015 eval "$ac_cv_use_gif"
10016 if test "$no_cache" != 1; then
10017 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10018 fi
10019
10020 if test "$wxUSE_GIF" = yes; then
10021 echo "$as_me:$LINENO: result: yes" >&5
10022 echo "${ECHO_T}yes" >&6
10023 else
10024 echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6
10026 fi
10027
10028
10029 enablestring=
10030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10031 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10032 no_cache=0
10033 # Check whether --enable-pcx or --disable-pcx was given.
10034 if test "${enable_pcx+set}" = set; then
10035 enableval="$enable_pcx"
10036
10037 if test "$enableval" = yes; then
10038 ac_cv_use_pcx='wxUSE_PCX=yes'
10039 else
10040 ac_cv_use_pcx='wxUSE_PCX=no'
10041 fi
10042
10043 else
10044
10045 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10048 else
10049 no_cache=1
10050 fi
10051
10052 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10053
10054 fi;
10055
10056 eval "$ac_cv_use_pcx"
10057 if test "$no_cache" != 1; then
10058 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10059 fi
10060
10061 if test "$wxUSE_PCX" = yes; then
10062 echo "$as_me:$LINENO: result: yes" >&5
10063 echo "${ECHO_T}yes" >&6
10064 else
10065 echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6
10067 fi
10068
10069
10070 enablestring=
10071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10073 no_cache=0
10074 # Check whether --enable-iff or --disable-iff was given.
10075 if test "${enable_iff+set}" = set; then
10076 enableval="$enable_iff"
10077
10078 if test "$enableval" = yes; then
10079 ac_cv_use_iff='wxUSE_IFF=yes'
10080 else
10081 ac_cv_use_iff='wxUSE_IFF=no'
10082 fi
10083
10084 else
10085
10086 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 else
10090 no_cache=1
10091 fi
10092
10093 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10094
10095 fi;
10096
10097 eval "$ac_cv_use_iff"
10098 if test "$no_cache" != 1; then
10099 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10100 fi
10101
10102 if test "$wxUSE_IFF" = yes; then
10103 echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6
10105 else
10106 echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10108 fi
10109
10110
10111 enablestring=
10112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10114 no_cache=0
10115 # Check whether --enable-pnm or --disable-pnm was given.
10116 if test "${enable_pnm+set}" = set; then
10117 enableval="$enable_pnm"
10118
10119 if test "$enableval" = yes; then
10120 ac_cv_use_pnm='wxUSE_PNM=yes'
10121 else
10122 ac_cv_use_pnm='wxUSE_PNM=no'
10123 fi
10124
10125 else
10126
10127 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10130 else
10131 no_cache=1
10132 fi
10133
10134 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10135
10136 fi;
10137
10138 eval "$ac_cv_use_pnm"
10139 if test "$no_cache" != 1; then
10140 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10141 fi
10142
10143 if test "$wxUSE_PNM" = yes; then
10144 echo "$as_me:$LINENO: result: yes" >&5
10145 echo "${ECHO_T}yes" >&6
10146 else
10147 echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6
10149 fi
10150
10151
10152 enablestring=
10153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10155 no_cache=0
10156 # Check whether --enable-xpm or --disable-xpm was given.
10157 if test "${enable_xpm+set}" = set; then
10158 enableval="$enable_xpm"
10159
10160 if test "$enableval" = yes; then
10161 ac_cv_use_xpm='wxUSE_XPM=yes'
10162 else
10163 ac_cv_use_xpm='wxUSE_XPM=no'
10164 fi
10165
10166 else
10167
10168 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 else
10172 no_cache=1
10173 fi
10174
10175 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10176
10177 fi;
10178
10179 eval "$ac_cv_use_xpm"
10180 if test "$no_cache" != 1; then
10181 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10182 fi
10183
10184 if test "$wxUSE_XPM" = yes; then
10185 echo "$as_me:$LINENO: result: yes" >&5
10186 echo "${ECHO_T}yes" >&6
10187 else
10188 echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6
10190 fi
10191
10192
10193 enablestring=
10194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10196 no_cache=0
10197 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10198 if test "${enable_ico_cur+set}" = set; then
10199 enableval="$enable_ico_cur"
10200
10201 if test "$enableval" = yes; then
10202 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10203 else
10204 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10205 fi
10206
10207 else
10208
10209 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10212 else
10213 no_cache=1
10214 fi
10215
10216 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10217
10218 fi;
10219
10220 eval "$ac_cv_use_ico_cur"
10221 if test "$no_cache" != 1; then
10222 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10223 fi
10224
10225 if test "$wxUSE_ICO_CUR" = yes; then
10226 echo "$as_me:$LINENO: result: yes" >&5
10227 echo "${ECHO_T}yes" >&6
10228 else
10229 echo "$as_me:$LINENO: result: no" >&5
10230 echo "${ECHO_T}no" >&6
10231 fi
10232
10233
10234 fi
10235
10236
10237
10238 # Check whether --with-flavour or --without-flavour was given.
10239 if test "${with_flavour+set}" = set; then
10240 withval="$with_flavour"
10241 WX_FLAVOUR="$withval"
10242 fi;
10243
10244
10245
10246 enablestring=
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10249 no_cache=0
10250 # Check whether --enable-official_build or --disable-official_build was given.
10251 if test "${enable_official_build+set}" = set; then
10252 enableval="$enable_official_build"
10253
10254 if test "$enableval" = yes; then
10255 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10256 else
10257 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10258 fi
10259
10260 else
10261
10262 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10265 else
10266 no_cache=1
10267 fi
10268
10269 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10270
10271 fi;
10272
10273 eval "$ac_cv_use_official_build"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10276 fi
10277
10278 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10281 else
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10284 fi
10285
10286 # Check whether --enable-vendor or --disable-vendor was given.
10287 if test "${enable_vendor+set}" = set; then
10288 enableval="$enable_vendor"
10289 VENDOR="$enableval"
10290 fi;
10291 if test "x$VENDOR" = "x"; then
10292 VENDOR="custom"
10293 fi
10294
10295
10296
10297
10298 echo "saving argument cache $wx_arg_cache_file"
10299 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10300
10301
10302
10303 echo "$as_me:$LINENO: checking for toolkit" >&5
10304 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10305
10306 # In Wine, we need to default to MSW, not GTK or MOTIF
10307 if test "$wxUSE_WINE" = "yes"; then
10308 DEFAULT_DEFAULT_wxUSE_GTK=0
10309 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10310 DEFAULT_DEFAULT_wxUSE_MSW=1
10311 wxUSE_SHARED=no
10312 fi
10313
10314 if test "$wxUSE_GUI" = "yes"; then
10315
10316 if test "$USE_BEOS" = 1; then
10317 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10318 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10319 { (exit 1); exit 1; }; }
10320 fi
10321
10322 if test "$TOOLKIT_GIVEN" = 1; then
10323 for toolkit in `echo $ALL_TOOLKITS`; do
10324 var=wxUSE_$toolkit
10325 eval "value=\$${var}"
10326 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10327 done
10328 else
10329 for toolkit in `echo $ALL_TOOLKITS`; do
10330 if test "$has_toolkit_in_cache" != 1; then
10331 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10332 else
10333 var=DEFAULT_wxUSE_$toolkit
10334 fi
10335 eval "wxUSE_$toolkit=\$${var}"
10336 done
10337 fi
10338
10339 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10340 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10341 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10342
10343 case "${host}" in
10344 *-pc-os2_emx | *-pc-os2-emx )
10345 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10346 esac
10347
10348 case "$NUM_TOOLKITS" in
10349 1)
10350 ;;
10351 0)
10352 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10353 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10354 { (exit 1); exit 1; }; }
10355 ;;
10356 *)
10357 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10358 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10359 { (exit 1); exit 1; }; }
10360 esac
10361
10362 for toolkit in `echo $ALL_TOOLKITS`; do
10363 var=wxUSE_$toolkit
10364 eval "value=\$${var}"
10365 if test "x$value" != x; then
10366 cache_var=CACHE_$toolkit
10367 eval "cache=\$${cache_var}"
10368 if test "$cache" = 1; then
10369 echo "$var=$value" >> ${wx_arg_cache_file}
10370 fi
10371 if test "$value" = 1; then
10372 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10373 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10374 echo "${ECHO_T}$toolkit_echo" >&6
10375 fi
10376 fi
10377 done
10378 else
10379 if test "x$host_alias" != "x"; then
10380 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10381 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10382 else
10383 echo "$as_me:$LINENO: result: base only" >&5
10384 echo "${ECHO_T}base only" >&6
10385 fi
10386 fi
10387
10388 wants_win32=0
10389 doesnt_want_win32=0
10390 case "${host}" in
10391 *-*-cygwin*)
10392 if test "$wxUSE_MSW" = 1 ; then
10393 wants_win32=1
10394 else
10395 doesnt_want_win32=1
10396 fi
10397 ;;
10398 *-*-mingw*)
10399 wants_win32=1
10400 ;;
10401 esac
10402
10403 if test "$wxUSE_WINE" = "yes"; then
10404 wants_win32=1
10405 CC=winegcc
10406 CXX=wineg++
10407 RESCOMP=wrc
10408 LDFLAGS_GUI="-mwindows"
10409 fi
10410
10411 if test "$wants_win32" = 1 ; then
10412 USE_UNIX=0
10413 USE_WIN32=1
10414 cat >>confdefs.h <<\_ACEOF
10415 #define __WIN32__ 1
10416 _ACEOF
10417
10418 cat >>confdefs.h <<\_ACEOF
10419 #define __WIN95__ 1
10420 _ACEOF
10421
10422 cat >>confdefs.h <<\_ACEOF
10423 #define __WINDOWS__ 1
10424 _ACEOF
10425
10426 cat >>confdefs.h <<\_ACEOF
10427 #define __GNUWIN32__ 1
10428 _ACEOF
10429
10430 cat >>confdefs.h <<\_ACEOF
10431 #define STRICT 1
10432 _ACEOF
10433
10434 cat >>confdefs.h <<\_ACEOF
10435 #define WINVER 0x0400
10436 _ACEOF
10437
10438 fi
10439 if test "$doesnt_want_win32" = 1 ; then
10440 USE_UNIX=1
10441 USE_WIN32=0
10442 fi
10443
10444 if test "$USE_UNIX" = 1 ; then
10445 wxUSE_UNIX=yes
10446 cat >>confdefs.h <<\_ACEOF
10447 #define __UNIX__ 1
10448 _ACEOF
10449
10450 fi
10451
10452
10453 cat >confcache <<\_ACEOF
10454 # This file is a shell script that caches the results of configure
10455 # tests run on this system so they can be shared between configure
10456 # scripts and configure runs, see configure's option --config-cache.
10457 # It is not useful on other systems. If it contains results you don't
10458 # want to keep, you may remove or edit it.
10459 #
10460 # config.status only pays attention to the cache file if you give it
10461 # the --recheck option to rerun configure.
10462 #
10463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10465 # following values.
10466
10467 _ACEOF
10468
10469 # The following way of writing the cache mishandles newlines in values,
10470 # but we know of no workaround that is simple, portable, and efficient.
10471 # So, don't put newlines in cache variables' values.
10472 # Ultrix sh set writes to stderr and can't be redirected directly,
10473 # and sets the high bit in the cache file unless we assign to the vars.
10474 {
10475 (set) 2>&1 |
10476 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10477 *ac_space=\ *)
10478 # `set' does not quote correctly, so add quotes (double-quote
10479 # substitution turns \\\\ into \\, and sed turns \\ into \).
10480 sed -n \
10481 "s/'/'\\\\''/g;
10482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10483 ;;
10484 *)
10485 # `set' quotes correctly as required by POSIX, so do not add quotes.
10486 sed -n \
10487 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10488 ;;
10489 esac;
10490 } |
10491 sed '
10492 t clear
10493 : clear
10494 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10495 t end
10496 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10497 : end' >>confcache
10498 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10499 if test -w $cache_file; then
10500 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10501 cat confcache >$cache_file
10502 else
10503 echo "not updating unwritable cache $cache_file"
10504 fi
10505 fi
10506 rm -f confcache
10507
10508 if test "$build" != "$host" ; then
10509 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10510 CC=$host_alias-gcc
10511 CXX=$host_alias-c++
10512 AR=$host_alias-ar
10513 RANLIB=$host_alias-ranlib
10514 DLLTOOL=$host_alias-dlltool
10515 RESCOMP=$host_alias-windres
10516 STRIP=$host_alias-strip
10517 elif test "x$CC" '!=' "x"; then
10518 echo "You set CC, I assume you know what you are doing."
10519 else
10520 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10521 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10522 { (exit 1); exit 1; }; }
10523 fi
10524 fi
10525
10526 CFLAGS=${CFLAGS:=}
10527 ac_ext=c
10528 ac_cpp='$CPP $CPPFLAGS'
10529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10532 if test -n "$ac_tool_prefix"; then
10533 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10534 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10535 echo "$as_me:$LINENO: checking for $ac_word" >&5
10536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10537 if test "${ac_cv_prog_CC+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 else
10540 if test -n "$CC"; then
10541 ac_cv_prog_CC="$CC" # Let the user override the test.
10542 else
10543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10544 for as_dir in $PATH
10545 do
10546 IFS=$as_save_IFS
10547 test -z "$as_dir" && as_dir=.
10548 for ac_exec_ext in '' $ac_executable_extensions; do
10549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10552 break 2
10553 fi
10554 done
10555 done
10556
10557 fi
10558 fi
10559 CC=$ac_cv_prog_CC
10560 if test -n "$CC"; then
10561 echo "$as_me:$LINENO: result: $CC" >&5
10562 echo "${ECHO_T}$CC" >&6
10563 else
10564 echo "$as_me:$LINENO: result: no" >&5
10565 echo "${ECHO_T}no" >&6
10566 fi
10567
10568 fi
10569 if test -z "$ac_cv_prog_CC"; then
10570 ac_ct_CC=$CC
10571 # Extract the first word of "gcc", so it can be a program name with args.
10572 set dummy gcc; ac_word=$2
10573 echo "$as_me:$LINENO: checking for $ac_word" >&5
10574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 else
10578 if test -n "$ac_ct_CC"; then
10579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10580 else
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $PATH
10583 do
10584 IFS=$as_save_IFS
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_prog_ac_ct_CC="gcc"
10589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10590 break 2
10591 fi
10592 done
10593 done
10594
10595 fi
10596 fi
10597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10598 if test -n "$ac_ct_CC"; then
10599 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10600 echo "${ECHO_T}$ac_ct_CC" >&6
10601 else
10602 echo "$as_me:$LINENO: result: no" >&5
10603 echo "${ECHO_T}no" >&6
10604 fi
10605
10606 CC=$ac_ct_CC
10607 else
10608 CC="$ac_cv_prog_CC"
10609 fi
10610
10611 if test -z "$CC"; then
10612 if test -n "$ac_tool_prefix"; then
10613 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10614 set dummy ${ac_tool_prefix}cc; ac_word=$2
10615 echo "$as_me:$LINENO: checking for $ac_word" >&5
10616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10617 if test "${ac_cv_prog_CC+set}" = set; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 else
10620 if test -n "$CC"; then
10621 ac_cv_prog_CC="$CC" # Let the user override the test.
10622 else
10623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10624 for as_dir in $PATH
10625 do
10626 IFS=$as_save_IFS
10627 test -z "$as_dir" && as_dir=.
10628 for ac_exec_ext in '' $ac_executable_extensions; do
10629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10630 ac_cv_prog_CC="${ac_tool_prefix}cc"
10631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 break 2
10633 fi
10634 done
10635 done
10636
10637 fi
10638 fi
10639 CC=$ac_cv_prog_CC
10640 if test -n "$CC"; then
10641 echo "$as_me:$LINENO: result: $CC" >&5
10642 echo "${ECHO_T}$CC" >&6
10643 else
10644 echo "$as_me:$LINENO: result: no" >&5
10645 echo "${ECHO_T}no" >&6
10646 fi
10647
10648 fi
10649 if test -z "$ac_cv_prog_CC"; then
10650 ac_ct_CC=$CC
10651 # Extract the first word of "cc", so it can be a program name with args.
10652 set dummy cc; ac_word=$2
10653 echo "$as_me:$LINENO: checking for $ac_word" >&5
10654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 else
10658 if test -n "$ac_ct_CC"; then
10659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10660 else
10661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10662 for as_dir in $PATH
10663 do
10664 IFS=$as_save_IFS
10665 test -z "$as_dir" && as_dir=.
10666 for ac_exec_ext in '' $ac_executable_extensions; do
10667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10668 ac_cv_prog_ac_ct_CC="cc"
10669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10670 break 2
10671 fi
10672 done
10673 done
10674
10675 fi
10676 fi
10677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10678 if test -n "$ac_ct_CC"; then
10679 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10680 echo "${ECHO_T}$ac_ct_CC" >&6
10681 else
10682 echo "$as_me:$LINENO: result: no" >&5
10683 echo "${ECHO_T}no" >&6
10684 fi
10685
10686 CC=$ac_ct_CC
10687 else
10688 CC="$ac_cv_prog_CC"
10689 fi
10690
10691 fi
10692 if test -z "$CC"; then
10693 # Extract the first word of "cc", so it can be a program name with args.
10694 set dummy cc; ac_word=$2
10695 echo "$as_me:$LINENO: checking for $ac_word" >&5
10696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10697 if test "${ac_cv_prog_CC+set}" = set; then
10698 echo $ECHO_N "(cached) $ECHO_C" >&6
10699 else
10700 if test -n "$CC"; then
10701 ac_cv_prog_CC="$CC" # Let the user override the test.
10702 else
10703 ac_prog_rejected=no
10704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10705 for as_dir in $PATH
10706 do
10707 IFS=$as_save_IFS
10708 test -z "$as_dir" && as_dir=.
10709 for ac_exec_ext in '' $ac_executable_extensions; do
10710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10711 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10712 ac_prog_rejected=yes
10713 continue
10714 fi
10715 ac_cv_prog_CC="cc"
10716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10717 break 2
10718 fi
10719 done
10720 done
10721
10722 if test $ac_prog_rejected = yes; then
10723 # We found a bogon in the path, so make sure we never use it.
10724 set dummy $ac_cv_prog_CC
10725 shift
10726 if test $# != 0; then
10727 # We chose a different compiler from the bogus one.
10728 # However, it has the same basename, so the bogon will be chosen
10729 # first if we set CC to just the basename; use the full file name.
10730 shift
10731 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10732 fi
10733 fi
10734 fi
10735 fi
10736 CC=$ac_cv_prog_CC
10737 if test -n "$CC"; then
10738 echo "$as_me:$LINENO: result: $CC" >&5
10739 echo "${ECHO_T}$CC" >&6
10740 else
10741 echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6
10743 fi
10744
10745 fi
10746 if test -z "$CC"; then
10747 if test -n "$ac_tool_prefix"; then
10748 for ac_prog in cl
10749 do
10750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10752 echo "$as_me:$LINENO: checking for $ac_word" >&5
10753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10754 if test "${ac_cv_prog_CC+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 else
10757 if test -n "$CC"; then
10758 ac_cv_prog_CC="$CC" # Let the user override the test.
10759 else
10760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10761 for as_dir in $PATH
10762 do
10763 IFS=$as_save_IFS
10764 test -z "$as_dir" && as_dir=.
10765 for ac_exec_ext in '' $ac_executable_extensions; do
10766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10769 break 2
10770 fi
10771 done
10772 done
10773
10774 fi
10775 fi
10776 CC=$ac_cv_prog_CC
10777 if test -n "$CC"; then
10778 echo "$as_me:$LINENO: result: $CC" >&5
10779 echo "${ECHO_T}$CC" >&6
10780 else
10781 echo "$as_me:$LINENO: result: no" >&5
10782 echo "${ECHO_T}no" >&6
10783 fi
10784
10785 test -n "$CC" && break
10786 done
10787 fi
10788 if test -z "$CC"; then
10789 ac_ct_CC=$CC
10790 for ac_prog in cl
10791 do
10792 # Extract the first word of "$ac_prog", so it can be a program name with args.
10793 set dummy $ac_prog; ac_word=$2
10794 echo "$as_me:$LINENO: checking for $ac_word" >&5
10795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 else
10799 if test -n "$ac_ct_CC"; then
10800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10801 else
10802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10803 for as_dir in $PATH
10804 do
10805 IFS=$as_save_IFS
10806 test -z "$as_dir" && as_dir=.
10807 for ac_exec_ext in '' $ac_executable_extensions; do
10808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10809 ac_cv_prog_ac_ct_CC="$ac_prog"
10810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10811 break 2
10812 fi
10813 done
10814 done
10815
10816 fi
10817 fi
10818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10819 if test -n "$ac_ct_CC"; then
10820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10821 echo "${ECHO_T}$ac_ct_CC" >&6
10822 else
10823 echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6
10825 fi
10826
10827 test -n "$ac_ct_CC" && break
10828 done
10829
10830 CC=$ac_ct_CC
10831 fi
10832
10833 fi
10834
10835
10836 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10837 See \`config.log' for more details." >&5
10838 echo "$as_me: error: no acceptable C compiler found in \$PATH
10839 See \`config.log' for more details." >&2;}
10840 { (exit 1); exit 1; }; }
10841
10842 # Provide some information about the compiler.
10843 echo "$as_me:$LINENO:" \
10844 "checking for C compiler version" >&5
10845 ac_compiler=`set X $ac_compile; echo $2`
10846 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10847 (eval $ac_compiler --version </dev/null >&5) 2>&5
10848 ac_status=$?
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }
10851 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10852 (eval $ac_compiler -v </dev/null >&5) 2>&5
10853 ac_status=$?
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }
10856 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10857 (eval $ac_compiler -V </dev/null >&5) 2>&5
10858 ac_status=$?
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }
10861
10862 cat >conftest.$ac_ext <<_ACEOF
10863 /* confdefs.h. */
10864 _ACEOF
10865 cat confdefs.h >>conftest.$ac_ext
10866 cat >>conftest.$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10868
10869 int
10870 main ()
10871 {
10872
10873 ;
10874 return 0;
10875 }
10876 _ACEOF
10877 ac_clean_files_save=$ac_clean_files
10878 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10879 # Try to create an executable without -o first, disregard a.out.
10880 # It will help us diagnose broken compilers, and finding out an intuition
10881 # of exeext.
10882 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10883 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10884 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10885 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10886 (eval $ac_link_default) 2>&5
10887 ac_status=$?
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; then
10890 # Find the output, starting from the most likely. This scheme is
10891 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10892 # resort.
10893
10894 # Be careful to initialize this variable, since it used to be cached.
10895 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10896 ac_cv_exeext=
10897 # b.out is created by i960 compilers.
10898 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10899 do
10900 test -f "$ac_file" || continue
10901 case $ac_file in
10902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10903 ;;
10904 conftest.$ac_ext )
10905 # This is the source file.
10906 ;;
10907 [ab].out )
10908 # We found the default executable, but exeext='' is most
10909 # certainly right.
10910 break;;
10911 *.* )
10912 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10913 # FIXME: I believe we export ac_cv_exeext for Libtool,
10914 # but it would be cool to find out if it's true. Does anybody
10915 # maintain Libtool? --akim.
10916 export ac_cv_exeext
10917 break;;
10918 * )
10919 break;;
10920 esac
10921 done
10922 else
10923 echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.$ac_ext >&5
10925
10926 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10927 See \`config.log' for more details." >&5
10928 echo "$as_me: error: C compiler cannot create executables
10929 See \`config.log' for more details." >&2;}
10930 { (exit 77); exit 77; }; }
10931 fi
10932
10933 ac_exeext=$ac_cv_exeext
10934 echo "$as_me:$LINENO: result: $ac_file" >&5
10935 echo "${ECHO_T}$ac_file" >&6
10936
10937 # Check the compiler produces executables we can run. If not, either
10938 # the compiler is broken, or we cross compile.
10939 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10940 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10941 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10942 # If not cross compiling, check that we can run a simple program.
10943 if test "$cross_compiling" != yes; then
10944 if { ac_try='./$ac_file'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10947 ac_status=$?
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; }; then
10950 cross_compiling=no
10951 else
10952 if test "$cross_compiling" = maybe; then
10953 cross_compiling=yes
10954 else
10955 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10956 If you meant to cross compile, use \`--host'.
10957 See \`config.log' for more details." >&5
10958 echo "$as_me: error: cannot run C compiled programs.
10959 If you meant to cross compile, use \`--host'.
10960 See \`config.log' for more details." >&2;}
10961 { (exit 1); exit 1; }; }
10962 fi
10963 fi
10964 fi
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10967
10968 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10969 ac_clean_files=$ac_clean_files_save
10970 # Check the compiler produces executables we can run. If not, either
10971 # the compiler is broken, or we cross compile.
10972 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10973 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10974 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10975 echo "${ECHO_T}$cross_compiling" >&6
10976
10977 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10978 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10980 (eval $ac_link) 2>&5
10981 ac_status=$?
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); }; then
10984 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10985 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10986 # work properly (i.e., refer to `conftest.exe'), while it won't with
10987 # `rm'.
10988 for ac_file in conftest.exe conftest conftest.*; do
10989 test -f "$ac_file" || continue
10990 case $ac_file in
10991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10992 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10993 export ac_cv_exeext
10994 break;;
10995 * ) break;;
10996 esac
10997 done
10998 else
10999 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11000 See \`config.log' for more details." >&5
11001 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11002 See \`config.log' for more details." >&2;}
11003 { (exit 1); exit 1; }; }
11004 fi
11005
11006 rm -f conftest$ac_cv_exeext
11007 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11008 echo "${ECHO_T}$ac_cv_exeext" >&6
11009
11010 rm -f conftest.$ac_ext
11011 EXEEXT=$ac_cv_exeext
11012 ac_exeext=$EXEEXT
11013 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11014 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11015 if test "${ac_cv_objext+set}" = set; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11017 else
11018 cat >conftest.$ac_ext <<_ACEOF
11019 /* confdefs.h. */
11020 _ACEOF
11021 cat confdefs.h >>conftest.$ac_ext
11022 cat >>conftest.$ac_ext <<_ACEOF
11023 /* end confdefs.h. */
11024
11025 int
11026 main ()
11027 {
11028
11029 ;
11030 return 0;
11031 }
11032 _ACEOF
11033 rm -f conftest.o conftest.obj
11034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11035 (eval $ac_compile) 2>&5
11036 ac_status=$?
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; then
11039 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11040 case $ac_file in
11041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11042 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11043 break;;
11044 esac
11045 done
11046 else
11047 echo "$as_me: failed program was:" >&5
11048 sed 's/^/| /' conftest.$ac_ext >&5
11049
11050 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11051 See \`config.log' for more details." >&5
11052 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11053 See \`config.log' for more details." >&2;}
11054 { (exit 1); exit 1; }; }
11055 fi
11056
11057 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11058 fi
11059 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11060 echo "${ECHO_T}$ac_cv_objext" >&6
11061 OBJEXT=$ac_cv_objext
11062 ac_objext=$OBJEXT
11063 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11064 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11065 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11066 echo $ECHO_N "(cached) $ECHO_C" >&6
11067 else
11068 cat >conftest.$ac_ext <<_ACEOF
11069 /* confdefs.h. */
11070 _ACEOF
11071 cat confdefs.h >>conftest.$ac_ext
11072 cat >>conftest.$ac_ext <<_ACEOF
11073 /* end confdefs.h. */
11074
11075 int
11076 main ()
11077 {
11078 #ifndef __GNUC__
11079 choke me
11080 #endif
11081
11082 ;
11083 return 0;
11084 }
11085 _ACEOF
11086 rm -f conftest.$ac_objext
11087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11088 (eval $ac_compile) 2>conftest.er1
11089 ac_status=$?
11090 grep -v '^ *+' conftest.er1 >conftest.err
11091 rm -f conftest.er1
11092 cat conftest.err >&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); } &&
11095 { ac_try='test -z "$ac_c_werror_flag"
11096 || test ! -s conftest.err'
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11098 (eval $ac_try) 2>&5
11099 ac_status=$?
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; } &&
11102 { ac_try='test -s conftest.$ac_objext'
11103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104 (eval $ac_try) 2>&5
11105 ac_status=$?
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; }; then
11108 ac_compiler_gnu=yes
11109 else
11110 echo "$as_me: failed program was:" >&5
11111 sed 's/^/| /' conftest.$ac_ext >&5
11112
11113 ac_compiler_gnu=no
11114 fi
11115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11116 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11117
11118 fi
11119 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11120 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11121 GCC=`test $ac_compiler_gnu = yes && echo yes`
11122 ac_test_CFLAGS=${CFLAGS+set}
11123 ac_save_CFLAGS=$CFLAGS
11124 CFLAGS="-g"
11125 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11126 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11127 if test "${ac_cv_prog_cc_g+set}" = set; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11129 else
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
11137 int
11138 main ()
11139 {
11140
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"
11155 || test ! -s conftest.err'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11158 ac_status=$?
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; } &&
11161 { ac_try='test -s conftest.$ac_objext'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11164 ac_status=$?
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; }; then
11167 ac_cv_prog_cc_g=yes
11168 else
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.$ac_ext >&5
11171
11172 ac_cv_prog_cc_g=no
11173 fi
11174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11175 fi
11176 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11177 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11178 if test "$ac_test_CFLAGS" = set; then
11179 CFLAGS=$ac_save_CFLAGS
11180 elif test $ac_cv_prog_cc_g = yes; then
11181 if test "$GCC" = yes; then
11182 CFLAGS="-g -O2"
11183 else
11184 CFLAGS="-g"
11185 fi
11186 else
11187 if test "$GCC" = yes; then
11188 CFLAGS="-O2"
11189 else
11190 CFLAGS=
11191 fi
11192 fi
11193 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11194 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11195 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 else
11198 ac_cv_prog_cc_stdc=no
11199 ac_save_CC=$CC
11200 cat >conftest.$ac_ext <<_ACEOF
11201 /* confdefs.h. */
11202 _ACEOF
11203 cat confdefs.h >>conftest.$ac_ext
11204 cat >>conftest.$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 #include <stdarg.h>
11207 #include <stdio.h>
11208 #include <sys/types.h>
11209 #include <sys/stat.h>
11210 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11211 struct buf { int x; };
11212 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11213 static char *e (p, i)
11214 char **p;
11215 int i;
11216 {
11217 return p[i];
11218 }
11219 static char *f (char * (*g) (char **, int), char **p, ...)
11220 {
11221 char *s;
11222 va_list v;
11223 va_start (v,p);
11224 s = g (p, va_arg (v,int));
11225 va_end (v);
11226 return s;
11227 }
11228
11229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11230 function prototypes and stuff, but not '\xHH' hex character constants.
11231 These don't provoke an error unfortunately, instead are silently treated
11232 as 'x'. The following induces an error, until -std1 is added to get
11233 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11234 array size at least. It's necessary to write '\x00'==0 to get something
11235 that's true only with -std1. */
11236 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11237
11238 int test (int i, double x);
11239 struct s1 {int (*f) (int a);};
11240 struct s2 {int (*f) (double a);};
11241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11242 int argc;
11243 char **argv;
11244 int
11245 main ()
11246 {
11247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11248 ;
11249 return 0;
11250 }
11251 _ACEOF
11252 # Don't try gcc -ansi; that turns off useful extensions and
11253 # breaks some systems' header files.
11254 # AIX -qlanglvl=ansi
11255 # Ultrix and OSF/1 -std1
11256 # HP-UX 10.20 and later -Ae
11257 # HP-UX older versions -Aa -D_HPUX_SOURCE
11258 # SVR4 -Xc -D__EXTENSIONS__
11259 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11260 do
11261 CC="$ac_save_CC $ac_arg"
11262 rm -f conftest.$ac_objext
11263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11264 (eval $ac_compile) 2>conftest.er1
11265 ac_status=$?
11266 grep -v '^ *+' conftest.er1 >conftest.err
11267 rm -f conftest.er1
11268 cat conftest.err >&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); } &&
11271 { ac_try='test -z "$ac_c_werror_flag"
11272 || test ! -s conftest.err'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11275 ac_status=$?
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; } &&
11278 { ac_try='test -s conftest.$ac_objext'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; }; then
11284 ac_cv_prog_cc_stdc=$ac_arg
11285 break
11286 else
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11289
11290 fi
11291 rm -f conftest.err conftest.$ac_objext
11292 done
11293 rm -f conftest.$ac_ext conftest.$ac_objext
11294 CC=$ac_save_CC
11295
11296 fi
11297
11298 case "x$ac_cv_prog_cc_stdc" in
11299 x|xno)
11300 echo "$as_me:$LINENO: result: none needed" >&5
11301 echo "${ECHO_T}none needed" >&6 ;;
11302 *)
11303 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11304 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11305 CC="$CC $ac_cv_prog_cc_stdc" ;;
11306 esac
11307
11308 # Some people use a C++ compiler to compile C. Since we use `exit',
11309 # in C++ we need to declare it. In case someone uses the same compiler
11310 # for both compiling C and C++ we need to have the C++ compiler decide
11311 # the declaration of exit, since it's the most demanding environment.
11312 cat >conftest.$ac_ext <<_ACEOF
11313 #ifndef __cplusplus
11314 choke me
11315 #endif
11316 _ACEOF
11317 rm -f conftest.$ac_objext
11318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11319 (eval $ac_compile) 2>conftest.er1
11320 ac_status=$?
11321 grep -v '^ *+' conftest.er1 >conftest.err
11322 rm -f conftest.er1
11323 cat conftest.err >&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } &&
11326 { ac_try='test -z "$ac_c_werror_flag"
11327 || test ! -s conftest.err'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11330 ac_status=$?
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; } &&
11333 { ac_try='test -s conftest.$ac_objext'
11334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335 (eval $ac_try) 2>&5
11336 ac_status=$?
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); }; }; then
11339 for ac_declaration in \
11340 '' \
11341 'extern "C" void std::exit (int) throw (); using std::exit;' \
11342 'extern "C" void std::exit (int); using std::exit;' \
11343 'extern "C" void exit (int) throw ();' \
11344 'extern "C" void exit (int);' \
11345 'void exit (int);'
11346 do
11347 cat >conftest.$ac_ext <<_ACEOF
11348 /* confdefs.h. */
11349 _ACEOF
11350 cat confdefs.h >>conftest.$ac_ext
11351 cat >>conftest.$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11353 $ac_declaration
11354 #include <stdlib.h>
11355 int
11356 main ()
11357 {
11358 exit (42);
11359 ;
11360 return 0;
11361 }
11362 _ACEOF
11363 rm -f conftest.$ac_objext
11364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11365 (eval $ac_compile) 2>conftest.er1
11366 ac_status=$?
11367 grep -v '^ *+' conftest.er1 >conftest.err
11368 rm -f conftest.er1
11369 cat conftest.err >&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); } &&
11372 { ac_try='test -z "$ac_c_werror_flag"
11373 || test ! -s conftest.err'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11376 ac_status=$?
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; } &&
11379 { ac_try='test -s conftest.$ac_objext'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11382 ac_status=$?
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; }; then
11385 :
11386 else
11387 echo "$as_me: failed program was:" >&5
11388 sed 's/^/| /' conftest.$ac_ext >&5
11389
11390 continue
11391 fi
11392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11393 cat >conftest.$ac_ext <<_ACEOF
11394 /* confdefs.h. */
11395 _ACEOF
11396 cat confdefs.h >>conftest.$ac_ext
11397 cat >>conftest.$ac_ext <<_ACEOF
11398 /* end confdefs.h. */
11399 $ac_declaration
11400 int
11401 main ()
11402 {
11403 exit (42);
11404 ;
11405 return 0;
11406 }
11407 _ACEOF
11408 rm -f conftest.$ac_objext
11409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11410 (eval $ac_compile) 2>conftest.er1
11411 ac_status=$?
11412 grep -v '^ *+' conftest.er1 >conftest.err
11413 rm -f conftest.er1
11414 cat conftest.err >&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); } &&
11417 { ac_try='test -z "$ac_c_werror_flag"
11418 || test ! -s conftest.err'
11419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11420 (eval $ac_try) 2>&5
11421 ac_status=$?
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); }; } &&
11424 { ac_try='test -s conftest.$ac_objext'
11425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11426 (eval $ac_try) 2>&5
11427 ac_status=$?
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); }; }; then
11430 break
11431 else
11432 echo "$as_me: failed program was:" >&5
11433 sed 's/^/| /' conftest.$ac_ext >&5
11434
11435 fi
11436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11437 done
11438 rm -f conftest*
11439 if test -n "$ac_declaration"; then
11440 echo '#ifdef __cplusplus' >>confdefs.h
11441 echo $ac_declaration >>confdefs.h
11442 echo '#endif' >>confdefs.h
11443 fi
11444
11445 else
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.$ac_ext >&5
11448
11449 fi
11450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11451 ac_ext=c
11452 ac_cpp='$CPP $CPPFLAGS'
11453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11456
11457
11458 ac_ext=c
11459 ac_cpp='$CPP $CPPFLAGS'
11460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11463
11464 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11465 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11466 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 else
11469 cat >conftest.$ac_ext <<_ACEOF
11470 /* confdefs.h. */
11471 _ACEOF
11472 cat confdefs.h >>conftest.$ac_ext
11473 cat >>conftest.$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11475
11476 int
11477 main ()
11478 {
11479 #ifndef __MWERKS__
11480 choke me
11481 #endif
11482
11483 ;
11484 return 0;
11485 }
11486 _ACEOF
11487 rm -f conftest.$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -z "$ac_c_werror_flag"
11497 || test ! -s conftest.err'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; } &&
11503 { ac_try='test -s conftest.$ac_objext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 bakefile_compiler_mwerks=yes
11510 else
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11513
11514 bakefile_compiler_mwerks=no
11515 fi
11516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11517 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11518
11519 fi
11520 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11521 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11522
11523 MWCC=`test $bakefile_compiler_mwerks = yes && echo yes`
11524 ac_ext=c
11525 ac_cpp='$CPP $CPPFLAGS'
11526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11529
11530
11531
11532 ac_ext=c
11533 ac_cpp='$CPP $CPPFLAGS'
11534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11537 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11538 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11539 # On Suns, sometimes $CPP names a directory.
11540 if test -n "$CPP" && test -d "$CPP"; then
11541 CPP=
11542 fi
11543 if test -z "$CPP"; then
11544 if test "${ac_cv_prog_CPP+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 else
11547 # Double quotes because CPP needs to be expanded
11548 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11549 do
11550 ac_preproc_ok=false
11551 for ac_c_preproc_warn_flag in '' yes
11552 do
11553 # Use a header file that comes with gcc, so configuring glibc
11554 # with a fresh cross-compiler works.
11555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11556 # <limits.h> exists even on freestanding compilers.
11557 # On the NeXT, cc -E runs the code through the compiler's parser,
11558 # not just through cpp. "Syntax error" is here to catch this case.
11559 cat >conftest.$ac_ext <<_ACEOF
11560 /* confdefs.h. */
11561 _ACEOF
11562 cat confdefs.h >>conftest.$ac_ext
11563 cat >>conftest.$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 #ifdef __STDC__
11566 # include <limits.h>
11567 #else
11568 # include <assert.h>
11569 #endif
11570 Syntax error
11571 _ACEOF
11572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11574 ac_status=$?
11575 grep -v '^ *+' conftest.er1 >conftest.err
11576 rm -f conftest.er1
11577 cat conftest.err >&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } >/dev/null; then
11580 if test -s conftest.err; then
11581 ac_cpp_err=$ac_c_preproc_warn_flag
11582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11583 else
11584 ac_cpp_err=
11585 fi
11586 else
11587 ac_cpp_err=yes
11588 fi
11589 if test -z "$ac_cpp_err"; then
11590 :
11591 else
11592 echo "$as_me: failed program was:" >&5
11593 sed 's/^/| /' conftest.$ac_ext >&5
11594
11595 # Broken: fails on valid input.
11596 continue
11597 fi
11598 rm -f conftest.err conftest.$ac_ext
11599
11600 # OK, works on sane cases. Now check whether non-existent headers
11601 # can be detected and how.
11602 cat >conftest.$ac_ext <<_ACEOF
11603 /* confdefs.h. */
11604 _ACEOF
11605 cat confdefs.h >>conftest.$ac_ext
11606 cat >>conftest.$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 #include <ac_nonexistent.h>
11609 _ACEOF
11610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11612 ac_status=$?
11613 grep -v '^ *+' conftest.er1 >conftest.err
11614 rm -f conftest.er1
11615 cat conftest.err >&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } >/dev/null; then
11618 if test -s conftest.err; then
11619 ac_cpp_err=$ac_c_preproc_warn_flag
11620 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11621 else
11622 ac_cpp_err=
11623 fi
11624 else
11625 ac_cpp_err=yes
11626 fi
11627 if test -z "$ac_cpp_err"; then
11628 # Broken: success on invalid input.
11629 continue
11630 else
11631 echo "$as_me: failed program was:" >&5
11632 sed 's/^/| /' conftest.$ac_ext >&5
11633
11634 # Passes both tests.
11635 ac_preproc_ok=:
11636 break
11637 fi
11638 rm -f conftest.err conftest.$ac_ext
11639
11640 done
11641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11642 rm -f conftest.err conftest.$ac_ext
11643 if $ac_preproc_ok; then
11644 break
11645 fi
11646
11647 done
11648 ac_cv_prog_CPP=$CPP
11649
11650 fi
11651 CPP=$ac_cv_prog_CPP
11652 else
11653 ac_cv_prog_CPP=$CPP
11654 fi
11655 echo "$as_me:$LINENO: result: $CPP" >&5
11656 echo "${ECHO_T}$CPP" >&6
11657 ac_preproc_ok=false
11658 for ac_c_preproc_warn_flag in '' yes
11659 do
11660 # Use a header file that comes with gcc, so configuring glibc
11661 # with a fresh cross-compiler works.
11662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11663 # <limits.h> exists even on freestanding compilers.
11664 # On the NeXT, cc -E runs the code through the compiler's parser,
11665 # not just through cpp. "Syntax error" is here to catch this case.
11666 cat >conftest.$ac_ext <<_ACEOF
11667 /* confdefs.h. */
11668 _ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 #ifdef __STDC__
11673 # include <limits.h>
11674 #else
11675 # include <assert.h>
11676 #endif
11677 Syntax error
11678 _ACEOF
11679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11681 ac_status=$?
11682 grep -v '^ *+' conftest.er1 >conftest.err
11683 rm -f conftest.er1
11684 cat conftest.err >&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); } >/dev/null; then
11687 if test -s conftest.err; then
11688 ac_cpp_err=$ac_c_preproc_warn_flag
11689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11690 else
11691 ac_cpp_err=
11692 fi
11693 else
11694 ac_cpp_err=yes
11695 fi
11696 if test -z "$ac_cpp_err"; then
11697 :
11698 else
11699 echo "$as_me: failed program was:" >&5
11700 sed 's/^/| /' conftest.$ac_ext >&5
11701
11702 # Broken: fails on valid input.
11703 continue
11704 fi
11705 rm -f conftest.err conftest.$ac_ext
11706
11707 # OK, works on sane cases. Now check whether non-existent headers
11708 # can be detected and how.
11709 cat >conftest.$ac_ext <<_ACEOF
11710 /* confdefs.h. */
11711 _ACEOF
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 #include <ac_nonexistent.h>
11716 _ACEOF
11717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11719 ac_status=$?
11720 grep -v '^ *+' conftest.er1 >conftest.err
11721 rm -f conftest.er1
11722 cat conftest.err >&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } >/dev/null; then
11725 if test -s conftest.err; then
11726 ac_cpp_err=$ac_c_preproc_warn_flag
11727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11728 else
11729 ac_cpp_err=
11730 fi
11731 else
11732 ac_cpp_err=yes
11733 fi
11734 if test -z "$ac_cpp_err"; then
11735 # Broken: success on invalid input.
11736 continue
11737 else
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11740
11741 # Passes both tests.
11742 ac_preproc_ok=:
11743 break
11744 fi
11745 rm -f conftest.err conftest.$ac_ext
11746
11747 done
11748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11749 rm -f conftest.err conftest.$ac_ext
11750 if $ac_preproc_ok; then
11751 :
11752 else
11753 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11754 See \`config.log' for more details." >&5
11755 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11756 See \`config.log' for more details." >&2;}
11757 { (exit 1); exit 1; }; }
11758 fi
11759
11760 ac_ext=c
11761 ac_cpp='$CPP $CPPFLAGS'
11762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11765
11766
11767 echo "$as_me:$LINENO: checking for egrep" >&5
11768 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11769 if test "${ac_cv_prog_egrep+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 else
11772 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11773 then ac_cv_prog_egrep='grep -E'
11774 else ac_cv_prog_egrep='egrep'
11775 fi
11776 fi
11777 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11778 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11779 EGREP=$ac_cv_prog_egrep
11780
11781
11782 if test $ac_cv_c_compiler_gnu = yes; then
11783 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11784 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11785 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11787 else
11788 ac_pattern="Autoconf.*'x'"
11789 cat >conftest.$ac_ext <<_ACEOF
11790 /* confdefs.h. */
11791 _ACEOF
11792 cat confdefs.h >>conftest.$ac_ext
11793 cat >>conftest.$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11795 #include <sgtty.h>
11796 Autoconf TIOCGETP
11797 _ACEOF
11798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11799 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11800 ac_cv_prog_gcc_traditional=yes
11801 else
11802 ac_cv_prog_gcc_traditional=no
11803 fi
11804 rm -f conftest*
11805
11806
11807 if test $ac_cv_prog_gcc_traditional = no; then
11808 cat >conftest.$ac_ext <<_ACEOF
11809 /* confdefs.h. */
11810 _ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 #include <termio.h>
11815 Autoconf TCGETA
11816 _ACEOF
11817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11818 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11819 ac_cv_prog_gcc_traditional=yes
11820 fi
11821 rm -f conftest*
11822
11823 fi
11824 fi
11825 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11826 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11827 if test $ac_cv_prog_gcc_traditional = yes; then
11828 CC="$CC -traditional"
11829 fi
11830 fi
11831
11832
11833
11834
11835 ac_ext=cc
11836 ac_cpp='$CXXCPP $CPPFLAGS'
11837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11840
11841
11842 CXXFLAGS=${CXXFLAGS:=}
11843 ac_ext=cc
11844 ac_cpp='$CXXCPP $CPPFLAGS'
11845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11848 if test -n "$ac_tool_prefix"; then
11849 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11850 do
11851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11852 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11853 echo "$as_me:$LINENO: checking for $ac_word" >&5
11854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11855 if test "${ac_cv_prog_CXX+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 else
11858 if test -n "$CXX"; then
11859 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11860 else
11861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11862 for as_dir in $PATH
11863 do
11864 IFS=$as_save_IFS
11865 test -z "$as_dir" && as_dir=.
11866 for ac_exec_ext in '' $ac_executable_extensions; do
11867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11868 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11870 break 2
11871 fi
11872 done
11873 done
11874
11875 fi
11876 fi
11877 CXX=$ac_cv_prog_CXX
11878 if test -n "$CXX"; then
11879 echo "$as_me:$LINENO: result: $CXX" >&5
11880 echo "${ECHO_T}$CXX" >&6
11881 else
11882 echo "$as_me:$LINENO: result: no" >&5
11883 echo "${ECHO_T}no" >&6
11884 fi
11885
11886 test -n "$CXX" && break
11887 done
11888 fi
11889 if test -z "$CXX"; then
11890 ac_ct_CXX=$CXX
11891 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11892 do
11893 # Extract the first word of "$ac_prog", so it can be a program name with args.
11894 set dummy $ac_prog; ac_word=$2
11895 echo "$as_me:$LINENO: checking for $ac_word" >&5
11896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11897 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 else
11900 if test -n "$ac_ct_CXX"; then
11901 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11902 else
11903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11904 for as_dir in $PATH
11905 do
11906 IFS=$as_save_IFS
11907 test -z "$as_dir" && as_dir=.
11908 for ac_exec_ext in '' $ac_executable_extensions; do
11909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11910 ac_cv_prog_ac_ct_CXX="$ac_prog"
11911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11912 break 2
11913 fi
11914 done
11915 done
11916
11917 fi
11918 fi
11919 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11920 if test -n "$ac_ct_CXX"; then
11921 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11922 echo "${ECHO_T}$ac_ct_CXX" >&6
11923 else
11924 echo "$as_me:$LINENO: result: no" >&5
11925 echo "${ECHO_T}no" >&6
11926 fi
11927
11928 test -n "$ac_ct_CXX" && break
11929 done
11930 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11931
11932 CXX=$ac_ct_CXX
11933 fi
11934
11935
11936 # Provide some information about the compiler.
11937 echo "$as_me:$LINENO:" \
11938 "checking for C++ compiler version" >&5
11939 ac_compiler=`set X $ac_compile; echo $2`
11940 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11941 (eval $ac_compiler --version </dev/null >&5) 2>&5
11942 ac_status=$?
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }
11945 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11946 (eval $ac_compiler -v </dev/null >&5) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }
11950 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11951 (eval $ac_compiler -V </dev/null >&5) 2>&5
11952 ac_status=$?
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }
11955
11956 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11957 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11958 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11960 else
11961 cat >conftest.$ac_ext <<_ACEOF
11962 /* confdefs.h. */
11963 _ACEOF
11964 cat confdefs.h >>conftest.$ac_ext
11965 cat >>conftest.$ac_ext <<_ACEOF
11966 /* end confdefs.h. */
11967
11968 int
11969 main ()
11970 {
11971 #ifndef __GNUC__
11972 choke me
11973 #endif
11974
11975 ;
11976 return 0;
11977 }
11978 _ACEOF
11979 rm -f conftest.$ac_objext
11980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11981 (eval $ac_compile) 2>conftest.er1
11982 ac_status=$?
11983 grep -v '^ *+' conftest.er1 >conftest.err
11984 rm -f conftest.er1
11985 cat conftest.err >&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } &&
11988 { ac_try='test -z "$ac_cxx_werror_flag"
11989 || test ! -s conftest.err'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try='test -s conftest.$ac_objext'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11998 ac_status=$?
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; }; then
12001 ac_compiler_gnu=yes
12002 else
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.$ac_ext >&5
12005
12006 ac_compiler_gnu=no
12007 fi
12008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12009 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12010
12011 fi
12012 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12013 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12014 GXX=`test $ac_compiler_gnu = yes && echo yes`
12015 ac_test_CXXFLAGS=${CXXFLAGS+set}
12016 ac_save_CXXFLAGS=$CXXFLAGS
12017 CXXFLAGS="-g"
12018 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12019 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12020 if test "${ac_cv_prog_cxx_g+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12022 else
12023 cat >conftest.$ac_ext <<_ACEOF
12024 /* confdefs.h. */
12025 _ACEOF
12026 cat confdefs.h >>conftest.$ac_ext
12027 cat >>conftest.$ac_ext <<_ACEOF
12028 /* end confdefs.h. */
12029
12030 int
12031 main ()
12032 {
12033
12034 ;
12035 return 0;
12036 }
12037 _ACEOF
12038 rm -f conftest.$ac_objext
12039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12040 (eval $ac_compile) 2>conftest.er1
12041 ac_status=$?
12042 grep -v '^ *+' conftest.er1 >conftest.err
12043 rm -f conftest.er1
12044 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try='test -z "$ac_cxx_werror_flag"
12048 || test ! -s conftest.err'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5
12051 ac_status=$?
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; } &&
12054 { ac_try='test -s conftest.$ac_objext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12057 ac_status=$?
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_prog_cxx_g=yes
12061 else
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12064
12065 ac_cv_prog_cxx_g=no
12066 fi
12067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12068 fi
12069 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12070 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12071 if test "$ac_test_CXXFLAGS" = set; then
12072 CXXFLAGS=$ac_save_CXXFLAGS
12073 elif test $ac_cv_prog_cxx_g = yes; then
12074 if test "$GXX" = yes; then
12075 CXXFLAGS="-g -O2"
12076 else
12077 CXXFLAGS="-g"
12078 fi
12079 else
12080 if test "$GXX" = yes; then
12081 CXXFLAGS="-O2"
12082 else
12083 CXXFLAGS=
12084 fi
12085 fi
12086 for ac_declaration in \
12087 '' \
12088 'extern "C" void std::exit (int) throw (); using std::exit;' \
12089 'extern "C" void std::exit (int); using std::exit;' \
12090 'extern "C" void exit (int) throw ();' \
12091 'extern "C" void exit (int);' \
12092 'void exit (int);'
12093 do
12094 cat >conftest.$ac_ext <<_ACEOF
12095 /* confdefs.h. */
12096 _ACEOF
12097 cat confdefs.h >>conftest.$ac_ext
12098 cat >>conftest.$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 $ac_declaration
12101 #include <stdlib.h>
12102 int
12103 main ()
12104 {
12105 exit (42);
12106 ;
12107 return 0;
12108 }
12109 _ACEOF
12110 rm -f conftest.$ac_objext
12111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12112 (eval $ac_compile) 2>conftest.er1
12113 ac_status=$?
12114 grep -v '^ *+' conftest.er1 >conftest.err
12115 rm -f conftest.er1
12116 cat conftest.err >&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } &&
12119 { ac_try='test -z "$ac_cxx_werror_flag"
12120 || test ! -s conftest.err'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12123 ac_status=$?
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; } &&
12126 { ac_try='test -s conftest.$ac_objext'
12127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128 (eval $ac_try) 2>&5
12129 ac_status=$?
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; }; then
12132 :
12133 else
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12136
12137 continue
12138 fi
12139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12140 cat >conftest.$ac_ext <<_ACEOF
12141 /* confdefs.h. */
12142 _ACEOF
12143 cat confdefs.h >>conftest.$ac_ext
12144 cat >>conftest.$ac_ext <<_ACEOF
12145 /* end confdefs.h. */
12146 $ac_declaration
12147 int
12148 main ()
12149 {
12150 exit (42);
12151 ;
12152 return 0;
12153 }
12154 _ACEOF
12155 rm -f conftest.$ac_objext
12156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12157 (eval $ac_compile) 2>conftest.er1
12158 ac_status=$?
12159 grep -v '^ *+' conftest.er1 >conftest.err
12160 rm -f conftest.er1
12161 cat conftest.err >&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); } &&
12164 { ac_try='test -z "$ac_cxx_werror_flag"
12165 || test ! -s conftest.err'
12166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12167 (eval $ac_try) 2>&5
12168 ac_status=$?
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); }; } &&
12171 { ac_try='test -s conftest.$ac_objext'
12172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12173 (eval $ac_try) 2>&5
12174 ac_status=$?
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); }; }; then
12177 break
12178 else
12179 echo "$as_me: failed program was:" >&5
12180 sed 's/^/| /' conftest.$ac_ext >&5
12181
12182 fi
12183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12184 done
12185 rm -f conftest*
12186 if test -n "$ac_declaration"; then
12187 echo '#ifdef __cplusplus' >>confdefs.h
12188 echo $ac_declaration >>confdefs.h
12189 echo '#endif' >>confdefs.h
12190 fi
12191
12192 ac_ext=cc
12193 ac_cpp='$CXXCPP $CPPFLAGS'
12194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12197
12198
12199 ac_ext=cc
12200 ac_cpp='$CXXCPP $CPPFLAGS'
12201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12204
12205 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12206 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12207 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 else
12210 cat >conftest.$ac_ext <<_ACEOF
12211 /* confdefs.h. */
12212 _ACEOF
12213 cat confdefs.h >>conftest.$ac_ext
12214 cat >>conftest.$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12216
12217 int
12218 main ()
12219 {
12220 #ifndef __MWERKS__
12221 choke me
12222 #endif
12223
12224 ;
12225 return 0;
12226 }
12227 _ACEOF
12228 rm -f conftest.$ac_objext
12229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12230 (eval $ac_compile) 2>conftest.er1
12231 ac_status=$?
12232 grep -v '^ *+' conftest.er1 >conftest.err
12233 rm -f conftest.er1
12234 cat conftest.err >&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } &&
12237 { ac_try='test -z "$ac_cxx_werror_flag"
12238 || test ! -s conftest.err'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12241 ac_status=$?
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } &&
12244 { ac_try='test -s conftest.$ac_objext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12247 ac_status=$?
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 bakefile_compiler_mwerks=yes
12251 else
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.$ac_ext >&5
12254
12255 bakefile_compiler_mwerks=no
12256 fi
12257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12258 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12259
12260 fi
12261 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12262 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12263
12264 MWCXX=`test $bakefile_compiler_mwerks = yes && echo yes`
12265 ac_ext=cc
12266 ac_cpp='$CXXCPP $CPPFLAGS'
12267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12270
12271
12272
12273 ac_ext=c
12274 ac_cpp='$CPP $CPPFLAGS'
12275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12278
12279
12280 if test -n "$ac_tool_prefix"; then
12281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12282 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12283 echo "$as_me:$LINENO: checking for $ac_word" >&5
12284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12285 if test "${ac_cv_prog_RANLIB+set}" = set; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 else
12288 if test -n "$RANLIB"; then
12289 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12290 else
12291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12292 for as_dir in $PATH
12293 do
12294 IFS=$as_save_IFS
12295 test -z "$as_dir" && as_dir=.
12296 for ac_exec_ext in '' $ac_executable_extensions; do
12297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12298 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12300 break 2
12301 fi
12302 done
12303 done
12304
12305 fi
12306 fi
12307 RANLIB=$ac_cv_prog_RANLIB
12308 if test -n "$RANLIB"; then
12309 echo "$as_me:$LINENO: result: $RANLIB" >&5
12310 echo "${ECHO_T}$RANLIB" >&6
12311 else
12312 echo "$as_me:$LINENO: result: no" >&5
12313 echo "${ECHO_T}no" >&6
12314 fi
12315
12316 fi
12317 if test -z "$ac_cv_prog_RANLIB"; then
12318 ac_ct_RANLIB=$RANLIB
12319 # Extract the first word of "ranlib", so it can be a program name with args.
12320 set dummy ranlib; ac_word=$2
12321 echo "$as_me:$LINENO: checking for $ac_word" >&5
12322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12323 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 else
12326 if test -n "$ac_ct_RANLIB"; then
12327 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12328 else
12329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12330 for as_dir in $PATH
12331 do
12332 IFS=$as_save_IFS
12333 test -z "$as_dir" && as_dir=.
12334 for ac_exec_ext in '' $ac_executable_extensions; do
12335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12336 ac_cv_prog_ac_ct_RANLIB="ranlib"
12337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12338 break 2
12339 fi
12340 done
12341 done
12342
12343 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12344 fi
12345 fi
12346 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12347 if test -n "$ac_ct_RANLIB"; then
12348 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12349 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12350 else
12351 echo "$as_me:$LINENO: result: no" >&5
12352 echo "${ECHO_T}no" >&6
12353 fi
12354
12355 RANLIB=$ac_ct_RANLIB
12356 else
12357 RANLIB="$ac_cv_prog_RANLIB"
12358 fi
12359
12360
12361 # Extract the first word of "ar", so it can be a program name with args.
12362 set dummy ar; ac_word=$2
12363 echo "$as_me:$LINENO: checking for $ac_word" >&5
12364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12365 if test "${ac_cv_prog_AR+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else
12368 if test -n "$AR"; then
12369 ac_cv_prog_AR="$AR" # Let the user override the test.
12370 else
12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $PATH
12373 do
12374 IFS=$as_save_IFS
12375 test -z "$as_dir" && as_dir=.
12376 for ac_exec_ext in '' $ac_executable_extensions; do
12377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12378 ac_cv_prog_AR="ar"
12379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12380 break 2
12381 fi
12382 done
12383 done
12384
12385 fi
12386 fi
12387 AR=$ac_cv_prog_AR
12388 if test -n "$AR"; then
12389 echo "$as_me:$LINENO: result: $AR" >&5
12390 echo "${ECHO_T}$AR" >&6
12391 else
12392 echo "$as_me:$LINENO: result: no" >&5
12393 echo "${ECHO_T}no" >&6
12394 fi
12395
12396 if test "x$AR" = "x" ; then
12397 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12398 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12399 { (exit 1); exit 1; }; }
12400 fi
12401
12402 # Find a good install program. We prefer a C program (faster),
12403 # so one script is as good as another. But avoid the broken or
12404 # incompatible versions:
12405 # SysV /etc/install, /usr/sbin/install
12406 # SunOS /usr/etc/install
12407 # IRIX /sbin/install
12408 # AIX /bin/install
12409 # AmigaOS /C/install, which installs bootblocks on floppy discs
12410 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12411 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12412 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12413 # OS/2's system install, which has a completely different semantic
12414 # ./install, which can be erroneously created by make from ./install.sh.
12415 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12416 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12417 if test -z "$INSTALL"; then
12418 if test "${ac_cv_path_install+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12420 else
12421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12422 for as_dir in $PATH
12423 do
12424 IFS=$as_save_IFS
12425 test -z "$as_dir" && as_dir=.
12426 # Account for people who put trailing slashes in PATH elements.
12427 case $as_dir/ in
12428 ./ | .// | /cC/* | \
12429 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12430 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12431 /usr/ucb/* ) ;;
12432 *)
12433 # OSF1 and SCO ODT 3.0 have their own names for install.
12434 # Don't use installbsd from OSF since it installs stuff as root
12435 # by default.
12436 for ac_prog in ginstall scoinst install; do
12437 for ac_exec_ext in '' $ac_executable_extensions; do
12438 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12439 if test $ac_prog = install &&
12440 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12441 # AIX install. It has an incompatible calling convention.
12442 :
12443 elif test $ac_prog = install &&
12444 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12445 # program-specific install script used by HP pwplus--don't use.
12446 :
12447 else
12448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12449 break 3
12450 fi
12451 fi
12452 done
12453 done
12454 ;;
12455 esac
12456 done
12457
12458
12459 fi
12460 if test "${ac_cv_path_install+set}" = set; then
12461 INSTALL=$ac_cv_path_install
12462 else
12463 # As a last resort, use the slow shell script. We don't cache a
12464 # path for INSTALL within a source directory, because that will
12465 # break other packages using the cache if that directory is
12466 # removed, or if the path is relative.
12467 INSTALL=$ac_install_sh
12468 fi
12469 fi
12470 echo "$as_me:$LINENO: result: $INSTALL" >&5
12471 echo "${ECHO_T}$INSTALL" >&6
12472
12473 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12474 # It thinks the first close brace ends the variable substitution.
12475 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12476
12477 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12478
12479 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12480
12481
12482 case ${INSTALL} in
12483 /* ) # Absolute
12484 ;;
12485 ?:* ) # Drive letter, considered as absolute.
12486 ;;
12487 *)
12488 INSTALL=`pwd`/${INSTALL} ;;
12489 esac
12490
12491
12492 case "${host}" in
12493
12494 powerpc-*-darwin* )
12495 INSTALL_PROGRAM="cp -fp"
12496 INSTALL_DATA="cp -fp"
12497 ;;
12498 *)
12499 ;;
12500 esac
12501
12502 # Extract the first word of "strip", so it can be a program name with args.
12503 set dummy strip; ac_word=$2
12504 echo "$as_me:$LINENO: checking for $ac_word" >&5
12505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12506 if test "${ac_cv_prog_STRIP+set}" = set; then
12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12508 else
12509 if test -n "$STRIP"; then
12510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12511 else
12512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12513 for as_dir in $PATH
12514 do
12515 IFS=$as_save_IFS
12516 test -z "$as_dir" && as_dir=.
12517 for ac_exec_ext in '' $ac_executable_extensions; do
12518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12519 ac_cv_prog_STRIP="strip"
12520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12521 break 2
12522 fi
12523 done
12524 done
12525
12526 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12527 fi
12528 fi
12529 STRIP=$ac_cv_prog_STRIP
12530 if test -n "$STRIP"; then
12531 echo "$as_me:$LINENO: result: $STRIP" >&5
12532 echo "${ECHO_T}$STRIP" >&6
12533 else
12534 echo "$as_me:$LINENO: result: no" >&5
12535 echo "${ECHO_T}no" >&6
12536 fi
12537
12538
12539 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12540 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12541 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 else
12544
12545 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12546 egrep -s GNU > /dev/null); then
12547 wx_cv_prog_makeisgnu="yes"
12548 else
12549 wx_cv_prog_makeisgnu="no"
12550 fi
12551
12552 fi
12553 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12554 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12555
12556 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12557 IF_GNU_MAKE=""
12558 else
12559 IF_GNU_MAKE="#"
12560 fi
12561
12562
12563
12564 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12565 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12566 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12567 if test "${wx_cv_prog_makevpath+set}" = set; then
12568 echo $ECHO_N "(cached) $ECHO_C" >&6
12569 else
12570
12571 cat - << EOF > confMake
12572 check : file
12573 cp \$? \$@
12574 cp \$? final_file
12575 EOF
12576
12577 if test ! -d sub ; then
12578 mkdir sub
12579 fi
12580 echo dummy > sub/file
12581 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12582 RESULT=$?
12583 rm -f sub/file check final_file confMake
12584 rmdir sub
12585 if test "$RESULT" = 0; then
12586 wx_cv_prog_makevpath="yes"
12587 else
12588 wx_cv_prog_makevpath="no"
12589 fi
12590
12591 fi
12592 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12593 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12594
12595 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12596 { { echo "$as_me:$LINENO: error:
12597 You need a make-utility that is able to use the variable
12598 VPATH correctly.
12599 If your version of make does not support VPATH correctly,
12600 please install GNU-make (possibly as gmake), and start
12601 configure with the following command:
12602 export MAKE=gmake; ./configure for sh-type shells
12603 setenv MAKE gmake; ./configure for csh-type shells
12604 Also please do remember to use gmake in this case every time
12605 you are trying to compile.
12606 " >&5
12607 echo "$as_me: error:
12608 You need a make-utility that is able to use the variable
12609 VPATH correctly.
12610 If your version of make does not support VPATH correctly,
12611 please install GNU-make (possibly as gmake), and start
12612 configure with the following command:
12613 export MAKE=gmake; ./configure for sh-type shells
12614 setenv MAKE gmake; ./configure for csh-type shells
12615 Also please do remember to use gmake in this case every time
12616 you are trying to compile.
12617 " >&2;}
12618 { (exit 1); exit 1; }; }
12619 fi fi
12620 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12621 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12622 LN_S=$as_ln_s
12623 if test "$LN_S" = "ln -s"; then
12624 echo "$as_me:$LINENO: result: yes" >&5
12625 echo "${ECHO_T}yes" >&6
12626 else
12627 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12628 echo "${ECHO_T}no, using $LN_S" >&6
12629 fi
12630
12631
12632
12633 case "${host}" in
12634 *-pc-os2_emx | *-pc-os2-emx )
12635 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12636 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12637 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12638 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12640 else
12641 ac_check_lib_save_LIBS=$LIBS
12642 LIBS="-lcExt $LIBS"
12643 cat >conftest.$ac_ext <<_ACEOF
12644 /* confdefs.h. */
12645 _ACEOF
12646 cat confdefs.h >>conftest.$ac_ext
12647 cat >>conftest.$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12649
12650 /* Override any gcc2 internal prototype to avoid an error. */
12651 #ifdef __cplusplus
12652 extern "C"
12653 #endif
12654 /* We use char because int might match the return type of a gcc2
12655 builtin and then its argument prototype would still apply. */
12656 char drand48 ();
12657 int
12658 main ()
12659 {
12660 drand48 ();
12661 ;
12662 return 0;
12663 }
12664 _ACEOF
12665 rm -f conftest.$ac_objext conftest$ac_exeext
12666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12667 (eval $ac_link) 2>conftest.er1
12668 ac_status=$?
12669 grep -v '^ *+' conftest.er1 >conftest.err
12670 rm -f conftest.er1
12671 cat conftest.err >&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } &&
12674 { ac_try='test -z "$ac_c_werror_flag"
12675 || test ! -s conftest.err'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12678 ac_status=$?
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try='test -s conftest$ac_exeext'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12684 ac_status=$?
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; }; then
12687 ac_cv_lib_cExt_drand48=yes
12688 else
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12691
12692 ac_cv_lib_cExt_drand48=no
12693 fi
12694 rm -f conftest.err conftest.$ac_objext \
12695 conftest$ac_exeext conftest.$ac_ext
12696 LIBS=$ac_check_lib_save_LIBS
12697 fi
12698 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12699 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12700 if test $ac_cv_lib_cExt_drand48 = yes; then
12701 LIBS="$LIBS -lcExt"
12702 fi
12703
12704 else
12705 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12706 fi
12707 echo "$as_me:$LINENO: checking for gcc version" >&5
12708 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12709 if test "${wx_cv_gccversion+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12711 else
12712
12713 if test "$cross_compiling" = yes; then
12714 wx_cv_gccversion="EMX2"
12715
12716 else
12717 cat >conftest.$ac_ext <<_ACEOF
12718 /* confdefs.h. */
12719 _ACEOF
12720 cat confdefs.h >>conftest.$ac_ext
12721 cat >>conftest.$ac_ext <<_ACEOF
12722 /* end confdefs.h. */
12723
12724 #include <stdio.h>
12725
12726 int main()
12727 {
12728 FILE *f=fopen("conftestval", "w");
12729 if (!f) exit(1);
12730 fprintf(f,
12731 #if (__GNUC__ < 3)
12732 "EMX2"
12733 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12734 "EMX3"
12735 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
12736 "Innotek5"
12737 #else
12738 "Innotek6"
12739 #endif
12740 );
12741 exit(0);
12742 }
12743
12744 _ACEOF
12745 rm -f conftest$ac_exeext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12747 (eval $ac_link) 2>&5
12748 ac_status=$?
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12753 ac_status=$?
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 wx_cv_gccversion=`cat conftestval`
12757 else
12758 echo "$as_me: program exited with status $ac_status" >&5
12759 echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.$ac_ext >&5
12761
12762 ( exit $ac_status )
12763 wx_cv_gccversion="EMX2"
12764 fi
12765 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12766 fi
12767
12768 fi
12769 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12770 echo "${ECHO_T}$wx_cv_gccversion" >&6
12771 if test "$wx_cv_gccversion" = "EMX2"; then
12772 LIBS="$LIBS -lstdcpp"
12773 LDFLAGS="$LDFLAGS -Zsysv-signals"
12774 else
12775 if test "$wx_cv_gccversion" = "EMX3"; then
12776 LIBS="$LIBS -lstdcxx"
12777 LDFLAGS="$LDFLAGS -Zsysv-signals"
12778 else
12779 LIBS="$LIBS -lstdc++"
12780 fi
12781 fi
12782 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
12783 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
12784 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
12785 wxUSE_OMF=yes
12786 fi
12787 if test "$wxUSE_OMF" = "yes"; then
12788 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12789 fi
12790 ;;
12791 *)
12792
12793
12794
12795 ac_ext=cc
12796 ac_cpp='$CXXCPP $CPPFLAGS'
12797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12800
12801
12802 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12803 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12804 if test "${ac_cv_string_strcasecmp+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 else
12807
12808 cat >conftest.$ac_ext <<_ACEOF
12809 /* confdefs.h. */
12810 _ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12814
12815 #include <string.h>
12816
12817 int
12818 main ()
12819 {
12820
12821 strcasecmp("foo", "bar");
12822
12823 ;
12824 return 0;
12825 }
12826 _ACEOF
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12829 (eval $ac_link) 2>conftest.er1
12830 ac_status=$?
12831 grep -v '^ *+' conftest.er1 >conftest.err
12832 rm -f conftest.er1
12833 cat conftest.err >&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } &&
12836 { ac_try='test -z "$ac_cxx_werror_flag"
12837 || test ! -s conftest.err'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try='test -s conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12846 ac_status=$?
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 ac_cv_string_strcasecmp=yes
12850 else
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12853
12854 ac_cv_string_strcasecmp=no
12855
12856 fi
12857 rm -f conftest.err conftest.$ac_objext \
12858 conftest$ac_exeext conftest.$ac_ext
12859
12860 fi
12861 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12862 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12863
12864 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12865 cat >>confdefs.h <<\_ACEOF
12866 #define HAVE_STRCASECMP_IN_STRING_H 1
12867 _ACEOF
12868
12869 else
12870 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12871 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12872 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 else
12875
12876 cat >conftest.$ac_ext <<_ACEOF
12877 /* confdefs.h. */
12878 _ACEOF
12879 cat confdefs.h >>conftest.$ac_ext
12880 cat >>conftest.$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882
12883 #include <strings.h>
12884
12885 int
12886 main ()
12887 {
12888
12889 strcasecmp("foo", "bar");
12890
12891 ;
12892 return 0;
12893 }
12894 _ACEOF
12895 rm -f conftest.$ac_objext conftest$ac_exeext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12897 (eval $ac_link) 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_cxx_werror_flag"
12905 || test ! -s conftest.err'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; } &&
12911 { ac_try='test -s conftest$ac_exeext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12914 ac_status=$?
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 ac_cv_strings_strcasecmp=yes
12918 else
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.$ac_ext >&5
12921
12922 ac_cv_strings_strcasecmp=no
12923
12924 fi
12925 rm -f conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12927
12928 fi
12929 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12930 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12931
12932 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12933 cat >>confdefs.h <<\_ACEOF
12934 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12935 _ACEOF
12936
12937 else
12938 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12939 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12940 { (exit 1); exit 1; }; }
12941 fi
12942 fi
12943
12944 ac_ext=c
12945 ac_cpp='$CPP $CPPFLAGS'
12946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12949
12950 ;;
12951 esac
12952
12953
12954 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12955 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12956 if test "${ac_cv_header_stdc+set}" = set; then
12957 echo $ECHO_N "(cached) $ECHO_C" >&6
12958 else
12959 cat >conftest.$ac_ext <<_ACEOF
12960 /* confdefs.h. */
12961 _ACEOF
12962 cat confdefs.h >>conftest.$ac_ext
12963 cat >>conftest.$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12965 #include <stdlib.h>
12966 #include <stdarg.h>
12967 #include <string.h>
12968 #include <float.h>
12969
12970 int
12971 main ()
12972 {
12973
12974 ;
12975 return 0;
12976 }
12977 _ACEOF
12978 rm -f conftest.$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try='test -z "$ac_c_werror_flag"
12988 || test ! -s conftest.err'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12991 ac_status=$?
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; } &&
12994 { ac_try='test -s conftest.$ac_objext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12997 ac_status=$?
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 ac_cv_header_stdc=yes
13001 else
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13004
13005 ac_cv_header_stdc=no
13006 fi
13007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13008
13009 if test $ac_cv_header_stdc = yes; then
13010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13011 cat >conftest.$ac_ext <<_ACEOF
13012 /* confdefs.h. */
13013 _ACEOF
13014 cat confdefs.h >>conftest.$ac_ext
13015 cat >>conftest.$ac_ext <<_ACEOF
13016 /* end confdefs.h. */
13017 #include <string.h>
13018
13019 _ACEOF
13020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13021 $EGREP "memchr" >/dev/null 2>&1; then
13022 :
13023 else
13024 ac_cv_header_stdc=no
13025 fi
13026 rm -f conftest*
13027
13028 fi
13029
13030 if test $ac_cv_header_stdc = yes; then
13031 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13032 cat >conftest.$ac_ext <<_ACEOF
13033 /* confdefs.h. */
13034 _ACEOF
13035 cat confdefs.h >>conftest.$ac_ext
13036 cat >>conftest.$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13038 #include <stdlib.h>
13039
13040 _ACEOF
13041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13042 $EGREP "free" >/dev/null 2>&1; then
13043 :
13044 else
13045 ac_cv_header_stdc=no
13046 fi
13047 rm -f conftest*
13048
13049 fi
13050
13051 if test $ac_cv_header_stdc = yes; then
13052 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13053 if test "$cross_compiling" = yes; then
13054 :
13055 else
13056 cat >conftest.$ac_ext <<_ACEOF
13057 /* confdefs.h. */
13058 _ACEOF
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 #include <ctype.h>
13063 #if ((' ' & 0x0FF) == 0x020)
13064 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13065 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13066 #else
13067 # define ISLOWER(c) \
13068 (('a' <= (c) && (c) <= 'i') \
13069 || ('j' <= (c) && (c) <= 'r') \
13070 || ('s' <= (c) && (c) <= 'z'))
13071 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13072 #endif
13073
13074 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13075 int
13076 main ()
13077 {
13078 int i;
13079 for (i = 0; i < 256; i++)
13080 if (XOR (islower (i), ISLOWER (i))
13081 || toupper (i) != TOUPPER (i))
13082 exit(2);
13083 exit (0);
13084 }
13085 _ACEOF
13086 rm -f conftest$ac_exeext
13087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13088 (eval $ac_link) 2>&5
13089 ac_status=$?
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13093 (eval $ac_try) 2>&5
13094 ac_status=$?
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }; }; then
13097 :
13098 else
13099 echo "$as_me: program exited with status $ac_status" >&5
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.$ac_ext >&5
13102
13103 ( exit $ac_status )
13104 ac_cv_header_stdc=no
13105 fi
13106 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13107 fi
13108 fi
13109 fi
13110 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13111 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13112 if test $ac_cv_header_stdc = yes; then
13113
13114 cat >>confdefs.h <<\_ACEOF
13115 #define STDC_HEADERS 1
13116 _ACEOF
13117
13118 fi
13119
13120 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13131 inttypes.h stdint.h unistd.h
13132 do
13133 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13134 echo "$as_me:$LINENO: checking for $ac_header" >&5
13135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13137 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 else
13139 cat >conftest.$ac_ext <<_ACEOF
13140 /* confdefs.h. */
13141 _ACEOF
13142 cat confdefs.h >>conftest.$ac_ext
13143 cat >>conftest.$ac_ext <<_ACEOF
13144 /* end confdefs.h. */
13145 $ac_includes_default
13146
13147 #include <$ac_header>
13148 _ACEOF
13149 rm -f conftest.$ac_objext
13150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13151 (eval $ac_compile) 2>conftest.er1
13152 ac_status=$?
13153 grep -v '^ *+' conftest.er1 >conftest.err
13154 rm -f conftest.er1
13155 cat conftest.err >&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } &&
13158 { ac_try='test -z "$ac_c_werror_flag"
13159 || test ! -s conftest.err'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13162 ac_status=$?
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; } &&
13165 { ac_try='test -s conftest.$ac_objext'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13168 ac_status=$?
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; }; then
13171 eval "$as_ac_Header=yes"
13172 else
13173 echo "$as_me: failed program was:" >&5
13174 sed 's/^/| /' conftest.$ac_ext >&5
13175
13176 eval "$as_ac_Header=no"
13177 fi
13178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13179 fi
13180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13183 cat >>confdefs.h <<_ACEOF
13184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13185 _ACEOF
13186
13187 fi
13188
13189 done
13190
13191
13192
13193 for ac_header in stdlib.h
13194 do
13195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13197 echo "$as_me:$LINENO: checking for $ac_header" >&5
13198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 fi
13202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13204 else
13205 # Is the header compilable?
13206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13208 cat >conftest.$ac_ext <<_ACEOF
13209 /* confdefs.h. */
13210 _ACEOF
13211 cat confdefs.h >>conftest.$ac_ext
13212 cat >>conftest.$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13214 $ac_includes_default
13215 #include <$ac_header>
13216 _ACEOF
13217 rm -f conftest.$ac_objext
13218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13219 (eval $ac_compile) 2>conftest.er1
13220 ac_status=$?
13221 grep -v '^ *+' conftest.er1 >conftest.err
13222 rm -f conftest.er1
13223 cat conftest.err >&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); } &&
13226 { ac_try='test -z "$ac_c_werror_flag"
13227 || test ! -s conftest.err'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; } &&
13233 { ac_try='test -s conftest.$ac_objext'
13234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13235 (eval $ac_try) 2>&5
13236 ac_status=$?
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); }; }; then
13239 ac_header_compiler=yes
13240 else
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13243
13244 ac_header_compiler=no
13245 fi
13246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13248 echo "${ECHO_T}$ac_header_compiler" >&6
13249
13250 # Is the header present?
13251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13253 cat >conftest.$ac_ext <<_ACEOF
13254 /* confdefs.h. */
13255 _ACEOF
13256 cat confdefs.h >>conftest.$ac_ext
13257 cat >>conftest.$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13259 #include <$ac_header>
13260 _ACEOF
13261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13263 ac_status=$?
13264 grep -v '^ *+' conftest.er1 >conftest.err
13265 rm -f conftest.er1
13266 cat conftest.err >&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); } >/dev/null; then
13269 if test -s conftest.err; then
13270 ac_cpp_err=$ac_c_preproc_warn_flag
13271 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13272 else
13273 ac_cpp_err=
13274 fi
13275 else
13276 ac_cpp_err=yes
13277 fi
13278 if test -z "$ac_cpp_err"; then
13279 ac_header_preproc=yes
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13283
13284 ac_header_preproc=no
13285 fi
13286 rm -f conftest.err conftest.$ac_ext
13287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13288 echo "${ECHO_T}$ac_header_preproc" >&6
13289
13290 # So? What about this header?
13291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13292 yes:no: )
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13297 ac_header_preproc=yes
13298 ;;
13299 no:yes:* )
13300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13312 (
13313 cat <<\_ASBOX
13314 ## ----------------------------------------- ##
13315 ## Report this to wx-dev@lists.wxwidgets.org ##
13316 ## ----------------------------------------- ##
13317 _ASBOX
13318 ) |
13319 sed "s/^/$as_me: WARNING: /" >&2
13320 ;;
13321 esac
13322 echo "$as_me:$LINENO: checking for $ac_header" >&5
13323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13326 else
13327 eval "$as_ac_Header=\$ac_header_preproc"
13328 fi
13329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13331
13332 fi
13333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13334 cat >>confdefs.h <<_ACEOF
13335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13336 _ACEOF
13337
13338 fi
13339
13340 done
13341
13342
13343 for ac_header in malloc.h
13344 do
13345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13347 echo "$as_me:$LINENO: checking for $ac_header" >&5
13348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 fi
13352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13354 else
13355 # Is the header compilable?
13356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13358 cat >conftest.$ac_ext <<_ACEOF
13359 /* confdefs.h. */
13360 _ACEOF
13361 cat confdefs.h >>conftest.$ac_ext
13362 cat >>conftest.$ac_ext <<_ACEOF
13363 /* end confdefs.h. */
13364 $ac_includes_default
13365 #include <$ac_header>
13366 _ACEOF
13367 rm -f conftest.$ac_objext
13368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13369 (eval $ac_compile) 2>conftest.er1
13370 ac_status=$?
13371 grep -v '^ *+' conftest.er1 >conftest.err
13372 rm -f conftest.er1
13373 cat conftest.err >&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -z "$ac_c_werror_flag"
13377 || test ! -s conftest.err'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; } &&
13383 { ac_try='test -s conftest.$ac_objext'
13384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 (eval $ac_try) 2>&5
13386 ac_status=$?
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; }; then
13389 ac_header_compiler=yes
13390 else
13391 echo "$as_me: failed program was:" >&5
13392 sed 's/^/| /' conftest.$ac_ext >&5
13393
13394 ac_header_compiler=no
13395 fi
13396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13398 echo "${ECHO_T}$ac_header_compiler" >&6
13399
13400 # Is the header present?
13401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13403 cat >conftest.$ac_ext <<_ACEOF
13404 /* confdefs.h. */
13405 _ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 #include <$ac_header>
13410 _ACEOF
13411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13413 ac_status=$?
13414 grep -v '^ *+' conftest.er1 >conftest.err
13415 rm -f conftest.er1
13416 cat conftest.err >&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); } >/dev/null; then
13419 if test -s conftest.err; then
13420 ac_cpp_err=$ac_c_preproc_warn_flag
13421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13422 else
13423 ac_cpp_err=
13424 fi
13425 else
13426 ac_cpp_err=yes
13427 fi
13428 if test -z "$ac_cpp_err"; then
13429 ac_header_preproc=yes
13430 else
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.$ac_ext >&5
13433
13434 ac_header_preproc=no
13435 fi
13436 rm -f conftest.err conftest.$ac_ext
13437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13438 echo "${ECHO_T}$ac_header_preproc" >&6
13439
13440 # So? What about this header?
13441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13442 yes:no: )
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13447 ac_header_preproc=yes
13448 ;;
13449 no:yes:* )
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13462 (
13463 cat <<\_ASBOX
13464 ## ----------------------------------------- ##
13465 ## Report this to wx-dev@lists.wxwidgets.org ##
13466 ## ----------------------------------------- ##
13467 _ASBOX
13468 ) |
13469 sed "s/^/$as_me: WARNING: /" >&2
13470 ;;
13471 esac
13472 echo "$as_me:$LINENO: checking for $ac_header" >&5
13473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 eval "$as_ac_Header=\$ac_header_preproc"
13478 fi
13479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13481
13482 fi
13483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13484 cat >>confdefs.h <<_ACEOF
13485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13486 _ACEOF
13487
13488 fi
13489
13490 done
13491
13492
13493 for ac_header in unistd.h
13494 do
13495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13497 echo "$as_me:$LINENO: checking for $ac_header" >&5
13498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 fi
13502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13504 else
13505 # Is the header compilable?
13506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13508 cat >conftest.$ac_ext <<_ACEOF
13509 /* confdefs.h. */
13510 _ACEOF
13511 cat confdefs.h >>conftest.$ac_ext
13512 cat >>conftest.$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13514 $ac_includes_default
13515 #include <$ac_header>
13516 _ACEOF
13517 rm -f conftest.$ac_objext
13518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13519 (eval $ac_compile) 2>conftest.er1
13520 ac_status=$?
13521 grep -v '^ *+' conftest.er1 >conftest.err
13522 rm -f conftest.er1
13523 cat conftest.err >&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); } &&
13526 { ac_try='test -z "$ac_c_werror_flag"
13527 || test ! -s conftest.err'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; } &&
13533 { ac_try='test -s conftest.$ac_objext'
13534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13535 (eval $ac_try) 2>&5
13536 ac_status=$?
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; }; then
13539 ac_header_compiler=yes
13540 else
13541 echo "$as_me: failed program was:" >&5
13542 sed 's/^/| /' conftest.$ac_ext >&5
13543
13544 ac_header_compiler=no
13545 fi
13546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13548 echo "${ECHO_T}$ac_header_compiler" >&6
13549
13550 # Is the header present?
13551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13553 cat >conftest.$ac_ext <<_ACEOF
13554 /* confdefs.h. */
13555 _ACEOF
13556 cat confdefs.h >>conftest.$ac_ext
13557 cat >>conftest.$ac_ext <<_ACEOF
13558 /* end confdefs.h. */
13559 #include <$ac_header>
13560 _ACEOF
13561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13563 ac_status=$?
13564 grep -v '^ *+' conftest.er1 >conftest.err
13565 rm -f conftest.er1
13566 cat conftest.err >&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } >/dev/null; then
13569 if test -s conftest.err; then
13570 ac_cpp_err=$ac_c_preproc_warn_flag
13571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13572 else
13573 ac_cpp_err=
13574 fi
13575 else
13576 ac_cpp_err=yes
13577 fi
13578 if test -z "$ac_cpp_err"; then
13579 ac_header_preproc=yes
13580 else
13581 echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.$ac_ext >&5
13583
13584 ac_header_preproc=no
13585 fi
13586 rm -f conftest.err conftest.$ac_ext
13587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13588 echo "${ECHO_T}$ac_header_preproc" >&6
13589
13590 # So? What about this header?
13591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13592 yes:no: )
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13597 ac_header_preproc=yes
13598 ;;
13599 no:yes:* )
13600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13612 (
13613 cat <<\_ASBOX
13614 ## ----------------------------------------- ##
13615 ## Report this to wx-dev@lists.wxwidgets.org ##
13616 ## ----------------------------------------- ##
13617 _ASBOX
13618 ) |
13619 sed "s/^/$as_me: WARNING: /" >&2
13620 ;;
13621 esac
13622 echo "$as_me:$LINENO: checking for $ac_header" >&5
13623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13625 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 else
13627 eval "$as_ac_Header=\$ac_header_preproc"
13628 fi
13629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13631
13632 fi
13633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13634 cat >>confdefs.h <<_ACEOF
13635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13636 _ACEOF
13637
13638 fi
13639
13640 done
13641
13642
13643 for ac_header in wchar.h
13644 do
13645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13647 echo "$as_me:$LINENO: checking for $ac_header" >&5
13648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 fi
13652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13654 else
13655 # Is the header compilable?
13656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13658 cat >conftest.$ac_ext <<_ACEOF
13659 /* confdefs.h. */
13660 _ACEOF
13661 cat confdefs.h >>conftest.$ac_ext
13662 cat >>conftest.$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 $ac_includes_default
13665 #include <$ac_header>
13666 _ACEOF
13667 rm -f conftest.$ac_objext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13669 (eval $ac_compile) 2>conftest.er1
13670 ac_status=$?
13671 grep -v '^ *+' conftest.er1 >conftest.err
13672 rm -f conftest.er1
13673 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try='test -z "$ac_c_werror_flag"
13677 || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13680 ac_status=$?
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13686 ac_status=$?
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 ac_header_compiler=yes
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 ac_header_compiler=no
13695 fi
13696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13698 echo "${ECHO_T}$ac_header_compiler" >&6
13699
13700 # Is the header present?
13701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13703 cat >conftest.$ac_ext <<_ACEOF
13704 /* confdefs.h. */
13705 _ACEOF
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 #include <$ac_header>
13710 _ACEOF
13711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13713 ac_status=$?
13714 grep -v '^ *+' conftest.er1 >conftest.err
13715 rm -f conftest.er1
13716 cat conftest.err >&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); } >/dev/null; then
13719 if test -s conftest.err; then
13720 ac_cpp_err=$ac_c_preproc_warn_flag
13721 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13722 else
13723 ac_cpp_err=
13724 fi
13725 else
13726 ac_cpp_err=yes
13727 fi
13728 if test -z "$ac_cpp_err"; then
13729 ac_header_preproc=yes
13730 else
13731 echo "$as_me: failed program was:" >&5
13732 sed 's/^/| /' conftest.$ac_ext >&5
13733
13734 ac_header_preproc=no
13735 fi
13736 rm -f conftest.err conftest.$ac_ext
13737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13738 echo "${ECHO_T}$ac_header_preproc" >&6
13739
13740 # So? What about this header?
13741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13742 yes:no: )
13743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13747 ac_header_preproc=yes
13748 ;;
13749 no:yes:* )
13750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13762 (
13763 cat <<\_ASBOX
13764 ## ----------------------------------------- ##
13765 ## Report this to wx-dev@lists.wxwidgets.org ##
13766 ## ----------------------------------------- ##
13767 _ASBOX
13768 ) |
13769 sed "s/^/$as_me: WARNING: /" >&2
13770 ;;
13771 esac
13772 echo "$as_me:$LINENO: checking for $ac_header" >&5
13773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 else
13777 eval "$as_ac_Header=\$ac_header_preproc"
13778 fi
13779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13781
13782 fi
13783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13784 cat >>confdefs.h <<_ACEOF
13785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13786 _ACEOF
13787
13788 fi
13789
13790 done
13791
13792
13793 if test "$ac_cv_header_wchar_h" != "yes"; then
13794
13795 for ac_header in wcstr.h
13796 do
13797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13799 echo "$as_me:$LINENO: checking for $ac_header" >&5
13800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13803 fi
13804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13806 else
13807 # Is the header compilable?
13808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13810 cat >conftest.$ac_ext <<_ACEOF
13811 /* confdefs.h. */
13812 _ACEOF
13813 cat confdefs.h >>conftest.$ac_ext
13814 cat >>conftest.$ac_ext <<_ACEOF
13815 /* end confdefs.h. */
13816 $ac_includes_default
13817 #include <$ac_header>
13818 _ACEOF
13819 rm -f conftest.$ac_objext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13821 (eval $ac_compile) 2>conftest.er1
13822 ac_status=$?
13823 grep -v '^ *+' conftest.er1 >conftest.err
13824 rm -f conftest.er1
13825 cat conftest.err >&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try='test -z "$ac_c_werror_flag"
13829 || test ! -s conftest.err'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13832 ac_status=$?
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; } &&
13835 { ac_try='test -s conftest.$ac_objext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13838 ac_status=$?
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 ac_header_compiler=yes
13842 else
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13845
13846 ac_header_compiler=no
13847 fi
13848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13850 echo "${ECHO_T}$ac_header_compiler" >&6
13851
13852 # Is the header present?
13853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13855 cat >conftest.$ac_ext <<_ACEOF
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 #include <$ac_header>
13862 _ACEOF
13863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13865 ac_status=$?
13866 grep -v '^ *+' conftest.er1 >conftest.err
13867 rm -f conftest.er1
13868 cat conftest.err >&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); } >/dev/null; then
13871 if test -s conftest.err; then
13872 ac_cpp_err=$ac_c_preproc_warn_flag
13873 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13874 else
13875 ac_cpp_err=
13876 fi
13877 else
13878 ac_cpp_err=yes
13879 fi
13880 if test -z "$ac_cpp_err"; then
13881 ac_header_preproc=yes
13882 else
13883 echo "$as_me: failed program was:" >&5
13884 sed 's/^/| /' conftest.$ac_ext >&5
13885
13886 ac_header_preproc=no
13887 fi
13888 rm -f conftest.err conftest.$ac_ext
13889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13890 echo "${ECHO_T}$ac_header_preproc" >&6
13891
13892 # So? What about this header?
13893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13894 yes:no: )
13895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13899 ac_header_preproc=yes
13900 ;;
13901 no:yes:* )
13902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13914 (
13915 cat <<\_ASBOX
13916 ## ----------------------------------------- ##
13917 ## Report this to wx-dev@lists.wxwidgets.org ##
13918 ## ----------------------------------------- ##
13919 _ASBOX
13920 ) |
13921 sed "s/^/$as_me: WARNING: /" >&2
13922 ;;
13923 esac
13924 echo "$as_me:$LINENO: checking for $ac_header" >&5
13925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13928 else
13929 eval "$as_ac_Header=\$ac_header_preproc"
13930 fi
13931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13933
13934 fi
13935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13936 cat >>confdefs.h <<_ACEOF
13937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13938 _ACEOF
13939
13940 fi
13941
13942 done
13943
13944 fi
13945
13946
13947 for ac_header in fnmatch.h
13948 do
13949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 fi
13956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13958 else
13959 # Is the header compilable?
13960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13962 cat >conftest.$ac_ext <<_ACEOF
13963 /* confdefs.h. */
13964 _ACEOF
13965 cat confdefs.h >>conftest.$ac_ext
13966 cat >>conftest.$ac_ext <<_ACEOF
13967 /* end confdefs.h. */
13968 $ac_includes_default
13969 #include <$ac_header>
13970 _ACEOF
13971 rm -f conftest.$ac_objext
13972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13973 (eval $ac_compile) 2>conftest.er1
13974 ac_status=$?
13975 grep -v '^ *+' conftest.er1 >conftest.err
13976 rm -f conftest.er1
13977 cat conftest.err >&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); } &&
13980 { ac_try='test -z "$ac_c_werror_flag"
13981 || test ! -s conftest.err'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13984 ac_status=$?
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; } &&
13987 { ac_try='test -s conftest.$ac_objext'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13990 ac_status=$?
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; }; then
13993 ac_header_compiler=yes
13994 else
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.$ac_ext >&5
13997
13998 ac_header_compiler=no
13999 fi
14000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14002 echo "${ECHO_T}$ac_header_compiler" >&6
14003
14004 # Is the header present?
14005 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14007 cat >conftest.$ac_ext <<_ACEOF
14008 /* confdefs.h. */
14009 _ACEOF
14010 cat confdefs.h >>conftest.$ac_ext
14011 cat >>conftest.$ac_ext <<_ACEOF
14012 /* end confdefs.h. */
14013 #include <$ac_header>
14014 _ACEOF
14015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14017 ac_status=$?
14018 grep -v '^ *+' conftest.er1 >conftest.err
14019 rm -f conftest.er1
14020 cat conftest.err >&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } >/dev/null; then
14023 if test -s conftest.err; then
14024 ac_cpp_err=$ac_c_preproc_warn_flag
14025 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14026 else
14027 ac_cpp_err=
14028 fi
14029 else
14030 ac_cpp_err=yes
14031 fi
14032 if test -z "$ac_cpp_err"; then
14033 ac_header_preproc=yes
14034 else
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.$ac_ext >&5
14037
14038 ac_header_preproc=no
14039 fi
14040 rm -f conftest.err conftest.$ac_ext
14041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14042 echo "${ECHO_T}$ac_header_preproc" >&6
14043
14044 # So? What about this header?
14045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14046 yes:no: )
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14048 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14050 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14051 ac_header_preproc=yes
14052 ;;
14053 no:yes:* )
14054 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14056 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14057 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14059 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14061 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14065 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14066 (
14067 cat <<\_ASBOX
14068 ## ----------------------------------------- ##
14069 ## Report this to wx-dev@lists.wxwidgets.org ##
14070 ## ----------------------------------------- ##
14071 _ASBOX
14072 ) |
14073 sed "s/^/$as_me: WARNING: /" >&2
14074 ;;
14075 esac
14076 echo "$as_me:$LINENO: checking for $ac_header" >&5
14077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 else
14081 eval "$as_ac_Header=\$ac_header_preproc"
14082 fi
14083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14085
14086 fi
14087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14088 cat >>confdefs.h <<_ACEOF
14089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14090 _ACEOF
14091
14092 fi
14093
14094 done
14095
14096
14097 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14098
14099 for ac_func in fnmatch
14100 do
14101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14102 echo "$as_me:$LINENO: checking for $ac_func" >&5
14103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14104 if eval "test \"\${$as_ac_var+set}\" = set"; then
14105 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 else
14107 cat >conftest.$ac_ext <<_ACEOF
14108 /* confdefs.h. */
14109 _ACEOF
14110 cat confdefs.h >>conftest.$ac_ext
14111 cat >>conftest.$ac_ext <<_ACEOF
14112 /* end confdefs.h. */
14113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14115 #define $ac_func innocuous_$ac_func
14116
14117 /* System header to define __stub macros and hopefully few prototypes,
14118 which can conflict with char $ac_func (); below.
14119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14120 <limits.h> exists even on freestanding compilers. */
14121
14122 #ifdef __STDC__
14123 # include <limits.h>
14124 #else
14125 # include <assert.h>
14126 #endif
14127
14128 #undef $ac_func
14129
14130 /* Override any gcc2 internal prototype to avoid an error. */
14131 #ifdef __cplusplus
14132 extern "C"
14133 {
14134 #endif
14135 /* We use char because int might match the return type of a gcc2
14136 builtin and then its argument prototype would still apply. */
14137 char $ac_func ();
14138 /* The GNU C library defines this for functions which it implements
14139 to always fail with ENOSYS. Some functions are actually named
14140 something starting with __ and the normal name is an alias. */
14141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14142 choke me
14143 #else
14144 char (*f) () = $ac_func;
14145 #endif
14146 #ifdef __cplusplus
14147 }
14148 #endif
14149
14150 int
14151 main ()
14152 {
14153 return f != $ac_func;
14154 ;
14155 return 0;
14156 }
14157 _ACEOF
14158 rm -f conftest.$ac_objext conftest$ac_exeext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14160 (eval $ac_link) 2>conftest.er1
14161 ac_status=$?
14162 grep -v '^ *+' conftest.er1 >conftest.err
14163 rm -f conftest.er1
14164 cat conftest.err >&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try='test -z "$ac_c_werror_flag"
14168 || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try='test -s conftest$ac_exeext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 eval "$as_ac_var=yes"
14181 else
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 eval "$as_ac_var=no"
14186 fi
14187 rm -f conftest.err conftest.$ac_objext \
14188 conftest$ac_exeext conftest.$ac_ext
14189 fi
14190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14192 if test `eval echo '${'$as_ac_var'}'` = yes; then
14193 cat >>confdefs.h <<_ACEOF
14194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14195 _ACEOF
14196
14197 fi
14198 done
14199
14200 fi
14201
14202
14203 for ac_header in langinfo.h
14204 do
14205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14207 echo "$as_me:$LINENO: checking for $ac_header" >&5
14208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14211 fi
14212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14214 else
14215 # Is the header compilable?
14216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14218 cat >conftest.$ac_ext <<_ACEOF
14219 /* confdefs.h. */
14220 _ACEOF
14221 cat confdefs.h >>conftest.$ac_ext
14222 cat >>conftest.$ac_ext <<_ACEOF
14223 /* end confdefs.h. */
14224 $ac_includes_default
14225 #include <$ac_header>
14226 _ACEOF
14227 rm -f conftest.$ac_objext
14228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14229 (eval $ac_compile) 2>conftest.er1
14230 ac_status=$?
14231 grep -v '^ *+' conftest.er1 >conftest.err
14232 rm -f conftest.er1
14233 cat conftest.err >&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try='test -z "$ac_c_werror_flag"
14237 || test ! -s conftest.err'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; } &&
14243 { ac_try='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14246 ac_status=$?
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 ac_header_compiler=yes
14250 else
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14253
14254 ac_header_compiler=no
14255 fi
14256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14258 echo "${ECHO_T}$ac_header_compiler" >&6
14259
14260 # Is the header present?
14261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14263 cat >conftest.$ac_ext <<_ACEOF
14264 /* confdefs.h. */
14265 _ACEOF
14266 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14269 #include <$ac_header>
14270 _ACEOF
14271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14273 ac_status=$?
14274 grep -v '^ *+' conftest.er1 >conftest.err
14275 rm -f conftest.er1
14276 cat conftest.err >&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } >/dev/null; then
14279 if test -s conftest.err; then
14280 ac_cpp_err=$ac_c_preproc_warn_flag
14281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14282 else
14283 ac_cpp_err=
14284 fi
14285 else
14286 ac_cpp_err=yes
14287 fi
14288 if test -z "$ac_cpp_err"; then
14289 ac_header_preproc=yes
14290 else
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14293
14294 ac_header_preproc=no
14295 fi
14296 rm -f conftest.err conftest.$ac_ext
14297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14298 echo "${ECHO_T}$ac_header_preproc" >&6
14299
14300 # So? What about this header?
14301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14302 yes:no: )
14303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14307 ac_header_preproc=yes
14308 ;;
14309 no:yes:* )
14310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14322 (
14323 cat <<\_ASBOX
14324 ## ----------------------------------------- ##
14325 ## Report this to wx-dev@lists.wxwidgets.org ##
14326 ## ----------------------------------------- ##
14327 _ASBOX
14328 ) |
14329 sed "s/^/$as_me: WARNING: /" >&2
14330 ;;
14331 esac
14332 echo "$as_me:$LINENO: checking for $ac_header" >&5
14333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 else
14337 eval "$as_ac_Header=\$ac_header_preproc"
14338 fi
14339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14341
14342 fi
14343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14344 cat >>confdefs.h <<_ACEOF
14345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14346 _ACEOF
14347
14348 fi
14349
14350 done
14351
14352
14353 case "${host}" in
14354 *-pc-os2_emx | *-pc-os2-emx )
14355 if test $ac_cv_header_langinfo_h = "yes" \
14356 -a \( "$wx_cv_gccversion" = "EMX2" \
14357 -o "$wx_cv_gccversion" = "EMX3" \
14358 -o "$wx_cv_gccversion" = "Innotek5" \); then
14359 LIBS="$LIBS -lintl"
14360 fi
14361 ;;
14362 esac
14363
14364 if test "$wxUSE_GUI" = "yes"; then
14365 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14366
14367 for ac_header in X11/Xlib.h
14368 do
14369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14371 echo "$as_me:$LINENO: checking for $ac_header" >&5
14372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 fi
14376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14378 else
14379 # Is the header compilable?
14380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14382 cat >conftest.$ac_ext <<_ACEOF
14383 /* confdefs.h. */
14384 _ACEOF
14385 cat confdefs.h >>conftest.$ac_ext
14386 cat >>conftest.$ac_ext <<_ACEOF
14387 /* end confdefs.h. */
14388 $ac_includes_default
14389 #include <$ac_header>
14390 _ACEOF
14391 rm -f conftest.$ac_objext
14392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14393 (eval $ac_compile) 2>conftest.er1
14394 ac_status=$?
14395 grep -v '^ *+' conftest.er1 >conftest.err
14396 rm -f conftest.er1
14397 cat conftest.err >&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } &&
14400 { ac_try='test -z "$ac_c_werror_flag"
14401 || test ! -s conftest.err'
14402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14403 (eval $ac_try) 2>&5
14404 ac_status=$?
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); }; } &&
14407 { ac_try='test -s conftest.$ac_objext'
14408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14409 (eval $ac_try) 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; }; then
14413 ac_header_compiler=yes
14414 else
14415 echo "$as_me: failed program was:" >&5
14416 sed 's/^/| /' conftest.$ac_ext >&5
14417
14418 ac_header_compiler=no
14419 fi
14420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14422 echo "${ECHO_T}$ac_header_compiler" >&6
14423
14424 # Is the header present?
14425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14427 cat >conftest.$ac_ext <<_ACEOF
14428 /* confdefs.h. */
14429 _ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433 #include <$ac_header>
14434 _ACEOF
14435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14437 ac_status=$?
14438 grep -v '^ *+' conftest.er1 >conftest.err
14439 rm -f conftest.er1
14440 cat conftest.err >&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } >/dev/null; then
14443 if test -s conftest.err; then
14444 ac_cpp_err=$ac_c_preproc_warn_flag
14445 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14446 else
14447 ac_cpp_err=
14448 fi
14449 else
14450 ac_cpp_err=yes
14451 fi
14452 if test -z "$ac_cpp_err"; then
14453 ac_header_preproc=yes
14454 else
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14457
14458 ac_header_preproc=no
14459 fi
14460 rm -f conftest.err conftest.$ac_ext
14461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14462 echo "${ECHO_T}$ac_header_preproc" >&6
14463
14464 # So? What about this header?
14465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14466 yes:no: )
14467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14471 ac_header_preproc=yes
14472 ;;
14473 no:yes:* )
14474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14486 (
14487 cat <<\_ASBOX
14488 ## ----------------------------------------- ##
14489 ## Report this to wx-dev@lists.wxwidgets.org ##
14490 ## ----------------------------------------- ##
14491 _ASBOX
14492 ) |
14493 sed "s/^/$as_me: WARNING: /" >&2
14494 ;;
14495 esac
14496 echo "$as_me:$LINENO: checking for $ac_header" >&5
14497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14500 else
14501 eval "$as_ac_Header=\$ac_header_preproc"
14502 fi
14503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14505
14506 fi
14507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14508 cat >>confdefs.h <<_ACEOF
14509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14510 _ACEOF
14511
14512 fi
14513
14514 done
14515
14516
14517 for ac_header in X11/XKBlib.h
14518 do
14519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14520 echo "$as_me:$LINENO: checking for $ac_header" >&5
14521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 else
14525 cat >conftest.$ac_ext <<_ACEOF
14526 /* confdefs.h. */
14527 _ACEOF
14528 cat confdefs.h >>conftest.$ac_ext
14529 cat >>conftest.$ac_ext <<_ACEOF
14530 /* end confdefs.h. */
14531
14532 #if HAVE_X11_XLIB_H
14533 #include <X11/Xlib.h>
14534 #endif
14535
14536
14537 #include <$ac_header>
14538 _ACEOF
14539 rm -f conftest.$ac_objext
14540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14541 (eval $ac_compile) 2>conftest.er1
14542 ac_status=$?
14543 grep -v '^ *+' conftest.er1 >conftest.err
14544 rm -f conftest.er1
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } &&
14548 { ac_try='test -z "$ac_c_werror_flag"
14549 || test ! -s conftest.err'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14552 ac_status=$?
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; } &&
14555 { ac_try='test -s conftest.$ac_objext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14558 ac_status=$?
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 eval "$as_ac_Header=yes"
14562 else
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14565
14566 eval "$as_ac_Header=no"
14567 fi
14568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14569 fi
14570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14575 _ACEOF
14576
14577 fi
14578
14579 done
14580
14581 fi
14582 fi
14583
14584
14585 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14586 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14587 if test "${ac_cv_c_const+set}" = set; then
14588 echo $ECHO_N "(cached) $ECHO_C" >&6
14589 else
14590 cat >conftest.$ac_ext <<_ACEOF
14591 /* confdefs.h. */
14592 _ACEOF
14593 cat confdefs.h >>conftest.$ac_ext
14594 cat >>conftest.$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14596
14597 int
14598 main ()
14599 {
14600 /* FIXME: Include the comments suggested by Paul. */
14601 #ifndef __cplusplus
14602 /* Ultrix mips cc rejects this. */
14603 typedef int charset[2];
14604 const charset x;
14605 /* SunOS 4.1.1 cc rejects this. */
14606 char const *const *ccp;
14607 char **p;
14608 /* NEC SVR4.0.2 mips cc rejects this. */
14609 struct point {int x, y;};
14610 static struct point const zero = {0,0};
14611 /* AIX XL C 1.02.0.0 rejects this.
14612 It does not let you subtract one const X* pointer from another in
14613 an arm of an if-expression whose if-part is not a constant
14614 expression */
14615 const char *g = "string";
14616 ccp = &g + (g ? g-g : 0);
14617 /* HPUX 7.0 cc rejects these. */
14618 ++ccp;
14619 p = (char**) ccp;
14620 ccp = (char const *const *) p;
14621 { /* SCO 3.2v4 cc rejects this. */
14622 char *t;
14623 char const *s = 0 ? (char *) 0 : (char const *) 0;
14624
14625 *t++ = 0;
14626 }
14627 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14628 int x[] = {25, 17};
14629 const int *foo = &x[0];
14630 ++foo;
14631 }
14632 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14633 typedef const int *iptr;
14634 iptr p = 0;
14635 ++p;
14636 }
14637 { /* AIX XL C 1.02.0.0 rejects this saying
14638 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14639 struct s { int j; const int *ap[3]; };
14640 struct s *b; b->j = 5;
14641 }
14642 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14643 const int foo = 10;
14644 }
14645 #endif
14646
14647 ;
14648 return 0;
14649 }
14650 _ACEOF
14651 rm -f conftest.$ac_objext
14652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14653 (eval $ac_compile) 2>conftest.er1
14654 ac_status=$?
14655 grep -v '^ *+' conftest.er1 >conftest.err
14656 rm -f conftest.er1
14657 cat conftest.err >&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } &&
14660 { ac_try='test -z "$ac_c_werror_flag"
14661 || test ! -s conftest.err'
14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14664 ac_status=$?
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; } &&
14667 { ac_try='test -s conftest.$ac_objext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 ac_cv_c_const=yes
14674 else
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14677
14678 ac_cv_c_const=no
14679 fi
14680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14681 fi
14682 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14683 echo "${ECHO_T}$ac_cv_c_const" >&6
14684 if test $ac_cv_c_const = no; then
14685
14686 cat >>confdefs.h <<\_ACEOF
14687 #define const
14688 _ACEOF
14689
14690 fi
14691
14692 echo "$as_me:$LINENO: checking for inline" >&5
14693 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14694 if test "${ac_cv_c_inline+set}" = set; then
14695 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 else
14697 ac_cv_c_inline=no
14698 for ac_kw in inline __inline__ __inline; do
14699 cat >conftest.$ac_ext <<_ACEOF
14700 /* confdefs.h. */
14701 _ACEOF
14702 cat confdefs.h >>conftest.$ac_ext
14703 cat >>conftest.$ac_ext <<_ACEOF
14704 /* end confdefs.h. */
14705 #ifndef __cplusplus
14706 typedef int foo_t;
14707 static $ac_kw foo_t static_foo () {return 0; }
14708 $ac_kw foo_t foo () {return 0; }
14709 #endif
14710
14711 _ACEOF
14712 rm -f conftest.$ac_objext
14713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14714 (eval $ac_compile) 2>conftest.er1
14715 ac_status=$?
14716 grep -v '^ *+' conftest.er1 >conftest.err
14717 rm -f conftest.er1
14718 cat conftest.err >&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); } &&
14721 { ac_try='test -z "$ac_c_werror_flag"
14722 || test ! -s conftest.err'
14723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14724 (eval $ac_try) 2>&5
14725 ac_status=$?
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); }; } &&
14728 { ac_try='test -s conftest.$ac_objext'
14729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730 (eval $ac_try) 2>&5
14731 ac_status=$?
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14734 ac_cv_c_inline=$ac_kw; break
14735 else
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14738
14739 fi
14740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14741 done
14742
14743 fi
14744 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14745 echo "${ECHO_T}$ac_cv_c_inline" >&6
14746
14747
14748 case $ac_cv_c_inline in
14749 inline | yes) ;;
14750 *)
14751 case $ac_cv_c_inline in
14752 no) ac_val=;;
14753 *) ac_val=$ac_cv_c_inline;;
14754 esac
14755 cat >>confdefs.h <<_ACEOF
14756 #ifndef __cplusplus
14757 #define inline $ac_val
14758 #endif
14759 _ACEOF
14760 ;;
14761 esac
14762
14763
14764 echo "$as_me:$LINENO: checking for char" >&5
14765 echo $ECHO_N "checking for char... $ECHO_C" >&6
14766 if test "${ac_cv_type_char+set}" = set; then
14767 echo $ECHO_N "(cached) $ECHO_C" >&6
14768 else
14769 cat >conftest.$ac_ext <<_ACEOF
14770 /* confdefs.h. */
14771 _ACEOF
14772 cat confdefs.h >>conftest.$ac_ext
14773 cat >>conftest.$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14775 $ac_includes_default
14776 int
14777 main ()
14778 {
14779 if ((char *) 0)
14780 return 0;
14781 if (sizeof (char))
14782 return 0;
14783 ;
14784 return 0;
14785 }
14786 _ACEOF
14787 rm -f conftest.$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789 (eval $ac_compile) 2>conftest.er1
14790 ac_status=$?
14791 grep -v '^ *+' conftest.er1 >conftest.err
14792 rm -f conftest.er1
14793 cat conftest.err >&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); } &&
14796 { ac_try='test -z "$ac_c_werror_flag"
14797 || test ! -s conftest.err'
14798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14799 (eval $ac_try) 2>&5
14800 ac_status=$?
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); }; } &&
14803 { ac_try='test -s conftest.$ac_objext'
14804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805 (eval $ac_try) 2>&5
14806 ac_status=$?
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); }; }; then
14809 ac_cv_type_char=yes
14810 else
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.$ac_ext >&5
14813
14814 ac_cv_type_char=no
14815 fi
14816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14817 fi
14818 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14819 echo "${ECHO_T}$ac_cv_type_char" >&6
14820
14821 echo "$as_me:$LINENO: checking size of char" >&5
14822 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14823 if test "${ac_cv_sizeof_char+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14825 else
14826 if test "$ac_cv_type_char" = yes; then
14827 # The cast to unsigned long works around a bug in the HP C Compiler
14828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14830 # This bug is HP SR number 8606223364.
14831 if test "$cross_compiling" = yes; then
14832 # Depending upon the size, compute the lo and hi bounds.
14833 cat >conftest.$ac_ext <<_ACEOF
14834 /* confdefs.h. */
14835 _ACEOF
14836 cat confdefs.h >>conftest.$ac_ext
14837 cat >>conftest.$ac_ext <<_ACEOF
14838 /* end confdefs.h. */
14839 $ac_includes_default
14840 int
14841 main ()
14842 {
14843 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14844 test_array [0] = 0
14845
14846 ;
14847 return 0;
14848 }
14849 _ACEOF
14850 rm -f conftest.$ac_objext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14852 (eval $ac_compile) 2>conftest.er1
14853 ac_status=$?
14854 grep -v '^ *+' conftest.er1 >conftest.err
14855 rm -f conftest.er1
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try='test -z "$ac_c_werror_flag"
14860 || test ! -s conftest.err'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_lo=0 ac_mid=0
14873 while :; do
14874 cat >conftest.$ac_ext <<_ACEOF
14875 /* confdefs.h. */
14876 _ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14880 $ac_includes_default
14881 int
14882 main ()
14883 {
14884 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14885 test_array [0] = 0
14886
14887 ;
14888 return 0;
14889 }
14890 _ACEOF
14891 rm -f conftest.$ac_objext
14892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14893 (eval $ac_compile) 2>conftest.er1
14894 ac_status=$?
14895 grep -v '^ *+' conftest.er1 >conftest.err
14896 rm -f conftest.er1
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try='test -z "$ac_c_werror_flag"
14901 || test ! -s conftest.err'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; } &&
14907 { ac_try='test -s conftest.$ac_objext'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14910 ac_status=$?
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; }; then
14913 ac_hi=$ac_mid; break
14914 else
14915 echo "$as_me: failed program was:" >&5
14916 sed 's/^/| /' conftest.$ac_ext >&5
14917
14918 ac_lo=`expr $ac_mid + 1`
14919 if test $ac_lo -le $ac_mid; then
14920 ac_lo= ac_hi=
14921 break
14922 fi
14923 ac_mid=`expr 2 '*' $ac_mid + 1`
14924 fi
14925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14926 done
14927 else
14928 echo "$as_me: failed program was:" >&5
14929 sed 's/^/| /' conftest.$ac_ext >&5
14930
14931 cat >conftest.$ac_ext <<_ACEOF
14932 /* confdefs.h. */
14933 _ACEOF
14934 cat confdefs.h >>conftest.$ac_ext
14935 cat >>conftest.$ac_ext <<_ACEOF
14936 /* end confdefs.h. */
14937 $ac_includes_default
14938 int
14939 main ()
14940 {
14941 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14942 test_array [0] = 0
14943
14944 ;
14945 return 0;
14946 }
14947 _ACEOF
14948 rm -f conftest.$ac_objext
14949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14950 (eval $ac_compile) 2>conftest.er1
14951 ac_status=$?
14952 grep -v '^ *+' conftest.er1 >conftest.err
14953 rm -f conftest.er1
14954 cat conftest.err >&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } &&
14957 { ac_try='test -z "$ac_c_werror_flag"
14958 || test ! -s conftest.err'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14961 ac_status=$?
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; } &&
14964 { ac_try='test -s conftest.$ac_objext'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14967 ac_status=$?
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 ac_hi=-1 ac_mid=-1
14971 while :; do
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 $ac_includes_default
14979 int
14980 main ()
14981 {
14982 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14983 test_array [0] = 0
14984
14985 ;
14986 return 0;
14987 }
14988 _ACEOF
14989 rm -f conftest.$ac_objext
14990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14991 (eval $ac_compile) 2>conftest.er1
14992 ac_status=$?
14993 grep -v '^ *+' conftest.er1 >conftest.err
14994 rm -f conftest.er1
14995 cat conftest.err >&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } &&
14998 { ac_try='test -z "$ac_c_werror_flag"
14999 || test ! -s conftest.err'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15002 ac_status=$?
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; } &&
15005 { ac_try='test -s conftest.$ac_objext'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15008 ac_status=$?
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; }; then
15011 ac_lo=$ac_mid; break
15012 else
15013 echo "$as_me: failed program was:" >&5
15014 sed 's/^/| /' conftest.$ac_ext >&5
15015
15016 ac_hi=`expr '(' $ac_mid ')' - 1`
15017 if test $ac_mid -le $ac_hi; then
15018 ac_lo= ac_hi=
15019 break
15020 fi
15021 ac_mid=`expr 2 '*' $ac_mid`
15022 fi
15023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15024 done
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 ac_lo= ac_hi=
15030 fi
15031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15032 fi
15033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15034 # Binary search between lo and hi bounds.
15035 while test "x$ac_lo" != "x$ac_hi"; do
15036 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15037 cat >conftest.$ac_ext <<_ACEOF
15038 /* confdefs.h. */
15039 _ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 $ac_includes_default
15044 int
15045 main ()
15046 {
15047 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15048 test_array [0] = 0
15049
15050 ;
15051 return 0;
15052 }
15053 _ACEOF
15054 rm -f conftest.$ac_objext
15055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15056 (eval $ac_compile) 2>conftest.er1
15057 ac_status=$?
15058 grep -v '^ *+' conftest.er1 >conftest.err
15059 rm -f conftest.er1
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } &&
15063 { ac_try='test -z "$ac_c_werror_flag"
15064 || test ! -s conftest.err'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15067 ac_status=$?
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; } &&
15070 { ac_try='test -s conftest.$ac_objext'
15071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072 (eval $ac_try) 2>&5
15073 ac_status=$?
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; }; then
15076 ac_hi=$ac_mid
15077 else
15078 echo "$as_me: failed program was:" >&5
15079 sed 's/^/| /' conftest.$ac_ext >&5
15080
15081 ac_lo=`expr '(' $ac_mid ')' + 1`
15082 fi
15083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15084 done
15085 case $ac_lo in
15086 ?*) ac_cv_sizeof_char=$ac_lo;;
15087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15088 See \`config.log' for more details." >&5
15089 echo "$as_me: error: cannot compute sizeof (char), 77
15090 See \`config.log' for more details." >&2;}
15091 { (exit 1); exit 1; }; } ;;
15092 esac
15093 else
15094 if test "$cross_compiling" = yes; then
15095 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15096 See \`config.log' for more details." >&5
15097 echo "$as_me: error: cannot run test program while cross compiling
15098 See \`config.log' for more details." >&2;}
15099 { (exit 1); exit 1; }; }
15100 else
15101 cat >conftest.$ac_ext <<_ACEOF
15102 /* confdefs.h. */
15103 _ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15107 $ac_includes_default
15108 long longval () { return (long) (sizeof (char)); }
15109 unsigned long ulongval () { return (long) (sizeof (char)); }
15110 #include <stdio.h>
15111 #include <stdlib.h>
15112 int
15113 main ()
15114 {
15115
15116 FILE *f = fopen ("conftest.val", "w");
15117 if (! f)
15118 exit (1);
15119 if (((long) (sizeof (char))) < 0)
15120 {
15121 long i = longval ();
15122 if (i != ((long) (sizeof (char))))
15123 exit (1);
15124 fprintf (f, "%ld\n", i);
15125 }
15126 else
15127 {
15128 unsigned long i = ulongval ();
15129 if (i != ((long) (sizeof (char))))
15130 exit (1);
15131 fprintf (f, "%lu\n", i);
15132 }
15133 exit (ferror (f) || fclose (f) != 0);
15134
15135 ;
15136 return 0;
15137 }
15138 _ACEOF
15139 rm -f conftest$ac_exeext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15141 (eval $ac_link) 2>&5
15142 ac_status=$?
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 ac_cv_sizeof_char=`cat conftest.val`
15151 else
15152 echo "$as_me: program exited with status $ac_status" >&5
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15155
15156 ( exit $ac_status )
15157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15158 See \`config.log' for more details." >&5
15159 echo "$as_me: error: cannot compute sizeof (char), 77
15160 See \`config.log' for more details." >&2;}
15161 { (exit 1); exit 1; }; }
15162 fi
15163 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15164 fi
15165 fi
15166 rm -f conftest.val
15167 else
15168 ac_cv_sizeof_char=0
15169 fi
15170 fi
15171 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15172 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15173 cat >>confdefs.h <<_ACEOF
15174 #define SIZEOF_CHAR $ac_cv_sizeof_char
15175 _ACEOF
15176
15177
15178 echo "$as_me:$LINENO: checking for short" >&5
15179 echo $ECHO_N "checking for short... $ECHO_C" >&6
15180 if test "${ac_cv_type_short+set}" = set; then
15181 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 else
15183 cat >conftest.$ac_ext <<_ACEOF
15184 /* confdefs.h. */
15185 _ACEOF
15186 cat confdefs.h >>conftest.$ac_ext
15187 cat >>conftest.$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15189 $ac_includes_default
15190 int
15191 main ()
15192 {
15193 if ((short *) 0)
15194 return 0;
15195 if (sizeof (short))
15196 return 0;
15197 ;
15198 return 0;
15199 }
15200 _ACEOF
15201 rm -f conftest.$ac_objext
15202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15203 (eval $ac_compile) 2>conftest.er1
15204 ac_status=$?
15205 grep -v '^ *+' conftest.er1 >conftest.err
15206 rm -f conftest.er1
15207 cat conftest.err >&5
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); } &&
15210 { ac_try='test -z "$ac_c_werror_flag"
15211 || test ! -s conftest.err'
15212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15213 (eval $ac_try) 2>&5
15214 ac_status=$?
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); }; } &&
15217 { ac_try='test -s conftest.$ac_objext'
15218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15219 (eval $ac_try) 2>&5
15220 ac_status=$?
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); }; }; then
15223 ac_cv_type_short=yes
15224 else
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15227
15228 ac_cv_type_short=no
15229 fi
15230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15231 fi
15232 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15233 echo "${ECHO_T}$ac_cv_type_short" >&6
15234
15235 echo "$as_me:$LINENO: checking size of short" >&5
15236 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15237 if test "${ac_cv_sizeof_short+set}" = set; then
15238 echo $ECHO_N "(cached) $ECHO_C" >&6
15239 else
15240 if test "$ac_cv_type_short" = yes; then
15241 # The cast to unsigned long works around a bug in the HP C Compiler
15242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15244 # This bug is HP SR number 8606223364.
15245 if test "$cross_compiling" = yes; then
15246 # Depending upon the size, compute the lo and hi bounds.
15247 cat >conftest.$ac_ext <<_ACEOF
15248 /* confdefs.h. */
15249 _ACEOF
15250 cat confdefs.h >>conftest.$ac_ext
15251 cat >>conftest.$ac_ext <<_ACEOF
15252 /* end confdefs.h. */
15253 $ac_includes_default
15254 int
15255 main ()
15256 {
15257 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15258 test_array [0] = 0
15259
15260 ;
15261 return 0;
15262 }
15263 _ACEOF
15264 rm -f conftest.$ac_objext
15265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15266 (eval $ac_compile) 2>conftest.er1
15267 ac_status=$?
15268 grep -v '^ *+' conftest.er1 >conftest.err
15269 rm -f conftest.er1
15270 cat conftest.err >&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); } &&
15273 { ac_try='test -z "$ac_c_werror_flag"
15274 || test ! -s conftest.err'
15275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15276 (eval $ac_try) 2>&5
15277 ac_status=$?
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); }; } &&
15280 { ac_try='test -s conftest.$ac_objext'
15281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 (eval $ac_try) 2>&5
15283 ac_status=$?
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); }; }; then
15286 ac_lo=0 ac_mid=0
15287 while :; do
15288 cat >conftest.$ac_ext <<_ACEOF
15289 /* confdefs.h. */
15290 _ACEOF
15291 cat confdefs.h >>conftest.$ac_ext
15292 cat >>conftest.$ac_ext <<_ACEOF
15293 /* end confdefs.h. */
15294 $ac_includes_default
15295 int
15296 main ()
15297 {
15298 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15299 test_array [0] = 0
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest.$ac_objext
15306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15307 (eval $ac_compile) 2>conftest.er1
15308 ac_status=$?
15309 grep -v '^ *+' conftest.er1 >conftest.err
15310 rm -f conftest.er1
15311 cat conftest.err >&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } &&
15314 { ac_try='test -z "$ac_c_werror_flag"
15315 || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_hi=$ac_mid; break
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15331
15332 ac_lo=`expr $ac_mid + 1`
15333 if test $ac_lo -le $ac_mid; then
15334 ac_lo= ac_hi=
15335 break
15336 fi
15337 ac_mid=`expr 2 '*' $ac_mid + 1`
15338 fi
15339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15340 done
15341 else
15342 echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.$ac_ext >&5
15344
15345 cat >conftest.$ac_ext <<_ACEOF
15346 /* confdefs.h. */
15347 _ACEOF
15348 cat confdefs.h >>conftest.$ac_ext
15349 cat >>conftest.$ac_ext <<_ACEOF
15350 /* end confdefs.h. */
15351 $ac_includes_default
15352 int
15353 main ()
15354 {
15355 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15356 test_array [0] = 0
15357
15358 ;
15359 return 0;
15360 }
15361 _ACEOF
15362 rm -f conftest.$ac_objext
15363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15364 (eval $ac_compile) 2>conftest.er1
15365 ac_status=$?
15366 grep -v '^ *+' conftest.er1 >conftest.err
15367 rm -f conftest.er1
15368 cat conftest.err >&5
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); } &&
15371 { ac_try='test -z "$ac_c_werror_flag"
15372 || test ! -s conftest.err'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15375 ac_status=$?
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
15384 ac_hi=-1 ac_mid=-1
15385 while :; do
15386 cat >conftest.$ac_ext <<_ACEOF
15387 /* confdefs.h. */
15388 _ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15392 $ac_includes_default
15393 int
15394 main ()
15395 {
15396 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15397 test_array [0] = 0
15398
15399 ;
15400 return 0;
15401 }
15402 _ACEOF
15403 rm -f conftest.$ac_objext
15404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15405 (eval $ac_compile) 2>conftest.er1
15406 ac_status=$?
15407 grep -v '^ *+' conftest.er1 >conftest.err
15408 rm -f conftest.er1
15409 cat conftest.err >&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); } &&
15412 { ac_try='test -z "$ac_c_werror_flag"
15413 || test ! -s conftest.err'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15416 ac_status=$?
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; } &&
15419 { ac_try='test -s conftest.$ac_objext'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15422 ac_status=$?
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15425 ac_lo=$ac_mid; break
15426 else
15427 echo "$as_me: failed program was:" >&5
15428 sed 's/^/| /' conftest.$ac_ext >&5
15429
15430 ac_hi=`expr '(' $ac_mid ')' - 1`
15431 if test $ac_mid -le $ac_hi; then
15432 ac_lo= ac_hi=
15433 break
15434 fi
15435 ac_mid=`expr 2 '*' $ac_mid`
15436 fi
15437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15438 done
15439 else
15440 echo "$as_me: failed program was:" >&5
15441 sed 's/^/| /' conftest.$ac_ext >&5
15442
15443 ac_lo= ac_hi=
15444 fi
15445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15446 fi
15447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15448 # Binary search between lo and hi bounds.
15449 while test "x$ac_lo" != "x$ac_hi"; do
15450 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15451 cat >conftest.$ac_ext <<_ACEOF
15452 /* confdefs.h. */
15453 _ACEOF
15454 cat confdefs.h >>conftest.$ac_ext
15455 cat >>conftest.$ac_ext <<_ACEOF
15456 /* end confdefs.h. */
15457 $ac_includes_default
15458 int
15459 main ()
15460 {
15461 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15462 test_array [0] = 0
15463
15464 ;
15465 return 0;
15466 }
15467 _ACEOF
15468 rm -f conftest.$ac_objext
15469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15470 (eval $ac_compile) 2>conftest.er1
15471 ac_status=$?
15472 grep -v '^ *+' conftest.er1 >conftest.err
15473 rm -f conftest.er1
15474 cat conftest.err >&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try='test -z "$ac_c_werror_flag"
15478 || test ! -s conftest.err'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15481 ac_status=$?
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; } &&
15484 { ac_try='test -s conftest.$ac_objext'
15485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15487 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; }; then
15490 ac_hi=$ac_mid
15491 else
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.$ac_ext >&5
15494
15495 ac_lo=`expr '(' $ac_mid ')' + 1`
15496 fi
15497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15498 done
15499 case $ac_lo in
15500 ?*) ac_cv_sizeof_short=$ac_lo;;
15501 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15502 See \`config.log' for more details." >&5
15503 echo "$as_me: error: cannot compute sizeof (short), 77
15504 See \`config.log' for more details." >&2;}
15505 { (exit 1); exit 1; }; } ;;
15506 esac
15507 else
15508 if test "$cross_compiling" = yes; then
15509 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15510 See \`config.log' for more details." >&5
15511 echo "$as_me: error: cannot run test program while cross compiling
15512 See \`config.log' for more details." >&2;}
15513 { (exit 1); exit 1; }; }
15514 else
15515 cat >conftest.$ac_ext <<_ACEOF
15516 /* confdefs.h. */
15517 _ACEOF
15518 cat confdefs.h >>conftest.$ac_ext
15519 cat >>conftest.$ac_ext <<_ACEOF
15520 /* end confdefs.h. */
15521 $ac_includes_default
15522 long longval () { return (long) (sizeof (short)); }
15523 unsigned long ulongval () { return (long) (sizeof (short)); }
15524 #include <stdio.h>
15525 #include <stdlib.h>
15526 int
15527 main ()
15528 {
15529
15530 FILE *f = fopen ("conftest.val", "w");
15531 if (! f)
15532 exit (1);
15533 if (((long) (sizeof (short))) < 0)
15534 {
15535 long i = longval ();
15536 if (i != ((long) (sizeof (short))))
15537 exit (1);
15538 fprintf (f, "%ld\n", i);
15539 }
15540 else
15541 {
15542 unsigned long i = ulongval ();
15543 if (i != ((long) (sizeof (short))))
15544 exit (1);
15545 fprintf (f, "%lu\n", i);
15546 }
15547 exit (ferror (f) || fclose (f) != 0);
15548
15549 ;
15550 return 0;
15551 }
15552 _ACEOF
15553 rm -f conftest$ac_exeext
15554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15555 (eval $ac_link) 2>&5
15556 ac_status=$?
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15561 ac_status=$?
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15564 ac_cv_sizeof_short=`cat conftest.val`
15565 else
15566 echo "$as_me: program exited with status $ac_status" >&5
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.$ac_ext >&5
15569
15570 ( exit $ac_status )
15571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15572 See \`config.log' for more details." >&5
15573 echo "$as_me: error: cannot compute sizeof (short), 77
15574 See \`config.log' for more details." >&2;}
15575 { (exit 1); exit 1; }; }
15576 fi
15577 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15578 fi
15579 fi
15580 rm -f conftest.val
15581 else
15582 ac_cv_sizeof_short=0
15583 fi
15584 fi
15585 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15586 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15587 cat >>confdefs.h <<_ACEOF
15588 #define SIZEOF_SHORT $ac_cv_sizeof_short
15589 _ACEOF
15590
15591
15592 echo "$as_me:$LINENO: checking for void *" >&5
15593 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15594 if test "${ac_cv_type_void_p+set}" = set; then
15595 echo $ECHO_N "(cached) $ECHO_C" >&6
15596 else
15597 cat >conftest.$ac_ext <<_ACEOF
15598 /* confdefs.h. */
15599 _ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 $ac_includes_default
15604 int
15605 main ()
15606 {
15607 if ((void * *) 0)
15608 return 0;
15609 if (sizeof (void *))
15610 return 0;
15611 ;
15612 return 0;
15613 }
15614 _ACEOF
15615 rm -f conftest.$ac_objext
15616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15617 (eval $ac_compile) 2>conftest.er1
15618 ac_status=$?
15619 grep -v '^ *+' conftest.er1 >conftest.err
15620 rm -f conftest.er1
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } &&
15624 { ac_try='test -z "$ac_c_werror_flag"
15625 || test ! -s conftest.err'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15628 ac_status=$?
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; } &&
15631 { ac_try='test -s conftest.$ac_objext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15634 ac_status=$?
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; }; then
15637 ac_cv_type_void_p=yes
15638 else
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.$ac_ext >&5
15641
15642 ac_cv_type_void_p=no
15643 fi
15644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15645 fi
15646 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15647 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15648
15649 echo "$as_me:$LINENO: checking size of void *" >&5
15650 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15651 if test "${ac_cv_sizeof_void_p+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 else
15654 if test "$ac_cv_type_void_p" = yes; then
15655 # The cast to unsigned long works around a bug in the HP C Compiler
15656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15658 # This bug is HP SR number 8606223364.
15659 if test "$cross_compiling" = yes; then
15660 # Depending upon the size, compute the lo and hi bounds.
15661 cat >conftest.$ac_ext <<_ACEOF
15662 /* confdefs.h. */
15663 _ACEOF
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15667 $ac_includes_default
15668 int
15669 main ()
15670 {
15671 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15672 test_array [0] = 0
15673
15674 ;
15675 return 0;
15676 }
15677 _ACEOF
15678 rm -f conftest.$ac_objext
15679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15680 (eval $ac_compile) 2>conftest.er1
15681 ac_status=$?
15682 grep -v '^ *+' conftest.er1 >conftest.err
15683 rm -f conftest.er1
15684 cat conftest.err >&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } &&
15687 { ac_try='test -z "$ac_c_werror_flag"
15688 || 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 (void *))) <= $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"
15729 || test ! -s conftest.err'
15730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15731 (eval $ac_try) 2>&5
15732 ac_status=$?
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); }; } &&
15735 { ac_try='test -s conftest.$ac_objext'
15736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15737 (eval $ac_try) 2>&5
15738 ac_status=$?
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); }; }; then
15741 ac_hi=$ac_mid; break
15742 else
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15745
15746 ac_lo=`expr $ac_mid + 1`
15747 if test $ac_lo -le $ac_mid; then
15748 ac_lo= ac_hi=
15749 break
15750 fi
15751 ac_mid=`expr 2 '*' $ac_mid + 1`
15752 fi
15753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15754 done
15755 else
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15758
15759 cat >conftest.$ac_ext <<_ACEOF
15760 /* confdefs.h. */
15761 _ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15765 $ac_includes_default
15766 int
15767 main ()
15768 {
15769 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15770 test_array [0] = 0
15771
15772 ;
15773 return 0;
15774 }
15775 _ACEOF
15776 rm -f conftest.$ac_objext
15777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15778 (eval $ac_compile) 2>conftest.er1
15779 ac_status=$?
15780 grep -v '^ *+' conftest.er1 >conftest.err
15781 rm -f conftest.er1
15782 cat conftest.err >&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); } &&
15785 { ac_try='test -z "$ac_c_werror_flag"
15786 || test ! -s conftest.err'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; } &&
15792 { ac_try='test -s conftest.$ac_objext'
15793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794 (eval $ac_try) 2>&5
15795 ac_status=$?
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; }; then
15798 ac_hi=-1 ac_mid=-1
15799 while :; do
15800 cat >conftest.$ac_ext <<_ACEOF
15801 /* confdefs.h. */
15802 _ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806 $ac_includes_default
15807 int
15808 main ()
15809 {
15810 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15811 test_array [0] = 0
15812
15813 ;
15814 return 0;
15815 }
15816 _ACEOF
15817 rm -f conftest.$ac_objext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try='test -z "$ac_c_werror_flag"
15827 || test ! -s conftest.err'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; } &&
15833 { ac_try='test -s conftest.$ac_objext'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15836 ac_status=$?
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; }; then
15839 ac_lo=$ac_mid; break
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844 ac_hi=`expr '(' $ac_mid ')' - 1`
15845 if test $ac_mid -le $ac_hi; then
15846 ac_lo= ac_hi=
15847 break
15848 fi
15849 ac_mid=`expr 2 '*' $ac_mid`
15850 fi
15851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15852 done
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15856
15857 ac_lo= ac_hi=
15858 fi
15859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15860 fi
15861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15862 # Binary search between lo and hi bounds.
15863 while test "x$ac_lo" != "x$ac_hi"; do
15864 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 $ac_includes_default
15872 int
15873 main ()
15874 {
15875 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15876 test_array [0] = 0
15877
15878 ;
15879 return 0;
15880 }
15881 _ACEOF
15882 rm -f conftest.$ac_objext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15884 (eval $ac_compile) 2>conftest.er1
15885 ac_status=$?
15886 grep -v '^ *+' conftest.er1 >conftest.err
15887 rm -f conftest.er1
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try='test -z "$ac_c_werror_flag"
15892 || test ! -s conftest.err'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; } &&
15898 { ac_try='test -s conftest.$ac_objext'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 ac_hi=$ac_mid
15905 else
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15908
15909 ac_lo=`expr '(' $ac_mid ')' + 1`
15910 fi
15911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15912 done
15913 case $ac_lo in
15914 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15915 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15916 See \`config.log' for more details." >&5
15917 echo "$as_me: error: cannot compute sizeof (void *), 77
15918 See \`config.log' for more details." >&2;}
15919 { (exit 1); exit 1; }; } ;;
15920 esac
15921 else
15922 if test "$cross_compiling" = yes; then
15923 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15924 See \`config.log' for more details." >&5
15925 echo "$as_me: error: cannot run test program while cross compiling
15926 See \`config.log' for more details." >&2;}
15927 { (exit 1); exit 1; }; }
15928 else
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 $ac_includes_default
15936 long longval () { return (long) (sizeof (void *)); }
15937 unsigned long ulongval () { return (long) (sizeof (void *)); }
15938 #include <stdio.h>
15939 #include <stdlib.h>
15940 int
15941 main ()
15942 {
15943
15944 FILE *f = fopen ("conftest.val", "w");
15945 if (! f)
15946 exit (1);
15947 if (((long) (sizeof (void *))) < 0)
15948 {
15949 long i = longval ();
15950 if (i != ((long) (sizeof (void *))))
15951 exit (1);
15952 fprintf (f, "%ld\n", i);
15953 }
15954 else
15955 {
15956 unsigned long i = ulongval ();
15957 if (i != ((long) (sizeof (void *))))
15958 exit (1);
15959 fprintf (f, "%lu\n", i);
15960 }
15961 exit (ferror (f) || fclose (f) != 0);
15962
15963 ;
15964 return 0;
15965 }
15966 _ACEOF
15967 rm -f conftest$ac_exeext
15968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15969 (eval $ac_link) 2>&5
15970 ac_status=$?
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15975 ac_status=$?
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; }; then
15978 ac_cv_sizeof_void_p=`cat conftest.val`
15979 else
15980 echo "$as_me: program exited with status $ac_status" >&5
15981 echo "$as_me: failed program was:" >&5
15982 sed 's/^/| /' conftest.$ac_ext >&5
15983
15984 ( exit $ac_status )
15985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15986 See \`config.log' for more details." >&5
15987 echo "$as_me: error: cannot compute sizeof (void *), 77
15988 See \`config.log' for more details." >&2;}
15989 { (exit 1); exit 1; }; }
15990 fi
15991 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15992 fi
15993 fi
15994 rm -f conftest.val
15995 else
15996 ac_cv_sizeof_void_p=0
15997 fi
15998 fi
15999 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16000 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16001 cat >>confdefs.h <<_ACEOF
16002 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16003 _ACEOF
16004
16005
16006 echo "$as_me:$LINENO: checking for int" >&5
16007 echo $ECHO_N "checking for int... $ECHO_C" >&6
16008 if test "${ac_cv_type_int+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 else
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 $ac_includes_default
16018 int
16019 main ()
16020 {
16021 if ((int *) 0)
16022 return 0;
16023 if (sizeof (int))
16024 return 0;
16025 ;
16026 return 0;
16027 }
16028 _ACEOF
16029 rm -f conftest.$ac_objext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>conftest.er1
16032 ac_status=$?
16033 grep -v '^ *+' conftest.er1 >conftest.err
16034 rm -f conftest.er1
16035 cat conftest.err >&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); } &&
16038 { ac_try='test -z "$ac_c_werror_flag"
16039 || test ! -s conftest.err'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16042 ac_status=$?
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; } &&
16045 { ac_try='test -s conftest.$ac_objext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16048 ac_status=$?
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16051 ac_cv_type_int=yes
16052 else
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16055
16056 ac_cv_type_int=no
16057 fi
16058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16059 fi
16060 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16061 echo "${ECHO_T}$ac_cv_type_int" >&6
16062
16063 echo "$as_me:$LINENO: checking size of int" >&5
16064 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16065 if test "${ac_cv_sizeof_int+set}" = set; then
16066 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 else
16068 if test "$ac_cv_type_int" = yes; then
16069 # The cast to unsigned long works around a bug in the HP C Compiler
16070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16072 # This bug is HP SR number 8606223364.
16073 if test "$cross_compiling" = yes; then
16074 # Depending upon the size, compute the lo and hi bounds.
16075 cat >conftest.$ac_ext <<_ACEOF
16076 /* confdefs.h. */
16077 _ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16081 $ac_includes_default
16082 int
16083 main ()
16084 {
16085 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16086 test_array [0] = 0
16087
16088 ;
16089 return 0;
16090 }
16091 _ACEOF
16092 rm -f conftest.$ac_objext
16093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16094 (eval $ac_compile) 2>conftest.er1
16095 ac_status=$?
16096 grep -v '^ *+' conftest.er1 >conftest.err
16097 rm -f conftest.er1
16098 cat conftest.err >&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); } &&
16101 { ac_try='test -z "$ac_c_werror_flag"
16102 || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try='test -s conftest.$ac_objext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16111 ac_status=$?
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16114 ac_lo=0 ac_mid=0
16115 while :; do
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 $ac_includes_default
16123 int
16124 main ()
16125 {
16126 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16127 test_array [0] = 0
16128
16129 ;
16130 return 0;
16131 }
16132 _ACEOF
16133 rm -f conftest.$ac_objext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16135 (eval $ac_compile) 2>conftest.er1
16136 ac_status=$?
16137 grep -v '^ *+' conftest.er1 >conftest.err
16138 rm -f conftest.er1
16139 cat conftest.err >&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try='test -z "$ac_c_werror_flag"
16143 || test ! -s conftest.err'
16144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145 (eval $ac_try) 2>&5
16146 ac_status=$?
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); }; } &&
16149 { ac_try='test -s conftest.$ac_objext'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; }; then
16155 ac_hi=$ac_mid; break
16156 else
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16159
16160 ac_lo=`expr $ac_mid + 1`
16161 if test $ac_lo -le $ac_mid; then
16162 ac_lo= ac_hi=
16163 break
16164 fi
16165 ac_mid=`expr 2 '*' $ac_mid + 1`
16166 fi
16167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16168 done
16169 else
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173 cat >conftest.$ac_ext <<_ACEOF
16174 /* confdefs.h. */
16175 _ACEOF
16176 cat confdefs.h >>conftest.$ac_ext
16177 cat >>conftest.$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16180 int
16181 main ()
16182 {
16183 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16184 test_array [0] = 0
16185
16186 ;
16187 return 0;
16188 }
16189 _ACEOF
16190 rm -f conftest.$ac_objext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16192 (eval $ac_compile) 2>conftest.er1
16193 ac_status=$?
16194 grep -v '^ *+' conftest.er1 >conftest.err
16195 rm -f conftest.er1
16196 cat conftest.err >&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try='test -z "$ac_c_werror_flag"
16200 || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_hi=-1 ac_mid=-1
16213 while :; do
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 $ac_includes_default
16221 int
16222 main ()
16223 {
16224 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16225 test_array [0] = 0
16226
16227 ;
16228 return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>conftest.er1
16234 ac_status=$?
16235 grep -v '^ *+' conftest.er1 >conftest.err
16236 rm -f conftest.er1
16237 cat conftest.err >&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } &&
16240 { ac_try='test -z "$ac_c_werror_flag"
16241 || test ! -s conftest.err'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16244 ac_status=$?
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; } &&
16247 { ac_try='test -s conftest.$ac_objext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 ac_lo=$ac_mid; break
16254 else
16255 echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.$ac_ext >&5
16257
16258 ac_hi=`expr '(' $ac_mid ')' - 1`
16259 if test $ac_mid -le $ac_hi; then
16260 ac_lo= ac_hi=
16261 break
16262 fi
16263 ac_mid=`expr 2 '*' $ac_mid`
16264 fi
16265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16266 done
16267 else
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16270
16271 ac_lo= ac_hi=
16272 fi
16273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16274 fi
16275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16276 # Binary search between lo and hi bounds.
16277 while test "x$ac_lo" != "x$ac_hi"; do
16278 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16279 cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h. */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 $ac_includes_default
16286 int
16287 main ()
16288 {
16289 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16290 test_array [0] = 0
16291
16292 ;
16293 return 0;
16294 }
16295 _ACEOF
16296 rm -f conftest.$ac_objext
16297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16298 (eval $ac_compile) 2>conftest.er1
16299 ac_status=$?
16300 grep -v '^ *+' conftest.er1 >conftest.err
16301 rm -f conftest.er1
16302 cat conftest.err >&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } &&
16305 { ac_try='test -z "$ac_c_werror_flag"
16306 || test ! -s conftest.err'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16309 ac_status=$?
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; } &&
16312 { ac_try='test -s conftest.$ac_objext'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; }; then
16318 ac_hi=$ac_mid
16319 else
16320 echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.$ac_ext >&5
16322
16323 ac_lo=`expr '(' $ac_mid ')' + 1`
16324 fi
16325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16326 done
16327 case $ac_lo in
16328 ?*) ac_cv_sizeof_int=$ac_lo;;
16329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16330 See \`config.log' for more details." >&5
16331 echo "$as_me: error: cannot compute sizeof (int), 77
16332 See \`config.log' for more details." >&2;}
16333 { (exit 1); exit 1; }; } ;;
16334 esac
16335 else
16336 if test "$cross_compiling" = yes; then
16337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16338 See \`config.log' for more details." >&5
16339 echo "$as_me: error: cannot run test program while cross compiling
16340 See \`config.log' for more details." >&2;}
16341 { (exit 1); exit 1; }; }
16342 else
16343 cat >conftest.$ac_ext <<_ACEOF
16344 /* confdefs.h. */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16349 $ac_includes_default
16350 long longval () { return (long) (sizeof (int)); }
16351 unsigned long ulongval () { return (long) (sizeof (int)); }
16352 #include <stdio.h>
16353 #include <stdlib.h>
16354 int
16355 main ()
16356 {
16357
16358 FILE *f = fopen ("conftest.val", "w");
16359 if (! f)
16360 exit (1);
16361 if (((long) (sizeof (int))) < 0)
16362 {
16363 long i = longval ();
16364 if (i != ((long) (sizeof (int))))
16365 exit (1);
16366 fprintf (f, "%ld\n", i);
16367 }
16368 else
16369 {
16370 unsigned long i = ulongval ();
16371 if (i != ((long) (sizeof (int))))
16372 exit (1);
16373 fprintf (f, "%lu\n", i);
16374 }
16375 exit (ferror (f) || fclose (f) != 0);
16376
16377 ;
16378 return 0;
16379 }
16380 _ACEOF
16381 rm -f conftest$ac_exeext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16383 (eval $ac_link) 2>&5
16384 ac_status=$?
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16389 ac_status=$?
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16392 ac_cv_sizeof_int=`cat conftest.val`
16393 else
16394 echo "$as_me: program exited with status $ac_status" >&5
16395 echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.$ac_ext >&5
16397
16398 ( exit $ac_status )
16399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16400 See \`config.log' for more details." >&5
16401 echo "$as_me: error: cannot compute sizeof (int), 77
16402 See \`config.log' for more details." >&2;}
16403 { (exit 1); exit 1; }; }
16404 fi
16405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16406 fi
16407 fi
16408 rm -f conftest.val
16409 else
16410 ac_cv_sizeof_int=0
16411 fi
16412 fi
16413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16414 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16415 cat >>confdefs.h <<_ACEOF
16416 #define SIZEOF_INT $ac_cv_sizeof_int
16417 _ACEOF
16418
16419
16420 echo "$as_me:$LINENO: checking for long" >&5
16421 echo $ECHO_N "checking for long... $ECHO_C" >&6
16422 if test "${ac_cv_type_long+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 $ac_includes_default
16432 int
16433 main ()
16434 {
16435 if ((long *) 0)
16436 return 0;
16437 if (sizeof (long))
16438 return 0;
16439 ;
16440 return 0;
16441 }
16442 _ACEOF
16443 rm -f conftest.$ac_objext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16445 (eval $ac_compile) 2>conftest.er1
16446 ac_status=$?
16447 grep -v '^ *+' conftest.er1 >conftest.err
16448 rm -f conftest.er1
16449 cat conftest.err >&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } &&
16452 { ac_try='test -z "$ac_c_werror_flag"
16453 || test ! -s conftest.err'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try='test -s conftest.$ac_objext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16465 ac_cv_type_long=yes
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16469
16470 ac_cv_type_long=no
16471 fi
16472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16473 fi
16474 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16475 echo "${ECHO_T}$ac_cv_type_long" >&6
16476
16477 echo "$as_me:$LINENO: checking size of long" >&5
16478 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16479 if test "${ac_cv_sizeof_long+set}" = set; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 else
16482 if test "$ac_cv_type_long" = yes; then
16483 # The cast to unsigned long works around a bug in the HP C Compiler
16484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16486 # This bug is HP SR number 8606223364.
16487 if test "$cross_compiling" = yes; then
16488 # Depending upon the size, compute the lo and hi bounds.
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 $ac_includes_default
16496 int
16497 main ()
16498 {
16499 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16500 test_array [0] = 0
16501
16502 ;
16503 return 0;
16504 }
16505 _ACEOF
16506 rm -f conftest.$ac_objext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16508 (eval $ac_compile) 2>conftest.er1
16509 ac_status=$?
16510 grep -v '^ *+' conftest.er1 >conftest.err
16511 rm -f conftest.er1
16512 cat conftest.err >&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); } &&
16515 { ac_try='test -z "$ac_c_werror_flag"
16516 || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_lo=0 ac_mid=0
16529 while :; do
16530 cat >conftest.$ac_ext <<_ACEOF
16531 /* confdefs.h. */
16532 _ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16537 int
16538 main ()
16539 {
16540 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16541 test_array [0] = 0
16542
16543 ;
16544 return 0;
16545 }
16546 _ACEOF
16547 rm -f conftest.$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>conftest.er1
16550 ac_status=$?
16551 grep -v '^ *+' conftest.er1 >conftest.err
16552 rm -f conftest.er1
16553 cat conftest.err >&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try='test -z "$ac_c_werror_flag"
16557 || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 ac_hi=$ac_mid; break
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16573
16574 ac_lo=`expr $ac_mid + 1`
16575 if test $ac_lo -le $ac_mid; then
16576 ac_lo= ac_hi=
16577 break
16578 fi
16579 ac_mid=`expr 2 '*' $ac_mid + 1`
16580 fi
16581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16582 done
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16586
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 $ac_includes_default
16594 int
16595 main ()
16596 {
16597 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16598 test_array [0] = 0
16599
16600 ;
16601 return 0;
16602 }
16603 _ACEOF
16604 rm -f conftest.$ac_objext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>conftest.er1
16607 ac_status=$?
16608 grep -v '^ *+' conftest.er1 >conftest.err
16609 rm -f conftest.er1
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } &&
16613 { ac_try='test -z "$ac_c_werror_flag"
16614 || test ! -s conftest.err'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try='test -s conftest.$ac_objext'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; }; then
16626 ac_hi=-1 ac_mid=-1
16627 while :; do
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 $ac_includes_default
16635 int
16636 main ()
16637 {
16638 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16639 test_array [0] = 0
16640
16641 ;
16642 return 0;
16643 }
16644 _ACEOF
16645 rm -f conftest.$ac_objext
16646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16647 (eval $ac_compile) 2>conftest.er1
16648 ac_status=$?
16649 grep -v '^ *+' conftest.er1 >conftest.err
16650 rm -f conftest.er1
16651 cat conftest.err >&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try='test -z "$ac_c_werror_flag"
16655 || test ! -s conftest.err'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16658 ac_status=$?
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; } &&
16661 { ac_try='test -s conftest.$ac_objext'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 ac_lo=$ac_mid; break
16668 else
16669 echo "$as_me: failed program was:" >&5
16670 sed 's/^/| /' conftest.$ac_ext >&5
16671
16672 ac_hi=`expr '(' $ac_mid ')' - 1`
16673 if test $ac_mid -le $ac_hi; then
16674 ac_lo= ac_hi=
16675 break
16676 fi
16677 ac_mid=`expr 2 '*' $ac_mid`
16678 fi
16679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16680 done
16681 else
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16684
16685 ac_lo= ac_hi=
16686 fi
16687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16688 fi
16689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16690 # Binary search between lo and hi bounds.
16691 while test "x$ac_lo" != "x$ac_hi"; do
16692 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16693 cat >conftest.$ac_ext <<_ACEOF
16694 /* confdefs.h. */
16695 _ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699 $ac_includes_default
16700 int
16701 main ()
16702 {
16703 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16704 test_array [0] = 0
16705
16706 ;
16707 return 0;
16708 }
16709 _ACEOF
16710 rm -f conftest.$ac_objext
16711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16712 (eval $ac_compile) 2>conftest.er1
16713 ac_status=$?
16714 grep -v '^ *+' conftest.er1 >conftest.err
16715 rm -f conftest.er1
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } &&
16719 { ac_try='test -z "$ac_c_werror_flag"
16720 || test ! -s conftest.err'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16723 ac_status=$?
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; } &&
16726 { ac_try='test -s conftest.$ac_objext'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16729 ac_status=$?
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; }; then
16732 ac_hi=$ac_mid
16733 else
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16736
16737 ac_lo=`expr '(' $ac_mid ')' + 1`
16738 fi
16739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16740 done
16741 case $ac_lo in
16742 ?*) ac_cv_sizeof_long=$ac_lo;;
16743 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16744 See \`config.log' for more details." >&5
16745 echo "$as_me: error: cannot compute sizeof (long), 77
16746 See \`config.log' for more details." >&2;}
16747 { (exit 1); exit 1; }; } ;;
16748 esac
16749 else
16750 if test "$cross_compiling" = yes; then
16751 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16752 See \`config.log' for more details." >&5
16753 echo "$as_me: error: cannot run test program while cross compiling
16754 See \`config.log' for more details." >&2;}
16755 { (exit 1); exit 1; }; }
16756 else
16757 cat >conftest.$ac_ext <<_ACEOF
16758 /* confdefs.h. */
16759 _ACEOF
16760 cat confdefs.h >>conftest.$ac_ext
16761 cat >>conftest.$ac_ext <<_ACEOF
16762 /* end confdefs.h. */
16763 $ac_includes_default
16764 long longval () { return (long) (sizeof (long)); }
16765 unsigned long ulongval () { return (long) (sizeof (long)); }
16766 #include <stdio.h>
16767 #include <stdlib.h>
16768 int
16769 main ()
16770 {
16771
16772 FILE *f = fopen ("conftest.val", "w");
16773 if (! f)
16774 exit (1);
16775 if (((long) (sizeof (long))) < 0)
16776 {
16777 long i = longval ();
16778 if (i != ((long) (sizeof (long))))
16779 exit (1);
16780 fprintf (f, "%ld\n", i);
16781 }
16782 else
16783 {
16784 unsigned long i = ulongval ();
16785 if (i != ((long) (sizeof (long))))
16786 exit (1);
16787 fprintf (f, "%lu\n", i);
16788 }
16789 exit (ferror (f) || fclose (f) != 0);
16790
16791 ;
16792 return 0;
16793 }
16794 _ACEOF
16795 rm -f conftest$ac_exeext
16796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16797 (eval $ac_link) 2>&5
16798 ac_status=$?
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16802 (eval $ac_try) 2>&5
16803 ac_status=$?
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); }; }; then
16806 ac_cv_sizeof_long=`cat conftest.val`
16807 else
16808 echo "$as_me: program exited with status $ac_status" >&5
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.$ac_ext >&5
16811
16812 ( exit $ac_status )
16813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16814 See \`config.log' for more details." >&5
16815 echo "$as_me: error: cannot compute sizeof (long), 77
16816 See \`config.log' for more details." >&2;}
16817 { (exit 1); exit 1; }; }
16818 fi
16819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16820 fi
16821 fi
16822 rm -f conftest.val
16823 else
16824 ac_cv_sizeof_long=0
16825 fi
16826 fi
16827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16828 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16829 cat >>confdefs.h <<_ACEOF
16830 #define SIZEOF_LONG $ac_cv_sizeof_long
16831 _ACEOF
16832
16833
16834 echo "$as_me:$LINENO: checking for size_t" >&5
16835 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16836 if test "${ac_cv_type_size_t+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 else
16839 cat >conftest.$ac_ext <<_ACEOF
16840 /* confdefs.h. */
16841 _ACEOF
16842 cat confdefs.h >>conftest.$ac_ext
16843 cat >>conftest.$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845 $ac_includes_default
16846 int
16847 main ()
16848 {
16849 if ((size_t *) 0)
16850 return 0;
16851 if (sizeof (size_t))
16852 return 0;
16853 ;
16854 return 0;
16855 }
16856 _ACEOF
16857 rm -f conftest.$ac_objext
16858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16859 (eval $ac_compile) 2>conftest.er1
16860 ac_status=$?
16861 grep -v '^ *+' conftest.er1 >conftest.err
16862 rm -f conftest.er1
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } &&
16866 { ac_try='test -z "$ac_c_werror_flag"
16867 || test ! -s conftest.err'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; } &&
16873 { ac_try='test -s conftest.$ac_objext'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16876 ac_status=$?
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; }; then
16879 ac_cv_type_size_t=yes
16880 else
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.$ac_ext >&5
16883
16884 ac_cv_type_size_t=no
16885 fi
16886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16887 fi
16888 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16889 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16890
16891 echo "$as_me:$LINENO: checking size of size_t" >&5
16892 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16893 if test "${ac_cv_sizeof_size_t+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16896 if test "$ac_cv_type_size_t" = yes; then
16897 # The cast to unsigned long works around a bug in the HP C Compiler
16898 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16899 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16900 # This bug is HP SR number 8606223364.
16901 if test "$cross_compiling" = yes; then
16902 # Depending upon the size, compute the lo and hi bounds.
16903 cat >conftest.$ac_ext <<_ACEOF
16904 /* confdefs.h. */
16905 _ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 $ac_includes_default
16910 int
16911 main ()
16912 {
16913 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16914 test_array [0] = 0
16915
16916 ;
16917 return 0;
16918 }
16919 _ACEOF
16920 rm -f conftest.$ac_objext
16921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16922 (eval $ac_compile) 2>conftest.er1
16923 ac_status=$?
16924 grep -v '^ *+' conftest.er1 >conftest.err
16925 rm -f conftest.er1
16926 cat conftest.err >&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } &&
16929 { ac_try='test -z "$ac_c_werror_flag"
16930 || test ! -s conftest.err'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; } &&
16936 { ac_try='test -s conftest.$ac_objext'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; }; then
16942 ac_lo=0 ac_mid=0
16943 while :; do
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16951 int
16952 main ()
16953 {
16954 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16955 test_array [0] = 0
16956
16957 ;
16958 return 0;
16959 }
16960 _ACEOF
16961 rm -f conftest.$ac_objext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16963 (eval $ac_compile) 2>conftest.er1
16964 ac_status=$?
16965 grep -v '^ *+' conftest.er1 >conftest.err
16966 rm -f conftest.er1
16967 cat conftest.err >&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); } &&
16970 { ac_try='test -z "$ac_c_werror_flag"
16971 || test ! -s conftest.err'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16974 ac_status=$?
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; } &&
16977 { ac_try='test -s conftest.$ac_objext'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; }; then
16983 ac_hi=$ac_mid; break
16984 else
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 ac_lo=`expr $ac_mid + 1`
16989 if test $ac_lo -le $ac_mid; then
16990 ac_lo= ac_hi=
16991 break
16992 fi
16993 ac_mid=`expr 2 '*' $ac_mid + 1`
16994 fi
16995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16996 done
16997 else
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.$ac_ext >&5
17000
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17008 int
17009 main ()
17010 {
17011 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17012 test_array [0] = 0
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try='test -z "$ac_c_werror_flag"
17028 || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17031 ac_status=$?
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try='test -s conftest.$ac_objext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17037 ac_status=$?
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_hi=-1 ac_mid=-1
17041 while :; do
17042 cat >conftest.$ac_ext <<_ACEOF
17043 /* confdefs.h. */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 $ac_includes_default
17049 int
17050 main ()
17051 {
17052 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17053 test_array [0] = 0
17054
17055 ;
17056 return 0;
17057 }
17058 _ACEOF
17059 rm -f conftest.$ac_objext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17061 (eval $ac_compile) 2>conftest.er1
17062 ac_status=$?
17063 grep -v '^ *+' conftest.er1 >conftest.err
17064 rm -f conftest.er1
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } &&
17068 { ac_try='test -z "$ac_c_werror_flag"
17069 || test ! -s conftest.err'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17072 ac_status=$?
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; } &&
17075 { ac_try='test -s conftest.$ac_objext'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17078 ac_status=$?
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; }; then
17081 ac_lo=$ac_mid; break
17082 else
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17085
17086 ac_hi=`expr '(' $ac_mid ')' - 1`
17087 if test $ac_mid -le $ac_hi; then
17088 ac_lo= ac_hi=
17089 break
17090 fi
17091 ac_mid=`expr 2 '*' $ac_mid`
17092 fi
17093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17094 done
17095 else
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.$ac_ext >&5
17098
17099 ac_lo= ac_hi=
17100 fi
17101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17102 fi
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17104 # Binary search between lo and hi bounds.
17105 while test "x$ac_lo" != "x$ac_hi"; do
17106 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17107 cat >conftest.$ac_ext <<_ACEOF
17108 /* confdefs.h. */
17109 _ACEOF
17110 cat confdefs.h >>conftest.$ac_ext
17111 cat >>conftest.$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113 $ac_includes_default
17114 int
17115 main ()
17116 {
17117 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17118 test_array [0] = 0
17119
17120 ;
17121 return 0;
17122 }
17123 _ACEOF
17124 rm -f conftest.$ac_objext
17125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17126 (eval $ac_compile) 2>conftest.er1
17127 ac_status=$?
17128 grep -v '^ *+' conftest.er1 >conftest.err
17129 rm -f conftest.er1
17130 cat conftest.err >&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); } &&
17133 { ac_try='test -z "$ac_c_werror_flag"
17134 || test ! -s conftest.err'
17135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17136 (eval $ac_try) 2>&5
17137 ac_status=$?
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; } &&
17140 { ac_try='test -s conftest.$ac_objext'
17141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17142 (eval $ac_try) 2>&5
17143 ac_status=$?
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); }; }; then
17146 ac_hi=$ac_mid
17147 else
17148 echo "$as_me: failed program was:" >&5
17149 sed 's/^/| /' conftest.$ac_ext >&5
17150
17151 ac_lo=`expr '(' $ac_mid ')' + 1`
17152 fi
17153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17154 done
17155 case $ac_lo in
17156 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17157 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17158 See \`config.log' for more details." >&5
17159 echo "$as_me: error: cannot compute sizeof (size_t), 77
17160 See \`config.log' for more details." >&2;}
17161 { (exit 1); exit 1; }; } ;;
17162 esac
17163 else
17164 if test "$cross_compiling" = yes; then
17165 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17166 See \`config.log' for more details." >&5
17167 echo "$as_me: error: cannot run test program while cross compiling
17168 See \`config.log' for more details." >&2;}
17169 { (exit 1); exit 1; }; }
17170 else
17171 cat >conftest.$ac_ext <<_ACEOF
17172 /* confdefs.h. */
17173 _ACEOF
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177 $ac_includes_default
17178 long longval () { return (long) (sizeof (size_t)); }
17179 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17180 #include <stdio.h>
17181 #include <stdlib.h>
17182 int
17183 main ()
17184 {
17185
17186 FILE *f = fopen ("conftest.val", "w");
17187 if (! f)
17188 exit (1);
17189 if (((long) (sizeof (size_t))) < 0)
17190 {
17191 long i = longval ();
17192 if (i != ((long) (sizeof (size_t))))
17193 exit (1);
17194 fprintf (f, "%ld\n", i);
17195 }
17196 else
17197 {
17198 unsigned long i = ulongval ();
17199 if (i != ((long) (sizeof (size_t))))
17200 exit (1);
17201 fprintf (f, "%lu\n", i);
17202 }
17203 exit (ferror (f) || fclose (f) != 0);
17204
17205 ;
17206 return 0;
17207 }
17208 _ACEOF
17209 rm -f conftest$ac_exeext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17211 (eval $ac_link) 2>&5
17212 ac_status=$?
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17217 ac_status=$?
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; }; then
17220 ac_cv_sizeof_size_t=`cat conftest.val`
17221 else
17222 echo "$as_me: program exited with status $ac_status" >&5
17223 echo "$as_me: failed program was:" >&5
17224 sed 's/^/| /' conftest.$ac_ext >&5
17225
17226 ( exit $ac_status )
17227 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17228 See \`config.log' for more details." >&5
17229 echo "$as_me: error: cannot compute sizeof (size_t), 77
17230 See \`config.log' for more details." >&2;}
17231 { (exit 1); exit 1; }; }
17232 fi
17233 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17234 fi
17235 fi
17236 rm -f conftest.val
17237 else
17238 ac_cv_sizeof_size_t=0
17239 fi
17240 fi
17241 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17242 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17243 cat >>confdefs.h <<_ACEOF
17244 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17245 _ACEOF
17246
17247
17248
17249 case "${host}" in
17250 arm-*-linux* )
17251 echo "$as_me:$LINENO: checking for long long" >&5
17252 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17253 if test "${ac_cv_type_long_long+set}" = set; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 else
17256 cat >conftest.$ac_ext <<_ACEOF
17257 /* confdefs.h. */
17258 _ACEOF
17259 cat confdefs.h >>conftest.$ac_ext
17260 cat >>conftest.$ac_ext <<_ACEOF
17261 /* end confdefs.h. */
17262 $ac_includes_default
17263 int
17264 main ()
17265 {
17266 if ((long long *) 0)
17267 return 0;
17268 if (sizeof (long long))
17269 return 0;
17270 ;
17271 return 0;
17272 }
17273 _ACEOF
17274 rm -f conftest.$ac_objext
17275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17276 (eval $ac_compile) 2>conftest.er1
17277 ac_status=$?
17278 grep -v '^ *+' conftest.er1 >conftest.err
17279 rm -f conftest.er1
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } &&
17283 { ac_try='test -z "$ac_c_werror_flag"
17284 || test ! -s conftest.err'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17287 ac_status=$?
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; } &&
17290 { ac_try='test -s conftest.$ac_objext'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17293 ac_status=$?
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; }; then
17296 ac_cv_type_long_long=yes
17297 else
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17300
17301 ac_cv_type_long_long=no
17302 fi
17303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17304 fi
17305 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17306 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17307
17308 echo "$as_me:$LINENO: checking size of long long" >&5
17309 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17310 if test "${ac_cv_sizeof_long_long+set}" = set; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 else
17313 if test "$ac_cv_type_long_long" = yes; then
17314 # The cast to unsigned long works around a bug in the HP C Compiler
17315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17317 # This bug is HP SR number 8606223364.
17318 if test "$cross_compiling" = yes; then
17319 # Depending upon the size, compute the lo and hi bounds.
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 $ac_includes_default
17327 int
17328 main ()
17329 {
17330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17331 test_array [0] = 0
17332
17333 ;
17334 return 0;
17335 }
17336 _ACEOF
17337 rm -f conftest.$ac_objext
17338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17339 (eval $ac_compile) 2>conftest.er1
17340 ac_status=$?
17341 grep -v '^ *+' conftest.er1 >conftest.err
17342 rm -f conftest.er1
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } &&
17346 { ac_try='test -z "$ac_c_werror_flag"
17347 || test ! -s conftest.err'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17350 ac_status=$?
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; } &&
17353 { ac_try='test -s conftest.$ac_objext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17359 ac_lo=0 ac_mid=0
17360 while :; do
17361 cat >conftest.$ac_ext <<_ACEOF
17362 /* confdefs.h. */
17363 _ACEOF
17364 cat confdefs.h >>conftest.$ac_ext
17365 cat >>conftest.$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17367 $ac_includes_default
17368 int
17369 main ()
17370 {
17371 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17372 test_array [0] = 0
17373
17374 ;
17375 return 0;
17376 }
17377 _ACEOF
17378 rm -f conftest.$ac_objext
17379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17380 (eval $ac_compile) 2>conftest.er1
17381 ac_status=$?
17382 grep -v '^ *+' conftest.er1 >conftest.err
17383 rm -f conftest.er1
17384 cat conftest.err >&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); } &&
17387 { ac_try='test -z "$ac_c_werror_flag"
17388 || test ! -s conftest.err'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; } &&
17394 { ac_try='test -s conftest.$ac_objext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17397 ac_status=$?
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 ac_hi=$ac_mid; break
17401 else
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.$ac_ext >&5
17404
17405 ac_lo=`expr $ac_mid + 1`
17406 if test $ac_lo -le $ac_mid; then
17407 ac_lo= ac_hi=
17408 break
17409 fi
17410 ac_mid=`expr 2 '*' $ac_mid + 1`
17411 fi
17412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17413 done
17414 else
17415 echo "$as_me: failed program was:" >&5
17416 sed 's/^/| /' conftest.$ac_ext >&5
17417
17418 cat >conftest.$ac_ext <<_ACEOF
17419 /* confdefs.h. */
17420 _ACEOF
17421 cat confdefs.h >>conftest.$ac_ext
17422 cat >>conftest.$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 $ac_includes_default
17425 int
17426 main ()
17427 {
17428 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17429 test_array [0] = 0
17430
17431 ;
17432 return 0;
17433 }
17434 _ACEOF
17435 rm -f conftest.$ac_objext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17437 (eval $ac_compile) 2>conftest.er1
17438 ac_status=$?
17439 grep -v '^ *+' conftest.er1 >conftest.err
17440 rm -f conftest.er1
17441 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } &&
17444 { ac_try='test -z "$ac_c_werror_flag"
17445 || test ! -s conftest.err'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17448 ac_status=$?
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; } &&
17451 { ac_try='test -s conftest.$ac_objext'
17452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17453 (eval $ac_try) 2>&5
17454 ac_status=$?
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); }; }; then
17457 ac_hi=-1 ac_mid=-1
17458 while :; do
17459 cat >conftest.$ac_ext <<_ACEOF
17460 /* confdefs.h. */
17461 _ACEOF
17462 cat confdefs.h >>conftest.$ac_ext
17463 cat >>conftest.$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17465 $ac_includes_default
17466 int
17467 main ()
17468 {
17469 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17470 test_array [0] = 0
17471
17472 ;
17473 return 0;
17474 }
17475 _ACEOF
17476 rm -f conftest.$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478 (eval $ac_compile) 2>conftest.er1
17479 ac_status=$?
17480 grep -v '^ *+' conftest.er1 >conftest.err
17481 rm -f conftest.er1
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } &&
17485 { ac_try='test -z "$ac_c_werror_flag"
17486 || test ! -s conftest.err'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17489 ac_status=$?
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; } &&
17492 { ac_try='test -s conftest.$ac_objext'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17495 ac_status=$?
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; }; then
17498 ac_lo=$ac_mid; break
17499 else
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17502
17503 ac_hi=`expr '(' $ac_mid ')' - 1`
17504 if test $ac_mid -le $ac_hi; then
17505 ac_lo= ac_hi=
17506 break
17507 fi
17508 ac_mid=`expr 2 '*' $ac_mid`
17509 fi
17510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17511 done
17512 else
17513 echo "$as_me: failed program was:" >&5
17514 sed 's/^/| /' conftest.$ac_ext >&5
17515
17516 ac_lo= ac_hi=
17517 fi
17518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17519 fi
17520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 # Binary search between lo and hi bounds.
17522 while test "x$ac_lo" != "x$ac_hi"; do
17523 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17524 cat >conftest.$ac_ext <<_ACEOF
17525 /* confdefs.h. */
17526 _ACEOF
17527 cat confdefs.h >>conftest.$ac_ext
17528 cat >>conftest.$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17530 $ac_includes_default
17531 int
17532 main ()
17533 {
17534 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17535 test_array [0] = 0
17536
17537 ;
17538 return 0;
17539 }
17540 _ACEOF
17541 rm -f conftest.$ac_objext
17542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17543 (eval $ac_compile) 2>conftest.er1
17544 ac_status=$?
17545 grep -v '^ *+' conftest.er1 >conftest.err
17546 rm -f conftest.er1
17547 cat conftest.err >&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } &&
17550 { ac_try='test -z "$ac_c_werror_flag"
17551 || test ! -s conftest.err'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17554 ac_status=$?
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; } &&
17557 { ac_try='test -s conftest.$ac_objext'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17560 ac_status=$?
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17563 ac_hi=$ac_mid
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17567
17568 ac_lo=`expr '(' $ac_mid ')' + 1`
17569 fi
17570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17571 done
17572 case $ac_lo in
17573 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17574 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17575 See \`config.log' for more details." >&5
17576 echo "$as_me: error: cannot compute sizeof (long long), 77
17577 See \`config.log' for more details." >&2;}
17578 { (exit 1); exit 1; }; } ;;
17579 esac
17580 else
17581 if test "$cross_compiling" = yes; then
17582 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17583 See \`config.log' for more details." >&5
17584 echo "$as_me: error: cannot run test program while cross compiling
17585 See \`config.log' for more details." >&2;}
17586 { (exit 1); exit 1; }; }
17587 else
17588 cat >conftest.$ac_ext <<_ACEOF
17589 /* confdefs.h. */
17590 _ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 $ac_includes_default
17595 long longval () { return (long) (sizeof (long long)); }
17596 unsigned long ulongval () { return (long) (sizeof (long long)); }
17597 #include <stdio.h>
17598 #include <stdlib.h>
17599 int
17600 main ()
17601 {
17602
17603 FILE *f = fopen ("conftest.val", "w");
17604 if (! f)
17605 exit (1);
17606 if (((long) (sizeof (long long))) < 0)
17607 {
17608 long i = longval ();
17609 if (i != ((long) (sizeof (long long))))
17610 exit (1);
17611 fprintf (f, "%ld\n", i);
17612 }
17613 else
17614 {
17615 unsigned long i = ulongval ();
17616 if (i != ((long) (sizeof (long long))))
17617 exit (1);
17618 fprintf (f, "%lu\n", i);
17619 }
17620 exit (ferror (f) || fclose (f) != 0);
17621
17622 ;
17623 return 0;
17624 }
17625 _ACEOF
17626 rm -f conftest$ac_exeext
17627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17628 (eval $ac_link) 2>&5
17629 ac_status=$?
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17634 ac_status=$?
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; }; then
17637 ac_cv_sizeof_long_long=`cat conftest.val`
17638 else
17639 echo "$as_me: program exited with status $ac_status" >&5
17640 echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.$ac_ext >&5
17642
17643 ( exit $ac_status )
17644 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17645 See \`config.log' for more details." >&5
17646 echo "$as_me: error: cannot compute sizeof (long long), 77
17647 See \`config.log' for more details." >&2;}
17648 { (exit 1); exit 1; }; }
17649 fi
17650 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17651 fi
17652 fi
17653 rm -f conftest.val
17654 else
17655 ac_cv_sizeof_long_long=0
17656 fi
17657 fi
17658 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17659 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17660 cat >>confdefs.h <<_ACEOF
17661 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17662 _ACEOF
17663
17664
17665 ;;
17666 *-hp-hpux* )
17667 echo "$as_me:$LINENO: checking for long long" >&5
17668 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17669 if test "${ac_cv_type_long_long+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 else
17672 cat >conftest.$ac_ext <<_ACEOF
17673 /* confdefs.h. */
17674 _ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17678 $ac_includes_default
17679 int
17680 main ()
17681 {
17682 if ((long long *) 0)
17683 return 0;
17684 if (sizeof (long long))
17685 return 0;
17686 ;
17687 return 0;
17688 }
17689 _ACEOF
17690 rm -f conftest.$ac_objext
17691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17692 (eval $ac_compile) 2>conftest.er1
17693 ac_status=$?
17694 grep -v '^ *+' conftest.er1 >conftest.err
17695 rm -f conftest.er1
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } &&
17699 { ac_try='test -z "$ac_c_werror_flag"
17700 || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17703 ac_status=$?
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try='test -s conftest.$ac_objext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 ac_cv_type_long_long=yes
17713 else
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.$ac_ext >&5
17716
17717 ac_cv_type_long_long=no
17718 fi
17719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17720 fi
17721 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17722 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17723
17724 echo "$as_me:$LINENO: checking size of long long" >&5
17725 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17726 if test "${ac_cv_sizeof_long_long+set}" = set; then
17727 echo $ECHO_N "(cached) $ECHO_C" >&6
17728 else
17729 if test "$ac_cv_type_long_long" = yes; then
17730 # The cast to unsigned long works around a bug in the HP C Compiler
17731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17733 # This bug is HP SR number 8606223364.
17734 if test "$cross_compiling" = yes; then
17735 # Depending upon the size, compute the lo and hi bounds.
17736 cat >conftest.$ac_ext <<_ACEOF
17737 /* confdefs.h. */
17738 _ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 $ac_includes_default
17743 int
17744 main ()
17745 {
17746 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17747 test_array [0] = 0
17748
17749 ;
17750 return 0;
17751 }
17752 _ACEOF
17753 rm -f conftest.$ac_objext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755 (eval $ac_compile) 2>conftest.er1
17756 ac_status=$?
17757 grep -v '^ *+' conftest.er1 >conftest.err
17758 rm -f conftest.er1
17759 cat conftest.err >&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); } &&
17762 { ac_try='test -z "$ac_c_werror_flag"
17763 || test ! -s conftest.err'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; } &&
17769 { ac_try='test -s conftest.$ac_objext'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17772 ac_status=$?
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17775 ac_lo=0 ac_mid=0
17776 while :; do
17777 cat >conftest.$ac_ext <<_ACEOF
17778 /* confdefs.h. */
17779 _ACEOF
17780 cat confdefs.h >>conftest.$ac_ext
17781 cat >>conftest.$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783 $ac_includes_default
17784 int
17785 main ()
17786 {
17787 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17788 test_array [0] = 0
17789
17790 ;
17791 return 0;
17792 }
17793 _ACEOF
17794 rm -f conftest.$ac_objext
17795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17796 (eval $ac_compile) 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } &&
17803 { ac_try='test -z "$ac_c_werror_flag"
17804 || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17813 ac_status=$?
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_hi=$ac_mid; break
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17820
17821 ac_lo=`expr $ac_mid + 1`
17822 if test $ac_lo -le $ac_mid; then
17823 ac_lo= ac_hi=
17824 break
17825 fi
17826 ac_mid=`expr 2 '*' $ac_mid + 1`
17827 fi
17828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17829 done
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 cat >conftest.$ac_ext <<_ACEOF
17835 /* confdefs.h. */
17836 _ACEOF
17837 cat confdefs.h >>conftest.$ac_ext
17838 cat >>conftest.$ac_ext <<_ACEOF
17839 /* end confdefs.h. */
17840 $ac_includes_default
17841 int
17842 main ()
17843 {
17844 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17845 test_array [0] = 0
17846
17847 ;
17848 return 0;
17849 }
17850 _ACEOF
17851 rm -f conftest.$ac_objext
17852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17853 (eval $ac_compile) 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } &&
17860 { ac_try='test -z "$ac_c_werror_flag"
17861 || test ! -s conftest.err'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17864 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; } &&
17867 { ac_try='test -s conftest.$ac_objext'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; }; then
17873 ac_hi=-1 ac_mid=-1
17874 while :; do
17875 cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h. */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881 $ac_includes_default
17882 int
17883 main ()
17884 {
17885 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17886 test_array [0] = 0
17887
17888 ;
17889 return 0;
17890 }
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -z "$ac_c_werror_flag"
17902 || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17905 ac_status=$?
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try='test -s conftest.$ac_objext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17914 ac_lo=$ac_mid; break
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17918
17919 ac_hi=`expr '(' $ac_mid ')' - 1`
17920 if test $ac_mid -le $ac_hi; then
17921 ac_lo= ac_hi=
17922 break
17923 fi
17924 ac_mid=`expr 2 '*' $ac_mid`
17925 fi
17926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17927 done
17928 else
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.$ac_ext >&5
17931
17932 ac_lo= ac_hi=
17933 fi
17934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17935 fi
17936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17937 # Binary search between lo and hi bounds.
17938 while test "x$ac_lo" != "x$ac_hi"; do
17939 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h. */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 $ac_includes_default
17947 int
17948 main ()
17949 {
17950 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17951 test_array [0] = 0
17952
17953 ;
17954 return 0;
17955 }
17956 _ACEOF
17957 rm -f conftest.$ac_objext
17958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17959 (eval $ac_compile) 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } &&
17966 { ac_try='test -z "$ac_c_werror_flag"
17967 || test ! -s conftest.err'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17970 ac_status=$?
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; } &&
17973 { ac_try='test -s conftest.$ac_objext'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17976 ac_status=$?
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; }; then
17979 ac_hi=$ac_mid
17980 else
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.$ac_ext >&5
17983
17984 ac_lo=`expr '(' $ac_mid ')' + 1`
17985 fi
17986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17987 done
17988 case $ac_lo in
17989 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17990 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17991 See \`config.log' for more details." >&5
17992 echo "$as_me: error: cannot compute sizeof (long long), 77
17993 See \`config.log' for more details." >&2;}
17994 { (exit 1); exit 1; }; } ;;
17995 esac
17996 else
17997 if test "$cross_compiling" = yes; then
17998 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17999 See \`config.log' for more details." >&5
18000 echo "$as_me: error: cannot run test program while cross compiling
18001 See \`config.log' for more details." >&2;}
18002 { (exit 1); exit 1; }; }
18003 else
18004 cat >conftest.$ac_ext <<_ACEOF
18005 /* confdefs.h. */
18006 _ACEOF
18007 cat confdefs.h >>conftest.$ac_ext
18008 cat >>conftest.$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18010 $ac_includes_default
18011 long longval () { return (long) (sizeof (long long)); }
18012 unsigned long ulongval () { return (long) (sizeof (long long)); }
18013 #include <stdio.h>
18014 #include <stdlib.h>
18015 int
18016 main ()
18017 {
18018
18019 FILE *f = fopen ("conftest.val", "w");
18020 if (! f)
18021 exit (1);
18022 if (((long) (sizeof (long long))) < 0)
18023 {
18024 long i = longval ();
18025 if (i != ((long) (sizeof (long long))))
18026 exit (1);
18027 fprintf (f, "%ld\n", i);
18028 }
18029 else
18030 {
18031 unsigned long i = ulongval ();
18032 if (i != ((long) (sizeof (long long))))
18033 exit (1);
18034 fprintf (f, "%lu\n", i);
18035 }
18036 exit (ferror (f) || fclose (f) != 0);
18037
18038 ;
18039 return 0;
18040 }
18041 _ACEOF
18042 rm -f conftest$ac_exeext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18044 (eval $ac_link) 2>&5
18045 ac_status=$?
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18049 (eval $ac_try) 2>&5
18050 ac_status=$?
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); }; }; then
18053 ac_cv_sizeof_long_long=`cat conftest.val`
18054 else
18055 echo "$as_me: program exited with status $ac_status" >&5
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18058
18059 ( exit $ac_status )
18060 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18061 See \`config.log' for more details." >&5
18062 echo "$as_me: error: cannot compute sizeof (long long), 77
18063 See \`config.log' for more details." >&2;}
18064 { (exit 1); exit 1; }; }
18065 fi
18066 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18067 fi
18068 fi
18069 rm -f conftest.val
18070 else
18071 ac_cv_sizeof_long_long=0
18072 fi
18073 fi
18074 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18075 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18076 cat >>confdefs.h <<_ACEOF
18077 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18078 _ACEOF
18079
18080
18081 if test "$ac_cv_sizeof_long_long" != "0"; then
18082 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18083 fi
18084 ;;
18085 * )
18086 echo "$as_me:$LINENO: checking for long long" >&5
18087 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18088 if test "${ac_cv_type_long_long+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 $ac_includes_default
18098 int
18099 main ()
18100 {
18101 if ((long long *) 0)
18102 return 0;
18103 if (sizeof (long long))
18104 return 0;
18105 ;
18106 return 0;
18107 }
18108 _ACEOF
18109 rm -f conftest.$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try='test -z "$ac_c_werror_flag"
18119 || test ! -s conftest.err'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; } &&
18125 { ac_try='test -s conftest.$ac_objext'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18128 ac_status=$?
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 ac_cv_type_long_long=yes
18132 else
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.$ac_ext >&5
18135
18136 ac_cv_type_long_long=no
18137 fi
18138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18139 fi
18140 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18141 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18142
18143 echo "$as_me:$LINENO: checking size of long long" >&5
18144 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18145 if test "${ac_cv_sizeof_long_long+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18147 else
18148 if test "$ac_cv_type_long_long" = yes; then
18149 # The cast to unsigned long works around a bug in the HP C Compiler
18150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18152 # This bug is HP SR number 8606223364.
18153 if test "$cross_compiling" = yes; then
18154 # Depending upon the size, compute the lo and hi bounds.
18155 cat >conftest.$ac_ext <<_ACEOF
18156 /* confdefs.h. */
18157 _ACEOF
18158 cat confdefs.h >>conftest.$ac_ext
18159 cat >>conftest.$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161 $ac_includes_default
18162 int
18163 main ()
18164 {
18165 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18166 test_array [0] = 0
18167
18168 ;
18169 return 0;
18170 }
18171 _ACEOF
18172 rm -f conftest.$ac_objext
18173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18174 (eval $ac_compile) 2>conftest.er1
18175 ac_status=$?
18176 grep -v '^ *+' conftest.er1 >conftest.err
18177 rm -f conftest.er1
18178 cat conftest.err >&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); } &&
18181 { ac_try='test -z "$ac_c_werror_flag"
18182 || test ! -s conftest.err'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; } &&
18188 { ac_try='test -s conftest.$ac_objext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18191 ac_status=$?
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18194 ac_lo=0 ac_mid=0
18195 while :; do
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18203 int
18204 main ()
18205 {
18206 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18207 test_array [0] = 0
18208
18209 ;
18210 return 0;
18211 }
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 ac_hi=$ac_mid; break
18236 else
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.$ac_ext >&5
18239
18240 ac_lo=`expr $ac_mid + 1`
18241 if test $ac_lo -le $ac_mid; then
18242 ac_lo= ac_hi=
18243 break
18244 fi
18245 ac_mid=`expr 2 '*' $ac_mid + 1`
18246 fi
18247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18248 done
18249 else
18250 echo "$as_me: failed program was:" >&5
18251 sed 's/^/| /' conftest.$ac_ext >&5
18252
18253 cat >conftest.$ac_ext <<_ACEOF
18254 /* confdefs.h. */
18255 _ACEOF
18256 cat confdefs.h >>conftest.$ac_ext
18257 cat >>conftest.$ac_ext <<_ACEOF
18258 /* end confdefs.h. */
18259 $ac_includes_default
18260 int
18261 main ()
18262 {
18263 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18264 test_array [0] = 0
18265
18266 ;
18267 return 0;
18268 }
18269 _ACEOF
18270 rm -f conftest.$ac_objext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18272 (eval $ac_compile) 2>conftest.er1
18273 ac_status=$?
18274 grep -v '^ *+' conftest.er1 >conftest.err
18275 rm -f conftest.er1
18276 cat conftest.err >&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } &&
18279 { ac_try='test -z "$ac_c_werror_flag"
18280 || test ! -s conftest.err'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18283 ac_status=$?
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; } &&
18286 { ac_try='test -s conftest.$ac_objext'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18289 ac_status=$?
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; }; then
18292 ac_hi=-1 ac_mid=-1
18293 while :; do
18294 cat >conftest.$ac_ext <<_ACEOF
18295 /* confdefs.h. */
18296 _ACEOF
18297 cat confdefs.h >>conftest.$ac_ext
18298 cat >>conftest.$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 $ac_includes_default
18301 int
18302 main ()
18303 {
18304 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18305 test_array [0] = 0
18306
18307 ;
18308 return 0;
18309 }
18310 _ACEOF
18311 rm -f conftest.$ac_objext
18312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18313 (eval $ac_compile) 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } &&
18320 { ac_try='test -z "$ac_c_werror_flag"
18321 || test ! -s conftest.err'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; } &&
18327 { ac_try='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 ac_lo=$ac_mid; break
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18337
18338 ac_hi=`expr '(' $ac_mid ')' - 1`
18339 if test $ac_mid -le $ac_hi; then
18340 ac_lo= ac_hi=
18341 break
18342 fi
18343 ac_mid=`expr 2 '*' $ac_mid`
18344 fi
18345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18346 done
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18350
18351 ac_lo= ac_hi=
18352 fi
18353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18354 fi
18355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18356 # Binary search between lo and hi bounds.
18357 while test "x$ac_lo" != "x$ac_hi"; do
18358 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18359 cat >conftest.$ac_ext <<_ACEOF
18360 /* confdefs.h. */
18361 _ACEOF
18362 cat confdefs.h >>conftest.$ac_ext
18363 cat >>conftest.$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 $ac_includes_default
18366 int
18367 main ()
18368 {
18369 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18370 test_array [0] = 0
18371
18372 ;
18373 return 0;
18374 }
18375 _ACEOF
18376 rm -f conftest.$ac_objext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18378 (eval $ac_compile) 2>conftest.er1
18379 ac_status=$?
18380 grep -v '^ *+' conftest.er1 >conftest.err
18381 rm -f conftest.er1
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
18385 { ac_try='test -z "$ac_c_werror_flag"
18386 || test ! -s conftest.err'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; } &&
18392 { ac_try='test -s conftest.$ac_objext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18395 ac_status=$?
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 ac_hi=$ac_mid
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18402
18403 ac_lo=`expr '(' $ac_mid ')' + 1`
18404 fi
18405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18406 done
18407 case $ac_lo in
18408 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18409 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18410 See \`config.log' for more details." >&5
18411 echo "$as_me: error: cannot compute sizeof (long long), 77
18412 See \`config.log' for more details." >&2;}
18413 { (exit 1); exit 1; }; } ;;
18414 esac
18415 else
18416 if test "$cross_compiling" = yes; then
18417 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18418 See \`config.log' for more details." >&5
18419 echo "$as_me: error: cannot run test program while cross compiling
18420 See \`config.log' for more details." >&2;}
18421 { (exit 1); exit 1; }; }
18422 else
18423 cat >conftest.$ac_ext <<_ACEOF
18424 /* confdefs.h. */
18425 _ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429 $ac_includes_default
18430 long longval () { return (long) (sizeof (long long)); }
18431 unsigned long ulongval () { return (long) (sizeof (long long)); }
18432 #include <stdio.h>
18433 #include <stdlib.h>
18434 int
18435 main ()
18436 {
18437
18438 FILE *f = fopen ("conftest.val", "w");
18439 if (! f)
18440 exit (1);
18441 if (((long) (sizeof (long long))) < 0)
18442 {
18443 long i = longval ();
18444 if (i != ((long) (sizeof (long long))))
18445 exit (1);
18446 fprintf (f, "%ld\n", i);
18447 }
18448 else
18449 {
18450 unsigned long i = ulongval ();
18451 if (i != ((long) (sizeof (long long))))
18452 exit (1);
18453 fprintf (f, "%lu\n", i);
18454 }
18455 exit (ferror (f) || fclose (f) != 0);
18456
18457 ;
18458 return 0;
18459 }
18460 _ACEOF
18461 rm -f conftest$ac_exeext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18463 (eval $ac_link) 2>&5
18464 ac_status=$?
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_cv_sizeof_long_long=`cat conftest.val`
18473 else
18474 echo "$as_me: program exited with status $ac_status" >&5
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18477
18478 ( exit $ac_status )
18479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18480 See \`config.log' for more details." >&5
18481 echo "$as_me: error: cannot compute sizeof (long long), 77
18482 See \`config.log' for more details." >&2;}
18483 { (exit 1); exit 1; }; }
18484 fi
18485 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18486 fi
18487 fi
18488 rm -f conftest.val
18489 else
18490 ac_cv_sizeof_long_long=0
18491 fi
18492 fi
18493 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18494 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18495 cat >>confdefs.h <<_ACEOF
18496 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18497 _ACEOF
18498
18499
18500 esac
18501
18502 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18503 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18504 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 else
18507
18508 if test "$cross_compiling" = yes; then
18509
18510 case "${host}" in
18511 *-pc-msdosdjgpp )
18512 wx_cv_sizeof_wchar_t=0
18513 ;;
18514 * )
18515 wx_cv_sizeof_wchar_t=4
18516 ;;
18517 esac
18518
18519
18520 else
18521 cat >conftest.$ac_ext <<_ACEOF
18522 /* confdefs.h. */
18523 _ACEOF
18524 cat confdefs.h >>conftest.$ac_ext
18525 cat >>conftest.$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18527
18528 /* DJGPP only has fake wchar_t: */
18529 #ifdef __DJGPP__
18530 # error "fake wchar_t"
18531 #endif
18532 #ifdef HAVE_WCHAR_H
18533 # ifdef __CYGWIN__
18534 # include <stddef.h>
18535 # endif
18536 # include <wchar.h>
18537 #endif
18538 #ifdef HAVE_STDLIB_H
18539 # include <stdlib.h>
18540 #endif
18541 #include <stdio.h>
18542 int main()
18543 {
18544 FILE *f=fopen("conftestval", "w");
18545 if (!f) exit(1);
18546 fprintf(f, "%i", sizeof(wchar_t));
18547 exit(0);
18548 }
18549
18550 _ACEOF
18551 rm -f conftest$ac_exeext
18552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18553 (eval $ac_link) 2>&5
18554 ac_status=$?
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18558 (eval $ac_try) 2>&5
18559 ac_status=$?
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); }; }; then
18562 wx_cv_sizeof_wchar_t=`cat conftestval`
18563 else
18564 echo "$as_me: program exited with status $ac_status" >&5
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18567
18568 ( exit $ac_status )
18569 wx_cv_sizeof_wchar_t=0
18570 fi
18571 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18572 fi
18573
18574 fi
18575 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18576 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18577
18578 cat >>confdefs.h <<_ACEOF
18579 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18580 _ACEOF
18581
18582
18583 echo "$as_me:$LINENO: checking for va_copy" >&5
18584 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18585 if test "${wx_cv_func_va_copy+set}" = set; then
18586 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 else
18588
18589 cat >conftest.$ac_ext <<_ACEOF
18590
18591 #include <stdarg.h>
18592 void foo(char *f, ...)
18593 {
18594 va_list ap1, ap2;
18595 va_start(ap1, f);
18596 va_copy(ap2, ap1);
18597 va_end(ap2);
18598 va_end(ap1);
18599 }
18600 int main()
18601 {
18602 foo("hi", 17);
18603 return 0;
18604 }
18605 _ACEOF
18606 rm -f conftest.$ac_objext conftest$ac_exeext
18607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18608 (eval $ac_link) 2>conftest.er1
18609 ac_status=$?
18610 grep -v '^ *+' conftest.er1 >conftest.err
18611 rm -f conftest.er1
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } &&
18615 { ac_try='test -z "$ac_c_werror_flag"
18616 || test ! -s conftest.err'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; } &&
18622 { ac_try='test -s conftest$ac_exeext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18625 ac_status=$?
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 wx_cv_func_va_copy=yes
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18632
18633 wx_cv_func_va_copy=no
18634
18635 fi
18636 rm -f conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18638
18639
18640 fi
18641 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18642 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18643
18644 if test $wx_cv_func_va_copy = "yes"; then
18645 cat >>confdefs.h <<\_ACEOF
18646 #define HAVE_VA_COPY 1
18647 _ACEOF
18648
18649 else
18650 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18651 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18652 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655
18656 if test "$cross_compiling" = yes; then
18657 wx_cv_type_va_list_lvalue=yes
18658
18659 else
18660 cat >conftest.$ac_ext <<_ACEOF
18661
18662 #include <stdarg.h>
18663 int foo(char *f, ...)
18664 {
18665 va_list ap1, ap2;
18666 va_start(ap1, f);
18667 ap2 = ap1;
18668 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18669 return 1;
18670 va_end(ap2);
18671 va_end(ap1);
18672 return 0;
18673 }
18674 int main()
18675 {
18676 return foo("hi", 17);
18677 }
18678 _ACEOF
18679 rm -f conftest$ac_exeext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18681 (eval $ac_link) 2>&5
18682 ac_status=$?
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; }; then
18690 wx_cv_type_va_list_lvalue=yes
18691 else
18692 echo "$as_me: program exited with status $ac_status" >&5
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.$ac_ext >&5
18695
18696 ( exit $ac_status )
18697 wx_cv_type_va_list_lvalue=no
18698 fi
18699 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18700 fi
18701
18702
18703 fi
18704 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18705 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18706
18707 if test $wx_cv_type_va_list_lvalue != "yes"; then
18708 cat >>confdefs.h <<\_ACEOF
18709 #define VA_LIST_IS_ARRAY 1
18710 _ACEOF
18711
18712 fi
18713 fi
18714
18715 # Check whether --enable-largefile or --disable-largefile was given.
18716 if test "${enable_largefile+set}" = set; then
18717 enableval="$enable_largefile"
18718
18719 fi;
18720 if test "$enable_largefile" != no; then
18721 wx_largefile=no
18722
18723 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18724 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18725 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 else
18728
18729 cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h. */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 #define _FILE_OFFSET_BITS 64
18736 #include <sys/types.h>
18737 int
18738 main ()
18739 {
18740 typedef struct {
18741 unsigned int field: sizeof(off_t) == 8;
18742 } wxlf;
18743
18744 ;
18745 return 0;
18746 }
18747 _ACEOF
18748 rm -f conftest.$ac_objext
18749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18750 (eval $ac_compile) 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try='test -z "$ac_c_werror_flag"
18758 || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18761 ac_status=$?
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 ac_cv_sys_file_offset_bits=64
18771 else
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18774
18775 ac_cv_sys_file_offset_bits=no
18776 fi
18777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18778
18779
18780 fi
18781 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18782 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18783
18784 if test "$ac_cv_sys_file_offset_bits" != no; then
18785 wx_largefile=yes
18786 cat >>confdefs.h <<_ACEOF
18787 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18788 _ACEOF
18789
18790 fi
18791
18792 if test "x$wx_largefile" != "xyes"; then
18793
18794 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18795 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18796 if test "${ac_cv_sys_large_files+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 else
18799
18800 cat >conftest.$ac_ext <<_ACEOF
18801 /* confdefs.h. */
18802 _ACEOF
18803 cat confdefs.h >>conftest.$ac_ext
18804 cat >>conftest.$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 #define _LARGE_FILES 1
18807 #include <sys/types.h>
18808 int
18809 main ()
18810 {
18811 typedef struct {
18812 unsigned int field: sizeof(off_t) == 8;
18813 } wxlf;
18814
18815 ;
18816 return 0;
18817 }
18818 _ACEOF
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18822 ac_status=$?
18823 grep -v '^ *+' conftest.er1 >conftest.err
18824 rm -f conftest.er1
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag"
18829 || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18838 ac_status=$?
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_cv_sys_large_files=1
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 ac_cv_sys_large_files=no
18847 fi
18848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18849
18850
18851 fi
18852 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18853 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18854
18855 if test "$ac_cv_sys_large_files" != no; then
18856 wx_largefile=yes
18857 cat >>confdefs.h <<_ACEOF
18858 #define _LARGE_FILES $ac_cv_sys_large_files
18859 _ACEOF
18860
18861 fi
18862
18863 fi
18864
18865 echo "$as_me:$LINENO: checking if large file support is available" >&5
18866 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18867 if test "x$wx_largefile" = "xyes"; then
18868 cat >>confdefs.h <<\_ACEOF
18869 #define HAVE_LARGEFILE_SUPPORT 1
18870 _ACEOF
18871
18872 fi
18873 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18874 echo "${ECHO_T}$wx_largefile" >&6
18875 fi
18876
18877
18878 if test "x$wx_largefile" = "xyes"; then
18879 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18880 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18881 else
18882 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18883 fi
18884 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18885 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18886 if test "${ac_cv_sys_largefile_source+set}" = set; then
18887 echo $ECHO_N "(cached) $ECHO_C" >&6
18888 else
18889 while :; do
18890 ac_cv_sys_largefile_source=no
18891 cat >conftest.$ac_ext <<_ACEOF
18892 /* confdefs.h. */
18893 _ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18897 #include <stdio.h>
18898 int
18899 main ()
18900 {
18901 return !fseeko;
18902 ;
18903 return 0;
18904 }
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908 (eval $ac_compile) 2>conftest.er1
18909 ac_status=$?
18910 grep -v '^ *+' conftest.er1 >conftest.err
18911 rm -f conftest.er1
18912 cat conftest.err >&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -z "$ac_c_werror_flag"
18916 || test ! -s conftest.err'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18919 ac_status=$?
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; } &&
18922 { ac_try='test -s conftest.$ac_objext'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18925 ac_status=$?
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; }; then
18928 break
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18932
18933 fi
18934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18935 cat >conftest.$ac_ext <<_ACEOF
18936 /* confdefs.h. */
18937 _ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 #define _LARGEFILE_SOURCE 1
18942 #include <stdio.h>
18943 int
18944 main ()
18945 {
18946 return !fseeko;
18947 ;
18948 return 0;
18949 }
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18954 ac_status=$?
18955 grep -v '^ *+' conftest.er1 >conftest.err
18956 rm -f conftest.er1
18957 cat conftest.err >&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try='test -z "$ac_c_werror_flag"
18961 || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_cv_sys_largefile_source=1; break
18974 else
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18977
18978 fi
18979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18980 break
18981 done
18982 fi
18983 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18984 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18985 if test "$ac_cv_sys_largefile_source" != no; then
18986
18987 cat >>confdefs.h <<_ACEOF
18988 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18989 _ACEOF
18990
18991 fi
18992 rm -f conftest*
18993
18994 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18995 # in glibc 2.1.3, but that breaks too many other things.
18996 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18997 echo "$as_me:$LINENO: checking for fseeko" >&5
18998 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18999 if test "${ac_cv_func_fseeko+set}" = set; then
19000 echo $ECHO_N "(cached) $ECHO_C" >&6
19001 else
19002 cat >conftest.$ac_ext <<_ACEOF
19003 /* confdefs.h. */
19004 _ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008 #include <stdio.h>
19009 int
19010 main ()
19011 {
19012 return fseeko && fseeko (stdin, 0, 0);
19013 ;
19014 return 0;
19015 }
19016 _ACEOF
19017 rm -f conftest.$ac_objext conftest$ac_exeext
19018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19019 (eval $ac_link) 2>conftest.er1
19020 ac_status=$?
19021 grep -v '^ *+' conftest.er1 >conftest.err
19022 rm -f conftest.er1
19023 cat conftest.err >&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); } &&
19026 { ac_try='test -z "$ac_c_werror_flag"
19027 || test ! -s conftest.err'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; } &&
19033 { ac_try='test -s conftest$ac_exeext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19039 ac_cv_func_fseeko=yes
19040 else
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19043
19044 ac_cv_func_fseeko=no
19045 fi
19046 rm -f conftest.err conftest.$ac_objext \
19047 conftest$ac_exeext conftest.$ac_ext
19048 fi
19049 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
19050 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
19051 if test $ac_cv_func_fseeko = yes; then
19052
19053 cat >>confdefs.h <<\_ACEOF
19054 #define HAVE_FSEEKO 1
19055 _ACEOF
19056
19057 fi
19058
19059 if test "$ac_cv_sys_largefile_source" != no; then
19060 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
19061 fi
19062 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
19063 fi
19064
19065 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19066 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19067 if test "${ac_cv_c_bigendian+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 ac_cv_c_bigendian=unknown
19071 # See if sys/param.h defines the BYTE_ORDER macro.
19072 cat >conftest.$ac_ext <<_ACEOF
19073 /* confdefs.h. */
19074 _ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 #include <sys/types.h>
19079 #include <sys/param.h>
19080 int
19081 main ()
19082 {
19083
19084 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19085 bogus endian macros
19086 #endif
19087 ;
19088 return 0;
19089 }
19090 _ACEOF
19091 rm -f conftest.$ac_objext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19093 (eval $ac_compile) 2>conftest.er1
19094 ac_status=$?
19095 grep -v '^ *+' conftest.er1 >conftest.err
19096 rm -f conftest.er1
19097 cat conftest.err >&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try='test -z "$ac_c_werror_flag"
19101 || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try='test -s conftest.$ac_objext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 # It does; now see whether it defined to BIG_ENDIAN or not.
19114 cat >conftest.$ac_ext <<_ACEOF
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 #include <sys/types.h>
19121 #include <sys/param.h>
19122 int
19123 main ()
19124 {
19125
19126 #if BYTE_ORDER != BIG_ENDIAN
19127 not big endian
19128 #endif
19129 ;
19130 return 0;
19131 }
19132 _ACEOF
19133 rm -f conftest.$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag"
19143 || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19146 ac_status=$?
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try='test -s conftest.$ac_objext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 ac_cv_c_bigendian=yes
19156 else
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19159
19160 ac_cv_c_bigendian=no
19161 fi
19162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19163 else
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.$ac_ext >&5
19166
19167 fi
19168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19169 if test $ac_cv_c_bigendian = unknown; then
19170 if test "$cross_compiling" = yes; then
19171 ac_cv_c_bigendian=unknown
19172 else
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 main () {
19180 /* Are we little or big endian? From Harbison&Steele. */
19181 union
19182 {
19183 long l;
19184 char c[sizeof (long)];
19185 } u;
19186 u.l = 1;
19187 exit (u.c[sizeof (long) - 1] == 1);
19188 }
19189 _ACEOF
19190 rm -f conftest$ac_exeext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19192 (eval $ac_link) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; }; then
19201 ac_cv_c_bigendian=no
19202 else
19203 echo "$as_me: program exited with status $ac_status" >&5
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19206
19207 ( exit $ac_status )
19208 ac_cv_c_bigendian=yes
19209 fi
19210 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19211 fi
19212 fi
19213 fi
19214 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19215 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19216 if test $ac_cv_c_bigendian = unknown; then
19217 { 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
19218 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;}
19219 fi
19220 if test $ac_cv_c_bigendian = yes; then
19221 cat >>confdefs.h <<\_ACEOF
19222 #define WORDS_BIGENDIAN 1
19223 _ACEOF
19224
19225 fi
19226
19227
19228 ac_ext=cc
19229 ac_cpp='$CXXCPP $CPPFLAGS'
19230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19233 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19234 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19235 if test -z "$CXXCPP"; then
19236 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19237 echo $ECHO_N "(cached) $ECHO_C" >&6
19238 else
19239 # Double quotes because CXXCPP needs to be expanded
19240 for CXXCPP in "$CXX -E" "/lib/cpp"
19241 do
19242 ac_preproc_ok=false
19243 for ac_cxx_preproc_warn_flag in '' yes
19244 do
19245 # Use a header file that comes with gcc, so configuring glibc
19246 # with a fresh cross-compiler works.
19247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19248 # <limits.h> exists even on freestanding compilers.
19249 # On the NeXT, cc -E runs the code through the compiler's parser,
19250 # not just through cpp. "Syntax error" is here to catch this case.
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #ifdef __STDC__
19258 # include <limits.h>
19259 #else
19260 # include <assert.h>
19261 #endif
19262 Syntax error
19263 _ACEOF
19264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } >/dev/null; then
19272 if test -s conftest.err; then
19273 ac_cpp_err=$ac_cxx_preproc_warn_flag
19274 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19275 else
19276 ac_cpp_err=
19277 fi
19278 else
19279 ac_cpp_err=yes
19280 fi
19281 if test -z "$ac_cpp_err"; then
19282 :
19283 else
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19286
19287 # Broken: fails on valid input.
19288 continue
19289 fi
19290 rm -f conftest.err conftest.$ac_ext
19291
19292 # OK, works on sane cases. Now check whether non-existent headers
19293 # can be detected and how.
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #include <ac_nonexistent.h>
19301 _ACEOF
19302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19304 ac_status=$?
19305 grep -v '^ *+' conftest.er1 >conftest.err
19306 rm -f conftest.er1
19307 cat conftest.err >&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } >/dev/null; then
19310 if test -s conftest.err; then
19311 ac_cpp_err=$ac_cxx_preproc_warn_flag
19312 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19313 else
19314 ac_cpp_err=
19315 fi
19316 else
19317 ac_cpp_err=yes
19318 fi
19319 if test -z "$ac_cpp_err"; then
19320 # Broken: success on invalid input.
19321 continue
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19325
19326 # Passes both tests.
19327 ac_preproc_ok=:
19328 break
19329 fi
19330 rm -f conftest.err conftest.$ac_ext
19331
19332 done
19333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19334 rm -f conftest.err conftest.$ac_ext
19335 if $ac_preproc_ok; then
19336 break
19337 fi
19338
19339 done
19340 ac_cv_prog_CXXCPP=$CXXCPP
19341
19342 fi
19343 CXXCPP=$ac_cv_prog_CXXCPP
19344 else
19345 ac_cv_prog_CXXCPP=$CXXCPP
19346 fi
19347 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19348 echo "${ECHO_T}$CXXCPP" >&6
19349 ac_preproc_ok=false
19350 for ac_cxx_preproc_warn_flag in '' yes
19351 do
19352 # Use a header file that comes with gcc, so configuring glibc
19353 # with a fresh cross-compiler works.
19354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19355 # <limits.h> exists even on freestanding compilers.
19356 # On the NeXT, cc -E runs the code through the compiler's parser,
19357 # not just through cpp. "Syntax error" is here to catch this case.
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 #ifdef __STDC__
19365 # include <limits.h>
19366 #else
19367 # include <assert.h>
19368 #endif
19369 Syntax error
19370 _ACEOF
19371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19373 ac_status=$?
19374 grep -v '^ *+' conftest.er1 >conftest.err
19375 rm -f conftest.er1
19376 cat conftest.err >&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } >/dev/null; then
19379 if test -s conftest.err; then
19380 ac_cpp_err=$ac_cxx_preproc_warn_flag
19381 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19382 else
19383 ac_cpp_err=
19384 fi
19385 else
19386 ac_cpp_err=yes
19387 fi
19388 if test -z "$ac_cpp_err"; then
19389 :
19390 else
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19393
19394 # Broken: fails on valid input.
19395 continue
19396 fi
19397 rm -f conftest.err conftest.$ac_ext
19398
19399 # OK, works on sane cases. Now check whether non-existent headers
19400 # can be detected and how.
19401 cat >conftest.$ac_ext <<_ACEOF
19402 /* confdefs.h. */
19403 _ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407 #include <ac_nonexistent.h>
19408 _ACEOF
19409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19411 ac_status=$?
19412 grep -v '^ *+' conftest.er1 >conftest.err
19413 rm -f conftest.er1
19414 cat conftest.err >&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } >/dev/null; then
19417 if test -s conftest.err; then
19418 ac_cpp_err=$ac_cxx_preproc_warn_flag
19419 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19420 else
19421 ac_cpp_err=
19422 fi
19423 else
19424 ac_cpp_err=yes
19425 fi
19426 if test -z "$ac_cpp_err"; then
19427 # Broken: success on invalid input.
19428 continue
19429 else
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.$ac_ext >&5
19432
19433 # Passes both tests.
19434 ac_preproc_ok=:
19435 break
19436 fi
19437 rm -f conftest.err conftest.$ac_ext
19438
19439 done
19440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19441 rm -f conftest.err conftest.$ac_ext
19442 if $ac_preproc_ok; then
19443 :
19444 else
19445 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19446 See \`config.log' for more details." >&5
19447 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19448 See \`config.log' for more details." >&2;}
19449 { (exit 1); exit 1; }; }
19450 fi
19451
19452 ac_ext=cc
19453 ac_cpp='$CXXCPP $CPPFLAGS'
19454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19457
19458
19459
19460
19461
19462 ac_ext=cc
19463 ac_cpp='$CXXCPP $CPPFLAGS'
19464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19467
19468
19469
19470 for ac_header in iostream
19471 do
19472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19474 echo "$as_me:$LINENO: checking for $ac_header" >&5
19475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19478 fi
19479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19481 else
19482 # Is the header compilable?
19483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h. */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 $ac_includes_default
19492 #include <$ac_header>
19493 _ACEOF
19494 rm -f conftest.$ac_objext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19496 (eval $ac_compile) 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } &&
19503 { ac_try='test -z "$ac_cxx_werror_flag"
19504 || test ! -s conftest.err'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; } &&
19510 { ac_try='test -s conftest.$ac_objext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 ac_header_compiler=yes
19517 else
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.$ac_ext >&5
19520
19521 ac_header_compiler=no
19522 fi
19523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19525 echo "${ECHO_T}$ac_header_compiler" >&6
19526
19527 # Is the header present?
19528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19530 cat >conftest.$ac_ext <<_ACEOF
19531 /* confdefs.h. */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <$ac_header>
19537 _ACEOF
19538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } >/dev/null; then
19546 if test -s conftest.err; then
19547 ac_cpp_err=$ac_cxx_preproc_warn_flag
19548 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19549 else
19550 ac_cpp_err=
19551 fi
19552 else
19553 ac_cpp_err=yes
19554 fi
19555 if test -z "$ac_cpp_err"; then
19556 ac_header_preproc=yes
19557 else
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19560
19561 ac_header_preproc=no
19562 fi
19563 rm -f conftest.err conftest.$ac_ext
19564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19565 echo "${ECHO_T}$ac_header_preproc" >&6
19566
19567 # So? What about this header?
19568 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19569 yes:no: )
19570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19574 ac_header_preproc=yes
19575 ;;
19576 no:yes:* )
19577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19589 (
19590 cat <<\_ASBOX
19591 ## ----------------------------------------- ##
19592 ## Report this to wx-dev@lists.wxwidgets.org ##
19593 ## ----------------------------------------- ##
19594 _ASBOX
19595 ) |
19596 sed "s/^/$as_me: WARNING: /" >&2
19597 ;;
19598 esac
19599 echo "$as_me:$LINENO: checking for $ac_header" >&5
19600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 else
19604 eval "$as_ac_Header=\$ac_header_preproc"
19605 fi
19606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19608
19609 fi
19610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19611 cat >>confdefs.h <<_ACEOF
19612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19613 _ACEOF
19614
19615 fi
19616
19617 done
19618
19619
19620 if test "$ac_cv_header_iostream" = "yes" ; then
19621 :
19622 else
19623 cat >>confdefs.h <<\_ACEOF
19624 #define wxUSE_IOSTREAMH 1
19625 _ACEOF
19626
19627 fi
19628
19629 ac_ext=c
19630 ac_cpp='$CPP $CPPFLAGS'
19631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19634
19635
19636
19637
19638 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19639 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19640 if test "${wx_cv_cpp_bool+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 else
19643
19644
19645
19646 ac_ext=cc
19647 ac_cpp='$CXXCPP $CPPFLAGS'
19648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19651
19652
19653 cat >conftest.$ac_ext <<_ACEOF
19654 /* confdefs.h. */
19655 _ACEOF
19656 cat confdefs.h >>conftest.$ac_ext
19657 cat >>conftest.$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659
19660
19661 int
19662 main ()
19663 {
19664
19665 bool b = true;
19666
19667 return 0;
19668
19669 ;
19670 return 0;
19671 }
19672 _ACEOF
19673 rm -f conftest.$ac_objext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19675 (eval $ac_compile) 2>conftest.er1
19676 ac_status=$?
19677 grep -v '^ *+' conftest.er1 >conftest.err
19678 rm -f conftest.er1
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try='test -z "$ac_cxx_werror_flag"
19683 || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19686 ac_status=$?
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try='test -s conftest.$ac_objext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19695
19696 wx_cv_cpp_bool=yes
19697
19698 else
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702
19703 wx_cv_cpp_bool=no
19704
19705
19706 fi
19707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19708
19709 ac_ext=c
19710 ac_cpp='$CPP $CPPFLAGS'
19711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19714
19715
19716 fi
19717 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19718 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19719
19720 if test "$wx_cv_cpp_bool" = "yes"; then
19721 cat >>confdefs.h <<\_ACEOF
19722 #define HAVE_BOOL 1
19723 _ACEOF
19724
19725 fi
19726
19727
19728
19729 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19730 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19731 if test "${wx_cv_explicit+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 else
19734
19735
19736
19737 ac_ext=cc
19738 ac_cpp='$CXXCPP $CPPFLAGS'
19739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19742
19743
19744 cat >conftest.$ac_ext <<_ACEOF
19745 /* confdefs.h. */
19746 _ACEOF
19747 cat confdefs.h >>conftest.$ac_ext
19748 cat >>conftest.$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750
19751 class Foo { public: explicit Foo(int) {} };
19752
19753 int
19754 main ()
19755 {
19756
19757 return 0;
19758
19759 ;
19760 return 0;
19761 }
19762 _ACEOF
19763 rm -f conftest.$ac_objext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19765 (eval $ac_compile) 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try='test -z "$ac_cxx_werror_flag"
19773 || test ! -s conftest.err'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19776 ac_status=$?
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; } &&
19779 { ac_try='test -s conftest.$ac_objext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19782 ac_status=$?
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19785
19786 cat >conftest.$ac_ext <<_ACEOF
19787 /* confdefs.h. */
19788 _ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19792
19793 class Foo { public: explicit Foo(int) {} };
19794 static void TakeFoo(const Foo& foo) { }
19795
19796 int
19797 main ()
19798 {
19799
19800 TakeFoo(17);
19801 return 0;
19802
19803 ;
19804 return 0;
19805 }
19806 _ACEOF
19807 rm -f conftest.$ac_objext
19808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19809 (eval $ac_compile) 2>conftest.er1
19810 ac_status=$?
19811 grep -v '^ *+' conftest.er1 >conftest.err
19812 rm -f conftest.er1
19813 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } &&
19816 { ac_try='test -z "$ac_cxx_werror_flag"
19817 || test ! -s conftest.err'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try='test -s conftest.$ac_objext'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 wx_cv_explicit=no
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19833
19834 wx_cv_explicit=yes
19835
19836 fi
19837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19838
19839 else
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.$ac_ext >&5
19842
19843 wx_cv_explicit=no
19844
19845 fi
19846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19847
19848 ac_ext=c
19849 ac_cpp='$CPP $CPPFLAGS'
19850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19853
19854
19855 fi
19856 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19857 echo "${ECHO_T}$wx_cv_explicit" >&6
19858
19859 if test "$wx_cv_explicit" = "yes"; then
19860 cat >>confdefs.h <<\_ACEOF
19861 #define HAVE_EXPLICIT 1
19862 _ACEOF
19863
19864 fi
19865
19866
19867 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19868 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19869 if test "${ac_cv_cxx_const_cast+set}" = set; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 else
19872
19873
19874 ac_ext=cc
19875 ac_cpp='$CXXCPP $CPPFLAGS'
19876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19879
19880 cat >conftest.$ac_ext <<_ACEOF
19881 /* confdefs.h. */
19882 _ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886
19887 int
19888 main ()
19889 {
19890 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19891 ;
19892 return 0;
19893 }
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19897 (eval $ac_compile) 2>conftest.er1
19898 ac_status=$?
19899 grep -v '^ *+' conftest.er1 >conftest.err
19900 rm -f conftest.er1
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try='test -z "$ac_cxx_werror_flag"
19905 || test ! -s conftest.err'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19908 ac_status=$?
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; } &&
19911 { ac_try='test -s conftest.$ac_objext'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19914 ac_status=$?
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19917 ac_cv_cxx_const_cast=yes
19918 else
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.$ac_ext >&5
19921
19922 ac_cv_cxx_const_cast=no
19923 fi
19924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19925 ac_ext=c
19926 ac_cpp='$CPP $CPPFLAGS'
19927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19930
19931
19932 fi
19933 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19934 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19935 if test "$ac_cv_cxx_const_cast" = yes; then
19936
19937 cat >>confdefs.h <<\_ACEOF
19938 #define HAVE_CONST_CAST
19939 _ACEOF
19940
19941 fi
19942
19943 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19944 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19945 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19946 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 else
19948
19949
19950 ac_ext=cc
19951 ac_cpp='$CXXCPP $CPPFLAGS'
19952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19955
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 #include <typeinfo>
19963 class Base { public : Base () {} virtual void f () = 0;};
19964 class Derived : public Base { public : Derived () {} virtual void f () {} };
19965 class Unrelated { public : Unrelated () {} };
19966 int g (Unrelated&) { return 0; }
19967 int
19968 main ()
19969 {
19970
19971 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19972 ;
19973 return 0;
19974 }
19975 _ACEOF
19976 rm -f conftest.$ac_objext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19978 (eval $ac_compile) 2>conftest.er1
19979 ac_status=$?
19980 grep -v '^ *+' conftest.er1 >conftest.err
19981 rm -f conftest.er1
19982 cat conftest.err >&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try='test -z "$ac_cxx_werror_flag"
19986 || test ! -s conftest.err'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19989 ac_status=$?
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try='test -s conftest.$ac_objext'
19993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994 (eval $ac_try) 2>&5
19995 ac_status=$?
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); }; }; then
19998 ac_cv_cxx_reinterpret_cast=yes
19999 else
20000 echo "$as_me: failed program was:" >&5
20001 sed 's/^/| /' conftest.$ac_ext >&5
20002
20003 ac_cv_cxx_reinterpret_cast=no
20004 fi
20005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20006 ac_ext=c
20007 ac_cpp='$CPP $CPPFLAGS'
20008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20011
20012
20013 fi
20014 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20015 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20016 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20017
20018 cat >>confdefs.h <<\_ACEOF
20019 #define HAVE_REINTERPRET_CAST
20020 _ACEOF
20021
20022 fi
20023
20024 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20025 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20026 if test "${ac_cv_cxx_static_cast+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 else
20029
20030
20031 ac_ext=cc
20032 ac_cpp='$CXXCPP $CPPFLAGS'
20033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20036
20037 cat >conftest.$ac_ext <<_ACEOF
20038 /* confdefs.h. */
20039 _ACEOF
20040 cat confdefs.h >>conftest.$ac_ext
20041 cat >>conftest.$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20043 #include <typeinfo>
20044 class Base { public : Base () {} virtual void f () = 0; };
20045 class Derived : public Base { public : Derived () {} virtual void f () {} };
20046 int g (Derived&) { return 0; }
20047 int
20048 main ()
20049 {
20050
20051 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
20052 ;
20053 return 0;
20054 }
20055 _ACEOF
20056 rm -f conftest.$ac_objext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20058 (eval $ac_compile) 2>conftest.er1
20059 ac_status=$?
20060 grep -v '^ *+' conftest.er1 >conftest.err
20061 rm -f conftest.er1
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } &&
20065 { ac_try='test -z "$ac_cxx_werror_flag"
20066 || test ! -s conftest.err'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20069 ac_status=$?
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try='test -s conftest.$ac_objext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20075 ac_status=$?
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 ac_cv_cxx_static_cast=yes
20079 else
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20082
20083 ac_cv_cxx_static_cast=no
20084 fi
20085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20086 ac_ext=c
20087 ac_cpp='$CPP $CPPFLAGS'
20088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20091
20092
20093 fi
20094 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
20095 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
20096 if test "$ac_cv_cxx_static_cast" = yes; then
20097
20098 cat >>confdefs.h <<\_ACEOF
20099 #define HAVE_STATIC_CAST
20100 _ACEOF
20101
20102 fi
20103
20104
20105 if test "$wxUSE_STL" = "yes"; then
20106 ac_ext=cc
20107 ac_cpp='$CXXCPP $CPPFLAGS'
20108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20111
20112
20113 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
20114 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
20115 cat >conftest.$ac_ext <<_ACEOF
20116 /* confdefs.h. */
20117 _ACEOF
20118 cat confdefs.h >>conftest.$ac_ext
20119 cat >>conftest.$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 #include <string>
20122 #include <functional>
20123 #include <algorithm>
20124 #include <vector>
20125 #include <list>
20126 int
20127 main ()
20128 {
20129 std::vector<int> moo;
20130 std::list<int> foo;
20131 std::vector<int>::iterator it =
20132 std::find_if(moo.begin(), moo.end(),
20133 std::bind2nd(std::less<int>(), 3));
20134 ;
20135 return 0;
20136 }
20137 _ACEOF
20138 rm -f conftest.$ac_objext
20139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20140 (eval $ac_compile) 2>conftest.er1
20141 ac_status=$?
20142 grep -v '^ *+' conftest.er1 >conftest.err
20143 rm -f conftest.er1
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } &&
20147 { ac_try='test -z "$ac_cxx_werror_flag"
20148 || test ! -s conftest.err'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20151 ac_status=$?
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; } &&
20154 { ac_try='test -s conftest.$ac_objext'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20157 ac_status=$?
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; }; then
20160 echo "$as_me:$LINENO: result: yes" >&5
20161 echo "${ECHO_T}yes" >&6
20162 else
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20165
20166 echo "$as_me:$LINENO: result: no" >&5
20167 echo "${ECHO_T}no" >&6
20168 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20169 echo "$as_me: error: Basic STL functionality missing" >&2;}
20170 { (exit 1); exit 1; }; }
20171 fi
20172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20173
20174 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20175 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 #include <string>
20183 int
20184 main ()
20185 {
20186 std::wstring foo;
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20193 (eval $ac_compile) 2>conftest.er1
20194 ac_status=$?
20195 grep -v '^ *+' conftest.er1 >conftest.err
20196 rm -f conftest.er1
20197 cat conftest.err >&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try='test -z "$ac_cxx_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20204 ac_status=$?
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try='test -s conftest.$ac_objext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20210 ac_status=$?
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 echo "$as_me:$LINENO: result: yes" >&5
20214 echo "${ECHO_T}yes" >&6
20215 cat >>confdefs.h <<\_ACEOF
20216 #define HAVE_STD_WSTRING 1
20217 _ACEOF
20218
20219 else
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20222
20223 echo "$as_me:$LINENO: result: no" >&5
20224 echo "${ECHO_T}no" >&6
20225 fi
20226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20227
20228 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20229 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20230 cat >conftest.$ac_ext <<_ACEOF
20231 /* confdefs.h. */
20232 _ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236 #include <string>
20237 int
20238 main ()
20239 {
20240 std::string foo, bar;
20241 foo.compare(bar);
20242 foo.compare(1, 1, bar);
20243 foo.compare(1, 1, bar, 1, 1);
20244 foo.compare("");
20245 foo.compare(1, 1, "");
20246 foo.compare(1, 1, "", 2);
20247 ;
20248 return 0;
20249 }
20250 _ACEOF
20251 rm -f conftest.$ac_objext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20253 (eval $ac_compile) 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } &&
20260 { ac_try='test -z "$ac_cxx_werror_flag"
20261 || test ! -s conftest.err'
20262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20263 (eval $ac_try) 2>&5
20264 ac_status=$?
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); }; } &&
20267 { ac_try='test -s conftest.$ac_objext'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20270 ac_status=$?
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; }; then
20273 echo "$as_me:$LINENO: result: yes" >&5
20274 echo "${ECHO_T}yes" >&6
20275 cat >>confdefs.h <<\_ACEOF
20276 #define HAVE_STD_STRING_COMPARE 1
20277 _ACEOF
20278
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 echo "$as_me:$LINENO: result: no" >&5
20284 echo "${ECHO_T}no" >&6
20285 fi
20286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20287
20288 if test "${ac_cv_header_hash_map+set}" = set; then
20289 echo "$as_me:$LINENO: checking for hash_map" >&5
20290 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20291 if test "${ac_cv_header_hash_map+set}" = set; then
20292 echo $ECHO_N "(cached) $ECHO_C" >&6
20293 fi
20294 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20295 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20296 else
20297 # Is the header compilable?
20298 echo "$as_me:$LINENO: checking hash_map usability" >&5
20299 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20300 cat >conftest.$ac_ext <<_ACEOF
20301 /* confdefs.h. */
20302 _ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20306 $ac_includes_default
20307 #include <hash_map>
20308 _ACEOF
20309 rm -f conftest.$ac_objext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20311 (eval $ac_compile) 2>conftest.er1
20312 ac_status=$?
20313 grep -v '^ *+' conftest.er1 >conftest.err
20314 rm -f conftest.er1
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try='test -z "$ac_cxx_werror_flag"
20319 || test ! -s conftest.err'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20322 ac_status=$?
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; } &&
20325 { ac_try='test -s conftest.$ac_objext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20328 ac_status=$?
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 ac_header_compiler=yes
20332 else
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20335
20336 ac_header_compiler=no
20337 fi
20338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20340 echo "${ECHO_T}$ac_header_compiler" >&6
20341
20342 # Is the header present?
20343 echo "$as_me:$LINENO: checking hash_map presence" >&5
20344 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20345 cat >conftest.$ac_ext <<_ACEOF
20346 /* confdefs.h. */
20347 _ACEOF
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20351 #include <hash_map>
20352 _ACEOF
20353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20355 ac_status=$?
20356 grep -v '^ *+' conftest.er1 >conftest.err
20357 rm -f conftest.er1
20358 cat conftest.err >&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } >/dev/null; then
20361 if test -s conftest.err; then
20362 ac_cpp_err=$ac_cxx_preproc_warn_flag
20363 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20364 else
20365 ac_cpp_err=
20366 fi
20367 else
20368 ac_cpp_err=yes
20369 fi
20370 if test -z "$ac_cpp_err"; then
20371 ac_header_preproc=yes
20372 else
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20375
20376 ac_header_preproc=no
20377 fi
20378 rm -f conftest.err conftest.$ac_ext
20379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20380 echo "${ECHO_T}$ac_header_preproc" >&6
20381
20382 # So? What about this header?
20383 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20384 yes:no: )
20385 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20386 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20387 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20388 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20389 ac_header_preproc=yes
20390 ;;
20391 no:yes:* )
20392 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20393 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20394 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20395 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20396 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20397 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20398 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20399 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20400 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20401 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20402 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20403 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20404 (
20405 cat <<\_ASBOX
20406 ## ----------------------------------------- ##
20407 ## Report this to wx-dev@lists.wxwidgets.org ##
20408 ## ----------------------------------------- ##
20409 _ASBOX
20410 ) |
20411 sed "s/^/$as_me: WARNING: /" >&2
20412 ;;
20413 esac
20414 echo "$as_me:$LINENO: checking for hash_map" >&5
20415 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20416 if test "${ac_cv_header_hash_map+set}" = set; then
20417 echo $ECHO_N "(cached) $ECHO_C" >&6
20418 else
20419 ac_cv_header_hash_map=$ac_header_preproc
20420 fi
20421 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20422 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20423
20424 fi
20425 if test $ac_cv_header_hash_map = yes; then
20426 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20427 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20428 cat >conftest.$ac_ext <<_ACEOF
20429 /* confdefs.h. */
20430 _ACEOF
20431 cat confdefs.h >>conftest.$ac_ext
20432 cat >>conftest.$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20434 #include <hash_map>
20435 #include <hash_set>
20436 int
20437 main ()
20438 {
20439 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20440 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20441 ;
20442 return 0;
20443 }
20444 _ACEOF
20445 rm -f conftest.$ac_objext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447 (eval $ac_compile) 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } &&
20454 { ac_try='test -z "$ac_cxx_werror_flag"
20455 || test ! -s conftest.err'
20456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20458 ac_status=$?
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; } &&
20461 { ac_try='test -s conftest.$ac_objext'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20464 ac_status=$?
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 echo "$as_me:$LINENO: result: yes" >&5
20468 echo "${ECHO_T}yes" >&6
20469 cat >>confdefs.h <<\_ACEOF
20470 #define HAVE_HASH_MAP 1
20471 _ACEOF
20472
20473 cat >>confdefs.h <<\_ACEOF
20474 #define HAVE_STD_HASH_MAP 1
20475 _ACEOF
20476
20477 else
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20480
20481 echo "$as_me:$LINENO: result: no" >&5
20482 echo "${ECHO_T}no" >&6
20483 fi
20484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20485
20486 fi
20487
20488
20489
20490 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20491 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20492 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20493 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20495 fi
20496 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20497 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20498 else
20499 # Is the header compilable?
20500 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20501 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20502 cat >conftest.$ac_ext <<_ACEOF
20503 /* confdefs.h. */
20504 _ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 $ac_includes_default
20509 #include <ext/hash_map>
20510 _ACEOF
20511 rm -f conftest.$ac_objext
20512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20513 (eval $ac_compile) 2>conftest.er1
20514 ac_status=$?
20515 grep -v '^ *+' conftest.er1 >conftest.err
20516 rm -f conftest.er1
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } &&
20520 { ac_try='test -z "$ac_cxx_werror_flag"
20521 || test ! -s conftest.err'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20524 ac_status=$?
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try='test -s conftest.$ac_objext'
20528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20529 (eval $ac_try) 2>&5
20530 ac_status=$?
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_header_compiler=yes
20534 else
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20537
20538 ac_header_compiler=no
20539 fi
20540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20542 echo "${ECHO_T}$ac_header_compiler" >&6
20543
20544 # Is the header present?
20545 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20546 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20547 cat >conftest.$ac_ext <<_ACEOF
20548 /* confdefs.h. */
20549 _ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 #include <ext/hash_map>
20554 _ACEOF
20555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20557 ac_status=$?
20558 grep -v '^ *+' conftest.er1 >conftest.err
20559 rm -f conftest.er1
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } >/dev/null; then
20563 if test -s conftest.err; then
20564 ac_cpp_err=$ac_cxx_preproc_warn_flag
20565 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20566 else
20567 ac_cpp_err=
20568 fi
20569 else
20570 ac_cpp_err=yes
20571 fi
20572 if test -z "$ac_cpp_err"; then
20573 ac_header_preproc=yes
20574 else
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 ac_header_preproc=no
20579 fi
20580 rm -f conftest.err conftest.$ac_ext
20581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20582 echo "${ECHO_T}$ac_header_preproc" >&6
20583
20584 # So? What about this header?
20585 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20586 yes:no: )
20587 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20588 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20589 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20590 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20591 ac_header_preproc=yes
20592 ;;
20593 no:yes:* )
20594 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20595 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20596 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20597 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20598 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20599 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20600 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20601 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20602 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20603 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20604 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20605 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20606 (
20607 cat <<\_ASBOX
20608 ## ----------------------------------------- ##
20609 ## Report this to wx-dev@lists.wxwidgets.org ##
20610 ## ----------------------------------------- ##
20611 _ASBOX
20612 ) |
20613 sed "s/^/$as_me: WARNING: /" >&2
20614 ;;
20615 esac
20616 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20617 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20618 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20619 echo $ECHO_N "(cached) $ECHO_C" >&6
20620 else
20621 ac_cv_header_ext_hash_map=$ac_header_preproc
20622 fi
20623 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20624 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20625
20626 fi
20627 if test $ac_cv_header_ext_hash_map = yes; then
20628 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20629 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20630 cat >conftest.$ac_ext <<_ACEOF
20631 /* confdefs.h. */
20632 _ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 #include <ext/hash_map>
20637 #include <ext/hash_set>
20638 int
20639 main ()
20640 {
20641 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20642 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20643 ;
20644 return 0;
20645 }
20646 _ACEOF
20647 rm -f conftest.$ac_objext
20648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20649 (eval $ac_compile) 2>conftest.er1
20650 ac_status=$?
20651 grep -v '^ *+' conftest.er1 >conftest.err
20652 rm -f conftest.er1
20653 cat conftest.err >&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } &&
20656 { ac_try='test -z "$ac_cxx_werror_flag"
20657 || test ! -s conftest.err'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20660 ac_status=$?
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; } &&
20663 { ac_try='test -s conftest.$ac_objext'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 echo "$as_me:$LINENO: result: yes" >&5
20670 echo "${ECHO_T}yes" >&6
20671 cat >>confdefs.h <<\_ACEOF
20672 #define HAVE_EXT_HASH_MAP 1
20673 _ACEOF
20674
20675 cat >>confdefs.h <<\_ACEOF
20676 #define HAVE_GNU_CXX_HASH_MAP 1
20677 _ACEOF
20678
20679 else
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.$ac_ext >&5
20682
20683 echo "$as_me:$LINENO: result: no" >&5
20684 echo "${ECHO_T}no" >&6
20685 fi
20686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20687
20688 fi
20689
20690
20691
20692 ac_ext=c
20693 ac_cpp='$CPP $CPPFLAGS'
20694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20697
20698 fi
20699
20700
20701 SEARCH_INCLUDE="\
20702 /usr/local/include \
20703 \
20704 /usr/Motif-2.1/include \
20705 /usr/Motif-1.2/include \
20706 /usr/include/Motif1.2 \
20707 /opt/xpm/include/X11 \
20708 /opt/GBxpm/include/ \
20709 /opt/GBxpm/X11/include/ \
20710 \
20711 /usr/dt/include \
20712 /usr/openwin/include \
20713 \
20714 /usr/include/Xm \
20715 \
20716 /usr/X11R6/include \
20717 /usr/X11R6.4/include \
20718 /usr/X11R5/include \
20719 /usr/X11R4/include \
20720 \
20721 /usr/include/X11R6 \
20722 /usr/include/X11R5 \
20723 /usr/include/X11R4 \
20724 \
20725 /usr/local/X11R6/include \
20726 /usr/local/X11R5/include \
20727 /usr/local/X11R4/include \
20728 \
20729 /usr/local/include/X11R6 \
20730 /usr/local/include/X11R5 \
20731 /usr/local/include/X11R4 \
20732 \
20733 /usr/X11/include \
20734 /usr/include/X11 \
20735 /usr/local/X11/include \
20736 /usr/local/include/X11 \
20737 \
20738 /usr/X386/include \
20739 /usr/x386/include \
20740 /usr/XFree86/include/X11 \
20741 \
20742 X:/XFree86/include \
20743 X:/XFree86/include/X11 \
20744 \
20745 /usr/include/gtk \
20746 /usr/local/include/gtk \
20747 /usr/include/glib \
20748 /usr/local/include/glib \
20749 \
20750 /usr/include/qt \
20751 /usr/local/include/qt \
20752 \
20753 /usr/local/arm/3.3.2/include \
20754 \
20755 /usr/include/windows \
20756 /usr/include/wine \
20757 /usr/local/include/wine \
20758 \
20759 /usr/unsupported/include \
20760 /usr/athena/include \
20761 /usr/local/x11r5/include \
20762 /usr/lpp/Xamples/include \
20763 \
20764 /usr/openwin/share/include"
20765
20766 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20767
20768
20769 cat >confcache <<\_ACEOF
20770 # This file is a shell script that caches the results of configure
20771 # tests run on this system so they can be shared between configure
20772 # scripts and configure runs, see configure's option --config-cache.
20773 # It is not useful on other systems. If it contains results you don't
20774 # want to keep, you may remove or edit it.
20775 #
20776 # config.status only pays attention to the cache file if you give it
20777 # the --recheck option to rerun configure.
20778 #
20779 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20780 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20781 # following values.
20782
20783 _ACEOF
20784
20785 # The following way of writing the cache mishandles newlines in values,
20786 # but we know of no workaround that is simple, portable, and efficient.
20787 # So, don't put newlines in cache variables' values.
20788 # Ultrix sh set writes to stderr and can't be redirected directly,
20789 # and sets the high bit in the cache file unless we assign to the vars.
20790 {
20791 (set) 2>&1 |
20792 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20793 *ac_space=\ *)
20794 # `set' does not quote correctly, so add quotes (double-quote
20795 # substitution turns \\\\ into \\, and sed turns \\ into \).
20796 sed -n \
20797 "s/'/'\\\\''/g;
20798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20799 ;;
20800 *)
20801 # `set' quotes correctly as required by POSIX, so do not add quotes.
20802 sed -n \
20803 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20804 ;;
20805 esac;
20806 } |
20807 sed '
20808 t clear
20809 : clear
20810 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20811 t end
20812 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20813 : end' >>confcache
20814 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20815 if test -w $cache_file; then
20816 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20817 cat confcache >$cache_file
20818 else
20819 echo "not updating unwritable cache $cache_file"
20820 fi
20821 fi
20822 rm -f confcache
20823
20824 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20825 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20826 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20827 if test "${wx_cv_lib_glibc21+set}" = set; then
20828 echo $ECHO_N "(cached) $ECHO_C" >&6
20829 else
20830
20831 cat >conftest.$ac_ext <<_ACEOF
20832 /* confdefs.h. */
20833 _ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 #include <features.h>
20838 int
20839 main ()
20840 {
20841
20842 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20843 #error not glibc2.1
20844 #endif
20845
20846 ;
20847 return 0;
20848 }
20849 _ACEOF
20850 rm -f conftest.$ac_objext
20851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20852 (eval $ac_compile) 2>conftest.er1
20853 ac_status=$?
20854 grep -v '^ *+' conftest.er1 >conftest.err
20855 rm -f conftest.er1
20856 cat conftest.err >&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } &&
20859 { ac_try='test -z "$ac_c_werror_flag"
20860 || test ! -s conftest.err'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20863 ac_status=$?
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; } &&
20866 { ac_try='test -s conftest.$ac_objext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20869 ac_status=$?
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872
20873 wx_cv_lib_glibc21=yes
20874
20875 else
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20878
20879
20880 wx_cv_lib_glibc21=no
20881
20882
20883 fi
20884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20885
20886 fi
20887 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20888 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20889 if test "$wx_cv_lib_glibc21" = "yes"; then
20890 cat >>confdefs.h <<\_ACEOF
20891 #define wxHAVE_GLIBC2 1
20892 _ACEOF
20893
20894 fi
20895 fi
20896
20897 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20898 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20899 cat >>confdefs.h <<\_ACEOF
20900 #define _GNU_SOURCE 1
20901 _ACEOF
20902
20903 fi
20904 fi
20905
20906
20907
20908 if test "$wxUSE_REGEX" != "no"; then
20909 cat >>confdefs.h <<\_ACEOF
20910 #define wxUSE_REGEX 1
20911 _ACEOF
20912
20913
20914 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20915 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20916 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20917 wxUSE_REGEX=builtin
20918 fi
20919
20920 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20921 if test "${ac_cv_header_regex_h+set}" = set; then
20922 echo "$as_me:$LINENO: checking for regex.h" >&5
20923 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20924 if test "${ac_cv_header_regex_h+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20926 fi
20927 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20928 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20929 else
20930 # Is the header compilable?
20931 echo "$as_me:$LINENO: checking regex.h usability" >&5
20932 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 #include <regex.h>
20941 _ACEOF
20942 rm -f conftest.$ac_objext
20943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20944 (eval $ac_compile) 2>conftest.er1
20945 ac_status=$?
20946 grep -v '^ *+' conftest.er1 >conftest.err
20947 rm -f conftest.er1
20948 cat conftest.err >&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } &&
20951 { ac_try='test -z "$ac_c_werror_flag"
20952 || test ! -s conftest.err'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20955 ac_status=$?
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; } &&
20958 { ac_try='test -s conftest.$ac_objext'
20959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20960 (eval $ac_try) 2>&5
20961 ac_status=$?
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; }; then
20964 ac_header_compiler=yes
20965 else
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.$ac_ext >&5
20968
20969 ac_header_compiler=no
20970 fi
20971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20973 echo "${ECHO_T}$ac_header_compiler" >&6
20974
20975 # Is the header present?
20976 echo "$as_me:$LINENO: checking regex.h presence" >&5
20977 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20978 cat >conftest.$ac_ext <<_ACEOF
20979 /* confdefs.h. */
20980 _ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 #include <regex.h>
20985 _ACEOF
20986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20988 ac_status=$?
20989 grep -v '^ *+' conftest.er1 >conftest.err
20990 rm -f conftest.er1
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } >/dev/null; then
20994 if test -s conftest.err; then
20995 ac_cpp_err=$ac_c_preproc_warn_flag
20996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20997 else
20998 ac_cpp_err=
20999 fi
21000 else
21001 ac_cpp_err=yes
21002 fi
21003 if test -z "$ac_cpp_err"; then
21004 ac_header_preproc=yes
21005 else
21006 echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.$ac_ext >&5
21008
21009 ac_header_preproc=no
21010 fi
21011 rm -f conftest.err conftest.$ac_ext
21012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21013 echo "${ECHO_T}$ac_header_preproc" >&6
21014
21015 # So? What about this header?
21016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21017 yes:no: )
21018 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21019 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21020 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21021 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21022 ac_header_preproc=yes
21023 ;;
21024 no:yes:* )
21025 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21026 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21027 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21028 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21029 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21030 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21031 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21032 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21033 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21034 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21035 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21036 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21037 (
21038 cat <<\_ASBOX
21039 ## ----------------------------------------- ##
21040 ## Report this to wx-dev@lists.wxwidgets.org ##
21041 ## ----------------------------------------- ##
21042 _ASBOX
21043 ) |
21044 sed "s/^/$as_me: WARNING: /" >&2
21045 ;;
21046 esac
21047 echo "$as_me:$LINENO: checking for regex.h" >&5
21048 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21049 if test "${ac_cv_header_regex_h+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 else
21052 ac_cv_header_regex_h=$ac_header_preproc
21053 fi
21054 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21055 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21056
21057 fi
21058 if test $ac_cv_header_regex_h = yes; then
21059
21060 for ac_func in regcomp
21061 do
21062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21063 echo "$as_me:$LINENO: checking for $ac_func" >&5
21064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21065 if eval "test \"\${$as_ac_var+set}\" = set"; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 else
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21076 #define $ac_func innocuous_$ac_func
21077
21078 /* System header to define __stub macros and hopefully few prototypes,
21079 which can conflict with char $ac_func (); below.
21080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21081 <limits.h> exists even on freestanding compilers. */
21082
21083 #ifdef __STDC__
21084 # include <limits.h>
21085 #else
21086 # include <assert.h>
21087 #endif
21088
21089 #undef $ac_func
21090
21091 /* Override any gcc2 internal prototype to avoid an error. */
21092 #ifdef __cplusplus
21093 extern "C"
21094 {
21095 #endif
21096 /* We use char because int might match the return type of a gcc2
21097 builtin and then its argument prototype would still apply. */
21098 char $ac_func ();
21099 /* The GNU C library defines this for functions which it implements
21100 to always fail with ENOSYS. Some functions are actually named
21101 something starting with __ and the normal name is an alias. */
21102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21103 choke me
21104 #else
21105 char (*f) () = $ac_func;
21106 #endif
21107 #ifdef __cplusplus
21108 }
21109 #endif
21110
21111 int
21112 main ()
21113 {
21114 return f != $ac_func;
21115 ;
21116 return 0;
21117 }
21118 _ACEOF
21119 rm -f conftest.$ac_objext conftest$ac_exeext
21120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21121 (eval $ac_link) 2>conftest.er1
21122 ac_status=$?
21123 grep -v '^ *+' conftest.er1 >conftest.err
21124 rm -f conftest.er1
21125 cat conftest.err >&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } &&
21128 { ac_try='test -z "$ac_c_werror_flag"
21129 || test ! -s conftest.err'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; } &&
21135 { ac_try='test -s conftest$ac_exeext'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; }; then
21141 eval "$as_ac_var=yes"
21142 else
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21145
21146 eval "$as_ac_var=no"
21147 fi
21148 rm -f conftest.err conftest.$ac_objext \
21149 conftest$ac_exeext conftest.$ac_ext
21150 fi
21151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21153 if test `eval echo '${'$as_ac_var'}'` = yes; then
21154 cat >>confdefs.h <<_ACEOF
21155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21156 _ACEOF
21157
21158 fi
21159 done
21160
21161 fi
21162
21163
21164
21165 if test "x$ac_cv_func_regcomp" != "xyes"; then
21166 if test "$wxUSE_REGEX" = "sys" ; then
21167 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21168 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21169 { (exit 1); exit 1; }; }
21170 else
21171 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21172 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21173 wxUSE_REGEX=builtin
21174 fi
21175 else
21176 wxUSE_REGEX=sys
21177 cat >>confdefs.h <<\_ACEOF
21178 #define WX_NO_REGEX_ADVANCED 1
21179 _ACEOF
21180
21181 fi
21182 fi
21183 fi
21184
21185
21186 ZLIB_LINK=
21187 if test "$wxUSE_ZLIB" != "no" ; then
21188 cat >>confdefs.h <<\_ACEOF
21189 #define wxUSE_ZLIB 1
21190 _ACEOF
21191
21192
21193 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21194 if test "$USE_DARWIN" = 1; then
21195 system_zlib_h_ok="yes"
21196 else
21197 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21198 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21199 if test "${ac_cv_header_zlib_h+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21202 if test "$cross_compiling" = yes; then
21203 unset ac_cv_header_zlib_h
21204
21205 else
21206 cat >conftest.$ac_ext <<_ACEOF
21207 /* confdefs.h. */
21208 _ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212
21213 #include <zlib.h>
21214 #include <stdio.h>
21215
21216 int main()
21217 {
21218 FILE *f=fopen("conftestval", "w");
21219 if (!f) exit(1);
21220 fprintf(f, "%s",
21221 ZLIB_VERSION[0] == '1' &&
21222 (ZLIB_VERSION[2] > '1' ||
21223 (ZLIB_VERSION[2] == '1' &&
21224 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21225 exit(0);
21226 }
21227
21228 _ACEOF
21229 rm -f conftest$ac_exeext
21230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21231 (eval $ac_link) 2>&5
21232 ac_status=$?
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21236 (eval $ac_try) 2>&5
21237 ac_status=$?
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); }; }; then
21240 ac_cv_header_zlib_h=`cat conftestval`
21241 else
21242 echo "$as_me: program exited with status $ac_status" >&5
21243 echo "$as_me: failed program was:" >&5
21244 sed 's/^/| /' conftest.$ac_ext >&5
21245
21246 ( exit $ac_status )
21247 ac_cv_header_zlib_h=no
21248 fi
21249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21250 fi
21251
21252 fi
21253 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21254 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21255 if test "${ac_cv_header_zlib_h+set}" = set; then
21256 echo "$as_me:$LINENO: checking for zlib.h" >&5
21257 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21258 if test "${ac_cv_header_zlib_h+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 fi
21261 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21262 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21263 else
21264 # Is the header compilable?
21265 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21266 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21267 cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 $ac_includes_default
21274 #include <zlib.h>
21275 _ACEOF
21276 rm -f conftest.$ac_objext
21277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21278 (eval $ac_compile) 2>conftest.er1
21279 ac_status=$?
21280 grep -v '^ *+' conftest.er1 >conftest.err
21281 rm -f conftest.er1
21282 cat conftest.err >&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try='test -z "$ac_c_werror_flag"
21286 || test ! -s conftest.err'
21287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21288 (eval $ac_try) 2>&5
21289 ac_status=$?
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; } &&
21292 { ac_try='test -s conftest.$ac_objext'
21293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294 (eval $ac_try) 2>&5
21295 ac_status=$?
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; }; then
21298 ac_header_compiler=yes
21299 else
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.$ac_ext >&5
21302
21303 ac_header_compiler=no
21304 fi
21305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21307 echo "${ECHO_T}$ac_header_compiler" >&6
21308
21309 # Is the header present?
21310 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21311 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 #include <zlib.h>
21319 _ACEOF
21320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } >/dev/null; then
21328 if test -s conftest.err; then
21329 ac_cpp_err=$ac_c_preproc_warn_flag
21330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21331 else
21332 ac_cpp_err=
21333 fi
21334 else
21335 ac_cpp_err=yes
21336 fi
21337 if test -z "$ac_cpp_err"; then
21338 ac_header_preproc=yes
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21342
21343 ac_header_preproc=no
21344 fi
21345 rm -f conftest.err conftest.$ac_ext
21346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21347 echo "${ECHO_T}$ac_header_preproc" >&6
21348
21349 # So? What about this header?
21350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21351 yes:no: )
21352 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21353 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21354 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21355 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21356 ac_header_preproc=yes
21357 ;;
21358 no:yes:* )
21359 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21360 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21361 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21362 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21363 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21364 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21365 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21366 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21367 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21368 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21369 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21370 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21371 (
21372 cat <<\_ASBOX
21373 ## ----------------------------------------- ##
21374 ## Report this to wx-dev@lists.wxwidgets.org ##
21375 ## ----------------------------------------- ##
21376 _ASBOX
21377 ) |
21378 sed "s/^/$as_me: WARNING: /" >&2
21379 ;;
21380 esac
21381 echo "$as_me:$LINENO: checking for zlib.h" >&5
21382 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21383 if test "${ac_cv_header_zlib_h+set}" = set; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 else
21386 ac_cv_header_zlib_h=$ac_header_preproc
21387 fi
21388 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21389 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21390
21391 fi
21392
21393
21394
21395 system_zlib_h_ok=$ac_cv_header_zlib_h
21396 fi
21397
21398 if test "$system_zlib_h_ok" = "yes"; then
21399 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21400 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21401 if test "${ac_cv_lib_z_deflate+set}" = set; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 else
21404 ac_check_lib_save_LIBS=$LIBS
21405 LIBS="-lz $LIBS"
21406 cat >conftest.$ac_ext <<_ACEOF
21407 /* confdefs.h. */
21408 _ACEOF
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412
21413 /* Override any gcc2 internal prototype to avoid an error. */
21414 #ifdef __cplusplus
21415 extern "C"
21416 #endif
21417 /* We use char because int might match the return type of a gcc2
21418 builtin and then its argument prototype would still apply. */
21419 char deflate ();
21420 int
21421 main ()
21422 {
21423 deflate ();
21424 ;
21425 return 0;
21426 }
21427 _ACEOF
21428 rm -f conftest.$ac_objext conftest$ac_exeext
21429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21430 (eval $ac_link) 2>conftest.er1
21431 ac_status=$?
21432 grep -v '^ *+' conftest.er1 >conftest.err
21433 rm -f conftest.er1
21434 cat conftest.err >&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } &&
21437 { ac_try='test -z "$ac_c_werror_flag"
21438 || test ! -s conftest.err'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21441 ac_status=$?
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; } &&
21444 { ac_try='test -s conftest$ac_exeext'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21447 ac_status=$?
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; }; then
21450 ac_cv_lib_z_deflate=yes
21451 else
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21454
21455 ac_cv_lib_z_deflate=no
21456 fi
21457 rm -f conftest.err conftest.$ac_objext \
21458 conftest$ac_exeext conftest.$ac_ext
21459 LIBS=$ac_check_lib_save_LIBS
21460 fi
21461 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21462 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21463 if test $ac_cv_lib_z_deflate = yes; then
21464 ZLIB_LINK=" -lz"
21465 fi
21466
21467 fi
21468
21469 if test "x$ZLIB_LINK" = "x" ; then
21470 if test "$wxUSE_ZLIB" = "sys" ; then
21471 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21472 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21473 { (exit 1); exit 1; }; }
21474 else
21475 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21476 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21477 wxUSE_ZLIB=builtin
21478 fi
21479 else
21480 wxUSE_ZLIB=sys
21481 fi
21482 fi
21483 fi
21484
21485
21486 PNG_LINK=
21487 if test "$wxUSE_LIBPNG" != "no" ; then
21488 cat >>confdefs.h <<\_ACEOF
21489 #define wxUSE_LIBPNG 1
21490 _ACEOF
21491
21492
21493 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21494 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21495 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21496 wxUSE_LIBPNG=sys
21497 fi
21498
21499 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21500 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21501 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21502 wxUSE_LIBPNG=builtin
21503 fi
21504
21505 if test "$wxUSE_MGL" != 1 ; then
21506 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21507 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21508 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21509 if test "${ac_cv_header_png_h+set}" = set; then
21510 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 else
21512 if test "$cross_compiling" = yes; then
21513 unset ac_cv_header_png_h
21514
21515 else
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522
21523 #include <png.h>
21524 #include <stdio.h>
21525
21526 int main()
21527 {
21528 FILE *f=fopen("conftestval", "w");
21529 if (!f) exit(1);
21530 fprintf(f, "%s",
21531 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21532 exit(0);
21533 }
21534
21535 _ACEOF
21536 rm -f conftest$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538 (eval $ac_link) 2>&5
21539 ac_status=$?
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21543 (eval $ac_try) 2>&5
21544 ac_status=$?
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; }; then
21547 ac_cv_header_png_h=`cat conftestval`
21548 else
21549 echo "$as_me: program exited with status $ac_status" >&5
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21552
21553 ( exit $ac_status )
21554 ac_cv_header_png_h=no
21555 fi
21556 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21557 fi
21558
21559 fi
21560 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21561 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21562 if test "${ac_cv_header_png_h+set}" = set; then
21563 echo "$as_me:$LINENO: checking for png.h" >&5
21564 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21565 if test "${ac_cv_header_png_h+set}" = set; then
21566 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 fi
21568 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21569 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21570 else
21571 # Is the header compilable?
21572 echo "$as_me:$LINENO: checking png.h usability" >&5
21573 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21574 cat >conftest.$ac_ext <<_ACEOF
21575 /* confdefs.h. */
21576 _ACEOF
21577 cat confdefs.h >>conftest.$ac_ext
21578 cat >>conftest.$ac_ext <<_ACEOF
21579 /* end confdefs.h. */
21580 $ac_includes_default
21581 #include <png.h>
21582 _ACEOF
21583 rm -f conftest.$ac_objext
21584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21585 (eval $ac_compile) 2>conftest.er1
21586 ac_status=$?
21587 grep -v '^ *+' conftest.er1 >conftest.err
21588 rm -f conftest.er1
21589 cat conftest.err >&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); } &&
21592 { ac_try='test -z "$ac_c_werror_flag"
21593 || test ! -s conftest.err'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try='test -s conftest.$ac_objext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_header_compiler=yes
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21609
21610 ac_header_compiler=no
21611 fi
21612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21614 echo "${ECHO_T}$ac_header_compiler" >&6
21615
21616 # Is the header present?
21617 echo "$as_me:$LINENO: checking png.h presence" >&5
21618 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21619 cat >conftest.$ac_ext <<_ACEOF
21620 /* confdefs.h. */
21621 _ACEOF
21622 cat confdefs.h >>conftest.$ac_ext
21623 cat >>conftest.$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625 #include <png.h>
21626 _ACEOF
21627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21629 ac_status=$?
21630 grep -v '^ *+' conftest.er1 >conftest.err
21631 rm -f conftest.er1
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } >/dev/null; then
21635 if test -s conftest.err; then
21636 ac_cpp_err=$ac_c_preproc_warn_flag
21637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21638 else
21639 ac_cpp_err=
21640 fi
21641 else
21642 ac_cpp_err=yes
21643 fi
21644 if test -z "$ac_cpp_err"; then
21645 ac_header_preproc=yes
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21649
21650 ac_header_preproc=no
21651 fi
21652 rm -f conftest.err conftest.$ac_ext
21653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21654 echo "${ECHO_T}$ac_header_preproc" >&6
21655
21656 # So? What about this header?
21657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21658 yes:no: )
21659 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21660 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21661 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21662 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21663 ac_header_preproc=yes
21664 ;;
21665 no:yes:* )
21666 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21667 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21668 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21669 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21670 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21671 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21672 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21673 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21675 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21676 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21677 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21678 (
21679 cat <<\_ASBOX
21680 ## ----------------------------------------- ##
21681 ## Report this to wx-dev@lists.wxwidgets.org ##
21682 ## ----------------------------------------- ##
21683 _ASBOX
21684 ) |
21685 sed "s/^/$as_me: WARNING: /" >&2
21686 ;;
21687 esac
21688 echo "$as_me:$LINENO: checking for png.h" >&5
21689 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21690 if test "${ac_cv_header_png_h+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 else
21693 ac_cv_header_png_h=$ac_header_preproc
21694 fi
21695 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21696 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21697
21698 fi
21699
21700
21701
21702 if test "$ac_cv_header_png_h" = "yes"; then
21703 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21704 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21705 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 else
21708 ac_check_lib_save_LIBS=$LIBS
21709 LIBS="-lpng -lz -lm $LIBS"
21710 cat >conftest.$ac_ext <<_ACEOF
21711 /* confdefs.h. */
21712 _ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716
21717 /* Override any gcc2 internal prototype to avoid an error. */
21718 #ifdef __cplusplus
21719 extern "C"
21720 #endif
21721 /* We use char because int might match the return type of a gcc2
21722 builtin and then its argument prototype would still apply. */
21723 char png_check_sig ();
21724 int
21725 main ()
21726 {
21727 png_check_sig ();
21728 ;
21729 return 0;
21730 }
21731 _ACEOF
21732 rm -f conftest.$ac_objext conftest$ac_exeext
21733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21734 (eval $ac_link) 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } &&
21741 { ac_try='test -z "$ac_c_werror_flag"
21742 || test ! -s conftest.err'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21745 ac_status=$?
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; } &&
21748 { ac_try='test -s conftest$ac_exeext'
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21750 (eval $ac_try) 2>&5
21751 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; }; then
21754 ac_cv_lib_png_png_check_sig=yes
21755 else
21756 echo "$as_me: failed program was:" >&5
21757 sed 's/^/| /' conftest.$ac_ext >&5
21758
21759 ac_cv_lib_png_png_check_sig=no
21760 fi
21761 rm -f conftest.err conftest.$ac_objext \
21762 conftest$ac_exeext conftest.$ac_ext
21763 LIBS=$ac_check_lib_save_LIBS
21764 fi
21765 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21766 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21767 if test $ac_cv_lib_png_png_check_sig = yes; then
21768 PNG_LINK=" -lpng -lz"
21769 fi
21770
21771 fi
21772
21773 if test "x$PNG_LINK" = "x" ; then
21774 if test "$wxUSE_LIBPNG" = "sys" ; then
21775 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21776 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21777 { (exit 1); exit 1; }; }
21778 else
21779 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21780 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21781 wxUSE_LIBPNG=builtin
21782 fi
21783 else
21784 wxUSE_LIBPNG=sys
21785 fi
21786 fi
21787 fi
21788
21789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21790 fi
21791
21792
21793 JPEG_LINK=
21794 if test "$wxUSE_LIBJPEG" != "no" ; then
21795 cat >>confdefs.h <<\_ACEOF
21796 #define wxUSE_LIBJPEG 1
21797 _ACEOF
21798
21799
21800 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21801 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21802 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21803 wxUSE_LIBJPEG=sys
21804 fi
21805
21806 if test "$wxUSE_MGL" != 1 ; then
21807 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21808 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21809 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21810 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21811 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 else
21813 cat >conftest.$ac_ext <<_ACEOF
21814 /* confdefs.h. */
21815 _ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819
21820 #undef HAVE_STDLIB_H
21821 #include <stdio.h>
21822 #include <jpeglib.h>
21823
21824 int
21825 main ()
21826 {
21827
21828
21829 ;
21830 return 0;
21831 }
21832 _ACEOF
21833 rm -f conftest.$ac_objext
21834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21835 (eval $ac_compile) 2>conftest.er1
21836 ac_status=$?
21837 grep -v '^ *+' conftest.er1 >conftest.err
21838 rm -f conftest.er1
21839 cat conftest.err >&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } &&
21842 { ac_try='test -z "$ac_c_werror_flag"
21843 || test ! -s conftest.err'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21846 ac_status=$?
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try='test -s conftest.$ac_objext'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21852 ac_status=$?
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; }; then
21855 ac_cv_header_jpeglib_h=yes
21856 else
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21859
21860 ac_cv_header_jpeglib_h=no
21861
21862 fi
21863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21864
21865 fi
21866
21867 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21868 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21869
21870 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21871 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21872 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21873 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21874 echo $ECHO_N "(cached) $ECHO_C" >&6
21875 else
21876 ac_check_lib_save_LIBS=$LIBS
21877 LIBS="-ljpeg $LIBS"
21878 cat >conftest.$ac_ext <<_ACEOF
21879 /* confdefs.h. */
21880 _ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884
21885 /* Override any gcc2 internal prototype to avoid an error. */
21886 #ifdef __cplusplus
21887 extern "C"
21888 #endif
21889 /* We use char because int might match the return type of a gcc2
21890 builtin and then its argument prototype would still apply. */
21891 char jpeg_read_header ();
21892 int
21893 main ()
21894 {
21895 jpeg_read_header ();
21896 ;
21897 return 0;
21898 }
21899 _ACEOF
21900 rm -f conftest.$ac_objext conftest$ac_exeext
21901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21902 (eval $ac_link) 2>conftest.er1
21903 ac_status=$?
21904 grep -v '^ *+' conftest.er1 >conftest.err
21905 rm -f conftest.er1
21906 cat conftest.err >&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try='test -z "$ac_c_werror_flag"
21910 || test ! -s conftest.err'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try='test -s conftest$ac_exeext'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21919 ac_status=$?
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; }; then
21922 ac_cv_lib_jpeg_jpeg_read_header=yes
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21926
21927 ac_cv_lib_jpeg_jpeg_read_header=no
21928 fi
21929 rm -f conftest.err conftest.$ac_objext \
21930 conftest$ac_exeext conftest.$ac_ext
21931 LIBS=$ac_check_lib_save_LIBS
21932 fi
21933 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21934 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21935 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21936 JPEG_LINK=" -ljpeg"
21937 fi
21938
21939 fi
21940
21941 if test "x$JPEG_LINK" = "x" ; then
21942 if test "$wxUSE_LIBJPEG" = "sys" ; then
21943 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21944 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21945 { (exit 1); exit 1; }; }
21946 else
21947 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21948 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21949 wxUSE_LIBJPEG=builtin
21950 fi
21951 else
21952 wxUSE_LIBJPEG=sys
21953 fi
21954 fi
21955 fi
21956 fi
21957
21958
21959 TIFF_LINK=
21960 TIFF_PREREQ_LINKS=-lm
21961 if test "$wxUSE_LIBTIFF" != "no" ; then
21962 cat >>confdefs.h <<\_ACEOF
21963 #define wxUSE_LIBTIFF 1
21964 _ACEOF
21965
21966
21967 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21968 if test "$wxUSE_LIBJPEG" = "sys"; then
21969 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21970 fi
21971 if test "$wxUSE_ZLIB" = "sys"; then
21972 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21973 fi
21974 if test "${ac_cv_header_tiffio_h+set}" = set; then
21975 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21976 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21977 if test "${ac_cv_header_tiffio_h+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 fi
21980 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21981 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21982 else
21983 # Is the header compilable?
21984 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21985 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21986 cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h. */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 $ac_includes_default
21993 #include <tiffio.h>
21994 _ACEOF
21995 rm -f conftest.$ac_objext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21997 (eval $ac_compile) 2>conftest.er1
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try='test -z "$ac_c_werror_flag"
22005 || test ! -s conftest.err'
22006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22007 (eval $ac_try) 2>&5
22008 ac_status=$?
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; } &&
22011 { ac_try='test -s conftest.$ac_objext'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; }; then
22017 ac_header_compiler=yes
22018 else
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22021
22022 ac_header_compiler=no
22023 fi
22024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22026 echo "${ECHO_T}$ac_header_compiler" >&6
22027
22028 # Is the header present?
22029 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22030 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22031 cat >conftest.$ac_ext <<_ACEOF
22032 /* confdefs.h. */
22033 _ACEOF
22034 cat confdefs.h >>conftest.$ac_ext
22035 cat >>conftest.$ac_ext <<_ACEOF
22036 /* end confdefs.h. */
22037 #include <tiffio.h>
22038 _ACEOF
22039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22041 ac_status=$?
22042 grep -v '^ *+' conftest.er1 >conftest.err
22043 rm -f conftest.er1
22044 cat conftest.err >&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); } >/dev/null; then
22047 if test -s conftest.err; then
22048 ac_cpp_err=$ac_c_preproc_warn_flag
22049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22050 else
22051 ac_cpp_err=
22052 fi
22053 else
22054 ac_cpp_err=yes
22055 fi
22056 if test -z "$ac_cpp_err"; then
22057 ac_header_preproc=yes
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_header_preproc=no
22063 fi
22064 rm -f conftest.err conftest.$ac_ext
22065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22066 echo "${ECHO_T}$ac_header_preproc" >&6
22067
22068 # So? What about this header?
22069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22070 yes:no: )
22071 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
22072 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22073 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
22074 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
22075 ac_header_preproc=yes
22076 ;;
22077 no:yes:* )
22078 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
22079 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
22080 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
22081 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
22082 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
22083 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
22084 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
22085 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
22086 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
22087 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
22088 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
22089 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
22090 (
22091 cat <<\_ASBOX
22092 ## ----------------------------------------- ##
22093 ## Report this to wx-dev@lists.wxwidgets.org ##
22094 ## ----------------------------------------- ##
22095 _ASBOX
22096 ) |
22097 sed "s/^/$as_me: WARNING: /" >&2
22098 ;;
22099 esac
22100 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22101 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22102 if test "${ac_cv_header_tiffio_h+set}" = set; then
22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22104 else
22105 ac_cv_header_tiffio_h=$ac_header_preproc
22106 fi
22107 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22108 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22109
22110 fi
22111 if test $ac_cv_header_tiffio_h = yes; then
22112
22113 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
22114 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
22115 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
22116 echo $ECHO_N "(cached) $ECHO_C" >&6
22117 else
22118 ac_check_lib_save_LIBS=$LIBS
22119 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22120 cat >conftest.$ac_ext <<_ACEOF
22121 /* confdefs.h. */
22122 _ACEOF
22123 cat confdefs.h >>conftest.$ac_ext
22124 cat >>conftest.$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22126
22127 /* Override any gcc2 internal prototype to avoid an error. */
22128 #ifdef __cplusplus
22129 extern "C"
22130 #endif
22131 /* We use char because int might match the return type of a gcc2
22132 builtin and then its argument prototype would still apply. */
22133 char TIFFError ();
22134 int
22135 main ()
22136 {
22137 TIFFError ();
22138 ;
22139 return 0;
22140 }
22141 _ACEOF
22142 rm -f conftest.$ac_objext conftest$ac_exeext
22143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22144 (eval $ac_link) 2>conftest.er1
22145 ac_status=$?
22146 grep -v '^ *+' conftest.er1 >conftest.err
22147 rm -f conftest.er1
22148 cat conftest.err >&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } &&
22151 { ac_try='test -z "$ac_c_werror_flag"
22152 || test ! -s conftest.err'
22153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154 (eval $ac_try) 2>&5
22155 ac_status=$?
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); }; } &&
22158 { ac_try='test -s conftest$ac_exeext'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22161 ac_status=$?
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; }; then
22164 ac_cv_lib_tiff_TIFFError=yes
22165 else
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22168
22169 ac_cv_lib_tiff_TIFFError=no
22170 fi
22171 rm -f conftest.err conftest.$ac_objext \
22172 conftest$ac_exeext conftest.$ac_ext
22173 LIBS=$ac_check_lib_save_LIBS
22174 fi
22175 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22176 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22177 if test $ac_cv_lib_tiff_TIFFError = yes; then
22178 TIFF_LINK=" -ltiff"
22179 fi
22180
22181
22182
22183 fi
22184
22185
22186
22187 if test "x$TIFF_LINK" = "x" ; then
22188 if test "$wxUSE_LIBTIFF" = "sys" ; then
22189 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22190 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22191 { (exit 1); exit 1; }; }
22192 else
22193 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22194 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22195 wxUSE_LIBTIFF=builtin
22196 fi
22197 else
22198 wxUSE_LIBTIFF=sys
22199 fi
22200 fi
22201 fi
22202
22203
22204 if test "$wxUSE_EXPAT" != "no"; then
22205 wxUSE_XML=yes
22206 cat >>confdefs.h <<\_ACEOF
22207 #define wxUSE_EXPAT 1
22208 _ACEOF
22209
22210 cat >>confdefs.h <<\_ACEOF
22211 #define wxUSE_XML 1
22212 _ACEOF
22213
22214
22215 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22216 if test "${ac_cv_header_expat_h+set}" = set; then
22217 echo "$as_me:$LINENO: checking for expat.h" >&5
22218 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22219 if test "${ac_cv_header_expat_h+set}" = set; then
22220 echo $ECHO_N "(cached) $ECHO_C" >&6
22221 fi
22222 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22223 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22224 else
22225 # Is the header compilable?
22226 echo "$as_me:$LINENO: checking expat.h usability" >&5
22227 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22228 cat >conftest.$ac_ext <<_ACEOF
22229 /* confdefs.h. */
22230 _ACEOF
22231 cat confdefs.h >>conftest.$ac_ext
22232 cat >>conftest.$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22234 $ac_includes_default
22235 #include <expat.h>
22236 _ACEOF
22237 rm -f conftest.$ac_objext
22238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22239 (eval $ac_compile) 2>conftest.er1
22240 ac_status=$?
22241 grep -v '^ *+' conftest.er1 >conftest.err
22242 rm -f conftest.er1
22243 cat conftest.err >&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); } &&
22246 { ac_try='test -z "$ac_c_werror_flag"
22247 || test ! -s conftest.err'
22248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22249 (eval $ac_try) 2>&5
22250 ac_status=$?
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); }; } &&
22253 { ac_try='test -s conftest.$ac_objext'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22256 ac_status=$?
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; }; then
22259 ac_header_compiler=yes
22260 else
22261 echo "$as_me: failed program was:" >&5
22262 sed 's/^/| /' conftest.$ac_ext >&5
22263
22264 ac_header_compiler=no
22265 fi
22266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22268 echo "${ECHO_T}$ac_header_compiler" >&6
22269
22270 # Is the header present?
22271 echo "$as_me:$LINENO: checking expat.h presence" >&5
22272 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 #include <expat.h>
22280 _ACEOF
22281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22283 ac_status=$?
22284 grep -v '^ *+' conftest.er1 >conftest.err
22285 rm -f conftest.er1
22286 cat conftest.err >&5
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); } >/dev/null; then
22289 if test -s conftest.err; then
22290 ac_cpp_err=$ac_c_preproc_warn_flag
22291 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22292 else
22293 ac_cpp_err=
22294 fi
22295 else
22296 ac_cpp_err=yes
22297 fi
22298 if test -z "$ac_cpp_err"; then
22299 ac_header_preproc=yes
22300 else
22301 echo "$as_me: failed program was:" >&5
22302 sed 's/^/| /' conftest.$ac_ext >&5
22303
22304 ac_header_preproc=no
22305 fi
22306 rm -f conftest.err conftest.$ac_ext
22307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22308 echo "${ECHO_T}$ac_header_preproc" >&6
22309
22310 # So? What about this header?
22311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22312 yes:no: )
22313 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22314 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22315 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22316 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22317 ac_header_preproc=yes
22318 ;;
22319 no:yes:* )
22320 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22321 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22322 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22323 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22324 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22325 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22326 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22327 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22328 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22329 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22330 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22331 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22332 (
22333 cat <<\_ASBOX
22334 ## ----------------------------------------- ##
22335 ## Report this to wx-dev@lists.wxwidgets.org ##
22336 ## ----------------------------------------- ##
22337 _ASBOX
22338 ) |
22339 sed "s/^/$as_me: WARNING: /" >&2
22340 ;;
22341 esac
22342 echo "$as_me:$LINENO: checking for expat.h" >&5
22343 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22344 if test "${ac_cv_header_expat_h+set}" = set; then
22345 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 else
22347 ac_cv_header_expat_h=$ac_header_preproc
22348 fi
22349 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22350 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22351
22352 fi
22353 if test $ac_cv_header_expat_h = yes; then
22354 found_expat_h=1
22355 fi
22356
22357
22358 if test "x$found_expat_h" = "x1"; then
22359 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22360 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22361 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 else
22364
22365
22366
22367 ac_ext=cc
22368 ac_cpp='$CXXCPP $CPPFLAGS'
22369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22372
22373 cat >conftest.$ac_ext <<_ACEOF
22374 /* confdefs.h. */
22375 _ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379 #include <expat.h>
22380 int
22381 main ()
22382 {
22383
22384 ;
22385 return 0;
22386 }
22387 _ACEOF
22388 rm -f conftest.$ac_objext
22389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22390 (eval $ac_compile) 2>conftest.er1
22391 ac_status=$?
22392 grep -v '^ *+' conftest.er1 >conftest.err
22393 rm -f conftest.er1
22394 cat conftest.err >&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } &&
22397 { ac_try='test -z "$ac_cxx_werror_flag"
22398 || test ! -s conftest.err'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; } &&
22404 { ac_try='test -s conftest.$ac_objext'
22405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22406 (eval $ac_try) 2>&5
22407 ac_status=$?
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); }; }; then
22410 wx_cv_expat_is_not_broken=yes
22411 else
22412 echo "$as_me: failed program was:" >&5
22413 sed 's/^/| /' conftest.$ac_ext >&5
22414
22415 wx_cv_expat_is_not_broken=no
22416
22417 fi
22418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22419 ac_ext=c
22420 ac_cpp='$CPP $CPPFLAGS'
22421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22424
22425
22426
22427 fi
22428 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22429 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22430 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22431 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22432 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22433 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 else
22436 ac_check_lib_save_LIBS=$LIBS
22437 LIBS="-lexpat $LIBS"
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h. */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444
22445 /* Override any gcc2 internal prototype to avoid an error. */
22446 #ifdef __cplusplus
22447 extern "C"
22448 #endif
22449 /* We use char because int might match the return type of a gcc2
22450 builtin and then its argument prototype would still apply. */
22451 char XML_ParserCreate ();
22452 int
22453 main ()
22454 {
22455 XML_ParserCreate ();
22456 ;
22457 return 0;
22458 }
22459 _ACEOF
22460 rm -f conftest.$ac_objext conftest$ac_exeext
22461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22462 (eval $ac_link) 2>conftest.er1
22463 ac_status=$?
22464 grep -v '^ *+' conftest.er1 >conftest.err
22465 rm -f conftest.er1
22466 cat conftest.err >&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } &&
22469 { ac_try='test -z "$ac_c_werror_flag"
22470 || test ! -s conftest.err'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try='test -s conftest$ac_exeext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22479 ac_status=$?
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 ac_cv_lib_expat_XML_ParserCreate=yes
22483 else
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.$ac_ext >&5
22486
22487 ac_cv_lib_expat_XML_ParserCreate=no
22488 fi
22489 rm -f conftest.err conftest.$ac_objext \
22490 conftest$ac_exeext conftest.$ac_ext
22491 LIBS=$ac_check_lib_save_LIBS
22492 fi
22493 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22494 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22495 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22496 EXPAT_LINK=" -lexpat"
22497 fi
22498
22499 fi
22500 fi
22501 if test "x$EXPAT_LINK" = "x" ; then
22502 if test "$wxUSE_EXPAT" = "sys" ; then
22503 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22504 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22505 { (exit 1); exit 1; }; }
22506 else
22507 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22508 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22509 wxUSE_EXPAT=builtin
22510 fi
22511 else
22512 wxUSE_EXPAT=sys
22513 fi
22514 fi
22515 if test "$wxUSE_EXPAT" = "builtin" ; then
22516
22517
22518 subdirs="$subdirs src/expat"
22519
22520 fi
22521 fi
22522
22523
22524
22525 if test "$wxUSE_LIBMSPACK" != "no"; then
22526 if test "${ac_cv_header_mspack_h+set}" = set; then
22527 echo "$as_me:$LINENO: checking for mspack.h" >&5
22528 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22529 if test "${ac_cv_header_mspack_h+set}" = set; then
22530 echo $ECHO_N "(cached) $ECHO_C" >&6
22531 fi
22532 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22533 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22534 else
22535 # Is the header compilable?
22536 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22537 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22538 cat >conftest.$ac_ext <<_ACEOF
22539 /* confdefs.h. */
22540 _ACEOF
22541 cat confdefs.h >>conftest.$ac_ext
22542 cat >>conftest.$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544 $ac_includes_default
22545 #include <mspack.h>
22546 _ACEOF
22547 rm -f conftest.$ac_objext
22548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22549 (eval $ac_compile) 2>conftest.er1
22550 ac_status=$?
22551 grep -v '^ *+' conftest.er1 >conftest.err
22552 rm -f conftest.er1
22553 cat conftest.err >&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } &&
22556 { ac_try='test -z "$ac_c_werror_flag"
22557 || test ! -s conftest.err'
22558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22559 (eval $ac_try) 2>&5
22560 ac_status=$?
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); }; } &&
22563 { ac_try='test -s conftest.$ac_objext'
22564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22565 (eval $ac_try) 2>&5
22566 ac_status=$?
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); }; }; then
22569 ac_header_compiler=yes
22570 else
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.$ac_ext >&5
22573
22574 ac_header_compiler=no
22575 fi
22576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22578 echo "${ECHO_T}$ac_header_compiler" >&6
22579
22580 # Is the header present?
22581 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22582 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22583 cat >conftest.$ac_ext <<_ACEOF
22584 /* confdefs.h. */
22585 _ACEOF
22586 cat confdefs.h >>conftest.$ac_ext
22587 cat >>conftest.$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 #include <mspack.h>
22590 _ACEOF
22591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22593 ac_status=$?
22594 grep -v '^ *+' conftest.er1 >conftest.err
22595 rm -f conftest.er1
22596 cat conftest.err >&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); } >/dev/null; then
22599 if test -s conftest.err; then
22600 ac_cpp_err=$ac_c_preproc_warn_flag
22601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22602 else
22603 ac_cpp_err=
22604 fi
22605 else
22606 ac_cpp_err=yes
22607 fi
22608 if test -z "$ac_cpp_err"; then
22609 ac_header_preproc=yes
22610 else
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.$ac_ext >&5
22613
22614 ac_header_preproc=no
22615 fi
22616 rm -f conftest.err conftest.$ac_ext
22617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22618 echo "${ECHO_T}$ac_header_preproc" >&6
22619
22620 # So? What about this header?
22621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22622 yes:no: )
22623 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22624 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22625 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22626 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22627 ac_header_preproc=yes
22628 ;;
22629 no:yes:* )
22630 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22631 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22632 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22633 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22634 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22635 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22636 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22637 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22638 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22639 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22640 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22641 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22642 (
22643 cat <<\_ASBOX
22644 ## ----------------------------------------- ##
22645 ## Report this to wx-dev@lists.wxwidgets.org ##
22646 ## ----------------------------------------- ##
22647 _ASBOX
22648 ) |
22649 sed "s/^/$as_me: WARNING: /" >&2
22650 ;;
22651 esac
22652 echo "$as_me:$LINENO: checking for mspack.h" >&5
22653 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22654 if test "${ac_cv_header_mspack_h+set}" = set; then
22655 echo $ECHO_N "(cached) $ECHO_C" >&6
22656 else
22657 ac_cv_header_mspack_h=$ac_header_preproc
22658 fi
22659 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22660 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22661
22662 fi
22663 if test $ac_cv_header_mspack_h = yes; then
22664 found_mspack_h=1
22665 fi
22666
22667
22668 if test "x$found_mspack_h" = "x1"; then
22669 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22670 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22671 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22673 else
22674 ac_check_lib_save_LIBS=$LIBS
22675 LIBS="-lmspack $LIBS"
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682
22683 /* Override any gcc2 internal prototype to avoid an error. */
22684 #ifdef __cplusplus
22685 extern "C"
22686 #endif
22687 /* We use char because int might match the return type of a gcc2
22688 builtin and then its argument prototype would still apply. */
22689 char mspack_create_chm_decompressor ();
22690 int
22691 main ()
22692 {
22693 mspack_create_chm_decompressor ();
22694 ;
22695 return 0;
22696 }
22697 _ACEOF
22698 rm -f conftest.$ac_objext conftest$ac_exeext
22699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22700 (eval $ac_link) 2>conftest.er1
22701 ac_status=$?
22702 grep -v '^ *+' conftest.er1 >conftest.err
22703 rm -f conftest.er1
22704 cat conftest.err >&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } &&
22707 { ac_try='test -z "$ac_c_werror_flag"
22708 || test ! -s conftest.err'
22709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22710 (eval $ac_try) 2>&5
22711 ac_status=$?
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; } &&
22714 { ac_try='test -s conftest$ac_exeext'
22715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22716 (eval $ac_try) 2>&5
22717 ac_status=$?
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22721 else
22722 echo "$as_me: failed program was:" >&5
22723 sed 's/^/| /' conftest.$ac_ext >&5
22724
22725 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22726 fi
22727 rm -f conftest.err conftest.$ac_objext \
22728 conftest$ac_exeext conftest.$ac_ext
22729 LIBS=$ac_check_lib_save_LIBS
22730 fi
22731 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22732 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22733 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22734 MSPACK_LINK=" -lmspack"
22735 fi
22736
22737 fi
22738 if test "x$MSPACK_LINK" = "x" ; then
22739 wxUSE_LIBMSPACK=no
22740 fi
22741 fi
22742
22743 if test "$wxUSE_LIBMSPACK" != "no"; then
22744 cat >>confdefs.h <<\_ACEOF
22745 #define wxUSE_LIBMSPACK 1
22746 _ACEOF
22747
22748 fi
22749
22750
22751
22752 AFMINSTALL=
22753 WIN32INSTALL=
22754
22755 TOOLKIT=
22756 TOOLKIT_INCLUDE=
22757 WIDGET_SET=
22758
22759 if test "$USE_WIN32" = 1 ; then
22760
22761 for ac_header in w32api.h
22762 do
22763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22765 echo "$as_me:$LINENO: checking for $ac_header" >&5
22766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 fi
22770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22772 else
22773 # Is the header compilable?
22774 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22776 cat >conftest.$ac_ext <<_ACEOF
22777 /* confdefs.h. */
22778 _ACEOF
22779 cat confdefs.h >>conftest.$ac_ext
22780 cat >>conftest.$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22782 $ac_includes_default
22783 #include <$ac_header>
22784 _ACEOF
22785 rm -f conftest.$ac_objext
22786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22787 (eval $ac_compile) 2>conftest.er1
22788 ac_status=$?
22789 grep -v '^ *+' conftest.er1 >conftest.err
22790 rm -f conftest.er1
22791 cat conftest.err >&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } &&
22794 { ac_try='test -z "$ac_c_werror_flag"
22795 || test ! -s conftest.err'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; } &&
22801 { ac_try='test -s conftest.$ac_objext'
22802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803 (eval $ac_try) 2>&5
22804 ac_status=$?
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; }; then
22807 ac_header_compiler=yes
22808 else
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.$ac_ext >&5
22811
22812 ac_header_compiler=no
22813 fi
22814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22816 echo "${ECHO_T}$ac_header_compiler" >&6
22817
22818 # Is the header present?
22819 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22821 cat >conftest.$ac_ext <<_ACEOF
22822 /* confdefs.h. */
22823 _ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 #include <$ac_header>
22828 _ACEOF
22829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22831 ac_status=$?
22832 grep -v '^ *+' conftest.er1 >conftest.err
22833 rm -f conftest.er1
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } >/dev/null; then
22837 if test -s conftest.err; then
22838 ac_cpp_err=$ac_c_preproc_warn_flag
22839 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22840 else
22841 ac_cpp_err=
22842 fi
22843 else
22844 ac_cpp_err=yes
22845 fi
22846 if test -z "$ac_cpp_err"; then
22847 ac_header_preproc=yes
22848 else
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.$ac_ext >&5
22851
22852 ac_header_preproc=no
22853 fi
22854 rm -f conftest.err conftest.$ac_ext
22855 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22856 echo "${ECHO_T}$ac_header_preproc" >&6
22857
22858 # So? What about this header?
22859 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22860 yes:no: )
22861 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22862 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22864 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22865 ac_header_preproc=yes
22866 ;;
22867 no:yes:* )
22868 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22869 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22870 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22871 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22872 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22873 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22874 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22875 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22878 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22879 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22880 (
22881 cat <<\_ASBOX
22882 ## ----------------------------------------- ##
22883 ## Report this to wx-dev@lists.wxwidgets.org ##
22884 ## ----------------------------------------- ##
22885 _ASBOX
22886 ) |
22887 sed "s/^/$as_me: WARNING: /" >&2
22888 ;;
22889 esac
22890 echo "$as_me:$LINENO: checking for $ac_header" >&5
22891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22893 echo $ECHO_N "(cached) $ECHO_C" >&6
22894 else
22895 eval "$as_ac_Header=\$ac_header_preproc"
22896 fi
22897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22899
22900 fi
22901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22902 cat >>confdefs.h <<_ACEOF
22903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22904 _ACEOF
22905
22906 fi
22907
22908 done
22909
22910 if test "${ac_cv_header_windows_h+set}" = set; then
22911 echo "$as_me:$LINENO: checking for windows.h" >&5
22912 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22913 if test "${ac_cv_header_windows_h+set}" = set; then
22914 echo $ECHO_N "(cached) $ECHO_C" >&6
22915 fi
22916 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22917 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22918 else
22919 # Is the header compilable?
22920 echo "$as_me:$LINENO: checking windows.h usability" >&5
22921 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22922 cat >conftest.$ac_ext <<_ACEOF
22923 /* confdefs.h. */
22924 _ACEOF
22925 cat confdefs.h >>conftest.$ac_ext
22926 cat >>conftest.$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22928 $ac_includes_default
22929 #include <windows.h>
22930 _ACEOF
22931 rm -f conftest.$ac_objext
22932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22933 (eval $ac_compile) 2>conftest.er1
22934 ac_status=$?
22935 grep -v '^ *+' conftest.er1 >conftest.err
22936 rm -f conftest.er1
22937 cat conftest.err >&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } &&
22940 { ac_try='test -z "$ac_c_werror_flag"
22941 || test ! -s conftest.err'
22942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22943 (eval $ac_try) 2>&5
22944 ac_status=$?
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); }; } &&
22947 { ac_try='test -s conftest.$ac_objext'
22948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22949 (eval $ac_try) 2>&5
22950 ac_status=$?
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; }; then
22953 ac_header_compiler=yes
22954 else
22955 echo "$as_me: failed program was:" >&5
22956 sed 's/^/| /' conftest.$ac_ext >&5
22957
22958 ac_header_compiler=no
22959 fi
22960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22962 echo "${ECHO_T}$ac_header_compiler" >&6
22963
22964 # Is the header present?
22965 echo "$as_me:$LINENO: checking windows.h presence" >&5
22966 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22967 cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 #include <windows.h>
22974 _ACEOF
22975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22977 ac_status=$?
22978 grep -v '^ *+' conftest.er1 >conftest.err
22979 rm -f conftest.er1
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } >/dev/null; then
22983 if test -s conftest.err; then
22984 ac_cpp_err=$ac_c_preproc_warn_flag
22985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22986 else
22987 ac_cpp_err=
22988 fi
22989 else
22990 ac_cpp_err=yes
22991 fi
22992 if test -z "$ac_cpp_err"; then
22993 ac_header_preproc=yes
22994 else
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22997
22998 ac_header_preproc=no
22999 fi
23000 rm -f conftest.err conftest.$ac_ext
23001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23002 echo "${ECHO_T}$ac_header_preproc" >&6
23003
23004 # So? What about this header?
23005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23006 yes:no: )
23007 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23008 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23009 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23010 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23011 ac_header_preproc=yes
23012 ;;
23013 no:yes:* )
23014 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23015 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23016 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23017 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23018 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23019 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23020 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23021 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23022 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23023 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23024 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23025 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23026 (
23027 cat <<\_ASBOX
23028 ## ----------------------------------------- ##
23029 ## Report this to wx-dev@lists.wxwidgets.org ##
23030 ## ----------------------------------------- ##
23031 _ASBOX
23032 ) |
23033 sed "s/^/$as_me: WARNING: /" >&2
23034 ;;
23035 esac
23036 echo "$as_me:$LINENO: checking for windows.h" >&5
23037 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23038 if test "${ac_cv_header_windows_h+set}" = set; then
23039 echo $ECHO_N "(cached) $ECHO_C" >&6
23040 else
23041 ac_cv_header_windows_h=$ac_header_preproc
23042 fi
23043 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23044 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23045
23046 fi
23047 if test $ac_cv_header_windows_h = yes; then
23048 :
23049 else
23050
23051 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23052 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23053 { (exit 1); exit 1; }; }
23054
23055 fi
23056
23057
23058
23059 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23060
23061 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23062 LIBS="$LIBS -loleacc"
23063 fi
23064
23065 case "${host}" in
23066 *-*-cygwin* )
23067 LIBS="$LIBS -lkernel32 -luser32"
23068 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
23069 esac
23070
23071 if test "$wxUSE_ODBC" = "sys" ; then
23072 wxUSE_ODBC = "yes"
23073 fi
23074 if test "$wxUSE_ODBC" = "yes" ; then
23075 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
23076 cat >>confdefs.h <<\_ACEOF
23077 #define wxUSE_ODBC 1
23078 _ACEOF
23079
23080 fi
23081
23082 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
23083 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23084
23085 WIN32INSTALL=win32install
23086 fi
23087
23088 if test "$wxUSE_GUI" = "yes"; then
23089 USE_GUI=1
23090
23091 GUI_TK_LIBRARY=
23092
23093 WXGTK12=
23094 WXGTK127=
23095 WXGTK20=
23096 WXGPE=
23097
23098 if test "$wxUSE_COCOA" = 1 ; then
23099 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23100 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23101 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23102 wxUSE_PRINTING_ARCHITECTURE=no
23103 fi
23104 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23105 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23106 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23107 wxUSE_DRAG_AND_DROP=no
23108 fi
23109 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23110 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
23111 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
23112 wxUSE_DRAGIMAGE=no
23113 fi
23114 fi
23115
23116 if test "$wxUSE_MSW" = 1 ; then
23117 TOOLKIT=MSW
23118 GUIDIST=MSW_DIST
23119
23120 case "${host}" in
23121 *-*-mingw32* )
23122 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23123 esac
23124 fi
23125
23126 if test "$wxUSE_GTK" = 1; then
23127 echo "$as_me:$LINENO: checking for GTK+ version" >&5
23128 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
23129
23130 gtk_version_cached=1
23131 if test "${wx_cv_lib_gtk+set}" = set; then
23132 echo $ECHO_N "(cached) $ECHO_C" >&6
23133 else
23134
23135 gtk_version_cached=0
23136 echo "$as_me:$LINENO: result: " >&5
23137 echo "${ECHO_T}" >&6
23138
23139 GTK_MODULES=
23140 if test "$wxUSE_THREADS" = "yes"; then
23141 GTK_MODULES=gthread
23142 fi
23143
23144 wx_cv_lib_gtk=
23145 if test "x$wxUSE_GTK2" = "xyes"; then
23146 # Check whether --enable-gtktest or --disable-gtktest was given.
23147 if test "${enable_gtktest+set}" = set; then
23148 enableval="$enable_gtktest"
23149
23150 else
23151 enable_gtktest=yes
23152 fi;
23153
23154 pkg_config_args=gtk+-2.0
23155 for module in . $GTK_MODULES
23156 do
23157 case "$module" in
23158 gthread)
23159 pkg_config_args="$pkg_config_args gthread-2.0"
23160 ;;
23161 esac
23162 done
23163
23164 no_gtk=""
23165
23166 # Extract the first word of "pkg-config", so it can be a program name with args.
23167 set dummy pkg-config; ac_word=$2
23168 echo "$as_me:$LINENO: checking for $ac_word" >&5
23169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23170 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23171 echo $ECHO_N "(cached) $ECHO_C" >&6
23172 else
23173 case $PKG_CONFIG in
23174 [\\/]* | ?:[\\/]*)
23175 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23176 ;;
23177 *)
23178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23179 for as_dir in $PATH
23180 do
23181 IFS=$as_save_IFS
23182 test -z "$as_dir" && as_dir=.
23183 for ac_exec_ext in '' $ac_executable_extensions; do
23184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23185 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23187 break 2
23188 fi
23189 done
23190 done
23191
23192 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23193 ;;
23194 esac
23195 fi
23196 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23197
23198 if test -n "$PKG_CONFIG"; then
23199 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23200 echo "${ECHO_T}$PKG_CONFIG" >&6
23201 else
23202 echo "$as_me:$LINENO: result: no" >&5
23203 echo "${ECHO_T}no" >&6
23204 fi
23205
23206
23207 if test x$PKG_CONFIG != xno ; then
23208 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23209 :
23210 else
23211 echo "*** pkg-config too old; version 0.7 or better required."
23212 no_gtk=yes
23213 PKG_CONFIG=no
23214 fi
23215 else
23216 no_gtk=yes
23217 fi
23218
23219 min_gtk_version=2.0.0
23220 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23221 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23222
23223 if test x$PKG_CONFIG != xno ; then
23224 ## don't try to run the test against uninstalled libtool libs
23225 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23226 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23227 enable_gtktest=no
23228 fi
23229
23230 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23231 :
23232 else
23233 no_gtk=yes
23234 fi
23235 fi
23236
23237 if test x"$no_gtk" = x ; then
23238 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23239 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23240 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23242 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23244 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23246 if test "x$enable_gtktest" = "xyes" ; then
23247 ac_save_CFLAGS="$CFLAGS"
23248 ac_save_LIBS="$LIBS"
23249 CFLAGS="$CFLAGS $GTK_CFLAGS"
23250 LIBS="$GTK_LIBS $LIBS"
23251 rm -f conf.gtktest
23252 if test "$cross_compiling" = yes; then
23253 echo $ac_n "cross compiling; assumed OK... $ac_c"
23254 else
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261
23262 #include <gtk/gtk.h>
23263 #include <stdio.h>
23264 #include <stdlib.h>
23265
23266 int
23267 main ()
23268 {
23269 int major, minor, micro;
23270 char *tmp_version;
23271
23272 system ("touch conf.gtktest");
23273
23274 /* HP/UX 9 (%@#!) writes to sscanf strings */
23275 tmp_version = g_strdup("$min_gtk_version");
23276 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23277 printf("%s, bad version string\n", "$min_gtk_version");
23278 exit(1);
23279 }
23280
23281 if ((gtk_major_version != $gtk_config_major_version) ||
23282 (gtk_minor_version != $gtk_config_minor_version) ||
23283 (gtk_micro_version != $gtk_config_micro_version))
23284 {
23285 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23286 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23287 gtk_major_version, gtk_minor_version, gtk_micro_version);
23288 printf ("*** was found! If pkg-config was correct, then it is best\n");
23289 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23290 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23291 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23292 printf("*** required on your system.\n");
23293 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23294 printf("*** to point to the correct configuration files\n");
23295 }
23296 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23297 (gtk_minor_version != GTK_MINOR_VERSION) ||
23298 (gtk_micro_version != GTK_MICRO_VERSION))
23299 {
23300 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23301 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23302 printf("*** library (version %d.%d.%d)\n",
23303 gtk_major_version, gtk_minor_version, gtk_micro_version);
23304 }
23305 else
23306 {
23307 if ((gtk_major_version > major) ||
23308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23310 {
23311 return 0;
23312 }
23313 else
23314 {
23315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23316 gtk_major_version, gtk_minor_version, gtk_micro_version);
23317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23318 major, minor, micro);
23319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23320 printf("***\n");
23321 printf("*** If you have already installed a sufficiently new version, this error\n");
23322 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23324 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23325 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23327 printf("*** so that the correct libraries are found at run-time))\n");
23328 }
23329 }
23330 return 1;
23331 }
23332
23333 _ACEOF
23334 rm -f conftest$ac_exeext
23335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23336 (eval $ac_link) 2>&5
23337 ac_status=$?
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23341 (eval $ac_try) 2>&5
23342 ac_status=$?
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); }; }; then
23345 :
23346 else
23347 echo "$as_me: program exited with status $ac_status" >&5
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23350
23351 ( exit $ac_status )
23352 no_gtk=yes
23353 fi
23354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23355 fi
23356 CFLAGS="$ac_save_CFLAGS"
23357 LIBS="$ac_save_LIBS"
23358 fi
23359 fi
23360 if test "x$no_gtk" = x ; then
23361 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23362 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23363 wx_cv_lib_gtk=2.0
23364 else
23365 echo "$as_me:$LINENO: result: no" >&5
23366 echo "${ECHO_T}no" >&6
23367 if test "$PKG_CONFIG" = "no" ; then
23368 echo "*** A new enough version of pkg-config was not found."
23369 echo "*** See http://pkgconfig.sourceforge.net"
23370 else
23371 if test -f conf.gtktest ; then
23372 :
23373 else
23374 echo "*** Could not run GTK+ test program, checking why..."
23375 ac_save_CFLAGS="$CFLAGS"
23376 ac_save_LIBS="$LIBS"
23377 CFLAGS="$CFLAGS $GTK_CFLAGS"
23378 LIBS="$LIBS $GTK_LIBS"
23379 cat >conftest.$ac_ext <<_ACEOF
23380 /* confdefs.h. */
23381 _ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385
23386 #include <gtk/gtk.h>
23387 #include <stdio.h>
23388
23389 int
23390 main ()
23391 {
23392 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23393 ;
23394 return 0;
23395 }
23396 _ACEOF
23397 rm -f conftest.$ac_objext conftest$ac_exeext
23398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23399 (eval $ac_link) 2>conftest.er1
23400 ac_status=$?
23401 grep -v '^ *+' conftest.er1 >conftest.err
23402 rm -f conftest.er1
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } &&
23406 { ac_try='test -z "$ac_c_werror_flag"
23407 || test ! -s conftest.err'
23408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23409 (eval $ac_try) 2>&5
23410 ac_status=$?
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); }; } &&
23413 { ac_try='test -s conftest$ac_exeext'
23414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415 (eval $ac_try) 2>&5
23416 ac_status=$?
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; }; then
23419 echo "*** The test program compiled, but did not run. This usually means"
23420 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23421 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23422 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23423 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23424 echo "*** is required on your system"
23425 echo "***"
23426 echo "*** If you have an old version installed, it is best to remove it, although"
23427 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23428 else
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23431
23432 echo "*** The test program failed to compile or link. See the file config.log for the"
23433 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23434 fi
23435 rm -f conftest.err conftest.$ac_objext \
23436 conftest$ac_exeext conftest.$ac_ext
23437 CFLAGS="$ac_save_CFLAGS"
23438 LIBS="$ac_save_LIBS"
23439 fi
23440 fi
23441 GTK_CFLAGS=""
23442 GTK_LIBS=""
23443 :
23444 fi
23445
23446
23447 rm -f conf.gtktest
23448
23449 else
23450
23451 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23452 if test "${with_gtk_prefix+set}" = set; then
23453 withval="$with_gtk_prefix"
23454 gtk_config_prefix="$withval"
23455 else
23456 gtk_config_prefix=""
23457 fi;
23458
23459 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23460 if test "${with_gtk_exec_prefix+set}" = set; then
23461 withval="$with_gtk_exec_prefix"
23462 gtk_config_exec_prefix="$withval"
23463 else
23464 gtk_config_exec_prefix=""
23465 fi;
23466 # Check whether --enable-gtktest or --disable-gtktest was given.
23467 if test "${enable_gtktest+set}" = set; then
23468 enableval="$enable_gtktest"
23469
23470 else
23471 enable_gtktest=yes
23472 fi;
23473
23474 for module in . $GTK_MODULES
23475 do
23476 case "$module" in
23477 gthread)
23478 gtk_config_args="$gtk_config_args gthread"
23479 ;;
23480 esac
23481 done
23482
23483 if test x$gtk_config_exec_prefix != x ; then
23484 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23485 if test x${GTK_CONFIG+set} != xset ; then
23486 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23487 fi
23488 fi
23489 if test x$gtk_config_prefix != x ; then
23490 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23491 if test x${GTK_CONFIG+set} != xset ; then
23492 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23493 fi
23494 fi
23495
23496 # Extract the first word of "gtk-config", so it can be a program name with args.
23497 set dummy gtk-config; ac_word=$2
23498 echo "$as_me:$LINENO: checking for $ac_word" >&5
23499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23500 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23502 else
23503 case $GTK_CONFIG in
23504 [\\/]* | ?:[\\/]*)
23505 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23506 ;;
23507 *)
23508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23509 for as_dir in $PATH
23510 do
23511 IFS=$as_save_IFS
23512 test -z "$as_dir" && as_dir=.
23513 for ac_exec_ext in '' $ac_executable_extensions; do
23514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23515 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23517 break 2
23518 fi
23519 done
23520 done
23521
23522 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23523 ;;
23524 esac
23525 fi
23526 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23527
23528 if test -n "$GTK_CONFIG"; then
23529 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23530 echo "${ECHO_T}$GTK_CONFIG" >&6
23531 else
23532 echo "$as_me:$LINENO: result: no" >&5
23533 echo "${ECHO_T}no" >&6
23534 fi
23535
23536 min_gtk_version=1.2.7
23537 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23538 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23539 no_gtk=""
23540 if test "$GTK_CONFIG" = "no" ; then
23541 no_gtk=yes
23542 else
23543 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23544 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23545 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23547 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23549 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23551 if test "x$enable_gtktest" = "xyes" ; then
23552 ac_save_CFLAGS="$CFLAGS"
23553 ac_save_LIBS="$LIBS"
23554 CFLAGS="$CFLAGS $GTK_CFLAGS"
23555 LIBS="$GTK_LIBS $LIBS"
23556 rm -f conf.gtktest
23557 if test "$cross_compiling" = yes; then
23558 echo $ac_n "cross compiling; assumed OK... $ac_c"
23559 else
23560 cat >conftest.$ac_ext <<_ACEOF
23561 /* confdefs.h. */
23562 _ACEOF
23563 cat confdefs.h >>conftest.$ac_ext
23564 cat >>conftest.$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23566
23567 #include <gtk/gtk.h>
23568 #include <stdio.h>
23569 #include <stdlib.h>
23570
23571 int
23572 main ()
23573 {
23574 int major, minor, micro;
23575 char *tmp_version;
23576
23577 system ("touch conf.gtktest");
23578
23579 /* HP/UX 9 (%@#!) writes to sscanf strings */
23580 tmp_version = g_strdup("$min_gtk_version");
23581 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23582 printf("%s, bad version string\n", "$min_gtk_version");
23583 exit(1);
23584 }
23585
23586 if ((gtk_major_version != $gtk_config_major_version) ||
23587 (gtk_minor_version != $gtk_config_minor_version) ||
23588 (gtk_micro_version != $gtk_config_micro_version))
23589 {
23590 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23591 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23592 gtk_major_version, gtk_minor_version, gtk_micro_version);
23593 printf ("*** was found! If gtk-config was correct, then it is best\n");
23594 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23595 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23596 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23597 printf("*** required on your system.\n");
23598 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23599 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23600 printf("*** before re-running configure\n");
23601 }
23602 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23603 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23604 (gtk_minor_version != GTK_MINOR_VERSION) ||
23605 (gtk_micro_version != GTK_MICRO_VERSION))
23606 {
23607 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23608 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23609 printf("*** library (version %d.%d.%d)\n",
23610 gtk_major_version, gtk_minor_version, gtk_micro_version);
23611 }
23612 #endif /* defined (GTK_MAJOR_VERSION) ... */
23613 else
23614 {
23615 if ((gtk_major_version > major) ||
23616 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23617 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23618 {
23619 return 0;
23620 }
23621 else
23622 {
23623 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23624 gtk_major_version, gtk_minor_version, gtk_micro_version);
23625 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23626 major, minor, micro);
23627 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23628 printf("***\n");
23629 printf("*** If you have already installed a sufficiently new version, this error\n");
23630 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23631 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23632 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23633 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23634 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23635 printf("*** so that the correct libraries are found at run-time))\n");
23636 }
23637 }
23638 return 1;
23639 }
23640
23641 _ACEOF
23642 rm -f conftest$ac_exeext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23644 (eval $ac_link) 2>&5
23645 ac_status=$?
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23650 ac_status=$?
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 :
23654 else
23655 echo "$as_me: program exited with status $ac_status" >&5
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 ( exit $ac_status )
23660 no_gtk=yes
23661 fi
23662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23663 fi
23664 CFLAGS="$ac_save_CFLAGS"
23665 LIBS="$ac_save_LIBS"
23666 fi
23667 fi
23668 if test "x$no_gtk" = x ; then
23669 echo "$as_me:$LINENO: result: yes" >&5
23670 echo "${ECHO_T}yes" >&6
23671 wx_cv_lib_gtk=1.2.7
23672 else
23673 echo "$as_me:$LINENO: result: no" >&5
23674 echo "${ECHO_T}no" >&6
23675 if test "$GTK_CONFIG" = "no" ; then
23676 echo "*** The gtk-config script installed by GTK could not be found"
23677 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23678 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23679 echo "*** full path to gtk-config."
23680 else
23681 if test -f conf.gtktest ; then
23682 :
23683 else
23684 echo "*** Could not run GTK test program, checking why..."
23685 CFLAGS="$CFLAGS $GTK_CFLAGS"
23686 LIBS="$LIBS $GTK_LIBS"
23687 cat >conftest.$ac_ext <<_ACEOF
23688 /* confdefs.h. */
23689 _ACEOF
23690 cat confdefs.h >>conftest.$ac_ext
23691 cat >>conftest.$ac_ext <<_ACEOF
23692 /* end confdefs.h. */
23693
23694 #include <gtk/gtk.h>
23695 #include <stdio.h>
23696
23697 int
23698 main ()
23699 {
23700 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23701 ;
23702 return 0;
23703 }
23704 _ACEOF
23705 rm -f conftest.$ac_objext conftest$ac_exeext
23706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23707 (eval $ac_link) 2>conftest.er1
23708 ac_status=$?
23709 grep -v '^ *+' conftest.er1 >conftest.err
23710 rm -f conftest.er1
23711 cat conftest.err >&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try='test -z "$ac_c_werror_flag"
23715 || test ! -s conftest.err'
23716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23717 (eval $ac_try) 2>&5
23718 ac_status=$?
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); }; } &&
23721 { ac_try='test -s conftest$ac_exeext'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 echo "*** The test program compiled, but did not run. This usually means"
23728 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23729 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23730 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23731 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23732 echo "*** is required on your system"
23733 echo "***"
23734 echo "*** If you have an old version installed, it is best to remove it, although"
23735 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23736 echo "***"
23737 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23738 echo "*** came with the system with the command"
23739 echo "***"
23740 echo "*** rpm --erase --nodeps gtk gtk-devel"
23741 else
23742 echo "$as_me: failed program was:" >&5
23743 sed 's/^/| /' conftest.$ac_ext >&5
23744
23745 echo "*** The test program failed to compile or link. See the file config.log for the"
23746 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23747 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23748 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23749 fi
23750 rm -f conftest.err conftest.$ac_objext \
23751 conftest$ac_exeext conftest.$ac_ext
23752 CFLAGS="$ac_save_CFLAGS"
23753 LIBS="$ac_save_LIBS"
23754 fi
23755 fi
23756 GTK_CFLAGS=""
23757 GTK_LIBS=""
23758 :
23759 fi
23760
23761
23762 rm -f conf.gtktest
23763
23764
23765 if test -z "$wx_cv_lib_gtk"; then
23766
23767 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23768 if test "${with_gtk_prefix+set}" = set; then
23769 withval="$with_gtk_prefix"
23770 gtk_config_prefix="$withval"
23771 else
23772 gtk_config_prefix=""
23773 fi;
23774
23775 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23776 if test "${with_gtk_exec_prefix+set}" = set; then
23777 withval="$with_gtk_exec_prefix"
23778 gtk_config_exec_prefix="$withval"
23779 else
23780 gtk_config_exec_prefix=""
23781 fi;
23782 # Check whether --enable-gtktest or --disable-gtktest was given.
23783 if test "${enable_gtktest+set}" = set; then
23784 enableval="$enable_gtktest"
23785
23786 else
23787 enable_gtktest=yes
23788 fi;
23789
23790 for module in . $GTK_MODULES
23791 do
23792 case "$module" in
23793 gthread)
23794 gtk_config_args="$gtk_config_args gthread"
23795 ;;
23796 esac
23797 done
23798
23799 if test x$gtk_config_exec_prefix != x ; then
23800 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23801 if test x${GTK_CONFIG+set} != xset ; then
23802 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23803 fi
23804 fi
23805 if test x$gtk_config_prefix != x ; then
23806 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23807 if test x${GTK_CONFIG+set} != xset ; then
23808 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23809 fi
23810 fi
23811
23812 # Extract the first word of "gtk-config", so it can be a program name with args.
23813 set dummy gtk-config; ac_word=$2
23814 echo "$as_me:$LINENO: checking for $ac_word" >&5
23815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23816 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23817 echo $ECHO_N "(cached) $ECHO_C" >&6
23818 else
23819 case $GTK_CONFIG in
23820 [\\/]* | ?:[\\/]*)
23821 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23822 ;;
23823 *)
23824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23825 for as_dir in $PATH
23826 do
23827 IFS=$as_save_IFS
23828 test -z "$as_dir" && as_dir=.
23829 for ac_exec_ext in '' $ac_executable_extensions; do
23830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23831 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23833 break 2
23834 fi
23835 done
23836 done
23837
23838 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23839 ;;
23840 esac
23841 fi
23842 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23843
23844 if test -n "$GTK_CONFIG"; then
23845 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23846 echo "${ECHO_T}$GTK_CONFIG" >&6
23847 else
23848 echo "$as_me:$LINENO: result: no" >&5
23849 echo "${ECHO_T}no" >&6
23850 fi
23851
23852 min_gtk_version=1.2.3
23853 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23854 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23855 no_gtk=""
23856 if test "$GTK_CONFIG" = "no" ; then
23857 no_gtk=yes
23858 else
23859 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23860 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23861 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23862 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23863 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23864 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23865 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23866 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23867 if test "x$enable_gtktest" = "xyes" ; then
23868 ac_save_CFLAGS="$CFLAGS"
23869 ac_save_LIBS="$LIBS"
23870 CFLAGS="$CFLAGS $GTK_CFLAGS"
23871 LIBS="$GTK_LIBS $LIBS"
23872 rm -f conf.gtktest
23873 if test "$cross_compiling" = yes; then
23874 echo $ac_n "cross compiling; assumed OK... $ac_c"
23875 else
23876 cat >conftest.$ac_ext <<_ACEOF
23877 /* confdefs.h. */
23878 _ACEOF
23879 cat confdefs.h >>conftest.$ac_ext
23880 cat >>conftest.$ac_ext <<_ACEOF
23881 /* end confdefs.h. */
23882
23883 #include <gtk/gtk.h>
23884 #include <stdio.h>
23885 #include <stdlib.h>
23886
23887 int
23888 main ()
23889 {
23890 int major, minor, micro;
23891 char *tmp_version;
23892
23893 system ("touch conf.gtktest");
23894
23895 /* HP/UX 9 (%@#!) writes to sscanf strings */
23896 tmp_version = g_strdup("$min_gtk_version");
23897 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23898 printf("%s, bad version string\n", "$min_gtk_version");
23899 exit(1);
23900 }
23901
23902 if ((gtk_major_version != $gtk_config_major_version) ||
23903 (gtk_minor_version != $gtk_config_minor_version) ||
23904 (gtk_micro_version != $gtk_config_micro_version))
23905 {
23906 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23907 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23908 gtk_major_version, gtk_minor_version, gtk_micro_version);
23909 printf ("*** was found! If gtk-config was correct, then it is best\n");
23910 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23911 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23912 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23913 printf("*** required on your system.\n");
23914 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23915 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23916 printf("*** before re-running configure\n");
23917 }
23918 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23919 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23920 (gtk_minor_version != GTK_MINOR_VERSION) ||
23921 (gtk_micro_version != GTK_MICRO_VERSION))
23922 {
23923 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23924 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23925 printf("*** library (version %d.%d.%d)\n",
23926 gtk_major_version, gtk_minor_version, gtk_micro_version);
23927 }
23928 #endif /* defined (GTK_MAJOR_VERSION) ... */
23929 else
23930 {
23931 if ((gtk_major_version > major) ||
23932 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23933 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23934 {
23935 return 0;
23936 }
23937 else
23938 {
23939 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23940 gtk_major_version, gtk_minor_version, gtk_micro_version);
23941 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23942 major, minor, micro);
23943 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23944 printf("***\n");
23945 printf("*** If you have already installed a sufficiently new version, this error\n");
23946 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23947 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23948 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23949 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23950 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23951 printf("*** so that the correct libraries are found at run-time))\n");
23952 }
23953 }
23954 return 1;
23955 }
23956
23957 _ACEOF
23958 rm -f conftest$ac_exeext
23959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23960 (eval $ac_link) 2>&5
23961 ac_status=$?
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23965 (eval $ac_try) 2>&5
23966 ac_status=$?
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); }; }; then
23969 :
23970 else
23971 echo "$as_me: program exited with status $ac_status" >&5
23972 echo "$as_me: failed program was:" >&5
23973 sed 's/^/| /' conftest.$ac_ext >&5
23974
23975 ( exit $ac_status )
23976 no_gtk=yes
23977 fi
23978 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23979 fi
23980 CFLAGS="$ac_save_CFLAGS"
23981 LIBS="$ac_save_LIBS"
23982 fi
23983 fi
23984 if test "x$no_gtk" = x ; then
23985 echo "$as_me:$LINENO: result: yes" >&5
23986 echo "${ECHO_T}yes" >&6
23987 wx_cv_lib_gtk=1.2.3
23988 else
23989 echo "$as_me:$LINENO: result: no" >&5
23990 echo "${ECHO_T}no" >&6
23991 if test "$GTK_CONFIG" = "no" ; then
23992 echo "*** The gtk-config script installed by GTK could not be found"
23993 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23994 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23995 echo "*** full path to gtk-config."
23996 else
23997 if test -f conf.gtktest ; then
23998 :
23999 else
24000 echo "*** Could not run GTK test program, checking why..."
24001 CFLAGS="$CFLAGS $GTK_CFLAGS"
24002 LIBS="$LIBS $GTK_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
24010 #include <gtk/gtk.h>
24011 #include <stdio.h>
24012
24013 int
24014 main ()
24015 {
24016 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24017 ;
24018 return 0;
24019 }
24020 _ACEOF
24021 rm -f conftest.$ac_objext conftest$ac_exeext
24022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24023 (eval $ac_link) 2>conftest.er1
24024 ac_status=$?
24025 grep -v '^ *+' conftest.er1 >conftest.err
24026 rm -f conftest.er1
24027 cat conftest.err >&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); } &&
24030 { ac_try='test -z "$ac_c_werror_flag"
24031 || test ! -s conftest.err'
24032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24033 (eval $ac_try) 2>&5
24034 ac_status=$?
24035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036 (exit $ac_status); }; } &&
24037 { ac_try='test -s conftest$ac_exeext'
24038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24039 (eval $ac_try) 2>&5
24040 ac_status=$?
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); }; }; then
24043 echo "*** The test program compiled, but did not run. This usually means"
24044 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24045 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24046 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24047 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24048 echo "*** is required on your system"
24049 echo "***"
24050 echo "*** If you have an old version installed, it is best to remove it, although"
24051 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24052 echo "***"
24053 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24054 echo "*** came with the system with the command"
24055 echo "***"
24056 echo "*** rpm --erase --nodeps gtk gtk-devel"
24057 else
24058 echo "$as_me: failed program was:" >&5
24059 sed 's/^/| /' conftest.$ac_ext >&5
24060
24061 echo "*** The test program failed to compile or link. See the file config.log for the"
24062 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24063 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24064 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24065 fi
24066 rm -f conftest.err conftest.$ac_objext \
24067 conftest$ac_exeext conftest.$ac_ext
24068 CFLAGS="$ac_save_CFLAGS"
24069 LIBS="$ac_save_LIBS"
24070 fi
24071 fi
24072 GTK_CFLAGS=""
24073 GTK_LIBS=""
24074 :
24075 fi
24076
24077
24078 rm -f conf.gtktest
24079
24080 fi
24081 fi
24082
24083 if test -z "$wx_cv_lib_gtk"; then
24084 wx_cv_lib_gtk=none
24085 else
24086 wx_cv_cflags_gtk=$GTK_CFLAGS
24087 wx_cv_libs_gtk=$GTK_LIBS
24088 fi
24089
24090
24091 fi
24092
24093
24094 if test "$gtk_version_cached" = 1; then
24095 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
24096 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
24097 fi
24098
24099 case "$wx_cv_lib_gtk" in
24100 2.0) WXGTK20=1
24101 TOOLKIT_VERSION=2
24102 ;;
24103 1.2.7) WXGTK127=1
24104 WXGTK12=1
24105 ;;
24106 1.2.3) WXGTK12=1
24107 ;;
24108 *) { { echo "$as_me:$LINENO: error:
24109 Please check that gtk-config is in path, the directory
24110 where GTK+ libraries are installed (returned by
24111 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24112 equivalent variable and GTK+ is version 1.2.3 or above.
24113 " >&5
24114 echo "$as_me: error:
24115 Please check that gtk-config is in path, the directory
24116 where GTK+ libraries are installed (returned by
24117 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24118 equivalent variable and GTK+ is version 1.2.3 or above.
24119 " >&2;}
24120 { (exit 1); exit 1; }; }
24121 ;;
24122 esac
24123
24124 if test "$WXGTK20" = 1; then
24125 save_CFLAGS="$CFLAGS"
24126 save_LIBS="$LIBS"
24127 CFLAGS="$CFLAGS $GTK_CFLAGS"
24128 LIBS="$LIBS $GTK_LIBS"
24129
24130
24131 for ac_func in pango_font_family_is_monospace
24132 do
24133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24134 echo "$as_me:$LINENO: checking for $ac_func" >&5
24135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24136 if eval "test \"\${$as_ac_var+set}\" = set"; then
24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24138 else
24139 cat >conftest.$ac_ext <<_ACEOF
24140 /* confdefs.h. */
24141 _ACEOF
24142 cat confdefs.h >>conftest.$ac_ext
24143 cat >>conftest.$ac_ext <<_ACEOF
24144 /* end confdefs.h. */
24145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24147 #define $ac_func innocuous_$ac_func
24148
24149 /* System header to define __stub macros and hopefully few prototypes,
24150 which can conflict with char $ac_func (); below.
24151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24152 <limits.h> exists even on freestanding compilers. */
24153
24154 #ifdef __STDC__
24155 # include <limits.h>
24156 #else
24157 # include <assert.h>
24158 #endif
24159
24160 #undef $ac_func
24161
24162 /* Override any gcc2 internal prototype to avoid an error. */
24163 #ifdef __cplusplus
24164 extern "C"
24165 {
24166 #endif
24167 /* We use char because int might match the return type of a gcc2
24168 builtin and then its argument prototype would still apply. */
24169 char $ac_func ();
24170 /* The GNU C library defines this for functions which it implements
24171 to always fail with ENOSYS. Some functions are actually named
24172 something starting with __ and the normal name is an alias. */
24173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24174 choke me
24175 #else
24176 char (*f) () = $ac_func;
24177 #endif
24178 #ifdef __cplusplus
24179 }
24180 #endif
24181
24182 int
24183 main ()
24184 {
24185 return f != $ac_func;
24186 ;
24187 return 0;
24188 }
24189 _ACEOF
24190 rm -f conftest.$ac_objext conftest$ac_exeext
24191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24192 (eval $ac_link) 2>conftest.er1
24193 ac_status=$?
24194 grep -v '^ *+' conftest.er1 >conftest.err
24195 rm -f conftest.er1
24196 cat conftest.err >&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } &&
24199 { ac_try='test -z "$ac_c_werror_flag"
24200 || test ! -s conftest.err'
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); }; } &&
24206 { ac_try='test -s conftest$ac_exeext'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; }; then
24212 eval "$as_ac_var=yes"
24213 else
24214 echo "$as_me: failed program was:" >&5
24215 sed 's/^/| /' conftest.$ac_ext >&5
24216
24217 eval "$as_ac_var=no"
24218 fi
24219 rm -f conftest.err conftest.$ac_objext \
24220 conftest$ac_exeext conftest.$ac_ext
24221 fi
24222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24224 if test `eval echo '${'$as_ac_var'}'` = yes; then
24225 cat >>confdefs.h <<_ACEOF
24226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24227 _ACEOF
24228
24229 fi
24230 done
24231
24232
24233 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24234 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24235 cat >conftest.$ac_ext <<_ACEOF
24236 /* confdefs.h. */
24237 _ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24241
24242 #include <gtk/gtk.h>
24243
24244 int
24245 main ()
24246 {
24247
24248 #if !GTK_CHECK_VERSION(2,4,0)
24249 #error "Not GTK+ 2.4"
24250 #endif
24251
24252 ;
24253 return 0;
24254 }
24255 _ACEOF
24256 rm -f conftest.$ac_objext
24257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 (eval $ac_compile) 2>conftest.er1
24259 ac_status=$?
24260 grep -v '^ *+' conftest.er1 >conftest.err
24261 rm -f conftest.er1
24262 cat conftest.err >&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); } &&
24265 { ac_try='test -z "$ac_c_werror_flag"
24266 || test ! -s conftest.err'
24267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24268 (eval $ac_try) 2>&5
24269 ac_status=$?
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); }; } &&
24272 { ac_try='test -s conftest.$ac_objext'
24273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24274 (eval $ac_try) 2>&5
24275 ac_status=$?
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); }; }; then
24278
24279 cat >>confdefs.h <<\_ACEOF
24280 #define __WXGTK24__ 1
24281 _ACEOF
24282
24283 echo "$as_me:$LINENO: result: yes" >&5
24284 echo "${ECHO_T}yes" >&6
24285
24286 else
24287 echo "$as_me: failed program was:" >&5
24288 sed 's/^/| /' conftest.$ac_ext >&5
24289
24290
24291 echo "$as_me:$LINENO: result: no" >&5
24292 echo "${ECHO_T}no" >&6
24293
24294 fi
24295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24296
24297 CFLAGS="$save_CFLAGS"
24298 LIBS="$save_LIBS"
24299 else
24300 if test "$wxUSE_UNICODE" = "yes"; then
24301 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24302 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24303 wxUSE_UNICODE=no
24304 fi
24305 fi
24306
24307 if test "$USE_DARWIN" != 1; then
24308
24309 for ac_func in poll
24310 do
24311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24312 echo "$as_me:$LINENO: checking for $ac_func" >&5
24313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24314 if eval "test \"\${$as_ac_var+set}\" = set"; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24316 else
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h. */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24325 #define $ac_func innocuous_$ac_func
24326
24327 /* System header to define __stub macros and hopefully few prototypes,
24328 which can conflict with char $ac_func (); below.
24329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24330 <limits.h> exists even on freestanding compilers. */
24331
24332 #ifdef __STDC__
24333 # include <limits.h>
24334 #else
24335 # include <assert.h>
24336 #endif
24337
24338 #undef $ac_func
24339
24340 /* Override any gcc2 internal prototype to avoid an error. */
24341 #ifdef __cplusplus
24342 extern "C"
24343 {
24344 #endif
24345 /* We use char because int might match the return type of a gcc2
24346 builtin and then its argument prototype would still apply. */
24347 char $ac_func ();
24348 /* The GNU C library defines this for functions which it implements
24349 to always fail with ENOSYS. Some functions are actually named
24350 something starting with __ and the normal name is an alias. */
24351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24352 choke me
24353 #else
24354 char (*f) () = $ac_func;
24355 #endif
24356 #ifdef __cplusplus
24357 }
24358 #endif
24359
24360 int
24361 main ()
24362 {
24363 return f != $ac_func;
24364 ;
24365 return 0;
24366 }
24367 _ACEOF
24368 rm -f conftest.$ac_objext conftest$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try='test -z "$ac_c_werror_flag"
24378 || test ! -s conftest.err'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24381 ac_status=$?
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; } &&
24384 { ac_try='test -s conftest$ac_exeext'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24387 ac_status=$?
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; }; then
24390 eval "$as_ac_var=yes"
24391 else
24392 echo "$as_me: failed program was:" >&5
24393 sed 's/^/| /' conftest.$ac_ext >&5
24394
24395 eval "$as_ac_var=no"
24396 fi
24397 rm -f conftest.err conftest.$ac_objext \
24398 conftest$ac_exeext conftest.$ac_ext
24399 fi
24400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24402 if test `eval echo '${'$as_ac_var'}'` = yes; then
24403 cat >>confdefs.h <<_ACEOF
24404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24405 _ACEOF
24406
24407 fi
24408 done
24409
24410 fi
24411
24412 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24413 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24414
24415 AFMINSTALL=afminstall
24416 TOOLKIT=GTK
24417 GUIDIST=GTK_DIST
24418
24419 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24420 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24421 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 else
24424 ac_check_lib_save_LIBS=$LIBS
24425 LIBS="-lgdk $LIBS"
24426 cat >conftest.$ac_ext <<_ACEOF
24427 /* confdefs.h. */
24428 _ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24432
24433 /* Override any gcc2 internal prototype to avoid an error. */
24434 #ifdef __cplusplus
24435 extern "C"
24436 #endif
24437 /* We use char because int might match the return type of a gcc2
24438 builtin and then its argument prototype would still apply. */
24439 char gdk_im_open ();
24440 int
24441 main ()
24442 {
24443 gdk_im_open ();
24444 ;
24445 return 0;
24446 }
24447 _ACEOF
24448 rm -f conftest.$ac_objext conftest$ac_exeext
24449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24450 (eval $ac_link) 2>conftest.er1
24451 ac_status=$?
24452 grep -v '^ *+' conftest.er1 >conftest.err
24453 rm -f conftest.er1
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } &&
24457 { ac_try='test -z "$ac_c_werror_flag"
24458 || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24461 ac_status=$?
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try='test -s conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 ac_cv_lib_gdk_gdk_im_open=yes
24471 else
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 ac_cv_lib_gdk_gdk_im_open=no
24476 fi
24477 rm -f conftest.err conftest.$ac_objext \
24478 conftest$ac_exeext conftest.$ac_ext
24479 LIBS=$ac_check_lib_save_LIBS
24480 fi
24481 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24482 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24483 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24484 cat >>confdefs.h <<\_ACEOF
24485 #define HAVE_XIM 1
24486 _ACEOF
24487
24488 fi
24489
24490
24491
24492 if test "$wxUSE_GPE" = "yes"; then
24493 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24494 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24495
24496 ac_find_libraries=
24497 for ac_dir in $SEARCH_LIB /usr/lib;
24498 do
24499 for ac_extension in a so sl dylib; do
24500 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24501 ac_find_libraries=$ac_dir
24502 break 2
24503 fi
24504 done
24505 done
24506
24507 if test "$ac_find_libraries" != "" ; then
24508
24509 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24510 result=$?
24511 if test $result = 0; then
24512 ac_path_to_link=""
24513 else
24514 ac_path_to_link=" -L$ac_find_libraries"
24515 fi
24516
24517 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24518 WXGPE=1
24519 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24520 echo "${ECHO_T}found at $ac_find_libraries" >&6
24521 else
24522 echo "$as_me:$LINENO: result: not found" >&5
24523 echo "${ECHO_T}not found" >&6
24524 fi
24525
24526 fi
24527 fi
24528
24529 if test "$wxUSE_MGL" = 1; then
24530 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24531 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24532 if test "x$MGL_ROOT" = x ; then
24533 echo "$as_me:$LINENO: result: not found" >&5
24534 echo "${ECHO_T}not found" >&6
24535 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24536 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24537 { (exit 1); exit 1; }; }
24538 else
24539 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24540 echo "${ECHO_T}$MGL_ROOT" >&6
24541 fi
24542
24543 echo "$as_me:$LINENO: checking for libmgl location" >&5
24544 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24545 case "${host}" in
24546 *-*-linux* )
24547 if test "x$wxUSE_SHARED" = xyes ; then
24548 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24549 else
24550 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24551 fi
24552 ;;
24553 *-pc-msdosdjgpp )
24554 mgl_os_candidates="dos32/dj2"
24555 ;;
24556 *)
24557 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24558 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24559 { (exit 1); exit 1; }; }
24560 esac
24561
24562 mgl_lib_type=""
24563 mgl_os=""
24564
24565 for mgl_os_i in $mgl_os_candidates ; do
24566 if test "x$mgl_os" = x ; then
24567 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24568 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24569 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24570 mgl_lib_type=debug
24571 mgl_os=$mgl_os_i
24572 fi
24573 fi
24574 if test "x$mgl_lib_type" = x ; then
24575 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24576 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24577 mgl_lib_type=release
24578 mgl_os=$mgl_os_i
24579 fi
24580 fi
24581 fi
24582 done
24583
24584 if test "x$mgl_os" = x ; then
24585 echo "$as_me:$LINENO: result: not found" >&5
24586 echo "${ECHO_T}not found" >&6
24587 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24588 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24589 { (exit 1); exit 1; }; }
24590 fi
24591 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24592 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24593
24594 wxUSE_UNIVERSAL="yes"
24595
24596 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24597 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24598
24599 AFMINSTALL=afminstall
24600 TOOLKIT=MGL
24601 GUIDIST=MGL_DIST
24602 fi
24603
24604 if test "$wxUSE_MICROWIN" = 1; then
24605 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24606 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24607 if test "x$MICROWINDOWS" = x ; then
24608 echo "$as_me:$LINENO: result: not found" >&5
24609 echo "${ECHO_T}not found" >&6
24610 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24611 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24612 { (exit 1); exit 1; }; }
24613 else
24614 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24615 echo "${ECHO_T}$MICROWINDOWS" >&6
24616 fi
24617
24618 if test -f $MICROWINDOWS/lib/libmwin.a; then
24619 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24620 echo "${ECHO_T}MicroWindows' libraries found." >&6
24621 else
24622 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24623 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24624 { (exit 1); exit 1; }; }
24625 fi
24626
24627 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24628 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24629
24630 wxUSE_UNIVERSAL="yes"
24631
24632 AFMINSTALL=afminstall
24633 TOOLKIT=MICROWIN
24634 GUIDIST=MICROWIN_DIST
24635
24636 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24637 fi
24638
24639 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24640 echo "$as_me:$LINENO: checking for X" >&5
24641 echo $ECHO_N "checking for X... $ECHO_C" >&6
24642
24643
24644 # Check whether --with-x or --without-x was given.
24645 if test "${with_x+set}" = set; then
24646 withval="$with_x"
24647
24648 fi;
24649 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24650 if test "x$with_x" = xno; then
24651 # The user explicitly disabled X.
24652 have_x=disabled
24653 else
24654 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24655 # Both variables are already set.
24656 have_x=yes
24657 else
24658 if test "${ac_cv_have_x+set}" = set; then
24659 echo $ECHO_N "(cached) $ECHO_C" >&6
24660 else
24661 # One or both of the vars are not set, and there is no cached value.
24662 ac_x_includes=no ac_x_libraries=no
24663 rm -fr conftest.dir
24664 if mkdir conftest.dir; then
24665 cd conftest.dir
24666 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24667 cat >Imakefile <<'_ACEOF'
24668 acfindx:
24669 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24670 _ACEOF
24671 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24672 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24673 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24674 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24675 for ac_extension in a so sl; do
24676 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24677 test -f $ac_im_libdir/libX11.$ac_extension; then
24678 ac_im_usrlibdir=$ac_im_libdir; break
24679 fi
24680 done
24681 # Screen out bogus values from the imake configuration. They are
24682 # bogus both because they are the default anyway, and because
24683 # using them would break gcc on systems where it needs fixed includes.
24684 case $ac_im_incroot in
24685 /usr/include) ;;
24686 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24687 esac
24688 case $ac_im_usrlibdir in
24689 /usr/lib | /lib) ;;
24690 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24691 esac
24692 fi
24693 cd ..
24694 rm -fr conftest.dir
24695 fi
24696
24697 # Standard set of common directories for X headers.
24698 # Check X11 before X11Rn because it is often a symlink to the current release.
24699 ac_x_header_dirs='
24700 /usr/X11/include
24701 /usr/X11R6/include
24702 /usr/X11R5/include
24703 /usr/X11R4/include
24704
24705 /usr/include/X11
24706 /usr/include/X11R6
24707 /usr/include/X11R5
24708 /usr/include/X11R4
24709
24710 /usr/local/X11/include
24711 /usr/local/X11R6/include
24712 /usr/local/X11R5/include
24713 /usr/local/X11R4/include
24714
24715 /usr/local/include/X11
24716 /usr/local/include/X11R6
24717 /usr/local/include/X11R5
24718 /usr/local/include/X11R4
24719
24720 /usr/X386/include
24721 /usr/x386/include
24722 /usr/XFree86/include/X11
24723
24724 /usr/include
24725 /usr/local/include
24726 /usr/unsupported/include
24727 /usr/athena/include
24728 /usr/local/x11r5/include
24729 /usr/lpp/Xamples/include
24730
24731 /usr/openwin/include
24732 /usr/openwin/share/include'
24733
24734 if test "$ac_x_includes" = no; then
24735 # Guess where to find include files, by looking for Intrinsic.h.
24736 # First, try using that file with no special directory specified.
24737 cat >conftest.$ac_ext <<_ACEOF
24738 /* confdefs.h. */
24739 _ACEOF
24740 cat confdefs.h >>conftest.$ac_ext
24741 cat >>conftest.$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24743 #include <X11/Intrinsic.h>
24744 _ACEOF
24745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } >/dev/null; then
24753 if test -s conftest.err; then
24754 ac_cpp_err=$ac_c_preproc_warn_flag
24755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24756 else
24757 ac_cpp_err=
24758 fi
24759 else
24760 ac_cpp_err=yes
24761 fi
24762 if test -z "$ac_cpp_err"; then
24763 # We can compile using X headers with no special include directory.
24764 ac_x_includes=
24765 else
24766 echo "$as_me: failed program was:" >&5
24767 sed 's/^/| /' conftest.$ac_ext >&5
24768
24769 for ac_dir in $ac_x_header_dirs; do
24770 if test -r "$ac_dir/X11/Intrinsic.h"; then
24771 ac_x_includes=$ac_dir
24772 break
24773 fi
24774 done
24775 fi
24776 rm -f conftest.err conftest.$ac_ext
24777 fi # $ac_x_includes = no
24778
24779 if test "$ac_x_libraries" = no; then
24780 # Check for the libraries.
24781 # See if we find them without any special options.
24782 # Don't add to $LIBS permanently.
24783 ac_save_LIBS=$LIBS
24784 LIBS="-lXt $LIBS"
24785 cat >conftest.$ac_ext <<_ACEOF
24786 /* confdefs.h. */
24787 _ACEOF
24788 cat confdefs.h >>conftest.$ac_ext
24789 cat >>conftest.$ac_ext <<_ACEOF
24790 /* end confdefs.h. */
24791 #include <X11/Intrinsic.h>
24792 int
24793 main ()
24794 {
24795 XtMalloc (0)
24796 ;
24797 return 0;
24798 }
24799 _ACEOF
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24802 (eval $ac_link) 2>conftest.er1
24803 ac_status=$?
24804 grep -v '^ *+' conftest.er1 >conftest.err
24805 rm -f conftest.er1
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } &&
24809 { ac_try='test -z "$ac_c_werror_flag"
24810 || test ! -s conftest.err'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24813 ac_status=$?
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; } &&
24816 { ac_try='test -s conftest$ac_exeext'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24819 ac_status=$?
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; }; then
24822 LIBS=$ac_save_LIBS
24823 # We can link X programs with no special library path.
24824 ac_x_libraries=
24825 else
24826 echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.$ac_ext >&5
24828
24829 LIBS=$ac_save_LIBS
24830 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24831 do
24832 # Don't even attempt the hair of trying to link an X program!
24833 for ac_extension in a so sl; do
24834 if test -r $ac_dir/libXt.$ac_extension; then
24835 ac_x_libraries=$ac_dir
24836 break 2
24837 fi
24838 done
24839 done
24840 fi
24841 rm -f conftest.err conftest.$ac_objext \
24842 conftest$ac_exeext conftest.$ac_ext
24843 fi # $ac_x_libraries = no
24844
24845 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24846 # Didn't find X anywhere. Cache the known absence of X.
24847 ac_cv_have_x="have_x=no"
24848 else
24849 # Record where we found X for the cache.
24850 ac_cv_have_x="have_x=yes \
24851 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24852 fi
24853 fi
24854
24855 fi
24856 eval "$ac_cv_have_x"
24857 fi # $with_x != no
24858
24859 if test "$have_x" != yes; then
24860 echo "$as_me:$LINENO: result: $have_x" >&5
24861 echo "${ECHO_T}$have_x" >&6
24862 no_x=yes
24863 else
24864 # If each of the values was on the command line, it overrides each guess.
24865 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24866 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24867 # Update the cache value to reflect the command line values.
24868 ac_cv_have_x="have_x=yes \
24869 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24870 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24871 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24872 fi
24873
24874 if test "$no_x" = yes; then
24875 # Not all programs may use this symbol, but it does not hurt to define it.
24876
24877 cat >>confdefs.h <<\_ACEOF
24878 #define X_DISPLAY_MISSING 1
24879 _ACEOF
24880
24881 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24882 else
24883 if test -n "$x_includes"; then
24884 X_CFLAGS="$X_CFLAGS -I$x_includes"
24885 fi
24886
24887 # It would also be nice to do this for all -L options, not just this one.
24888 if test -n "$x_libraries"; then
24889 X_LIBS="$X_LIBS -L$x_libraries"
24890 # For Solaris; some versions of Sun CC require a space after -R and
24891 # others require no space. Words are not sufficient . . . .
24892 case `(uname -sr) 2>/dev/null` in
24893 "SunOS 5"*)
24894 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24895 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24896 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24897 cat >conftest.$ac_ext <<_ACEOF
24898 /* confdefs.h. */
24899 _ACEOF
24900 cat confdefs.h >>conftest.$ac_ext
24901 cat >>conftest.$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24903
24904 int
24905 main ()
24906 {
24907
24908 ;
24909 return 0;
24910 }
24911 _ACEOF
24912 rm -f conftest.$ac_objext conftest$ac_exeext
24913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24914 (eval $ac_link) 2>conftest.er1
24915 ac_status=$?
24916 grep -v '^ *+' conftest.er1 >conftest.err
24917 rm -f conftest.er1
24918 cat conftest.err >&5
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); } &&
24921 { ac_try='test -z "$ac_c_werror_flag"
24922 || test ! -s conftest.err'
24923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24924 (eval $ac_try) 2>&5
24925 ac_status=$?
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); }; } &&
24928 { ac_try='test -s conftest$ac_exeext'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24934 ac_R_nospace=yes
24935 else
24936 echo "$as_me: failed program was:" >&5
24937 sed 's/^/| /' conftest.$ac_ext >&5
24938
24939 ac_R_nospace=no
24940 fi
24941 rm -f conftest.err conftest.$ac_objext \
24942 conftest$ac_exeext conftest.$ac_ext
24943 if test $ac_R_nospace = yes; then
24944 echo "$as_me:$LINENO: result: no" >&5
24945 echo "${ECHO_T}no" >&6
24946 X_LIBS="$X_LIBS -R$x_libraries"
24947 else
24948 LIBS="$ac_xsave_LIBS -R $x_libraries"
24949 cat >conftest.$ac_ext <<_ACEOF
24950 /* confdefs.h. */
24951 _ACEOF
24952 cat confdefs.h >>conftest.$ac_ext
24953 cat >>conftest.$ac_ext <<_ACEOF
24954 /* end confdefs.h. */
24955
24956 int
24957 main ()
24958 {
24959
24960 ;
24961 return 0;
24962 }
24963 _ACEOF
24964 rm -f conftest.$ac_objext conftest$ac_exeext
24965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24966 (eval $ac_link) 2>conftest.er1
24967 ac_status=$?
24968 grep -v '^ *+' conftest.er1 >conftest.err
24969 rm -f conftest.er1
24970 cat conftest.err >&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } &&
24973 { ac_try='test -z "$ac_c_werror_flag"
24974 || test ! -s conftest.err'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24977 ac_status=$?
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; } &&
24980 { ac_try='test -s conftest$ac_exeext'
24981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24982 (eval $ac_try) 2>&5
24983 ac_status=$?
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); }; }; then
24986 ac_R_space=yes
24987 else
24988 echo "$as_me: failed program was:" >&5
24989 sed 's/^/| /' conftest.$ac_ext >&5
24990
24991 ac_R_space=no
24992 fi
24993 rm -f conftest.err conftest.$ac_objext \
24994 conftest$ac_exeext conftest.$ac_ext
24995 if test $ac_R_space = yes; then
24996 echo "$as_me:$LINENO: result: yes" >&5
24997 echo "${ECHO_T}yes" >&6
24998 X_LIBS="$X_LIBS -R $x_libraries"
24999 else
25000 echo "$as_me:$LINENO: result: neither works" >&5
25001 echo "${ECHO_T}neither works" >&6
25002 fi
25003 fi
25004 LIBS=$ac_xsave_LIBS
25005 esac
25006 fi
25007
25008 # Check for system-dependent libraries X programs must link with.
25009 # Do this before checking for the system-independent R6 libraries
25010 # (-lICE), since we may need -lsocket or whatever for X linking.
25011
25012 if test "$ISC" = yes; then
25013 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25014 else
25015 # Martyn Johnson says this is needed for Ultrix, if the X
25016 # libraries were built with DECnet support. And Karl Berry says
25017 # the Alpha needs dnet_stub (dnet does not exist).
25018 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25019 cat >conftest.$ac_ext <<_ACEOF
25020 /* confdefs.h. */
25021 _ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025
25026 /* Override any gcc2 internal prototype to avoid an error. */
25027 #ifdef __cplusplus
25028 extern "C"
25029 #endif
25030 /* We use char because int might match the return type of a gcc2
25031 builtin and then its argument prototype would still apply. */
25032 char XOpenDisplay ();
25033 int
25034 main ()
25035 {
25036 XOpenDisplay ();
25037 ;
25038 return 0;
25039 }
25040 _ACEOF
25041 rm -f conftest.$ac_objext conftest$ac_exeext
25042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25043 (eval $ac_link) 2>conftest.er1
25044 ac_status=$?
25045 grep -v '^ *+' conftest.er1 >conftest.err
25046 rm -f conftest.er1
25047 cat conftest.err >&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } &&
25050 { ac_try='test -z "$ac_c_werror_flag"
25051 || test ! -s conftest.err'
25052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25053 (eval $ac_try) 2>&5
25054 ac_status=$?
25055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056 (exit $ac_status); }; } &&
25057 { ac_try='test -s conftest$ac_exeext'
25058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25059 (eval $ac_try) 2>&5
25060 ac_status=$?
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); }; }; then
25063 :
25064 else
25065 echo "$as_me: failed program was:" >&5
25066 sed 's/^/| /' conftest.$ac_ext >&5
25067
25068 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25069 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25070 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25071 echo $ECHO_N "(cached) $ECHO_C" >&6
25072 else
25073 ac_check_lib_save_LIBS=$LIBS
25074 LIBS="-ldnet $LIBS"
25075 cat >conftest.$ac_ext <<_ACEOF
25076 /* confdefs.h. */
25077 _ACEOF
25078 cat confdefs.h >>conftest.$ac_ext
25079 cat >>conftest.$ac_ext <<_ACEOF
25080 /* end confdefs.h. */
25081
25082 /* Override any gcc2 internal prototype to avoid an error. */
25083 #ifdef __cplusplus
25084 extern "C"
25085 #endif
25086 /* We use char because int might match the return type of a gcc2
25087 builtin and then its argument prototype would still apply. */
25088 char dnet_ntoa ();
25089 int
25090 main ()
25091 {
25092 dnet_ntoa ();
25093 ;
25094 return 0;
25095 }
25096 _ACEOF
25097 rm -f conftest.$ac_objext conftest$ac_exeext
25098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25099 (eval $ac_link) 2>conftest.er1
25100 ac_status=$?
25101 grep -v '^ *+' conftest.er1 >conftest.err
25102 rm -f conftest.er1
25103 cat conftest.err >&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); } &&
25106 { ac_try='test -z "$ac_c_werror_flag"
25107 || test ! -s conftest.err'
25108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25109 (eval $ac_try) 2>&5
25110 ac_status=$?
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; } &&
25113 { ac_try='test -s conftest$ac_exeext'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25116 ac_status=$?
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; }; then
25119 ac_cv_lib_dnet_dnet_ntoa=yes
25120 else
25121 echo "$as_me: failed program was:" >&5
25122 sed 's/^/| /' conftest.$ac_ext >&5
25123
25124 ac_cv_lib_dnet_dnet_ntoa=no
25125 fi
25126 rm -f conftest.err conftest.$ac_objext \
25127 conftest$ac_exeext conftest.$ac_ext
25128 LIBS=$ac_check_lib_save_LIBS
25129 fi
25130 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25131 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25132 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25133 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25134 fi
25135
25136 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25137 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25138 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25139 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25140 echo $ECHO_N "(cached) $ECHO_C" >&6
25141 else
25142 ac_check_lib_save_LIBS=$LIBS
25143 LIBS="-ldnet_stub $LIBS"
25144 cat >conftest.$ac_ext <<_ACEOF
25145 /* confdefs.h. */
25146 _ACEOF
25147 cat confdefs.h >>conftest.$ac_ext
25148 cat >>conftest.$ac_ext <<_ACEOF
25149 /* end confdefs.h. */
25150
25151 /* Override any gcc2 internal prototype to avoid an error. */
25152 #ifdef __cplusplus
25153 extern "C"
25154 #endif
25155 /* We use char because int might match the return type of a gcc2
25156 builtin and then its argument prototype would still apply. */
25157 char dnet_ntoa ();
25158 int
25159 main ()
25160 {
25161 dnet_ntoa ();
25162 ;
25163 return 0;
25164 }
25165 _ACEOF
25166 rm -f conftest.$ac_objext conftest$ac_exeext
25167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25168 (eval $ac_link) 2>conftest.er1
25169 ac_status=$?
25170 grep -v '^ *+' conftest.er1 >conftest.err
25171 rm -f conftest.er1
25172 cat conftest.err >&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } &&
25175 { ac_try='test -z "$ac_c_werror_flag"
25176 || test ! -s conftest.err'
25177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25178 (eval $ac_try) 2>&5
25179 ac_status=$?
25180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25181 (exit $ac_status); }; } &&
25182 { ac_try='test -s conftest$ac_exeext'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; }; then
25188 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25189 else
25190 echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.$ac_ext >&5
25192
25193 ac_cv_lib_dnet_stub_dnet_ntoa=no
25194 fi
25195 rm -f conftest.err conftest.$ac_objext \
25196 conftest$ac_exeext conftest.$ac_ext
25197 LIBS=$ac_check_lib_save_LIBS
25198 fi
25199 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25200 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25201 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25202 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25203 fi
25204
25205 fi
25206 fi
25207 rm -f conftest.err conftest.$ac_objext \
25208 conftest$ac_exeext conftest.$ac_ext
25209 LIBS="$ac_xsave_LIBS"
25210
25211 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25212 # to get the SysV transport functions.
25213 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25214 # needs -lnsl.
25215 # The nsl library prevents programs from opening the X display
25216 # on Irix 5.2, according to T.E. Dickey.
25217 # The functions gethostbyname, getservbyname, and inet_addr are
25218 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25219 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25220 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25221 if test "${ac_cv_func_gethostbyname+set}" = set; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 else
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25232 #define gethostbyname innocuous_gethostbyname
25233
25234 /* System header to define __stub macros and hopefully few prototypes,
25235 which can conflict with char gethostbyname (); below.
25236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25237 <limits.h> exists even on freestanding compilers. */
25238
25239 #ifdef __STDC__
25240 # include <limits.h>
25241 #else
25242 # include <assert.h>
25243 #endif
25244
25245 #undef gethostbyname
25246
25247 /* Override any gcc2 internal prototype to avoid an error. */
25248 #ifdef __cplusplus
25249 extern "C"
25250 {
25251 #endif
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25254 char gethostbyname ();
25255 /* The GNU C library defines this for functions which it implements
25256 to always fail with ENOSYS. Some functions are actually named
25257 something starting with __ and the normal name is an alias. */
25258 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25259 choke me
25260 #else
25261 char (*f) () = gethostbyname;
25262 #endif
25263 #ifdef __cplusplus
25264 }
25265 #endif
25266
25267 int
25268 main ()
25269 {
25270 return f != gethostbyname;
25271 ;
25272 return 0;
25273 }
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277 (eval $ac_link) 2>conftest.er1
25278 ac_status=$?
25279 grep -v '^ *+' conftest.er1 >conftest.err
25280 rm -f conftest.er1
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try='test -z "$ac_c_werror_flag"
25285 || test ! -s conftest.err'
25286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25288 ac_status=$?
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; } &&
25291 { ac_try='test -s conftest$ac_exeext'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25294 ac_status=$?
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; }; then
25297 ac_cv_func_gethostbyname=yes
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 ac_cv_func_gethostbyname=no
25303 fi
25304 rm -f conftest.err conftest.$ac_objext \
25305 conftest$ac_exeext conftest.$ac_ext
25306 fi
25307 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25308 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25309
25310 if test $ac_cv_func_gethostbyname = no; then
25311 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25312 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25313 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25314 echo $ECHO_N "(cached) $ECHO_C" >&6
25315 else
25316 ac_check_lib_save_LIBS=$LIBS
25317 LIBS="-lnsl $LIBS"
25318 cat >conftest.$ac_ext <<_ACEOF
25319 /* confdefs.h. */
25320 _ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25324
25325 /* Override any gcc2 internal prototype to avoid an error. */
25326 #ifdef __cplusplus
25327 extern "C"
25328 #endif
25329 /* We use char because int might match the return type of a gcc2
25330 builtin and then its argument prototype would still apply. */
25331 char gethostbyname ();
25332 int
25333 main ()
25334 {
25335 gethostbyname ();
25336 ;
25337 return 0;
25338 }
25339 _ACEOF
25340 rm -f conftest.$ac_objext conftest$ac_exeext
25341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25342 (eval $ac_link) 2>conftest.er1
25343 ac_status=$?
25344 grep -v '^ *+' conftest.er1 >conftest.err
25345 rm -f conftest.er1
25346 cat conftest.err >&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } &&
25349 { ac_try='test -z "$ac_c_werror_flag"
25350 || test ! -s conftest.err'
25351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25352 (eval $ac_try) 2>&5
25353 ac_status=$?
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); }; } &&
25356 { ac_try='test -s conftest$ac_exeext'
25357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25358 (eval $ac_try) 2>&5
25359 ac_status=$?
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); }; }; then
25362 ac_cv_lib_nsl_gethostbyname=yes
25363 else
25364 echo "$as_me: failed program was:" >&5
25365 sed 's/^/| /' conftest.$ac_ext >&5
25366
25367 ac_cv_lib_nsl_gethostbyname=no
25368 fi
25369 rm -f conftest.err conftest.$ac_objext \
25370 conftest$ac_exeext conftest.$ac_ext
25371 LIBS=$ac_check_lib_save_LIBS
25372 fi
25373 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25374 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25375 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25377 fi
25378
25379 if test $ac_cv_lib_nsl_gethostbyname = no; then
25380 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25381 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25382 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 ac_check_lib_save_LIBS=$LIBS
25386 LIBS="-lbsd $LIBS"
25387 cat >conftest.$ac_ext <<_ACEOF
25388 /* confdefs.h. */
25389 _ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393
25394 /* Override any gcc2 internal prototype to avoid an error. */
25395 #ifdef __cplusplus
25396 extern "C"
25397 #endif
25398 /* We use char because int might match the return type of a gcc2
25399 builtin and then its argument prototype would still apply. */
25400 char gethostbyname ();
25401 int
25402 main ()
25403 {
25404 gethostbyname ();
25405 ;
25406 return 0;
25407 }
25408 _ACEOF
25409 rm -f conftest.$ac_objext conftest$ac_exeext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25411 (eval $ac_link) 2>conftest.er1
25412 ac_status=$?
25413 grep -v '^ *+' conftest.er1 >conftest.err
25414 rm -f conftest.er1
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } &&
25418 { ac_try='test -z "$ac_c_werror_flag"
25419 || test ! -s conftest.err'
25420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421 (eval $ac_try) 2>&5
25422 ac_status=$?
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); }; } &&
25425 { ac_try='test -s conftest$ac_exeext'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; }; then
25431 ac_cv_lib_bsd_gethostbyname=yes
25432 else
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25435
25436 ac_cv_lib_bsd_gethostbyname=no
25437 fi
25438 rm -f conftest.err conftest.$ac_objext \
25439 conftest$ac_exeext conftest.$ac_ext
25440 LIBS=$ac_check_lib_save_LIBS
25441 fi
25442 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25443 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25444 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25445 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25446 fi
25447
25448 fi
25449 fi
25450
25451 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25452 # socket/setsockopt and other routines are undefined under SCO ODT
25453 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25454 # on later versions), says Simon Leinen: it contains gethostby*
25455 # variants that don't use the name server (or something). -lsocket
25456 # must be given before -lnsl if both are needed. We assume that
25457 # if connect needs -lnsl, so does gethostbyname.
25458 echo "$as_me:$LINENO: checking for connect" >&5
25459 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25460 if test "${ac_cv_func_connect+set}" = set; then
25461 echo $ECHO_N "(cached) $ECHO_C" >&6
25462 else
25463 cat >conftest.$ac_ext <<_ACEOF
25464 /* confdefs.h. */
25465 _ACEOF
25466 cat confdefs.h >>conftest.$ac_ext
25467 cat >>conftest.$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25469 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25471 #define connect innocuous_connect
25472
25473 /* System header to define __stub macros and hopefully few prototypes,
25474 which can conflict with char connect (); below.
25475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25476 <limits.h> exists even on freestanding compilers. */
25477
25478 #ifdef __STDC__
25479 # include <limits.h>
25480 #else
25481 # include <assert.h>
25482 #endif
25483
25484 #undef connect
25485
25486 /* Override any gcc2 internal prototype to avoid an error. */
25487 #ifdef __cplusplus
25488 extern "C"
25489 {
25490 #endif
25491 /* We use char because int might match the return type of a gcc2
25492 builtin and then its argument prototype would still apply. */
25493 char connect ();
25494 /* The GNU C library defines this for functions which it implements
25495 to always fail with ENOSYS. Some functions are actually named
25496 something starting with __ and the normal name is an alias. */
25497 #if defined (__stub_connect) || defined (__stub___connect)
25498 choke me
25499 #else
25500 char (*f) () = connect;
25501 #endif
25502 #ifdef __cplusplus
25503 }
25504 #endif
25505
25506 int
25507 main ()
25508 {
25509 return f != connect;
25510 ;
25511 return 0;
25512 }
25513 _ACEOF
25514 rm -f conftest.$ac_objext conftest$ac_exeext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25516 (eval $ac_link) 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -z "$ac_c_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try='test -s conftest$ac_exeext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25533 ac_status=$?
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 ac_cv_func_connect=yes
25537 else
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.$ac_ext >&5
25540
25541 ac_cv_func_connect=no
25542 fi
25543 rm -f conftest.err conftest.$ac_objext \
25544 conftest$ac_exeext conftest.$ac_ext
25545 fi
25546 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25547 echo "${ECHO_T}$ac_cv_func_connect" >&6
25548
25549 if test $ac_cv_func_connect = no; then
25550 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25551 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25552 if test "${ac_cv_lib_socket_connect+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 else
25555 ac_check_lib_save_LIBS=$LIBS
25556 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25557 cat >conftest.$ac_ext <<_ACEOF
25558 /* confdefs.h. */
25559 _ACEOF
25560 cat confdefs.h >>conftest.$ac_ext
25561 cat >>conftest.$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563
25564 /* Override any gcc2 internal prototype to avoid an error. */
25565 #ifdef __cplusplus
25566 extern "C"
25567 #endif
25568 /* We use char because int might match the return type of a gcc2
25569 builtin and then its argument prototype would still apply. */
25570 char connect ();
25571 int
25572 main ()
25573 {
25574 connect ();
25575 ;
25576 return 0;
25577 }
25578 _ACEOF
25579 rm -f conftest.$ac_objext conftest$ac_exeext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25581 (eval $ac_link) 2>conftest.er1
25582 ac_status=$?
25583 grep -v '^ *+' conftest.er1 >conftest.err
25584 rm -f conftest.er1
25585 cat conftest.err >&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try='test -z "$ac_c_werror_flag"
25589 || test ! -s conftest.err'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25592 ac_status=$?
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; } &&
25595 { ac_try='test -s conftest$ac_exeext'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25598 ac_status=$?
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; }; then
25601 ac_cv_lib_socket_connect=yes
25602 else
25603 echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.$ac_ext >&5
25605
25606 ac_cv_lib_socket_connect=no
25607 fi
25608 rm -f conftest.err conftest.$ac_objext \
25609 conftest$ac_exeext conftest.$ac_ext
25610 LIBS=$ac_check_lib_save_LIBS
25611 fi
25612 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25613 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25614 if test $ac_cv_lib_socket_connect = yes; then
25615 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25616 fi
25617
25618 fi
25619
25620 # Guillermo Gomez says -lposix is necessary on A/UX.
25621 echo "$as_me:$LINENO: checking for remove" >&5
25622 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25623 if test "${ac_cv_func_remove+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 else
25626 cat >conftest.$ac_ext <<_ACEOF
25627 /* confdefs.h. */
25628 _ACEOF
25629 cat confdefs.h >>conftest.$ac_ext
25630 cat >>conftest.$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25632 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25634 #define remove innocuous_remove
25635
25636 /* System header to define __stub macros and hopefully few prototypes,
25637 which can conflict with char remove (); below.
25638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25639 <limits.h> exists even on freestanding compilers. */
25640
25641 #ifdef __STDC__
25642 # include <limits.h>
25643 #else
25644 # include <assert.h>
25645 #endif
25646
25647 #undef remove
25648
25649 /* Override any gcc2 internal prototype to avoid an error. */
25650 #ifdef __cplusplus
25651 extern "C"
25652 {
25653 #endif
25654 /* We use char because int might match the return type of a gcc2
25655 builtin and then its argument prototype would still apply. */
25656 char remove ();
25657 /* The GNU C library defines this for functions which it implements
25658 to always fail with ENOSYS. Some functions are actually named
25659 something starting with __ and the normal name is an alias. */
25660 #if defined (__stub_remove) || defined (__stub___remove)
25661 choke me
25662 #else
25663 char (*f) () = remove;
25664 #endif
25665 #ifdef __cplusplus
25666 }
25667 #endif
25668
25669 int
25670 main ()
25671 {
25672 return f != remove;
25673 ;
25674 return 0;
25675 }
25676 _ACEOF
25677 rm -f conftest.$ac_objext conftest$ac_exeext
25678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25679 (eval $ac_link) 2>conftest.er1
25680 ac_status=$?
25681 grep -v '^ *+' conftest.er1 >conftest.err
25682 rm -f conftest.er1
25683 cat conftest.err >&5
25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25685 (exit $ac_status); } &&
25686 { ac_try='test -z "$ac_c_werror_flag"
25687 || test ! -s conftest.err'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25690 ac_status=$?
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; } &&
25693 { ac_try='test -s conftest$ac_exeext'
25694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25695 (eval $ac_try) 2>&5
25696 ac_status=$?
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); }; }; then
25699 ac_cv_func_remove=yes
25700 else
25701 echo "$as_me: failed program was:" >&5
25702 sed 's/^/| /' conftest.$ac_ext >&5
25703
25704 ac_cv_func_remove=no
25705 fi
25706 rm -f conftest.err conftest.$ac_objext \
25707 conftest$ac_exeext conftest.$ac_ext
25708 fi
25709 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25710 echo "${ECHO_T}$ac_cv_func_remove" >&6
25711
25712 if test $ac_cv_func_remove = no; then
25713 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25714 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25715 if test "${ac_cv_lib_posix_remove+set}" = set; then
25716 echo $ECHO_N "(cached) $ECHO_C" >&6
25717 else
25718 ac_check_lib_save_LIBS=$LIBS
25719 LIBS="-lposix $LIBS"
25720 cat >conftest.$ac_ext <<_ACEOF
25721 /* confdefs.h. */
25722 _ACEOF
25723 cat confdefs.h >>conftest.$ac_ext
25724 cat >>conftest.$ac_ext <<_ACEOF
25725 /* end confdefs.h. */
25726
25727 /* Override any gcc2 internal prototype to avoid an error. */
25728 #ifdef __cplusplus
25729 extern "C"
25730 #endif
25731 /* We use char because int might match the return type of a gcc2
25732 builtin and then its argument prototype would still apply. */
25733 char remove ();
25734 int
25735 main ()
25736 {
25737 remove ();
25738 ;
25739 return 0;
25740 }
25741 _ACEOF
25742 rm -f conftest.$ac_objext conftest$ac_exeext
25743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25744 (eval $ac_link) 2>conftest.er1
25745 ac_status=$?
25746 grep -v '^ *+' conftest.er1 >conftest.err
25747 rm -f conftest.er1
25748 cat conftest.err >&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); } &&
25751 { ac_try='test -z "$ac_c_werror_flag"
25752 || test ! -s conftest.err'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25755 ac_status=$?
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; } &&
25758 { ac_try='test -s conftest$ac_exeext'
25759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25760 (eval $ac_try) 2>&5
25761 ac_status=$?
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); }; }; then
25764 ac_cv_lib_posix_remove=yes
25765 else
25766 echo "$as_me: failed program was:" >&5
25767 sed 's/^/| /' conftest.$ac_ext >&5
25768
25769 ac_cv_lib_posix_remove=no
25770 fi
25771 rm -f conftest.err conftest.$ac_objext \
25772 conftest$ac_exeext conftest.$ac_ext
25773 LIBS=$ac_check_lib_save_LIBS
25774 fi
25775 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25776 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25777 if test $ac_cv_lib_posix_remove = yes; then
25778 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25779 fi
25780
25781 fi
25782
25783 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25784 echo "$as_me:$LINENO: checking for shmat" >&5
25785 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25786 if test "${ac_cv_func_shmat+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 else
25789 cat >conftest.$ac_ext <<_ACEOF
25790 /* confdefs.h. */
25791 _ACEOF
25792 cat confdefs.h >>conftest.$ac_ext
25793 cat >>conftest.$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25795 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25797 #define shmat innocuous_shmat
25798
25799 /* System header to define __stub macros and hopefully few prototypes,
25800 which can conflict with char shmat (); below.
25801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25802 <limits.h> exists even on freestanding compilers. */
25803
25804 #ifdef __STDC__
25805 # include <limits.h>
25806 #else
25807 # include <assert.h>
25808 #endif
25809
25810 #undef shmat
25811
25812 /* Override any gcc2 internal prototype to avoid an error. */
25813 #ifdef __cplusplus
25814 extern "C"
25815 {
25816 #endif
25817 /* We use char because int might match the return type of a gcc2
25818 builtin and then its argument prototype would still apply. */
25819 char shmat ();
25820 /* The GNU C library defines this for functions which it implements
25821 to always fail with ENOSYS. Some functions are actually named
25822 something starting with __ and the normal name is an alias. */
25823 #if defined (__stub_shmat) || defined (__stub___shmat)
25824 choke me
25825 #else
25826 char (*f) () = shmat;
25827 #endif
25828 #ifdef __cplusplus
25829 }
25830 #endif
25831
25832 int
25833 main ()
25834 {
25835 return f != shmat;
25836 ;
25837 return 0;
25838 }
25839 _ACEOF
25840 rm -f conftest.$ac_objext conftest$ac_exeext
25841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25842 (eval $ac_link) 2>conftest.er1
25843 ac_status=$?
25844 grep -v '^ *+' conftest.er1 >conftest.err
25845 rm -f conftest.er1
25846 cat conftest.err >&5
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); } &&
25849 { ac_try='test -z "$ac_c_werror_flag"
25850 || test ! -s conftest.err'
25851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25852 (eval $ac_try) 2>&5
25853 ac_status=$?
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); }; } &&
25856 { ac_try='test -s conftest$ac_exeext'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25859 ac_status=$?
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; }; then
25862 ac_cv_func_shmat=yes
25863 else
25864 echo "$as_me: failed program was:" >&5
25865 sed 's/^/| /' conftest.$ac_ext >&5
25866
25867 ac_cv_func_shmat=no
25868 fi
25869 rm -f conftest.err conftest.$ac_objext \
25870 conftest$ac_exeext conftest.$ac_ext
25871 fi
25872 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25873 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25874
25875 if test $ac_cv_func_shmat = no; then
25876 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25877 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25878 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25879 echo $ECHO_N "(cached) $ECHO_C" >&6
25880 else
25881 ac_check_lib_save_LIBS=$LIBS
25882 LIBS="-lipc $LIBS"
25883 cat >conftest.$ac_ext <<_ACEOF
25884 /* confdefs.h. */
25885 _ACEOF
25886 cat confdefs.h >>conftest.$ac_ext
25887 cat >>conftest.$ac_ext <<_ACEOF
25888 /* end confdefs.h. */
25889
25890 /* Override any gcc2 internal prototype to avoid an error. */
25891 #ifdef __cplusplus
25892 extern "C"
25893 #endif
25894 /* We use char because int might match the return type of a gcc2
25895 builtin and then its argument prototype would still apply. */
25896 char shmat ();
25897 int
25898 main ()
25899 {
25900 shmat ();
25901 ;
25902 return 0;
25903 }
25904 _ACEOF
25905 rm -f conftest.$ac_objext conftest$ac_exeext
25906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25907 (eval $ac_link) 2>conftest.er1
25908 ac_status=$?
25909 grep -v '^ *+' conftest.er1 >conftest.err
25910 rm -f conftest.er1
25911 cat conftest.err >&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } &&
25914 { ac_try='test -z "$ac_c_werror_flag"
25915 || test ! -s conftest.err'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25918 ac_status=$?
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; } &&
25921 { ac_try='test -s conftest$ac_exeext'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; }; then
25927 ac_cv_lib_ipc_shmat=yes
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25931
25932 ac_cv_lib_ipc_shmat=no
25933 fi
25934 rm -f conftest.err conftest.$ac_objext \
25935 conftest$ac_exeext conftest.$ac_ext
25936 LIBS=$ac_check_lib_save_LIBS
25937 fi
25938 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25939 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25940 if test $ac_cv_lib_ipc_shmat = yes; then
25941 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25942 fi
25943
25944 fi
25945 fi
25946
25947 # Check for libraries that X11R6 Xt/Xaw programs need.
25948 ac_save_LDFLAGS=$LDFLAGS
25949 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25950 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25951 # check for ICE first), but we must link in the order -lSM -lICE or
25952 # we get undefined symbols. So assume we have SM if we have ICE.
25953 # These have to be linked with before -lX11, unlike the other
25954 # libraries we check for below, so use a different variable.
25955 # John Interrante, Karl Berry
25956 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25957 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25958 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25960 else
25961 ac_check_lib_save_LIBS=$LIBS
25962 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25963 cat >conftest.$ac_ext <<_ACEOF
25964 /* confdefs.h. */
25965 _ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969
25970 /* Override any gcc2 internal prototype to avoid an error. */
25971 #ifdef __cplusplus
25972 extern "C"
25973 #endif
25974 /* We use char because int might match the return type of a gcc2
25975 builtin and then its argument prototype would still apply. */
25976 char IceConnectionNumber ();
25977 int
25978 main ()
25979 {
25980 IceConnectionNumber ();
25981 ;
25982 return 0;
25983 }
25984 _ACEOF
25985 rm -f conftest.$ac_objext conftest$ac_exeext
25986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25987 (eval $ac_link) 2>conftest.er1
25988 ac_status=$?
25989 grep -v '^ *+' conftest.er1 >conftest.err
25990 rm -f conftest.er1
25991 cat conftest.err >&5
25992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993 (exit $ac_status); } &&
25994 { ac_try='test -z "$ac_c_werror_flag"
25995 || test ! -s conftest.err'
25996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25997 (eval $ac_try) 2>&5
25998 ac_status=$?
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); }; } &&
26001 { ac_try='test -s conftest$ac_exeext'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26004 ac_status=$?
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; }; then
26007 ac_cv_lib_ICE_IceConnectionNumber=yes
26008 else
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26011
26012 ac_cv_lib_ICE_IceConnectionNumber=no
26013 fi
26014 rm -f conftest.err conftest.$ac_objext \
26015 conftest$ac_exeext conftest.$ac_ext
26016 LIBS=$ac_check_lib_save_LIBS
26017 fi
26018 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26019 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26020 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26021 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26022 fi
26023
26024 LDFLAGS=$ac_save_LDFLAGS
26025
26026 fi
26027
26028
26029 if test "$no_x" = "yes"; then
26030 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26031 echo "$as_me: error: X11 not found" >&2;}
26032 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26033 fi
26034
26035 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26036 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26037 AFMINSTALL=afminstall
26038 COMPILED_X_PROGRAM=0
26039
26040 fi
26041
26042 if test "$wxUSE_X11" = 1; then
26043 if test "$wxUSE_NANOX" = "yes"; then
26044 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26045 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26046 if test "x$MICROWIN" = x ; then
26047 echo "$as_me:$LINENO: result: not found" >&5
26048 echo "${ECHO_T}not found" >&6
26049 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26050 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26051 { (exit 1); exit 1; }; }
26052 else
26053 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26054 echo "${ECHO_T}$MICROWIN" >&6
26055 cat >>confdefs.h <<\_ACEOF
26056 #define wxUSE_NANOX 1
26057 _ACEOF
26058
26059 fi
26060 fi
26061
26062 if test "$wxUSE_UNICODE" = "yes"; then
26063
26064 succeeded=no
26065
26066 if test -z "$PKG_CONFIG"; then
26067 # Extract the first word of "pkg-config", so it can be a program name with args.
26068 set dummy pkg-config; ac_word=$2
26069 echo "$as_me:$LINENO: checking for $ac_word" >&5
26070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26071 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26072 echo $ECHO_N "(cached) $ECHO_C" >&6
26073 else
26074 case $PKG_CONFIG in
26075 [\\/]* | ?:[\\/]*)
26076 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26077 ;;
26078 *)
26079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26080 for as_dir in $PATH
26081 do
26082 IFS=$as_save_IFS
26083 test -z "$as_dir" && as_dir=.
26084 for ac_exec_ext in '' $ac_executable_extensions; do
26085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26086 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26088 break 2
26089 fi
26090 done
26091 done
26092
26093 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26094 ;;
26095 esac
26096 fi
26097 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26098
26099 if test -n "$PKG_CONFIG"; then
26100 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26101 echo "${ECHO_T}$PKG_CONFIG" >&6
26102 else
26103 echo "$as_me:$LINENO: result: no" >&5
26104 echo "${ECHO_T}no" >&6
26105 fi
26106
26107 fi
26108
26109 if test "$PKG_CONFIG" = "no" ; then
26110 echo "*** The pkg-config script could not be found. Make sure it is"
26111 echo "*** in your path, or set the PKG_CONFIG environment variable"
26112 echo "*** to the full path to pkg-config."
26113 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26114 else
26115 PKG_CONFIG_MIN_VERSION=0.9.0
26116 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26117 echo "$as_me:$LINENO: checking for pangox" >&5
26118 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
26119
26120 if $PKG_CONFIG --exists "pangox" ; then
26121 echo "$as_me:$LINENO: result: yes" >&5
26122 echo "${ECHO_T}yes" >&6
26123 succeeded=yes
26124
26125 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
26126 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
26127 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
26128 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
26129 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
26130
26131 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
26132 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
26133 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
26134 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
26135 echo "${ECHO_T}$PANGOX_LIBS" >&6
26136 else
26137 PANGOX_CFLAGS=""
26138 PANGOX_LIBS=""
26139 ## If we have a custom action on failure, don't print errors, but
26140 ## do set a variable so people can do so.
26141 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
26142
26143 fi
26144
26145
26146
26147 else
26148 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26149 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26150 fi
26151 fi
26152
26153 if test $succeeded = yes; then
26154
26155 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
26156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
26157
26158 else
26159
26160 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26161 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26162 { (exit 1); exit 1; }; }
26163
26164
26165 fi
26166
26167
26168 succeeded=no
26169
26170 if test -z "$PKG_CONFIG"; then
26171 # Extract the first word of "pkg-config", so it can be a program name with args.
26172 set dummy pkg-config; ac_word=$2
26173 echo "$as_me:$LINENO: checking for $ac_word" >&5
26174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26175 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 else
26178 case $PKG_CONFIG in
26179 [\\/]* | ?:[\\/]*)
26180 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26181 ;;
26182 *)
26183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26184 for as_dir in $PATH
26185 do
26186 IFS=$as_save_IFS
26187 test -z "$as_dir" && as_dir=.
26188 for ac_exec_ext in '' $ac_executable_extensions; do
26189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26190 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26192 break 2
26193 fi
26194 done
26195 done
26196
26197 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26198 ;;
26199 esac
26200 fi
26201 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26202
26203 if test -n "$PKG_CONFIG"; then
26204 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26205 echo "${ECHO_T}$PKG_CONFIG" >&6
26206 else
26207 echo "$as_me:$LINENO: result: no" >&5
26208 echo "${ECHO_T}no" >&6
26209 fi
26210
26211 fi
26212
26213 if test "$PKG_CONFIG" = "no" ; then
26214 echo "*** The pkg-config script could not be found. Make sure it is"
26215 echo "*** in your path, or set the PKG_CONFIG environment variable"
26216 echo "*** to the full path to pkg-config."
26217 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26218 else
26219 PKG_CONFIG_MIN_VERSION=0.9.0
26220 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26221 echo "$as_me:$LINENO: checking for pangoft2" >&5
26222 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26223
26224 if $PKG_CONFIG --exists "pangoft2" ; then
26225 echo "$as_me:$LINENO: result: yes" >&5
26226 echo "${ECHO_T}yes" >&6
26227 succeeded=yes
26228
26229 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26230 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26231 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
26232 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26233 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26234
26235 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26236 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26237 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
26238 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26239 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26240 else
26241 PANGOFT2_CFLAGS=""
26242 PANGOFT2_LIBS=""
26243 ## If we have a custom action on failure, don't print errors, but
26244 ## do set a variable so people can do so.
26245 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26246
26247 fi
26248
26249
26250
26251 else
26252 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26253 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26254 fi
26255 fi
26256
26257 if test $succeeded = yes; then
26258
26259 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
26260 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26261
26262 else
26263
26264 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26265 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26266 wxUSE_PRINTING_ARCHITECTURE="no"
26267
26268
26269 fi
26270
26271
26272 succeeded=no
26273
26274 if test -z "$PKG_CONFIG"; then
26275 # Extract the first word of "pkg-config", so it can be a program name with args.
26276 set dummy pkg-config; ac_word=$2
26277 echo "$as_me:$LINENO: checking for $ac_word" >&5
26278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26279 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26280 echo $ECHO_N "(cached) $ECHO_C" >&6
26281 else
26282 case $PKG_CONFIG in
26283 [\\/]* | ?:[\\/]*)
26284 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26285 ;;
26286 *)
26287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26288 for as_dir in $PATH
26289 do
26290 IFS=$as_save_IFS
26291 test -z "$as_dir" && as_dir=.
26292 for ac_exec_ext in '' $ac_executable_extensions; do
26293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26294 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26296 break 2
26297 fi
26298 done
26299 done
26300
26301 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26302 ;;
26303 esac
26304 fi
26305 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26306
26307 if test -n "$PKG_CONFIG"; then
26308 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26309 echo "${ECHO_T}$PKG_CONFIG" >&6
26310 else
26311 echo "$as_me:$LINENO: result: no" >&5
26312 echo "${ECHO_T}no" >&6
26313 fi
26314
26315 fi
26316
26317 if test "$PKG_CONFIG" = "no" ; then
26318 echo "*** The pkg-config script could not be found. Make sure it is"
26319 echo "*** in your path, or set the PKG_CONFIG environment variable"
26320 echo "*** to the full path to pkg-config."
26321 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26322 else
26323 PKG_CONFIG_MIN_VERSION=0.9.0
26324 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26325 echo "$as_me:$LINENO: checking for pangoxft" >&5
26326 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26327
26328 if $PKG_CONFIG --exists "pangoxft" ; then
26329 echo "$as_me:$LINENO: result: yes" >&5
26330 echo "${ECHO_T}yes" >&6
26331 succeeded=yes
26332
26333 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26334 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26335 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
26336 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26337 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26338
26339 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26340 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26341 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
26342 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26343 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26344 else
26345 PANGOXFT_CFLAGS=""
26346 PANGOXFT_LIBS=""
26347 ## If we have a custom action on failure, don't print errors, but
26348 ## do set a variable so people can do so.
26349 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26350
26351 fi
26352
26353
26354
26355 else
26356 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26357 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26358 fi
26359 fi
26360
26361 if test $succeeded = yes; then
26362
26363 cat >>confdefs.h <<\_ACEOF
26364 #define HAVE_PANGO_XFT 1
26365 _ACEOF
26366
26367 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
26368 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26369
26370 else
26371
26372 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26373 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26374
26375
26376 fi
26377
26378 save_CFLAGS="$CFLAGS"
26379 save_LIBS="$LIBS"
26380 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
26381 LIBS="$LIBS $PANGOX_LIBS"
26382
26383 for ac_func in pango_font_family_is_monospace
26384 do
26385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26386 echo "$as_me:$LINENO: checking for $ac_func" >&5
26387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26388 if eval "test \"\${$as_ac_var+set}\" = set"; then
26389 echo $ECHO_N "(cached) $ECHO_C" >&6
26390 else
26391 cat >conftest.$ac_ext <<_ACEOF
26392 /* confdefs.h. */
26393 _ACEOF
26394 cat confdefs.h >>conftest.$ac_ext
26395 cat >>conftest.$ac_ext <<_ACEOF
26396 /* end confdefs.h. */
26397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26399 #define $ac_func innocuous_$ac_func
26400
26401 /* System header to define __stub macros and hopefully few prototypes,
26402 which can conflict with char $ac_func (); below.
26403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26404 <limits.h> exists even on freestanding compilers. */
26405
26406 #ifdef __STDC__
26407 # include <limits.h>
26408 #else
26409 # include <assert.h>
26410 #endif
26411
26412 #undef $ac_func
26413
26414 /* Override any gcc2 internal prototype to avoid an error. */
26415 #ifdef __cplusplus
26416 extern "C"
26417 {
26418 #endif
26419 /* We use char because int might match the return type of a gcc2
26420 builtin and then its argument prototype would still apply. */
26421 char $ac_func ();
26422 /* The GNU C library defines this for functions which it implements
26423 to always fail with ENOSYS. Some functions are actually named
26424 something starting with __ and the normal name is an alias. */
26425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26426 choke me
26427 #else
26428 char (*f) () = $ac_func;
26429 #endif
26430 #ifdef __cplusplus
26431 }
26432 #endif
26433
26434 int
26435 main ()
26436 {
26437 return f != $ac_func;
26438 ;
26439 return 0;
26440 }
26441 _ACEOF
26442 rm -f conftest.$ac_objext conftest$ac_exeext
26443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26444 (eval $ac_link) 2>conftest.er1
26445 ac_status=$?
26446 grep -v '^ *+' conftest.er1 >conftest.err
26447 rm -f conftest.er1
26448 cat conftest.err >&5
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); } &&
26451 { ac_try='test -z "$ac_c_werror_flag"
26452 || test ! -s conftest.err'
26453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454 (eval $ac_try) 2>&5
26455 ac_status=$?
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); }; } &&
26458 { ac_try='test -s conftest$ac_exeext'
26459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460 (eval $ac_try) 2>&5
26461 ac_status=$?
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); }; }; then
26464 eval "$as_ac_var=yes"
26465 else
26466 echo "$as_me: failed program was:" >&5
26467 sed 's/^/| /' conftest.$ac_ext >&5
26468
26469 eval "$as_ac_var=no"
26470 fi
26471 rm -f conftest.err conftest.$ac_objext \
26472 conftest$ac_exeext conftest.$ac_ext
26473 fi
26474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26476 if test `eval echo '${'$as_ac_var'}'` = yes; then
26477 cat >>confdefs.h <<_ACEOF
26478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26479 _ACEOF
26480
26481 fi
26482 done
26483
26484 CFLAGS="$save_CFLAGS"
26485 LIBS="$save_LIBS"
26486 fi
26487
26488 wxUSE_UNIVERSAL="yes"
26489
26490 if test "$wxUSE_NANOX" = "yes"; then
26491 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26492 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"
26493 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26494 else
26495 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26496 fi
26497
26498 TOOLKIT=X11
26499 GUIDIST=X11_DIST
26500 fi
26501
26502 if test "$wxUSE_MOTIF" = 1; then
26503 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26504 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26505
26506 ac_find_includes=
26507 for ac_dir in $SEARCH_INCLUDE /usr/include;
26508 do
26509 if test -f "$ac_dir/Xm/Xm.h"; then
26510 ac_find_includes=$ac_dir
26511 break
26512 fi
26513 done
26514
26515 if test "$ac_find_includes" != "" ; then
26516 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26517 echo "${ECHO_T}found in $ac_find_includes" >&6
26518
26519 if test "x$ac_find_includes" = "x/usr/include"; then
26520 ac_path_to_include=""
26521 else
26522 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26523 result=$?
26524 if test $result = 0; then
26525 ac_path_to_include=""
26526 else
26527 ac_path_to_include=" -I$ac_find_includes"
26528 fi
26529 fi
26530
26531 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26532 else
26533 cat >conftest.$ac_ext <<_ACEOF
26534 /* confdefs.h. */
26535 _ACEOF
26536 cat confdefs.h >>conftest.$ac_ext
26537 cat >>conftest.$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26539
26540 #include <Xm/Xm.h>
26541
26542 int
26543 main ()
26544 {
26545
26546 int version;
26547 version = xmUseVersion;
26548
26549 ;
26550 return 0;
26551 }
26552 _ACEOF
26553 rm -f conftest.$ac_objext
26554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26555 (eval $ac_compile) 2>conftest.er1
26556 ac_status=$?
26557 grep -v '^ *+' conftest.er1 >conftest.err
26558 rm -f conftest.er1
26559 cat conftest.err >&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); } &&
26562 { ac_try='test -z "$ac_c_werror_flag"
26563 || test ! -s conftest.err'
26564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26565 (eval $ac_try) 2>&5
26566 ac_status=$?
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); }; } &&
26569 { ac_try='test -s conftest.$ac_objext'
26570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26571 (eval $ac_try) 2>&5
26572 ac_status=$?
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); }; }; then
26575
26576 echo "$as_me:$LINENO: result: found in default search path" >&5
26577 echo "${ECHO_T}found in default search path" >&6
26578 COMPILED_X_PROGRAM=1
26579
26580 else
26581 echo "$as_me: failed program was:" >&5
26582 sed 's/^/| /' conftest.$ac_ext >&5
26583
26584
26585 echo "$as_me:$LINENO: result: no" >&5
26586 echo "${ECHO_T}no" >&6
26587 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26588 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26589 { (exit 1); exit 1; }; }
26590
26591
26592 fi
26593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26594 fi
26595
26596 if test "$COMPILED_X_PROGRAM" = 0; then
26597 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26598 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26599
26600 ac_find_libraries=
26601 for ac_dir in $SEARCH_LIB /usr/lib;
26602 do
26603 for ac_extension in a so sl dylib; do
26604 if test -f "$ac_dir/libXm.$ac_extension"; then
26605 ac_find_libraries=$ac_dir
26606 break 2
26607 fi
26608 done
26609 done
26610
26611 if test "$ac_find_libraries" != "" ; then
26612 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26613 echo "${ECHO_T}found at $ac_find_libraries" >&6
26614
26615
26616 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26617 result=$?
26618 if test $result = 0; then
26619 ac_path_to_link=""
26620 else
26621 ac_path_to_link=" -L$ac_find_libraries"
26622 fi
26623
26624 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26625 else
26626 save_CFLAGS=$CFLAGS
26627 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26628
26629 cat >conftest.$ac_ext <<_ACEOF
26630 /* confdefs.h. */
26631 _ACEOF
26632 cat confdefs.h >>conftest.$ac_ext
26633 cat >>conftest.$ac_ext <<_ACEOF
26634 /* end confdefs.h. */
26635
26636 #include <Xm/Xm.h>
26637
26638 int
26639 main ()
26640 {
26641
26642 int version;
26643 version = xmUseVersion;
26644
26645 ;
26646 return 0;
26647 }
26648 _ACEOF
26649 rm -f conftest.$ac_objext
26650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26651 (eval $ac_compile) 2>conftest.er1
26652 ac_status=$?
26653 grep -v '^ *+' conftest.er1 >conftest.err
26654 rm -f conftest.er1
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } &&
26658 { ac_try='test -z "$ac_c_werror_flag"
26659 || test ! -s conftest.err'
26660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26661 (eval $ac_try) 2>&5
26662 ac_status=$?
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); }; } &&
26665 { ac_try='test -s conftest.$ac_objext'
26666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26667 (eval $ac_try) 2>&5
26668 ac_status=$?
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; }; then
26671
26672 echo "$as_me:$LINENO: result: found in default search path" >&5
26673 echo "${ECHO_T}found in default search path" >&6
26674 COMPILED_X_PROGRAM=1
26675
26676 else
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26679
26680
26681 echo "$as_me:$LINENO: result: no" >&5
26682 echo "${ECHO_T}no" >&6
26683 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26684 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26685 { (exit 1); exit 1; }; }
26686
26687
26688 fi
26689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26690
26691 CFLAGS=$save_CFLAGS
26692 fi
26693 fi
26694
26695 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26696 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26697 libp_link=""
26698 libsm_ice_link=""
26699 libs_found=0
26700 for libp in "" " -lXp"; do
26701 if test "$libs_found" = "0"; then
26702 for libsm_ice in "" " -lSM -lICE"; do
26703 if test "$libs_found" = "0"; then
26704 save_LIBS="$LIBS"
26705 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26706 save_CFLAGS=$CFLAGS
26707 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26708
26709 cat >conftest.$ac_ext <<_ACEOF
26710 /* confdefs.h. */
26711 _ACEOF
26712 cat confdefs.h >>conftest.$ac_ext
26713 cat >>conftest.$ac_ext <<_ACEOF
26714 /* end confdefs.h. */
26715
26716 #include <Xm/Xm.h>
26717 #include <Xm/List.h>
26718
26719 int
26720 main ()
26721 {
26722
26723 XmString string = NULL;
26724 Widget w = NULL;
26725 int position = 0;
26726 XmListAddItem(w, string, position);
26727
26728 ;
26729 return 0;
26730 }
26731 _ACEOF
26732 rm -f conftest.$ac_objext conftest$ac_exeext
26733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26734 (eval $ac_link) 2>conftest.er1
26735 ac_status=$?
26736 grep -v '^ *+' conftest.er1 >conftest.err
26737 rm -f conftest.er1
26738 cat conftest.err >&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } &&
26741 { ac_try='test -z "$ac_c_werror_flag"
26742 || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try='test -s conftest$ac_exeext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754
26755 libp_link="$libp"
26756 libsm_ice_link="$libsm_ice"
26757 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26758 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26759 libs_found=1
26760
26761 else
26762 echo "$as_me: failed program was:" >&5
26763 sed 's/^/| /' conftest.$ac_ext >&5
26764
26765
26766
26767 fi
26768 rm -f conftest.err conftest.$ac_objext \
26769 conftest$ac_exeext conftest.$ac_ext
26770
26771 LIBS="$save_LIBS"
26772 CFLAGS=$save_CFLAGS
26773 fi
26774 done
26775 fi
26776 done
26777
26778 if test "$libs_found" = "0"; then
26779 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26780 echo "${ECHO_T}can't find the right libraries" >&6
26781 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26782 echo "$as_me: error: can't link a simple motif program" >&2;}
26783 { (exit 1); exit 1; }; }
26784 fi
26785
26786 save_CFLAGS=$CFLAGS
26787 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26788 echo "$as_me:$LINENO: checking for Motif 2" >&5
26789 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26790 cat >conftest.$ac_ext <<_ACEOF
26791 /* confdefs.h. */
26792 _ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796
26797 #include <Xm/Xm.h>
26798
26799 int
26800 main ()
26801 {
26802
26803 #if XmVersion < 2000
26804 #error "Not Motif 2"
26805 #endif
26806
26807 ;
26808 return 0;
26809 }
26810 _ACEOF
26811 rm -f conftest.$ac_objext
26812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26813 (eval $ac_compile) 2>conftest.er1
26814 ac_status=$?
26815 grep -v '^ *+' conftest.er1 >conftest.err
26816 rm -f conftest.er1
26817 cat conftest.err >&5
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); } &&
26820 { ac_try='test -z "$ac_c_werror_flag"
26821 || test ! -s conftest.err'
26822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26823 (eval $ac_try) 2>&5
26824 ac_status=$?
26825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826 (exit $ac_status); }; } &&
26827 { ac_try='test -s conftest.$ac_objext'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26830 ac_status=$?
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; }; then
26833
26834 cat >>confdefs.h <<\_ACEOF
26835 #define __WXMOTIF20__ 1
26836 _ACEOF
26837
26838 echo "$as_me:$LINENO: result: found" >&5
26839 echo "${ECHO_T}found" >&6
26840
26841 else
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26844
26845
26846 cat >>confdefs.h <<\_ACEOF
26847 #define __WXMOTIF20__ 0
26848 _ACEOF
26849
26850 echo "$as_me:$LINENO: result: not found" >&5
26851 echo "${ECHO_T}not found" >&6
26852
26853 fi
26854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26855 CFLAGS=$save_CFLAGS
26856
26857 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26858 TOOLKIT=MOTIF
26859 GUIDIST=MOTIF_DIST
26860 fi
26861
26862 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26863 if test "$wxUSE_LIBXPM" = "sys"; then
26864 echo "$as_me:$LINENO: checking for Xpm library" >&5
26865 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26866
26867 ac_find_libraries=
26868 for ac_dir in $SEARCH_LIB /usr/lib;
26869 do
26870 for ac_extension in a so sl dylib; do
26871 if test -f "$ac_dir/libXpm.$ac_extension"; then
26872 ac_find_libraries=$ac_dir
26873 break 2
26874 fi
26875 done
26876 done
26877
26878 if test "$ac_find_libraries" != "" ; then
26879
26880 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26881 result=$?
26882 if test $result = 0; then
26883 ac_path_to_link=""
26884 else
26885 ac_path_to_link=" -L$ac_find_libraries"
26886 fi
26887
26888 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26889 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26890 echo "${ECHO_T}found at $ac_find_libraries" >&6
26891
26892 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26893 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26894 if test "${wx_cv_x11_xpm_h+set}" = set; then
26895 echo $ECHO_N "(cached) $ECHO_C" >&6
26896 else
26897
26898 save_CFLAGS=$CFLAGS
26899 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26900
26901 cat >conftest.$ac_ext <<_ACEOF
26902 /* confdefs.h. */
26903 _ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907
26908 #include <X11/xpm.h>
26909
26910 int
26911 main ()
26912 {
26913
26914 int version;
26915 version = XpmLibraryVersion();
26916
26917 ;
26918 return 0;
26919 }
26920 _ACEOF
26921 rm -f conftest.$ac_objext
26922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26923 (eval $ac_compile) 2>conftest.er1
26924 ac_status=$?
26925 grep -v '^ *+' conftest.er1 >conftest.err
26926 rm -f conftest.er1
26927 cat conftest.err >&5
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); } &&
26930 { ac_try='test -z "$ac_c_werror_flag"
26931 || test ! -s conftest.err'
26932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26933 (eval $ac_try) 2>&5
26934 ac_status=$?
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); }; } &&
26937 { ac_try='test -s conftest.$ac_objext'
26938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26939 (eval $ac_try) 2>&5
26940 ac_status=$?
26941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26942 (exit $ac_status); }; }; then
26943 wx_cv_x11_xpm_h=yes
26944 else
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.$ac_ext >&5
26947
26948 wx_cv_x11_xpm_h=no
26949
26950 fi
26951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26952
26953 CFLAGS=$save_CFLAGS
26954
26955
26956 fi
26957 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26958 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26959
26960 if test $wx_cv_x11_xpm_h = "yes"; then
26961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26962 cat >>confdefs.h <<\_ACEOF
26963 #define wxHAVE_LIB_XPM 1
26964 _ACEOF
26965
26966 else
26967 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26968 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26969 fi
26970 fi
26971
26972 fi
26973
26974 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26975 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26976 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26977 echo $ECHO_N "(cached) $ECHO_C" >&6
26978 else
26979 ac_check_lib_save_LIBS=$LIBS
26980 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26981 cat >conftest.$ac_ext <<_ACEOF
26982 /* confdefs.h. */
26983 _ACEOF
26984 cat confdefs.h >>conftest.$ac_ext
26985 cat >>conftest.$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26987
26988 /* Override any gcc2 internal prototype to avoid an error. */
26989 #ifdef __cplusplus
26990 extern "C"
26991 #endif
26992 /* We use char because int might match the return type of a gcc2
26993 builtin and then its argument prototype would still apply. */
26994 char XShapeQueryExtension ();
26995 int
26996 main ()
26997 {
26998 XShapeQueryExtension ();
26999 ;
27000 return 0;
27001 }
27002 _ACEOF
27003 rm -f conftest.$ac_objext conftest$ac_exeext
27004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27005 (eval $ac_link) 2>conftest.er1
27006 ac_status=$?
27007 grep -v '^ *+' conftest.er1 >conftest.err
27008 rm -f conftest.er1
27009 cat conftest.err >&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); } &&
27012 { ac_try='test -z "$ac_c_werror_flag"
27013 || test ! -s conftest.err'
27014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015 (eval $ac_try) 2>&5
27016 ac_status=$?
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); }; } &&
27019 { ac_try='test -s conftest$ac_exeext'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27022 ac_status=$?
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; }; then
27025 ac_cv_lib_Xext_XShapeQueryExtension=yes
27026 else
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.$ac_ext >&5
27029
27030 ac_cv_lib_Xext_XShapeQueryExtension=no
27031 fi
27032 rm -f conftest.err conftest.$ac_objext \
27033 conftest$ac_exeext conftest.$ac_ext
27034 LIBS=$ac_check_lib_save_LIBS
27035 fi
27036 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27037 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27038 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27039
27040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27041 wxHAVE_XEXT_LIB=1
27042
27043 fi
27044
27045
27046 if test "$wxHAVE_XEXT_LIB" = 1; then
27047 save_CFLAGS="$CFLAGS"
27048 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27049
27050 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27051 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27052 cat >conftest.$ac_ext <<_ACEOF
27053 /* confdefs.h. */
27054 _ACEOF
27055 cat confdefs.h >>conftest.$ac_ext
27056 cat >>conftest.$ac_ext <<_ACEOF
27057 /* end confdefs.h. */
27058
27059 #include <X11/Xlib.h>
27060 #include <X11/extensions/shape.h>
27061
27062 int
27063 main ()
27064 {
27065
27066 int dummy1, dummy2;
27067 XShapeQueryExtension((Display*)NULL,
27068 (int*)NULL, (int*)NULL);
27069
27070 ;
27071 return 0;
27072 }
27073 _ACEOF
27074 rm -f conftest.$ac_objext
27075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27076 (eval $ac_compile) 2>conftest.er1
27077 ac_status=$?
27078 grep -v '^ *+' conftest.er1 >conftest.err
27079 rm -f conftest.er1
27080 cat conftest.err >&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try='test -z "$ac_c_werror_flag"
27084 || test ! -s conftest.err'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27087 ac_status=$?
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; } &&
27090 { ac_try='test -s conftest.$ac_objext'
27091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27092 (eval $ac_try) 2>&5
27093 ac_status=$?
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); }; }; then
27096
27097 cat >>confdefs.h <<\_ACEOF
27098 #define HAVE_XSHAPE 1
27099 _ACEOF
27100
27101 echo "$as_me:$LINENO: result: found" >&5
27102 echo "${ECHO_T}found" >&6
27103
27104 else
27105 echo "$as_me: failed program was:" >&5
27106 sed 's/^/| /' conftest.$ac_ext >&5
27107
27108
27109 echo "$as_me:$LINENO: result: not found" >&5
27110 echo "${ECHO_T}not found" >&6
27111
27112 fi
27113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27114 CFLAGS="$save_CFLAGS"
27115
27116 fi
27117 fi
27118
27119 if test "$wxUSE_MAC" = 1; then
27120 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27121 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27122 if test "$GCC" = yes; then
27123 echo "$as_me:$LINENO: result: gcc" >&5
27124 echo "${ECHO_T}gcc" >&6
27125 CPPFLAGS_PASCAL="-fpascal-strings"
27126 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27127 echo "$as_me:$LINENO: result: xlc" >&5
27128 echo "${ECHO_T}xlc" >&6
27129 CPPFLAGS_PASCAL="-qmacpstr"
27130 else
27131 echo "$as_me:$LINENO: result: none" >&5
27132 echo "${ECHO_T}none" >&6
27133 fi
27134
27135 if test "x$wxUSE_UNIX" = "xyes"; then
27136 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27137 else
27138 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
27139 fi
27140
27141 TOOLKIT=MAC
27142 GUIDIST=MACX_DIST
27143 WXBASEPORT="_carbon"
27144 fi
27145
27146 if test "$wxUSE_COCOA" = 1; then
27147 TOOLKIT=COCOA
27148 GUIDIST=COCOA_DIST
27149 fi
27150
27151 if test "$wxUSE_PM" = 1; then
27152 TOOLKIT=PM
27153 GUIDIST=PM_DIST
27154 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27155 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27156 if test "${wx_cv_spbcdata+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 else
27159
27160 cat >conftest.$ac_ext <<_ACEOF
27161 /* confdefs.h. */
27162 _ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166
27167 #define INCL_PM
27168 #include <os2.h>
27169
27170 int
27171 main ()
27172 {
27173
27174 SPBCDATA test;
27175
27176 ;
27177 return 0;
27178 }
27179 _ACEOF
27180 rm -f conftest.$ac_objext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27182 (eval $ac_compile) 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } &&
27189 { ac_try='test -z "$ac_c_werror_flag"
27190 || 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 wx_cv_spbcdata=yes
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207 wx_cv_spbcdata=no
27208
27209 fi
27210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27211
27212
27213 fi
27214 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27215 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27216
27217 if test $wx_cv_spbcdata = "yes"; then
27218 cat >>confdefs.h <<\_ACEOF
27219 #define HAVE_SPBCDATA 1
27220 _ACEOF
27221
27222 fi
27223 fi
27224
27225 if test "$TOOLKIT" = "PM" ; then
27226 TOOLKIT_DIR="os2"
27227 else
27228 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27229 fi
27230
27231 if test "$wxUSE_UNIVERSAL" = "yes"; then
27232 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27233 WIDGET_SET=univ
27234 fi
27235
27236 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27237 DISTDIR="wx\$(TOOLKIT)"
27238 else
27239 USE_GUI=0
27240
27241 TOOLKIT_DIR="base"
27242
27243 if test "$USE_WIN32" = 1 ; then
27244 TOOLKIT="MSW"
27245 fi
27246
27247 GUIDIST="BASE_DIST"
27248 DISTDIR="wxBase"
27249 fi
27250
27251
27252
27253
27254 IODBC_C_SRC=""
27255
27256
27257 if test "$TOOLKIT" != "MSW" ; then
27258
27259 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27260
27261 if test "${ac_cv_header_sql_h+set}" = set; then
27262 echo "$as_me:$LINENO: checking for sql.h" >&5
27263 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27264 if test "${ac_cv_header_sql_h+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27266 fi
27267 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27269 else
27270 # Is the header compilable?
27271 echo "$as_me:$LINENO: checking sql.h usability" >&5
27272 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27273 cat >conftest.$ac_ext <<_ACEOF
27274 /* confdefs.h. */
27275 _ACEOF
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279 $ac_includes_default
27280 #include <sql.h>
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27285 ac_status=$?
27286 grep -v '^ *+' conftest.er1 >conftest.err
27287 rm -f conftest.er1
27288 cat conftest.err >&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try='test -z "$ac_c_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 ac_header_compiler=yes
27305 else
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27308
27309 ac_header_compiler=no
27310 fi
27311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27313 echo "${ECHO_T}$ac_header_compiler" >&6
27314
27315 # Is the header present?
27316 echo "$as_me:$LINENO: checking sql.h presence" >&5
27317 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27318 cat >conftest.$ac_ext <<_ACEOF
27319 /* confdefs.h. */
27320 _ACEOF
27321 cat confdefs.h >>conftest.$ac_ext
27322 cat >>conftest.$ac_ext <<_ACEOF
27323 /* end confdefs.h. */
27324 #include <sql.h>
27325 _ACEOF
27326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27328 ac_status=$?
27329 grep -v '^ *+' conftest.er1 >conftest.err
27330 rm -f conftest.er1
27331 cat conftest.err >&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } >/dev/null; then
27334 if test -s conftest.err; then
27335 ac_cpp_err=$ac_c_preproc_warn_flag
27336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27337 else
27338 ac_cpp_err=
27339 fi
27340 else
27341 ac_cpp_err=yes
27342 fi
27343 if test -z "$ac_cpp_err"; then
27344 ac_header_preproc=yes
27345 else
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.$ac_ext >&5
27348
27349 ac_header_preproc=no
27350 fi
27351 rm -f conftest.err conftest.$ac_ext
27352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27353 echo "${ECHO_T}$ac_header_preproc" >&6
27354
27355 # So? What about this header?
27356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27357 yes:no: )
27358 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27359 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27360 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27361 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27362 ac_header_preproc=yes
27363 ;;
27364 no:yes:* )
27365 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27366 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27367 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27368 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27370 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27372 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27373 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27374 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27375 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27376 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27377 (
27378 cat <<\_ASBOX
27379 ## ----------------------------------------- ##
27380 ## Report this to wx-dev@lists.wxwidgets.org ##
27381 ## ----------------------------------------- ##
27382 _ASBOX
27383 ) |
27384 sed "s/^/$as_me: WARNING: /" >&2
27385 ;;
27386 esac
27387 echo "$as_me:$LINENO: checking for sql.h" >&5
27388 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27389 if test "${ac_cv_header_sql_h+set}" = set; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27391 else
27392 ac_cv_header_sql_h=$ac_header_preproc
27393 fi
27394 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27395 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27396
27397 fi
27398 if test $ac_cv_header_sql_h = yes; then
27399 found_sql_h=1
27400 fi
27401
27402
27403 if test "x$found_sql_h" = "x1" ; then
27404 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27405 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27406 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 else
27409 ac_check_lib_save_LIBS=$LIBS
27410 LIBS="-liodbc $LIBS"
27411 cat >conftest.$ac_ext <<_ACEOF
27412 /* confdefs.h. */
27413 _ACEOF
27414 cat confdefs.h >>conftest.$ac_ext
27415 cat >>conftest.$ac_ext <<_ACEOF
27416 /* end confdefs.h. */
27417
27418 /* Override any gcc2 internal prototype to avoid an error. */
27419 #ifdef __cplusplus
27420 extern "C"
27421 #endif
27422 /* We use char because int might match the return type of a gcc2
27423 builtin and then its argument prototype would still apply. */
27424 char SQLAllocEnv ();
27425 int
27426 main ()
27427 {
27428 SQLAllocEnv ();
27429 ;
27430 return 0;
27431 }
27432 _ACEOF
27433 rm -f conftest.$ac_objext conftest$ac_exeext
27434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27435 (eval $ac_link) 2>conftest.er1
27436 ac_status=$?
27437 grep -v '^ *+' conftest.er1 >conftest.err
27438 rm -f conftest.er1
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } &&
27442 { ac_try='test -z "$ac_c_werror_flag"
27443 || test ! -s conftest.err'
27444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27445 (eval $ac_try) 2>&5
27446 ac_status=$?
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); }; } &&
27449 { ac_try='test -s conftest$ac_exeext'
27450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27451 (eval $ac_try) 2>&5
27452 ac_status=$?
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); }; }; then
27455 ac_cv_lib_iodbc_SQLAllocEnv=yes
27456 else
27457 echo "$as_me: failed program was:" >&5
27458 sed 's/^/| /' conftest.$ac_ext >&5
27459
27460 ac_cv_lib_iodbc_SQLAllocEnv=no
27461 fi
27462 rm -f conftest.err conftest.$ac_objext \
27463 conftest$ac_exeext conftest.$ac_ext
27464 LIBS=$ac_check_lib_save_LIBS
27465 fi
27466 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27467 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27468 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27469 ODBC_LINK=" -liodbc"
27470 else
27471
27472 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27473 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27474 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27475 echo $ECHO_N "(cached) $ECHO_C" >&6
27476 else
27477 ac_check_lib_save_LIBS=$LIBS
27478 LIBS="-lunixodbc $LIBS"
27479 cat >conftest.$ac_ext <<_ACEOF
27480 /* confdefs.h. */
27481 _ACEOF
27482 cat confdefs.h >>conftest.$ac_ext
27483 cat >>conftest.$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27485
27486 /* Override any gcc2 internal prototype to avoid an error. */
27487 #ifdef __cplusplus
27488 extern "C"
27489 #endif
27490 /* We use char because int might match the return type of a gcc2
27491 builtin and then its argument prototype would still apply. */
27492 char SQLAllocEnv ();
27493 int
27494 main ()
27495 {
27496 SQLAllocEnv ();
27497 ;
27498 return 0;
27499 }
27500 _ACEOF
27501 rm -f conftest.$ac_objext conftest$ac_exeext
27502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27503 (eval $ac_link) 2>conftest.er1
27504 ac_status=$?
27505 grep -v '^ *+' conftest.er1 >conftest.err
27506 rm -f conftest.er1
27507 cat conftest.err >&5
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); } &&
27510 { ac_try='test -z "$ac_c_werror_flag"
27511 || test ! -s conftest.err'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27514 ac_status=$?
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; } &&
27517 { ac_try='test -s conftest$ac_exeext'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27520 ac_status=$?
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; }; then
27523 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27524 else
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27527
27528 ac_cv_lib_unixodbc_SQLAllocEnv=no
27529 fi
27530 rm -f conftest.err conftest.$ac_objext \
27531 conftest$ac_exeext conftest.$ac_ext
27532 LIBS=$ac_check_lib_save_LIBS
27533 fi
27534 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27535 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27536 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27537 ODBC_LINK=" -lunixodbc"
27538 else
27539
27540 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27541 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27542 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 else
27545 ac_check_lib_save_LIBS=$LIBS
27546 LIBS="-lodbc $LIBS"
27547 cat >conftest.$ac_ext <<_ACEOF
27548 /* confdefs.h. */
27549 _ACEOF
27550 cat confdefs.h >>conftest.$ac_ext
27551 cat >>conftest.$ac_ext <<_ACEOF
27552 /* end confdefs.h. */
27553
27554 /* Override any gcc2 internal prototype to avoid an error. */
27555 #ifdef __cplusplus
27556 extern "C"
27557 #endif
27558 /* We use char because int might match the return type of a gcc2
27559 builtin and then its argument prototype would still apply. */
27560 char SQLAllocEnv ();
27561 int
27562 main ()
27563 {
27564 SQLAllocEnv ();
27565 ;
27566 return 0;
27567 }
27568 _ACEOF
27569 rm -f conftest.$ac_objext conftest$ac_exeext
27570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27571 (eval $ac_link) 2>conftest.er1
27572 ac_status=$?
27573 grep -v '^ *+' conftest.er1 >conftest.err
27574 rm -f conftest.er1
27575 cat conftest.err >&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } &&
27578 { ac_try='test -z "$ac_c_werror_flag"
27579 || test ! -s conftest.err'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27582 ac_status=$?
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; } &&
27585 { ac_try='test -s conftest$ac_exeext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27588 ac_status=$?
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 ac_cv_lib_odbc_SQLAllocEnv=yes
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27595
27596 ac_cv_lib_odbc_SQLAllocEnv=no
27597 fi
27598 rm -f conftest.err conftest.$ac_objext \
27599 conftest$ac_exeext conftest.$ac_ext
27600 LIBS=$ac_check_lib_save_LIBS
27601 fi
27602 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27603 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27604 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27605 ODBC_LINK=" -lodbc"
27606 fi
27607
27608
27609 fi
27610
27611
27612 fi
27613
27614 fi
27615 if test "x$ODBC_LINK" = "x" ; then
27616 if test "$wxUSE_ODBC" = "sys" ; then
27617 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27618 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27619 { (exit 1); exit 1; }; }
27620 else
27621 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27622 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27623 wxUSE_ODBC=builtin
27624 fi
27625 else
27626 wxUSE_ODBC=sys
27627 fi
27628 fi
27629 if test "$wxUSE_ODBC" != "no" ; then
27630 cat >>confdefs.h <<\_ACEOF
27631 #define wxUSE_ODBC 1
27632 _ACEOF
27633
27634 if test "$wxUSE_ODBC" = "builtin" ; then
27635 cat >>confdefs.h <<\_ACEOF
27636 #define wxUSE_BUILTIN_IODBC 1
27637 _ACEOF
27638
27639 fi
27640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27641
27642 WXODBCFLAG="-D_IODBC_"
27643 fi
27644 fi
27645
27646
27647
27648 if test "$wxUSE_DISPLAY" = "yes"; then
27649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27650 echo "$as_me:$LINENO: checking for Xinerama" >&5
27651 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27652
27653 ac_find_libraries=
27654 for ac_dir in $SEARCH_LIB /usr/lib;
27655 do
27656 for ac_extension in a so sl dylib; do
27657 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27658 ac_find_libraries=$ac_dir
27659 break 2
27660 fi
27661 done
27662 done
27663
27664 if test "$ac_find_libraries" != "" ; then
27665
27666 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27667 result=$?
27668 if test $result = 0; then
27669 ac_path_to_link=""
27670 else
27671 ac_path_to_link=" -L$ac_find_libraries"
27672 fi
27673
27674 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27675 LDFLAGS="$LDFLAGS $ac_path_to_link"
27676 fi
27677 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27678 echo "$as_me:$LINENO: result: yes" >&5
27679 echo "${ECHO_T}yes" >&6
27680
27681 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27682 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27683
27684 ac_find_libraries=
27685 for ac_dir in $SEARCH_LIB /usr/lib;
27686 do
27687 for ac_extension in a so sl dylib; do
27688 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27689 ac_find_libraries=$ac_dir
27690 break 2
27691 fi
27692 done
27693 done
27694
27695 if test "$ac_find_libraries" != "" ; then
27696 echo "$as_me:$LINENO: result: yes" >&5
27697 echo "${ECHO_T}yes" >&6
27698
27699 for ac_header in X11/extensions/xf86vmode.h
27700 do
27701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27702 echo "$as_me:$LINENO: checking for $ac_header" >&5
27703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27705 echo $ECHO_N "(cached) $ECHO_C" >&6
27706 else
27707 cat >conftest.$ac_ext <<_ACEOF
27708 /* confdefs.h. */
27709 _ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713
27714 #if HAVE_X11_XLIB_H
27715 #include <X11/Xlib.h>
27716 #endif
27717
27718
27719 #include <$ac_header>
27720 _ACEOF
27721 rm -f conftest.$ac_objext
27722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27723 (eval $ac_compile) 2>conftest.er1
27724 ac_status=$?
27725 grep -v '^ *+' conftest.er1 >conftest.err
27726 rm -f conftest.er1
27727 cat conftest.err >&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); } &&
27730 { ac_try='test -z "$ac_c_werror_flag"
27731 || test ! -s conftest.err'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; } &&
27737 { ac_try='test -s conftest.$ac_objext'
27738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27739 (eval $ac_try) 2>&5
27740 ac_status=$?
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); }; }; then
27743 eval "$as_ac_Header=yes"
27744 else
27745 echo "$as_me: failed program was:" >&5
27746 sed 's/^/| /' conftest.$ac_ext >&5
27747
27748 eval "$as_ac_Header=no"
27749 fi
27750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27751 fi
27752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27755 cat >>confdefs.h <<_ACEOF
27756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27757 _ACEOF
27758
27759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27760
27761 fi
27762
27763 done
27764
27765 else
27766 echo "$as_me:$LINENO: result: no" >&5
27767 echo "${ECHO_T}no" >&6
27768 fi
27769
27770 else
27771 echo "$as_me:$LINENO: result: no" >&5
27772 echo "${ECHO_T}no" >&6
27773 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27774 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27775 wxUSE_DISPLAY="no"
27776 fi
27777 elif test "$wxUSE_MSW" = 1; then
27778
27779
27780 for ac_header in multimon.h ddraw.h
27781 do
27782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27783 echo "$as_me:$LINENO: checking for $ac_header" >&5
27784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 else
27788 cat >conftest.$ac_ext <<_ACEOF
27789 /* confdefs.h. */
27790 _ACEOF
27791 cat confdefs.h >>conftest.$ac_ext
27792 cat >>conftest.$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27794 #include <windows.h>
27795
27796 #include <$ac_header>
27797 _ACEOF
27798 rm -f conftest.$ac_objext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27800 (eval $ac_compile) 2>conftest.er1
27801 ac_status=$?
27802 grep -v '^ *+' conftest.er1 >conftest.err
27803 rm -f conftest.er1
27804 cat conftest.err >&5
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } &&
27807 { ac_try='test -z "$ac_c_werror_flag"
27808 || test ! -s conftest.err'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; } &&
27814 { ac_try='test -s conftest.$ac_objext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27817 ac_status=$?
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 eval "$as_ac_Header=yes"
27821 else
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27824
27825 eval "$as_ac_Header=no"
27826 fi
27827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27828 fi
27829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27832 cat >>confdefs.h <<_ACEOF
27833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27834 _ACEOF
27835
27836 else
27837
27838 wxUSE_DISPLAY="no"
27839 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27840 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27841
27842 fi
27843
27844 done
27845
27846 fi
27847 fi
27848
27849
27850 USE_OPENGL=0
27851 if test "$wxUSE_OPENGL" = "yes"; then
27852 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27853 OPENGL_LIBS="-framework OpenGL -framework AGL"
27854 elif test "$wxUSE_MSW" = 1; then
27855 OPENGL_LIBS="-lopengl32 -lglu32"
27856 else
27857
27858
27859 ac_find_includes=
27860 for ac_dir in $SEARCH_INCLUDE /usr/include;
27861 do
27862 if test -f "$ac_dir/GL/gl.h"; then
27863 ac_find_includes=$ac_dir
27864 break
27865 fi
27866 done
27867
27868 if test "$ac_find_includes" != "" ; then
27869 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27870 echo "${ECHO_T}found in $ac_find_includes" >&6
27871
27872 if test "x$ac_find_includes" = "x/usr/include"; then
27873 ac_path_to_include=""
27874 else
27875 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27876 result=$?
27877 if test $result = 0; then
27878 ac_path_to_include=""
27879 else
27880 ac_path_to_include=" -I$ac_find_includes"
27881 fi
27882 fi
27883
27884 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27885 fi
27886
27887 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27888 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27889 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27890 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 fi
27893 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27894 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27895 else
27896 # Is the header compilable?
27897 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27898 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27899 cat >conftest.$ac_ext <<_ACEOF
27900 /* confdefs.h. */
27901 _ACEOF
27902 cat confdefs.h >>conftest.$ac_ext
27903 cat >>conftest.$ac_ext <<_ACEOF
27904 /* end confdefs.h. */
27905 $ac_includes_default
27906 #include <GL/gl.h>
27907 _ACEOF
27908 rm -f conftest.$ac_objext
27909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27910 (eval $ac_compile) 2>conftest.er1
27911 ac_status=$?
27912 grep -v '^ *+' conftest.er1 >conftest.err
27913 rm -f conftest.er1
27914 cat conftest.err >&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } &&
27917 { ac_try='test -z "$ac_c_werror_flag"
27918 || test ! -s conftest.err'
27919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27920 (eval $ac_try) 2>&5
27921 ac_status=$?
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); }; } &&
27924 { ac_try='test -s conftest.$ac_objext'
27925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27926 (eval $ac_try) 2>&5
27927 ac_status=$?
27928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27929 (exit $ac_status); }; }; then
27930 ac_header_compiler=yes
27931 else
27932 echo "$as_me: failed program was:" >&5
27933 sed 's/^/| /' conftest.$ac_ext >&5
27934
27935 ac_header_compiler=no
27936 fi
27937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27939 echo "${ECHO_T}$ac_header_compiler" >&6
27940
27941 # Is the header present?
27942 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27943 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27944 cat >conftest.$ac_ext <<_ACEOF
27945 /* confdefs.h. */
27946 _ACEOF
27947 cat confdefs.h >>conftest.$ac_ext
27948 cat >>conftest.$ac_ext <<_ACEOF
27949 /* end confdefs.h. */
27950 #include <GL/gl.h>
27951 _ACEOF
27952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27954 ac_status=$?
27955 grep -v '^ *+' conftest.er1 >conftest.err
27956 rm -f conftest.er1
27957 cat conftest.err >&5
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); } >/dev/null; then
27960 if test -s conftest.err; then
27961 ac_cpp_err=$ac_c_preproc_warn_flag
27962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27963 else
27964 ac_cpp_err=
27965 fi
27966 else
27967 ac_cpp_err=yes
27968 fi
27969 if test -z "$ac_cpp_err"; then
27970 ac_header_preproc=yes
27971 else
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.$ac_ext >&5
27974
27975 ac_header_preproc=no
27976 fi
27977 rm -f conftest.err conftest.$ac_ext
27978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27979 echo "${ECHO_T}$ac_header_preproc" >&6
27980
27981 # So? What about this header?
27982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27983 yes:no: )
27984 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27985 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27986 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27987 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27988 ac_header_preproc=yes
27989 ;;
27990 no:yes:* )
27991 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27992 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27993 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27994 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27995 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27996 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27997 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27998 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27999 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28000 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28001 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28002 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28003 (
28004 cat <<\_ASBOX
28005 ## ----------------------------------------- ##
28006 ## Report this to wx-dev@lists.wxwidgets.org ##
28007 ## ----------------------------------------- ##
28008 _ASBOX
28009 ) |
28010 sed "s/^/$as_me: WARNING: /" >&2
28011 ;;
28012 esac
28013 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28014 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28015 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28016 echo $ECHO_N "(cached) $ECHO_C" >&6
28017 else
28018 ac_cv_header_GL_gl_h=$ac_header_preproc
28019 fi
28020 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28021 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28022
28023 fi
28024 if test $ac_cv_header_GL_gl_h = yes; then
28025
28026 found_gl=0
28027
28028 echo "$as_me:$LINENO: checking for -lGL" >&5
28029 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28030
28031 ac_find_libraries=
28032 for ac_dir in $SEARCH_LIB /usr/lib;
28033 do
28034 for ac_extension in a so sl dylib; do
28035 if test -f "$ac_dir/libGL.$ac_extension"; then
28036 ac_find_libraries=$ac_dir
28037 break 2
28038 fi
28039 done
28040 done
28041
28042 if test "$ac_find_libraries" != "" ; then
28043
28044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28045 result=$?
28046 if test $result = 0; then
28047 ac_path_to_link=""
28048 else
28049 ac_path_to_link=" -L$ac_find_libraries"
28050 fi
28051
28052 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28053 LDFLAGS_GL="$ac_path_to_link"
28054 fi
28055
28056
28057 ac_find_libraries=
28058 for ac_dir in $SEARCH_LIB /usr/lib;
28059 do
28060 for ac_extension in a so sl dylib; do
28061 if test -f "$ac_dir/libGLU.$ac_extension"; then
28062 ac_find_libraries=$ac_dir
28063 break 2
28064 fi
28065 done
28066 done
28067
28068 if test "$ac_find_libraries" != "" ; then
28069
28070 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28071 result=$?
28072 if test $result = 0; then
28073 ac_path_to_link=""
28074 else
28075 ac_path_to_link=" -L$ac_find_libraries"
28076 fi
28077
28078 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28079 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28080 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28081 fi
28082
28083 found_gl=1
28084 OPENGL_LIBS="-lGL -lGLU"
28085 echo "$as_me:$LINENO: result: yes" >&5
28086 echo "${ECHO_T}yes" >&6
28087 fi
28088 fi
28089
28090 if test "$found_gl" != 1; then
28091 echo "$as_me:$LINENO: result: no" >&5
28092 echo "${ECHO_T}no" >&6
28093 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28094 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28095
28096 ac_find_libraries=
28097 for ac_dir in $SEARCH_LIB /usr/lib;
28098 do
28099 for ac_extension in a so sl dylib; do
28100 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28101 ac_find_libraries=$ac_dir
28102 break 2
28103 fi
28104 done
28105 done
28106
28107 if test "$ac_find_libraries" != "" ; then
28108
28109 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28110 result=$?
28111 if test $result = 0; then
28112 ac_path_to_link=""
28113 else
28114 ac_path_to_link=" -L$ac_find_libraries"
28115 fi
28116
28117 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
28118 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28119 echo "$as_me:$LINENO: result: yes" >&5
28120 echo "${ECHO_T}yes" >&6
28121 else
28122 echo "$as_me:$LINENO: result: no" >&5
28123 echo "${ECHO_T}no" >&6
28124 fi
28125 fi
28126
28127 fi
28128
28129
28130
28131 if test "x$OPENGL_LIBS" = "x"; then
28132 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28133 echo "$as_me: error: OpenGL libraries not available" >&2;}
28134 { (exit 1); exit 1; }; }
28135 fi
28136 fi
28137
28138 if test "$wxUSE_OPENGL" = "yes"; then
28139 USE_OPENGL=1
28140 cat >>confdefs.h <<\_ACEOF
28141 #define wxUSE_OPENGL 1
28142 _ACEOF
28143
28144 cat >>confdefs.h <<\_ACEOF
28145 #define wxUSE_GLCANVAS 1
28146 _ACEOF
28147
28148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28149 fi
28150 fi
28151
28152
28153 if test -n "$TOOLKIT" ; then
28154 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28155 fi
28156
28157
28158
28159 if test "$wxUSE_SHARED" = "yes"; then
28160 case "${host}" in
28161 *-pc-msdosdjgpp )
28162 wxUSE_SHARED=no
28163 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28164 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28165 ;;
28166 esac
28167 fi
28168
28169 if test "$wxUSE_SHARED" = "yes"; then
28170
28171
28172 found_versioning=no
28173
28174
28175 if test $found_versioning = no ; then
28176 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28177 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28178 if test "${wx_cv_version_script+set}" = set; then
28179 echo $ECHO_N "(cached) $ECHO_C" >&6
28180 else
28181
28182 echo "VER_1 { *; };" >conftest.sym
28183 echo "int main() { return 0; }" >conftest.cpp
28184
28185 if { ac_try='
28186 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28187 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28189 (eval $ac_try) 2>&5
28190 ac_status=$?
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); }; } ; then
28193 if test -s conftest.stderr ; then
28194 wx_cv_version_script=no
28195 else
28196 wx_cv_version_script=yes
28197 fi
28198 else
28199 wx_cv_version_script=no
28200 fi
28201 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28202
28203 fi
28204 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28205 echo "${ECHO_T}$wx_cv_version_script" >&6
28206 if test $wx_cv_version_script = yes ; then
28207 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
28208 fi
28209 fi
28210
28211
28212 case "${host}" in
28213 *-*-linux* | *-*-gnu* )
28214 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28215 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28216 ;;
28217
28218 *-*-solaris2* )
28219 if test "$GCC" = yes ; then
28220 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
28221
28222 saveLdflags="$LDFLAGS"
28223 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28224 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28225 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28226 cat >conftest.$ac_ext <<_ACEOF
28227 /* confdefs.h. */
28228 _ACEOF
28229 cat confdefs.h >>conftest.$ac_ext
28230 cat >>conftest.$ac_ext <<_ACEOF
28231 /* end confdefs.h. */
28232
28233 int
28234 main ()
28235 {
28236
28237 ;
28238 return 0;
28239 }
28240 _ACEOF
28241 rm -f conftest.$ac_objext conftest$ac_exeext
28242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28243 (eval $ac_link) 2>conftest.er1
28244 ac_status=$?
28245 grep -v '^ *+' conftest.er1 >conftest.err
28246 rm -f conftest.er1
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); } &&
28250 { ac_try='test -z "$ac_c_werror_flag"
28251 || test ! -s conftest.err'
28252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28253 (eval $ac_try) 2>&5
28254 ac_status=$?
28255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256 (exit $ac_status); }; } &&
28257 { ac_try='test -s conftest$ac_exeext'
28258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28259 (eval $ac_try) 2>&5
28260 ac_status=$?
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); }; }; then
28263
28264 echo "$as_me:$LINENO: result: yes" >&5
28265 echo "${ECHO_T}yes" >&6
28266 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28267 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28268
28269 else
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.$ac_ext >&5
28272
28273
28274 echo "$as_me:$LINENO: result: no" >&5
28275 echo "${ECHO_T}no" >&6
28276 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28277 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28278 LDFLAGS="$saveLdflags -Wl,-R,/"
28279 cat >conftest.$ac_ext <<_ACEOF
28280 /* confdefs.h. */
28281 _ACEOF
28282 cat confdefs.h >>conftest.$ac_ext
28283 cat >>conftest.$ac_ext <<_ACEOF
28284 /* end confdefs.h. */
28285
28286 int
28287 main ()
28288 {
28289
28290 ;
28291 return 0;
28292 }
28293 _ACEOF
28294 rm -f conftest.$ac_objext conftest$ac_exeext
28295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28296 (eval $ac_link) 2>conftest.er1
28297 ac_status=$?
28298 grep -v '^ *+' conftest.er1 >conftest.err
28299 rm -f conftest.er1
28300 cat conftest.err >&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } &&
28303 { ac_try='test -z "$ac_c_werror_flag"
28304 || test ! -s conftest.err'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28307 ac_status=$?
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; } &&
28310 { ac_try='test -s conftest$ac_exeext'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28313 ac_status=$?
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; }; then
28316
28317 echo "$as_me:$LINENO: result: yes" >&5
28318 echo "${ECHO_T}yes" >&6
28319 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28320 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28321
28322 else
28323 echo "$as_me: failed program was:" >&5
28324 sed 's/^/| /' conftest.$ac_ext >&5
28325
28326
28327 echo "$as_me:$LINENO: result: no" >&5
28328 echo "${ECHO_T}no" >&6
28329
28330 fi
28331 rm -f conftest.err conftest.$ac_objext \
28332 conftest$ac_exeext conftest.$ac_ext
28333
28334 fi
28335 rm -f conftest.err conftest.$ac_objext \
28336 conftest$ac_exeext conftest.$ac_ext
28337 LDFLAGS="$saveLdflags"
28338 else
28339 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28340 WXCONFIG_RPATH="-R\$libdir"
28341 fi
28342 ;;
28343
28344 powerpc-*-darwin* )
28345 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28346 cat <<EOF >change-install-names
28347 #!/bin/sh
28348 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28349 inst_cmd="install_name_tool "
28350 for i in \${libnames} ; do
28351 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28352 done
28353 \${inst_cmd} \${3}
28354 EOF
28355 chmod +x change-install-names
28356 ;;
28357
28358 *-*-cygwin* | *-*-mingw32* )
28359 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28360 ;;
28361
28362 *-*-hpux* )
28363 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
28364 WXCONFIG_RPATH="-Wl,+b,\$libdir"
28365 ;;
28366
28367 esac
28368
28369 if test $wxUSE_RPATH = "no"; then
28370 SAMPLES_RPATH_FLAG=''
28371 SAMPLES_RPATH_POSTLINK=''
28372 WXCONFIG_RPATH=''
28373 fi
28374
28375 SHARED=1
28376
28377 else
28378
28379 config_linkage_component="-static"
28380 SHARED=0
28381
28382 fi
28383
28384
28385 UNICODE=0
28386 lib_unicode_suffix=
28387 WX_CHARTYPE="ansi"
28388 if test "$wxUSE_UNICODE" = "yes"; then
28389 lib_unicode_suffix=u
28390 WX_CHARTYPE="unicode"
28391 UNICODE=1
28392 fi
28393
28394 lib_debug_suffix=
28395 WX_DEBUGTYPE="release"
28396 DEBUG_FLAG=0
28397 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28398 lib_debug_suffix=d
28399 WX_DEBUGTYPE="debug"
28400 DEBUG_FLAG=1
28401 fi
28402
28403 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28404 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28405
28406 DEBUG_INFO=0
28407 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28408 DEBUG_INFO=1
28409 fi
28410
28411 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28412
28413 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28414
28415 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28416
28417 if test "$cross_compiling" = "yes"; then
28418 HOST_SUFFIX="-$host_alias"
28419 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28420 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28421 fi
28422
28423 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28424 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28425
28426
28427
28428 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28429 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28430 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28431
28432 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28433
28434 # Extract the first word of "Rez", so it can be a program name with args.
28435 set dummy Rez; ac_word=$2
28436 echo "$as_me:$LINENO: checking for $ac_word" >&5
28437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28438 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28439 echo $ECHO_N "(cached) $ECHO_C" >&6
28440 else
28441 if test -n "$RESCOMP"; then
28442 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28443 else
28444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28445 for as_dir in $PATH
28446 do
28447 IFS=$as_save_IFS
28448 test -z "$as_dir" && as_dir=.
28449 for ac_exec_ext in '' $ac_executable_extensions; do
28450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28451 ac_cv_prog_RESCOMP="Rez"
28452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28453 break 2
28454 fi
28455 done
28456 done
28457
28458 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28459 fi
28460 fi
28461 RESCOMP=$ac_cv_prog_RESCOMP
28462 if test -n "$RESCOMP"; then
28463 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28464 echo "${ECHO_T}$RESCOMP" >&6
28465 else
28466 echo "$as_me:$LINENO: result: no" >&5
28467 echo "${ECHO_T}no" >&6
28468 fi
28469
28470 # Extract the first word of "DeRez", so it can be a program name with args.
28471 set dummy DeRez; ac_word=$2
28472 echo "$as_me:$LINENO: checking for $ac_word" >&5
28473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28474 if test "${ac_cv_prog_DEREZ+set}" = set; then
28475 echo $ECHO_N "(cached) $ECHO_C" >&6
28476 else
28477 if test -n "$DEREZ"; then
28478 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28479 else
28480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28481 for as_dir in $PATH
28482 do
28483 IFS=$as_save_IFS
28484 test -z "$as_dir" && as_dir=.
28485 for ac_exec_ext in '' $ac_executable_extensions; do
28486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28487 ac_cv_prog_DEREZ="DeRez"
28488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28489 break 2
28490 fi
28491 done
28492 done
28493
28494 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28495 fi
28496 fi
28497 DEREZ=$ac_cv_prog_DEREZ
28498 if test -n "$DEREZ"; then
28499 echo "$as_me:$LINENO: result: $DEREZ" >&5
28500 echo "${ECHO_T}$DEREZ" >&6
28501 else
28502 echo "$as_me:$LINENO: result: no" >&5
28503 echo "${ECHO_T}no" >&6
28504 fi
28505
28506 # Extract the first word of "SetFile", so it can be a program name with args.
28507 set dummy SetFile; ac_word=$2
28508 echo "$as_me:$LINENO: checking for $ac_word" >&5
28509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28510 if test "${ac_cv_prog_SETFILE+set}" = set; then
28511 echo $ECHO_N "(cached) $ECHO_C" >&6
28512 else
28513 if test -n "$SETFILE"; then
28514 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28515 else
28516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28517 for as_dir in $PATH
28518 do
28519 IFS=$as_save_IFS
28520 test -z "$as_dir" && as_dir=.
28521 for ac_exec_ext in '' $ac_executable_extensions; do
28522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28523 ac_cv_prog_SETFILE="SetFile"
28524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28525 break 2
28526 fi
28527 done
28528 done
28529
28530 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28531 fi
28532 fi
28533 SETFILE=$ac_cv_prog_SETFILE
28534 if test -n "$SETFILE"; then
28535 echo "$as_me:$LINENO: result: $SETFILE" >&5
28536 echo "${ECHO_T}$SETFILE" >&6
28537 else
28538 echo "$as_me:$LINENO: result: no" >&5
28539 echo "${ECHO_T}no" >&6
28540 fi
28541
28542
28543 MACSETFILE="\$(SETFILE)"
28544
28545 if test "$wxUSE_MAC" = 1; then
28546 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28547
28548 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28549 else
28550 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28551 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28552 fi
28553 else
28554 MACSETFILE="@true"
28555 MACRESWXCONFIG="@true"
28556
28557 if test "$wxUSE_PM" = 1; then
28558 MACRESCOMP="emxbind -ep"
28559 else
28560 MACRESCOMP="@true"
28561 fi
28562 fi
28563
28564
28565
28566 echo "$as_me:$LINENO: checking for mode_t" >&5
28567 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28568 if test "${ac_cv_type_mode_t+set}" = set; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28570 else
28571 cat >conftest.$ac_ext <<_ACEOF
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577 $ac_includes_default
28578 int
28579 main ()
28580 {
28581 if ((mode_t *) 0)
28582 return 0;
28583 if (sizeof (mode_t))
28584 return 0;
28585 ;
28586 return 0;
28587 }
28588 _ACEOF
28589 rm -f conftest.$ac_objext
28590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28591 (eval $ac_compile) 2>conftest.er1
28592 ac_status=$?
28593 grep -v '^ *+' conftest.er1 >conftest.err
28594 rm -f conftest.er1
28595 cat conftest.err >&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); } &&
28598 { ac_try='test -z "$ac_c_werror_flag"
28599 || test ! -s conftest.err'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28602 ac_status=$?
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; } &&
28605 { ac_try='test -s conftest.$ac_objext'
28606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607 (eval $ac_try) 2>&5
28608 ac_status=$?
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); }; }; then
28611 ac_cv_type_mode_t=yes
28612 else
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.$ac_ext >&5
28615
28616 ac_cv_type_mode_t=no
28617 fi
28618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28619 fi
28620 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28621 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28622 if test $ac_cv_type_mode_t = yes; then
28623 :
28624 else
28625
28626 cat >>confdefs.h <<_ACEOF
28627 #define mode_t int
28628 _ACEOF
28629
28630 fi
28631
28632 echo "$as_me:$LINENO: checking for off_t" >&5
28633 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28634 if test "${ac_cv_type_off_t+set}" = set; then
28635 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 else
28637 cat >conftest.$ac_ext <<_ACEOF
28638 /* confdefs.h. */
28639 _ACEOF
28640 cat confdefs.h >>conftest.$ac_ext
28641 cat >>conftest.$ac_ext <<_ACEOF
28642 /* end confdefs.h. */
28643 $ac_includes_default
28644 int
28645 main ()
28646 {
28647 if ((off_t *) 0)
28648 return 0;
28649 if (sizeof (off_t))
28650 return 0;
28651 ;
28652 return 0;
28653 }
28654 _ACEOF
28655 rm -f conftest.$ac_objext
28656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28657 (eval $ac_compile) 2>conftest.er1
28658 ac_status=$?
28659 grep -v '^ *+' conftest.er1 >conftest.err
28660 rm -f conftest.er1
28661 cat conftest.err >&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try='test -z "$ac_c_werror_flag"
28665 || test ! -s conftest.err'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; } &&
28671 { ac_try='test -s conftest.$ac_objext'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28677 ac_cv_type_off_t=yes
28678 else
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28681
28682 ac_cv_type_off_t=no
28683 fi
28684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28685 fi
28686 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28687 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28688 if test $ac_cv_type_off_t = yes; then
28689 :
28690 else
28691
28692 cat >>confdefs.h <<_ACEOF
28693 #define off_t long
28694 _ACEOF
28695
28696 fi
28697
28698 echo "$as_me:$LINENO: checking for pid_t" >&5
28699 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28700 if test "${ac_cv_type_pid_t+set}" = set; then
28701 echo $ECHO_N "(cached) $ECHO_C" >&6
28702 else
28703 cat >conftest.$ac_ext <<_ACEOF
28704 /* confdefs.h. */
28705 _ACEOF
28706 cat confdefs.h >>conftest.$ac_ext
28707 cat >>conftest.$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 $ac_includes_default
28710 int
28711 main ()
28712 {
28713 if ((pid_t *) 0)
28714 return 0;
28715 if (sizeof (pid_t))
28716 return 0;
28717 ;
28718 return 0;
28719 }
28720 _ACEOF
28721 rm -f conftest.$ac_objext
28722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28723 (eval $ac_compile) 2>conftest.er1
28724 ac_status=$?
28725 grep -v '^ *+' conftest.er1 >conftest.err
28726 rm -f conftest.er1
28727 cat conftest.err >&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); } &&
28730 { ac_try='test -z "$ac_c_werror_flag"
28731 || test ! -s conftest.err'
28732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28733 (eval $ac_try) 2>&5
28734 ac_status=$?
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); }; } &&
28737 { ac_try='test -s conftest.$ac_objext'
28738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28739 (eval $ac_try) 2>&5
28740 ac_status=$?
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); }; }; then
28743 ac_cv_type_pid_t=yes
28744 else
28745 echo "$as_me: failed program was:" >&5
28746 sed 's/^/| /' conftest.$ac_ext >&5
28747
28748 ac_cv_type_pid_t=no
28749 fi
28750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28751 fi
28752 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28753 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28754 if test $ac_cv_type_pid_t = yes; then
28755 :
28756 else
28757
28758 cat >>confdefs.h <<_ACEOF
28759 #define pid_t int
28760 _ACEOF
28761
28762 fi
28763
28764 echo "$as_me:$LINENO: checking for size_t" >&5
28765 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28766 if test "${ac_cv_type_size_t+set}" = set; then
28767 echo $ECHO_N "(cached) $ECHO_C" >&6
28768 else
28769 cat >conftest.$ac_ext <<_ACEOF
28770 /* confdefs.h. */
28771 _ACEOF
28772 cat confdefs.h >>conftest.$ac_ext
28773 cat >>conftest.$ac_ext <<_ACEOF
28774 /* end confdefs.h. */
28775 $ac_includes_default
28776 int
28777 main ()
28778 {
28779 if ((size_t *) 0)
28780 return 0;
28781 if (sizeof (size_t))
28782 return 0;
28783 ;
28784 return 0;
28785 }
28786 _ACEOF
28787 rm -f conftest.$ac_objext
28788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28789 (eval $ac_compile) 2>conftest.er1
28790 ac_status=$?
28791 grep -v '^ *+' conftest.er1 >conftest.err
28792 rm -f conftest.er1
28793 cat conftest.err >&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); } &&
28796 { ac_try='test -z "$ac_c_werror_flag"
28797 || test ! -s conftest.err'
28798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28799 (eval $ac_try) 2>&5
28800 ac_status=$?
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); }; } &&
28803 { ac_try='test -s conftest.$ac_objext'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28806 ac_status=$?
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; }; then
28809 ac_cv_type_size_t=yes
28810 else
28811 echo "$as_me: failed program was:" >&5
28812 sed 's/^/| /' conftest.$ac_ext >&5
28813
28814 ac_cv_type_size_t=no
28815 fi
28816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28817 fi
28818 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28819 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28820 if test $ac_cv_type_size_t = yes; then
28821 :
28822 else
28823
28824 cat >>confdefs.h <<_ACEOF
28825 #define size_t unsigned
28826 _ACEOF
28827
28828 fi
28829
28830 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28831 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28832 if test "${ac_cv_type_uid_t+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 else
28835 cat >conftest.$ac_ext <<_ACEOF
28836 /* confdefs.h. */
28837 _ACEOF
28838 cat confdefs.h >>conftest.$ac_ext
28839 cat >>conftest.$ac_ext <<_ACEOF
28840 /* end confdefs.h. */
28841 #include <sys/types.h>
28842
28843 _ACEOF
28844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28845 $EGREP "uid_t" >/dev/null 2>&1; then
28846 ac_cv_type_uid_t=yes
28847 else
28848 ac_cv_type_uid_t=no
28849 fi
28850 rm -f conftest*
28851
28852 fi
28853 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28854 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28855 if test $ac_cv_type_uid_t = no; then
28856
28857 cat >>confdefs.h <<\_ACEOF
28858 #define uid_t int
28859 _ACEOF
28860
28861
28862 cat >>confdefs.h <<\_ACEOF
28863 #define gid_t int
28864 _ACEOF
28865
28866 fi
28867
28868
28869 echo "$as_me:$LINENO: checking for ssize_t" >&5
28870 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28871 if test "${ac_cv_type_ssize_t+set}" = set; then
28872 echo $ECHO_N "(cached) $ECHO_C" >&6
28873 else
28874 cat >conftest.$ac_ext <<_ACEOF
28875 /* confdefs.h. */
28876 _ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28880 $ac_includes_default
28881 int
28882 main ()
28883 {
28884 if ((ssize_t *) 0)
28885 return 0;
28886 if (sizeof (ssize_t))
28887 return 0;
28888 ;
28889 return 0;
28890 }
28891 _ACEOF
28892 rm -f conftest.$ac_objext
28893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28894 (eval $ac_compile) 2>conftest.er1
28895 ac_status=$?
28896 grep -v '^ *+' conftest.er1 >conftest.err
28897 rm -f conftest.er1
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } &&
28901 { ac_try='test -z "$ac_c_werror_flag"
28902 || test ! -s conftest.err'
28903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28904 (eval $ac_try) 2>&5
28905 ac_status=$?
28906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 (exit $ac_status); }; } &&
28908 { ac_try='test -s conftest.$ac_objext'
28909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910 (eval $ac_try) 2>&5
28911 ac_status=$?
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); }; }; then
28914 ac_cv_type_ssize_t=yes
28915 else
28916 echo "$as_me: failed program was:" >&5
28917 sed 's/^/| /' conftest.$ac_ext >&5
28918
28919 ac_cv_type_ssize_t=no
28920 fi
28921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28922 fi
28923 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28924 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28925 if test $ac_cv_type_ssize_t = yes; then
28926
28927 cat >>confdefs.h <<_ACEOF
28928 #define HAVE_SSIZE_T 1
28929 _ACEOF
28930
28931
28932 fi
28933
28934
28935
28936
28937 ac_ext=cc
28938 ac_cpp='$CXXCPP $CPPFLAGS'
28939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942
28943 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28944 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28945 if test "${wx_cv_size_t_is_uint+set}" = set; then
28946 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 else
28948
28949 cat >conftest.$ac_ext <<_ACEOF
28950 /* confdefs.h. */
28951 _ACEOF
28952 cat confdefs.h >>conftest.$ac_ext
28953 cat >>conftest.$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28955 #include <stddef.h>
28956 int
28957 main ()
28958 {
28959
28960 return 0; }
28961
28962 struct Foo { void foo(size_t); void foo(unsigned int); };
28963
28964 int bar() {
28965
28966 ;
28967 return 0;
28968 }
28969 _ACEOF
28970 rm -f conftest.$ac_objext
28971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28972 (eval $ac_compile) 2>conftest.er1
28973 ac_status=$?
28974 grep -v '^ *+' conftest.er1 >conftest.err
28975 rm -f conftest.er1
28976 cat conftest.err >&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); } &&
28979 { ac_try='test -z "$ac_cxx_werror_flag"
28980 || test ! -s conftest.err'
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); }; } &&
28986 { ac_try='test -s conftest.$ac_objext'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28989 ac_status=$?
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; }; then
28992 wx_cv_size_t_is_uint=no
28993 else
28994 echo "$as_me: failed program was:" >&5
28995 sed 's/^/| /' conftest.$ac_ext >&5
28996
28997 wx_cv_size_t_is_uint=yes
28998
28999 fi
29000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29001
29002
29003 fi
29004 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29005 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29006
29007 if test "$wx_cv_size_t_is_uint" = "yes"; then
29008 cat >>confdefs.h <<\_ACEOF
29009 #define wxSIZE_T_IS_UINT 1
29010 _ACEOF
29011
29012 else
29013 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29014 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29015 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29016 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 else
29018 cat >conftest.$ac_ext <<_ACEOF
29019 /* confdefs.h. */
29020 _ACEOF
29021 cat confdefs.h >>conftest.$ac_ext
29022 cat >>conftest.$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29024 #include <stddef.h>
29025 int
29026 main ()
29027 {
29028
29029 return 0; }
29030
29031 struct Foo { void foo(size_t); void foo(unsigned long); };
29032
29033 int bar() {
29034
29035 ;
29036 return 0;
29037 }
29038 _ACEOF
29039 rm -f conftest.$ac_objext
29040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29041 (eval $ac_compile) 2>conftest.er1
29042 ac_status=$?
29043 grep -v '^ *+' conftest.er1 >conftest.err
29044 rm -f conftest.er1
29045 cat conftest.err >&5
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); } &&
29048 { ac_try='test -z "$ac_cxx_werror_flag"
29049 || test ! -s conftest.err'
29050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29051 (eval $ac_try) 2>&5
29052 ac_status=$?
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; } &&
29055 { ac_try='test -s conftest.$ac_objext'
29056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29057 (eval $ac_try) 2>&5
29058 ac_status=$?
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); }; }; then
29061 wx_cv_size_t_is_ulong=no
29062 else
29063 echo "$as_me: failed program was:" >&5
29064 sed 's/^/| /' conftest.$ac_ext >&5
29065
29066 wx_cv_size_t_is_ulong=yes
29067
29068 fi
29069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29070
29071 fi
29072 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29073 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29074
29075 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29076 cat >>confdefs.h <<\_ACEOF
29077 #define wxSIZE_T_IS_ULONG 1
29078 _ACEOF
29079
29080 fi
29081 fi
29082
29083 ac_ext=c
29084 ac_cpp='$CPP $CPPFLAGS'
29085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29088
29089
29090
29091 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29092 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29093 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29095 else
29096
29097 cat >conftest.$ac_ext <<_ACEOF
29098 /* confdefs.h. */
29099 _ACEOF
29100 cat confdefs.h >>conftest.$ac_ext
29101 cat >>conftest.$ac_ext <<_ACEOF
29102 /* end confdefs.h. */
29103 #include <pwd.h>
29104 int
29105 main ()
29106 {
29107
29108 char *p;
29109 struct passwd *pw;
29110 p = pw->pw_gecos;
29111
29112 ;
29113 return 0;
29114 }
29115 _ACEOF
29116 rm -f conftest.$ac_objext
29117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29118 (eval $ac_compile) 2>conftest.er1
29119 ac_status=$?
29120 grep -v '^ *+' conftest.er1 >conftest.err
29121 rm -f conftest.er1
29122 cat conftest.err >&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); } &&
29125 { ac_try='test -z "$ac_c_werror_flag"
29126 || test ! -s conftest.err'
29127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29128 (eval $ac_try) 2>&5
29129 ac_status=$?
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); }; } &&
29132 { ac_try='test -s conftest.$ac_objext'
29133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29134 (eval $ac_try) 2>&5
29135 ac_status=$?
29136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29137 (exit $ac_status); }; }; then
29138
29139 wx_cv_struct_pw_gecos=yes
29140
29141 else
29142 echo "$as_me: failed program was:" >&5
29143 sed 's/^/| /' conftest.$ac_ext >&5
29144
29145
29146 wx_cv_struct_pw_gecos=no
29147
29148
29149 fi
29150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29151
29152
29153 fi
29154 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29155 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29156
29157 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29158 cat >>confdefs.h <<\_ACEOF
29159 #define HAVE_PW_GECOS 1
29160 _ACEOF
29161
29162 fi
29163
29164
29165 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29166 cat >>confdefs.h <<\_ACEOF
29167 #define wxUSE_WCHAR_T 1
29168 _ACEOF
29169
29170
29171 WCSLEN_FOUND=0
29172 WCHAR_LINK=
29173
29174 for ac_func in wcslen
29175 do
29176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29177 echo "$as_me:$LINENO: checking for $ac_func" >&5
29178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29179 if eval "test \"\${$as_ac_var+set}\" = set"; then
29180 echo $ECHO_N "(cached) $ECHO_C" >&6
29181 else
29182 cat >conftest.$ac_ext <<_ACEOF
29183 /* confdefs.h. */
29184 _ACEOF
29185 cat confdefs.h >>conftest.$ac_ext
29186 cat >>conftest.$ac_ext <<_ACEOF
29187 /* end confdefs.h. */
29188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29190 #define $ac_func innocuous_$ac_func
29191
29192 /* System header to define __stub macros and hopefully few prototypes,
29193 which can conflict with char $ac_func (); below.
29194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29195 <limits.h> exists even on freestanding compilers. */
29196
29197 #ifdef __STDC__
29198 # include <limits.h>
29199 #else
29200 # include <assert.h>
29201 #endif
29202
29203 #undef $ac_func
29204
29205 /* Override any gcc2 internal prototype to avoid an error. */
29206 #ifdef __cplusplus
29207 extern "C"
29208 {
29209 #endif
29210 /* We use char because int might match the return type of a gcc2
29211 builtin and then its argument prototype would still apply. */
29212 char $ac_func ();
29213 /* The GNU C library defines this for functions which it implements
29214 to always fail with ENOSYS. Some functions are actually named
29215 something starting with __ and the normal name is an alias. */
29216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29217 choke me
29218 #else
29219 char (*f) () = $ac_func;
29220 #endif
29221 #ifdef __cplusplus
29222 }
29223 #endif
29224
29225 int
29226 main ()
29227 {
29228 return f != $ac_func;
29229 ;
29230 return 0;
29231 }
29232 _ACEOF
29233 rm -f conftest.$ac_objext conftest$ac_exeext
29234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29235 (eval $ac_link) 2>conftest.er1
29236 ac_status=$?
29237 grep -v '^ *+' conftest.er1 >conftest.err
29238 rm -f conftest.er1
29239 cat conftest.err >&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } &&
29242 { ac_try='test -z "$ac_c_werror_flag"
29243 || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try='test -s conftest$ac_exeext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255 eval "$as_ac_var=yes"
29256 else
29257 echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.$ac_ext >&5
29259
29260 eval "$as_ac_var=no"
29261 fi
29262 rm -f conftest.err conftest.$ac_objext \
29263 conftest$ac_exeext conftest.$ac_ext
29264 fi
29265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29267 if test `eval echo '${'$as_ac_var'}'` = yes; then
29268 cat >>confdefs.h <<_ACEOF
29269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29270 _ACEOF
29271 WCSLEN_FOUND=1
29272 fi
29273 done
29274
29275
29276 if test "$WCSLEN_FOUND" = 0; then
29277 if test "$TOOLKIT" = "MSW"; then
29278 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29279 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29280 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29281 echo $ECHO_N "(cached) $ECHO_C" >&6
29282 else
29283 ac_check_lib_save_LIBS=$LIBS
29284 LIBS="-lmsvcrt $LIBS"
29285 cat >conftest.$ac_ext <<_ACEOF
29286 /* confdefs.h. */
29287 _ACEOF
29288 cat confdefs.h >>conftest.$ac_ext
29289 cat >>conftest.$ac_ext <<_ACEOF
29290 /* end confdefs.h. */
29291
29292 /* Override any gcc2 internal prototype to avoid an error. */
29293 #ifdef __cplusplus
29294 extern "C"
29295 #endif
29296 /* We use char because int might match the return type of a gcc2
29297 builtin and then its argument prototype would still apply. */
29298 char wcslen ();
29299 int
29300 main ()
29301 {
29302 wcslen ();
29303 ;
29304 return 0;
29305 }
29306 _ACEOF
29307 rm -f conftest.$ac_objext conftest$ac_exeext
29308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29309 (eval $ac_link) 2>conftest.er1
29310 ac_status=$?
29311 grep -v '^ *+' conftest.er1 >conftest.err
29312 rm -f conftest.er1
29313 cat conftest.err >&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } &&
29316 { ac_try='test -z "$ac_c_werror_flag"
29317 || test ! -s conftest.err'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29320 ac_status=$?
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; } &&
29323 { ac_try='test -s conftest$ac_exeext'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29326 ac_status=$?
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; }; then
29329 ac_cv_lib_msvcrt_wcslen=yes
29330 else
29331 echo "$as_me: failed program was:" >&5
29332 sed 's/^/| /' conftest.$ac_ext >&5
29333
29334 ac_cv_lib_msvcrt_wcslen=no
29335 fi
29336 rm -f conftest.err conftest.$ac_objext \
29337 conftest$ac_exeext conftest.$ac_ext
29338 LIBS=$ac_check_lib_save_LIBS
29339 fi
29340 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29341 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29342 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29343 WCHAR_OK=1
29344 fi
29345
29346 else
29347 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29348 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29349 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29350 echo $ECHO_N "(cached) $ECHO_C" >&6
29351 else
29352 ac_check_lib_save_LIBS=$LIBS
29353 LIBS="-lw $LIBS"
29354 cat >conftest.$ac_ext <<_ACEOF
29355 /* confdefs.h. */
29356 _ACEOF
29357 cat confdefs.h >>conftest.$ac_ext
29358 cat >>conftest.$ac_ext <<_ACEOF
29359 /* end confdefs.h. */
29360
29361 /* Override any gcc2 internal prototype to avoid an error. */
29362 #ifdef __cplusplus
29363 extern "C"
29364 #endif
29365 /* We use char because int might match the return type of a gcc2
29366 builtin and then its argument prototype would still apply. */
29367 char wcslen ();
29368 int
29369 main ()
29370 {
29371 wcslen ();
29372 ;
29373 return 0;
29374 }
29375 _ACEOF
29376 rm -f conftest.$ac_objext conftest$ac_exeext
29377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29378 (eval $ac_link) 2>conftest.er1
29379 ac_status=$?
29380 grep -v '^ *+' conftest.er1 >conftest.err
29381 rm -f conftest.er1
29382 cat conftest.err >&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); } &&
29385 { ac_try='test -z "$ac_c_werror_flag"
29386 || test ! -s conftest.err'
29387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388 (eval $ac_try) 2>&5
29389 ac_status=$?
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); }; } &&
29392 { ac_try='test -s conftest$ac_exeext'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29395 ac_status=$?
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; }; then
29398 ac_cv_lib_w_wcslen=yes
29399 else
29400 echo "$as_me: failed program was:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29402
29403 ac_cv_lib_w_wcslen=no
29404 fi
29405 rm -f conftest.err conftest.$ac_objext \
29406 conftest$ac_exeext conftest.$ac_ext
29407 LIBS=$ac_check_lib_save_LIBS
29408 fi
29409 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29410 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29411 if test $ac_cv_lib_w_wcslen = yes; then
29412
29413 WCHAR_LINK=" -lw"
29414 WCSLEN_FOUND=1
29415
29416 fi
29417
29418 fi
29419 fi
29420
29421 if test "$WCSLEN_FOUND" = 1; then
29422 cat >>confdefs.h <<\_ACEOF
29423 #define HAVE_WCSLEN 1
29424 _ACEOF
29425
29426 fi
29427
29428 if test "$USE_HPUX" = 1; then
29429 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29430 fi
29431
29432
29433 for ac_func in wcsrtombs
29434 do
29435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29436 echo "$as_me:$LINENO: checking for $ac_func" >&5
29437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29438 if eval "test \"\${$as_ac_var+set}\" = set"; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 else
29441 cat >conftest.$ac_ext <<_ACEOF
29442 /* confdefs.h. */
29443 _ACEOF
29444 cat confdefs.h >>conftest.$ac_ext
29445 cat >>conftest.$ac_ext <<_ACEOF
29446 /* end confdefs.h. */
29447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29449 #define $ac_func innocuous_$ac_func
29450
29451 /* System header to define __stub macros and hopefully few prototypes,
29452 which can conflict with char $ac_func (); below.
29453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29454 <limits.h> exists even on freestanding compilers. */
29455
29456 #ifdef __STDC__
29457 # include <limits.h>
29458 #else
29459 # include <assert.h>
29460 #endif
29461
29462 #undef $ac_func
29463
29464 /* Override any gcc2 internal prototype to avoid an error. */
29465 #ifdef __cplusplus
29466 extern "C"
29467 {
29468 #endif
29469 /* We use char because int might match the return type of a gcc2
29470 builtin and then its argument prototype would still apply. */
29471 char $ac_func ();
29472 /* The GNU C library defines this for functions which it implements
29473 to always fail with ENOSYS. Some functions are actually named
29474 something starting with __ and the normal name is an alias. */
29475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29476 choke me
29477 #else
29478 char (*f) () = $ac_func;
29479 #endif
29480 #ifdef __cplusplus
29481 }
29482 #endif
29483
29484 int
29485 main ()
29486 {
29487 return f != $ac_func;
29488 ;
29489 return 0;
29490 }
29491 _ACEOF
29492 rm -f conftest.$ac_objext conftest$ac_exeext
29493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29494 (eval $ac_link) 2>conftest.er1
29495 ac_status=$?
29496 grep -v '^ *+' conftest.er1 >conftest.err
29497 rm -f conftest.er1
29498 cat conftest.err >&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); } &&
29501 { ac_try='test -z "$ac_c_werror_flag"
29502 || test ! -s conftest.err'
29503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29504 (eval $ac_try) 2>&5
29505 ac_status=$?
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); }; } &&
29508 { ac_try='test -s conftest$ac_exeext'
29509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510 (eval $ac_try) 2>&5
29511 ac_status=$?
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); }; }; then
29514 eval "$as_ac_var=yes"
29515 else
29516 echo "$as_me: failed program was:" >&5
29517 sed 's/^/| /' conftest.$ac_ext >&5
29518
29519 eval "$as_ac_var=no"
29520 fi
29521 rm -f conftest.err conftest.$ac_objext \
29522 conftest$ac_exeext conftest.$ac_ext
29523 fi
29524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29526 if test `eval echo '${'$as_ac_var'}'` = yes; then
29527 cat >>confdefs.h <<_ACEOF
29528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29529 _ACEOF
29530
29531 fi
29532 done
29533
29534 else
29535 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29536 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29537 fi
29538
29539
29540
29541 ac_ext=cc
29542 ac_cpp='$CXXCPP $CPPFLAGS'
29543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29546
29547
29548
29549 for ac_func in vsnprintf
29550 do
29551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29552 echo "$as_me:$LINENO: checking for $ac_func" >&5
29553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29554 if eval "test \"\${$as_ac_var+set}\" = set"; then
29555 echo $ECHO_N "(cached) $ECHO_C" >&6
29556 else
29557 cat >conftest.$ac_ext <<_ACEOF
29558 /* confdefs.h. */
29559 _ACEOF
29560 cat confdefs.h >>conftest.$ac_ext
29561 cat >>conftest.$ac_ext <<_ACEOF
29562 /* end confdefs.h. */
29563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29565 #define $ac_func innocuous_$ac_func
29566
29567 /* System header to define __stub macros and hopefully few prototypes,
29568 which can conflict with char $ac_func (); below.
29569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29570 <limits.h> exists even on freestanding compilers. */
29571
29572 #ifdef __STDC__
29573 # include <limits.h>
29574 #else
29575 # include <assert.h>
29576 #endif
29577
29578 #undef $ac_func
29579
29580 /* Override any gcc2 internal prototype to avoid an error. */
29581 #ifdef __cplusplus
29582 extern "C"
29583 {
29584 #endif
29585 /* We use char because int might match the return type of a gcc2
29586 builtin and then its argument prototype would still apply. */
29587 char $ac_func ();
29588 /* The GNU C library defines this for functions which it implements
29589 to always fail with ENOSYS. Some functions are actually named
29590 something starting with __ and the normal name is an alias. */
29591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29592 choke me
29593 #else
29594 char (*f) () = $ac_func;
29595 #endif
29596 #ifdef __cplusplus
29597 }
29598 #endif
29599
29600 int
29601 main ()
29602 {
29603 return f != $ac_func;
29604 ;
29605 return 0;
29606 }
29607 _ACEOF
29608 rm -f conftest.$ac_objext conftest$ac_exeext
29609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29610 (eval $ac_link) 2>conftest.er1
29611 ac_status=$?
29612 grep -v '^ *+' conftest.er1 >conftest.err
29613 rm -f conftest.er1
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } &&
29617 { ac_try='test -z "$ac_cxx_werror_flag"
29618 || test ! -s conftest.err'
29619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620 (eval $ac_try) 2>&5
29621 ac_status=$?
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; } &&
29624 { ac_try='test -s conftest$ac_exeext'
29625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626 (eval $ac_try) 2>&5
29627 ac_status=$?
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); }; }; then
29630 eval "$as_ac_var=yes"
29631 else
29632 echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.$ac_ext >&5
29634
29635 eval "$as_ac_var=no"
29636 fi
29637 rm -f conftest.err conftest.$ac_objext \
29638 conftest$ac_exeext conftest.$ac_ext
29639 fi
29640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29642 if test `eval echo '${'$as_ac_var'}'` = yes; then
29643 cat >>confdefs.h <<_ACEOF
29644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29645 _ACEOF
29646
29647 fi
29648 done
29649
29650
29651 if test "$ac_cv_func_vsnprintf" = "yes"; then
29652 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29653 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29654 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 else
29657
29658 cat >conftest.$ac_ext <<_ACEOF
29659 /* confdefs.h. */
29660 _ACEOF
29661 cat confdefs.h >>conftest.$ac_ext
29662 cat >>conftest.$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29664
29665 #include <stdio.h>
29666 #include <stdarg.h>
29667
29668 int
29669 main ()
29670 {
29671
29672 char *buf;
29673 va_list ap;
29674 vsnprintf(buf, 10u, "%s", ap);
29675
29676 ;
29677 return 0;
29678 }
29679 _ACEOF
29680 rm -f conftest.$ac_objext
29681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29682 (eval $ac_compile) 2>conftest.er1
29683 ac_status=$?
29684 grep -v '^ *+' conftest.er1 >conftest.err
29685 rm -f conftest.er1
29686 cat conftest.err >&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } &&
29689 { ac_try='test -z "$ac_cxx_werror_flag"
29690 || test ! -s conftest.err'
29691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29692 (eval $ac_try) 2>&5
29693 ac_status=$?
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); }; } &&
29696 { ac_try='test -s conftest.$ac_objext'
29697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698 (eval $ac_try) 2>&5
29699 ac_status=$?
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); }; }; then
29702 wx_cv_func_vsnprintf_decl=yes
29703 else
29704 echo "$as_me: failed program was:" >&5
29705 sed 's/^/| /' conftest.$ac_ext >&5
29706
29707
29708 cat >conftest.$ac_ext <<_ACEOF
29709 /* confdefs.h. */
29710 _ACEOF
29711 cat confdefs.h >>conftest.$ac_ext
29712 cat >>conftest.$ac_ext <<_ACEOF
29713 /* end confdefs.h. */
29714
29715 #include <stdio.h>
29716 #include <stdarg.h>
29717 using namespace std;
29718
29719 int
29720 main ()
29721 {
29722
29723 char *buf;
29724 va_list ap;
29725 vsnprintf(buf, 10u, "%s", ap);
29726
29727 ;
29728 return 0;
29729 }
29730 _ACEOF
29731 rm -f conftest.$ac_objext
29732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29733 (eval $ac_compile) 2>conftest.er1
29734 ac_status=$?
29735 grep -v '^ *+' conftest.er1 >conftest.err
29736 rm -f conftest.er1
29737 cat conftest.err >&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); } &&
29740 { ac_try='test -z "$ac_cxx_werror_flag"
29741 || test ! -s conftest.err'
29742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29743 (eval $ac_try) 2>&5
29744 ac_status=$?
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); }; } &&
29747 { ac_try='test -s conftest.$ac_objext'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29750 ac_status=$?
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; }; then
29753 wx_cv_func_vsnprintf_decl=yes
29754 else
29755 echo "$as_me: failed program was:" >&5
29756 sed 's/^/| /' conftest.$ac_ext >&5
29757
29758 wx_cv_func_vsnprintf_decl=no
29759
29760 fi
29761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29762
29763
29764 fi
29765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29766
29767
29768 fi
29769 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29770 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29771
29772 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29773 cat >>confdefs.h <<\_ACEOF
29774 #define HAVE_VSNPRINTF_DECL 1
29775 _ACEOF
29776
29777 fi
29778 fi
29779
29780 if test "$wxUSE_UNICODE" = yes; then
29781
29782
29783
29784
29785
29786
29787 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29788 do
29789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29790 echo "$as_me:$LINENO: checking for $ac_func" >&5
29791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29792 if eval "test \"\${$as_ac_var+set}\" = set"; then
29793 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 else
29795 cat >conftest.$ac_ext <<_ACEOF
29796 /* confdefs.h. */
29797 _ACEOF
29798 cat confdefs.h >>conftest.$ac_ext
29799 cat >>conftest.$ac_ext <<_ACEOF
29800 /* end confdefs.h. */
29801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29803 #define $ac_func innocuous_$ac_func
29804
29805 /* System header to define __stub macros and hopefully few prototypes,
29806 which can conflict with char $ac_func (); below.
29807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29808 <limits.h> exists even on freestanding compilers. */
29809
29810 #ifdef __STDC__
29811 # include <limits.h>
29812 #else
29813 # include <assert.h>
29814 #endif
29815
29816 #undef $ac_func
29817
29818 /* Override any gcc2 internal prototype to avoid an error. */
29819 #ifdef __cplusplus
29820 extern "C"
29821 {
29822 #endif
29823 /* We use char because int might match the return type of a gcc2
29824 builtin and then its argument prototype would still apply. */
29825 char $ac_func ();
29826 /* The GNU C library defines this for functions which it implements
29827 to always fail with ENOSYS. Some functions are actually named
29828 something starting with __ and the normal name is an alias. */
29829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29830 choke me
29831 #else
29832 char (*f) () = $ac_func;
29833 #endif
29834 #ifdef __cplusplus
29835 }
29836 #endif
29837
29838 int
29839 main ()
29840 {
29841 return f != $ac_func;
29842 ;
29843 return 0;
29844 }
29845 _ACEOF
29846 rm -f conftest.$ac_objext conftest$ac_exeext
29847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29848 (eval $ac_link) 2>conftest.er1
29849 ac_status=$?
29850 grep -v '^ *+' conftest.er1 >conftest.err
29851 rm -f conftest.er1
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } &&
29855 { ac_try='test -z "$ac_cxx_werror_flag"
29856 || test ! -s conftest.err'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; } &&
29862 { ac_try='test -s conftest$ac_exeext'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29865 ac_status=$?
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; }; then
29868 eval "$as_ac_var=yes"
29869 else
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29872
29873 eval "$as_ac_var=no"
29874 fi
29875 rm -f conftest.err conftest.$ac_objext \
29876 conftest$ac_exeext conftest.$ac_ext
29877 fi
29878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29880 if test `eval echo '${'$as_ac_var'}'` = yes; then
29881 cat >>confdefs.h <<_ACEOF
29882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29883 _ACEOF
29884
29885 fi
29886 done
29887
29888
29889 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29890 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29891 cat >conftest.$ac_ext <<_ACEOF
29892 /* confdefs.h. */
29893 _ACEOF
29894 cat confdefs.h >>conftest.$ac_ext
29895 cat >>conftest.$ac_ext <<_ACEOF
29896 /* end confdefs.h. */
29897 #include <wchar.h>
29898 int
29899 main ()
29900 {
29901 &_vsnwprintf;
29902 ;
29903 return 0;
29904 }
29905 _ACEOF
29906 rm -f conftest.$ac_objext
29907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29908 (eval $ac_compile) 2>conftest.er1
29909 ac_status=$?
29910 grep -v '^ *+' conftest.er1 >conftest.err
29911 rm -f conftest.er1
29912 cat conftest.err >&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); } &&
29915 { ac_try='test -z "$ac_cxx_werror_flag"
29916 || test ! -s conftest.err'
29917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29918 (eval $ac_try) 2>&5
29919 ac_status=$?
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); }; } &&
29922 { ac_try='test -s conftest.$ac_objext'
29923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29924 (eval $ac_try) 2>&5
29925 ac_status=$?
29926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29927 (exit $ac_status); }; }; then
29928 echo "$as_me:$LINENO: result: yes" >&5
29929 echo "${ECHO_T}yes" >&6
29930 cat >>confdefs.h <<\_ACEOF
29931 #define HAVE__VSNWPRINTF 1
29932 _ACEOF
29933
29934 else
29935 echo "$as_me: failed program was:" >&5
29936 sed 's/^/| /' conftest.$ac_ext >&5
29937
29938 echo "$as_me:$LINENO: result: no" >&5
29939 echo "${ECHO_T}no" >&6
29940 fi
29941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29942 fi
29943
29944 ac_ext=c
29945 ac_cpp='$CPP $CPPFLAGS'
29946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29949
29950
29951
29952
29953 if test "$TOOLKIT" != "MSW"; then
29954
29955
29956
29957
29958 ac_ext=cc
29959 ac_cpp='$CXXCPP $CPPFLAGS'
29960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29963
29964
29965
29966
29967 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29968 if test "${with_libiconv_prefix+set}" = set; then
29969 withval="$with_libiconv_prefix"
29970
29971 for dir in `echo "$withval" | tr : ' '`; do
29972 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29973 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29974 done
29975
29976 fi;
29977
29978 echo "$as_me:$LINENO: checking for iconv" >&5
29979 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29980 if test "${am_cv_func_iconv+set}" = set; then
29981 echo $ECHO_N "(cached) $ECHO_C" >&6
29982 else
29983
29984 am_cv_func_iconv="no, consider installing GNU libiconv"
29985 am_cv_lib_iconv=no
29986 cat >conftest.$ac_ext <<_ACEOF
29987 /* confdefs.h. */
29988 _ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992 #include <stdlib.h>
29993 #include <iconv.h>
29994 int
29995 main ()
29996 {
29997 iconv_t cd = iconv_open("","");
29998 iconv(cd,NULL,NULL,NULL,NULL);
29999 iconv_close(cd);
30000 ;
30001 return 0;
30002 }
30003 _ACEOF
30004 rm -f conftest.$ac_objext conftest$ac_exeext
30005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30006 (eval $ac_link) 2>conftest.er1
30007 ac_status=$?
30008 grep -v '^ *+' conftest.er1 >conftest.err
30009 rm -f conftest.er1
30010 cat conftest.err >&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); } &&
30013 { ac_try='test -z "$ac_cxx_werror_flag"
30014 || test ! -s conftest.err'
30015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30016 (eval $ac_try) 2>&5
30017 ac_status=$?
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); }; } &&
30020 { ac_try='test -s conftest$ac_exeext'
30021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30022 (eval $ac_try) 2>&5
30023 ac_status=$?
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); }; }; then
30026 am_cv_func_iconv=yes
30027 else
30028 echo "$as_me: failed program was:" >&5
30029 sed 's/^/| /' conftest.$ac_ext >&5
30030
30031 fi
30032 rm -f conftest.err conftest.$ac_objext \
30033 conftest$ac_exeext conftest.$ac_ext
30034 if test "$am_cv_func_iconv" != yes; then
30035 am_save_LIBS="$LIBS"
30036 LIBS="$LIBS -liconv"
30037 cat >conftest.$ac_ext <<_ACEOF
30038 /* confdefs.h. */
30039 _ACEOF
30040 cat confdefs.h >>conftest.$ac_ext
30041 cat >>conftest.$ac_ext <<_ACEOF
30042 /* end confdefs.h. */
30043 #include <stdlib.h>
30044 #include <iconv.h>
30045 int
30046 main ()
30047 {
30048 iconv_t cd = iconv_open("","");
30049 iconv(cd,NULL,NULL,NULL,NULL);
30050 iconv_close(cd);
30051 ;
30052 return 0;
30053 }
30054 _ACEOF
30055 rm -f conftest.$ac_objext conftest$ac_exeext
30056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30057 (eval $ac_link) 2>conftest.er1
30058 ac_status=$?
30059 grep -v '^ *+' conftest.er1 >conftest.err
30060 rm -f conftest.er1
30061 cat conftest.err >&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); } &&
30064 { ac_try='test -z "$ac_cxx_werror_flag"
30065 || test ! -s conftest.err'
30066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067 (eval $ac_try) 2>&5
30068 ac_status=$?
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); }; } &&
30071 { ac_try='test -s conftest$ac_exeext'
30072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30073 (eval $ac_try) 2>&5
30074 ac_status=$?
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); }; }; then
30077 am_cv_lib_iconv=yes
30078 am_cv_func_iconv=yes
30079 else
30080 echo "$as_me: failed program was:" >&5
30081 sed 's/^/| /' conftest.$ac_ext >&5
30082
30083 fi
30084 rm -f conftest.err conftest.$ac_objext \
30085 conftest$ac_exeext conftest.$ac_ext
30086 LIBS="$am_save_LIBS"
30087 fi
30088
30089 fi
30090 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30091 echo "${ECHO_T}$am_cv_func_iconv" >&6
30092 if test "$am_cv_func_iconv" = yes; then
30093
30094 cat >>confdefs.h <<\_ACEOF
30095 #define HAVE_ICONV 1
30096 _ACEOF
30097
30098 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30099 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30100 if test "${wx_cv_func_iconv_const+set}" = set; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30102 else
30103 cat >conftest.$ac_ext <<_ACEOF
30104 /* confdefs.h. */
30105 _ACEOF
30106 cat confdefs.h >>conftest.$ac_ext
30107 cat >>conftest.$ac_ext <<_ACEOF
30108 /* end confdefs.h. */
30109
30110 #include <stdlib.h>
30111 #include <iconv.h>
30112 extern
30113 #ifdef __cplusplus
30114 "C"
30115 #endif
30116 #if defined(__STDC__) || defined(__cplusplus)
30117 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30118 #else
30119 size_t iconv();
30120 #endif
30121
30122 int
30123 main ()
30124 {
30125
30126 ;
30127 return 0;
30128 }
30129 _ACEOF
30130 rm -f conftest.$ac_objext
30131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30132 (eval $ac_compile) 2>conftest.er1
30133 ac_status=$?
30134 grep -v '^ *+' conftest.er1 >conftest.err
30135 rm -f conftest.er1
30136 cat conftest.err >&5
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); } &&
30139 { ac_try='test -z "$ac_cxx_werror_flag"
30140 || test ! -s conftest.err'
30141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142 (eval $ac_try) 2>&5
30143 ac_status=$?
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); }; } &&
30146 { ac_try='test -s conftest.$ac_objext'
30147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30148 (eval $ac_try) 2>&5
30149 ac_status=$?
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); }; }; then
30152 wx_cv_func_iconv_const="no"
30153 else
30154 echo "$as_me: failed program was:" >&5
30155 sed 's/^/| /' conftest.$ac_ext >&5
30156
30157 wx_cv_func_iconv_const="yes"
30158
30159 fi
30160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30161
30162 fi
30163 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30164 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30165
30166 iconv_const=
30167 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30168 iconv_const="const"
30169 fi
30170
30171
30172 cat >>confdefs.h <<_ACEOF
30173 #define ICONV_CONST $iconv_const
30174 _ACEOF
30175
30176 fi
30177 LIBICONV=
30178 if test "$am_cv_lib_iconv" = yes; then
30179 LIBICONV="-liconv"
30180 fi
30181
30182
30183 LIBS="$LIBICONV $LIBS"
30184 ac_ext=c
30185 ac_cpp='$CPP $CPPFLAGS'
30186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30189
30190
30191 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30192
30193 for ac_func in sigaction
30194 do
30195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30196 echo "$as_me:$LINENO: checking for $ac_func" >&5
30197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30198 if eval "test \"\${$as_ac_var+set}\" = set"; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30200 else
30201 cat >conftest.$ac_ext <<_ACEOF
30202 /* confdefs.h. */
30203 _ACEOF
30204 cat confdefs.h >>conftest.$ac_ext
30205 cat >>conftest.$ac_ext <<_ACEOF
30206 /* end confdefs.h. */
30207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30209 #define $ac_func innocuous_$ac_func
30210
30211 /* System header to define __stub macros and hopefully few prototypes,
30212 which can conflict with char $ac_func (); below.
30213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30214 <limits.h> exists even on freestanding compilers. */
30215
30216 #ifdef __STDC__
30217 # include <limits.h>
30218 #else
30219 # include <assert.h>
30220 #endif
30221
30222 #undef $ac_func
30223
30224 /* Override any gcc2 internal prototype to avoid an error. */
30225 #ifdef __cplusplus
30226 extern "C"
30227 {
30228 #endif
30229 /* We use char because int might match the return type of a gcc2
30230 builtin and then its argument prototype would still apply. */
30231 char $ac_func ();
30232 /* The GNU C library defines this for functions which it implements
30233 to always fail with ENOSYS. Some functions are actually named
30234 something starting with __ and the normal name is an alias. */
30235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30236 choke me
30237 #else
30238 char (*f) () = $ac_func;
30239 #endif
30240 #ifdef __cplusplus
30241 }
30242 #endif
30243
30244 int
30245 main ()
30246 {
30247 return f != $ac_func;
30248 ;
30249 return 0;
30250 }
30251 _ACEOF
30252 rm -f conftest.$ac_objext conftest$ac_exeext
30253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30254 (eval $ac_link) 2>conftest.er1
30255 ac_status=$?
30256 grep -v '^ *+' conftest.er1 >conftest.err
30257 rm -f conftest.er1
30258 cat conftest.err >&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); } &&
30261 { ac_try='test -z "$ac_c_werror_flag"
30262 || test ! -s conftest.err'
30263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264 (eval $ac_try) 2>&5
30265 ac_status=$?
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); }; } &&
30268 { ac_try='test -s conftest$ac_exeext'
30269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30270 (eval $ac_try) 2>&5
30271 ac_status=$?
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; }; then
30274 eval "$as_ac_var=yes"
30275 else
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.$ac_ext >&5
30278
30279 eval "$as_ac_var=no"
30280 fi
30281 rm -f conftest.err conftest.$ac_objext \
30282 conftest$ac_exeext conftest.$ac_ext
30283 fi
30284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30286 if test `eval echo '${'$as_ac_var'}'` = yes; then
30287 cat >>confdefs.h <<_ACEOF
30288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30289 _ACEOF
30290
30291 fi
30292 done
30293
30294
30295 if test "$ac_cv_func_sigaction" = "no"; then
30296 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30297 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30298 wxUSE_ON_FATAL_EXCEPTION=no
30299 fi
30300
30301 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30302
30303
30304 ac_ext=cc
30305 ac_cpp='$CXXCPP $CPPFLAGS'
30306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30309
30310
30311 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30312 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30313 if test "${wx_cv_type_sa_handler+set}" = set; then
30314 echo $ECHO_N "(cached) $ECHO_C" >&6
30315 else
30316
30317 cat >conftest.$ac_ext <<_ACEOF
30318 /* confdefs.h. */
30319 _ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30323 #include <signal.h>
30324 int
30325 main ()
30326 {
30327
30328 extern void testSigHandler(int);
30329
30330 struct sigaction sa;
30331 sa.sa_handler = testSigHandler;
30332
30333 ;
30334 return 0;
30335 }
30336 _ACEOF
30337 rm -f conftest.$ac_objext
30338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30339 (eval $ac_compile) 2>conftest.er1
30340 ac_status=$?
30341 grep -v '^ *+' conftest.er1 >conftest.err
30342 rm -f conftest.er1
30343 cat conftest.err >&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } &&
30346 { ac_try='test -z "$ac_cxx_werror_flag"
30347 || test ! -s conftest.err'
30348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30349 (eval $ac_try) 2>&5
30350 ac_status=$?
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); }; } &&
30353 { ac_try='test -s conftest.$ac_objext'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30356 ac_status=$?
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; }; then
30359
30360 wx_cv_type_sa_handler=int
30361
30362 else
30363 echo "$as_me: failed program was:" >&5
30364 sed 's/^/| /' conftest.$ac_ext >&5
30365
30366
30367 wx_cv_type_sa_handler=void
30368
30369 fi
30370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30371
30372 fi
30373 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30374 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30375
30376 ac_ext=c
30377 ac_cpp='$CPP $CPPFLAGS'
30378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30381
30382
30383 cat >>confdefs.h <<_ACEOF
30384 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30385 _ACEOF
30386
30387 fi
30388 fi
30389
30390 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30391
30392
30393 ac_ext=cc
30394 ac_cpp='$CXXCPP $CPPFLAGS'
30395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30398
30399
30400 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30401 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30402 if test "${wx_cv_func_backtrace+set}" = set; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 else
30405
30406 cat >conftest.$ac_ext <<_ACEOF
30407 /* confdefs.h. */
30408 _ACEOF
30409 cat confdefs.h >>conftest.$ac_ext
30410 cat >>conftest.$ac_ext <<_ACEOF
30411 /* end confdefs.h. */
30412 #include <execinfo.h>
30413 int
30414 main ()
30415 {
30416
30417 void *trace[1];
30418 char **messages;
30419
30420 backtrace(trace, 1);
30421 messages = backtrace_symbols(trace, 1);
30422
30423 ;
30424 return 0;
30425 }
30426 _ACEOF
30427 rm -f conftest.$ac_objext
30428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30429 (eval $ac_compile) 2>conftest.er1
30430 ac_status=$?
30431 grep -v '^ *+' conftest.er1 >conftest.err
30432 rm -f conftest.er1
30433 cat conftest.err >&5
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); } &&
30436 { ac_try='test -z "$ac_cxx_werror_flag"
30437 || test ! -s conftest.err'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30440 ac_status=$?
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; } &&
30443 { ac_try='test -s conftest.$ac_objext'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30446 ac_status=$?
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; }; then
30449 wx_cv_func_backtrace=yes
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30453
30454 wx_cv_func_backtrace=no
30455
30456 fi
30457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30458
30459
30460 fi
30461 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30462 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30463
30464
30465 if test "$wx_cv_func_backtrace" = "no"; then
30466 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30467 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30468 wxUSE_STACKWALKER=no
30469 else
30470 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30471 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30472 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30473 echo $ECHO_N "(cached) $ECHO_C" >&6
30474 else
30475
30476 cat >conftest.$ac_ext <<_ACEOF
30477 /* confdefs.h. */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30482 #include <cxxabi.h>
30483 int
30484 main ()
30485 {
30486
30487 int rc;
30488 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30489
30490 ;
30491 return 0;
30492 }
30493 _ACEOF
30494 rm -f conftest.$ac_objext
30495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30496 (eval $ac_compile) 2>conftest.er1
30497 ac_status=$?
30498 grep -v '^ *+' conftest.er1 >conftest.err
30499 rm -f conftest.er1
30500 cat conftest.err >&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); } &&
30503 { ac_try='test -z "$ac_cxx_werror_flag"
30504 || test ! -s conftest.err'
30505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30506 (eval $ac_try) 2>&5
30507 ac_status=$?
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; } &&
30510 { ac_try='test -s conftest.$ac_objext'
30511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30512 (eval $ac_try) 2>&5
30513 ac_status=$?
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); }; }; then
30516 wx_cv_func_cxa_demangle=yes
30517 else
30518 echo "$as_me: failed program was:" >&5
30519 sed 's/^/| /' conftest.$ac_ext >&5
30520
30521 wx_cv_func_cxa_demangle=no
30522
30523 fi
30524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30525
30526
30527 fi
30528 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30529 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30530
30531 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30532 cat >>confdefs.h <<\_ACEOF
30533 #define HAVE_CXA_DEMANGLE 1
30534 _ACEOF
30535
30536 fi
30537 fi
30538
30539 ac_ext=c
30540 ac_cpp='$CPP $CPPFLAGS'
30541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30544
30545 fi
30546
30547
30548
30549 for ac_func in mkstemp mktemp
30550 do
30551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30552 echo "$as_me:$LINENO: checking for $ac_func" >&5
30553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30554 if eval "test \"\${$as_ac_var+set}\" = set"; then
30555 echo $ECHO_N "(cached) $ECHO_C" >&6
30556 else
30557 cat >conftest.$ac_ext <<_ACEOF
30558 /* confdefs.h. */
30559 _ACEOF
30560 cat confdefs.h >>conftest.$ac_ext
30561 cat >>conftest.$ac_ext <<_ACEOF
30562 /* end confdefs.h. */
30563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30565 #define $ac_func innocuous_$ac_func
30566
30567 /* System header to define __stub macros and hopefully few prototypes,
30568 which can conflict with char $ac_func (); below.
30569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30570 <limits.h> exists even on freestanding compilers. */
30571
30572 #ifdef __STDC__
30573 # include <limits.h>
30574 #else
30575 # include <assert.h>
30576 #endif
30577
30578 #undef $ac_func
30579
30580 /* Override any gcc2 internal prototype to avoid an error. */
30581 #ifdef __cplusplus
30582 extern "C"
30583 {
30584 #endif
30585 /* We use char because int might match the return type of a gcc2
30586 builtin and then its argument prototype would still apply. */
30587 char $ac_func ();
30588 /* The GNU C library defines this for functions which it implements
30589 to always fail with ENOSYS. Some functions are actually named
30590 something starting with __ and the normal name is an alias. */
30591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30592 choke me
30593 #else
30594 char (*f) () = $ac_func;
30595 #endif
30596 #ifdef __cplusplus
30597 }
30598 #endif
30599
30600 int
30601 main ()
30602 {
30603 return f != $ac_func;
30604 ;
30605 return 0;
30606 }
30607 _ACEOF
30608 rm -f conftest.$ac_objext conftest$ac_exeext
30609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30610 (eval $ac_link) 2>conftest.er1
30611 ac_status=$?
30612 grep -v '^ *+' conftest.er1 >conftest.err
30613 rm -f conftest.er1
30614 cat conftest.err >&5
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); } &&
30617 { ac_try='test -z "$ac_c_werror_flag"
30618 || test ! -s conftest.err'
30619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30620 (eval $ac_try) 2>&5
30621 ac_status=$?
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); }; } &&
30624 { ac_try='test -s conftest$ac_exeext'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30627 ac_status=$?
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; }; then
30630 eval "$as_ac_var=yes"
30631 else
30632 echo "$as_me: failed program was:" >&5
30633 sed 's/^/| /' conftest.$ac_ext >&5
30634
30635 eval "$as_ac_var=no"
30636 fi
30637 rm -f conftest.err conftest.$ac_objext \
30638 conftest$ac_exeext conftest.$ac_ext
30639 fi
30640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30642 if test `eval echo '${'$as_ac_var'}'` = yes; then
30643 cat >>confdefs.h <<_ACEOF
30644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30645 _ACEOF
30646 break
30647 fi
30648 done
30649
30650
30651 echo "$as_me:$LINENO: checking for statfs" >&5
30652 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30653 if test "${wx_cv_func_statfs+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30655 else
30656 cat >conftest.$ac_ext <<_ACEOF
30657 /* confdefs.h. */
30658 _ACEOF
30659 cat confdefs.h >>conftest.$ac_ext
30660 cat >>conftest.$ac_ext <<_ACEOF
30661 /* end confdefs.h. */
30662
30663 #if defined(__BSD__)
30664 #include <sys/param.h>
30665 #include <sys/mount.h>
30666 #else
30667 #include <sys/vfs.h>
30668 #endif
30669
30670 int
30671 main ()
30672 {
30673
30674 long l;
30675 struct statfs fs;
30676 statfs("/", &fs);
30677 l = fs.f_bsize;
30678 l += fs.f_blocks;
30679 l += fs.f_bavail;
30680
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 rm -f conftest.$ac_objext
30686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30687 (eval $ac_compile) 2>conftest.er1
30688 ac_status=$?
30689 grep -v '^ *+' conftest.er1 >conftest.err
30690 rm -f conftest.er1
30691 cat conftest.err >&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } &&
30694 { ac_try='test -z "$ac_c_werror_flag"
30695 || test ! -s conftest.err'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; } &&
30701 { ac_try='test -s conftest.$ac_objext'
30702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30703 (eval $ac_try) 2>&5
30704 ac_status=$?
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); }; }; then
30707
30708 wx_cv_func_statfs=yes
30709
30710 else
30711 echo "$as_me: failed program was:" >&5
30712 sed 's/^/| /' conftest.$ac_ext >&5
30713
30714
30715 wx_cv_func_statfs=no
30716
30717
30718 fi
30719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30720
30721 fi
30722 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30723 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30724
30725 if test "$wx_cv_func_statfs" = "yes"; then
30726 wx_cv_type_statvfs_t="struct statfs"
30727 cat >>confdefs.h <<\_ACEOF
30728 #define HAVE_STATFS 1
30729 _ACEOF
30730
30731 else
30732 echo "$as_me:$LINENO: checking for statvfs" >&5
30733 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30734 if test "${wx_cv_func_statvfs+set}" = set; then
30735 echo $ECHO_N "(cached) $ECHO_C" >&6
30736 else
30737 cat >conftest.$ac_ext <<_ACEOF
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743
30744 #include <stddef.h>
30745 #include <sys/statvfs.h>
30746
30747 int
30748 main ()
30749 {
30750
30751 statvfs("/", NULL);
30752
30753 ;
30754 return 0;
30755 }
30756 _ACEOF
30757 rm -f conftest.$ac_objext
30758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30759 (eval $ac_compile) 2>conftest.er1
30760 ac_status=$?
30761 grep -v '^ *+' conftest.er1 >conftest.err
30762 rm -f conftest.er1
30763 cat conftest.err >&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } &&
30766 { ac_try='test -z "$ac_c_werror_flag"
30767 || test ! -s conftest.err'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30770 ac_status=$?
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; } &&
30773 { ac_try='test -s conftest.$ac_objext'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30776 ac_status=$?
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; }; then
30779 wx_cv_func_statvfs=yes
30780 else
30781 echo "$as_me: failed program was:" >&5
30782 sed 's/^/| /' conftest.$ac_ext >&5
30783
30784 wx_cv_func_statvfs=no
30785
30786 fi
30787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30788
30789 fi
30790 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30791 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30792
30793 if test "$wx_cv_func_statvfs" = "yes"; then
30794
30795
30796 ac_ext=cc
30797 ac_cpp='$CXXCPP $CPPFLAGS'
30798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30801
30802
30803 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30804 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30805 if test "${wx_cv_type_statvfs_t+set}" = set; then
30806 echo $ECHO_N "(cached) $ECHO_C" >&6
30807 else
30808 cat >conftest.$ac_ext <<_ACEOF
30809 /* confdefs.h. */
30810 _ACEOF
30811 cat confdefs.h >>conftest.$ac_ext
30812 cat >>conftest.$ac_ext <<_ACEOF
30813 /* end confdefs.h. */
30814
30815 #include <sys/statvfs.h>
30816
30817 int
30818 main ()
30819 {
30820
30821 long l;
30822 statvfs_t fs;
30823 statvfs("/", &fs);
30824 l = fs.f_bsize;
30825 l += fs.f_blocks;
30826 l += fs.f_bavail;
30827
30828 ;
30829 return 0;
30830 }
30831 _ACEOF
30832 rm -f conftest.$ac_objext
30833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30834 (eval $ac_compile) 2>conftest.er1
30835 ac_status=$?
30836 grep -v '^ *+' conftest.er1 >conftest.err
30837 rm -f conftest.er1
30838 cat conftest.err >&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); } &&
30841 { ac_try='test -z "$ac_cxx_werror_flag"
30842 || test ! -s conftest.err'
30843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30844 (eval $ac_try) 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; } &&
30848 { ac_try='test -s conftest.$ac_objext'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; }; then
30854 wx_cv_type_statvfs_t=statvfs_t
30855 else
30856 echo "$as_me: failed program was:" >&5
30857 sed 's/^/| /' conftest.$ac_ext >&5
30858
30859
30860 cat >conftest.$ac_ext <<_ACEOF
30861 /* confdefs.h. */
30862 _ACEOF
30863 cat confdefs.h >>conftest.$ac_ext
30864 cat >>conftest.$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30866
30867 #include <sys/statvfs.h>
30868
30869 int
30870 main ()
30871 {
30872
30873 long l;
30874 struct statvfs fs;
30875 statvfs("/", &fs);
30876 l = fs.f_bsize;
30877 l += fs.f_blocks;
30878 l += fs.f_bavail;
30879
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 rm -f conftest.$ac_objext
30885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30886 (eval $ac_compile) 2>conftest.er1
30887 ac_status=$?
30888 grep -v '^ *+' conftest.er1 >conftest.err
30889 rm -f conftest.er1
30890 cat conftest.err >&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } &&
30893 { ac_try='test -z "$ac_cxx_werror_flag"
30894 || test ! -s conftest.err'
30895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30896 (eval $ac_try) 2>&5
30897 ac_status=$?
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; } &&
30900 { ac_try='test -s conftest.$ac_objext'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30903 ac_status=$?
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; }; then
30906 wx_cv_type_statvfs_t="struct statvfs"
30907 else
30908 echo "$as_me: failed program was:" >&5
30909 sed 's/^/| /' conftest.$ac_ext >&5
30910
30911 wx_cv_type_statvfs_t="unknown"
30912
30913 fi
30914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30915
30916
30917 fi
30918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30919
30920 fi
30921 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30922 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30923
30924 ac_ext=c
30925 ac_cpp='$CPP $CPPFLAGS'
30926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30929
30930
30931 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30932 cat >>confdefs.h <<\_ACEOF
30933 #define HAVE_STATVFS 1
30934 _ACEOF
30935
30936 fi
30937 else
30938 wx_cv_type_statvfs_t="unknown"
30939 fi
30940 fi
30941
30942 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30943 cat >>confdefs.h <<_ACEOF
30944 #define WX_STATFS_T $wx_cv_type_statvfs_t
30945 _ACEOF
30946
30947 else
30948 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30949 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30950 fi
30951
30952 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30953
30954
30955 for ac_func in fcntl flock
30956 do
30957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30958 echo "$as_me:$LINENO: checking for $ac_func" >&5
30959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30960 if eval "test \"\${$as_ac_var+set}\" = set"; then
30961 echo $ECHO_N "(cached) $ECHO_C" >&6
30962 else
30963 cat >conftest.$ac_ext <<_ACEOF
30964 /* confdefs.h. */
30965 _ACEOF
30966 cat confdefs.h >>conftest.$ac_ext
30967 cat >>conftest.$ac_ext <<_ACEOF
30968 /* end confdefs.h. */
30969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30971 #define $ac_func innocuous_$ac_func
30972
30973 /* System header to define __stub macros and hopefully few prototypes,
30974 which can conflict with char $ac_func (); below.
30975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30976 <limits.h> exists even on freestanding compilers. */
30977
30978 #ifdef __STDC__
30979 # include <limits.h>
30980 #else
30981 # include <assert.h>
30982 #endif
30983
30984 #undef $ac_func
30985
30986 /* Override any gcc2 internal prototype to avoid an error. */
30987 #ifdef __cplusplus
30988 extern "C"
30989 {
30990 #endif
30991 /* We use char because int might match the return type of a gcc2
30992 builtin and then its argument prototype would still apply. */
30993 char $ac_func ();
30994 /* The GNU C library defines this for functions which it implements
30995 to always fail with ENOSYS. Some functions are actually named
30996 something starting with __ and the normal name is an alias. */
30997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30998 choke me
30999 #else
31000 char (*f) () = $ac_func;
31001 #endif
31002 #ifdef __cplusplus
31003 }
31004 #endif
31005
31006 int
31007 main ()
31008 {
31009 return f != $ac_func;
31010 ;
31011 return 0;
31012 }
31013 _ACEOF
31014 rm -f conftest.$ac_objext conftest$ac_exeext
31015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31016 (eval $ac_link) 2>conftest.er1
31017 ac_status=$?
31018 grep -v '^ *+' conftest.er1 >conftest.err
31019 rm -f conftest.er1
31020 cat conftest.err >&5
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); } &&
31023 { ac_try='test -z "$ac_c_werror_flag"
31024 || test ! -s conftest.err'
31025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31026 (eval $ac_try) 2>&5
31027 ac_status=$?
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); }; } &&
31030 { ac_try='test -s conftest$ac_exeext'
31031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31032 (eval $ac_try) 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); }; }; then
31036 eval "$as_ac_var=yes"
31037 else
31038 echo "$as_me: failed program was:" >&5
31039 sed 's/^/| /' conftest.$ac_ext >&5
31040
31041 eval "$as_ac_var=no"
31042 fi
31043 rm -f conftest.err conftest.$ac_objext \
31044 conftest$ac_exeext conftest.$ac_ext
31045 fi
31046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31048 if test `eval echo '${'$as_ac_var'}'` = yes; then
31049 cat >>confdefs.h <<_ACEOF
31050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31051 _ACEOF
31052 break
31053 fi
31054 done
31055
31056
31057 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31058 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31059 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31060 wxUSE_SNGLINST_CHECKER=no
31061 fi
31062 fi
31063
31064
31065 for ac_func in timegm
31066 do
31067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31068 echo "$as_me:$LINENO: checking for $ac_func" >&5
31069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31070 if eval "test \"\${$as_ac_var+set}\" = set"; then
31071 echo $ECHO_N "(cached) $ECHO_C" >&6
31072 else
31073 cat >conftest.$ac_ext <<_ACEOF
31074 /* confdefs.h. */
31075 _ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31081 #define $ac_func innocuous_$ac_func
31082
31083 /* System header to define __stub macros and hopefully few prototypes,
31084 which can conflict with char $ac_func (); below.
31085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31086 <limits.h> exists even on freestanding compilers. */
31087
31088 #ifdef __STDC__
31089 # include <limits.h>
31090 #else
31091 # include <assert.h>
31092 #endif
31093
31094 #undef $ac_func
31095
31096 /* Override any gcc2 internal prototype to avoid an error. */
31097 #ifdef __cplusplus
31098 extern "C"
31099 {
31100 #endif
31101 /* We use char because int might match the return type of a gcc2
31102 builtin and then its argument prototype would still apply. */
31103 char $ac_func ();
31104 /* The GNU C library defines this for functions which it implements
31105 to always fail with ENOSYS. Some functions are actually named
31106 something starting with __ and the normal name is an alias. */
31107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31108 choke me
31109 #else
31110 char (*f) () = $ac_func;
31111 #endif
31112 #ifdef __cplusplus
31113 }
31114 #endif
31115
31116 int
31117 main ()
31118 {
31119 return f != $ac_func;
31120 ;
31121 return 0;
31122 }
31123 _ACEOF
31124 rm -f conftest.$ac_objext conftest$ac_exeext
31125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31126 (eval $ac_link) 2>conftest.er1
31127 ac_status=$?
31128 grep -v '^ *+' conftest.er1 >conftest.err
31129 rm -f conftest.er1
31130 cat conftest.err >&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); } &&
31133 { ac_try='test -z "$ac_c_werror_flag"
31134 || test ! -s conftest.err'
31135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31136 (eval $ac_try) 2>&5
31137 ac_status=$?
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); }; } &&
31140 { ac_try='test -s conftest$ac_exeext'
31141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31142 (eval $ac_try) 2>&5
31143 ac_status=$?
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); }; }; then
31146 eval "$as_ac_var=yes"
31147 else
31148 echo "$as_me: failed program was:" >&5
31149 sed 's/^/| /' conftest.$ac_ext >&5
31150
31151 eval "$as_ac_var=no"
31152 fi
31153 rm -f conftest.err conftest.$ac_objext \
31154 conftest$ac_exeext conftest.$ac_ext
31155 fi
31156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31158 if test `eval echo '${'$as_ac_var'}'` = yes; then
31159 cat >>confdefs.h <<_ACEOF
31160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31161 _ACEOF
31162
31163 fi
31164 done
31165
31166
31167
31168
31169 for ac_func in putenv setenv
31170 do
31171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31172 echo "$as_me:$LINENO: checking for $ac_func" >&5
31173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31174 if eval "test \"\${$as_ac_var+set}\" = set"; then
31175 echo $ECHO_N "(cached) $ECHO_C" >&6
31176 else
31177 cat >conftest.$ac_ext <<_ACEOF
31178 /* confdefs.h. */
31179 _ACEOF
31180 cat confdefs.h >>conftest.$ac_ext
31181 cat >>conftest.$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31185 #define $ac_func innocuous_$ac_func
31186
31187 /* System header to define __stub macros and hopefully few prototypes,
31188 which can conflict with char $ac_func (); below.
31189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31190 <limits.h> exists even on freestanding compilers. */
31191
31192 #ifdef __STDC__
31193 # include <limits.h>
31194 #else
31195 # include <assert.h>
31196 #endif
31197
31198 #undef $ac_func
31199
31200 /* Override any gcc2 internal prototype to avoid an error. */
31201 #ifdef __cplusplus
31202 extern "C"
31203 {
31204 #endif
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31207 char $ac_func ();
31208 /* The GNU C library defines this for functions which it implements
31209 to always fail with ENOSYS. Some functions are actually named
31210 something starting with __ and the normal name is an alias. */
31211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31212 choke me
31213 #else
31214 char (*f) () = $ac_func;
31215 #endif
31216 #ifdef __cplusplus
31217 }
31218 #endif
31219
31220 int
31221 main ()
31222 {
31223 return f != $ac_func;
31224 ;
31225 return 0;
31226 }
31227 _ACEOF
31228 rm -f conftest.$ac_objext conftest$ac_exeext
31229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31230 (eval $ac_link) 2>conftest.er1
31231 ac_status=$?
31232 grep -v '^ *+' conftest.er1 >conftest.err
31233 rm -f conftest.er1
31234 cat conftest.err >&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); } &&
31237 { ac_try='test -z "$ac_c_werror_flag"
31238 || test ! -s conftest.err'
31239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31240 (eval $ac_try) 2>&5
31241 ac_status=$?
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); }; } &&
31244 { ac_try='test -s conftest$ac_exeext'
31245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31246 (eval $ac_try) 2>&5
31247 ac_status=$?
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; }; then
31250 eval "$as_ac_var=yes"
31251 else
31252 echo "$as_me: failed program was:" >&5
31253 sed 's/^/| /' conftest.$ac_ext >&5
31254
31255 eval "$as_ac_var=no"
31256 fi
31257 rm -f conftest.err conftest.$ac_objext \
31258 conftest$ac_exeext conftest.$ac_ext
31259 fi
31260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31262 if test `eval echo '${'$as_ac_var'}'` = yes; then
31263 cat >>confdefs.h <<_ACEOF
31264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31265 _ACEOF
31266 break
31267 fi
31268 done
31269
31270
31271 HAVE_SOME_SLEEP_FUNC=0
31272 if test "$USE_BEOS" = 1; then
31273 cat >>confdefs.h <<\_ACEOF
31274 #define HAVE_SLEEP 1
31275 _ACEOF
31276
31277 HAVE_SOME_SLEEP_FUNC=1
31278 fi
31279
31280 if test "$USE_DARWIN" = 1; then
31281 cat >>confdefs.h <<\_ACEOF
31282 #define HAVE_USLEEP 1
31283 _ACEOF
31284
31285 HAVE_SOME_SLEEP_FUNC=1
31286 fi
31287
31288 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31289 POSIX4_LINK=
31290
31291 for ac_func in nanosleep
31292 do
31293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31294 echo "$as_me:$LINENO: checking for $ac_func" >&5
31295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31296 if eval "test \"\${$as_ac_var+set}\" = set"; then
31297 echo $ECHO_N "(cached) $ECHO_C" >&6
31298 else
31299 cat >conftest.$ac_ext <<_ACEOF
31300 /* confdefs.h. */
31301 _ACEOF
31302 cat confdefs.h >>conftest.$ac_ext
31303 cat >>conftest.$ac_ext <<_ACEOF
31304 /* end confdefs.h. */
31305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31307 #define $ac_func innocuous_$ac_func
31308
31309 /* System header to define __stub macros and hopefully few prototypes,
31310 which can conflict with char $ac_func (); below.
31311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31312 <limits.h> exists even on freestanding compilers. */
31313
31314 #ifdef __STDC__
31315 # include <limits.h>
31316 #else
31317 # include <assert.h>
31318 #endif
31319
31320 #undef $ac_func
31321
31322 /* Override any gcc2 internal prototype to avoid an error. */
31323 #ifdef __cplusplus
31324 extern "C"
31325 {
31326 #endif
31327 /* We use char because int might match the return type of a gcc2
31328 builtin and then its argument prototype would still apply. */
31329 char $ac_func ();
31330 /* The GNU C library defines this for functions which it implements
31331 to always fail with ENOSYS. Some functions are actually named
31332 something starting with __ and the normal name is an alias. */
31333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31334 choke me
31335 #else
31336 char (*f) () = $ac_func;
31337 #endif
31338 #ifdef __cplusplus
31339 }
31340 #endif
31341
31342 int
31343 main ()
31344 {
31345 return f != $ac_func;
31346 ;
31347 return 0;
31348 }
31349 _ACEOF
31350 rm -f conftest.$ac_objext conftest$ac_exeext
31351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31352 (eval $ac_link) 2>conftest.er1
31353 ac_status=$?
31354 grep -v '^ *+' conftest.er1 >conftest.err
31355 rm -f conftest.er1
31356 cat conftest.err >&5
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); } &&
31359 { ac_try='test -z "$ac_c_werror_flag"
31360 || test ! -s conftest.err'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31363 ac_status=$?
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; } &&
31366 { ac_try='test -s conftest$ac_exeext'
31367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31368 (eval $ac_try) 2>&5
31369 ac_status=$?
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; }; then
31372 eval "$as_ac_var=yes"
31373 else
31374 echo "$as_me: failed program was:" >&5
31375 sed 's/^/| /' conftest.$ac_ext >&5
31376
31377 eval "$as_ac_var=no"
31378 fi
31379 rm -f conftest.err conftest.$ac_objext \
31380 conftest$ac_exeext conftest.$ac_ext
31381 fi
31382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31384 if test `eval echo '${'$as_ac_var'}'` = yes; then
31385 cat >>confdefs.h <<_ACEOF
31386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31387 _ACEOF
31388 cat >>confdefs.h <<\_ACEOF
31389 #define HAVE_NANOSLEEP 1
31390 _ACEOF
31391
31392 else
31393
31394 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31395 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31396 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399 ac_check_lib_save_LIBS=$LIBS
31400 LIBS="-lposix4 $LIBS"
31401 cat >conftest.$ac_ext <<_ACEOF
31402 /* confdefs.h. */
31403 _ACEOF
31404 cat confdefs.h >>conftest.$ac_ext
31405 cat >>conftest.$ac_ext <<_ACEOF
31406 /* end confdefs.h. */
31407
31408 /* Override any gcc2 internal prototype to avoid an error. */
31409 #ifdef __cplusplus
31410 extern "C"
31411 #endif
31412 /* We use char because int might match the return type of a gcc2
31413 builtin and then its argument prototype would still apply. */
31414 char nanosleep ();
31415 int
31416 main ()
31417 {
31418 nanosleep ();
31419 ;
31420 return 0;
31421 }
31422 _ACEOF
31423 rm -f conftest.$ac_objext conftest$ac_exeext
31424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31425 (eval $ac_link) 2>conftest.er1
31426 ac_status=$?
31427 grep -v '^ *+' conftest.er1 >conftest.err
31428 rm -f conftest.er1
31429 cat conftest.err >&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } &&
31432 { ac_try='test -z "$ac_c_werror_flag"
31433 || test ! -s conftest.err'
31434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435 (eval $ac_try) 2>&5
31436 ac_status=$?
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; } &&
31439 { ac_try='test -s conftest$ac_exeext'
31440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31441 (eval $ac_try) 2>&5
31442 ac_status=$?
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); }; }; then
31445 ac_cv_lib_posix4_nanosleep=yes
31446 else
31447 echo "$as_me: failed program was:" >&5
31448 sed 's/^/| /' conftest.$ac_ext >&5
31449
31450 ac_cv_lib_posix4_nanosleep=no
31451 fi
31452 rm -f conftest.err conftest.$ac_objext \
31453 conftest$ac_exeext conftest.$ac_ext
31454 LIBS=$ac_check_lib_save_LIBS
31455 fi
31456 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31457 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31458 if test $ac_cv_lib_posix4_nanosleep = yes; then
31459
31460 cat >>confdefs.h <<\_ACEOF
31461 #define HAVE_NANOSLEEP 1
31462 _ACEOF
31463
31464 POSIX4_LINK=" -lposix4"
31465
31466 else
31467
31468
31469 for ac_func in usleep
31470 do
31471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31472 echo "$as_me:$LINENO: checking for $ac_func" >&5
31473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31474 if eval "test \"\${$as_ac_var+set}\" = set"; then
31475 echo $ECHO_N "(cached) $ECHO_C" >&6
31476 else
31477 cat >conftest.$ac_ext <<_ACEOF
31478 /* confdefs.h. */
31479 _ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31485 #define $ac_func innocuous_$ac_func
31486
31487 /* System header to define __stub macros and hopefully few prototypes,
31488 which can conflict with char $ac_func (); below.
31489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31490 <limits.h> exists even on freestanding compilers. */
31491
31492 #ifdef __STDC__
31493 # include <limits.h>
31494 #else
31495 # include <assert.h>
31496 #endif
31497
31498 #undef $ac_func
31499
31500 /* Override any gcc2 internal prototype to avoid an error. */
31501 #ifdef __cplusplus
31502 extern "C"
31503 {
31504 #endif
31505 /* We use char because int might match the return type of a gcc2
31506 builtin and then its argument prototype would still apply. */
31507 char $ac_func ();
31508 /* The GNU C library defines this for functions which it implements
31509 to always fail with ENOSYS. Some functions are actually named
31510 something starting with __ and the normal name is an alias. */
31511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31512 choke me
31513 #else
31514 char (*f) () = $ac_func;
31515 #endif
31516 #ifdef __cplusplus
31517 }
31518 #endif
31519
31520 int
31521 main ()
31522 {
31523 return f != $ac_func;
31524 ;
31525 return 0;
31526 }
31527 _ACEOF
31528 rm -f conftest.$ac_objext conftest$ac_exeext
31529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31530 (eval $ac_link) 2>conftest.er1
31531 ac_status=$?
31532 grep -v '^ *+' conftest.er1 >conftest.err
31533 rm -f conftest.er1
31534 cat conftest.err >&5
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); } &&
31537 { ac_try='test -z "$ac_c_werror_flag"
31538 || test ! -s conftest.err'
31539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31540 (eval $ac_try) 2>&5
31541 ac_status=$?
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; } &&
31544 { ac_try='test -s conftest$ac_exeext'
31545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31546 (eval $ac_try) 2>&5
31547 ac_status=$?
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); }; }; then
31550 eval "$as_ac_var=yes"
31551 else
31552 echo "$as_me: failed program was:" >&5
31553 sed 's/^/| /' conftest.$ac_ext >&5
31554
31555 eval "$as_ac_var=no"
31556 fi
31557 rm -f conftest.err conftest.$ac_objext \
31558 conftest$ac_exeext conftest.$ac_ext
31559 fi
31560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31562 if test `eval echo '${'$as_ac_var'}'` = yes; then
31563 cat >>confdefs.h <<_ACEOF
31564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31565 _ACEOF
31566 cat >>confdefs.h <<\_ACEOF
31567 #define HAVE_USLEEP 1
31568 _ACEOF
31569
31570 else
31571 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31572 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31573
31574 fi
31575 done
31576
31577
31578
31579 fi
31580
31581
31582
31583 fi
31584 done
31585
31586 fi
31587
31588
31589
31590 for ac_func in uname gethostname
31591 do
31592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31593 echo "$as_me:$LINENO: checking for $ac_func" >&5
31594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31595 if eval "test \"\${$as_ac_var+set}\" = set"; then
31596 echo $ECHO_N "(cached) $ECHO_C" >&6
31597 else
31598 cat >conftest.$ac_ext <<_ACEOF
31599 /* confdefs.h. */
31600 _ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31606 #define $ac_func innocuous_$ac_func
31607
31608 /* System header to define __stub macros and hopefully few prototypes,
31609 which can conflict with char $ac_func (); below.
31610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31611 <limits.h> exists even on freestanding compilers. */
31612
31613 #ifdef __STDC__
31614 # include <limits.h>
31615 #else
31616 # include <assert.h>
31617 #endif
31618
31619 #undef $ac_func
31620
31621 /* Override any gcc2 internal prototype to avoid an error. */
31622 #ifdef __cplusplus
31623 extern "C"
31624 {
31625 #endif
31626 /* We use char because int might match the return type of a gcc2
31627 builtin and then its argument prototype would still apply. */
31628 char $ac_func ();
31629 /* The GNU C library defines this for functions which it implements
31630 to always fail with ENOSYS. Some functions are actually named
31631 something starting with __ and the normal name is an alias. */
31632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31633 choke me
31634 #else
31635 char (*f) () = $ac_func;
31636 #endif
31637 #ifdef __cplusplus
31638 }
31639 #endif
31640
31641 int
31642 main ()
31643 {
31644 return f != $ac_func;
31645 ;
31646 return 0;
31647 }
31648 _ACEOF
31649 rm -f conftest.$ac_objext conftest$ac_exeext
31650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31651 (eval $ac_link) 2>conftest.er1
31652 ac_status=$?
31653 grep -v '^ *+' conftest.er1 >conftest.err
31654 rm -f conftest.er1
31655 cat conftest.err >&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); } &&
31658 { ac_try='test -z "$ac_c_werror_flag"
31659 || test ! -s conftest.err'
31660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31661 (eval $ac_try) 2>&5
31662 ac_status=$?
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; } &&
31665 { ac_try='test -s conftest$ac_exeext'
31666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31667 (eval $ac_try) 2>&5
31668 ac_status=$?
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; }; then
31671 eval "$as_ac_var=yes"
31672 else
31673 echo "$as_me: failed program was:" >&5
31674 sed 's/^/| /' conftest.$ac_ext >&5
31675
31676 eval "$as_ac_var=no"
31677 fi
31678 rm -f conftest.err conftest.$ac_objext \
31679 conftest$ac_exeext conftest.$ac_ext
31680 fi
31681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31683 if test `eval echo '${'$as_ac_var'}'` = yes; then
31684 cat >>confdefs.h <<_ACEOF
31685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31686 _ACEOF
31687 break
31688 fi
31689 done
31690
31691
31692
31693
31694 ac_ext=cc
31695 ac_cpp='$CXXCPP $CPPFLAGS'
31696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31699
31700
31701
31702 for ac_func in strtok_r
31703 do
31704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31705 echo "$as_me:$LINENO: checking for $ac_func" >&5
31706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31707 if eval "test \"\${$as_ac_var+set}\" = set"; then
31708 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 else
31710 cat >conftest.$ac_ext <<_ACEOF
31711 /* confdefs.h. */
31712 _ACEOF
31713 cat confdefs.h >>conftest.$ac_ext
31714 cat >>conftest.$ac_ext <<_ACEOF
31715 /* end confdefs.h. */
31716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31718 #define $ac_func innocuous_$ac_func
31719
31720 /* System header to define __stub macros and hopefully few prototypes,
31721 which can conflict with char $ac_func (); below.
31722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31723 <limits.h> exists even on freestanding compilers. */
31724
31725 #ifdef __STDC__
31726 # include <limits.h>
31727 #else
31728 # include <assert.h>
31729 #endif
31730
31731 #undef $ac_func
31732
31733 /* Override any gcc2 internal prototype to avoid an error. */
31734 #ifdef __cplusplus
31735 extern "C"
31736 {
31737 #endif
31738 /* We use char because int might match the return type of a gcc2
31739 builtin and then its argument prototype would still apply. */
31740 char $ac_func ();
31741 /* The GNU C library defines this for functions which it implements
31742 to always fail with ENOSYS. Some functions are actually named
31743 something starting with __ and the normal name is an alias. */
31744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31745 choke me
31746 #else
31747 char (*f) () = $ac_func;
31748 #endif
31749 #ifdef __cplusplus
31750 }
31751 #endif
31752
31753 int
31754 main ()
31755 {
31756 return f != $ac_func;
31757 ;
31758 return 0;
31759 }
31760 _ACEOF
31761 rm -f conftest.$ac_objext conftest$ac_exeext
31762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31763 (eval $ac_link) 2>conftest.er1
31764 ac_status=$?
31765 grep -v '^ *+' conftest.er1 >conftest.err
31766 rm -f conftest.er1
31767 cat conftest.err >&5
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); } &&
31770 { ac_try='test -z "$ac_cxx_werror_flag"
31771 || test ! -s conftest.err'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; } &&
31777 { ac_try='test -s conftest$ac_exeext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 eval "$as_ac_var=yes"
31784 else
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31787
31788 eval "$as_ac_var=no"
31789 fi
31790 rm -f conftest.err conftest.$ac_objext \
31791 conftest$ac_exeext conftest.$ac_ext
31792 fi
31793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31795 if test `eval echo '${'$as_ac_var'}'` = yes; then
31796 cat >>confdefs.h <<_ACEOF
31797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31798 _ACEOF
31799
31800 fi
31801 done
31802
31803
31804 ac_ext=c
31805 ac_cpp='$CPP $CPPFLAGS'
31806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31809
31810
31811 INET_LINK=
31812
31813 for ac_func in inet_addr
31814 do
31815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31816 echo "$as_me:$LINENO: checking for $ac_func" >&5
31817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31818 if eval "test \"\${$as_ac_var+set}\" = set"; then
31819 echo $ECHO_N "(cached) $ECHO_C" >&6
31820 else
31821 cat >conftest.$ac_ext <<_ACEOF
31822 /* confdefs.h. */
31823 _ACEOF
31824 cat confdefs.h >>conftest.$ac_ext
31825 cat >>conftest.$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31829 #define $ac_func innocuous_$ac_func
31830
31831 /* System header to define __stub macros and hopefully few prototypes,
31832 which can conflict with char $ac_func (); below.
31833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31834 <limits.h> exists even on freestanding compilers. */
31835
31836 #ifdef __STDC__
31837 # include <limits.h>
31838 #else
31839 # include <assert.h>
31840 #endif
31841
31842 #undef $ac_func
31843
31844 /* Override any gcc2 internal prototype to avoid an error. */
31845 #ifdef __cplusplus
31846 extern "C"
31847 {
31848 #endif
31849 /* We use char because int might match the return type of a gcc2
31850 builtin and then its argument prototype would still apply. */
31851 char $ac_func ();
31852 /* The GNU C library defines this for functions which it implements
31853 to always fail with ENOSYS. Some functions are actually named
31854 something starting with __ and the normal name is an alias. */
31855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31856 choke me
31857 #else
31858 char (*f) () = $ac_func;
31859 #endif
31860 #ifdef __cplusplus
31861 }
31862 #endif
31863
31864 int
31865 main ()
31866 {
31867 return f != $ac_func;
31868 ;
31869 return 0;
31870 }
31871 _ACEOF
31872 rm -f conftest.$ac_objext conftest$ac_exeext
31873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31874 (eval $ac_link) 2>conftest.er1
31875 ac_status=$?
31876 grep -v '^ *+' conftest.er1 >conftest.err
31877 rm -f conftest.er1
31878 cat conftest.err >&5
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } &&
31881 { ac_try='test -z "$ac_c_werror_flag"
31882 || test ! -s conftest.err'
31883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31884 (eval $ac_try) 2>&5
31885 ac_status=$?
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); }; } &&
31888 { ac_try='test -s conftest$ac_exeext'
31889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890 (eval $ac_try) 2>&5
31891 ac_status=$?
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; }; then
31894 eval "$as_ac_var=yes"
31895 else
31896 echo "$as_me: failed program was:" >&5
31897 sed 's/^/| /' conftest.$ac_ext >&5
31898
31899 eval "$as_ac_var=no"
31900 fi
31901 rm -f conftest.err conftest.$ac_objext \
31902 conftest$ac_exeext conftest.$ac_ext
31903 fi
31904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31906 if test `eval echo '${'$as_ac_var'}'` = yes; then
31907 cat >>confdefs.h <<_ACEOF
31908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31909 _ACEOF
31910 cat >>confdefs.h <<\_ACEOF
31911 #define HAVE_INET_ADDR 1
31912 _ACEOF
31913
31914 else
31915
31916 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31917 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31918 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31920 else
31921 ac_check_lib_save_LIBS=$LIBS
31922 LIBS="-lnsl $LIBS"
31923 cat >conftest.$ac_ext <<_ACEOF
31924 /* confdefs.h. */
31925 _ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929
31930 /* Override any gcc2 internal prototype to avoid an error. */
31931 #ifdef __cplusplus
31932 extern "C"
31933 #endif
31934 /* We use char because int might match the return type of a gcc2
31935 builtin and then its argument prototype would still apply. */
31936 char inet_addr ();
31937 int
31938 main ()
31939 {
31940 inet_addr ();
31941 ;
31942 return 0;
31943 }
31944 _ACEOF
31945 rm -f conftest.$ac_objext conftest$ac_exeext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31947 (eval $ac_link) 2>conftest.er1
31948 ac_status=$?
31949 grep -v '^ *+' conftest.er1 >conftest.err
31950 rm -f conftest.er1
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try='test -z "$ac_c_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31958 ac_status=$?
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try='test -s conftest$ac_exeext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 ac_cv_lib_nsl_inet_addr=yes
31968 else
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31971
31972 ac_cv_lib_nsl_inet_addr=no
31973 fi
31974 rm -f conftest.err conftest.$ac_objext \
31975 conftest$ac_exeext conftest.$ac_ext
31976 LIBS=$ac_check_lib_save_LIBS
31977 fi
31978 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31979 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31980 if test $ac_cv_lib_nsl_inet_addr = yes; then
31981 INET_LINK="nsl"
31982 else
31983
31984 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31985 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31986 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31987 echo $ECHO_N "(cached) $ECHO_C" >&6
31988 else
31989 ac_check_lib_save_LIBS=$LIBS
31990 LIBS="-lresolv $LIBS"
31991 cat >conftest.$ac_ext <<_ACEOF
31992 /* confdefs.h. */
31993 _ACEOF
31994 cat confdefs.h >>conftest.$ac_ext
31995 cat >>conftest.$ac_ext <<_ACEOF
31996 /* end confdefs.h. */
31997
31998 /* Override any gcc2 internal prototype to avoid an error. */
31999 #ifdef __cplusplus
32000 extern "C"
32001 #endif
32002 /* We use char because int might match the return type of a gcc2
32003 builtin and then its argument prototype would still apply. */
32004 char inet_addr ();
32005 int
32006 main ()
32007 {
32008 inet_addr ();
32009 ;
32010 return 0;
32011 }
32012 _ACEOF
32013 rm -f conftest.$ac_objext conftest$ac_exeext
32014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32015 (eval $ac_link) 2>conftest.er1
32016 ac_status=$?
32017 grep -v '^ *+' conftest.er1 >conftest.err
32018 rm -f conftest.er1
32019 cat conftest.err >&5
32020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32021 (exit $ac_status); } &&
32022 { ac_try='test -z "$ac_c_werror_flag"
32023 || test ! -s conftest.err'
32024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32025 (eval $ac_try) 2>&5
32026 ac_status=$?
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); }; } &&
32029 { ac_try='test -s conftest$ac_exeext'
32030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031 (eval $ac_try) 2>&5
32032 ac_status=$?
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); }; }; then
32035 ac_cv_lib_resolv_inet_addr=yes
32036 else
32037 echo "$as_me: failed program was:" >&5
32038 sed 's/^/| /' conftest.$ac_ext >&5
32039
32040 ac_cv_lib_resolv_inet_addr=no
32041 fi
32042 rm -f conftest.err conftest.$ac_objext \
32043 conftest$ac_exeext conftest.$ac_ext
32044 LIBS=$ac_check_lib_save_LIBS
32045 fi
32046 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32047 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32048 if test $ac_cv_lib_resolv_inet_addr = yes; then
32049 INET_LINK="resolv"
32050 else
32051
32052 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32053 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32054 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32055 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 else
32057 ac_check_lib_save_LIBS=$LIBS
32058 LIBS="-lsocket $LIBS"
32059 cat >conftest.$ac_ext <<_ACEOF
32060 /* confdefs.h. */
32061 _ACEOF
32062 cat confdefs.h >>conftest.$ac_ext
32063 cat >>conftest.$ac_ext <<_ACEOF
32064 /* end confdefs.h. */
32065
32066 /* Override any gcc2 internal prototype to avoid an error. */
32067 #ifdef __cplusplus
32068 extern "C"
32069 #endif
32070 /* We use char because int might match the return type of a gcc2
32071 builtin and then its argument prototype would still apply. */
32072 char inet_addr ();
32073 int
32074 main ()
32075 {
32076 inet_addr ();
32077 ;
32078 return 0;
32079 }
32080 _ACEOF
32081 rm -f conftest.$ac_objext conftest$ac_exeext
32082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32083 (eval $ac_link) 2>conftest.er1
32084 ac_status=$?
32085 grep -v '^ *+' conftest.er1 >conftest.err
32086 rm -f conftest.er1
32087 cat conftest.err >&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); } &&
32090 { ac_try='test -z "$ac_c_werror_flag"
32091 || test ! -s conftest.err'
32092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32093 (eval $ac_try) 2>&5
32094 ac_status=$?
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); }; } &&
32097 { ac_try='test -s conftest$ac_exeext'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32100 ac_status=$?
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; }; then
32103 ac_cv_lib_socket_inet_addr=yes
32104 else
32105 echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.$ac_ext >&5
32107
32108 ac_cv_lib_socket_inet_addr=no
32109 fi
32110 rm -f conftest.err conftest.$ac_objext \
32111 conftest$ac_exeext conftest.$ac_ext
32112 LIBS=$ac_check_lib_save_LIBS
32113 fi
32114 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32115 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32116 if test $ac_cv_lib_socket_inet_addr = yes; then
32117 INET_LINK="socket"
32118
32119 fi
32120
32121
32122
32123 fi
32124
32125
32126
32127 fi
32128
32129
32130
32131 fi
32132 done
32133
32134
32135
32136 for ac_func in inet_aton
32137 do
32138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32139 echo "$as_me:$LINENO: checking for $ac_func" >&5
32140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32141 if eval "test \"\${$as_ac_var+set}\" = set"; then
32142 echo $ECHO_N "(cached) $ECHO_C" >&6
32143 else
32144 cat >conftest.$ac_ext <<_ACEOF
32145 /* confdefs.h. */
32146 _ACEOF
32147 cat confdefs.h >>conftest.$ac_ext
32148 cat >>conftest.$ac_ext <<_ACEOF
32149 /* end confdefs.h. */
32150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32152 #define $ac_func innocuous_$ac_func
32153
32154 /* System header to define __stub macros and hopefully few prototypes,
32155 which can conflict with char $ac_func (); below.
32156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32157 <limits.h> exists even on freestanding compilers. */
32158
32159 #ifdef __STDC__
32160 # include <limits.h>
32161 #else
32162 # include <assert.h>
32163 #endif
32164
32165 #undef $ac_func
32166
32167 /* Override any gcc2 internal prototype to avoid an error. */
32168 #ifdef __cplusplus
32169 extern "C"
32170 {
32171 #endif
32172 /* We use char because int might match the return type of a gcc2
32173 builtin and then its argument prototype would still apply. */
32174 char $ac_func ();
32175 /* The GNU C library defines this for functions which it implements
32176 to always fail with ENOSYS. Some functions are actually named
32177 something starting with __ and the normal name is an alias. */
32178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32179 choke me
32180 #else
32181 char (*f) () = $ac_func;
32182 #endif
32183 #ifdef __cplusplus
32184 }
32185 #endif
32186
32187 int
32188 main ()
32189 {
32190 return f != $ac_func;
32191 ;
32192 return 0;
32193 }
32194 _ACEOF
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32197 (eval $ac_link) 2>conftest.er1
32198 ac_status=$?
32199 grep -v '^ *+' conftest.er1 >conftest.err
32200 rm -f conftest.er1
32201 cat conftest.err >&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } &&
32204 { ac_try='test -z "$ac_c_werror_flag"
32205 || test ! -s conftest.err'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32208 ac_status=$?
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; } &&
32211 { ac_try='test -s conftest$ac_exeext'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32214 ac_status=$?
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; }; then
32217 eval "$as_ac_var=yes"
32218 else
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.$ac_ext >&5
32221
32222 eval "$as_ac_var=no"
32223 fi
32224 rm -f conftest.err conftest.$ac_objext \
32225 conftest$ac_exeext conftest.$ac_ext
32226 fi
32227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32229 if test `eval echo '${'$as_ac_var'}'` = yes; then
32230 cat >>confdefs.h <<_ACEOF
32231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32232 _ACEOF
32233 cat >>confdefs.h <<\_ACEOF
32234 #define HAVE_INET_ATON 1
32235 _ACEOF
32236
32237 else
32238
32239 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32240 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32241 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32242 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32243 echo $ECHO_N "(cached) $ECHO_C" >&6
32244 else
32245 ac_check_lib_save_LIBS=$LIBS
32246 LIBS="-l$INET_LINK $LIBS"
32247 cat >conftest.$ac_ext <<_ACEOF
32248 /* confdefs.h. */
32249 _ACEOF
32250 cat confdefs.h >>conftest.$ac_ext
32251 cat >>conftest.$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32253
32254 /* Override any gcc2 internal prototype to avoid an error. */
32255 #ifdef __cplusplus
32256 extern "C"
32257 #endif
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32260 char inet_aton ();
32261 int
32262 main ()
32263 {
32264 inet_aton ();
32265 ;
32266 return 0;
32267 }
32268 _ACEOF
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32272 ac_status=$?
32273 grep -v '^ *+' conftest.er1 >conftest.err
32274 rm -f conftest.er1
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try='test -z "$ac_c_werror_flag"
32279 || test ! -s conftest.err'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32282 ac_status=$?
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; } &&
32285 { ac_try='test -s conftest$ac_exeext'
32286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287 (eval $ac_try) 2>&5
32288 ac_status=$?
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); }; }; then
32291 eval "$as_ac_Lib=yes"
32292 else
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32295
32296 eval "$as_ac_Lib=no"
32297 fi
32298 rm -f conftest.err conftest.$ac_objext \
32299 conftest$ac_exeext conftest.$ac_ext
32300 LIBS=$ac_check_lib_save_LIBS
32301 fi
32302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32303 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32304 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32305 cat >>confdefs.h <<\_ACEOF
32306 #define HAVE_INET_ATON 1
32307 _ACEOF
32308
32309 fi
32310
32311
32312 fi
32313 done
32314
32315
32316 if test "x$INET_LINK" != "x"; then
32317 cat >>confdefs.h <<\_ACEOF
32318 #define HAVE_INET_ADDR 1
32319 _ACEOF
32320
32321 INET_LINK=" -l$INET_LINK"
32322 fi
32323
32324 fi
32325
32326
32327
32328 EXTRALIBS_ESD=
32329 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32330 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32331 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32333 else
32334 ac_check_lib_save_LIBS=$LIBS
32335 LIBS="-lesd $LIBS"
32336 cat >conftest.$ac_ext <<_ACEOF
32337 /* confdefs.h. */
32338 _ACEOF
32339 cat confdefs.h >>conftest.$ac_ext
32340 cat >>conftest.$ac_ext <<_ACEOF
32341 /* end confdefs.h. */
32342
32343 /* Override any gcc2 internal prototype to avoid an error. */
32344 #ifdef __cplusplus
32345 extern "C"
32346 #endif
32347 /* We use char because int might match the return type of a gcc2
32348 builtin and then its argument prototype would still apply. */
32349 char esd_close ();
32350 int
32351 main ()
32352 {
32353 esd_close ();
32354 ;
32355 return 0;
32356 }
32357 _ACEOF
32358 rm -f conftest.$ac_objext conftest$ac_exeext
32359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32360 (eval $ac_link) 2>conftest.er1
32361 ac_status=$?
32362 grep -v '^ *+' conftest.er1 >conftest.err
32363 rm -f conftest.er1
32364 cat conftest.err >&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } &&
32367 { ac_try='test -z "$ac_c_werror_flag"
32368 || test ! -s conftest.err'
32369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370 (eval $ac_try) 2>&5
32371 ac_status=$?
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); }; } &&
32374 { ac_try='test -s conftest$ac_exeext'
32375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376 (eval $ac_try) 2>&5
32377 ac_status=$?
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; }; then
32380 ac_cv_lib_esd_esd_close=yes
32381 else
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.$ac_ext >&5
32384
32385 ac_cv_lib_esd_esd_close=no
32386 fi
32387 rm -f conftest.err conftest.$ac_objext \
32388 conftest$ac_exeext conftest.$ac_ext
32389 LIBS=$ac_check_lib_save_LIBS
32390 fi
32391 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32392 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32393 if test $ac_cv_lib_esd_esd_close = yes; then
32394
32395
32396 for ac_header in esd.h
32397 do
32398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32400 echo "$as_me:$LINENO: checking for $ac_header" >&5
32401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32403 echo $ECHO_N "(cached) $ECHO_C" >&6
32404 fi
32405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32407 else
32408 # Is the header compilable?
32409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32411 cat >conftest.$ac_ext <<_ACEOF
32412 /* confdefs.h. */
32413 _ACEOF
32414 cat confdefs.h >>conftest.$ac_ext
32415 cat >>conftest.$ac_ext <<_ACEOF
32416 /* end confdefs.h. */
32417 $ac_includes_default
32418 #include <$ac_header>
32419 _ACEOF
32420 rm -f conftest.$ac_objext
32421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32422 (eval $ac_compile) 2>conftest.er1
32423 ac_status=$?
32424 grep -v '^ *+' conftest.er1 >conftest.err
32425 rm -f conftest.er1
32426 cat conftest.err >&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); } &&
32429 { ac_try='test -z "$ac_c_werror_flag"
32430 || test ! -s conftest.err'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32433 ac_status=$?
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; } &&
32436 { ac_try='test -s conftest.$ac_objext'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32439 ac_status=$?
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; }; then
32442 ac_header_compiler=yes
32443 else
32444 echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.$ac_ext >&5
32446
32447 ac_header_compiler=no
32448 fi
32449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32451 echo "${ECHO_T}$ac_header_compiler" >&6
32452
32453 # Is the header present?
32454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32456 cat >conftest.$ac_ext <<_ACEOF
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 #include <$ac_header>
32463 _ACEOF
32464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32466 ac_status=$?
32467 grep -v '^ *+' conftest.er1 >conftest.err
32468 rm -f conftest.er1
32469 cat conftest.err >&5
32470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471 (exit $ac_status); } >/dev/null; then
32472 if test -s conftest.err; then
32473 ac_cpp_err=$ac_c_preproc_warn_flag
32474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32475 else
32476 ac_cpp_err=
32477 fi
32478 else
32479 ac_cpp_err=yes
32480 fi
32481 if test -z "$ac_cpp_err"; then
32482 ac_header_preproc=yes
32483 else
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.$ac_ext >&5
32486
32487 ac_header_preproc=no
32488 fi
32489 rm -f conftest.err conftest.$ac_ext
32490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32491 echo "${ECHO_T}$ac_header_preproc" >&6
32492
32493 # So? What about this header?
32494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32495 yes:no: )
32496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32500 ac_header_preproc=yes
32501 ;;
32502 no:yes:* )
32503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32515 (
32516 cat <<\_ASBOX
32517 ## ----------------------------------------- ##
32518 ## Report this to wx-dev@lists.wxwidgets.org ##
32519 ## ----------------------------------------- ##
32520 _ASBOX
32521 ) |
32522 sed "s/^/$as_me: WARNING: /" >&2
32523 ;;
32524 esac
32525 echo "$as_me:$LINENO: checking for $ac_header" >&5
32526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32528 echo $ECHO_N "(cached) $ECHO_C" >&6
32529 else
32530 eval "$as_ac_Header=\$ac_header_preproc"
32531 fi
32532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32534
32535 fi
32536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32537 cat >>confdefs.h <<_ACEOF
32538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32539 _ACEOF
32540
32541 EXTRALIBS_ESD="-lesd"
32542
32543 fi
32544
32545 done
32546
32547
32548 fi
32549
32550
32551
32552 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32553 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32554 cat >conftest.$ac_ext <<_ACEOF
32555 /* confdefs.h. */
32556 _ACEOF
32557 cat confdefs.h >>conftest.$ac_ext
32558 cat >>conftest.$ac_ext <<_ACEOF
32559 /* end confdefs.h. */
32560 #ifdef __linux__
32561 #include <linux/cdrom.h>
32562 #else
32563 /* For Solaris */
32564 #include <sys/cdio.h>
32565 #endif
32566
32567 int
32568 main ()
32569 {
32570 struct cdrom_tocentry entry, old_entry;
32571 ;
32572 return 0;
32573 }
32574 _ACEOF
32575 rm -f conftest.$ac_objext
32576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32577 (eval $ac_compile) 2>conftest.er1
32578 ac_status=$?
32579 grep -v '^ *+' conftest.er1 >conftest.err
32580 rm -f conftest.er1
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } &&
32584 { ac_try='test -z "$ac_c_werror_flag"
32585 || test ! -s conftest.err'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32588 ac_status=$?
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; } &&
32591 { ac_try='test -s conftest.$ac_objext'
32592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32593 (eval $ac_try) 2>&5
32594 ac_status=$?
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); }; }; then
32597 echo "$as_me:$LINENO: result: yes" >&5
32598 echo "${ECHO_T}yes" >&6
32599 cat >>confdefs.h <<\_ACEOF
32600 #define HAVE_KNOWN_CDROM_INTERFACE 1
32601 _ACEOF
32602
32603 else
32604 echo "$as_me: failed program was:" >&5
32605 sed 's/^/| /' conftest.$ac_ext >&5
32606
32607 echo "$as_me:$LINENO: result: no" >&5
32608 echo "${ECHO_T}no" >&6
32609 fi
32610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32611
32612
32613 cat >confcache <<\_ACEOF
32614 # This file is a shell script that caches the results of configure
32615 # tests run on this system so they can be shared between configure
32616 # scripts and configure runs, see configure's option --config-cache.
32617 # It is not useful on other systems. If it contains results you don't
32618 # want to keep, you may remove or edit it.
32619 #
32620 # config.status only pays attention to the cache file if you give it
32621 # the --recheck option to rerun configure.
32622 #
32623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32625 # following values.
32626
32627 _ACEOF
32628
32629 # The following way of writing the cache mishandles newlines in values,
32630 # but we know of no workaround that is simple, portable, and efficient.
32631 # So, don't put newlines in cache variables' values.
32632 # Ultrix sh set writes to stderr and can't be redirected directly,
32633 # and sets the high bit in the cache file unless we assign to the vars.
32634 {
32635 (set) 2>&1 |
32636 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32637 *ac_space=\ *)
32638 # `set' does not quote correctly, so add quotes (double-quote
32639 # substitution turns \\\\ into \\, and sed turns \\ into \).
32640 sed -n \
32641 "s/'/'\\\\''/g;
32642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32643 ;;
32644 *)
32645 # `set' quotes correctly as required by POSIX, so do not add quotes.
32646 sed -n \
32647 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32648 ;;
32649 esac;
32650 } |
32651 sed '
32652 t clear
32653 : clear
32654 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32655 t end
32656 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32657 : end' >>confcache
32658 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32659 if test -w $cache_file; then
32660 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32661 cat confcache >$cache_file
32662 else
32663 echo "not updating unwritable cache $cache_file"
32664 fi
32665 fi
32666 rm -f confcache
32667
32668
32669 CPP_MT_FLAG=
32670 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32671
32672
32673 THREADS_LINK=
32674 THREADS_CFLAGS=
32675
32676 if test "$wxUSE_THREADS" = "yes" ; then
32677 if test "$USE_BEOS" = 1; then
32678 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32679 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32680 wxUSE_THREADS="no"
32681 fi
32682 fi
32683
32684 if test "$wxUSE_THREADS" = "yes" ; then
32685
32686
32687 THREAD_OPTS="-pthread"
32688 case "${host}" in
32689 *-*-solaris2* | *-*-sunos4* )
32690 if test "x$GCC" = "xyes"; then
32691 THREAD_OPTS="-pthreads $THREAD_OPTS"
32692 else
32693 THREAD_OPTS="-mt $THREAD_OPTS"
32694 fi
32695 ;;
32696 *-*-freebsd*)
32697 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32698 ;;
32699 *-*-darwin* | *-*-cygwin* )
32700 THREAD_OPTS=""
32701 ;;
32702 *-*-aix*)
32703 THREAD_OPTS="pthreads"
32704 ;;
32705 *-hp-hpux* )
32706 if test "x$GCC" != "xyes"; then
32707 THREAD_OPTS=""
32708 fi
32709 ;;
32710
32711 *-*-irix* )
32712 if test "x$GCC" = "xyes"; then
32713 THREAD_OPTS=""
32714 fi
32715 ;;
32716
32717 *-*-*UnixWare*)
32718 if test "x$GCC" != "xyes"; then
32719 THREAD_OPTS="-Ethread"
32720 fi
32721 ;;
32722 esac
32723
32724 THREAD_OPTS="$THREAD_OPTS pthread none"
32725
32726 THREADS_OK=no
32727 for flag in $THREAD_OPTS; do
32728 case $flag in
32729 none)
32730 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32731 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32732 ;;
32733
32734 -*)
32735 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32736 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32737 THREADS_CFLAGS="$flag"
32738 ;;
32739
32740 *)
32741 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32742 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32743 THREADS_LINK="-l$flag"
32744 ;;
32745 esac
32746
32747 save_LIBS="$LIBS"
32748 save_CFLAGS="$CFLAGS"
32749 LIBS="$THREADS_LINK $LIBS"
32750 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32751
32752 cat >conftest.$ac_ext <<_ACEOF
32753 /* confdefs.h. */
32754 _ACEOF
32755 cat confdefs.h >>conftest.$ac_ext
32756 cat >>conftest.$ac_ext <<_ACEOF
32757 /* end confdefs.h. */
32758 #include <pthread.h>
32759 int
32760 main ()
32761 {
32762 pthread_create(0,0,0,0);
32763 ;
32764 return 0;
32765 }
32766 _ACEOF
32767 rm -f conftest.$ac_objext conftest$ac_exeext
32768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32769 (eval $ac_link) 2>conftest.er1
32770 ac_status=$?
32771 grep -v '^ *+' conftest.er1 >conftest.err
32772 rm -f conftest.er1
32773 cat conftest.err >&5
32774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 (exit $ac_status); } &&
32776 { ac_try='test -z "$ac_c_werror_flag"
32777 || test ! -s conftest.err'
32778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32779 (eval $ac_try) 2>&5
32780 ac_status=$?
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); }; } &&
32783 { ac_try='test -s conftest$ac_exeext'
32784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32785 (eval $ac_try) 2>&5
32786 ac_status=$?
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); }; }; then
32789 THREADS_OK=yes
32790 else
32791 echo "$as_me: failed program was:" >&5
32792 sed 's/^/| /' conftest.$ac_ext >&5
32793
32794 fi
32795 rm -f conftest.err conftest.$ac_objext \
32796 conftest$ac_exeext conftest.$ac_ext
32797
32798 LIBS="$save_LIBS"
32799 CFLAGS="$save_CFLAGS"
32800
32801 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32802 echo "${ECHO_T}$THREADS_OK" >&6
32803 if test "x$THREADS_OK" = "xyes"; then
32804 break;
32805 fi
32806
32807 THREADS_LINK=""
32808 THREADS_CFLAGS=""
32809 done
32810
32811 if test "x$THREADS_OK" != "xyes"; then
32812 wxUSE_THREADS=no
32813 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32814 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32815 else
32816 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32817 LIBS="$THREADS_LINK $LIBS"
32818
32819 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32820 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32821 flag=no
32822 case "${host}" in
32823 *-aix*)
32824 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32825 flag="-D_THREAD_SAFE"
32826 ;;
32827 *-freebsd*)
32828 flag="-D_THREAD_SAFE"
32829 ;;
32830 *-hp-hpux* )
32831 flag="-D_REENTRANT"
32832 if test "x$GCC" != "xyes"; then
32833 flag="$flag -D_RWSTD_MULTI_THREAD"
32834 fi
32835 ;;
32836 *solaris* | alpha*-osf*)
32837 flag="-D_REENTRANT"
32838 ;;
32839 esac
32840 echo "$as_me:$LINENO: result: ${flag}" >&5
32841 echo "${ECHO_T}${flag}" >&6
32842 if test "x$flag" != xno; then
32843 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32844 fi
32845
32846 if test "x$THREADS_CFLAGS" != "x"; then
32847 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32848 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32849 fi
32850 fi
32851 fi
32852
32853 if test "$wxUSE_THREADS" = "yes" ; then
32854
32855 for ac_func in thr_setconcurrency
32856 do
32857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32858 echo "$as_me:$LINENO: checking for $ac_func" >&5
32859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32860 if eval "test \"\${$as_ac_var+set}\" = set"; then
32861 echo $ECHO_N "(cached) $ECHO_C" >&6
32862 else
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h. */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32871 #define $ac_func innocuous_$ac_func
32872
32873 /* System header to define __stub macros and hopefully few prototypes,
32874 which can conflict with char $ac_func (); below.
32875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32876 <limits.h> exists even on freestanding compilers. */
32877
32878 #ifdef __STDC__
32879 # include <limits.h>
32880 #else
32881 # include <assert.h>
32882 #endif
32883
32884 #undef $ac_func
32885
32886 /* Override any gcc2 internal prototype to avoid an error. */
32887 #ifdef __cplusplus
32888 extern "C"
32889 {
32890 #endif
32891 /* We use char because int might match the return type of a gcc2
32892 builtin and then its argument prototype would still apply. */
32893 char $ac_func ();
32894 /* The GNU C library defines this for functions which it implements
32895 to always fail with ENOSYS. Some functions are actually named
32896 something starting with __ and the normal name is an alias. */
32897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32898 choke me
32899 #else
32900 char (*f) () = $ac_func;
32901 #endif
32902 #ifdef __cplusplus
32903 }
32904 #endif
32905
32906 int
32907 main ()
32908 {
32909 return f != $ac_func;
32910 ;
32911 return 0;
32912 }
32913 _ACEOF
32914 rm -f conftest.$ac_objext conftest$ac_exeext
32915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32916 (eval $ac_link) 2>conftest.er1
32917 ac_status=$?
32918 grep -v '^ *+' conftest.er1 >conftest.err
32919 rm -f conftest.er1
32920 cat conftest.err >&5
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); } &&
32923 { ac_try='test -z "$ac_c_werror_flag"
32924 || test ! -s conftest.err'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; } &&
32930 { ac_try='test -s conftest$ac_exeext'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; }; then
32936 eval "$as_ac_var=yes"
32937 else
32938 echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.$ac_ext >&5
32940
32941 eval "$as_ac_var=no"
32942 fi
32943 rm -f conftest.err conftest.$ac_objext \
32944 conftest$ac_exeext conftest.$ac_ext
32945 fi
32946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32948 if test `eval echo '${'$as_ac_var'}'` = yes; then
32949 cat >>confdefs.h <<_ACEOF
32950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32951 _ACEOF
32952
32953 fi
32954 done
32955
32956
32957
32958 for ac_header in sched.h
32959 do
32960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32962 echo "$as_me:$LINENO: checking for $ac_header" >&5
32963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 fi
32967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32969 else
32970 # Is the header compilable?
32971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32973 cat >conftest.$ac_ext <<_ACEOF
32974 /* confdefs.h. */
32975 _ACEOF
32976 cat confdefs.h >>conftest.$ac_ext
32977 cat >>conftest.$ac_ext <<_ACEOF
32978 /* end confdefs.h. */
32979 $ac_includes_default
32980 #include <$ac_header>
32981 _ACEOF
32982 rm -f conftest.$ac_objext
32983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32984 (eval $ac_compile) 2>conftest.er1
32985 ac_status=$?
32986 grep -v '^ *+' conftest.er1 >conftest.err
32987 rm -f conftest.er1
32988 cat conftest.err >&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); } &&
32991 { ac_try='test -z "$ac_c_werror_flag"
32992 || test ! -s conftest.err'
32993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32994 (eval $ac_try) 2>&5
32995 ac_status=$?
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); }; } &&
32998 { ac_try='test -s conftest.$ac_objext'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33001 ac_status=$?
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; }; then
33004 ac_header_compiler=yes
33005 else
33006 echo "$as_me: failed program was:" >&5
33007 sed 's/^/| /' conftest.$ac_ext >&5
33008
33009 ac_header_compiler=no
33010 fi
33011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33013 echo "${ECHO_T}$ac_header_compiler" >&6
33014
33015 # Is the header present?
33016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33018 cat >conftest.$ac_ext <<_ACEOF
33019 /* confdefs.h. */
33020 _ACEOF
33021 cat confdefs.h >>conftest.$ac_ext
33022 cat >>conftest.$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33024 #include <$ac_header>
33025 _ACEOF
33026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33028 ac_status=$?
33029 grep -v '^ *+' conftest.er1 >conftest.err
33030 rm -f conftest.er1
33031 cat conftest.err >&5
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); } >/dev/null; then
33034 if test -s conftest.err; then
33035 ac_cpp_err=$ac_c_preproc_warn_flag
33036 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33037 else
33038 ac_cpp_err=
33039 fi
33040 else
33041 ac_cpp_err=yes
33042 fi
33043 if test -z "$ac_cpp_err"; then
33044 ac_header_preproc=yes
33045 else
33046 echo "$as_me: failed program was:" >&5
33047 sed 's/^/| /' conftest.$ac_ext >&5
33048
33049 ac_header_preproc=no
33050 fi
33051 rm -f conftest.err conftest.$ac_ext
33052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33053 echo "${ECHO_T}$ac_header_preproc" >&6
33054
33055 # So? What about this header?
33056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33057 yes:no: )
33058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33062 ac_header_preproc=yes
33063 ;;
33064 no:yes:* )
33065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33077 (
33078 cat <<\_ASBOX
33079 ## ----------------------------------------- ##
33080 ## Report this to wx-dev@lists.wxwidgets.org ##
33081 ## ----------------------------------------- ##
33082 _ASBOX
33083 ) |
33084 sed "s/^/$as_me: WARNING: /" >&2
33085 ;;
33086 esac
33087 echo "$as_me:$LINENO: checking for $ac_header" >&5
33088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33090 echo $ECHO_N "(cached) $ECHO_C" >&6
33091 else
33092 eval "$as_ac_Header=\$ac_header_preproc"
33093 fi
33094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33096
33097 fi
33098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33099 cat >>confdefs.h <<_ACEOF
33100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33101 _ACEOF
33102
33103 fi
33104
33105 done
33106
33107 if test "$ac_cv_header_sched_h" = "yes"; then
33108 echo "$as_me:$LINENO: checking for sched_yield" >&5
33109 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33110 if test "${ac_cv_func_sched_yield+set}" = set; then
33111 echo $ECHO_N "(cached) $ECHO_C" >&6
33112 else
33113 cat >conftest.$ac_ext <<_ACEOF
33114 /* confdefs.h. */
33115 _ACEOF
33116 cat confdefs.h >>conftest.$ac_ext
33117 cat >>conftest.$ac_ext <<_ACEOF
33118 /* end confdefs.h. */
33119 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33121 #define sched_yield innocuous_sched_yield
33122
33123 /* System header to define __stub macros and hopefully few prototypes,
33124 which can conflict with char sched_yield (); below.
33125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33126 <limits.h> exists even on freestanding compilers. */
33127
33128 #ifdef __STDC__
33129 # include <limits.h>
33130 #else
33131 # include <assert.h>
33132 #endif
33133
33134 #undef sched_yield
33135
33136 /* Override any gcc2 internal prototype to avoid an error. */
33137 #ifdef __cplusplus
33138 extern "C"
33139 {
33140 #endif
33141 /* We use char because int might match the return type of a gcc2
33142 builtin and then its argument prototype would still apply. */
33143 char sched_yield ();
33144 /* The GNU C library defines this for functions which it implements
33145 to always fail with ENOSYS. Some functions are actually named
33146 something starting with __ and the normal name is an alias. */
33147 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33148 choke me
33149 #else
33150 char (*f) () = sched_yield;
33151 #endif
33152 #ifdef __cplusplus
33153 }
33154 #endif
33155
33156 int
33157 main ()
33158 {
33159 return f != sched_yield;
33160 ;
33161 return 0;
33162 }
33163 _ACEOF
33164 rm -f conftest.$ac_objext conftest$ac_exeext
33165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33166 (eval $ac_link) 2>conftest.er1
33167 ac_status=$?
33168 grep -v '^ *+' conftest.er1 >conftest.err
33169 rm -f conftest.er1
33170 cat conftest.err >&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); } &&
33173 { ac_try='test -z "$ac_c_werror_flag"
33174 || test ! -s conftest.err'
33175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176 (eval $ac_try) 2>&5
33177 ac_status=$?
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); }; } &&
33180 { ac_try='test -s conftest$ac_exeext'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33183 ac_status=$?
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; }; then
33186 ac_cv_func_sched_yield=yes
33187 else
33188 echo "$as_me: failed program was:" >&5
33189 sed 's/^/| /' conftest.$ac_ext >&5
33190
33191 ac_cv_func_sched_yield=no
33192 fi
33193 rm -f conftest.err conftest.$ac_objext \
33194 conftest$ac_exeext conftest.$ac_ext
33195 fi
33196 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33197 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33198 if test $ac_cv_func_sched_yield = yes; then
33199 cat >>confdefs.h <<\_ACEOF
33200 #define HAVE_SCHED_YIELD 1
33201 _ACEOF
33202
33203 else
33204
33205 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33206 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33207 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33208 echo $ECHO_N "(cached) $ECHO_C" >&6
33209 else
33210 ac_check_lib_save_LIBS=$LIBS
33211 LIBS="-lposix4 $LIBS"
33212 cat >conftest.$ac_ext <<_ACEOF
33213 /* confdefs.h. */
33214 _ACEOF
33215 cat confdefs.h >>conftest.$ac_ext
33216 cat >>conftest.$ac_ext <<_ACEOF
33217 /* end confdefs.h. */
33218
33219 /* Override any gcc2 internal prototype to avoid an error. */
33220 #ifdef __cplusplus
33221 extern "C"
33222 #endif
33223 /* We use char because int might match the return type of a gcc2
33224 builtin and then its argument prototype would still apply. */
33225 char sched_yield ();
33226 int
33227 main ()
33228 {
33229 sched_yield ();
33230 ;
33231 return 0;
33232 }
33233 _ACEOF
33234 rm -f conftest.$ac_objext conftest$ac_exeext
33235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33236 (eval $ac_link) 2>conftest.er1
33237 ac_status=$?
33238 grep -v '^ *+' conftest.er1 >conftest.err
33239 rm -f conftest.er1
33240 cat conftest.err >&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } &&
33243 { ac_try='test -z "$ac_c_werror_flag"
33244 || test ! -s conftest.err'
33245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33246 (eval $ac_try) 2>&5
33247 ac_status=$?
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); }; } &&
33250 { ac_try='test -s conftest$ac_exeext'
33251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33252 (eval $ac_try) 2>&5
33253 ac_status=$?
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); }; }; then
33256 ac_cv_lib_posix4_sched_yield=yes
33257 else
33258 echo "$as_me: failed program was:" >&5
33259 sed 's/^/| /' conftest.$ac_ext >&5
33260
33261 ac_cv_lib_posix4_sched_yield=no
33262 fi
33263 rm -f conftest.err conftest.$ac_objext \
33264 conftest$ac_exeext conftest.$ac_ext
33265 LIBS=$ac_check_lib_save_LIBS
33266 fi
33267 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33268 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33269 if test $ac_cv_lib_posix4_sched_yield = yes; then
33270 cat >>confdefs.h <<\_ACEOF
33271 #define HAVE_SCHED_YIELD 1
33272 _ACEOF
33273 POSIX4_LINK=" -lposix4"
33274 else
33275 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33276 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33277
33278 fi
33279
33280
33281
33282 fi
33283
33284 fi
33285
33286 HAVE_PRIOR_FUNCS=0
33287 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33288 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33289 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33290 echo $ECHO_N "(cached) $ECHO_C" >&6
33291 else
33292 cat >conftest.$ac_ext <<_ACEOF
33293 /* confdefs.h. */
33294 _ACEOF
33295 cat confdefs.h >>conftest.$ac_ext
33296 cat >>conftest.$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33298 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33300 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33301
33302 /* System header to define __stub macros and hopefully few prototypes,
33303 which can conflict with char pthread_attr_getschedpolicy (); below.
33304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33305 <limits.h> exists even on freestanding compilers. */
33306
33307 #ifdef __STDC__
33308 # include <limits.h>
33309 #else
33310 # include <assert.h>
33311 #endif
33312
33313 #undef pthread_attr_getschedpolicy
33314
33315 /* Override any gcc2 internal prototype to avoid an error. */
33316 #ifdef __cplusplus
33317 extern "C"
33318 {
33319 #endif
33320 /* We use char because int might match the return type of a gcc2
33321 builtin and then its argument prototype would still apply. */
33322 char pthread_attr_getschedpolicy ();
33323 /* The GNU C library defines this for functions which it implements
33324 to always fail with ENOSYS. Some functions are actually named
33325 something starting with __ and the normal name is an alias. */
33326 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33327 choke me
33328 #else
33329 char (*f) () = pthread_attr_getschedpolicy;
33330 #endif
33331 #ifdef __cplusplus
33332 }
33333 #endif
33334
33335 int
33336 main ()
33337 {
33338 return f != pthread_attr_getschedpolicy;
33339 ;
33340 return 0;
33341 }
33342 _ACEOF
33343 rm -f conftest.$ac_objext conftest$ac_exeext
33344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33345 (eval $ac_link) 2>conftest.er1
33346 ac_status=$?
33347 grep -v '^ *+' conftest.er1 >conftest.err
33348 rm -f conftest.er1
33349 cat conftest.err >&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); } &&
33352 { ac_try='test -z "$ac_c_werror_flag"
33353 || test ! -s conftest.err'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33356 ac_status=$?
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; } &&
33359 { ac_try='test -s conftest$ac_exeext'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33362 ac_status=$?
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; }; then
33365 ac_cv_func_pthread_attr_getschedpolicy=yes
33366 else
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33369
33370 ac_cv_func_pthread_attr_getschedpolicy=no
33371 fi
33372 rm -f conftest.err conftest.$ac_objext \
33373 conftest$ac_exeext conftest.$ac_ext
33374 fi
33375 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33376 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33377 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33378 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33379 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33380 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33381 echo $ECHO_N "(cached) $ECHO_C" >&6
33382 else
33383 cat >conftest.$ac_ext <<_ACEOF
33384 /* confdefs.h. */
33385 _ACEOF
33386 cat confdefs.h >>conftest.$ac_ext
33387 cat >>conftest.$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33389 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33391 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33392
33393 /* System header to define __stub macros and hopefully few prototypes,
33394 which can conflict with char pthread_attr_setschedparam (); below.
33395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33396 <limits.h> exists even on freestanding compilers. */
33397
33398 #ifdef __STDC__
33399 # include <limits.h>
33400 #else
33401 # include <assert.h>
33402 #endif
33403
33404 #undef pthread_attr_setschedparam
33405
33406 /* Override any gcc2 internal prototype to avoid an error. */
33407 #ifdef __cplusplus
33408 extern "C"
33409 {
33410 #endif
33411 /* We use char because int might match the return type of a gcc2
33412 builtin and then its argument prototype would still apply. */
33413 char pthread_attr_setschedparam ();
33414 /* The GNU C library defines this for functions which it implements
33415 to always fail with ENOSYS. Some functions are actually named
33416 something starting with __ and the normal name is an alias. */
33417 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33418 choke me
33419 #else
33420 char (*f) () = pthread_attr_setschedparam;
33421 #endif
33422 #ifdef __cplusplus
33423 }
33424 #endif
33425
33426 int
33427 main ()
33428 {
33429 return f != pthread_attr_setschedparam;
33430 ;
33431 return 0;
33432 }
33433 _ACEOF
33434 rm -f conftest.$ac_objext conftest$ac_exeext
33435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33436 (eval $ac_link) 2>conftest.er1
33437 ac_status=$?
33438 grep -v '^ *+' conftest.er1 >conftest.err
33439 rm -f conftest.er1
33440 cat conftest.err >&5
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); } &&
33443 { ac_try='test -z "$ac_c_werror_flag"
33444 || test ! -s conftest.err'
33445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33446 (eval $ac_try) 2>&5
33447 ac_status=$?
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); }; } &&
33450 { ac_try='test -s conftest$ac_exeext'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33453 ac_status=$?
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; }; then
33456 ac_cv_func_pthread_attr_setschedparam=yes
33457 else
33458 echo "$as_me: failed program was:" >&5
33459 sed 's/^/| /' conftest.$ac_ext >&5
33460
33461 ac_cv_func_pthread_attr_setschedparam=no
33462 fi
33463 rm -f conftest.err conftest.$ac_objext \
33464 conftest$ac_exeext conftest.$ac_ext
33465 fi
33466 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33467 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33468 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33469 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33470 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33471 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 else
33474 cat >conftest.$ac_ext <<_ACEOF
33475 /* confdefs.h. */
33476 _ACEOF
33477 cat confdefs.h >>conftest.$ac_ext
33478 cat >>conftest.$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33480 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33482 #define sched_get_priority_max innocuous_sched_get_priority_max
33483
33484 /* System header to define __stub macros and hopefully few prototypes,
33485 which can conflict with char sched_get_priority_max (); below.
33486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33487 <limits.h> exists even on freestanding compilers. */
33488
33489 #ifdef __STDC__
33490 # include <limits.h>
33491 #else
33492 # include <assert.h>
33493 #endif
33494
33495 #undef sched_get_priority_max
33496
33497 /* Override any gcc2 internal prototype to avoid an error. */
33498 #ifdef __cplusplus
33499 extern "C"
33500 {
33501 #endif
33502 /* We use char because int might match the return type of a gcc2
33503 builtin and then its argument prototype would still apply. */
33504 char sched_get_priority_max ();
33505 /* The GNU C library defines this for functions which it implements
33506 to always fail with ENOSYS. Some functions are actually named
33507 something starting with __ and the normal name is an alias. */
33508 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33509 choke me
33510 #else
33511 char (*f) () = sched_get_priority_max;
33512 #endif
33513 #ifdef __cplusplus
33514 }
33515 #endif
33516
33517 int
33518 main ()
33519 {
33520 return f != sched_get_priority_max;
33521 ;
33522 return 0;
33523 }
33524 _ACEOF
33525 rm -f conftest.$ac_objext conftest$ac_exeext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33527 (eval $ac_link) 2>conftest.er1
33528 ac_status=$?
33529 grep -v '^ *+' conftest.er1 >conftest.err
33530 rm -f conftest.er1
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try='test -z "$ac_c_werror_flag"
33535 || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33538 ac_status=$?
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try='test -s conftest$ac_exeext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33544 ac_status=$?
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 ac_cv_func_sched_get_priority_max=yes
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 ac_cv_func_sched_get_priority_max=no
33553 fi
33554 rm -f conftest.err conftest.$ac_objext \
33555 conftest$ac_exeext conftest.$ac_ext
33556 fi
33557 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33558 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33559 if test $ac_cv_func_sched_get_priority_max = yes; then
33560 HAVE_PRIOR_FUNCS=1
33561 else
33562 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33563 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33564 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33565 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 else
33567 ac_check_lib_save_LIBS=$LIBS
33568 LIBS="-lposix4 $LIBS"
33569 cat >conftest.$ac_ext <<_ACEOF
33570 /* confdefs.h. */
33571 _ACEOF
33572 cat confdefs.h >>conftest.$ac_ext
33573 cat >>conftest.$ac_ext <<_ACEOF
33574 /* end confdefs.h. */
33575
33576 /* Override any gcc2 internal prototype to avoid an error. */
33577 #ifdef __cplusplus
33578 extern "C"
33579 #endif
33580 /* We use char because int might match the return type of a gcc2
33581 builtin and then its argument prototype would still apply. */
33582 char sched_get_priority_max ();
33583 int
33584 main ()
33585 {
33586 sched_get_priority_max ();
33587 ;
33588 return 0;
33589 }
33590 _ACEOF
33591 rm -f conftest.$ac_objext conftest$ac_exeext
33592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33593 (eval $ac_link) 2>conftest.er1
33594 ac_status=$?
33595 grep -v '^ *+' conftest.er1 >conftest.err
33596 rm -f conftest.er1
33597 cat conftest.err >&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } &&
33600 { ac_try='test -z "$ac_c_werror_flag"
33601 || test ! -s conftest.err'
33602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33603 (eval $ac_try) 2>&5
33604 ac_status=$?
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); }; } &&
33607 { ac_try='test -s conftest$ac_exeext'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33610 ac_status=$?
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; }; then
33613 ac_cv_lib_posix4_sched_get_priority_max=yes
33614 else
33615 echo "$as_me: failed program was:" >&5
33616 sed 's/^/| /' conftest.$ac_ext >&5
33617
33618 ac_cv_lib_posix4_sched_get_priority_max=no
33619 fi
33620 rm -f conftest.err conftest.$ac_objext \
33621 conftest$ac_exeext conftest.$ac_ext
33622 LIBS=$ac_check_lib_save_LIBS
33623 fi
33624 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33625 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33626 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33627
33628 HAVE_PRIOR_FUNCS=1
33629 POSIX4_LINK=" -lposix4"
33630
33631 fi
33632
33633
33634 fi
33635
33636
33637 fi
33638
33639
33640 fi
33641
33642
33643 if test "$HAVE_PRIOR_FUNCS" = 1; then
33644 cat >>confdefs.h <<\_ACEOF
33645 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33646 _ACEOF
33647
33648 else
33649 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33650 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33651 fi
33652
33653 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33654 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33655 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33656 echo $ECHO_N "(cached) $ECHO_C" >&6
33657 else
33658 cat >conftest.$ac_ext <<_ACEOF
33659 /* confdefs.h. */
33660 _ACEOF
33661 cat confdefs.h >>conftest.$ac_ext
33662 cat >>conftest.$ac_ext <<_ACEOF
33663 /* end confdefs.h. */
33664 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33666 #define pthread_cancel innocuous_pthread_cancel
33667
33668 /* System header to define __stub macros and hopefully few prototypes,
33669 which can conflict with char pthread_cancel (); below.
33670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33671 <limits.h> exists even on freestanding compilers. */
33672
33673 #ifdef __STDC__
33674 # include <limits.h>
33675 #else
33676 # include <assert.h>
33677 #endif
33678
33679 #undef pthread_cancel
33680
33681 /* Override any gcc2 internal prototype to avoid an error. */
33682 #ifdef __cplusplus
33683 extern "C"
33684 {
33685 #endif
33686 /* We use char because int might match the return type of a gcc2
33687 builtin and then its argument prototype would still apply. */
33688 char pthread_cancel ();
33689 /* The GNU C library defines this for functions which it implements
33690 to always fail with ENOSYS. Some functions are actually named
33691 something starting with __ and the normal name is an alias. */
33692 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33693 choke me
33694 #else
33695 char (*f) () = pthread_cancel;
33696 #endif
33697 #ifdef __cplusplus
33698 }
33699 #endif
33700
33701 int
33702 main ()
33703 {
33704 return f != pthread_cancel;
33705 ;
33706 return 0;
33707 }
33708 _ACEOF
33709 rm -f conftest.$ac_objext conftest$ac_exeext
33710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33711 (eval $ac_link) 2>conftest.er1
33712 ac_status=$?
33713 grep -v '^ *+' conftest.er1 >conftest.err
33714 rm -f conftest.er1
33715 cat conftest.err >&5
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); } &&
33718 { ac_try='test -z "$ac_c_werror_flag"
33719 || test ! -s conftest.err'
33720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33721 (eval $ac_try) 2>&5
33722 ac_status=$?
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); }; } &&
33725 { ac_try='test -s conftest$ac_exeext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33728 ac_status=$?
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 ac_cv_func_pthread_cancel=yes
33732 else
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.$ac_ext >&5
33735
33736 ac_cv_func_pthread_cancel=no
33737 fi
33738 rm -f conftest.err conftest.$ac_objext \
33739 conftest$ac_exeext conftest.$ac_ext
33740 fi
33741 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33742 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33743 if test $ac_cv_func_pthread_cancel = yes; then
33744 cat >>confdefs.h <<\_ACEOF
33745 #define HAVE_PTHREAD_CANCEL 1
33746 _ACEOF
33747
33748 else
33749 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33750 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33751 fi
33752
33753
33754
33755
33756 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33757 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33758 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33759 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 else
33761
33762 cat >conftest.$ac_ext <<_ACEOF
33763 /* confdefs.h. */
33764 _ACEOF
33765 cat confdefs.h >>conftest.$ac_ext
33766 cat >>conftest.$ac_ext <<_ACEOF
33767 /* end confdefs.h. */
33768 #include <pthread.h>
33769 int
33770 main ()
33771 {
33772
33773 pthread_mutexattr_t attr;
33774 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33775
33776 ;
33777 return 0;
33778 }
33779 _ACEOF
33780 rm -f conftest.$ac_objext
33781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33782 (eval $ac_compile) 2>conftest.er1
33783 ac_status=$?
33784 grep -v '^ *+' conftest.er1 >conftest.err
33785 rm -f conftest.er1
33786 cat conftest.err >&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } &&
33789 { ac_try='test -z "$ac_c_werror_flag"
33790 || test ! -s conftest.err'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; } &&
33796 { ac_try='test -s conftest.$ac_objext'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33799 ac_status=$?
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; }; then
33802
33803 wx_cv_type_pthread_mutexattr_t=yes
33804
33805 else
33806 echo "$as_me: failed program was:" >&5
33807 sed 's/^/| /' conftest.$ac_ext >&5
33808
33809
33810 wx_cv_type_pthread_mutexattr_t=no
33811
33812
33813 fi
33814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33815
33816 fi
33817 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33818 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33819
33820 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33821 cat >>confdefs.h <<\_ACEOF
33822 #define HAVE_PTHREAD_MUTEXATTR_T 1
33823 _ACEOF
33824
33825 else
33826 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33827 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33828 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 else
33831
33832 cat >conftest.$ac_ext <<_ACEOF
33833 /* confdefs.h. */
33834 _ACEOF
33835 cat confdefs.h >>conftest.$ac_ext
33836 cat >>conftest.$ac_ext <<_ACEOF
33837 /* end confdefs.h. */
33838 #include <pthread.h>
33839 int
33840 main ()
33841 {
33842
33843 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33844
33845 ;
33846 return 0;
33847 }
33848 _ACEOF
33849 rm -f conftest.$ac_objext
33850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33851 (eval $ac_compile) 2>conftest.er1
33852 ac_status=$?
33853 grep -v '^ *+' conftest.er1 >conftest.err
33854 rm -f conftest.er1
33855 cat conftest.err >&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); } &&
33858 { ac_try='test -z "$ac_c_werror_flag"
33859 || test ! -s conftest.err'
33860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33861 (eval $ac_try) 2>&5
33862 ac_status=$?
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); }; } &&
33865 { ac_try='test -s conftest.$ac_objext'
33866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867 (eval $ac_try) 2>&5
33868 ac_status=$?
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); }; }; then
33871
33872 wx_cv_type_pthread_rec_mutex_init=yes
33873
33874 else
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.$ac_ext >&5
33877
33878
33879 wx_cv_type_pthread_rec_mutex_init=no
33880
33881
33882 fi
33883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33884
33885 fi
33886 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33887 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33888 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33889 cat >>confdefs.h <<\_ACEOF
33890 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33891 _ACEOF
33892
33893 else
33894 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33895 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33896 fi
33897 fi
33898 fi
33899
33900 else
33901 if test "$wxUSE_THREADS" = "yes" ; then
33902 case "${host}" in
33903 *-*-mingw32* )
33904 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33905 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33906 if test "${wx_cv_cflags_mthread+set}" = set; then
33907 echo $ECHO_N "(cached) $ECHO_C" >&6
33908 else
33909
33910 CFLAGS_OLD="$CFLAGS"
33911 CFLAGS="$CFLAGS -mthreads"
33912 cat >conftest.$ac_ext <<_ACEOF
33913 /* confdefs.h. */
33914 _ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918
33919 int
33920 main ()
33921 {
33922
33923 ;
33924 return 0;
33925 }
33926 _ACEOF
33927 rm -f conftest.$ac_objext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33929 (eval $ac_compile) 2>conftest.er1
33930 ac_status=$?
33931 grep -v '^ *+' conftest.er1 >conftest.err
33932 rm -f conftest.er1
33933 cat conftest.err >&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); } &&
33936 { ac_try='test -z "$ac_c_werror_flag"
33937 || test ! -s conftest.err'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33940 ac_status=$?
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; } &&
33943 { ac_try='test -s conftest.$ac_objext'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33946 ac_status=$?
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; }; then
33949 wx_cv_cflags_mthread=yes
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33953
33954 wx_cv_cflags_mthread=no
33955
33956 fi
33957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33958
33959
33960 fi
33961 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33962 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33963
33964 if test "$wx_cv_cflags_mthread" = "yes"; then
33965 CXXFLAGS="$CXXFLAGS -mthreads"
33966 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33967 LDFLAGS="$LDFLAGS -mthreads"
33968 else
33969 CFLAGS="$CFLAGS_OLD"
33970 fi
33971 ;;
33972 *-pc-os2*emx )
33973 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33974 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33975 LDFLAGS="$LDFLAGS -Zmt"
33976 ;;
33977 esac
33978 fi
33979 fi
33980
33981 if test "$wxUSE_THREADS" = "yes"; then
33982 cat >>confdefs.h <<\_ACEOF
33983 #define wxUSE_THREADS 1
33984 _ACEOF
33985
33986
33987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33988 else
33989 if test "$ac_cv_func_strtok_r" = "yes"; then
33990 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33991 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33992 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33993 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33994 echo "$as_me:$LINENO: result: yes" >&5
33995 echo "${ECHO_T}yes" >&6
33996 else
33997 echo "$as_me:$LINENO: result: no" >&5
33998 echo "${ECHO_T}no" >&6
33999 fi
34000 fi
34001 fi
34002
34003 if test "$WXGTK20" = 1 ; then
34004 cat >>confdefs.h <<_ACEOF
34005 #define __WXGTK20__ $WXGTK20
34006 _ACEOF
34007
34008 WXGTK12=1
34009 fi
34010
34011 if test "$WXGTK12" = 1 ; then
34012 cat >>confdefs.h <<_ACEOF
34013 #define __WXGTK12__ $WXGTK12
34014 _ACEOF
34015
34016 fi
34017
34018 if test "$WXGTK127" = 1 ; then
34019 cat >>confdefs.h <<_ACEOF
34020 #define __WXGTK127__ $WXGTK127
34021 _ACEOF
34022
34023 fi
34024
34025 if test "$WXGPE" = 1 ; then
34026 cat >>confdefs.h <<_ACEOF
34027 #define __WXGPE__ $WXGPE
34028 _ACEOF
34029
34030 fi
34031
34032 WXDEBUG=
34033
34034 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34035 WXDEBUG="-g"
34036 wxUSE_OPTIMISE=no
34037 fi
34038
34039 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34040 wxUSE_DEBUG_INFO=yes
34041 WXDEBUG="-ggdb"
34042 fi
34043
34044 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34045 cat >>confdefs.h <<\_ACEOF
34046 #define WXDEBUG 1
34047 _ACEOF
34048
34049 WXDEBUG_DEFINE="-D__WXDEBUG__"
34050 else
34051 if test "$wxUSE_GTK" = 1 ; then
34052 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
34053 fi
34054 fi
34055
34056 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34057 cat >>confdefs.h <<\_ACEOF
34058 #define wxUSE_MEMORY_TRACING 1
34059 _ACEOF
34060
34061 cat >>confdefs.h <<\_ACEOF
34062 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34063 _ACEOF
34064
34065 cat >>confdefs.h <<\_ACEOF
34066 #define wxUSE_DEBUG_NEW_ALWAYS 1
34067 _ACEOF
34068
34069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
34070 fi
34071
34072 if test "$wxUSE_DMALLOC" = "yes" ; then
34073 DMALLOC_LIBS="-ldmalloc"
34074 fi
34075
34076 PROFILE=
34077 if test "$wxUSE_PROFILE" = "yes" ; then
34078 PROFILE=" -pg"
34079 fi
34080
34081 CODE_GEN_FLAGS=
34082 CODE_GEN_FLAGS_CXX=
34083 if test "$GCC" = "yes" ; then
34084 if test "$wxUSE_NO_RTTI" = "yes" ; then
34085 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
34086 fi
34087 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34088 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34089 fi
34090 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34091 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
34092 fi
34093
34094 case "${host}" in
34095 powerpc*-*-aix* )
34096 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
34097 ;;
34098 *-hppa* )
34099 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
34100 ;;
34101 esac
34102 fi
34103
34104 OPTIMISE=
34105 if test "$wxUSE_OPTIMISE" = "no" ; then
34106 if test "$GCC" = yes ; then
34107 OPTIMISE="-O0"
34108 fi
34109 else
34110 if test "$GCC" = yes ; then
34111 OPTIMISE="-O2"
34112
34113 case "${host}" in
34114 i586-*-*|i686-*-* )
34115 OPTIMISE="${OPTIMISE} "
34116 ;;
34117 esac
34118 else
34119 OPTIMISE="-O"
34120 fi
34121 fi
34122
34123
34124 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34125 cat >>confdefs.h <<\_ACEOF
34126 #define WXWIN_COMPATIBILITY_2_2 1
34127 _ACEOF
34128
34129
34130 WXWIN_COMPATIBILITY_2_4="yes"
34131 fi
34132
34133 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34134 cat >>confdefs.h <<\_ACEOF
34135 #define WXWIN_COMPATIBILITY_2_4 1
34136 _ACEOF
34137
34138 fi
34139
34140
34141 if test "$wxUSE_GUI" = "yes"; then
34142 cat >>confdefs.h <<\_ACEOF
34143 #define wxUSE_GUI 1
34144 _ACEOF
34145
34146
34147 fi
34148
34149
34150 if test "$wxUSE_UNIX" = "yes"; then
34151 cat >>confdefs.h <<\_ACEOF
34152 #define wxUSE_UNIX 1
34153 _ACEOF
34154
34155 fi
34156
34157
34158 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34159
34160 HAVE_DL_FUNCS=0
34161 HAVE_SHL_FUNCS=0
34162 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34163 if test "$USE_DARWIN" = 1; then
34164 HAVE_DL_FUNCS=1
34165 else
34166
34167 for ac_func in dlopen
34168 do
34169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34170 echo "$as_me:$LINENO: checking for $ac_func" >&5
34171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34172 if eval "test \"\${$as_ac_var+set}\" = set"; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34174 else
34175 cat >conftest.$ac_ext <<_ACEOF
34176 /* confdefs.h. */
34177 _ACEOF
34178 cat confdefs.h >>conftest.$ac_ext
34179 cat >>conftest.$ac_ext <<_ACEOF
34180 /* end confdefs.h. */
34181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34183 #define $ac_func innocuous_$ac_func
34184
34185 /* System header to define __stub macros and hopefully few prototypes,
34186 which can conflict with char $ac_func (); below.
34187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34188 <limits.h> exists even on freestanding compilers. */
34189
34190 #ifdef __STDC__
34191 # include <limits.h>
34192 #else
34193 # include <assert.h>
34194 #endif
34195
34196 #undef $ac_func
34197
34198 /* Override any gcc2 internal prototype to avoid an error. */
34199 #ifdef __cplusplus
34200 extern "C"
34201 {
34202 #endif
34203 /* We use char because int might match the return type of a gcc2
34204 builtin and then its argument prototype would still apply. */
34205 char $ac_func ();
34206 /* The GNU C library defines this for functions which it implements
34207 to always fail with ENOSYS. Some functions are actually named
34208 something starting with __ and the normal name is an alias. */
34209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34210 choke me
34211 #else
34212 char (*f) () = $ac_func;
34213 #endif
34214 #ifdef __cplusplus
34215 }
34216 #endif
34217
34218 int
34219 main ()
34220 {
34221 return f != $ac_func;
34222 ;
34223 return 0;
34224 }
34225 _ACEOF
34226 rm -f conftest.$ac_objext conftest$ac_exeext
34227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34228 (eval $ac_link) 2>conftest.er1
34229 ac_status=$?
34230 grep -v '^ *+' conftest.er1 >conftest.err
34231 rm -f conftest.er1
34232 cat conftest.err >&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); } &&
34235 { ac_try='test -z "$ac_c_werror_flag"
34236 || test ! -s conftest.err'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; } &&
34242 { ac_try='test -s conftest$ac_exeext'
34243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34244 (eval $ac_try) 2>&5
34245 ac_status=$?
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); }; }; then
34248 eval "$as_ac_var=yes"
34249 else
34250 echo "$as_me: failed program was:" >&5
34251 sed 's/^/| /' conftest.$ac_ext >&5
34252
34253 eval "$as_ac_var=no"
34254 fi
34255 rm -f conftest.err conftest.$ac_objext \
34256 conftest$ac_exeext conftest.$ac_ext
34257 fi
34258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34260 if test `eval echo '${'$as_ac_var'}'` = yes; then
34261 cat >>confdefs.h <<_ACEOF
34262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34263 _ACEOF
34264
34265 cat >>confdefs.h <<\_ACEOF
34266 #define HAVE_DLOPEN 1
34267 _ACEOF
34268
34269 HAVE_DL_FUNCS=1
34270
34271 else
34272
34273 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34274 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34275 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34276 echo $ECHO_N "(cached) $ECHO_C" >&6
34277 else
34278 ac_check_lib_save_LIBS=$LIBS
34279 LIBS="-ldl $LIBS"
34280 cat >conftest.$ac_ext <<_ACEOF
34281 /* confdefs.h. */
34282 _ACEOF
34283 cat confdefs.h >>conftest.$ac_ext
34284 cat >>conftest.$ac_ext <<_ACEOF
34285 /* end confdefs.h. */
34286
34287 /* Override any gcc2 internal prototype to avoid an error. */
34288 #ifdef __cplusplus
34289 extern "C"
34290 #endif
34291 /* We use char because int might match the return type of a gcc2
34292 builtin and then its argument prototype would still apply. */
34293 char dlopen ();
34294 int
34295 main ()
34296 {
34297 dlopen ();
34298 ;
34299 return 0;
34300 }
34301 _ACEOF
34302 rm -f conftest.$ac_objext conftest$ac_exeext
34303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34304 (eval $ac_link) 2>conftest.er1
34305 ac_status=$?
34306 grep -v '^ *+' conftest.er1 >conftest.err
34307 rm -f conftest.er1
34308 cat conftest.err >&5
34309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34310 (exit $ac_status); } &&
34311 { ac_try='test -z "$ac_c_werror_flag"
34312 || test ! -s conftest.err'
34313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34314 (eval $ac_try) 2>&5
34315 ac_status=$?
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); }; } &&
34318 { ac_try='test -s conftest$ac_exeext'
34319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34320 (eval $ac_try) 2>&5
34321 ac_status=$?
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); }; }; then
34324 ac_cv_lib_dl_dlopen=yes
34325 else
34326 echo "$as_me: failed program was:" >&5
34327 sed 's/^/| /' conftest.$ac_ext >&5
34328
34329 ac_cv_lib_dl_dlopen=no
34330 fi
34331 rm -f conftest.err conftest.$ac_objext \
34332 conftest$ac_exeext conftest.$ac_ext
34333 LIBS=$ac_check_lib_save_LIBS
34334 fi
34335 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34336 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34337 if test $ac_cv_lib_dl_dlopen = yes; then
34338
34339 cat >>confdefs.h <<\_ACEOF
34340 #define HAVE_DLOPEN 1
34341 _ACEOF
34342
34343 HAVE_DL_FUNCS=1
34344 DL_LINK=" -ldl$DL_LINK"
34345
34346 else
34347
34348
34349 for ac_func in shl_load
34350 do
34351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34352 echo "$as_me:$LINENO: checking for $ac_func" >&5
34353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34354 if eval "test \"\${$as_ac_var+set}\" = set"; then
34355 echo $ECHO_N "(cached) $ECHO_C" >&6
34356 else
34357 cat >conftest.$ac_ext <<_ACEOF
34358 /* confdefs.h. */
34359 _ACEOF
34360 cat confdefs.h >>conftest.$ac_ext
34361 cat >>conftest.$ac_ext <<_ACEOF
34362 /* end confdefs.h. */
34363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34365 #define $ac_func innocuous_$ac_func
34366
34367 /* System header to define __stub macros and hopefully few prototypes,
34368 which can conflict with char $ac_func (); below.
34369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34370 <limits.h> exists even on freestanding compilers. */
34371
34372 #ifdef __STDC__
34373 # include <limits.h>
34374 #else
34375 # include <assert.h>
34376 #endif
34377
34378 #undef $ac_func
34379
34380 /* Override any gcc2 internal prototype to avoid an error. */
34381 #ifdef __cplusplus
34382 extern "C"
34383 {
34384 #endif
34385 /* We use char because int might match the return type of a gcc2
34386 builtin and then its argument prototype would still apply. */
34387 char $ac_func ();
34388 /* The GNU C library defines this for functions which it implements
34389 to always fail with ENOSYS. Some functions are actually named
34390 something starting with __ and the normal name is an alias. */
34391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34392 choke me
34393 #else
34394 char (*f) () = $ac_func;
34395 #endif
34396 #ifdef __cplusplus
34397 }
34398 #endif
34399
34400 int
34401 main ()
34402 {
34403 return f != $ac_func;
34404 ;
34405 return 0;
34406 }
34407 _ACEOF
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34410 (eval $ac_link) 2>conftest.er1
34411 ac_status=$?
34412 grep -v '^ *+' conftest.er1 >conftest.err
34413 rm -f conftest.er1
34414 cat conftest.err >&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } &&
34417 { ac_try='test -z "$ac_c_werror_flag"
34418 || test ! -s conftest.err'
34419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34420 (eval $ac_try) 2>&5
34421 ac_status=$?
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; } &&
34424 { ac_try='test -s conftest$ac_exeext'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34427 ac_status=$?
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; }; then
34430 eval "$as_ac_var=yes"
34431 else
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34434
34435 eval "$as_ac_var=no"
34436 fi
34437 rm -f conftest.err conftest.$ac_objext \
34438 conftest$ac_exeext conftest.$ac_ext
34439 fi
34440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34442 if test `eval echo '${'$as_ac_var'}'` = yes; then
34443 cat >>confdefs.h <<_ACEOF
34444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34445 _ACEOF
34446
34447 cat >>confdefs.h <<\_ACEOF
34448 #define HAVE_SHL_LOAD 1
34449 _ACEOF
34450
34451 HAVE_SHL_FUNCS=1
34452
34453 else
34454
34455 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34456 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34457 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34458 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 else
34460 ac_check_lib_save_LIBS=$LIBS
34461 LIBS="-lshl_load $LIBS"
34462 cat >conftest.$ac_ext <<_ACEOF
34463 /* confdefs.h. */
34464 _ACEOF
34465 cat confdefs.h >>conftest.$ac_ext
34466 cat >>conftest.$ac_ext <<_ACEOF
34467 /* end confdefs.h. */
34468
34469 /* Override any gcc2 internal prototype to avoid an error. */
34470 #ifdef __cplusplus
34471 extern "C"
34472 #endif
34473 /* We use char because int might match the return type of a gcc2
34474 builtin and then its argument prototype would still apply. */
34475 char dld ();
34476 int
34477 main ()
34478 {
34479 dld ();
34480 ;
34481 return 0;
34482 }
34483 _ACEOF
34484 rm -f conftest.$ac_objext conftest$ac_exeext
34485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34486 (eval $ac_link) 2>conftest.er1
34487 ac_status=$?
34488 grep -v '^ *+' conftest.er1 >conftest.err
34489 rm -f conftest.er1
34490 cat conftest.err >&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); } &&
34493 { ac_try='test -z "$ac_c_werror_flag"
34494 || test ! -s conftest.err'
34495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34496 (eval $ac_try) 2>&5
34497 ac_status=$?
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); }; } &&
34500 { ac_try='test -s conftest$ac_exeext'
34501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34502 (eval $ac_try) 2>&5
34503 ac_status=$?
34504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34505 (exit $ac_status); }; }; then
34506 ac_cv_lib_shl_load_dld=yes
34507 else
34508 echo "$as_me: failed program was:" >&5
34509 sed 's/^/| /' conftest.$ac_ext >&5
34510
34511 ac_cv_lib_shl_load_dld=no
34512 fi
34513 rm -f conftest.err conftest.$ac_objext \
34514 conftest$ac_exeext conftest.$ac_ext
34515 LIBS=$ac_check_lib_save_LIBS
34516 fi
34517 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34518 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34519 if test $ac_cv_lib_shl_load_dld = yes; then
34520
34521 HAVE_SHL_FUNCS=1
34522 DL_LINK=" -ldld$DL_LINK"
34523
34524 fi
34525
34526
34527 fi
34528 done
34529
34530
34531 fi
34532
34533
34534 fi
34535 done
34536
34537
34538 if test "$HAVE_DL_FUNCS" = 1; then
34539
34540 for ac_func in dlerror
34541 do
34542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34543 echo "$as_me:$LINENO: checking for $ac_func" >&5
34544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34545 if eval "test \"\${$as_ac_var+set}\" = set"; then
34546 echo $ECHO_N "(cached) $ECHO_C" >&6
34547 else
34548 cat >conftest.$ac_ext <<_ACEOF
34549 /* confdefs.h. */
34550 _ACEOF
34551 cat confdefs.h >>conftest.$ac_ext
34552 cat >>conftest.$ac_ext <<_ACEOF
34553 /* end confdefs.h. */
34554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34556 #define $ac_func innocuous_$ac_func
34557
34558 /* System header to define __stub macros and hopefully few prototypes,
34559 which can conflict with char $ac_func (); below.
34560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34561 <limits.h> exists even on freestanding compilers. */
34562
34563 #ifdef __STDC__
34564 # include <limits.h>
34565 #else
34566 # include <assert.h>
34567 #endif
34568
34569 #undef $ac_func
34570
34571 /* Override any gcc2 internal prototype to avoid an error. */
34572 #ifdef __cplusplus
34573 extern "C"
34574 {
34575 #endif
34576 /* We use char because int might match the return type of a gcc2
34577 builtin and then its argument prototype would still apply. */
34578 char $ac_func ();
34579 /* The GNU C library defines this for functions which it implements
34580 to always fail with ENOSYS. Some functions are actually named
34581 something starting with __ and the normal name is an alias. */
34582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34583 choke me
34584 #else
34585 char (*f) () = $ac_func;
34586 #endif
34587 #ifdef __cplusplus
34588 }
34589 #endif
34590
34591 int
34592 main ()
34593 {
34594 return f != $ac_func;
34595 ;
34596 return 0;
34597 }
34598 _ACEOF
34599 rm -f conftest.$ac_objext conftest$ac_exeext
34600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34601 (eval $ac_link) 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"
34609 || test ! -s conftest.err'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34612 ac_status=$?
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; } &&
34615 { ac_try='test -s conftest$ac_exeext'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34618 ac_status=$?
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; }; then
34621 eval "$as_ac_var=yes"
34622 else
34623 echo "$as_me: failed program was:" >&5
34624 sed 's/^/| /' conftest.$ac_ext >&5
34625
34626 eval "$as_ac_var=no"
34627 fi
34628 rm -f conftest.err conftest.$ac_objext \
34629 conftest$ac_exeext conftest.$ac_ext
34630 fi
34631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34633 if test `eval echo '${'$as_ac_var'}'` = yes; then
34634 cat >>confdefs.h <<_ACEOF
34635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34636 _ACEOF
34637 cat >>confdefs.h <<\_ACEOF
34638 #define HAVE_DLERROR 1
34639 _ACEOF
34640
34641 else
34642
34643 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34644 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34645 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34646 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 else
34648 ac_check_lib_save_LIBS=$LIBS
34649 LIBS="-ldl $LIBS"
34650 cat >conftest.$ac_ext <<_ACEOF
34651 /* confdefs.h. */
34652 _ACEOF
34653 cat confdefs.h >>conftest.$ac_ext
34654 cat >>conftest.$ac_ext <<_ACEOF
34655 /* end confdefs.h. */
34656
34657 /* Override any gcc2 internal prototype to avoid an error. */
34658 #ifdef __cplusplus
34659 extern "C"
34660 #endif
34661 /* We use char because int might match the return type of a gcc2
34662 builtin and then its argument prototype would still apply. */
34663 char dlerror ();
34664 int
34665 main ()
34666 {
34667 dlerror ();
34668 ;
34669 return 0;
34670 }
34671 _ACEOF
34672 rm -f conftest.$ac_objext conftest$ac_exeext
34673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34674 (eval $ac_link) 2>conftest.er1
34675 ac_status=$?
34676 grep -v '^ *+' conftest.er1 >conftest.err
34677 rm -f conftest.er1
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } &&
34681 { ac_try='test -z "$ac_c_werror_flag"
34682 || test ! -s conftest.err'
34683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34684 (eval $ac_try) 2>&5
34685 ac_status=$?
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); }; } &&
34688 { ac_try='test -s conftest$ac_exeext'
34689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34690 (eval $ac_try) 2>&5
34691 ac_status=$?
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); }; }; then
34694 ac_cv_lib_dl_dlerror=yes
34695 else
34696 echo "$as_me: failed program was:" >&5
34697 sed 's/^/| /' conftest.$ac_ext >&5
34698
34699 ac_cv_lib_dl_dlerror=no
34700 fi
34701 rm -f conftest.err conftest.$ac_objext \
34702 conftest$ac_exeext conftest.$ac_ext
34703 LIBS=$ac_check_lib_save_LIBS
34704 fi
34705 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34706 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34707 if test $ac_cv_lib_dl_dlerror = yes; then
34708 cat >>confdefs.h <<\_ACEOF
34709 #define HAVE_DLERROR 1
34710 _ACEOF
34711
34712 fi
34713
34714
34715
34716 fi
34717 done
34718
34719 fi
34720 fi
34721
34722 if test "$HAVE_DL_FUNCS" = 0; then
34723 if test "$HAVE_SHL_FUNCS" = 0; then
34724 if test "$USE_UNIX" = 1; then
34725 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34726 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34727 wxUSE_DYNAMIC_LOADER=no
34728 wxUSE_DYNLIB_CLASS=no
34729 else
34730 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34731 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34732 fi
34733 fi
34734 fi
34735 fi
34736 fi
34737
34738 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34739 cat >>confdefs.h <<\_ACEOF
34740 #define wxUSE_DYNAMIC_LOADER 1
34741 _ACEOF
34742
34743 fi
34744 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34745 cat >>confdefs.h <<\_ACEOF
34746 #define wxUSE_DYNLIB_CLASS 1
34747 _ACEOF
34748
34749 fi
34750
34751
34752
34753 if test "$wxUSE_PLUGINS" = "yes" ; then
34754 if test "$wxUSE_SHARED" = "no" ; then
34755 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34756 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34757 wxUSE_PLUGINS=no
34758 fi
34759 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34760 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34761 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34762 wxUSE_PLUGINS=no
34763 fi
34764 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34765 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34766 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34767 wxUSE_PLUGINS=no
34768 fi
34769 if test "$wxUSE_PLUGINS" = "yes" ; then
34770 cat >>confdefs.h <<\_ACEOF
34771 #define wxUSE_PLUGINS 1
34772 _ACEOF
34773
34774 fi
34775 fi
34776
34777
34778 if test "$wxUSE_STL" = "yes"; then
34779 cat >>confdefs.h <<\_ACEOF
34780 #define wxUSE_STL 1
34781 _ACEOF
34782
34783 fi
34784
34785 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34786 cat >>confdefs.h <<\_ACEOF
34787 #define wxUSE_APPLE_IEEE 1
34788 _ACEOF
34789
34790 fi
34791
34792 if test "$wxUSE_TIMER" = "yes"; then
34793 cat >>confdefs.h <<\_ACEOF
34794 #define wxUSE_TIMER 1
34795 _ACEOF
34796
34797 fi
34798
34799 WITH_PLUGIN_SDL=0
34800 if test "$wxUSE_SOUND" = "yes"; then
34801 if test "$USE_UNIX" = "1" ; then
34802
34803 for ac_header in sys/soundcard.h
34804 do
34805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34807 echo "$as_me:$LINENO: checking for $ac_header" >&5
34808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34810 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 fi
34812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34814 else
34815 # Is the header compilable?
34816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34818 cat >conftest.$ac_ext <<_ACEOF
34819 /* confdefs.h. */
34820 _ACEOF
34821 cat confdefs.h >>conftest.$ac_ext
34822 cat >>conftest.$ac_ext <<_ACEOF
34823 /* end confdefs.h. */
34824 $ac_includes_default
34825 #include <$ac_header>
34826 _ACEOF
34827 rm -f conftest.$ac_objext
34828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34829 (eval $ac_compile) 2>conftest.er1
34830 ac_status=$?
34831 grep -v '^ *+' conftest.er1 >conftest.err
34832 rm -f conftest.er1
34833 cat conftest.err >&5
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); } &&
34836 { ac_try='test -z "$ac_c_werror_flag"
34837 || test ! -s conftest.err'
34838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34839 (eval $ac_try) 2>&5
34840 ac_status=$?
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); }; } &&
34843 { ac_try='test -s conftest.$ac_objext'
34844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34845 (eval $ac_try) 2>&5
34846 ac_status=$?
34847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34848 (exit $ac_status); }; }; then
34849 ac_header_compiler=yes
34850 else
34851 echo "$as_me: failed program was:" >&5
34852 sed 's/^/| /' conftest.$ac_ext >&5
34853
34854 ac_header_compiler=no
34855 fi
34856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34858 echo "${ECHO_T}$ac_header_compiler" >&6
34859
34860 # Is the header present?
34861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34863 cat >conftest.$ac_ext <<_ACEOF
34864 /* confdefs.h. */
34865 _ACEOF
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
34868 /* end confdefs.h. */
34869 #include <$ac_header>
34870 _ACEOF
34871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34873 ac_status=$?
34874 grep -v '^ *+' conftest.er1 >conftest.err
34875 rm -f conftest.er1
34876 cat conftest.err >&5
34877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34878 (exit $ac_status); } >/dev/null; then
34879 if test -s conftest.err; then
34880 ac_cpp_err=$ac_c_preproc_warn_flag
34881 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34882 else
34883 ac_cpp_err=
34884 fi
34885 else
34886 ac_cpp_err=yes
34887 fi
34888 if test -z "$ac_cpp_err"; then
34889 ac_header_preproc=yes
34890 else
34891 echo "$as_me: failed program was:" >&5
34892 sed 's/^/| /' conftest.$ac_ext >&5
34893
34894 ac_header_preproc=no
34895 fi
34896 rm -f conftest.err conftest.$ac_ext
34897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34898 echo "${ECHO_T}$ac_header_preproc" >&6
34899
34900 # So? What about this header?
34901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34902 yes:no: )
34903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34907 ac_header_preproc=yes
34908 ;;
34909 no:yes:* )
34910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34922 (
34923 cat <<\_ASBOX
34924 ## ----------------------------------------- ##
34925 ## Report this to wx-dev@lists.wxwidgets.org ##
34926 ## ----------------------------------------- ##
34927 _ASBOX
34928 ) |
34929 sed "s/^/$as_me: WARNING: /" >&2
34930 ;;
34931 esac
34932 echo "$as_me:$LINENO: checking for $ac_header" >&5
34933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34935 echo $ECHO_N "(cached) $ECHO_C" >&6
34936 else
34937 eval "$as_ac_Header=\$ac_header_preproc"
34938 fi
34939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34941
34942 fi
34943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34944 cat >>confdefs.h <<_ACEOF
34945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34946 _ACEOF
34947
34948 fi
34949
34950 done
34951
34952
34953 if test "$wxUSE_LIBSDL" != "no"; then
34954
34955 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34956 if test "${with_sdl_prefix+set}" = set; then
34957 withval="$with_sdl_prefix"
34958 sdl_prefix="$withval"
34959 else
34960 sdl_prefix=""
34961 fi;
34962
34963 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34964 if test "${with_sdl_exec_prefix+set}" = set; then
34965 withval="$with_sdl_exec_prefix"
34966 sdl_exec_prefix="$withval"
34967 else
34968 sdl_exec_prefix=""
34969 fi;
34970 # Check whether --enable-sdltest or --disable-sdltest was given.
34971 if test "${enable_sdltest+set}" = set; then
34972 enableval="$enable_sdltest"
34973
34974 else
34975 enable_sdltest=yes
34976 fi;
34977
34978 if test x$sdl_exec_prefix != x ; then
34979 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34980 if test x${SDL_CONFIG+set} != xset ; then
34981 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34982 fi
34983 fi
34984 if test x$sdl_prefix != x ; then
34985 sdl_args="$sdl_args --prefix=$sdl_prefix"
34986 if test x${SDL_CONFIG+set} != xset ; then
34987 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34988 fi
34989 fi
34990
34991
34992 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34993 # Extract the first word of "sdl-config", so it can be a program name with args.
34994 set dummy sdl-config; ac_word=$2
34995 echo "$as_me:$LINENO: checking for $ac_word" >&5
34996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34997 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34998 echo $ECHO_N "(cached) $ECHO_C" >&6
34999 else
35000 case $SDL_CONFIG in
35001 [\\/]* | ?:[\\/]*)
35002 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
35003 ;;
35004 *)
35005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35006 for as_dir in $PATH
35007 do
35008 IFS=$as_save_IFS
35009 test -z "$as_dir" && as_dir=.
35010 for ac_exec_ext in '' $ac_executable_extensions; do
35011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35012 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35014 break 2
35015 fi
35016 done
35017 done
35018
35019 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
35020 ;;
35021 esac
35022 fi
35023 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
35024
35025 if test -n "$SDL_CONFIG"; then
35026 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35027 echo "${ECHO_T}$SDL_CONFIG" >&6
35028 else
35029 echo "$as_me:$LINENO: result: no" >&5
35030 echo "${ECHO_T}no" >&6
35031 fi
35032
35033 min_sdl_version=1.2.0
35034 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35035 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35036 no_sdl=""
35037 if test "$SDL_CONFIG" = "no" ; then
35038 no_sdl=yes
35039 else
35040 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
35041 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
35042
35043 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
35044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35045 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
35046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35047 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
35048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35049 if test "x$enable_sdltest" = "xyes" ; then
35050 ac_save_CFLAGS="$CFLAGS"
35051 ac_save_CXXFLAGS="$CXXFLAGS"
35052 ac_save_LIBS="$LIBS"
35053 CFLAGS="$CFLAGS $SDL_CFLAGS"
35054 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35055 LIBS="$LIBS $SDL_LIBS"
35056 rm -f conf.sdltest
35057 if test "$cross_compiling" = yes; then
35058 echo $ac_n "cross compiling; assumed OK... $ac_c"
35059 else
35060 cat >conftest.$ac_ext <<_ACEOF
35061 /* confdefs.h. */
35062 _ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066
35067 #include <stdio.h>
35068 #include <stdlib.h>
35069 #include <string.h>
35070 #include "SDL.h"
35071
35072 char*
35073 my_strdup (char *str)
35074 {
35075 char *new_str;
35076
35077 if (str)
35078 {
35079 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35080 strcpy (new_str, str);
35081 }
35082 else
35083 new_str = NULL;
35084
35085 return new_str;
35086 }
35087
35088 int main (int argc, char *argv[])
35089 {
35090 int major, minor, micro;
35091 char *tmp_version;
35092
35093 /* This hangs on some systems (?)
35094 system ("touch conf.sdltest");
35095 */
35096 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35097
35098 /* HP/UX 9 (%@#!) writes to sscanf strings */
35099 tmp_version = my_strdup("$min_sdl_version");
35100 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
35101 printf("%s, bad version string\n", "$min_sdl_version");
35102 exit(1);
35103 }
35104
35105 if (($sdl_major_version > major) ||
35106 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35107 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35108 {
35109 return 0;
35110 }
35111 else
35112 {
35113 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35114 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35115 printf("*** best to upgrade to the required version.\n");
35116 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35117 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35118 printf("*** config.cache before re-running configure\n");
35119 return 1;
35120 }
35121 }
35122
35123
35124 _ACEOF
35125 rm -f conftest$ac_exeext
35126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35127 (eval $ac_link) 2>&5
35128 ac_status=$?
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35132 (eval $ac_try) 2>&5
35133 ac_status=$?
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); }; }; then
35136 :
35137 else
35138 echo "$as_me: program exited with status $ac_status" >&5
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35141
35142 ( exit $ac_status )
35143 no_sdl=yes
35144 fi
35145 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35146 fi
35147 CFLAGS="$ac_save_CFLAGS"
35148 CXXFLAGS="$ac_save_CXXFLAGS"
35149 LIBS="$ac_save_LIBS"
35150 fi
35151 fi
35152 if test "x$no_sdl" = x ; then
35153 echo "$as_me:$LINENO: result: yes" >&5
35154 echo "${ECHO_T}yes" >&6
35155
35156 EXTRALIBS_SDL="$SDL_LIBS"
35157 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35158 cat >>confdefs.h <<\_ACEOF
35159 #define wxUSE_LIBSDL 1
35160 _ACEOF
35161
35162
35163 else
35164 echo "$as_me:$LINENO: result: no" >&5
35165 echo "${ECHO_T}no" >&6
35166 if test "$SDL_CONFIG" = "no" ; then
35167 echo "*** The sdl-config script installed by SDL could not be found"
35168 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35169 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35170 echo "*** full path to sdl-config."
35171 else
35172 if test -f conf.sdltest ; then
35173 :
35174 else
35175 echo "*** Could not run SDL test program, checking why..."
35176 CFLAGS="$CFLAGS $SDL_CFLAGS"
35177 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35178 LIBS="$LIBS $SDL_LIBS"
35179 cat >conftest.$ac_ext <<_ACEOF
35180 /* confdefs.h. */
35181 _ACEOF
35182 cat confdefs.h >>conftest.$ac_ext
35183 cat >>conftest.$ac_ext <<_ACEOF
35184 /* end confdefs.h. */
35185
35186 #include <stdio.h>
35187 #include "SDL.h"
35188
35189 int main(int argc, char *argv[])
35190 { return 0; }
35191 #undef main
35192 #define main K_and_R_C_main
35193
35194 int
35195 main ()
35196 {
35197 return 0;
35198 ;
35199 return 0;
35200 }
35201 _ACEOF
35202 rm -f conftest.$ac_objext conftest$ac_exeext
35203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35204 (eval $ac_link) 2>conftest.er1
35205 ac_status=$?
35206 grep -v '^ *+' conftest.er1 >conftest.err
35207 rm -f conftest.er1
35208 cat conftest.err >&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); } &&
35211 { ac_try='test -z "$ac_c_werror_flag"
35212 || test ! -s conftest.err'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; } &&
35218 { ac_try='test -s conftest$ac_exeext'
35219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35220 (eval $ac_try) 2>&5
35221 ac_status=$?
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); }; }; then
35224 echo "*** The test program compiled, but did not run. This usually means"
35225 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35226 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35227 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35228 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35229 echo "*** is required on your system"
35230 echo "***"
35231 echo "*** If you have an old version installed, it is best to remove it, although"
35232 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35233 else
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35236
35237 echo "*** The test program failed to compile or link. See the file config.log for the"
35238 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35239 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35240 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35241 fi
35242 rm -f conftest.err conftest.$ac_objext \
35243 conftest$ac_exeext conftest.$ac_ext
35244 CFLAGS="$ac_save_CFLAGS"
35245 CXXFLAGS="$ac_save_CXXFLAGS"
35246 LIBS="$ac_save_LIBS"
35247 fi
35248 fi
35249 SDL_CFLAGS=""
35250 SDL_LIBS=""
35251 wxUSE_LIBSDL="no"
35252 fi
35253
35254
35255 rm -f conf.sdltest
35256
35257 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35258 WITH_PLUGIN_SDL=1
35259 fi
35260 fi
35261 fi
35262
35263 cat >>confdefs.h <<\_ACEOF
35264 #define wxUSE_SOUND 1
35265 _ACEOF
35266
35267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
35268 fi
35269
35270 if test "$WXGTK20" = 1; then
35271 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35272 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35273
35274
35275 succeeded=no
35276
35277 if test -z "$PKG_CONFIG"; then
35278 # Extract the first word of "pkg-config", so it can be a program name with args.
35279 set dummy pkg-config; ac_word=$2
35280 echo "$as_me:$LINENO: checking for $ac_word" >&5
35281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35283 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 else
35285 case $PKG_CONFIG in
35286 [\\/]* | ?:[\\/]*)
35287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35288 ;;
35289 *)
35290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35291 for as_dir in $PATH
35292 do
35293 IFS=$as_save_IFS
35294 test -z "$as_dir" && as_dir=.
35295 for ac_exec_ext in '' $ac_executable_extensions; do
35296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35297 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35299 break 2
35300 fi
35301 done
35302 done
35303
35304 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
35305 ;;
35306 esac
35307 fi
35308 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35309
35310 if test -n "$PKG_CONFIG"; then
35311 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35312 echo "${ECHO_T}$PKG_CONFIG" >&6
35313 else
35314 echo "$as_me:$LINENO: result: no" >&5
35315 echo "${ECHO_T}no" >&6
35316 fi
35317
35318 fi
35319
35320 if test "$PKG_CONFIG" = "no" ; then
35321 echo "*** The pkg-config script could not be found. Make sure it is"
35322 echo "*** in your path, or set the PKG_CONFIG environment variable"
35323 echo "*** to the full path to pkg-config."
35324 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35325 else
35326 PKG_CONFIG_MIN_VERSION=0.9.0
35327 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35328 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35329 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35330
35331 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35332 echo "$as_me:$LINENO: result: yes" >&5
35333 echo "${ECHO_T}yes" >&6
35334 succeeded=yes
35335
35336 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35337 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35338 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35339 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35340 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35341
35342 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35343 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35344 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35345 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35346 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35347 else
35348 LIBGNOMEPRINTUI_CFLAGS=""
35349 LIBGNOMEPRINTUI_LIBS=""
35350 ## If we have a custom action on failure, don't print errors, but
35351 ## do set a variable so people can do so.
35352 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35353
35354 fi
35355
35356
35357
35358 else
35359 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35360 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35361 fi
35362 fi
35363
35364 if test $succeeded = yes; then
35365
35366 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35367 cat >>confdefs.h <<\_ACEOF
35368 #define wxUSE_LIBGNOMEPRINT 1
35369 _ACEOF
35370
35371
35372 else
35373
35374 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35375 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35376 wxUSE_LIBGNOMEPRINT="no"
35377
35378
35379 fi
35380
35381 fi
35382 fi
35383 fi
35384
35385
35386 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35387 cat >>confdefs.h <<\_ACEOF
35388 #define wxUSE_CMDLINE_PARSER 1
35389 _ACEOF
35390
35391 fi
35392
35393 if test "$wxUSE_STOPWATCH" = "yes"; then
35394 cat >>confdefs.h <<\_ACEOF
35395 #define wxUSE_STOPWATCH 1
35396 _ACEOF
35397
35398 fi
35399
35400 if test "$wxUSE_DATETIME" = "yes"; then
35401 cat >>confdefs.h <<\_ACEOF
35402 #define wxUSE_DATETIME 1
35403 _ACEOF
35404
35405 fi
35406
35407 if test "$wxUSE_FILE" = "yes"; then
35408 cat >>confdefs.h <<\_ACEOF
35409 #define wxUSE_FILE 1
35410 _ACEOF
35411
35412 fi
35413
35414 if test "$wxUSE_FFILE" = "yes"; then
35415 cat >>confdefs.h <<\_ACEOF
35416 #define wxUSE_FFILE 1
35417 _ACEOF
35418
35419 fi
35420
35421 if test "$wxUSE_FILESYSTEM" = "yes"; then
35422 cat >>confdefs.h <<\_ACEOF
35423 #define wxUSE_FILESYSTEM 1
35424 _ACEOF
35425
35426 fi
35427
35428 if test "$wxUSE_FS_ZIP" = "yes"; then
35429 cat >>confdefs.h <<\_ACEOF
35430 #define wxUSE_FS_ZIP 1
35431 _ACEOF
35432
35433 fi
35434
35435 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
35436 cat >>confdefs.h <<\_ACEOF
35437 #define wxUSE_ARCHIVE_STREAMS 1
35438 _ACEOF
35439
35440 fi
35441
35442 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35443 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
35444 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
35445 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
35446 elif test "$wxUSE_ZLIB" = "no"; then
35447 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
35448 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
35449 else
35450 cat >>confdefs.h <<\_ACEOF
35451 #define wxUSE_ZIPSTREAM 1
35452 _ACEOF
35453
35454 fi
35455 fi
35456
35457 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35458 cat >>confdefs.h <<\_ACEOF
35459 #define wxUSE_ON_FATAL_EXCEPTION 1
35460 _ACEOF
35461
35462 fi
35463
35464 if test "$wxUSE_STACKWALKER" = "yes"; then
35465 cat >>confdefs.h <<\_ACEOF
35466 #define wxUSE_STACKWALKER 1
35467 _ACEOF
35468
35469 fi
35470
35471 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35472 cat >>confdefs.h <<\_ACEOF
35473 #define wxUSE_SNGLINST_CHECKER 1
35474 _ACEOF
35475
35476 fi
35477
35478 if test "$wxUSE_BUSYINFO" = "yes"; then
35479 cat >>confdefs.h <<\_ACEOF
35480 #define wxUSE_BUSYINFO 1
35481 _ACEOF
35482
35483 fi
35484
35485 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35486 cat >>confdefs.h <<\_ACEOF
35487 #define wxUSE_STD_IOSTREAM 1
35488 _ACEOF
35489
35490 fi
35491
35492 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35493 cat >>confdefs.h <<\_ACEOF
35494 #define wxUSE_TEXTBUFFER 1
35495 _ACEOF
35496
35497 fi
35498
35499 if test "$wxUSE_TEXTFILE" = "yes"; then
35500 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35501 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35502 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35503 else
35504 cat >>confdefs.h <<\_ACEOF
35505 #define wxUSE_TEXTFILE 1
35506 _ACEOF
35507
35508 fi
35509 fi
35510
35511 if test "$wxUSE_CONFIG" = "yes" ; then
35512 if test "$wxUSE_TEXTFILE" != "yes"; then
35513 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35514 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35515 else
35516 cat >>confdefs.h <<\_ACEOF
35517 #define wxUSE_CONFIG 1
35518 _ACEOF
35519
35520 cat >>confdefs.h <<\_ACEOF
35521 #define wxUSE_CONFIG_NATIVE 1
35522 _ACEOF
35523
35524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35525 fi
35526 fi
35527
35528 if test "$wxUSE_INTL" = "yes" ; then
35529 if test "$wxUSE_FILE" != "yes"; then
35530 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35531 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35532 else
35533 cat >>confdefs.h <<\_ACEOF
35534 #define wxUSE_INTL 1
35535 _ACEOF
35536
35537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35538 GUIDIST="$GUIDIST INTL_DIST"
35539 fi
35540 fi
35541
35542 if test "$wxUSE_LOG" = "yes"; then
35543 cat >>confdefs.h <<\_ACEOF
35544 #define wxUSE_LOG 1
35545 _ACEOF
35546
35547
35548 if test "$wxUSE_LOGGUI" = "yes"; then
35549 cat >>confdefs.h <<\_ACEOF
35550 #define wxUSE_LOGGUI 1
35551 _ACEOF
35552
35553 fi
35554
35555 if test "$wxUSE_LOGWINDOW" = "yes"; then
35556 cat >>confdefs.h <<\_ACEOF
35557 #define wxUSE_LOGWINDOW 1
35558 _ACEOF
35559
35560 fi
35561
35562 if test "$wxUSE_LOGDIALOG" = "yes"; then
35563 cat >>confdefs.h <<\_ACEOF
35564 #define wxUSE_LOG_DIALOG 1
35565 _ACEOF
35566
35567 fi
35568 fi
35569
35570 if test "$wxUSE_LONGLONG" = "yes"; then
35571 cat >>confdefs.h <<\_ACEOF
35572 #define wxUSE_LONGLONG 1
35573 _ACEOF
35574
35575 fi
35576
35577 if test "$wxUSE_GEOMETRY" = "yes"; then
35578 cat >>confdefs.h <<\_ACEOF
35579 #define wxUSE_GEOMETRY 1
35580 _ACEOF
35581
35582 fi
35583
35584 if test "$wxUSE_STREAMS" = "yes" ; then
35585 cat >>confdefs.h <<\_ACEOF
35586 #define wxUSE_STREAMS 1
35587 _ACEOF
35588
35589 fi
35590
35591
35592 if test "$wxUSE_DATETIME" = "yes"; then
35593
35594 for ac_func in strptime
35595 do
35596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35597 echo "$as_me:$LINENO: checking for $ac_func" >&5
35598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35599 if eval "test \"\${$as_ac_var+set}\" = set"; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35610 #define $ac_func innocuous_$ac_func
35611
35612 /* System header to define __stub macros and hopefully few prototypes,
35613 which can conflict with char $ac_func (); below.
35614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35615 <limits.h> exists even on freestanding compilers. */
35616
35617 #ifdef __STDC__
35618 # include <limits.h>
35619 #else
35620 # include <assert.h>
35621 #endif
35622
35623 #undef $ac_func
35624
35625 /* Override any gcc2 internal prototype to avoid an error. */
35626 #ifdef __cplusplus
35627 extern "C"
35628 {
35629 #endif
35630 /* We use char because int might match the return type of a gcc2
35631 builtin and then its argument prototype would still apply. */
35632 char $ac_func ();
35633 /* The GNU C library defines this for functions which it implements
35634 to always fail with ENOSYS. Some functions are actually named
35635 something starting with __ and the normal name is an alias. */
35636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35637 choke me
35638 #else
35639 char (*f) () = $ac_func;
35640 #endif
35641 #ifdef __cplusplus
35642 }
35643 #endif
35644
35645 int
35646 main ()
35647 {
35648 return f != $ac_func;
35649 ;
35650 return 0;
35651 }
35652 _ACEOF
35653 rm -f conftest.$ac_objext conftest$ac_exeext
35654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35655 (eval $ac_link) 2>conftest.er1
35656 ac_status=$?
35657 grep -v '^ *+' conftest.er1 >conftest.err
35658 rm -f conftest.er1
35659 cat conftest.err >&5
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); } &&
35662 { ac_try='test -z "$ac_c_werror_flag"
35663 || test ! -s conftest.err'
35664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 (eval $ac_try) 2>&5
35666 ac_status=$?
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); }; } &&
35669 { ac_try='test -s conftest$ac_exeext'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35672 ac_status=$?
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 eval "$as_ac_var=yes"
35676 else
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35679
35680 eval "$as_ac_var=no"
35681 fi
35682 rm -f conftest.err conftest.$ac_objext \
35683 conftest$ac_exeext conftest.$ac_ext
35684 fi
35685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35687 if test `eval echo '${'$as_ac_var'}'` = yes; then
35688 cat >>confdefs.h <<_ACEOF
35689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35690 _ACEOF
35691
35692 fi
35693 done
35694
35695
35696 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35697 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35698 if test "${wx_cv_var_timezone+set}" = set; then
35699 echo $ECHO_N "(cached) $ECHO_C" >&6
35700 else
35701
35702 cat >conftest.$ac_ext <<_ACEOF
35703 /* confdefs.h. */
35704 _ACEOF
35705 cat confdefs.h >>conftest.$ac_ext
35706 cat >>conftest.$ac_ext <<_ACEOF
35707 /* end confdefs.h. */
35708
35709 #include <time.h>
35710
35711 int
35712 main ()
35713 {
35714
35715 int tz;
35716 tz = timezone;
35717
35718 ;
35719 return 0;
35720 }
35721 _ACEOF
35722 rm -f conftest.$ac_objext
35723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35724 (eval $ac_compile) 2>conftest.er1
35725 ac_status=$?
35726 grep -v '^ *+' conftest.er1 >conftest.err
35727 rm -f conftest.er1
35728 cat conftest.err >&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } &&
35731 { ac_try='test -z "$ac_c_werror_flag"
35732 || test ! -s conftest.err'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35735 ac_status=$?
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35738 { ac_try='test -s conftest.$ac_objext'
35739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 (eval $ac_try) 2>&5
35741 ac_status=$?
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); }; }; then
35744
35745 wx_cv_var_timezone=timezone
35746
35747 else
35748 echo "$as_me: failed program was:" >&5
35749 sed 's/^/| /' conftest.$ac_ext >&5
35750
35751
35752 cat >conftest.$ac_ext <<_ACEOF
35753 /* confdefs.h. */
35754 _ACEOF
35755 cat confdefs.h >>conftest.$ac_ext
35756 cat >>conftest.$ac_ext <<_ACEOF
35757 /* end confdefs.h. */
35758
35759 #include <time.h>
35760
35761 int
35762 main ()
35763 {
35764
35765 int tz;
35766 tz = _timezone;
35767
35768 ;
35769 return 0;
35770 }
35771 _ACEOF
35772 rm -f conftest.$ac_objext
35773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35774 (eval $ac_compile) 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } &&
35781 { ac_try='test -z "$ac_c_werror_flag"
35782 || test ! -s conftest.err'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; } &&
35788 { ac_try='test -s conftest.$ac_objext'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; }; then
35794
35795 wx_cv_var_timezone=_timezone
35796
35797 else
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.$ac_ext >&5
35800
35801
35802 cat >conftest.$ac_ext <<_ACEOF
35803 /* confdefs.h. */
35804 _ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808
35809 #include <time.h>
35810
35811 int
35812 main ()
35813 {
35814
35815 int tz;
35816 tz = __timezone;
35817
35818 ;
35819 return 0;
35820 }
35821 _ACEOF
35822 rm -f conftest.$ac_objext
35823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35824 (eval $ac_compile) 2>conftest.er1
35825 ac_status=$?
35826 grep -v '^ *+' conftest.er1 >conftest.err
35827 rm -f conftest.er1
35828 cat conftest.err >&5
35829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830 (exit $ac_status); } &&
35831 { ac_try='test -z "$ac_c_werror_flag"
35832 || test ! -s conftest.err'
35833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35834 (eval $ac_try) 2>&5
35835 ac_status=$?
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); }; } &&
35838 { ac_try='test -s conftest.$ac_objext'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35841 ac_status=$?
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; }; then
35844
35845 wx_cv_var_timezone=__timezone
35846
35847 else
35848 echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.$ac_ext >&5
35850
35851
35852 if test "$USE_DOS" = 0 ; then
35853 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35854 echo "$as_me: WARNING: no timezone variable" >&2;}
35855 fi
35856
35857
35858 fi
35859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35860
35861
35862 fi
35863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35864
35865
35866 fi
35867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35868
35869
35870 fi
35871 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35872 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35873
35874 if test "x$wx_cv_var_timezone" != x ; then
35875 cat >>confdefs.h <<_ACEOF
35876 #define WX_TIMEZONE $wx_cv_var_timezone
35877 _ACEOF
35878
35879 fi
35880
35881
35882 for ac_func in localtime
35883 do
35884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35885 echo "$as_me:$LINENO: checking for $ac_func" >&5
35886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35887 if eval "test \"\${$as_ac_var+set}\" = set"; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35889 else
35890 cat >conftest.$ac_ext <<_ACEOF
35891 /* confdefs.h. */
35892 _ACEOF
35893 cat confdefs.h >>conftest.$ac_ext
35894 cat >>conftest.$ac_ext <<_ACEOF
35895 /* end confdefs.h. */
35896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35898 #define $ac_func innocuous_$ac_func
35899
35900 /* System header to define __stub macros and hopefully few prototypes,
35901 which can conflict with char $ac_func (); below.
35902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35903 <limits.h> exists even on freestanding compilers. */
35904
35905 #ifdef __STDC__
35906 # include <limits.h>
35907 #else
35908 # include <assert.h>
35909 #endif
35910
35911 #undef $ac_func
35912
35913 /* Override any gcc2 internal prototype to avoid an error. */
35914 #ifdef __cplusplus
35915 extern "C"
35916 {
35917 #endif
35918 /* We use char because int might match the return type of a gcc2
35919 builtin and then its argument prototype would still apply. */
35920 char $ac_func ();
35921 /* The GNU C library defines this for functions which it implements
35922 to always fail with ENOSYS. Some functions are actually named
35923 something starting with __ and the normal name is an alias. */
35924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35925 choke me
35926 #else
35927 char (*f) () = $ac_func;
35928 #endif
35929 #ifdef __cplusplus
35930 }
35931 #endif
35932
35933 int
35934 main ()
35935 {
35936 return f != $ac_func;
35937 ;
35938 return 0;
35939 }
35940 _ACEOF
35941 rm -f conftest.$ac_objext conftest$ac_exeext
35942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35943 (eval $ac_link) 2>conftest.er1
35944 ac_status=$?
35945 grep -v '^ *+' conftest.er1 >conftest.err
35946 rm -f conftest.er1
35947 cat conftest.err >&5
35948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949 (exit $ac_status); } &&
35950 { ac_try='test -z "$ac_c_werror_flag"
35951 || test ! -s conftest.err'
35952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35953 (eval $ac_try) 2>&5
35954 ac_status=$?
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); }; } &&
35957 { ac_try='test -s conftest$ac_exeext'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35960 ac_status=$?
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; }; then
35963 eval "$as_ac_var=yes"
35964 else
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.$ac_ext >&5
35967
35968 eval "$as_ac_var=no"
35969 fi
35970 rm -f conftest.err conftest.$ac_objext \
35971 conftest$ac_exeext conftest.$ac_ext
35972 fi
35973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35975 if test `eval echo '${'$as_ac_var'}'` = yes; then
35976 cat >>confdefs.h <<_ACEOF
35977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35978 _ACEOF
35979
35980 fi
35981 done
35982
35983
35984 if test "$ac_cv_func_localtime" = "yes"; then
35985 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35986 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35987 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35988 echo $ECHO_N "(cached) $ECHO_C" >&6
35989 else
35990
35991 cat >conftest.$ac_ext <<_ACEOF
35992 /* confdefs.h. */
35993 _ACEOF
35994 cat confdefs.h >>conftest.$ac_ext
35995 cat >>conftest.$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
35997
35998 #include <time.h>
35999
36000 int
36001 main ()
36002 {
36003
36004 struct tm tm;
36005 tm.tm_gmtoff++;
36006
36007 ;
36008 return 0;
36009 }
36010 _ACEOF
36011 rm -f conftest.$ac_objext
36012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36013 (eval $ac_compile) 2>conftest.er1
36014 ac_status=$?
36015 grep -v '^ *+' conftest.er1 >conftest.err
36016 rm -f conftest.er1
36017 cat conftest.err >&5
36018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36019 (exit $ac_status); } &&
36020 { ac_try='test -z "$ac_c_werror_flag"
36021 || test ! -s conftest.err'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36024 ac_status=$?
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; } &&
36027 { ac_try='test -s conftest.$ac_objext'
36028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36029 (eval $ac_try) 2>&5
36030 ac_status=$?
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); }; }; then
36033
36034 wx_cv_struct_tm_has_gmtoff=yes
36035
36036 else
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36039
36040 wx_cv_struct_tm_has_gmtoff=no
36041
36042 fi
36043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36044
36045 fi
36046 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36047 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36048 fi
36049
36050 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36051 cat >>confdefs.h <<\_ACEOF
36052 #define WX_GMTOFF_IN_TM 1
36053 _ACEOF
36054
36055 fi
36056
36057
36058
36059 for ac_func in gettimeofday ftime
36060 do
36061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36062 echo "$as_me:$LINENO: checking for $ac_func" >&5
36063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36064 if eval "test \"\${$as_ac_var+set}\" = set"; then
36065 echo $ECHO_N "(cached) $ECHO_C" >&6
36066 else
36067 cat >conftest.$ac_ext <<_ACEOF
36068 /* confdefs.h. */
36069 _ACEOF
36070 cat confdefs.h >>conftest.$ac_ext
36071 cat >>conftest.$ac_ext <<_ACEOF
36072 /* end confdefs.h. */
36073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36075 #define $ac_func innocuous_$ac_func
36076
36077 /* System header to define __stub macros and hopefully few prototypes,
36078 which can conflict with char $ac_func (); below.
36079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36080 <limits.h> exists even on freestanding compilers. */
36081
36082 #ifdef __STDC__
36083 # include <limits.h>
36084 #else
36085 # include <assert.h>
36086 #endif
36087
36088 #undef $ac_func
36089
36090 /* Override any gcc2 internal prototype to avoid an error. */
36091 #ifdef __cplusplus
36092 extern "C"
36093 {
36094 #endif
36095 /* We use char because int might match the return type of a gcc2
36096 builtin and then its argument prototype would still apply. */
36097 char $ac_func ();
36098 /* The GNU C library defines this for functions which it implements
36099 to always fail with ENOSYS. Some functions are actually named
36100 something starting with __ and the normal name is an alias. */
36101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36102 choke me
36103 #else
36104 char (*f) () = $ac_func;
36105 #endif
36106 #ifdef __cplusplus
36107 }
36108 #endif
36109
36110 int
36111 main ()
36112 {
36113 return f != $ac_func;
36114 ;
36115 return 0;
36116 }
36117 _ACEOF
36118 rm -f conftest.$ac_objext conftest$ac_exeext
36119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36120 (eval $ac_link) 2>conftest.er1
36121 ac_status=$?
36122 grep -v '^ *+' conftest.er1 >conftest.err
36123 rm -f conftest.er1
36124 cat conftest.err >&5
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); } &&
36127 { ac_try='test -z "$ac_c_werror_flag"
36128 || test ! -s conftest.err'
36129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36130 (eval $ac_try) 2>&5
36131 ac_status=$?
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); }; } &&
36134 { ac_try='test -s conftest$ac_exeext'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36137 ac_status=$?
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; }; then
36140 eval "$as_ac_var=yes"
36141 else
36142 echo "$as_me: failed program was:" >&5
36143 sed 's/^/| /' conftest.$ac_ext >&5
36144
36145 eval "$as_ac_var=no"
36146 fi
36147 rm -f conftest.err conftest.$ac_objext \
36148 conftest$ac_exeext conftest.$ac_ext
36149 fi
36150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36152 if test `eval echo '${'$as_ac_var'}'` = yes; then
36153 cat >>confdefs.h <<_ACEOF
36154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36155 _ACEOF
36156 break
36157 fi
36158 done
36159
36160
36161 if test "$ac_cv_func_gettimeofday" = "yes"; then
36162 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36163 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36164 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36165 echo $ECHO_N "(cached) $ECHO_C" >&6
36166 else
36167
36168
36169
36170 ac_ext=cc
36171 ac_cpp='$CXXCPP $CPPFLAGS'
36172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36175
36176
36177 cat >conftest.$ac_ext <<_ACEOF
36178 /* confdefs.h. */
36179 _ACEOF
36180 cat confdefs.h >>conftest.$ac_ext
36181 cat >>conftest.$ac_ext <<_ACEOF
36182 /* end confdefs.h. */
36183
36184 #include <sys/time.h>
36185 #include <unistd.h>
36186
36187 int
36188 main ()
36189 {
36190
36191 struct timeval tv;
36192 gettimeofday(&tv, NULL);
36193
36194 ;
36195 return 0;
36196 }
36197 _ACEOF
36198 rm -f conftest.$ac_objext
36199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36200 (eval $ac_compile) 2>conftest.er1
36201 ac_status=$?
36202 grep -v '^ *+' conftest.er1 >conftest.err
36203 rm -f conftest.er1
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } &&
36207 { ac_try='test -z "$ac_cxx_werror_flag"
36208 || test ! -s conftest.err'
36209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36210 (eval $ac_try) 2>&5
36211 ac_status=$?
36212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36213 (exit $ac_status); }; } &&
36214 { ac_try='test -s conftest.$ac_objext'
36215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36216 (eval $ac_try) 2>&5
36217 ac_status=$?
36218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36219 (exit $ac_status); }; }; then
36220 wx_cv_func_gettimeofday_has_2_args=yes
36221 else
36222 echo "$as_me: failed program was:" >&5
36223 sed 's/^/| /' conftest.$ac_ext >&5
36224
36225 cat >conftest.$ac_ext <<_ACEOF
36226 /* confdefs.h. */
36227 _ACEOF
36228 cat confdefs.h >>conftest.$ac_ext
36229 cat >>conftest.$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36231
36232 #include <sys/time.h>
36233 #include <unistd.h>
36234
36235 int
36236 main ()
36237 {
36238
36239 struct timeval tv;
36240 gettimeofday(&tv);
36241
36242 ;
36243 return 0;
36244 }
36245 _ACEOF
36246 rm -f conftest.$ac_objext
36247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36248 (eval $ac_compile) 2>conftest.er1
36249 ac_status=$?
36250 grep -v '^ *+' conftest.er1 >conftest.err
36251 rm -f conftest.er1
36252 cat conftest.err >&5
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); } &&
36255 { ac_try='test -z "$ac_cxx_werror_flag"
36256 || test ! -s conftest.err'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36259 ac_status=$?
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; } &&
36262 { ac_try='test -s conftest.$ac_objext'
36263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36264 (eval $ac_try) 2>&5
36265 ac_status=$?
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); }; }; then
36268 wx_cv_func_gettimeofday_has_2_args=no
36269 else
36270 echo "$as_me: failed program was:" >&5
36271 sed 's/^/| /' conftest.$ac_ext >&5
36272
36273
36274 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36275 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36276 wx_cv_func_gettimeofday_has_2_args=unknown
36277
36278
36279 fi
36280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36281
36282 fi
36283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36284 ac_ext=c
36285 ac_cpp='$CPP $CPPFLAGS'
36286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36289
36290
36291 fi
36292 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36293 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36294
36295 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36296 cat >>confdefs.h <<\_ACEOF
36297 #define WX_GETTIMEOFDAY_NO_TZ 1
36298 _ACEOF
36299
36300 fi
36301 fi
36302
36303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
36304 fi
36305
36306
36307 if test "$wxUSE_SOCKETS" = "yes"; then
36308 if test "$wxUSE_MGL" = "1"; then
36309 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36310 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36311 wxUSE_SOCKETS="no"
36312 fi
36313 fi
36314
36315 if test "$wxUSE_SOCKETS" = "yes"; then
36316 if test "$TOOLKIT" != "MSW"; then
36317 echo "$as_me:$LINENO: checking for socket" >&5
36318 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36319 if test "${ac_cv_func_socket+set}" = set; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36322 cat >conftest.$ac_ext <<_ACEOF
36323 /* confdefs.h. */
36324 _ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36328 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36330 #define socket innocuous_socket
36331
36332 /* System header to define __stub macros and hopefully few prototypes,
36333 which can conflict with char socket (); below.
36334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36335 <limits.h> exists even on freestanding compilers. */
36336
36337 #ifdef __STDC__
36338 # include <limits.h>
36339 #else
36340 # include <assert.h>
36341 #endif
36342
36343 #undef socket
36344
36345 /* Override any gcc2 internal prototype to avoid an error. */
36346 #ifdef __cplusplus
36347 extern "C"
36348 {
36349 #endif
36350 /* We use char because int might match the return type of a gcc2
36351 builtin and then its argument prototype would still apply. */
36352 char socket ();
36353 /* The GNU C library defines this for functions which it implements
36354 to always fail with ENOSYS. Some functions are actually named
36355 something starting with __ and the normal name is an alias. */
36356 #if defined (__stub_socket) || defined (__stub___socket)
36357 choke me
36358 #else
36359 char (*f) () = socket;
36360 #endif
36361 #ifdef __cplusplus
36362 }
36363 #endif
36364
36365 int
36366 main ()
36367 {
36368 return f != socket;
36369 ;
36370 return 0;
36371 }
36372 _ACEOF
36373 rm -f conftest.$ac_objext conftest$ac_exeext
36374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36375 (eval $ac_link) 2>conftest.er1
36376 ac_status=$?
36377 grep -v '^ *+' conftest.er1 >conftest.err
36378 rm -f conftest.er1
36379 cat conftest.err >&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); } &&
36382 { ac_try='test -z "$ac_c_werror_flag"
36383 || test ! -s conftest.err'
36384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36385 (eval $ac_try) 2>&5
36386 ac_status=$?
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); }; } &&
36389 { ac_try='test -s conftest$ac_exeext'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; }; then
36395 ac_cv_func_socket=yes
36396 else
36397 echo "$as_me: failed program was:" >&5
36398 sed 's/^/| /' conftest.$ac_ext >&5
36399
36400 ac_cv_func_socket=no
36401 fi
36402 rm -f conftest.err conftest.$ac_objext \
36403 conftest$ac_exeext conftest.$ac_ext
36404 fi
36405 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36406 echo "${ECHO_T}$ac_cv_func_socket" >&6
36407 if test $ac_cv_func_socket = yes; then
36408 :
36409 else
36410
36411 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36412 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36413 if test "${ac_cv_lib_socket_socket+set}" = set; then
36414 echo $ECHO_N "(cached) $ECHO_C" >&6
36415 else
36416 ac_check_lib_save_LIBS=$LIBS
36417 LIBS="-lsocket $LIBS"
36418 cat >conftest.$ac_ext <<_ACEOF
36419 /* confdefs.h. */
36420 _ACEOF
36421 cat confdefs.h >>conftest.$ac_ext
36422 cat >>conftest.$ac_ext <<_ACEOF
36423 /* end confdefs.h. */
36424
36425 /* Override any gcc2 internal prototype to avoid an error. */
36426 #ifdef __cplusplus
36427 extern "C"
36428 #endif
36429 /* We use char because int might match the return type of a gcc2
36430 builtin and then its argument prototype would still apply. */
36431 char socket ();
36432 int
36433 main ()
36434 {
36435 socket ();
36436 ;
36437 return 0;
36438 }
36439 _ACEOF
36440 rm -f conftest.$ac_objext conftest$ac_exeext
36441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36442 (eval $ac_link) 2>conftest.er1
36443 ac_status=$?
36444 grep -v '^ *+' conftest.er1 >conftest.err
36445 rm -f conftest.er1
36446 cat conftest.err >&5
36447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36448 (exit $ac_status); } &&
36449 { ac_try='test -z "$ac_c_werror_flag"
36450 || test ! -s conftest.err'
36451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36452 (eval $ac_try) 2>&5
36453 ac_status=$?
36454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36455 (exit $ac_status); }; } &&
36456 { ac_try='test -s conftest$ac_exeext'
36457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 (eval $ac_try) 2>&5
36459 ac_status=$?
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; }; then
36462 ac_cv_lib_socket_socket=yes
36463 else
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.$ac_ext >&5
36466
36467 ac_cv_lib_socket_socket=no
36468 fi
36469 rm -f conftest.err conftest.$ac_objext \
36470 conftest$ac_exeext conftest.$ac_ext
36471 LIBS=$ac_check_lib_save_LIBS
36472 fi
36473 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36474 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36475 if test $ac_cv_lib_socket_socket = yes; then
36476 if test "$INET_LINK" != " -lsocket"; then
36477 INET_LINK="$INET_LINK -lsocket"
36478 fi
36479 else
36480
36481 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36482 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36483 wxUSE_SOCKETS=no
36484
36485
36486 fi
36487
36488
36489
36490 fi
36491
36492 fi
36493 fi
36494
36495 if test "$wxUSE_SOCKETS" = "yes" ; then
36496 if test "$TOOLKIT" != "MSW"; then
36497 ac_ext=cc
36498 ac_cpp='$CXXCPP $CPPFLAGS'
36499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36502
36503 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36504 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36505 if test "${wx_cv_type_getsockname3+set}" = set; then
36506 echo $ECHO_N "(cached) $ECHO_C" >&6
36507 else
36508
36509 cat >conftest.$ac_ext <<_ACEOF
36510 /* confdefs.h. */
36511 _ACEOF
36512 cat confdefs.h >>conftest.$ac_ext
36513 cat >>conftest.$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36515
36516 #include <sys/types.h>
36517 #include <sys/socket.h>
36518
36519 int
36520 main ()
36521 {
36522
36523 socklen_t len;
36524 getsockname(0, 0, &len);
36525
36526 ;
36527 return 0;
36528 }
36529 _ACEOF
36530 rm -f conftest.$ac_objext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36532 (eval $ac_compile) 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try='test -z "$ac_cxx_werror_flag"
36540 || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36543 ac_status=$?
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try='test -s conftest.$ac_objext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 wx_cv_type_getsockname3=socklen_t
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36556
36557
36558 CFLAGS_OLD="$CFLAGS"
36559 if test "$GCC" = yes ; then
36560 CFLAGS="$CFLAGS -Werror"
36561 fi
36562
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569
36570 #include <sys/types.h>
36571 #include <sys/socket.h>
36572
36573 int
36574 main ()
36575 {
36576
36577 size_t len;
36578 getsockname(0, 0, &len);
36579
36580 ;
36581 return 0;
36582 }
36583 _ACEOF
36584 rm -f conftest.$ac_objext
36585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36586 (eval $ac_compile) 2>conftest.er1
36587 ac_status=$?
36588 grep -v '^ *+' conftest.er1 >conftest.err
36589 rm -f conftest.er1
36590 cat conftest.err >&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } &&
36593 { ac_try='test -z "$ac_cxx_werror_flag"
36594 || test ! -s conftest.err'
36595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36596 (eval $ac_try) 2>&5
36597 ac_status=$?
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); }; } &&
36600 { ac_try='test -s conftest.$ac_objext'
36601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36602 (eval $ac_try) 2>&5
36603 ac_status=$?
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); }; }; then
36606 wx_cv_type_getsockname3=size_t
36607 else
36608 echo "$as_me: failed program was:" >&5
36609 sed 's/^/| /' conftest.$ac_ext >&5
36610
36611 cat >conftest.$ac_ext <<_ACEOF
36612 /* confdefs.h. */
36613 _ACEOF
36614 cat confdefs.h >>conftest.$ac_ext
36615 cat >>conftest.$ac_ext <<_ACEOF
36616 /* end confdefs.h. */
36617
36618 #include <sys/types.h>
36619 #include <sys/socket.h>
36620
36621 int
36622 main ()
36623 {
36624
36625 int len;
36626 getsockname(0, 0, &len);
36627
36628 ;
36629 return 0;
36630 }
36631 _ACEOF
36632 rm -f conftest.$ac_objext
36633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36634 (eval $ac_compile) 2>conftest.er1
36635 ac_status=$?
36636 grep -v '^ *+' conftest.er1 >conftest.err
36637 rm -f conftest.er1
36638 cat conftest.err >&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); } &&
36641 { ac_try='test -z "$ac_cxx_werror_flag"
36642 || test ! -s conftest.err'
36643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36644 (eval $ac_try) 2>&5
36645 ac_status=$?
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); }; } &&
36648 { ac_try='test -s conftest.$ac_objext'
36649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36650 (eval $ac_try) 2>&5
36651 ac_status=$?
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); }; }; then
36654 wx_cv_type_getsockname3=int
36655 else
36656 echo "$as_me: failed program was:" >&5
36657 sed 's/^/| /' conftest.$ac_ext >&5
36658
36659 wx_cv_type_getsockname3=unknown
36660
36661 fi
36662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36663
36664 fi
36665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36666
36667 CFLAGS="$CFLAGS_OLD"
36668
36669
36670 fi
36671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36672
36673 fi
36674 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36675 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36676
36677 if test "$wx_cv_type_getsockname3" = "unknown"; then
36678 wxUSE_SOCKETS=no
36679 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36680 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36681 else
36682 cat >>confdefs.h <<_ACEOF
36683 #define SOCKLEN_T $wx_cv_type_getsockname3
36684 _ACEOF
36685
36686 fi
36687 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36688 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36689 if test "${wx_cv_type_getsockopt5+set}" = set; then
36690 echo $ECHO_N "(cached) $ECHO_C" >&6
36691 else
36692
36693 cat >conftest.$ac_ext <<_ACEOF
36694 /* confdefs.h. */
36695 _ACEOF
36696 cat confdefs.h >>conftest.$ac_ext
36697 cat >>conftest.$ac_ext <<_ACEOF
36698 /* end confdefs.h. */
36699
36700 #include <sys/types.h>
36701 #include <sys/socket.h>
36702
36703 int
36704 main ()
36705 {
36706
36707 socklen_t len;
36708 getsockopt(0, 0, 0, 0, &len);
36709
36710 ;
36711 return 0;
36712 }
36713 _ACEOF
36714 rm -f conftest.$ac_objext
36715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36716 (eval $ac_compile) 2>conftest.er1
36717 ac_status=$?
36718 grep -v '^ *+' conftest.er1 >conftest.err
36719 rm -f conftest.er1
36720 cat conftest.err >&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); } &&
36723 { ac_try='test -z "$ac_cxx_werror_flag"
36724 || test ! -s conftest.err'
36725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726 (eval $ac_try) 2>&5
36727 ac_status=$?
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); }; } &&
36730 { ac_try='test -s conftest.$ac_objext'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36733 ac_status=$?
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; }; then
36736 wx_cv_type_getsockopt5=socklen_t
36737 else
36738 echo "$as_me: failed program was:" >&5
36739 sed 's/^/| /' conftest.$ac_ext >&5
36740
36741
36742 CFLAGS_OLD="$CFLAGS"
36743 if test "$GCC" = yes ; then
36744 CFLAGS="$CFLAGS -Werror"
36745 fi
36746
36747 cat >conftest.$ac_ext <<_ACEOF
36748 /* confdefs.h. */
36749 _ACEOF
36750 cat confdefs.h >>conftest.$ac_ext
36751 cat >>conftest.$ac_ext <<_ACEOF
36752 /* end confdefs.h. */
36753
36754 #include <sys/types.h>
36755 #include <sys/socket.h>
36756
36757 int
36758 main ()
36759 {
36760
36761 size_t len;
36762 getsockopt(0, 0, 0, 0, &len);
36763
36764 ;
36765 return 0;
36766 }
36767 _ACEOF
36768 rm -f conftest.$ac_objext
36769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36770 (eval $ac_compile) 2>conftest.er1
36771 ac_status=$?
36772 grep -v '^ *+' conftest.er1 >conftest.err
36773 rm -f conftest.er1
36774 cat conftest.err >&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); } &&
36777 { ac_try='test -z "$ac_cxx_werror_flag"
36778 || test ! -s conftest.err'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36781 ac_status=$?
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; } &&
36784 { ac_try='test -s conftest.$ac_objext'
36785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786 (eval $ac_try) 2>&5
36787 ac_status=$?
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); }; }; then
36790 wx_cv_type_getsockopt5=size_t
36791 else
36792 echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.$ac_ext >&5
36794
36795 cat >conftest.$ac_ext <<_ACEOF
36796 /* confdefs.h. */
36797 _ACEOF
36798 cat confdefs.h >>conftest.$ac_ext
36799 cat >>conftest.$ac_ext <<_ACEOF
36800 /* end confdefs.h. */
36801
36802 #include <sys/types.h>
36803 #include <sys/socket.h>
36804
36805 int
36806 main ()
36807 {
36808
36809 int len;
36810 getsockopt(0, 0, 0, 0, &len);
36811
36812 ;
36813 return 0;
36814 }
36815 _ACEOF
36816 rm -f conftest.$ac_objext
36817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36818 (eval $ac_compile) 2>conftest.er1
36819 ac_status=$?
36820 grep -v '^ *+' conftest.er1 >conftest.err
36821 rm -f conftest.er1
36822 cat conftest.err >&5
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); } &&
36825 { ac_try='test -z "$ac_cxx_werror_flag"
36826 || test ! -s conftest.err'
36827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36828 (eval $ac_try) 2>&5
36829 ac_status=$?
36830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831 (exit $ac_status); }; } &&
36832 { ac_try='test -s conftest.$ac_objext'
36833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36834 (eval $ac_try) 2>&5
36835 ac_status=$?
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); }; }; then
36838 wx_cv_type_getsockopt5=int
36839 else
36840 echo "$as_me: failed program was:" >&5
36841 sed 's/^/| /' conftest.$ac_ext >&5
36842
36843 wx_cv_type_getsockopt5=unknown
36844
36845 fi
36846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36847
36848 fi
36849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36850
36851 CFLAGS="$CFLAGS_OLD"
36852
36853
36854 fi
36855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36856
36857 fi
36858 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36859 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36860
36861 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36862 wxUSE_SOCKETS=no
36863 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36864 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36865 else
36866 cat >>confdefs.h <<_ACEOF
36867 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36868 _ACEOF
36869
36870 fi
36871 ac_ext=c
36872 ac_cpp='$CPP $CPPFLAGS'
36873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36876
36877 fi
36878 fi
36879
36880 if test "$wxUSE_SOCKETS" = "yes" ; then
36881 cat >>confdefs.h <<\_ACEOF
36882 #define wxUSE_SOCKETS 1
36883 _ACEOF
36884
36885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36886 fi
36887
36888 if test "$wxUSE_PROTOCOL" = "yes"; then
36889 if test "$wxUSE_SOCKETS" != "yes"; then
36890 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36891 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36892 wxUSE_PROTOCOL=no
36893 fi
36894 fi
36895
36896 if test "$wxUSE_PROTOCOL" = "yes"; then
36897 cat >>confdefs.h <<\_ACEOF
36898 #define wxUSE_PROTOCOL 1
36899 _ACEOF
36900
36901
36902 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36903 cat >>confdefs.h <<\_ACEOF
36904 #define wxUSE_PROTOCOL_HTTP 1
36905 _ACEOF
36906
36907 fi
36908 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36909 cat >>confdefs.h <<\_ACEOF
36910 #define wxUSE_PROTOCOL_FTP 1
36911 _ACEOF
36912
36913 fi
36914 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36915 cat >>confdefs.h <<\_ACEOF
36916 #define wxUSE_PROTOCOL_FILE 1
36917 _ACEOF
36918
36919 fi
36920 else
36921 if test "$wxUSE_FS_INET" = "yes"; then
36922 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36923 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36924 wxUSE_FS_INET="no"
36925 fi
36926 fi
36927
36928 if test "$wxUSE_URL" = "yes"; then
36929 if test "$wxUSE_PROTOCOL" != "yes"; then
36930 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36931 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36932 wxUSE_URL=no
36933 fi
36934 if test "$wxUSE_URL" = "yes"; then
36935 cat >>confdefs.h <<\_ACEOF
36936 #define wxUSE_URL 1
36937 _ACEOF
36938
36939 fi
36940 fi
36941
36942 if test "$wxUSE_FS_INET" = "yes"; then
36943 cat >>confdefs.h <<\_ACEOF
36944 #define wxUSE_FS_INET 1
36945 _ACEOF
36946
36947 fi
36948
36949
36950 if test "$wxUSE_GUI" = "yes"; then
36951 if test "$wxUSE_JOYSTICK" = "yes"; then
36952
36953 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
36954
36955 for ac_header in linux/joystick.h
36956 do
36957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36959 echo "$as_me:$LINENO: checking for $ac_header" >&5
36960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36962 echo $ECHO_N "(cached) $ECHO_C" >&6
36963 fi
36964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36966 else
36967 # Is the header compilable?
36968 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36970 cat >conftest.$ac_ext <<_ACEOF
36971 /* confdefs.h. */
36972 _ACEOF
36973 cat confdefs.h >>conftest.$ac_ext
36974 cat >>conftest.$ac_ext <<_ACEOF
36975 /* end confdefs.h. */
36976 $ac_includes_default
36977 #include <$ac_header>
36978 _ACEOF
36979 rm -f conftest.$ac_objext
36980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36981 (eval $ac_compile) 2>conftest.er1
36982 ac_status=$?
36983 grep -v '^ *+' conftest.er1 >conftest.err
36984 rm -f conftest.er1
36985 cat conftest.err >&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } &&
36988 { ac_try='test -z "$ac_c_werror_flag"
36989 || test ! -s conftest.err'
36990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36991 (eval $ac_try) 2>&5
36992 ac_status=$?
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); }; } &&
36995 { ac_try='test -s conftest.$ac_objext'
36996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997 (eval $ac_try) 2>&5
36998 ac_status=$?
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); }; }; then
37001 ac_header_compiler=yes
37002 else
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.$ac_ext >&5
37005
37006 ac_header_compiler=no
37007 fi
37008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37010 echo "${ECHO_T}$ac_header_compiler" >&6
37011
37012 # Is the header present?
37013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37015 cat >conftest.$ac_ext <<_ACEOF
37016 /* confdefs.h. */
37017 _ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021 #include <$ac_header>
37022 _ACEOF
37023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37025 ac_status=$?
37026 grep -v '^ *+' conftest.er1 >conftest.err
37027 rm -f conftest.er1
37028 cat conftest.err >&5
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); } >/dev/null; then
37031 if test -s conftest.err; then
37032 ac_cpp_err=$ac_c_preproc_warn_flag
37033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37034 else
37035 ac_cpp_err=
37036 fi
37037 else
37038 ac_cpp_err=yes
37039 fi
37040 if test -z "$ac_cpp_err"; then
37041 ac_header_preproc=yes
37042 else
37043 echo "$as_me: failed program was:" >&5
37044 sed 's/^/| /' conftest.$ac_ext >&5
37045
37046 ac_header_preproc=no
37047 fi
37048 rm -f conftest.err conftest.$ac_ext
37049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37050 echo "${ECHO_T}$ac_header_preproc" >&6
37051
37052 # So? What about this header?
37053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37054 yes:no: )
37055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37059 ac_header_preproc=yes
37060 ;;
37061 no:yes:* )
37062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37074 (
37075 cat <<\_ASBOX
37076 ## ----------------------------------------- ##
37077 ## Report this to wx-dev@lists.wxwidgets.org ##
37078 ## ----------------------------------------- ##
37079 _ASBOX
37080 ) |
37081 sed "s/^/$as_me: WARNING: /" >&2
37082 ;;
37083 esac
37084 echo "$as_me:$LINENO: checking for $ac_header" >&5
37085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37087 echo $ECHO_N "(cached) $ECHO_C" >&6
37088 else
37089 eval "$as_ac_Header=\$ac_header_preproc"
37090 fi
37091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37093
37094 fi
37095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37096 cat >>confdefs.h <<_ACEOF
37097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37098 _ACEOF
37099
37100 fi
37101
37102 done
37103
37104 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37105 wxUSE_JOYSTICK=no
37106 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37107 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37108 fi
37109 else
37110 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
37111 wxUSE_JOYSTICK=no
37112 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37113 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37114 fi
37115 fi
37116
37117
37118 if test "$wxUSE_JOYSTICK" = "yes"; then
37119 cat >>confdefs.h <<\_ACEOF
37120 #define wxUSE_JOYSTICK 1
37121 _ACEOF
37122
37123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
37124 fi
37125 fi
37126 fi
37127
37128
37129
37130 if test "$wxUSE_FONTMAP" = "yes" ; then
37131 cat >>confdefs.h <<\_ACEOF
37132 #define wxUSE_FONTMAP 1
37133 _ACEOF
37134
37135 fi
37136
37137 if test "$wxUSE_UNICODE" = "yes" ; then
37138 cat >>confdefs.h <<\_ACEOF
37139 #define wxUSE_UNICODE 1
37140 _ACEOF
37141
37142
37143 if test "$USE_WIN32" != 1; then
37144 wxUSE_UNICODE_MSLU=no
37145 fi
37146
37147 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37148 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37149 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37150 if test "${ac_cv_lib_unicows_main+set}" = set; then
37151 echo $ECHO_N "(cached) $ECHO_C" >&6
37152 else
37153 ac_check_lib_save_LIBS=$LIBS
37154 LIBS="-lunicows $LIBS"
37155 cat >conftest.$ac_ext <<_ACEOF
37156 /* confdefs.h. */
37157 _ACEOF
37158 cat confdefs.h >>conftest.$ac_ext
37159 cat >>conftest.$ac_ext <<_ACEOF
37160 /* end confdefs.h. */
37161
37162
37163 int
37164 main ()
37165 {
37166 main ();
37167 ;
37168 return 0;
37169 }
37170 _ACEOF
37171 rm -f conftest.$ac_objext conftest$ac_exeext
37172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37173 (eval $ac_link) 2>conftest.er1
37174 ac_status=$?
37175 grep -v '^ *+' conftest.er1 >conftest.err
37176 rm -f conftest.er1
37177 cat conftest.err >&5
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); } &&
37180 { ac_try='test -z "$ac_c_werror_flag"
37181 || test ! -s conftest.err'
37182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37183 (eval $ac_try) 2>&5
37184 ac_status=$?
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); }; } &&
37187 { ac_try='test -s conftest$ac_exeext'
37188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37189 (eval $ac_try) 2>&5
37190 ac_status=$?
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); }; }; then
37193 ac_cv_lib_unicows_main=yes
37194 else
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.$ac_ext >&5
37197
37198 ac_cv_lib_unicows_main=no
37199 fi
37200 rm -f conftest.err conftest.$ac_objext \
37201 conftest$ac_exeext conftest.$ac_ext
37202 LIBS=$ac_check_lib_save_LIBS
37203 fi
37204 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37205 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37206 if test $ac_cv_lib_unicows_main = yes; then
37207
37208 cat >>confdefs.h <<\_ACEOF
37209 #define wxUSE_UNICODE_MSLU 1
37210 _ACEOF
37211
37212
37213 else
37214
37215 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37216 Applications will only run on Windows NT/2000/XP!" >&5
37217 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37218 Applications will only run on Windows NT/2000/XP!" >&2;}
37219 wxUSE_UNICODE_MSLU=no
37220
37221 fi
37222
37223 fi
37224 fi
37225
37226 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37227 cat >>confdefs.h <<\_ACEOF
37228 #define wxUSE_EXPERIMENTAL_PRINTF 1
37229 _ACEOF
37230
37231 fi
37232
37233
37234 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37235 cat >>confdefs.h <<\_ACEOF
37236 #define wxUSE_POSTSCRIPT 1
37237 _ACEOF
37238
37239 fi
37240
37241 cat >>confdefs.h <<\_ACEOF
37242 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37243 _ACEOF
37244
37245
37246 cat >>confdefs.h <<\_ACEOF
37247 #define wxUSE_NORMALIZED_PS_FONTS 1
37248 _ACEOF
37249
37250
37251
37252 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37253 cat >>confdefs.h <<\_ACEOF
37254 #define wxUSE_CONSTRAINTS 1
37255 _ACEOF
37256
37257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
37258 fi
37259
37260 if test "$wxUSE_MDI" = "yes"; then
37261 cat >>confdefs.h <<\_ACEOF
37262 #define wxUSE_MDI 1
37263 _ACEOF
37264
37265
37266 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37267 cat >>confdefs.h <<\_ACEOF
37268 #define wxUSE_MDI_ARCHITECTURE 1
37269 _ACEOF
37270
37271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
37272 fi
37273 fi
37274
37275 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37276 cat >>confdefs.h <<\_ACEOF
37277 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37278 _ACEOF
37279
37280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
37281 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
37283 fi
37284 fi
37285
37286 if test "$wxUSE_HELP" = "yes"; then
37287 cat >>confdefs.h <<\_ACEOF
37288 #define wxUSE_HELP 1
37289 _ACEOF
37290
37291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
37292
37293 if test "$wxUSE_MSW" = 1; then
37294 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37295 cat >>confdefs.h <<\_ACEOF
37296 #define wxUSE_MS_HTML_HELP 1
37297 _ACEOF
37298
37299 fi
37300 fi
37301
37302 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37303 if test "$wxUSE_HTML" = "yes"; then
37304 cat >>confdefs.h <<\_ACEOF
37305 #define wxUSE_WXHTML_HELP 1
37306 _ACEOF
37307
37308 else
37309 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37310 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37311 wxUSE_WXHTML_HELP=no
37312 fi
37313 fi
37314 fi
37315
37316 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37317 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37318 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37319 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37320 else
37321 cat >>confdefs.h <<\_ACEOF
37322 #define wxUSE_PRINTING_ARCHITECTURE 1
37323 _ACEOF
37324
37325 fi
37326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
37327 fi
37328
37329 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37330 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37331 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37332 { (exit 1); exit 1; }; }
37333 fi
37334
37335
37336 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
37337 -o "$wxUSE_CLIPBOARD" = "yes" \
37338 -o "$wxUSE_OLE" = "yes" \
37339 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
37340
37341 for ac_header in ole2.h
37342 do
37343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37345 echo "$as_me:$LINENO: checking for $ac_header" >&5
37346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37348 echo $ECHO_N "(cached) $ECHO_C" >&6
37349 fi
37350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37352 else
37353 # Is the header compilable?
37354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37356 cat >conftest.$ac_ext <<_ACEOF
37357 /* confdefs.h. */
37358 _ACEOF
37359 cat confdefs.h >>conftest.$ac_ext
37360 cat >>conftest.$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37362 $ac_includes_default
37363 #include <$ac_header>
37364 _ACEOF
37365 rm -f conftest.$ac_objext
37366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37367 (eval $ac_compile) 2>conftest.er1
37368 ac_status=$?
37369 grep -v '^ *+' conftest.er1 >conftest.err
37370 rm -f conftest.er1
37371 cat conftest.err >&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); } &&
37374 { ac_try='test -z "$ac_c_werror_flag"
37375 || test ! -s conftest.err'
37376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37377 (eval $ac_try) 2>&5
37378 ac_status=$?
37379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37380 (exit $ac_status); }; } &&
37381 { ac_try='test -s conftest.$ac_objext'
37382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37383 (eval $ac_try) 2>&5
37384 ac_status=$?
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); }; }; then
37387 ac_header_compiler=yes
37388 else
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37391
37392 ac_header_compiler=no
37393 fi
37394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37396 echo "${ECHO_T}$ac_header_compiler" >&6
37397
37398 # Is the header present?
37399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37401 cat >conftest.$ac_ext <<_ACEOF
37402 /* confdefs.h. */
37403 _ACEOF
37404 cat confdefs.h >>conftest.$ac_ext
37405 cat >>conftest.$ac_ext <<_ACEOF
37406 /* end confdefs.h. */
37407 #include <$ac_header>
37408 _ACEOF
37409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37411 ac_status=$?
37412 grep -v '^ *+' conftest.er1 >conftest.err
37413 rm -f conftest.er1
37414 cat conftest.err >&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); } >/dev/null; then
37417 if test -s conftest.err; then
37418 ac_cpp_err=$ac_c_preproc_warn_flag
37419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37420 else
37421 ac_cpp_err=
37422 fi
37423 else
37424 ac_cpp_err=yes
37425 fi
37426 if test -z "$ac_cpp_err"; then
37427 ac_header_preproc=yes
37428 else
37429 echo "$as_me: failed program was:" >&5
37430 sed 's/^/| /' conftest.$ac_ext >&5
37431
37432 ac_header_preproc=no
37433 fi
37434 rm -f conftest.err conftest.$ac_ext
37435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37436 echo "${ECHO_T}$ac_header_preproc" >&6
37437
37438 # So? What about this header?
37439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37440 yes:no: )
37441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37445 ac_header_preproc=yes
37446 ;;
37447 no:yes:* )
37448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37460 (
37461 cat <<\_ASBOX
37462 ## ----------------------------------------- ##
37463 ## Report this to wx-dev@lists.wxwidgets.org ##
37464 ## ----------------------------------------- ##
37465 _ASBOX
37466 ) |
37467 sed "s/^/$as_me: WARNING: /" >&2
37468 ;;
37469 esac
37470 echo "$as_me:$LINENO: checking for $ac_header" >&5
37471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37473 echo $ECHO_N "(cached) $ECHO_C" >&6
37474 else
37475 eval "$as_ac_Header=\$ac_header_preproc"
37476 fi
37477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37479
37480 fi
37481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37482 cat >>confdefs.h <<_ACEOF
37483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37484 _ACEOF
37485
37486 fi
37487
37488 done
37489
37490
37491 if test "$ac_cv_header_ole2_h" = "yes" ; then
37492 if test "$GCC" = yes ; then
37493
37494
37495 ac_ext=cc
37496 ac_cpp='$CXXCPP $CPPFLAGS'
37497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37500
37501
37502 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37503 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37504 cat >conftest.$ac_ext <<_ACEOF
37505 /* confdefs.h. */
37506 _ACEOF
37507 cat confdefs.h >>conftest.$ac_ext
37508 cat >>conftest.$ac_ext <<_ACEOF
37509 /* end confdefs.h. */
37510 #include <windows.h>
37511 #include <ole2.h>
37512 int
37513 main ()
37514 {
37515
37516 ;
37517 return 0;
37518 }
37519 _ACEOF
37520 rm -f conftest.$ac_objext
37521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37522 (eval $ac_compile) 2>conftest.er1
37523 ac_status=$?
37524 grep -v '^ *+' conftest.er1 >conftest.err
37525 rm -f conftest.er1
37526 cat conftest.err >&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); } &&
37529 { ac_try='test -z "$ac_cxx_werror_flag"
37530 || test ! -s conftest.err'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37533 ac_status=$?
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; } &&
37536 { ac_try='test -s conftest.$ac_objext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37539 ac_status=$?
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 echo "$as_me:$LINENO: result: no" >&5
37543 echo "${ECHO_T}no" >&6
37544 else
37545 echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.$ac_ext >&5
37547
37548 echo "$as_me:$LINENO: result: yes" >&5
37549 echo "${ECHO_T}yes" >&6
37550 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37551 fi
37552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37553 ac_ext=c
37554 ac_cpp='$CPP $CPPFLAGS'
37555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37558
37559 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37560 if test "$wxUSE_OLE" = "yes" ; then
37561 cat >>confdefs.h <<\_ACEOF
37562 #define wxUSE_OLE 1
37563 _ACEOF
37564
37565 fi
37566 fi
37567
37568 if test "$wxUSE_DATAOBJ" = "yes" ; then
37569 cat >>confdefs.h <<\_ACEOF
37570 #define wxUSE_DATAOBJ 1
37571 _ACEOF
37572
37573 fi
37574 else
37575 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37576 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37577
37578 wxUSE_CLIPBOARD=no
37579 wxUSE_DRAG_AND_DROP=no
37580 wxUSE_DATAOBJ=no
37581 wxUSE_OLE=no
37582 fi
37583
37584 if test "$wxUSE_METAFILE" = "yes"; then
37585 cat >>confdefs.h <<\_ACEOF
37586 #define wxUSE_METAFILE 1
37587 _ACEOF
37588
37589
37590 cat >>confdefs.h <<\_ACEOF
37591 #define wxUSE_ENH_METAFILE 1
37592 _ACEOF
37593
37594 fi
37595 fi
37596
37597 if test "$wxUSE_IPC" = "yes"; then
37598 if test "$wxUSE_SOCKETS" != "yes"; then
37599 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37600 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37601 fi
37602
37603 cat >>confdefs.h <<\_ACEOF
37604 #define wxUSE_IPC 1
37605 _ACEOF
37606
37607 fi
37608
37609 if test "$wxUSE_CLIPBOARD" = "yes"; then
37610 if test "$wxUSE_MGL" = 1; then
37611 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37612 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37613 wxUSE_CLIPBOARD=no
37614 fi
37615
37616 if test "$wxUSE_CLIPBOARD" = "yes"; then
37617 cat >>confdefs.h <<\_ACEOF
37618 #define wxUSE_CLIPBOARD 1
37619 _ACEOF
37620
37621
37622 cat >>confdefs.h <<\_ACEOF
37623 #define wxUSE_DATAOBJ 1
37624 _ACEOF
37625
37626 fi
37627 fi
37628
37629 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37630 if test "$wxUSE_GTK" = 1; then
37631 if test "$WXGTK12" != 1; then
37632 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37633 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37634 wxUSE_DRAG_AND_DROP=no
37635 fi
37636 fi
37637
37638 if test "$wxUSE_MOTIF" = 1; then
37639 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37640 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37641 wxUSE_DRAG_AND_DROP=no
37642 fi
37643
37644 if test "$wxUSE_X11" = 1; then
37645 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37646 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37647 wxUSE_DRAG_AND_DROP=no
37648 fi
37649
37650 if test "$wxUSE_MGL" = 1; then
37651 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37652 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37653 wxUSE_DRAG_AND_DROP=no
37654 fi
37655
37656 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37657 cat >>confdefs.h <<\_ACEOF
37658 #define wxUSE_DRAG_AND_DROP 1
37659 _ACEOF
37660
37661 fi
37662
37663 fi
37664
37665 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37667 fi
37668
37669 if test "$wxUSE_SPLINES" = "yes" ; then
37670 cat >>confdefs.h <<\_ACEOF
37671 #define wxUSE_SPLINES 1
37672 _ACEOF
37673
37674 fi
37675
37676
37677 USES_CONTROLS=0
37678 if test "$wxUSE_CONTROLS" = "yes"; then
37679 USES_CONTROLS=1
37680 fi
37681
37682 if test "$wxUSE_ACCEL" = "yes"; then
37683 cat >>confdefs.h <<\_ACEOF
37684 #define wxUSE_ACCEL 1
37685 _ACEOF
37686
37687 USES_CONTROLS=1
37688 fi
37689
37690 if test "$wxUSE_BUTTON" = "yes"; then
37691 cat >>confdefs.h <<\_ACEOF
37692 #define wxUSE_BUTTON 1
37693 _ACEOF
37694
37695 USES_CONTROLS=1
37696 fi
37697
37698 if test "$wxUSE_BMPBUTTON" = "yes"; then
37699 cat >>confdefs.h <<\_ACEOF
37700 #define wxUSE_BMPBUTTON 1
37701 _ACEOF
37702
37703 USES_CONTROLS=1
37704 fi
37705
37706 if test "$wxUSE_CALCTRL" = "yes"; then
37707 cat >>confdefs.h <<\_ACEOF
37708 #define wxUSE_CALENDARCTRL 1
37709 _ACEOF
37710
37711 USES_CONTROLS=1
37712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37713 fi
37714
37715 if test "$wxUSE_CARET" = "yes"; then
37716 cat >>confdefs.h <<\_ACEOF
37717 #define wxUSE_CARET 1
37718 _ACEOF
37719
37720 USES_CONTROLS=1
37721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37722 fi
37723
37724 if test "$wxUSE_COMBOBOX" = "yes"; then
37725 cat >>confdefs.h <<\_ACEOF
37726 #define wxUSE_COMBOBOX 1
37727 _ACEOF
37728
37729 USES_CONTROLS=1
37730 fi
37731
37732 if test "$wxUSE_CHOICE" = "yes"; then
37733 cat >>confdefs.h <<\_ACEOF
37734 #define wxUSE_CHOICE 1
37735 _ACEOF
37736
37737 USES_CONTROLS=1
37738 fi
37739
37740 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37741 cat >>confdefs.h <<\_ACEOF
37742 #define wxUSE_CHOICEBOOK 1
37743 _ACEOF
37744
37745 USES_CONTROLS=1
37746 fi
37747
37748 if test "$wxUSE_CHECKBOX" = "yes"; then
37749 cat >>confdefs.h <<\_ACEOF
37750 #define wxUSE_CHECKBOX 1
37751 _ACEOF
37752
37753 USES_CONTROLS=1
37754 fi
37755
37756 if test "$wxUSE_CHECKLST" = "yes"; then
37757 cat >>confdefs.h <<\_ACEOF
37758 #define wxUSE_CHECKLISTBOX 1
37759 _ACEOF
37760
37761 USES_CONTROLS=1
37762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37763 fi
37764
37765 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37766 cat >>confdefs.h <<\_ACEOF
37767 #define wxUSE_DATEPICKCTRL 1
37768 _ACEOF
37769
37770 USES_CONTROLS=1
37771 fi
37772
37773 if test "$wxUSE_DISPLAY" = "yes"; then
37774 cat >>confdefs.h <<\_ACEOF
37775 #define wxUSE_DISPLAY 1
37776 _ACEOF
37777
37778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37779 fi
37780
37781 if test "$wxUSE_GAUGE" = "yes"; then
37782 cat >>confdefs.h <<\_ACEOF
37783 #define wxUSE_GAUGE 1
37784 _ACEOF
37785
37786 USES_CONTROLS=1
37787 fi
37788
37789 if test "$wxUSE_GRID" = "yes"; then
37790 cat >>confdefs.h <<\_ACEOF
37791 #define wxUSE_GRID 1
37792 _ACEOF
37793
37794 USES_CONTROLS=1
37795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37796 fi
37797
37798 if test "$wxUSE_IMAGLIST" = "yes"; then
37799 cat >>confdefs.h <<\_ACEOF
37800 #define wxUSE_IMAGLIST 1
37801 _ACEOF
37802
37803 fi
37804
37805 if test "$wxUSE_LISTBOOK" = "yes"; then
37806 cat >>confdefs.h <<\_ACEOF
37807 #define wxUSE_LISTBOOK 1
37808 _ACEOF
37809
37810 USES_CONTROLS=1
37811 fi
37812
37813 if test "$wxUSE_LISTBOX" = "yes"; then
37814 cat >>confdefs.h <<\_ACEOF
37815 #define wxUSE_LISTBOX 1
37816 _ACEOF
37817
37818 USES_CONTROLS=1
37819 fi
37820
37821 if test "$wxUSE_LISTCTRL" = "yes"; then
37822 if test "$wxUSE_IMAGLIST" = "yes"; then
37823 cat >>confdefs.h <<\_ACEOF
37824 #define wxUSE_LISTCTRL 1
37825 _ACEOF
37826
37827 USES_CONTROLS=1
37828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37829 else
37830 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37831 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37832 fi
37833 fi
37834
37835 if test "$wxUSE_NOTEBOOK" = "yes"; then
37836 cat >>confdefs.h <<\_ACEOF
37837 #define wxUSE_NOTEBOOK 1
37838 _ACEOF
37839
37840 USES_CONTROLS=1
37841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
37842 fi
37843
37844
37845 if test "$wxUSE_RADIOBOX" = "yes"; then
37846 cat >>confdefs.h <<\_ACEOF
37847 #define wxUSE_RADIOBOX 1
37848 _ACEOF
37849
37850 USES_CONTROLS=1
37851 fi
37852
37853 if test "$wxUSE_RADIOBTN" = "yes"; then
37854 cat >>confdefs.h <<\_ACEOF
37855 #define wxUSE_RADIOBTN 1
37856 _ACEOF
37857
37858 USES_CONTROLS=1
37859 fi
37860
37861 if test "$wxUSE_SASH" = "yes"; then
37862 cat >>confdefs.h <<\_ACEOF
37863 #define wxUSE_SASH 1
37864 _ACEOF
37865
37866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
37867 fi
37868
37869 if test "$wxUSE_SCROLLBAR" = "yes"; then
37870 cat >>confdefs.h <<\_ACEOF
37871 #define wxUSE_SCROLLBAR 1
37872 _ACEOF
37873
37874 USES_CONTROLS=1
37875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
37876 fi
37877
37878 if test "$wxUSE_SLIDER" = "yes"; then
37879 cat >>confdefs.h <<\_ACEOF
37880 #define wxUSE_SLIDER 1
37881 _ACEOF
37882
37883 USES_CONTROLS=1
37884 fi
37885
37886 if test "$wxUSE_SPINBTN" = "yes"; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define wxUSE_SPINBTN 1
37889 _ACEOF
37890
37891 USES_CONTROLS=1
37892 fi
37893
37894 if test "$wxUSE_SPINCTRL" = "yes"; then
37895 cat >>confdefs.h <<\_ACEOF
37896 #define wxUSE_SPINCTRL 1
37897 _ACEOF
37898
37899 USES_CONTROLS=1
37900 fi
37901
37902 if test "$wxUSE_SPLITTER" = "yes"; then
37903 cat >>confdefs.h <<\_ACEOF
37904 #define wxUSE_SPLITTER 1
37905 _ACEOF
37906
37907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
37908 fi
37909
37910 if test "$wxUSE_STATBMP" = "yes"; then
37911 cat >>confdefs.h <<\_ACEOF
37912 #define wxUSE_STATBMP 1
37913 _ACEOF
37914
37915 USES_CONTROLS=1
37916 fi
37917
37918 if test "$wxUSE_STATBOX" = "yes"; then
37919 cat >>confdefs.h <<\_ACEOF
37920 #define wxUSE_STATBOX 1
37921 _ACEOF
37922
37923 USES_CONTROLS=1
37924 fi
37925
37926 if test "$wxUSE_STATTEXT" = "yes"; then
37927 cat >>confdefs.h <<\_ACEOF
37928 #define wxUSE_STATTEXT 1
37929 _ACEOF
37930
37931 USES_CONTROLS=1
37932 fi
37933
37934 if test "$wxUSE_STATLINE" = "yes"; then
37935 cat >>confdefs.h <<\_ACEOF
37936 #define wxUSE_STATLINE 1
37937 _ACEOF
37938
37939 USES_CONTROLS=1
37940 fi
37941
37942 if test "$wxUSE_STATUSBAR" = "yes"; then
37943 cat >>confdefs.h <<\_ACEOF
37944 #define wxUSE_NATIVE_STATUSBAR 1
37945 _ACEOF
37946
37947 cat >>confdefs.h <<\_ACEOF
37948 #define wxUSE_STATUSBAR 1
37949 _ACEOF
37950
37951 USES_CONTROLS=1
37952
37953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
37954 fi
37955
37956 if test "$wxUSE_TABDIALOG" = "yes"; then
37957 cat >>confdefs.h <<\_ACEOF
37958 #define wxUSE_TAB_DIALOG 1
37959 _ACEOF
37960
37961 fi
37962
37963 if test "$wxUSE_TEXTCTRL" = "yes"; then
37964 cat >>confdefs.h <<\_ACEOF
37965 #define wxUSE_TEXTCTRL 1
37966 _ACEOF
37967
37968 USES_CONTROLS=1
37969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37970 fi
37971
37972 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37973 if test "$wxUSE_COCOA" = 1 ; then
37974 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37975 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37976 wxUSE_TOGGLEBTN=no
37977 else
37978 if test "$wxUSE_PM" = 1; then
37979 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37980 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37981 wxUSE_TOGGLEBTN=no
37982 fi
37983 fi
37984 if test "$wxUSE_UNIVERSAL" = "yes"; then
37985 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37986 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37987 wxUSE_TOGGLEBTN=no
37988 fi
37989
37990 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37991 cat >>confdefs.h <<\_ACEOF
37992 #define wxUSE_TOGGLEBTN 1
37993 _ACEOF
37994
37995 USES_CONTROLS=1
37996 fi
37997 fi
37998
37999 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38000 cat >>confdefs.h <<\_ACEOF
38001 #define wxUSE_TOOLBAR_SIMPLE 1
38002 _ACEOF
38003
38004 wxUSE_TOOLBAR="yes"
38005 USES_CONTROLS=1
38006 fi
38007
38008 if test "$wxUSE_TOOLBAR" = "yes"; then
38009 cat >>confdefs.h <<\_ACEOF
38010 #define wxUSE_TOOLBAR 1
38011 _ACEOF
38012
38013 USES_CONTROLS=1
38014
38015 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38016 wxUSE_TOOLBAR_NATIVE="yes"
38017 fi
38018
38019 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38020 cat >>confdefs.h <<\_ACEOF
38021 #define wxUSE_TOOLBAR_NATIVE 1
38022 _ACEOF
38023
38024 USES_CONTROLS=1
38025 fi
38026
38027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
38028 fi
38029
38030 if test "$wxUSE_TOOLTIPS" = "yes"; then
38031 if test "$wxUSE_MOTIF" = 1; then
38032 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38033 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38034 else
38035 if test "$wxUSE_UNIVERSAL" = "yes"; then
38036 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38037 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38038 else
38039 cat >>confdefs.h <<\_ACEOF
38040 #define wxUSE_TOOLTIPS 1
38041 _ACEOF
38042
38043 fi
38044 fi
38045 fi
38046
38047 if test "$wxUSE_TREECTRL" = "yes"; then
38048 if test "$wxUSE_IMAGLIST" = "yes"; then
38049 cat >>confdefs.h <<\_ACEOF
38050 #define wxUSE_TREECTRL 1
38051 _ACEOF
38052
38053 USES_CONTROLS=1
38054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
38055 else
38056 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38057 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38058 fi
38059 fi
38060
38061 if test "$wxUSE_POPUPWIN" = "yes"; then
38062 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38063 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38064 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38065 else
38066 if test "$wxUSE_PM" = 1; then
38067 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38068 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38069 else
38070 cat >>confdefs.h <<\_ACEOF
38071 #define wxUSE_POPUPWIN 1
38072 _ACEOF
38073
38074
38075 USES_CONTROLS=1
38076 fi
38077 fi
38078 fi
38079
38080 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38081 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38082 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38083 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38084 else
38085 cat >>confdefs.h <<\_ACEOF
38086 #define wxUSE_DIALUP_MANAGER 1
38087 _ACEOF
38088
38089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
38090 fi
38091 fi
38092
38093 if test "$wxUSE_TIPWINDOW" = "yes"; then
38094 if test "$wxUSE_PM" = 1; then
38095 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38096 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38097 else
38098 cat >>confdefs.h <<\_ACEOF
38099 #define wxUSE_TIPWINDOW 1
38100 _ACEOF
38101
38102 fi
38103 fi
38104
38105 if test "$USES_CONTROLS" = 1; then
38106 cat >>confdefs.h <<\_ACEOF
38107 #define wxUSE_CONTROLS 1
38108 _ACEOF
38109
38110 fi
38111
38112
38113 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38114 cat >>confdefs.h <<\_ACEOF
38115 #define wxUSE_ACCESSIBILITY 1
38116 _ACEOF
38117
38118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
38119 fi
38120
38121 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38122 cat >>confdefs.h <<\_ACEOF
38123 #define wxUSE_DRAGIMAGE 1
38124 _ACEOF
38125
38126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
38127 fi
38128
38129 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38130 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38131 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38132 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38133 else
38134 cat >>confdefs.h <<\_ACEOF
38135 #define wxUSE_EXCEPTIONS 1
38136 _ACEOF
38137
38138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
38139 fi
38140 fi
38141
38142 USE_HTML=0
38143 if test "$wxUSE_HTML" = "yes"; then
38144 cat >>confdefs.h <<\_ACEOF
38145 #define wxUSE_HTML 1
38146 _ACEOF
38147
38148 USE_HTML=1
38149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38150 if test "$wxUSE_MAC" = 1; then
38151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
38152 fi
38153 fi
38154 if test "$wxUSE_WEBKIT" = "yes"; then
38155 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38156 old_CPPFLAGS="$CPPFLAGS"
38157 CPPFLAGS="$CPPFLAGS -x objective-c++"
38158 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38159 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38160 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38161 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 else
38163 cat >conftest.$ac_ext <<_ACEOF
38164 /* confdefs.h. */
38165 _ACEOF
38166 cat confdefs.h >>conftest.$ac_ext
38167 cat >>conftest.$ac_ext <<_ACEOF
38168 /* end confdefs.h. */
38169 #include <Carbon/Carbon.h>
38170
38171 #include <WebKit/HIWebView.h>
38172 _ACEOF
38173 rm -f conftest.$ac_objext
38174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38175 (eval $ac_compile) 2>conftest.er1
38176 ac_status=$?
38177 grep -v '^ *+' conftest.er1 >conftest.err
38178 rm -f conftest.er1
38179 cat conftest.err >&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); } &&
38182 { ac_try='test -z "$ac_c_werror_flag"
38183 || test ! -s conftest.err'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38186 ac_status=$?
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; } &&
38189 { ac_try='test -s conftest.$ac_objext'
38190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38191 (eval $ac_try) 2>&5
38192 ac_status=$?
38193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38194 (exit $ac_status); }; }; then
38195 ac_cv_header_WebKit_HIWebView_h=yes
38196 else
38197 echo "$as_me: failed program was:" >&5
38198 sed 's/^/| /' conftest.$ac_ext >&5
38199
38200 ac_cv_header_WebKit_HIWebView_h=no
38201 fi
38202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38203 fi
38204 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38205 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38206 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38207
38208 cat >>confdefs.h <<\_ACEOF
38209 #define wxUSE_WEBKIT 1
38210 _ACEOF
38211
38212 WEBKIT_LINK="-framework WebKit"
38213
38214 else
38215
38216 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38217 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38218 wxUSE_WEBKIT=no
38219
38220 fi
38221
38222
38223 CPPFLAGS="$old_CPPFLAGS"
38224 elif test "$wxUSE_COCOA" = 1; then
38225 cat >>confdefs.h <<\_ACEOF
38226 #define wxUSE_WEBKIT 1
38227 _ACEOF
38228
38229 else
38230 wxUSE_WEBKIT=no
38231 fi
38232 fi
38233
38234 USE_XRC=0
38235 if test "$wxUSE_XRC" = "yes"; then
38236 if test "$wxUSE_XML" != "yes"; then
38237 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38238 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38239 wxUSE_XRC=no
38240 else
38241 cat >>confdefs.h <<\_ACEOF
38242 #define wxUSE_XRC 1
38243 _ACEOF
38244
38245 USE_XRC=1
38246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
38247 fi
38248 fi
38249
38250 if test "$wxUSE_MENUS" = "yes"; then
38251 cat >>confdefs.h <<\_ACEOF
38252 #define wxUSE_MENUS 1
38253 _ACEOF
38254
38255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
38256 fi
38257
38258 if test "$wxUSE_METAFILE" = "yes"; then
38259 cat >>confdefs.h <<\_ACEOF
38260 #define wxUSE_METAFILE 1
38261 _ACEOF
38262
38263 fi
38264
38265 if test "$wxUSE_MIMETYPE" = "yes"; then
38266 cat >>confdefs.h <<\_ACEOF
38267 #define wxUSE_MIMETYPE 1
38268 _ACEOF
38269
38270 fi
38271
38272 if test "$wxUSE_MINIFRAME" = "yes"; then
38273 cat >>confdefs.h <<\_ACEOF
38274 #define wxUSE_MINIFRAME 1
38275 _ACEOF
38276
38277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
38278 fi
38279
38280 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38281 cat >>confdefs.h <<\_ACEOF
38282 #define wxUSE_SYSTEM_OPTIONS 1
38283 _ACEOF
38284
38285 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38286 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
38288 fi
38289 fi
38290
38291
38292 if test "$wxUSE_VALIDATORS" = "yes"; then
38293 cat >>confdefs.h <<\_ACEOF
38294 #define wxUSE_VALIDATORS 1
38295 _ACEOF
38296
38297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
38298 fi
38299
38300 if test "$wxUSE_PALETTE" = "yes" ; then
38301 cat >>confdefs.h <<\_ACEOF
38302 #define wxUSE_PALETTE 1
38303 _ACEOF
38304
38305 fi
38306
38307 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38308 LIBS=" -lunicows $LIBS"
38309 fi
38310
38311
38312 if test "$wxUSE_IMAGE" = "yes" ; then
38313 cat >>confdefs.h <<\_ACEOF
38314 #define wxUSE_IMAGE 1
38315 _ACEOF
38316
38317
38318 if test "$wxUSE_GIF" = "yes" ; then
38319 cat >>confdefs.h <<\_ACEOF
38320 #define wxUSE_GIF 1
38321 _ACEOF
38322
38323 fi
38324
38325 if test "$wxUSE_PCX" = "yes" ; then
38326 cat >>confdefs.h <<\_ACEOF
38327 #define wxUSE_PCX 1
38328 _ACEOF
38329
38330 fi
38331
38332 if test "$wxUSE_IFF" = "yes" ; then
38333 cat >>confdefs.h <<\_ACEOF
38334 #define wxUSE_IFF 1
38335 _ACEOF
38336
38337 fi
38338
38339 if test "$wxUSE_PNM" = "yes" ; then
38340 cat >>confdefs.h <<\_ACEOF
38341 #define wxUSE_PNM 1
38342 _ACEOF
38343
38344 fi
38345
38346 if test "$wxUSE_XPM" = "yes" ; then
38347 cat >>confdefs.h <<\_ACEOF
38348 #define wxUSE_XPM 1
38349 _ACEOF
38350
38351 fi
38352
38353 if test "$wxUSE_ICO_CUR" = "yes" ; then
38354 cat >>confdefs.h <<\_ACEOF
38355 #define wxUSE_ICO_CUR 1
38356 _ACEOF
38357
38358 fi
38359 fi
38360
38361
38362 if test "$wxUSE_CHOICEDLG" = "yes"; then
38363 cat >>confdefs.h <<\_ACEOF
38364 #define wxUSE_CHOICEDLG 1
38365 _ACEOF
38366
38367 fi
38368
38369 if test "$wxUSE_COLOURDLG" = "yes"; then
38370 cat >>confdefs.h <<\_ACEOF
38371 #define wxUSE_COLOURDLG 1
38372 _ACEOF
38373
38374 fi
38375
38376 if test "$wxUSE_FILEDLG" = "yes"; then
38377 cat >>confdefs.h <<\_ACEOF
38378 #define wxUSE_FILEDLG 1
38379 _ACEOF
38380
38381 fi
38382
38383 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38384 cat >>confdefs.h <<\_ACEOF
38385 #define wxUSE_FINDREPLDLG 1
38386 _ACEOF
38387
38388 fi
38389
38390 if test "$wxUSE_FONTDLG" = "yes"; then
38391 cat >>confdefs.h <<\_ACEOF
38392 #define wxUSE_FONTDLG 1
38393 _ACEOF
38394
38395 fi
38396
38397 if test "$wxUSE_DIRDLG" = "yes"; then
38398 if test "$wxUSE_TREECTRL" != "yes"; then
38399 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38400 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38401 else
38402 cat >>confdefs.h <<\_ACEOF
38403 #define wxUSE_DIRDLG 1
38404 _ACEOF
38405
38406 fi
38407 fi
38408
38409 if test "$wxUSE_MSGDLG" = "yes"; then
38410 cat >>confdefs.h <<\_ACEOF
38411 #define wxUSE_MSGDLG 1
38412 _ACEOF
38413
38414 fi
38415
38416 if test "$wxUSE_NUMBERDLG" = "yes"; then
38417 cat >>confdefs.h <<\_ACEOF
38418 #define wxUSE_NUMBERDLG 1
38419 _ACEOF
38420
38421 fi
38422
38423 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38424 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38425 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38426 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38427 else
38428 cat >>confdefs.h <<\_ACEOF
38429 #define wxUSE_PROGRESSDLG 1
38430 _ACEOF
38431
38432 fi
38433 fi
38434
38435 if test "$wxUSE_SPLASH" = "yes"; then
38436 cat >>confdefs.h <<\_ACEOF
38437 #define wxUSE_SPLASH 1
38438 _ACEOF
38439
38440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
38441 fi
38442
38443 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38444 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38445 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38446 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38447 else
38448 cat >>confdefs.h <<\_ACEOF
38449 #define wxUSE_STARTUP_TIPS 1
38450 _ACEOF
38451
38452 fi
38453 fi
38454
38455 if test "$wxUSE_TEXTDLG" = "yes"; then
38456 cat >>confdefs.h <<\_ACEOF
38457 #define wxUSE_TEXTDLG 1
38458 _ACEOF
38459
38460 fi
38461
38462 if test "$wxUSE_WIZARDDLG" = "yes"; then
38463 cat >>confdefs.h <<\_ACEOF
38464 #define wxUSE_WIZARDDLG 1
38465 _ACEOF
38466
38467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
38468 fi
38469
38470
38471 if test "$wxUSE_MEDIACTRL" = "yes"; then
38472 if test "$wxUSE_MSW" = 1; then
38473 wxUSE_DIRECTSHOW="yes"
38474
38475 for ac_header in dshow.h
38476 do
38477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38478 echo "$as_me:$LINENO: checking for $ac_header" >&5
38479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38481 echo $ECHO_N "(cached) $ECHO_C" >&6
38482 else
38483 cat >conftest.$ac_ext <<_ACEOF
38484 /* confdefs.h. */
38485 _ACEOF
38486 cat confdefs.h >>conftest.$ac_ext
38487 cat >>conftest.$ac_ext <<_ACEOF
38488 /* end confdefs.h. */
38489 #include <windows.h>
38490
38491 #include <$ac_header>
38492 _ACEOF
38493 rm -f conftest.$ac_objext
38494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38495 (eval $ac_compile) 2>conftest.er1
38496 ac_status=$?
38497 grep -v '^ *+' conftest.er1 >conftest.err
38498 rm -f conftest.er1
38499 cat conftest.err >&5
38500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38501 (exit $ac_status); } &&
38502 { ac_try='test -z "$ac_c_werror_flag"
38503 || test ! -s conftest.err'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38506 ac_status=$?
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; } &&
38509 { ac_try='test -s conftest.$ac_objext'
38510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38511 (eval $ac_try) 2>&5
38512 ac_status=$?
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); }; }; then
38515 eval "$as_ac_Header=yes"
38516 else
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38519
38520 eval "$as_ac_Header=no"
38521 fi
38522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38523 fi
38524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38527 cat >>confdefs.h <<_ACEOF
38528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38529 _ACEOF
38530
38531 else
38532
38533 wxUSE_DIRECTSHOW="no"
38534 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
38535 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
38536
38537 fi
38538
38539 done
38540
38541
38542 if test "$wxUSE_DIRECTSHOW" = "yes"; then
38543 cat >>confdefs.h <<\_ACEOF
38544 #define wxUSE_DIRECTSHOW 1
38545 _ACEOF
38546
38547 LIBS="$LIBS -lstrmiids"
38548 fi
38549 fi
38550
38551 if test "$wxUSE_GTK" = 1; then
38552 wxUSE_GSTREAMER="yes"
38553
38554
38555 succeeded=no
38556
38557 if test -z "$PKG_CONFIG"; then
38558 # Extract the first word of "pkg-config", so it can be a program name with args.
38559 set dummy pkg-config; ac_word=$2
38560 echo "$as_me:$LINENO: checking for $ac_word" >&5
38561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38562 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38563 echo $ECHO_N "(cached) $ECHO_C" >&6
38564 else
38565 case $PKG_CONFIG in
38566 [\\/]* | ?:[\\/]*)
38567 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
38568 ;;
38569 *)
38570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38571 for as_dir in $PATH
38572 do
38573 IFS=$as_save_IFS
38574 test -z "$as_dir" && as_dir=.
38575 for ac_exec_ext in '' $ac_executable_extensions; do
38576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38577 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38579 break 2
38580 fi
38581 done
38582 done
38583
38584 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
38585 ;;
38586 esac
38587 fi
38588 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
38589
38590 if test -n "$PKG_CONFIG"; then
38591 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38592 echo "${ECHO_T}$PKG_CONFIG" >&6
38593 else
38594 echo "$as_me:$LINENO: result: no" >&5
38595 echo "${ECHO_T}no" >&6
38596 fi
38597
38598 fi
38599
38600 if test "$PKG_CONFIG" = "no" ; then
38601 echo "*** The pkg-config script could not be found. Make sure it is"
38602 echo "*** in your path, or set the PKG_CONFIG environment variable"
38603 echo "*** to the full path to pkg-config."
38604 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38605 else
38606 PKG_CONFIG_MIN_VERSION=0.9.0
38607 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38608 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
38609 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
38610
38611 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
38612 echo "$as_me:$LINENO: result: yes" >&5
38613 echo "${ECHO_T}yes" >&6
38614 succeeded=yes
38615
38616 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
38617 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
38618 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
38619 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
38620 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
38621
38622 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
38623 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
38624 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
38625 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
38626 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
38627 else
38628 GSTREAMER_CFLAGS=""
38629 GSTREAMER_LIBS=""
38630 ## If we have a custom action on failure, don't print errors, but
38631 ## do set a variable so people can do so.
38632 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
38633
38634 fi
38635
38636
38637
38638 else
38639 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38640 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38641 fi
38642 fi
38643
38644 if test $succeeded = yes; then
38645
38646 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
38647 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
38648
38649 else
38650
38651 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
38652 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
38653 wxUSE_GSTREAMER="no"
38654
38655 fi
38656
38657
38658
38659
38660
38661 if test "x$GST_INSPECT" == "x"; then
38662 # Extract the first word of "gst-inspect", so it can be a program name with args.
38663 set dummy gst-inspect; ac_word=$2
38664 echo "$as_me:$LINENO: checking for $ac_word" >&5
38665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38666 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38667 echo $ECHO_N "(cached) $ECHO_C" >&6
38668 else
38669 if test -n "$GST_INSPECT"; then
38670 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
38671 else
38672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38673 for as_dir in $PATH
38674 do
38675 IFS=$as_save_IFS
38676 test -z "$as_dir" && as_dir=.
38677 for ac_exec_ext in '' $ac_executable_extensions; do
38678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38679 ac_cv_prog_GST_INSPECT="gst-inspect"
38680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38681 break 2
38682 fi
38683 done
38684 done
38685
38686 fi
38687 fi
38688 GST_INSPECT=$ac_cv_prog_GST_INSPECT
38689 if test -n "$GST_INSPECT"; then
38690 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38691 echo "${ECHO_T}$GST_INSPECT" >&6
38692 else
38693 echo "$as_me:$LINENO: result: no" >&5
38694 echo "${ECHO_T}no" >&6
38695 fi
38696
38697 fi
38698
38699 if test "x$GST_INSPECT" != "x"; then
38700 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
38701 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
38702 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
38703 echo "$as_me:$LINENO: result: found." >&5
38704 echo "${ECHO_T}found." >&6
38705
38706 else
38707 echo "$as_me:$LINENO: result: not found." >&5
38708 echo "${ECHO_T}not found." >&6
38709
38710 wxUSE_GSTREAMER="no"
38711 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
38712 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
38713
38714 fi
38715 fi
38716
38717
38718 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
38719 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
38720 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38722 else
38723 cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h. */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 #include <gst/gst.h>
38730
38731 #include <gst/xoverlay/xoverlay.h>
38732 _ACEOF
38733 rm -f conftest.$ac_objext
38734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38735 (eval $ac_compile) 2>conftest.er1
38736 ac_status=$?
38737 grep -v '^ *+' conftest.er1 >conftest.err
38738 rm -f conftest.er1
38739 cat conftest.err >&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); } &&
38742 { ac_try='test -z "$ac_c_werror_flag"
38743 || test ! -s conftest.err'
38744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38745 (eval $ac_try) 2>&5
38746 ac_status=$?
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); }; } &&
38749 { ac_try='test -s conftest.$ac_objext'
38750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38751 (eval $ac_try) 2>&5
38752 ac_status=$?
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); }; }; then
38755 ac_cv_header_gst_xoverlay_xoverlay_h=yes
38756 else
38757 echo "$as_me: failed program was:" >&5
38758 sed 's/^/| /' conftest.$ac_ext >&5
38759
38760 ac_cv_header_gst_xoverlay_xoverlay_h=no
38761 fi
38762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38763 fi
38764 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
38765 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
38766 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
38767 :
38768 else
38769
38770 wxUSE_GSTREAMER="no"
38771 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
38772 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
38773
38774 fi
38775
38776
38777
38778 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
38779 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
38780
38781 ac_find_libraries=
38782 for ac_dir in $SEARCH_LIB /usr/lib;
38783 do
38784 for ac_extension in a so sl dylib; do
38785 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
38786 ac_find_libraries=$ac_dir
38787 break 2
38788 fi
38789 done
38790 done
38791
38792
38793 if test "$ac_find_libraries" = "" ; then
38794 echo "$as_me:$LINENO: result: no" >&5
38795 echo "${ECHO_T}no" >&6
38796 wxUSE_GSTREAMER="no"
38797 else
38798 echo "$as_me:$LINENO: result: yes" >&5
38799 echo "${ECHO_T}yes" >&6
38800 fi
38801
38802 if test "$wxUSE_GSTREAMER" = "yes"; then
38803 cat >>confdefs.h <<\_ACEOF
38804 #define wxUSE_GSTREAMER 1
38805 _ACEOF
38806
38807 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
38808 echo "${ECHO_T}GStreamer detection successful" >&6
38809 fi
38810 fi
38811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
38812 cat >>confdefs.h <<\_ACEOF
38813 #define wxUSE_MEDIACTRL 1
38814 _ACEOF
38815
38816 fi
38817
38818
38819 if test "$cross_compiling" = "yes"; then
38820 OSINFO="\"$host\""
38821 else
38822 OSINFO=`uname -s -r -m`
38823 OSINFO="\"$OSINFO\""
38824 fi
38825
38826 cat >>confdefs.h <<_ACEOF
38827 #define WXWIN_OS_DESCRIPTION $OSINFO
38828 _ACEOF
38829
38830
38831
38832 if test "x$prefix" != "xNONE"; then
38833 wxPREFIX=$prefix
38834 else
38835 wxPREFIX=$ac_default_prefix
38836 fi
38837
38838 cat >>confdefs.h <<_ACEOF
38839 #define wxINSTALL_PREFIX "$wxPREFIX"
38840 _ACEOF
38841
38842
38843
38844
38845 CORE_BASE_LIBS="net base"
38846 CORE_GUI_LIBS="adv core"
38847
38848 if test "$wxUSE_XML" = "yes" ; then
38849 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
38850 fi
38851 if test "$wxUSE_ODBC" != "no" ; then
38852 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
38853 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
38854 fi
38855 if test "$wxUSE_HTML" = "yes" ; then
38856 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
38857 fi
38858 if test "$wxUSE_XRC" = "yes" ; then
38859 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
38860 fi
38861
38862 if test "$wxUSE_GUI" != "yes"; then
38863 CORE_GUI_LIBS=""
38864 fi
38865
38866
38867
38868
38869
38870
38871
38872
38873 if test "$wxUSE_MAC" = 1 ; then
38874 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38875 if test "$USE_DARWIN" = 1; then
38876 LDFLAGS="$LDFLAGS -framework QuickTime"
38877 else
38878 LDFLAGS="$LDFLAGS -lQuickTimeLib"
38879 fi
38880 fi
38881 if test "$USE_DARWIN" = 1; then
38882 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38883 else
38884 LDFLAGS="$LDFLAGS -lCarbonLib"
38885 fi
38886 fi
38887 if test "$wxUSE_COCOA" = 1 ; then
38888 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
38889 if test "$wxUSE_MEDIACTRL" = "yes"; then
38890 LDFLAGS="$LDFLAGS -framework QuickTime"
38891 fi
38892 fi
38893
38894
38895 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38896
38897 have_cos=0
38898 have_floor=0
38899
38900 for ac_func in cos
38901 do
38902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38903 echo "$as_me:$LINENO: checking for $ac_func" >&5
38904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38905 if eval "test \"\${$as_ac_var+set}\" = set"; then
38906 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 else
38908 cat >conftest.$ac_ext <<_ACEOF
38909 /* confdefs.h. */
38910 _ACEOF
38911 cat confdefs.h >>conftest.$ac_ext
38912 cat >>conftest.$ac_ext <<_ACEOF
38913 /* end confdefs.h. */
38914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38916 #define $ac_func innocuous_$ac_func
38917
38918 /* System header to define __stub macros and hopefully few prototypes,
38919 which can conflict with char $ac_func (); below.
38920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38921 <limits.h> exists even on freestanding compilers. */
38922
38923 #ifdef __STDC__
38924 # include <limits.h>
38925 #else
38926 # include <assert.h>
38927 #endif
38928
38929 #undef $ac_func
38930
38931 /* Override any gcc2 internal prototype to avoid an error. */
38932 #ifdef __cplusplus
38933 extern "C"
38934 {
38935 #endif
38936 /* We use char because int might match the return type of a gcc2
38937 builtin and then its argument prototype would still apply. */
38938 char $ac_func ();
38939 /* The GNU C library defines this for functions which it implements
38940 to always fail with ENOSYS. Some functions are actually named
38941 something starting with __ and the normal name is an alias. */
38942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38943 choke me
38944 #else
38945 char (*f) () = $ac_func;
38946 #endif
38947 #ifdef __cplusplus
38948 }
38949 #endif
38950
38951 int
38952 main ()
38953 {
38954 return f != $ac_func;
38955 ;
38956 return 0;
38957 }
38958 _ACEOF
38959 rm -f conftest.$ac_objext conftest$ac_exeext
38960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38961 (eval $ac_link) 2>conftest.er1
38962 ac_status=$?
38963 grep -v '^ *+' conftest.er1 >conftest.err
38964 rm -f conftest.er1
38965 cat conftest.err >&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } &&
38968 { ac_try='test -z "$ac_c_werror_flag"
38969 || test ! -s conftest.err'
38970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38971 (eval $ac_try) 2>&5
38972 ac_status=$?
38973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974 (exit $ac_status); }; } &&
38975 { ac_try='test -s conftest$ac_exeext'
38976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38977 (eval $ac_try) 2>&5
38978 ac_status=$?
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); }; }; then
38981 eval "$as_ac_var=yes"
38982 else
38983 echo "$as_me: failed program was:" >&5
38984 sed 's/^/| /' conftest.$ac_ext >&5
38985
38986 eval "$as_ac_var=no"
38987 fi
38988 rm -f conftest.err conftest.$ac_objext \
38989 conftest$ac_exeext conftest.$ac_ext
38990 fi
38991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38993 if test `eval echo '${'$as_ac_var'}'` = yes; then
38994 cat >>confdefs.h <<_ACEOF
38995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38996 _ACEOF
38997 have_cos=1
38998 fi
38999 done
39000
39001
39002 for ac_func in floor
39003 do
39004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39005 echo "$as_me:$LINENO: checking for $ac_func" >&5
39006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39007 if eval "test \"\${$as_ac_var+set}\" = set"; then
39008 echo $ECHO_N "(cached) $ECHO_C" >&6
39009 else
39010 cat >conftest.$ac_ext <<_ACEOF
39011 /* confdefs.h. */
39012 _ACEOF
39013 cat confdefs.h >>conftest.$ac_ext
39014 cat >>conftest.$ac_ext <<_ACEOF
39015 /* end confdefs.h. */
39016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39018 #define $ac_func innocuous_$ac_func
39019
39020 /* System header to define __stub macros and hopefully few prototypes,
39021 which can conflict with char $ac_func (); below.
39022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39023 <limits.h> exists even on freestanding compilers. */
39024
39025 #ifdef __STDC__
39026 # include <limits.h>
39027 #else
39028 # include <assert.h>
39029 #endif
39030
39031 #undef $ac_func
39032
39033 /* Override any gcc2 internal prototype to avoid an error. */
39034 #ifdef __cplusplus
39035 extern "C"
39036 {
39037 #endif
39038 /* We use char because int might match the return type of a gcc2
39039 builtin and then its argument prototype would still apply. */
39040 char $ac_func ();
39041 /* The GNU C library defines this for functions which it implements
39042 to always fail with ENOSYS. Some functions are actually named
39043 something starting with __ and the normal name is an alias. */
39044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39045 choke me
39046 #else
39047 char (*f) () = $ac_func;
39048 #endif
39049 #ifdef __cplusplus
39050 }
39051 #endif
39052
39053 int
39054 main ()
39055 {
39056 return f != $ac_func;
39057 ;
39058 return 0;
39059 }
39060 _ACEOF
39061 rm -f conftest.$ac_objext conftest$ac_exeext
39062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39063 (eval $ac_link) 2>conftest.er1
39064 ac_status=$?
39065 grep -v '^ *+' conftest.er1 >conftest.err
39066 rm -f conftest.er1
39067 cat conftest.err >&5
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); } &&
39070 { ac_try='test -z "$ac_c_werror_flag"
39071 || test ! -s conftest.err'
39072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39073 (eval $ac_try) 2>&5
39074 ac_status=$?
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); }; } &&
39077 { ac_try='test -s conftest$ac_exeext'
39078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39079 (eval $ac_try) 2>&5
39080 ac_status=$?
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); }; }; then
39083 eval "$as_ac_var=yes"
39084 else
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.$ac_ext >&5
39087
39088 eval "$as_ac_var=no"
39089 fi
39090 rm -f conftest.err conftest.$ac_objext \
39091 conftest$ac_exeext conftest.$ac_ext
39092 fi
39093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39095 if test `eval echo '${'$as_ac_var'}'` = yes; then
39096 cat >>confdefs.h <<_ACEOF
39097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39098 _ACEOF
39099 have_floor=1
39100 fi
39101 done
39102
39103 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
39104 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
39105 if test "$have_cos" = 1 -a "$have_floor" = 1; then
39106 echo "$as_me:$LINENO: result: yes" >&5
39107 echo "${ECHO_T}yes" >&6
39108 else
39109 echo "$as_me:$LINENO: result: no" >&5
39110 echo "${ECHO_T}no" >&6
39111 LIBS="$LIBS -lm"
39112 # use different functions to avoid configure caching
39113 have_sin=0
39114 have_ceil=0
39115
39116 for ac_func in sin
39117 do
39118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39119 echo "$as_me:$LINENO: checking for $ac_func" >&5
39120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39121 if eval "test \"\${$as_ac_var+set}\" = set"; then
39122 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 else
39124 cat >conftest.$ac_ext <<_ACEOF
39125 /* confdefs.h. */
39126 _ACEOF
39127 cat confdefs.h >>conftest.$ac_ext
39128 cat >>conftest.$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39132 #define $ac_func innocuous_$ac_func
39133
39134 /* System header to define __stub macros and hopefully few prototypes,
39135 which can conflict with char $ac_func (); below.
39136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39137 <limits.h> exists even on freestanding compilers. */
39138
39139 #ifdef __STDC__
39140 # include <limits.h>
39141 #else
39142 # include <assert.h>
39143 #endif
39144
39145 #undef $ac_func
39146
39147 /* Override any gcc2 internal prototype to avoid an error. */
39148 #ifdef __cplusplus
39149 extern "C"
39150 {
39151 #endif
39152 /* We use char because int might match the return type of a gcc2
39153 builtin and then its argument prototype would still apply. */
39154 char $ac_func ();
39155 /* The GNU C library defines this for functions which it implements
39156 to always fail with ENOSYS. Some functions are actually named
39157 something starting with __ and the normal name is an alias. */
39158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39159 choke me
39160 #else
39161 char (*f) () = $ac_func;
39162 #endif
39163 #ifdef __cplusplus
39164 }
39165 #endif
39166
39167 int
39168 main ()
39169 {
39170 return f != $ac_func;
39171 ;
39172 return 0;
39173 }
39174 _ACEOF
39175 rm -f conftest.$ac_objext conftest$ac_exeext
39176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39177 (eval $ac_link) 2>conftest.er1
39178 ac_status=$?
39179 grep -v '^ *+' conftest.er1 >conftest.err
39180 rm -f conftest.er1
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } &&
39184 { ac_try='test -z "$ac_c_werror_flag"
39185 || test ! -s conftest.err'
39186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187 (eval $ac_try) 2>&5
39188 ac_status=$?
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; } &&
39191 { ac_try='test -s conftest$ac_exeext'
39192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39193 (eval $ac_try) 2>&5
39194 ac_status=$?
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); }; }; then
39197 eval "$as_ac_var=yes"
39198 else
39199 echo "$as_me: failed program was:" >&5
39200 sed 's/^/| /' conftest.$ac_ext >&5
39201
39202 eval "$as_ac_var=no"
39203 fi
39204 rm -f conftest.err conftest.$ac_objext \
39205 conftest$ac_exeext conftest.$ac_ext
39206 fi
39207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39209 if test `eval echo '${'$as_ac_var'}'` = yes; then
39210 cat >>confdefs.h <<_ACEOF
39211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39212 _ACEOF
39213 have_sin=1
39214 fi
39215 done
39216
39217
39218 for ac_func in ceil
39219 do
39220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39221 echo "$as_me:$LINENO: checking for $ac_func" >&5
39222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39223 if eval "test \"\${$as_ac_var+set}\" = set"; then
39224 echo $ECHO_N "(cached) $ECHO_C" >&6
39225 else
39226 cat >conftest.$ac_ext <<_ACEOF
39227 /* confdefs.h. */
39228 _ACEOF
39229 cat confdefs.h >>conftest.$ac_ext
39230 cat >>conftest.$ac_ext <<_ACEOF
39231 /* end confdefs.h. */
39232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39234 #define $ac_func innocuous_$ac_func
39235
39236 /* System header to define __stub macros and hopefully few prototypes,
39237 which can conflict with char $ac_func (); below.
39238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39239 <limits.h> exists even on freestanding compilers. */
39240
39241 #ifdef __STDC__
39242 # include <limits.h>
39243 #else
39244 # include <assert.h>
39245 #endif
39246
39247 #undef $ac_func
39248
39249 /* Override any gcc2 internal prototype to avoid an error. */
39250 #ifdef __cplusplus
39251 extern "C"
39252 {
39253 #endif
39254 /* We use char because int might match the return type of a gcc2
39255 builtin and then its argument prototype would still apply. */
39256 char $ac_func ();
39257 /* The GNU C library defines this for functions which it implements
39258 to always fail with ENOSYS. Some functions are actually named
39259 something starting with __ and the normal name is an alias. */
39260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39261 choke me
39262 #else
39263 char (*f) () = $ac_func;
39264 #endif
39265 #ifdef __cplusplus
39266 }
39267 #endif
39268
39269 int
39270 main ()
39271 {
39272 return f != $ac_func;
39273 ;
39274 return 0;
39275 }
39276 _ACEOF
39277 rm -f conftest.$ac_objext conftest$ac_exeext
39278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39279 (eval $ac_link) 2>conftest.er1
39280 ac_status=$?
39281 grep -v '^ *+' conftest.er1 >conftest.err
39282 rm -f conftest.er1
39283 cat conftest.err >&5
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); } &&
39286 { ac_try='test -z "$ac_c_werror_flag"
39287 || test ! -s conftest.err'
39288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39289 (eval $ac_try) 2>&5
39290 ac_status=$?
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); }; } &&
39293 { ac_try='test -s conftest$ac_exeext'
39294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39295 (eval $ac_try) 2>&5
39296 ac_status=$?
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); }; }; then
39299 eval "$as_ac_var=yes"
39300 else
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39303
39304 eval "$as_ac_var=no"
39305 fi
39306 rm -f conftest.err conftest.$ac_objext \
39307 conftest$ac_exeext conftest.$ac_ext
39308 fi
39309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39311 if test `eval echo '${'$as_ac_var'}'` = yes; then
39312 cat >>confdefs.h <<_ACEOF
39313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39314 _ACEOF
39315 have_ceil=1
39316 fi
39317 done
39318
39319 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
39320 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
39321 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
39322 echo "$as_me:$LINENO: result: yes" >&5
39323 echo "${ECHO_T}yes" >&6
39324 else
39325 echo "$as_me:$LINENO: result: no" >&5
39326 echo "${ECHO_T}no" >&6
39327 # not sure we should warn the user, crash, etc.
39328 fi
39329 fi
39330
39331 if test "$wxUSE_GUI" = "yes"; then
39332
39333
39334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
39335 drawing dynamic erase event exec font image \
39336 minimal propsize rotate shaped widgets render"
39337
39338 if test "$wxUSE_MONOLITHIC" != "yes"; then
39339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
39340 fi
39341 else
39342 SAMPLES_SUBDIRS="console"
39343 fi
39344
39345
39346 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
39347 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
39348
39349 if test "$GXX" = yes ; then
39350 CWARNINGS="-Wall"
39351 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
39352 fi
39353
39354 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
39355
39356 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
39357 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
39358 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
39359
39360 if test "x$MWCC" = "xyes"; then
39361
39362 CC="$CC -cwd source -I-"
39363 CXX="$CXX -cwd source -I-"
39364 fi
39365
39366
39367 LIBS=`echo $LIBS`
39368 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
39369 EXTRALIBS_XML="$EXPAT_LINK"
39370 EXTRALIBS_HTML="$MSPACK_LINK"
39371 EXTRALIBS_ODBC="$ODBC_LINK"
39372 if test "$wxUSE_GUI" = "yes"; then
39373 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
39374 fi
39375 if test "$wxUSE_OPENGL" = "yes"; then
39376 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
39377 fi
39378
39379 LDFLAGS="$LDFLAGS $PROFILE"
39380
39381 if test "$wxUSE_GTK" = 1; then
39382 WXCONFIG_INCLUDE=
39383 else
39384 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
39385 fi
39386
39387 WXCONFIG_EXTRALIBS="$LIBS"
39388
39389 if test "$wxUSE_REGEX" = "builtin" ; then
39390 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
39391 fi
39392 if test "$wxUSE_EXPAT" = "builtin" ; then
39393 wxconfig_3rdparty="$wxconfig_3rdparty expat"
39394 fi
39395 if test "$wxUSE_ODBC" = "builtin" ; then
39396 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39397 fi
39398 if test "$wxUSE_LIBTIFF" = "builtin" ; then
39399 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
39400 fi
39401 if test "$wxUSE_LIBJPEG" = "builtin" ; then
39402 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
39403 fi
39404 if test "$wxUSE_LIBPNG" = "builtin" ; then
39405 wxconfig_3rdparty="$wxconfig_3rdparty png"
39406 fi
39407 if test "$wxUSE_ZLIB" = "builtin" ; then
39408 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
39409 fi
39410 if test "$wxUSE_ODBC" = "builtin" ; then
39411 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39412 fi
39413
39414 for i in $wxconfig_3rdparty ; do
39415 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
39416 done
39417
39418
39419 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
39420 WXUNIV=1
39421 else
39422 WXUNIV=0
39423 fi
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433 if test $wxUSE_MONOLITHIC = "yes" ; then
39434 MONOLITHIC=1
39435 else
39436 MONOLITHIC=0
39437 fi
39438
39439 if test $wxUSE_PLUGINS = "yes" ; then
39440 USE_PLUGINS=1
39441 else
39442 USE_PLUGINS=0
39443 fi
39444
39445 if test $wxUSE_ODBC != "no" ; then
39446 USE_ODBC=1
39447 else
39448 USE_ODBC=0
39449 fi
39450
39451 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
39452 OFFICIAL_BUILD=1
39453 else
39454 OFFICIAL_BUILD=0
39455 fi
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
39480
39481
39482
39483
39484
39485
39486
39487
39488 case "$TOOLKIT" in
39489 GTK)
39490 TOOLKIT_USER="GTK+"
39491 if test "$WXGTK20" = 1; then
39492 TOOLKIT_USER="$TOOLKIT_USER 2"
39493 fi
39494 ;;
39495
39496 *)
39497 TOOLKIT_USER=$TOOLKIT_LOWERCASE
39498 ;;
39499 esac
39500
39501
39502
39503
39504 if test "x$BAKEFILE_HOST" = "x"; then
39505 BAKEFILE_HOST="${host}"
39506 fi
39507
39508 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
39509
39510 if test -n "$ac_tool_prefix"; then
39511 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
39512 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
39513 echo "$as_me:$LINENO: checking for $ac_word" >&5
39514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39515 if test "${ac_cv_prog_RANLIB+set}" = set; then
39516 echo $ECHO_N "(cached) $ECHO_C" >&6
39517 else
39518 if test -n "$RANLIB"; then
39519 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
39520 else
39521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39522 for as_dir in $PATH
39523 do
39524 IFS=$as_save_IFS
39525 test -z "$as_dir" && as_dir=.
39526 for ac_exec_ext in '' $ac_executable_extensions; do
39527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39528 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
39529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39530 break 2
39531 fi
39532 done
39533 done
39534
39535 fi
39536 fi
39537 RANLIB=$ac_cv_prog_RANLIB
39538 if test -n "$RANLIB"; then
39539 echo "$as_me:$LINENO: result: $RANLIB" >&5
39540 echo "${ECHO_T}$RANLIB" >&6
39541 else
39542 echo "$as_me:$LINENO: result: no" >&5
39543 echo "${ECHO_T}no" >&6
39544 fi
39545
39546 fi
39547 if test -z "$ac_cv_prog_RANLIB"; then
39548 ac_ct_RANLIB=$RANLIB
39549 # Extract the first word of "ranlib", so it can be a program name with args.
39550 set dummy ranlib; ac_word=$2
39551 echo "$as_me:$LINENO: checking for $ac_word" >&5
39552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39553 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
39554 echo $ECHO_N "(cached) $ECHO_C" >&6
39555 else
39556 if test -n "$ac_ct_RANLIB"; then
39557 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
39558 else
39559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39560 for as_dir in $PATH
39561 do
39562 IFS=$as_save_IFS
39563 test -z "$as_dir" && as_dir=.
39564 for ac_exec_ext in '' $ac_executable_extensions; do
39565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39566 ac_cv_prog_ac_ct_RANLIB="ranlib"
39567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39568 break 2
39569 fi
39570 done
39571 done
39572
39573 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
39574 fi
39575 fi
39576 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
39577 if test -n "$ac_ct_RANLIB"; then
39578 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39579 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39580 else
39581 echo "$as_me:$LINENO: result: no" >&5
39582 echo "${ECHO_T}no" >&6
39583 fi
39584
39585 RANLIB=$ac_ct_RANLIB
39586 else
39587 RANLIB="$ac_cv_prog_RANLIB"
39588 fi
39589
39590 # Find a good install program. We prefer a C program (faster),
39591 # so one script is as good as another. But avoid the broken or
39592 # incompatible versions:
39593 # SysV /etc/install, /usr/sbin/install
39594 # SunOS /usr/etc/install
39595 # IRIX /sbin/install
39596 # AIX /bin/install
39597 # AmigaOS /C/install, which installs bootblocks on floppy discs
39598 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39599 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39600 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39601 # OS/2's system install, which has a completely different semantic
39602 # ./install, which can be erroneously created by make from ./install.sh.
39603 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39604 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39605 if test -z "$INSTALL"; then
39606 if test "${ac_cv_path_install+set}" = set; then
39607 echo $ECHO_N "(cached) $ECHO_C" >&6
39608 else
39609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39610 for as_dir in $PATH
39611 do
39612 IFS=$as_save_IFS
39613 test -z "$as_dir" && as_dir=.
39614 # Account for people who put trailing slashes in PATH elements.
39615 case $as_dir/ in
39616 ./ | .// | /cC/* | \
39617 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
39618 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
39619 /usr/ucb/* ) ;;
39620 *)
39621 # OSF1 and SCO ODT 3.0 have their own names for install.
39622 # Don't use installbsd from OSF since it installs stuff as root
39623 # by default.
39624 for ac_prog in ginstall scoinst install; do
39625 for ac_exec_ext in '' $ac_executable_extensions; do
39626 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39627 if test $ac_prog = install &&
39628 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39629 # AIX install. It has an incompatible calling convention.
39630 :
39631 elif test $ac_prog = install &&
39632 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39633 # program-specific install script used by HP pwplus--don't use.
39634 :
39635 else
39636 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
39637 break 3
39638 fi
39639 fi
39640 done
39641 done
39642 ;;
39643 esac
39644 done
39645
39646
39647 fi
39648 if test "${ac_cv_path_install+set}" = set; then
39649 INSTALL=$ac_cv_path_install
39650 else
39651 # As a last resort, use the slow shell script. We don't cache a
39652 # path for INSTALL within a source directory, because that will
39653 # break other packages using the cache if that directory is
39654 # removed, or if the path is relative.
39655 INSTALL=$ac_install_sh
39656 fi
39657 fi
39658 echo "$as_me:$LINENO: result: $INSTALL" >&5
39659 echo "${ECHO_T}$INSTALL" >&6
39660
39661 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39662 # It thinks the first close brace ends the variable substitution.
39663 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
39664
39665 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
39666
39667 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
39668
39669 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39670 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39671 LN_S=$as_ln_s
39672 if test "$LN_S" = "ln -s"; then
39673 echo "$as_me:$LINENO: result: yes" >&5
39674 echo "${ECHO_T}yes" >&6
39675 else
39676 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39677 echo "${ECHO_T}no, using $LN_S" >&6
39678 fi
39679
39680
39681 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39682 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39683 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39684 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39685 echo $ECHO_N "(cached) $ECHO_C" >&6
39686 else
39687 cat >conftest.make <<\_ACEOF
39688 all:
39689 @echo 'ac_maketemp="$(MAKE)"'
39690 _ACEOF
39691 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39692 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39693 if test -n "$ac_maketemp"; then
39694 eval ac_cv_prog_make_${ac_make}_set=yes
39695 else
39696 eval ac_cv_prog_make_${ac_make}_set=no
39697 fi
39698 rm -f conftest.make
39699 fi
39700 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39701 echo "$as_me:$LINENO: result: yes" >&5
39702 echo "${ECHO_T}yes" >&6
39703 SET_MAKE=
39704 else
39705 echo "$as_me:$LINENO: result: no" >&5
39706 echo "${ECHO_T}no" >&6
39707 SET_MAKE="MAKE=${MAKE-make}"
39708 fi
39709
39710
39711
39712 if test -n "$ac_tool_prefix"; then
39713 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39714 set dummy ${ac_tool_prefix}ar; ac_word=$2
39715 echo "$as_me:$LINENO: checking for $ac_word" >&5
39716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39717 if test "${ac_cv_prog_AR+set}" = set; then
39718 echo $ECHO_N "(cached) $ECHO_C" >&6
39719 else
39720 if test -n "$AR"; then
39721 ac_cv_prog_AR="$AR" # Let the user override the test.
39722 else
39723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39724 for as_dir in $PATH
39725 do
39726 IFS=$as_save_IFS
39727 test -z "$as_dir" && as_dir=.
39728 for ac_exec_ext in '' $ac_executable_extensions; do
39729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39730 ac_cv_prog_AR="${ac_tool_prefix}ar"
39731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39732 break 2
39733 fi
39734 done
39735 done
39736
39737 fi
39738 fi
39739 AR=$ac_cv_prog_AR
39740 if test -n "$AR"; then
39741 echo "$as_me:$LINENO: result: $AR" >&5
39742 echo "${ECHO_T}$AR" >&6
39743 else
39744 echo "$as_me:$LINENO: result: no" >&5
39745 echo "${ECHO_T}no" >&6
39746 fi
39747
39748 fi
39749 if test -z "$ac_cv_prog_AR"; then
39750 ac_ct_AR=$AR
39751 # Extract the first word of "ar", so it can be a program name with args.
39752 set dummy ar; ac_word=$2
39753 echo "$as_me:$LINENO: checking for $ac_word" >&5
39754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39755 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39757 else
39758 if test -n "$ac_ct_AR"; then
39759 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
39760 else
39761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39762 for as_dir in $PATH
39763 do
39764 IFS=$as_save_IFS
39765 test -z "$as_dir" && as_dir=.
39766 for ac_exec_ext in '' $ac_executable_extensions; do
39767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39768 ac_cv_prog_ac_ct_AR="ar"
39769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39770 break 2
39771 fi
39772 done
39773 done
39774
39775 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
39776 fi
39777 fi
39778 ac_ct_AR=$ac_cv_prog_ac_ct_AR
39779 if test -n "$ac_ct_AR"; then
39780 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39781 echo "${ECHO_T}$ac_ct_AR" >&6
39782 else
39783 echo "$as_me:$LINENO: result: no" >&5
39784 echo "${ECHO_T}no" >&6
39785 fi
39786
39787 AR=$ac_ct_AR
39788 else
39789 AR="$ac_cv_prog_AR"
39790 fi
39791
39792 if test -n "$ac_tool_prefix"; then
39793 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39794 set dummy ${ac_tool_prefix}strip; ac_word=$2
39795 echo "$as_me:$LINENO: checking for $ac_word" >&5
39796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39797 if test "${ac_cv_prog_STRIP+set}" = set; then
39798 echo $ECHO_N "(cached) $ECHO_C" >&6
39799 else
39800 if test -n "$STRIP"; then
39801 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
39802 else
39803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39804 for as_dir in $PATH
39805 do
39806 IFS=$as_save_IFS
39807 test -z "$as_dir" && as_dir=.
39808 for ac_exec_ext in '' $ac_executable_extensions; do
39809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39810 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
39811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39812 break 2
39813 fi
39814 done
39815 done
39816
39817 fi
39818 fi
39819 STRIP=$ac_cv_prog_STRIP
39820 if test -n "$STRIP"; then
39821 echo "$as_me:$LINENO: result: $STRIP" >&5
39822 echo "${ECHO_T}$STRIP" >&6
39823 else
39824 echo "$as_me:$LINENO: result: no" >&5
39825 echo "${ECHO_T}no" >&6
39826 fi
39827
39828 fi
39829 if test -z "$ac_cv_prog_STRIP"; then
39830 ac_ct_STRIP=$STRIP
39831 # Extract the first word of "strip", so it can be a program name with args.
39832 set dummy strip; ac_word=$2
39833 echo "$as_me:$LINENO: checking for $ac_word" >&5
39834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39835 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 else
39838 if test -n "$ac_ct_STRIP"; then
39839 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
39840 else
39841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39842 for as_dir in $PATH
39843 do
39844 IFS=$as_save_IFS
39845 test -z "$as_dir" && as_dir=.
39846 for ac_exec_ext in '' $ac_executable_extensions; do
39847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39848 ac_cv_prog_ac_ct_STRIP="strip"
39849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39850 break 2
39851 fi
39852 done
39853 done
39854
39855 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
39856 fi
39857 fi
39858 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
39859 if test -n "$ac_ct_STRIP"; then
39860 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39861 echo "${ECHO_T}$ac_ct_STRIP" >&6
39862 else
39863 echo "$as_me:$LINENO: result: no" >&5
39864 echo "${ECHO_T}no" >&6
39865 fi
39866
39867 STRIP=$ac_ct_STRIP
39868 else
39869 STRIP="$ac_cv_prog_STRIP"
39870 fi
39871
39872 if test -n "$ac_tool_prefix"; then
39873 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39874 set dummy ${ac_tool_prefix}nm; ac_word=$2
39875 echo "$as_me:$LINENO: checking for $ac_word" >&5
39876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39877 if test "${ac_cv_prog_NM+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39879 else
39880 if test -n "$NM"; then
39881 ac_cv_prog_NM="$NM" # Let the user override the test.
39882 else
39883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39884 for as_dir in $PATH
39885 do
39886 IFS=$as_save_IFS
39887 test -z "$as_dir" && as_dir=.
39888 for ac_exec_ext in '' $ac_executable_extensions; do
39889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39890 ac_cv_prog_NM="${ac_tool_prefix}nm"
39891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39892 break 2
39893 fi
39894 done
39895 done
39896
39897 fi
39898 fi
39899 NM=$ac_cv_prog_NM
39900 if test -n "$NM"; then
39901 echo "$as_me:$LINENO: result: $NM" >&5
39902 echo "${ECHO_T}$NM" >&6
39903 else
39904 echo "$as_me:$LINENO: result: no" >&5
39905 echo "${ECHO_T}no" >&6
39906 fi
39907
39908 fi
39909 if test -z "$ac_cv_prog_NM"; then
39910 ac_ct_NM=$NM
39911 # Extract the first word of "nm", so it can be a program name with args.
39912 set dummy nm; ac_word=$2
39913 echo "$as_me:$LINENO: checking for $ac_word" >&5
39914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39915 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39916 echo $ECHO_N "(cached) $ECHO_C" >&6
39917 else
39918 if test -n "$ac_ct_NM"; then
39919 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
39920 else
39921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39922 for as_dir in $PATH
39923 do
39924 IFS=$as_save_IFS
39925 test -z "$as_dir" && as_dir=.
39926 for ac_exec_ext in '' $ac_executable_extensions; do
39927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39928 ac_cv_prog_ac_ct_NM="nm"
39929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39930 break 2
39931 fi
39932 done
39933 done
39934
39935 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
39936 fi
39937 fi
39938 ac_ct_NM=$ac_cv_prog_ac_ct_NM
39939 if test -n "$ac_ct_NM"; then
39940 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39941 echo "${ECHO_T}$ac_ct_NM" >&6
39942 else
39943 echo "$as_me:$LINENO: result: no" >&5
39944 echo "${ECHO_T}no" >&6
39945 fi
39946
39947 NM=$ac_ct_NM
39948 else
39949 NM="$ac_cv_prog_NM"
39950 fi
39951
39952
39953 case ${BAKEFILE_HOST} in
39954 *-hp-hpux* )
39955 INSTALL_DIR="mkdir -p"
39956 ;;
39957 *) INSTALL_DIR="$INSTALL -d"
39958 ;;
39959 esac
39960
39961
39962 LDFLAGS_GUI=
39963 case ${BAKEFILE_HOST} in
39964 *-*-cygwin* | *-*-mingw32* )
39965 LDFLAGS_GUI="-mwindows"
39966 esac
39967
39968
39969 fi
39970
39971 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39972 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39973 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39974 echo $ECHO_N "(cached) $ECHO_C" >&6
39975 else
39976
39977 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
39978 egrep -s GNU > /dev/null); then
39979 bakefile_cv_prog_makeisgnu="yes"
39980 else
39981 bakefile_cv_prog_makeisgnu="no"
39982 fi
39983
39984 fi
39985 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39986 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39987
39988 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39989 IF_GNU_MAKE=""
39990 else
39991 IF_GNU_MAKE="#"
39992 fi
39993
39994
39995
39996 PLATFORM_UNIX=0
39997 PLATFORM_WIN32=0
39998 PLATFORM_MSDOS=0
39999 PLATFORM_MAC=0
40000 PLATFORM_MACOS=0
40001 PLATFORM_MACOSX=0
40002 PLATFORM_OS2=0
40003 PLATFORM_BEOS=0
40004
40005 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
40006 case "${BAKEFILE_HOST}" in
40007 *-*-cygwin* | *-*-mingw32* )
40008 PLATFORM_WIN32=1
40009 ;;
40010 *-pc-msdosdjgpp )
40011 PLATFORM_MSDOS=1
40012 ;;
40013 *-pc-os2_emx | *-pc-os2-emx )
40014 PLATFORM_OS2=1
40015 ;;
40016 powerpc-*-darwin* )
40017 PLATFORM_MAC=1
40018 PLATFORM_MACOSX=1
40019 ;;
40020 *-*-beos* )
40021 PLATFORM_BEOS=1
40022 ;;
40023 powerpc-apple-macos* )
40024 PLATFORM_MAC=1
40025 PLATFORM_MACOS=1
40026 ;;
40027 * )
40028 PLATFORM_UNIX=1
40029 ;;
40030 esac
40031 else
40032 case "$BAKEFILE_FORCE_PLATFORM" in
40033 win32 )
40034 PLATFORM_WIN32=1
40035 ;;
40036 msdos )
40037 PLATFORM_MSDOS=1
40038 ;;
40039 os2 )
40040 PLATFORM_OS2=1
40041 ;;
40042 darwin )
40043 PLATFORM_MAC=1
40044 PLATFORM_MACOSX=1
40045 ;;
40046 unix )
40047 PLATFORM_UNIX=1
40048 ;;
40049 beos )
40050 PLATFORM_BEOS=1
40051 ;;
40052 * )
40053 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
40054 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
40055 { (exit 1); exit 1; }; }
40056 ;;
40057 esac
40058 fi
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070 # Check whether --enable-omf or --disable-omf was given.
40071 if test "${enable_omf+set}" = set; then
40072 enableval="$enable_omf"
40073 bk_os2_use_omf="$enableval"
40074 fi;
40075
40076 case "${BAKEFILE_HOST}" in
40077 *-*-darwin* )
40078 CFLAGS="$CFLAGS -fno-common"
40079 CXXFLAGS="$CXXFLAGS -fno-common"
40080 ;;
40081
40082 *-pc-os2_emx | *-pc-os2-emx )
40083 if test "x$bk_os2_use_omf" = "xyes" ; then
40084 AR=emxomfar
40085 RANLIB=:
40086 LDFLAGS="-Zomf $LDFLAGS"
40087 CFLAGS="-Zomf $CFLAGS"
40088 CXXFLAGS="-Zomf $CXXFLAGS"
40089 OS2_LIBEXT="lib"
40090 else
40091 OS2_LIBEXT="a"
40092 fi
40093 ;;
40094
40095 i*86-*-beos* )
40096 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
40097 ;;
40098 esac
40099
40100
40101 SO_SUFFIX="so"
40102 SO_SUFFIX_MODULE="so"
40103 EXEEXT=""
40104 LIBPREFIX="lib"
40105 LIBEXT=".a"
40106 DLLPREFIX="lib"
40107 DLLPREFIX_MODULE=""
40108 DLLIMP_SUFFIX=""
40109
40110 case "${BAKEFILE_HOST}" in
40111 *-hp-hpux* )
40112 SO_SUFFIX="sl"
40113 SO_SUFFIX_MODULE="sl"
40114 ;;
40115 *-*-aix* )
40116 SO_SUFFIX="a"
40117 SO_SUFFIX_MODULE="a"
40118 ;;
40119 *-*-cygwin* | *-*-mingw32* )
40120 SO_SUFFIX="dll"
40121 SO_SUFFIX_MODULE="dll"
40122 DLLIMP_SUFFIX="dll.a"
40123 EXEEXT=".exe"
40124 DLLPREFIX=""
40125 ;;
40126 *-pc-msdosdjgpp )
40127 EXEEXT=".exe"
40128 DLLPREFIX=""
40129 ;;
40130 *-pc-os2_emx | *-pc-os2-emx )
40131 SO_SUFFIX="dll"
40132 SO_SUFFIX_MODULE="dll"
40133 DLLIMP_SUFFIX=$OS2_LIBEXT
40134 EXEEXT=".exe"
40135 DLLPREFIX=""
40136 LIBPREFIX=""
40137 LIBEXT=".$OS2_LIBEXT"
40138 ;;
40139 powerpc-*-darwin* )
40140 SO_SUFFIX="dylib"
40141 SO_SUFFIX_MODULE="bundle"
40142 ;;
40143 esac
40144
40145 if test "x$DLLIMP_SUFFIX" = "x" ; then
40146 DLLIMP_SUFFIX="$SO_SUFFIX"
40147 fi
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159 PIC_FLAG=""
40160 if test "x$GCC" = "xyes"; then
40161 PIC_FLAG="-fPIC"
40162 fi
40163
40164 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
40165 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
40166
40167 case "${BAKEFILE_HOST}" in
40168 *-hp-hpux* )
40169 if test "x$GCC" != "xyes"; then
40170 LDFLAGS="$LDFLAGS -L/usr/lib"
40171
40172 SHARED_LD_CC="${CC} -b -o"
40173 SHARED_LD_CXX="${CXX} -b -o"
40174 PIC_FLAG="+Z"
40175 fi
40176 ;;
40177
40178 *-*-linux* )
40179 if test "x$GCC" != "xyes"; then
40180 echo "$as_me:$LINENO: checking for Intel compiler" >&5
40181 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
40182 if test "${bakefile_cv_prog_icc+set}" = set; then
40183 echo $ECHO_N "(cached) $ECHO_C" >&6
40184 else
40185
40186 cat >conftest.$ac_ext <<_ACEOF
40187 /* confdefs.h. */
40188 _ACEOF
40189 cat confdefs.h >>conftest.$ac_ext
40190 cat >>conftest.$ac_ext <<_ACEOF
40191 /* end confdefs.h. */
40192
40193 int
40194 main ()
40195 {
40196
40197 #ifndef __INTEL_COMPILER
40198 #error Not icc
40199 #endif
40200
40201 ;
40202 return 0;
40203 }
40204 _ACEOF
40205 rm -f conftest.$ac_objext
40206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40207 (eval $ac_compile) 2>conftest.er1
40208 ac_status=$?
40209 grep -v '^ *+' conftest.er1 >conftest.err
40210 rm -f conftest.er1
40211 cat conftest.err >&5
40212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40213 (exit $ac_status); } &&
40214 { ac_try='test -z "$ac_c_werror_flag"
40215 || test ! -s conftest.err'
40216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40217 (eval $ac_try) 2>&5
40218 ac_status=$?
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); }; } &&
40221 { ac_try='test -s conftest.$ac_objext'
40222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40223 (eval $ac_try) 2>&5
40224 ac_status=$?
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); }; }; then
40227 bakefile_cv_prog_icc=yes
40228 else
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.$ac_ext >&5
40231
40232 bakefile_cv_prog_icc=no
40233
40234 fi
40235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40236
40237 fi
40238 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
40239 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
40240 if test "$bakefile_cv_prog_icc" = "yes"; then
40241 PIC_FLAG="-KPIC"
40242 fi
40243 fi
40244 ;;
40245
40246 *-*-solaris2* )
40247 if test "x$GCC" != xyes ; then
40248 SHARED_LD_CC="${CC} -G -o"
40249 SHARED_LD_CXX="${CXX} -G -o"
40250 PIC_FLAG="-KPIC"
40251 fi
40252 ;;
40253
40254 *-*-darwin* )
40255
40256 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
40257 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
40258 if test "${wx_cv_gcc31+set}" = set; then
40259 echo $ECHO_N "(cached) $ECHO_C" >&6
40260 else
40261
40262 cat >conftest.$ac_ext <<_ACEOF
40263 /* confdefs.h. */
40264 _ACEOF
40265 cat confdefs.h >>conftest.$ac_ext
40266 cat >>conftest.$ac_ext <<_ACEOF
40267 /* end confdefs.h. */
40268
40269 int
40270 main ()
40271 {
40272
40273 #if (__GNUC__ < 3) || \
40274 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
40275 #error old gcc
40276 #endif
40277
40278 ;
40279 return 0;
40280 }
40281 _ACEOF
40282 rm -f conftest.$ac_objext
40283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40284 (eval $ac_compile) 2>conftest.er1
40285 ac_status=$?
40286 grep -v '^ *+' conftest.er1 >conftest.err
40287 rm -f conftest.er1
40288 cat conftest.err >&5
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); } &&
40291 { ac_try='test -z "$ac_c_werror_flag"
40292 || test ! -s conftest.err'
40293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40294 (eval $ac_try) 2>&5
40295 ac_status=$?
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); }; } &&
40298 { ac_try='test -s conftest.$ac_objext'
40299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40300 (eval $ac_try) 2>&5
40301 ac_status=$?
40302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40303 (exit $ac_status); }; }; then
40304
40305 wx_cv_gcc31=yes
40306
40307 else
40308 echo "$as_me: failed program was:" >&5
40309 sed 's/^/| /' conftest.$ac_ext >&5
40310
40311
40312 wx_cv_gcc31=no
40313
40314
40315 fi
40316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40317
40318 fi
40319 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
40320 echo "${ECHO_T}$wx_cv_gcc31" >&6
40321 if test "$wx_cv_gcc31" = "no"; then
40322
40323 D='$'
40324 cat <<EOF >shared-ld-sh
40325 #!/bin/sh
40326 #-----------------------------------------------------------------------------
40327 #-- Name: distrib/mac/shared-ld-sh
40328 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
40329 #-- Author: Gilles Depeyrot
40330 #-- Copyright: (c) 2002 Gilles Depeyrot
40331 #-- Licence: any use permitted
40332 #-----------------------------------------------------------------------------
40333
40334 verbose=0
40335 args=""
40336 objects=""
40337 linking_flag="-dynamiclib"
40338
40339 while test ${D}# -gt 0; do
40340 case ${D}1 in
40341
40342 -v)
40343 verbose=1
40344 ;;
40345
40346 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
40347 # collect these options and values
40348 args="${D}{args} ${D}1 ${D}2"
40349 shift
40350 ;;
40351
40352 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
40353 # collect these options
40354 args="${D}{args} ${D}1"
40355 ;;
40356
40357 -dynamiclib|-bundle)
40358 linking_flag="${D}1"
40359 ;;
40360
40361 -*)
40362 echo "shared-ld: unhandled option '${D}1'"
40363 exit 1
40364 ;;
40365
40366 *.o | *.a | *.dylib)
40367 # collect object files
40368 objects="${D}{objects} ${D}1"
40369 ;;
40370
40371 *)
40372 echo "shared-ld: unhandled argument '${D}1'"
40373 exit 1
40374 ;;
40375
40376 esac
40377 shift
40378 done
40379
40380 #
40381 # Link one module containing all the others
40382 #
40383 if test ${D}{verbose} = 1; then
40384 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
40385 fi
40386 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
40387 status=${D}?
40388 if test ${D}{status} != 0; then
40389 exit ${D}{status}
40390 fi
40391
40392 #
40393 # Link the shared library from the single module created
40394 #
40395 if test ${D}{verbose} = 1; then
40396 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
40397 fi
40398 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
40399 status=${D}?
40400 if test ${D}{status} != 0; then
40401 exit ${D}{status}
40402 fi
40403
40404 #
40405 # Remove intermediate module
40406 #
40407 rm -f master.${D}${D}.o
40408
40409 exit 0
40410 EOF
40411
40412 chmod +x shared-ld-sh
40413
40414 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
40415 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
40416 SHARED_LD_CXX="$SHARED_LD_CC"
40417 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
40418 else
40419 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
40420 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
40421 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
40422 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
40423 fi
40424
40425 PIC_FLAG="-dynamic -fPIC"
40426 ;;
40427
40428 *-*-aix* )
40429 if test "x$GCC" != "xyes"; then
40430 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
40431 set dummy makeC++SharedLib; ac_word=$2
40432 echo "$as_me:$LINENO: checking for $ac_word" >&5
40433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40434 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
40435 echo $ECHO_N "(cached) $ECHO_C" >&6
40436 else
40437 if test -n "$AIX_CXX_LD"; then
40438 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
40439 else
40440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40441 for as_dir in $PATH
40442 do
40443 IFS=$as_save_IFS
40444 test -z "$as_dir" && as_dir=.
40445 for ac_exec_ext in '' $ac_executable_extensions; do
40446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40447 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
40448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40449 break 2
40450 fi
40451 done
40452 done
40453
40454 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
40455 fi
40456 fi
40457 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
40458 if test -n "$AIX_CXX_LD"; then
40459 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
40460 echo "${ECHO_T}$AIX_CXX_LD" >&6
40461 else
40462 echo "$as_me:$LINENO: result: no" >&5
40463 echo "${ECHO_T}no" >&6
40464 fi
40465
40466 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
40467 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
40468 fi
40469 ;;
40470
40471 *-*-beos* )
40472 SHARED_LD_CC="${LD} -nostart -o"
40473 SHARED_LD_CXX="${LD} -nostart -o"
40474 ;;
40475
40476 *-*-irix* )
40477 if test "x$GCC" != "xyes"; then
40478 PIC_FLAG="-KPIC"
40479 fi
40480 ;;
40481
40482 *-*-cygwin* | *-*-mingw32* )
40483 PIC_FLAG=""
40484 SHARED_LD_CC="\$(CC) -shared -o"
40485 SHARED_LD_CXX="\$(CXX) -shared -o"
40486 ;;
40487
40488 *-pc-os2_emx | *-pc-os2-emx )
40489 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40490 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40491 PIC_FLAG=""
40492
40493 D='$'
40494 cat <<EOF >dllar.sh
40495 #!/bin/sh
40496 #
40497 # dllar - a tool to build both a .dll and an .a file
40498 # from a set of object (.o) files for EMX/OS2.
40499 #
40500 # Written by Andrew Zabolotny, bit@freya.etu.ru
40501 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
40502 #
40503 # This script will accept a set of files on the command line.
40504 # All the public symbols from the .o files will be exported into
40505 # a .DEF file, then linker will be run (through gcc) against them to
40506 # build a shared library consisting of all given .o files. All libraries
40507 # (.a) will be first decompressed into component .o files then act as
40508 # described above. You can optionally give a description (-d "description")
40509 # which will be put into .DLL. To see the list of accepted options (as well
40510 # as command-line format) simply run this program without options. The .DLL
40511 # is built to be imported by name (there is no guarantee that new versions
40512 # of the library you build will have same ordinals for same symbols).
40513 #
40514 # dllar is free software; you can redistribute it and/or modify
40515 # it under the terms of the GNU General Public License as published by
40516 # the Free Software Foundation; either version 2, or (at your option)
40517 # any later version.
40518 #
40519 # dllar is distributed in the hope that it will be useful,
40520 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40521 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40522 # GNU General Public License for more details.
40523 #
40524 # You should have received a copy of the GNU General Public License
40525 # along with dllar; see the file COPYING. If not, write to the Free
40526 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
40527 # 02111-1307, USA.
40528
40529 # To successfuly run this program you will need:
40530 # - Current drive should have LFN support (HPFS, ext2, network, etc)
40531 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
40532 # - gcc
40533 # (used to build the .dll)
40534 # - emxexp
40535 # (used to create .def file from .o files)
40536 # - emximp
40537 # (used to create .a file from .def file)
40538 # - GNU text utilites (cat, sort, uniq)
40539 # used to process emxexp output
40540 # - GNU file utilities (mv, rm)
40541 # - GNU sed
40542 # - lxlite (optional, see flag below)
40543 # (used for general .dll cleanup)
40544 #
40545
40546 flag_USE_LXLITE=1;
40547
40548 #
40549 # helper functions
40550 # basnam, variant of basename, which does _not_ remove the path, _iff_
40551 # second argument (suffix to remove) is given
40552 basnam(){
40553 case ${D}# in
40554 1)
40555 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
40556 ;;
40557 2)
40558 echo ${D}1 | sed 's/'${D}2'${D}//'
40559 ;;
40560 *)
40561 echo "error in basnam ${D}*"
40562 exit 8
40563 ;;
40564 esac
40565 }
40566
40567 # Cleanup temporary files and output
40568 CleanUp() {
40569 cd ${D}curDir
40570 for i in ${D}inputFiles ; do
40571 case ${D}i in
40572 *!)
40573 rm -rf \`basnam ${D}i !\`
40574 ;;
40575 *)
40576 ;;
40577 esac
40578 done
40579
40580 # Kill result in case of failure as there is just to many stupid make/nmake
40581 # things out there which doesn't do this.
40582 if [ ${D}# -eq 0 ]; then
40583 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40584 fi
40585 }
40586
40587 # Print usage and exit script with rc=1.
40588 PrintHelp() {
40589 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40590 echo ' [-name-mangler-script script.sh]'
40591 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40592 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40593 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40594 echo ' [*.o] [*.a]'
40595 echo '*> "output_file" should have no extension.'
40596 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40597 echo ' The import library name is derived from this and is set to "name".a,'
40598 echo ' unless overridden by -import'
40599 echo '*> "importlib_name" should have no extension.'
40600 echo ' If it has the .o, or .a extension, it is automatically removed.'
40601 echo ' This name is used as the import library name and may be longer and'
40602 echo ' more descriptive than the DLL name which has to follow the old '
40603 echo ' 8.3 convention of FAT.'
40604 echo '*> "script.sh may be given to override the output_file name by a'
40605 echo ' different name. It is mainly useful if the regular make process'
40606 echo ' of some package does not take into account OS/2 restriction of'
40607 echo ' DLL name lengths. It takes the importlib name as input and is'
40608 echo ' supposed to procude a shorter name as output. The script should'
40609 echo ' expect to get importlib_name without extension and should produce'
40610 echo ' a (max.) 8 letter name without extension.'
40611 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40612 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40613 echo ' These flags will be put at the start of GCC command line.'
40614 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40615 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40616 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40617 echo ' If the last character of a symbol is "*", all symbols beginning'
40618 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40619 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40620 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40621 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40622 echo ' C runtime DLLs.'
40623 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40624 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40625 echo ' unchanged to GCC at the end of command line.'
40626 echo '*> If you create a DLL from a library and you do not specify -o,'
40627 echo ' the basename for DLL and import library will be set to library name,'
40628 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40629 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40630 echo ' library will be renamed into gcc_s.a.'
40631 echo '--------'
40632 echo 'Example:'
40633 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40634 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40635 CleanUp
40636 exit 1
40637 }
40638
40639 # Execute a command.
40640 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40641 # @Uses Whatever CleanUp() uses.
40642 doCommand() {
40643 echo "${D}*"
40644 eval ${D}*
40645 rcCmd=${D}?
40646
40647 if [ ${D}rcCmd -ne 0 ]; then
40648 echo "command failed, exit code="${D}rcCmd
40649 CleanUp
40650 exit ${D}rcCmd
40651 fi
40652 }
40653
40654 # main routine
40655 # setup globals
40656 cmdLine=${D}*
40657 outFile=""
40658 outimpFile=""
40659 inputFiles=""
40660 renameScript=""
40661 description=""
40662 CC=gcc.exe
40663 CFLAGS="-s -Zcrtdll"
40664 EXTRA_CFLAGS=""
40665 EXPORT_BY_ORDINALS=0
40666 exclude_symbols=""
40667 library_flags=""
40668 curDir=\`pwd\`
40669 curDirS=curDir
40670 case ${D}curDirS in
40671 */)
40672 ;;
40673 *)
40674 curDirS=${D}{curDirS}"/"
40675 ;;
40676 esac
40677 # Parse commandline
40678 libsToLink=0
40679 omfLinking=0
40680 while [ ${D}1 ]; do
40681 case ${D}1 in
40682 -ord*)
40683 EXPORT_BY_ORDINALS=1;
40684 ;;
40685 -o*)
40686 shift
40687 outFile=${D}1
40688 ;;
40689 -i*)
40690 shift
40691 outimpFile=${D}1
40692 ;;
40693 -name-mangler-script)
40694 shift
40695 renameScript=${D}1
40696 ;;
40697 -d*)
40698 shift
40699 description=${D}1
40700 ;;
40701 -f*)
40702 shift
40703 CFLAGS=${D}1
40704 ;;
40705 -c*)
40706 shift
40707 CC=${D}1
40708 ;;
40709 -h*)
40710 PrintHelp
40711 ;;
40712 -ex*)
40713 shift
40714 exclude_symbols=${D}{exclude_symbols}${D}1" "
40715 ;;
40716 -libf*)
40717 shift
40718 library_flags=${D}{library_flags}${D}1" "
40719 ;;
40720 -nocrt*)
40721 CFLAGS="-s"
40722 ;;
40723 -nolxl*)
40724 flag_USE_LXLITE=0
40725 ;;
40726 -* | /*)
40727 case ${D}1 in
40728 -L* | -l*)
40729 libsToLink=1
40730 ;;
40731 -Zomf)
40732 omfLinking=1
40733 ;;
40734 *)
40735 ;;
40736 esac
40737 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40738 ;;
40739 *.dll)
40740 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40741 if [ ${D}omfLinking -eq 1 ]; then
40742 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40743 else
40744 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40745 fi
40746 ;;
40747 *)
40748 found=0;
40749 if [ ${D}libsToLink -ne 0 ]; then
40750 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40751 else
40752 for file in ${D}1 ; do
40753 if [ -f ${D}file ]; then
40754 inputFiles="${D}{inputFiles} ${D}file"
40755 found=1
40756 fi
40757 done
40758 if [ ${D}found -eq 0 ]; then
40759 echo "ERROR: No file(s) found: "${D}1
40760 exit 8
40761 fi
40762 fi
40763 ;;
40764 esac
40765 shift
40766 done # iterate cmdline words
40767
40768 #
40769 if [ -z "${D}inputFiles" ]; then
40770 echo "dllar: no input files"
40771 PrintHelp
40772 fi
40773
40774 # Now extract all .o files from .a files
40775 newInputFiles=""
40776 for file in ${D}inputFiles ; do
40777 case ${D}file in
40778 *.a | *.lib)
40779 case ${D}file in
40780 *.a)
40781 suffix=".a"
40782 AR="ar"
40783 ;;
40784 *.lib)
40785 suffix=".lib"
40786 AR="emxomfar"
40787 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40788 ;;
40789 *)
40790 ;;
40791 esac
40792 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40793 mkdir ${D}dirname
40794 if [ ${D}? -ne 0 ]; then
40795 echo "Failed to create subdirectory ./${D}dirname"
40796 CleanUp
40797 exit 8;
40798 fi
40799 # Append '!' to indicate archive
40800 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40801 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40802 cd ${D}curDir
40803 found=0;
40804 for subfile in ${D}dirname/*.o* ; do
40805 if [ -f ${D}subfile ]; then
40806 found=1
40807 if [ -s ${D}subfile ]; then
40808 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40809 newInputFiles="${D}newInputFiles ${D}subfile"
40810 fi
40811 fi
40812 done
40813 if [ ${D}found -eq 0 ]; then
40814 echo "WARNING: there are no files in archive \\'${D}file\\'"
40815 fi
40816 ;;
40817 *)
40818 newInputFiles="${D}{newInputFiles} ${D}file"
40819 ;;
40820 esac
40821 done
40822 inputFiles="${D}newInputFiles"
40823
40824 # Output filename(s).
40825 do_backup=0;
40826 if [ -z ${D}outFile ]; then
40827 do_backup=1;
40828 set outFile ${D}inputFiles; outFile=${D}2
40829 fi
40830
40831 # If it is an archive, remove the '!' and the '_%' suffixes
40832 case ${D}outFile in
40833 *_%!)
40834 outFile=\`basnam ${D}outFile _%!\`
40835 ;;
40836 *)
40837 ;;
40838 esac
40839 case ${D}outFile in
40840 *.dll)
40841 outFile=\`basnam ${D}outFile .dll\`
40842 ;;
40843 *.DLL)
40844 outFile=\`basnam ${D}outFile .DLL\`
40845 ;;
40846 *.o)
40847 outFile=\`basnam ${D}outFile .o\`
40848 ;;
40849 *.obj)
40850 outFile=\`basnam ${D}outFile .obj\`
40851 ;;
40852 *.a)
40853 outFile=\`basnam ${D}outFile .a\`
40854 ;;
40855 *.lib)
40856 outFile=\`basnam ${D}outFile .lib\`
40857 ;;
40858 *)
40859 ;;
40860 esac
40861 case ${D}outimpFile in
40862 *.a)
40863 outimpFile=\`basnam ${D}outimpFile .a\`
40864 ;;
40865 *.lib)
40866 outimpFile=\`basnam ${D}outimpFile .lib\`
40867 ;;
40868 *)
40869 ;;
40870 esac
40871 if [ -z ${D}outimpFile ]; then
40872 outimpFile=${D}outFile
40873 fi
40874 defFile="${D}{outFile}.def"
40875 arcFile="${D}{outimpFile}.a"
40876 arcFile2="${D}{outimpFile}.lib"
40877
40878 #create ${D}dllFile as something matching 8.3 restrictions,
40879 if [ -z ${D}renameScript ] ; then
40880 dllFile="${D}outFile"
40881 else
40882 dllFile=\`${D}renameScript ${D}outimpFile\`
40883 fi
40884
40885 if [ ${D}do_backup -ne 0 ] ; then
40886 if [ -f ${D}arcFile ] ; then
40887 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40888 fi
40889 if [ -f ${D}arcFile2 ] ; then
40890 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40891 fi
40892 fi
40893
40894 # Extract public symbols from all the object files.
40895 tmpdefFile=${D}{defFile}_%
40896 rm -f ${D}tmpdefFile
40897 for file in ${D}inputFiles ; do
40898 case ${D}file in
40899 *!)
40900 ;;
40901 *)
40902 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40903 ;;
40904 esac
40905 done
40906
40907 # Create the def file.
40908 rm -f ${D}defFile
40909 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40910 dllFile="${D}{dllFile}.dll"
40911 if [ ! -z ${D}description ]; then
40912 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40913 fi
40914 echo "EXPORTS" >> ${D}defFile
40915
40916 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40917 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40918
40919 # Checks if the export is ok or not.
40920 for word in ${D}exclude_symbols; do
40921 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40922 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40923 done
40924
40925
40926 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40927 sed "=" < ${D}tmpdefFile | \\
40928 sed '
40929 N
40930 : loop
40931 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40932 t loop
40933 ' > ${D}{tmpdefFile}%
40934 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40935 else
40936 rm -f ${D}{tmpdefFile}%
40937 fi
40938 cat ${D}tmpdefFile >> ${D}defFile
40939 rm -f ${D}tmpdefFile
40940
40941 # Do linking, create implib, and apply lxlite.
40942 gccCmdl="";
40943 for file in ${D}inputFiles ; do
40944 case ${D}file in
40945 *!)
40946 ;;
40947 *)
40948 gccCmdl="${D}gccCmdl ${D}file"
40949 ;;
40950 esac
40951 done
40952 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40953 touch "${D}{outFile}.dll"
40954
40955 doCommand "emximp -o ${D}arcFile ${D}defFile"
40956 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40957 add_flags="";
40958 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40959 add_flags="-ynd"
40960 fi
40961 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40962 fi
40963 doCommand "emxomf -s -l ${D}arcFile"
40964
40965 # Successful exit.
40966 CleanUp 1
40967 exit 0
40968 EOF
40969
40970 chmod +x dllar.sh
40971 ;;
40972
40973 powerpc-apple-macos* | \
40974 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40975 *-*-sunos4* | \
40976 *-*-osf* | \
40977 *-*-dgux5* | \
40978 *-*-sysv5* )
40979 ;;
40980
40981 *)
40982 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40983 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40984 { (exit 1); exit 1; }; }
40985 esac
40986
40987 if test "x$PIC_FLAG" != "x" ; then
40988 PIC_FLAG="$PIC_FLAG -DPIC"
40989 fi
40990
40991 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40992 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
40993 fi
40994 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40995 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
40996 fi
40997
40998
40999
41000
41001
41002
41003
41004
41005 USE_SOVERSION=0
41006 USE_SOVERLINUX=0
41007 USE_SOVERSOLARIS=0
41008 USE_SOSYMLINKS=0
41009 USE_MACVERSION=0
41010 SONAME_FLAG=
41011
41012 case "${BAKEFILE_HOST}" in
41013 *-*-linux* | *-*-freebsd* )
41014 SONAME_FLAG="-Wl,-soname,"
41015 USE_SOVERSION=1
41016 USE_SOVERLINUX=1
41017 USE_SOSYMLINKS=1
41018 ;;
41019
41020 *-*-solaris2* )
41021 SONAME_FLAG="-h "
41022 USE_SOVERSION=1
41023 USE_SOVERSOLARIS=1
41024 USE_SOSYMLINKS=1
41025 ;;
41026
41027 *-*-darwin* )
41028 USE_MACVERSION=1
41029 USE_SOVERSION=1
41030 USE_SOSYMLINKS=1
41031 ;;
41032 esac
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
41043 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
41044 DEPS_TRACKING=0
41045
41046 if test "x$GCC" = "xyes"; then
41047 DEPSMODE=gcc
41048 DEPS_TRACKING=1
41049 case "${BAKEFILE_HOST}" in
41050 powerpc-*-darwin* )
41051 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
41052 ;;
41053 * )
41054 DEPSFLAG_GCC="-MMD"
41055 ;;
41056 esac
41057 echo "$as_me:$LINENO: result: gcc" >&5
41058 echo "${ECHO_T}gcc" >&6
41059 elif test "x$MWCC" = "xyes"; then
41060 DEPSMODE=mwcc
41061 DEPS_TRACKING=1
41062 DEPSFLAG_MWCC="-MM"
41063 echo "$as_me:$LINENO: result: mwcc" >&5
41064 echo "${ECHO_T}mwcc" >&6
41065 else
41066 echo "$as_me:$LINENO: result: none" >&5
41067 echo "${ECHO_T}none" >&6
41068 fi
41069
41070 if test $DEPS_TRACKING = 1 ; then
41071
41072 D='$'
41073 cat <<EOF >bk-deps
41074 #!/bin/sh
41075
41076 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41077 # script. It is used to track C/C++ files dependencies in portable way.
41078 #
41079 # Permission is given to use this file in any way.
41080
41081 DEPSMODE=${DEPSMODE}
41082 DEPSDIR=.deps
41083 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
41084 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
41085
41086 mkdir -p ${D}DEPSDIR
41087
41088 if test ${D}DEPSMODE = gcc ; then
41089 ${D}* ${D}{DEPSFLAG_GCC}
41090 status=${D}?
41091 if test ${D}{status} != 0 ; then
41092 exit ${D}{status}
41093 fi
41094 # move created file to the location we want it in:
41095 while test ${D}# -gt 0; do
41096 case "${D}1" in
41097 -o )
41098 shift
41099 objfile=${D}1
41100 ;;
41101 -* )
41102 ;;
41103 * )
41104 srcfile=${D}1
41105 ;;
41106 esac
41107 shift
41108 done
41109 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
41110 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
41111 if test -f ${D}depfile ; then
41112 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41113 rm -f ${D}depfile
41114 else
41115 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
41116 if test -f ${D}depfile ; then
41117 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41118 rm -f ${D}depfile
41119 fi
41120 fi
41121 exit 0
41122 elif test ${D}DEPSMODE = mwcc ; then
41123 ${D}*
41124 status=${D}?
41125 if test ${D}{status} != 0 ; then
41126 exit ${D}{status}
41127 fi
41128 # Run mwcc again with -MM and redirect into the dep file we want
41129 # NOTE: We can't use shift here because we need ${D}* to be valid
41130 prevarg=
41131 for arg in ${D}* ; do
41132 if test "${D}prevarg" = "-o"; then
41133 objfile=${D}arg
41134 else
41135 case "${D}arg" in
41136 -* )
41137 ;;
41138 * )
41139 srcfile=${D}arg
41140 ;;
41141 esac
41142 fi
41143 prevarg="${D}arg"
41144 done
41145 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
41146 exit 0
41147 else
41148 ${D}*
41149 exit ${D}?
41150 fi
41151 EOF
41152
41153 chmod +x bk-deps
41154 fi
41155
41156
41157
41158
41159 RESCOMP=
41160 SETFILE=
41161
41162 case ${BAKEFILE_HOST} in
41163 *-*-cygwin* | *-*-mingw32* )
41164 if test "$build" != "$host" ; then
41165 RESCOMP=$host_alias-windres
41166 else
41167 # Extract the first word of "windres", so it can be a program name with args.
41168 set dummy windres; ac_word=$2
41169 echo "$as_me:$LINENO: checking for $ac_word" >&5
41170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41171 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41172 echo $ECHO_N "(cached) $ECHO_C" >&6
41173 else
41174 if test -n "$RESCOMP"; then
41175 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
41176 else
41177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41178 for as_dir in $PATH
41179 do
41180 IFS=$as_save_IFS
41181 test -z "$as_dir" && as_dir=.
41182 for ac_exec_ext in '' $ac_executable_extensions; do
41183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41184 ac_cv_prog_RESCOMP="windres"
41185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41186 break 2
41187 fi
41188 done
41189 done
41190
41191 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
41192 fi
41193 fi
41194 RESCOMP=$ac_cv_prog_RESCOMP
41195 if test -n "$RESCOMP"; then
41196 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41197 echo "${ECHO_T}$RESCOMP" >&6
41198 else
41199 echo "$as_me:$LINENO: result: no" >&5
41200 echo "${ECHO_T}no" >&6
41201 fi
41202
41203 fi
41204 ;;
41205
41206 *-*-darwin* | powerpc-apple-macos* )
41207 # Extract the first word of "Rez", so it can be a program name with args.
41208 set dummy Rez; ac_word=$2
41209 echo "$as_me:$LINENO: checking for $ac_word" >&5
41210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41211 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41212 echo $ECHO_N "(cached) $ECHO_C" >&6
41213 else
41214 if test -n "$RESCOMP"; then
41215 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
41216 else
41217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41218 for as_dir in $PATH
41219 do
41220 IFS=$as_save_IFS
41221 test -z "$as_dir" && as_dir=.
41222 for ac_exec_ext in '' $ac_executable_extensions; do
41223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41224 ac_cv_prog_RESCOMP="Rez"
41225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41226 break 2
41227 fi
41228 done
41229 done
41230
41231 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
41232 fi
41233 fi
41234 RESCOMP=$ac_cv_prog_RESCOMP
41235 if test -n "$RESCOMP"; then
41236 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41237 echo "${ECHO_T}$RESCOMP" >&6
41238 else
41239 echo "$as_me:$LINENO: result: no" >&5
41240 echo "${ECHO_T}no" >&6
41241 fi
41242
41243 # Extract the first word of "SetFile", so it can be a program name with args.
41244 set dummy SetFile; ac_word=$2
41245 echo "$as_me:$LINENO: checking for $ac_word" >&5
41246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41247 if test "${ac_cv_prog_SETFILE+set}" = set; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 else
41250 if test -n "$SETFILE"; then
41251 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
41252 else
41253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41254 for as_dir in $PATH
41255 do
41256 IFS=$as_save_IFS
41257 test -z "$as_dir" && as_dir=.
41258 for ac_exec_ext in '' $ac_executable_extensions; do
41259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41260 ac_cv_prog_SETFILE="SetFile"
41261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41262 break 2
41263 fi
41264 done
41265 done
41266
41267 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
41268 fi
41269 fi
41270 SETFILE=$ac_cv_prog_SETFILE
41271 if test -n "$SETFILE"; then
41272 echo "$as_me:$LINENO: result: $SETFILE" >&5
41273 echo "${ECHO_T}$SETFILE" >&6
41274 else
41275 echo "$as_me:$LINENO: result: no" >&5
41276 echo "${ECHO_T}no" >&6
41277 fi
41278
41279 ;;
41280 esac
41281
41282
41283
41284
41285
41286 BAKEFILE_BAKEFILE_M4_VERSION="0.1.7"
41287
41288
41289 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.7"
41290
41291
41292
41293 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
41294 if test "${enable_precomp_headers+set}" = set; then
41295 enableval="$enable_precomp_headers"
41296 bk_use_pch="$enableval"
41297 fi;
41298
41299 GCC_PCH=0
41300
41301 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
41302 if test "x$GCC" = "xyes"; then
41303 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
41304 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
41305 cat >conftest.$ac_ext <<_ACEOF
41306 /* confdefs.h. */
41307 _ACEOF
41308 cat confdefs.h >>conftest.$ac_ext
41309 cat >>conftest.$ac_ext <<_ACEOF
41310 /* end confdefs.h. */
41311
41312 int
41313 main ()
41314 {
41315
41316 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
41317 #error "no pch support"
41318 #endif
41319 #if (__GNUC__ < 3)
41320 #error "no pch support"
41321 #endif
41322 #if (__GNUC__ == 3) && \
41323 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
41324 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
41325 #error "no pch support"
41326 #endif
41327
41328 ;
41329 return 0;
41330 }
41331 _ACEOF
41332 rm -f conftest.$ac_objext
41333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41334 (eval $ac_compile) 2>conftest.er1
41335 ac_status=$?
41336 grep -v '^ *+' conftest.er1 >conftest.err
41337 rm -f conftest.er1
41338 cat conftest.err >&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); } &&
41341 { ac_try='test -z "$ac_c_werror_flag"
41342 || test ! -s conftest.err'
41343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41344 (eval $ac_try) 2>&5
41345 ac_status=$?
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); }; } &&
41348 { ac_try='test -s conftest.$ac_objext'
41349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41350 (eval $ac_try) 2>&5
41351 ac_status=$?
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); }; }; then
41354
41355 echo "$as_me:$LINENO: result: yes" >&5
41356 echo "${ECHO_T}yes" >&6
41357 GCC_PCH=1
41358
41359 else
41360 echo "$as_me: failed program was:" >&5
41361 sed 's/^/| /' conftest.$ac_ext >&5
41362
41363
41364 echo "$as_me:$LINENO: result: no" >&5
41365 echo "${ECHO_T}no" >&6
41366
41367 fi
41368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41369 if test $GCC_PCH = 1 ; then
41370
41371 D='$'
41372 cat <<EOF >bk-make-pch
41373 #!/bin/sh
41374
41375 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41376 # script. It is used to generated precompiled headers.
41377 #
41378 # Permission is given to use this file in any way.
41379
41380 outfile="${D}{1}"
41381 header="${D}{2}"
41382 shift
41383 shift
41384
41385 compiler=
41386 headerfile=
41387 while test ${D}{#} -gt 0; do
41388 case "${D}{1}" in
41389 -I* )
41390 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
41391 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
41392 headerfile="${D}{incdir}/${D}{header}"
41393 fi
41394 ;;
41395 esac
41396 compiler="${D}{compiler} ${D}{1}"
41397 shift
41398 done
41399
41400 if test "x${D}{headerfile}" = "x" ; then
41401 echo "error: can't find header ${D}{header} in include paths" >2
41402 else
41403 if test -f ${D}{outfile} ; then
41404 rm -f ${D}{outfile}
41405 else
41406 mkdir -p \`dirname ${D}{outfile}\`
41407 fi
41408 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
41409 mkdir -p .deps
41410 # can do this because gcc is >= 3.4:
41411 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
41412 exit ${D}{?}
41413 fi
41414 EOF
41415
41416 chmod +x bk-make-pch
41417 fi
41418 fi
41419 fi
41420
41421
41422
41423 COND_BUILD_DEBUG="#"
41424 if test "x$BUILD" = "xdebug" ; then
41425 COND_BUILD_DEBUG=""
41426 fi
41427
41428 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
41429 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41430 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
41431 fi
41432
41433 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
41434 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41435 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
41436 fi
41437
41438 COND_BUILD_DEBUG_UNICODE_0="#"
41439 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41440 COND_BUILD_DEBUG_UNICODE_0=""
41441 fi
41442
41443 COND_BUILD_DEBUG_UNICODE_1="#"
41444 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41445 COND_BUILD_DEBUG_UNICODE_1=""
41446 fi
41447
41448 COND_BUILD_RELEASE="#"
41449 if test "x$BUILD" = "xrelease" ; then
41450 COND_BUILD_RELEASE=""
41451 fi
41452
41453 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
41454 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41455 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
41456 fi
41457
41458 COND_BUILD_RELEASE_UNICODE_0="#"
41459 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41460 COND_BUILD_RELEASE_UNICODE_0=""
41461 fi
41462
41463 COND_BUILD_RELEASE_UNICODE_1="#"
41464 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41465 COND_BUILD_RELEASE_UNICODE_1=""
41466 fi
41467
41468 COND_DEBUG_FLAG_1="#"
41469 if test "x$DEBUG_FLAG" = "x1" ; then
41470 COND_DEBUG_FLAG_1=""
41471 fi
41472
41473 COND_DEBUG_INFO_0="#"
41474 if test "x$DEBUG_INFO" = "x0" ; then
41475 COND_DEBUG_INFO_0=""
41476 fi
41477
41478 COND_DEBUG_INFO_1="#"
41479 if test "x$DEBUG_INFO" = "x1" ; then
41480 COND_DEBUG_INFO_1=""
41481 fi
41482
41483 COND_DEPS_TRACKING_0="#"
41484 if test "x$DEPS_TRACKING" = "x0" ; then
41485 COND_DEPS_TRACKING_0=""
41486 fi
41487
41488 COND_DEPS_TRACKING_1="#"
41489 if test "x$DEPS_TRACKING" = "x1" ; then
41490 COND_DEPS_TRACKING_1=""
41491 fi
41492
41493 COND_GCC_PCH_1="#"
41494 if test "x$GCC_PCH" = "x1" ; then
41495 COND_GCC_PCH_1=""
41496 fi
41497
41498 COND_MONOLITHIC_0="#"
41499 if test "x$MONOLITHIC" = "x0" ; then
41500 COND_MONOLITHIC_0=""
41501 fi
41502
41503 COND_MONOLITHIC_0_SHARED_0="#"
41504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41505 COND_MONOLITHIC_0_SHARED_0=""
41506 fi
41507
41508 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
41509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41510 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
41511 fi
41512
41513 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
41514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41515 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
41516 fi
41517
41518 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
41519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41520 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
41521 fi
41522
41523 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41525 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41526 fi
41527
41528 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
41529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41530 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
41531 fi
41532
41533 COND_MONOLITHIC_0_SHARED_1="#"
41534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41535 COND_MONOLITHIC_0_SHARED_1=""
41536 fi
41537
41538 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41541 fi
41542
41543 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
41544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41545 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
41546 fi
41547
41548 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41551 fi
41552
41553 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41554 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41555 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41556 fi
41557
41558 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
41559 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41560 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
41561 fi
41562
41563 COND_MONOLITHIC_0_USE_ODBC_1="#"
41564 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41565 COND_MONOLITHIC_0_USE_ODBC_1=""
41566 fi
41567
41568 COND_MONOLITHIC_1="#"
41569 if test "x$MONOLITHIC" = "x1" ; then
41570 COND_MONOLITHIC_1=""
41571 fi
41572
41573 COND_MONOLITHIC_1_SHARED_0="#"
41574 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41575 COND_MONOLITHIC_1_SHARED_0=""
41576 fi
41577
41578 COND_MONOLITHIC_1_SHARED_1="#"
41579 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41580 COND_MONOLITHIC_1_SHARED_1=""
41581 fi
41582
41583 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41584 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41585 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41586 fi
41587
41588 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41589 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41590 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41591 fi
41592
41593 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41594 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41595 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41596 fi
41597
41598 COND_PLATFORM_MACOSX_1="#"
41599 if test "x$PLATFORM_MACOSX" = "x1" ; then
41600 COND_PLATFORM_MACOSX_1=""
41601 fi
41602
41603 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
41604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41605 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
41606 fi
41607
41608 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41610 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41611 fi
41612
41613 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41615 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41616 fi
41617
41618 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41620 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41621 fi
41622
41623 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
41624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41625 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
41626 fi
41627
41628 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41630 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41631 fi
41632
41633 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
41634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41635 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
41636 fi
41637
41638 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
41639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41640 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
41641 fi
41642
41643 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41645 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41646 fi
41647
41648 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41650 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41651 fi
41652
41653 COND_PLATFORM_MACOS_1="#"
41654 if test "x$PLATFORM_MACOS" = "x1" ; then
41655 COND_PLATFORM_MACOS_1=""
41656 fi
41657
41658 COND_PLATFORM_MAC_1="#"
41659 if test "x$PLATFORM_MAC" = "x1" ; then
41660 COND_PLATFORM_MAC_1=""
41661 fi
41662
41663 COND_PLATFORM_OS2_1="#"
41664 if test "x$PLATFORM_OS2" = "x1" ; then
41665 COND_PLATFORM_OS2_1=""
41666 fi
41667
41668 COND_PLATFORM_UNIX_0="#"
41669 if test "x$PLATFORM_UNIX" = "x0" ; then
41670 COND_PLATFORM_UNIX_0=""
41671 fi
41672
41673 COND_PLATFORM_UNIX_1="#"
41674 if test "x$PLATFORM_UNIX" = "x1" ; then
41675 COND_PLATFORM_UNIX_1=""
41676 fi
41677
41678 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41679 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41680 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41681 fi
41682
41683 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41684 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41685 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41686 fi
41687
41688 COND_PLATFORM_WIN32_0="#"
41689 if test "x$PLATFORM_WIN32" = "x0" ; then
41690 COND_PLATFORM_WIN32_0=""
41691 fi
41692
41693 COND_PLATFORM_WIN32_1="#"
41694 if test "x$PLATFORM_WIN32" = "x1" ; then
41695 COND_PLATFORM_WIN32_1=""
41696 fi
41697
41698 COND_SHARED_0="#"
41699 if test "x$SHARED" = "x0" ; then
41700 COND_SHARED_0=""
41701 fi
41702
41703 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
41704 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41705 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
41706 fi
41707
41708 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
41709 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41710 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
41711 fi
41712
41713 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
41714 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41715 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
41716 fi
41717
41718 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41719 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41720 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41721 fi
41722
41723 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41724 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41725 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41726 fi
41727
41728 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41729 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41730 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41731 fi
41732
41733 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41734 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41735 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41736 fi
41737
41738 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41739 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41740 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41741 fi
41742
41743 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41744 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41745 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41746 fi
41747
41748 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41749 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41750 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41751 fi
41752
41753 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41754 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41755 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41756 fi
41757
41758 COND_SHARED_1="#"
41759 if test "x$SHARED" = "x1" ; then
41760 COND_SHARED_1=""
41761 fi
41762
41763 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41764 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41765 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41766 fi
41767
41768 COND_TOOLKIT_="#"
41769 if test "x$TOOLKIT" = "x" ; then
41770 COND_TOOLKIT_=""
41771 fi
41772
41773 COND_TOOLKIT_COCOA="#"
41774 if test "x$TOOLKIT" = "xCOCOA" ; then
41775 COND_TOOLKIT_COCOA=""
41776 fi
41777
41778 COND_TOOLKIT_COCOA_USE_GUI_1="#"
41779 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41780 COND_TOOLKIT_COCOA_USE_GUI_1=""
41781 fi
41782
41783 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41784 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41785 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41786 fi
41787
41788 COND_TOOLKIT_GTK="#"
41789 if test "x$TOOLKIT" = "xGTK" ; then
41790 COND_TOOLKIT_GTK=""
41791 fi
41792
41793 COND_TOOLKIT_GTK_USE_GUI_1="#"
41794 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41795 COND_TOOLKIT_GTK_USE_GUI_1=""
41796 fi
41797
41798 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41799 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41800 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41801 fi
41802
41803 COND_TOOLKIT_MAC="#"
41804 if test "x$TOOLKIT" = "xMAC" ; then
41805 COND_TOOLKIT_MAC=""
41806 fi
41807
41808 COND_TOOLKIT_MAC_USE_GUI_1="#"
41809 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41810 COND_TOOLKIT_MAC_USE_GUI_1=""
41811 fi
41812
41813 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41814 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41815 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41816 fi
41817
41818 COND_TOOLKIT_MGL="#"
41819 if test "x$TOOLKIT" = "xMGL" ; then
41820 COND_TOOLKIT_MGL=""
41821 fi
41822
41823 COND_TOOLKIT_MGL_USE_GUI_1="#"
41824 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41825 COND_TOOLKIT_MGL_USE_GUI_1=""
41826 fi
41827
41828 COND_TOOLKIT_MOTIF="#"
41829 if test "x$TOOLKIT" = "xMOTIF" ; then
41830 COND_TOOLKIT_MOTIF=""
41831 fi
41832
41833 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41834 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41835 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41836 fi
41837
41838 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41839 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41840 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41841 fi
41842
41843 COND_TOOLKIT_MSW="#"
41844 if test "x$TOOLKIT" = "xMSW" ; then
41845 COND_TOOLKIT_MSW=""
41846 fi
41847
41848 COND_TOOLKIT_MSW_USE_GUI_1="#"
41849 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41850 COND_TOOLKIT_MSW_USE_GUI_1=""
41851 fi
41852
41853 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41854 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41855 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41856 fi
41857
41858 COND_TOOLKIT_PM="#"
41859 if test "x$TOOLKIT" = "xPM" ; then
41860 COND_TOOLKIT_PM=""
41861 fi
41862
41863 COND_TOOLKIT_PM_USE_GUI_1="#"
41864 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41865 COND_TOOLKIT_PM_USE_GUI_1=""
41866 fi
41867
41868 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41869 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41870 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41871 fi
41872
41873 COND_TOOLKIT_WINCE="#"
41874 if test "x$TOOLKIT" = "xWINCE" ; then
41875 COND_TOOLKIT_WINCE=""
41876 fi
41877
41878 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41879 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41880 COND_TOOLKIT_WINCE_USE_GUI_1=""
41881 fi
41882
41883 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41884 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41885 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41886 fi
41887
41888 COND_TOOLKIT_X11="#"
41889 if test "x$TOOLKIT" = "xX11" ; then
41890 COND_TOOLKIT_X11=""
41891 fi
41892
41893 COND_TOOLKIT_X11_USE_GUI_1="#"
41894 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41895 COND_TOOLKIT_X11_USE_GUI_1=""
41896 fi
41897
41898 COND_UNICODE_1="#"
41899 if test "x$UNICODE" = "x1" ; then
41900 COND_UNICODE_1=""
41901 fi
41902
41903 COND_USE_EXCEPTIONS_0="#"
41904 if test "x$USE_EXCEPTIONS" = "x0" ; then
41905 COND_USE_EXCEPTIONS_0=""
41906 fi
41907
41908 COND_USE_EXCEPTIONS_1="#"
41909 if test "x$USE_EXCEPTIONS" = "x1" ; then
41910 COND_USE_EXCEPTIONS_1=""
41911 fi
41912
41913 COND_USE_GUI_0="#"
41914 if test "x$USE_GUI" = "x0" ; then
41915 COND_USE_GUI_0=""
41916 fi
41917
41918 COND_USE_GUI_1="#"
41919 if test "x$USE_GUI" = "x1" ; then
41920 COND_USE_GUI_1=""
41921 fi
41922
41923 COND_USE_GUI_1_WXUNIV_0="#"
41924 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41925 COND_USE_GUI_1_WXUNIV_0=""
41926 fi
41927
41928 COND_USE_GUI_1_WXUNIV_1="#"
41929 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41930 COND_USE_GUI_1_WXUNIV_1=""
41931 fi
41932
41933 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41934 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41935 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41936 fi
41937
41938 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41939 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41940 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41941 fi
41942
41943 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41944 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41946 fi
41947
41948 COND_USE_ODBC_1="#"
41949 if test "x$USE_ODBC" = "x1" ; then
41950 COND_USE_ODBC_1=""
41951 fi
41952
41953 COND_USE_OPENGL_1="#"
41954 if test "x$USE_OPENGL" = "x1" ; then
41955 COND_USE_OPENGL_1=""
41956 fi
41957
41958 COND_USE_PLUGINS_0="#"
41959 if test "x$USE_PLUGINS" = "x0" ; then
41960 COND_USE_PLUGINS_0=""
41961 fi
41962
41963 COND_USE_SOSYMLINKS_1="#"
41964 if test "x$USE_SOSYMLINKS" = "x1" ; then
41965 COND_USE_SOSYMLINKS_1=""
41966 fi
41967
41968 COND_USE_SOVERLINUX_1="#"
41969 if test "x$USE_SOVERLINUX" = "x1" ; then
41970 COND_USE_SOVERLINUX_1=""
41971 fi
41972
41973 COND_USE_SOVERSION_0="#"
41974 if test "x$USE_SOVERSION" = "x0" ; then
41975 COND_USE_SOVERSION_0=""
41976 fi
41977
41978 COND_USE_SOVERSOLARIS_1="#"
41979 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41980 COND_USE_SOVERSOLARIS_1=""
41981 fi
41982
41983 COND_USE_XRC_1="#"
41984 if test "x$USE_XRC" = "x1" ; then
41985 COND_USE_XRC_1=""
41986 fi
41987
41988 COND_WITH_PLUGIN_SDL_1="#"
41989 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41990 COND_WITH_PLUGIN_SDL_1=""
41991 fi
41992
41993 COND_WXUNIV_0="#"
41994 if test "x$WXUNIV" = "x0" ; then
41995 COND_WXUNIV_0=""
41996 fi
41997
41998 COND_WXUNIV_1="#"
41999 if test "x$WXUNIV" = "x1" ; then
42000 COND_WXUNIV_1=""
42001 fi
42002
42003 COND_WXUSE_EXPAT_BUILTIN="#"
42004 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
42005 COND_WXUSE_EXPAT_BUILTIN=""
42006 fi
42007
42008 COND_WXUSE_LIBJPEG_BUILTIN="#"
42009 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42010 COND_WXUSE_LIBJPEG_BUILTIN=""
42011 fi
42012
42013 COND_WXUSE_LIBPNG_BUILTIN="#"
42014 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42015 COND_WXUSE_LIBPNG_BUILTIN=""
42016 fi
42017
42018 COND_WXUSE_LIBTIFF_BUILTIN="#"
42019 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42020 COND_WXUSE_LIBTIFF_BUILTIN=""
42021 fi
42022
42023 COND_WXUSE_ODBC_BUILTIN="#"
42024 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
42025 COND_WXUSE_ODBC_BUILTIN=""
42026 fi
42027
42028 COND_WXUSE_REGEX_BUILTIN="#"
42029 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
42030 COND_WXUSE_REGEX_BUILTIN=""
42031 fi
42032
42033 COND_WXUSE_ZLIB_BUILTIN="#"
42034 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
42035 COND_WXUSE_ZLIB_BUILTIN=""
42036 fi
42037
42038
42039
42040 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
42041 { { 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
42042 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;}
42043 { (exit 1); exit 1; }; }
42044 fi
42045
42046
42047 if test "$wxUSE_SHARED" = "yes"; then
42048
42049 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
42050 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
42051
42052 case "${host}" in
42053 *-pc-os2_emx | *-pc-os2-emx )
42054 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42055 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42056 cp -p ${srcdir}/src/os2/dllnames.sh .
42057 cp -p ${srcdir}/src/os2/dllar.sh .
42058 ;;
42059 esac
42060 else
42061
42062 EXE_LINKER="$CXX -o"
42063
42064 fi
42065
42066 GCC_PRAGMA_FLAGS=""
42067 PCH_FLAGS=""
42068 if test $GCC_PCH = 1 ; then
42069 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42070 PCH_FLAGS="-DWX_PRECOMP"
42071 else
42072 case "${host}" in
42073 powerpc-*-darwin* )
42074 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42075 ;;
42076 *-*-mingw32* )
42077 if test "$wxUSE_STL" = "yes" -o \
42078 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42079 "$wxUSE_NO_RTTI" != "yes"; then
42080 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42081 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42082 cat >conftest.$ac_ext <<_ACEOF
42083 /* confdefs.h. */
42084 _ACEOF
42085 cat confdefs.h >>conftest.$ac_ext
42086 cat >>conftest.$ac_ext <<_ACEOF
42087 /* end confdefs.h. */
42088
42089 int
42090 main ()
42091 {
42092 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42093 #error "Not GCC 3.2 or greater"
42094 #endif
42095
42096 ;
42097 return 0;
42098 }
42099 _ACEOF
42100 rm -f conftest.$ac_objext
42101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42102 (eval $ac_compile) 2>conftest.er1
42103 ac_status=$?
42104 grep -v '^ *+' conftest.er1 >conftest.err
42105 rm -f conftest.er1
42106 cat conftest.err >&5
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); } &&
42109 { ac_try='test -z "$ac_c_werror_flag"
42110 || test ! -s conftest.err'
42111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42112 (eval $ac_try) 2>&5
42113 ac_status=$?
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); }; } &&
42116 { ac_try='test -s conftest.$ac_objext'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42119 ac_status=$?
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; }; then
42122 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42123 echo "$as_me:$LINENO: result: yes" >&5
42124 echo "${ECHO_T}yes" >&6
42125 else
42126 echo "$as_me: failed program was:" >&5
42127 sed 's/^/| /' conftest.$ac_ext >&5
42128
42129 echo "$as_me:$LINENO: result: no" >&5
42130 echo "${ECHO_T}no" >&6
42131 fi
42132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42133 fi
42134 ;;
42135 *-pc-os2_emx | *-pc-os2-emx )
42136 if test "$wxUSE_STL" = "yes"; then
42137 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
42138 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42139 cat >conftest.$ac_ext <<_ACEOF
42140 /* confdefs.h. */
42141 _ACEOF
42142 cat confdefs.h >>conftest.$ac_ext
42143 cat >>conftest.$ac_ext <<_ACEOF
42144 /* end confdefs.h. */
42145
42146 int
42147 main ()
42148 {
42149 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42150 #error "Not GCC 3.2 or greater"
42151 #endif
42152
42153 ;
42154 return 0;
42155 }
42156 _ACEOF
42157 rm -f conftest.$ac_objext
42158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42159 (eval $ac_compile) 2>conftest.er1
42160 ac_status=$?
42161 grep -v '^ *+' conftest.er1 >conftest.err
42162 rm -f conftest.er1
42163 cat conftest.err >&5
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); } &&
42166 { ac_try='test -z "$ac_c_werror_flag"
42167 || test ! -s conftest.err'
42168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42169 (eval $ac_try) 2>&5
42170 ac_status=$?
42171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42172 (exit $ac_status); }; } &&
42173 { ac_try='test -s conftest.$ac_objext'
42174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42175 (eval $ac_try) 2>&5
42176 ac_status=$?
42177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42178 (exit $ac_status); }; }; then
42179 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42180 echo "$as_me:$LINENO: result: yes" >&5
42181 echo "${ECHO_T}yes" >&6
42182 else
42183 echo "$as_me: failed program was:" >&5
42184 sed 's/^/| /' conftest.$ac_ext >&5
42185
42186 echo "$as_me:$LINENO: result: no" >&5
42187 echo "${ECHO_T}no" >&6
42188 fi
42189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42190 fi
42191 ;;
42192 esac
42193 fi
42194 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
42195
42196
42197 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
42229
42230
42231
42232
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244
42245
42246
42247
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260
42261 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42262 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42263 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
42264 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42265 echo $ECHO_N "(cached) $ECHO_C" >&6
42266 else
42267 cat >conftest.make <<\_ACEOF
42268 all:
42269 @echo 'ac_maketemp="$(MAKE)"'
42270 _ACEOF
42271 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42272 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42273 if test -n "$ac_maketemp"; then
42274 eval ac_cv_prog_make_${ac_make}_set=yes
42275 else
42276 eval ac_cv_prog_make_${ac_make}_set=no
42277 fi
42278 rm -f conftest.make
42279 fi
42280 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42281 echo "$as_me:$LINENO: result: yes" >&5
42282 echo "${ECHO_T}yes" >&6
42283 SET_MAKE=
42284 else
42285 echo "$as_me:$LINENO: result: no" >&5
42286 echo "${ECHO_T}no" >&6
42287 SET_MAKE="MAKE=${MAKE-make}"
42288 fi
42289
42290
42291
42292 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
42293
42294
42295 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
42296
42297
42298 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
42299
42300
42301 ac_config_files="$ac_config_files version-script Makefile"
42302
42303
42304 ac_config_commands="$ac_config_commands wx-config
42305 "
42306
42307
42308
42309
42310 if test "$wxUSE_GUI" = "yes"; then
42311 SUBDIRS="samples demos utils contrib"
42312 else SUBDIRS="samples utils"
42313 fi
42314
42315
42316
42317 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42318 if test "${with_cppunit_prefix+set}" = set; then
42319 withval="$with_cppunit_prefix"
42320 cppunit_config_prefix="$withval"
42321 else
42322 cppunit_config_prefix=""
42323 fi;
42324
42325 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42326 if test "${with_cppunit_exec_prefix+set}" = set; then
42327 withval="$with_cppunit_exec_prefix"
42328 cppunit_config_exec_prefix="$withval"
42329 else
42330 cppunit_config_exec_prefix=""
42331 fi;
42332
42333 if test x$cppunit_config_exec_prefix != x ; then
42334 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42335 if test x${CPPUNIT_CONFIG+set} != xset ; then
42336 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
42337 fi
42338 fi
42339 if test x$cppunit_config_prefix != x ; then
42340 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
42341 if test x${CPPUNIT_CONFIG+set} != xset ; then
42342 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
42343 fi
42344 fi
42345
42346 # Extract the first word of "cppunit-config", so it can be a program name with args.
42347 set dummy cppunit-config; ac_word=$2
42348 echo "$as_me:$LINENO: checking for $ac_word" >&5
42349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42350 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42351 echo $ECHO_N "(cached) $ECHO_C" >&6
42352 else
42353 case $CPPUNIT_CONFIG in
42354 [\\/]* | ?:[\\/]*)
42355 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42356 ;;
42357 *)
42358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42359 for as_dir in $PATH
42360 do
42361 IFS=$as_save_IFS
42362 test -z "$as_dir" && as_dir=.
42363 for ac_exec_ext in '' $ac_executable_extensions; do
42364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42365 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42367 break 2
42368 fi
42369 done
42370 done
42371
42372 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
42373 ;;
42374 esac
42375 fi
42376 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
42377
42378 if test -n "$CPPUNIT_CONFIG"; then
42379 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42380 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42381 else
42382 echo "$as_me:$LINENO: result: no" >&5
42383 echo "${ECHO_T}no" >&6
42384 fi
42385
42386 cppunit_version_min=1.8.0
42387
42388 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42389 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42390 no_cppunit=""
42391 if test "$CPPUNIT_CONFIG" = "no" ; then
42392 no_cppunit=yes
42393 else
42394 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
42395 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
42396 cppunit_version=`$CPPUNIT_CONFIG --version`
42397
42398 cppunit_major_version=`echo $cppunit_version | \
42399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42400 cppunit_minor_version=`echo $cppunit_version | \
42401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42402 cppunit_micro_version=`echo $cppunit_version | \
42403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42404
42405 cppunit_major_min=`echo $cppunit_version_min | \
42406 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42407 cppunit_minor_min=`echo $cppunit_version_min | \
42408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42409 cppunit_micro_min=`echo $cppunit_version_min | \
42410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42411
42412 cppunit_version_proper=`expr \
42413 $cppunit_major_version \> $cppunit_major_min \| \
42414 $cppunit_major_version \= $cppunit_major_min \& \
42415 $cppunit_minor_version \> $cppunit_minor_min \| \
42416 $cppunit_major_version \= $cppunit_major_min \& \
42417 $cppunit_minor_version \= $cppunit_minor_min \& \
42418 $cppunit_micro_version \>= $cppunit_micro_min `
42419
42420 if test "$cppunit_version_proper" = "1" ; then
42421 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42422 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42423 else
42424 echo "$as_me:$LINENO: result: no" >&5
42425 echo "${ECHO_T}no" >&6
42426 no_cppunit=yes
42427 fi
42428 fi
42429
42430 if test "x$no_cppunit" = x ; then
42431 SUBDIRS="$SUBDIRS tests"
42432 else
42433 CPPUNIT_CFLAGS=""
42434 CPPUNIT_LIBS=""
42435 :
42436 fi
42437
42438
42439
42440
42441
42442 for subdir in `echo $SUBDIRS`; do
42443 if test -d ${srcdir}/${subdir} ; then
42444 if test "$wxUSE_GUI" = "yes"; then
42445 if test ${subdir} = "samples"; then
42446 makefiles="samples/Makefile.in $makefiles"
42447 for sample in `echo $SAMPLES_SUBDIRS`; do
42448 if test -d $srcdir/samples/$sample; then
42449 makefiles="samples/$sample/Makefile.in $makefiles"
42450 fi
42451 done
42452 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42453 fi
42454 else if test ${subdir} = "samples"; then
42455 makefiles="samples/Makefile.in samples/console/Makefile.in"
42456 elif test ${subdir} = "utils"; then
42457 makefiles=""
42458 for util in HelpGen tex2rtf ; do
42459 if test -d $srcdir/utils/$util ; then
42460 makefiles="utils/$util/Makefile.in \
42461 utils/$util/src/Makefile.in \
42462 $makefiles"
42463 fi
42464 done
42465 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42466 fi
42467 fi
42468
42469 for mkin in $makefiles ; do
42470 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42471 ac_config_files="$ac_config_files $mk"
42472
42473 done
42474 fi
42475 done
42476
42477
42478 cat >confcache <<\_ACEOF
42479 # This file is a shell script that caches the results of configure
42480 # tests run on this system so they can be shared between configure
42481 # scripts and configure runs, see configure's option --config-cache.
42482 # It is not useful on other systems. If it contains results you don't
42483 # want to keep, you may remove or edit it.
42484 #
42485 # config.status only pays attention to the cache file if you give it
42486 # the --recheck option to rerun configure.
42487 #
42488 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42489 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42490 # following values.
42491
42492 _ACEOF
42493
42494 # The following way of writing the cache mishandles newlines in values,
42495 # but we know of no workaround that is simple, portable, and efficient.
42496 # So, don't put newlines in cache variables' values.
42497 # Ultrix sh set writes to stderr and can't be redirected directly,
42498 # and sets the high bit in the cache file unless we assign to the vars.
42499 {
42500 (set) 2>&1 |
42501 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42502 *ac_space=\ *)
42503 # `set' does not quote correctly, so add quotes (double-quote
42504 # substitution turns \\\\ into \\, and sed turns \\ into \).
42505 sed -n \
42506 "s/'/'\\\\''/g;
42507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42508 ;;
42509 *)
42510 # `set' quotes correctly as required by POSIX, so do not add quotes.
42511 sed -n \
42512 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42513 ;;
42514 esac;
42515 } |
42516 sed '
42517 t clear
42518 : clear
42519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42520 t end
42521 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42522 : end' >>confcache
42523 if diff $cache_file confcache >/dev/null 2>&1; then :; else
42524 if test -w $cache_file; then
42525 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42526 cat confcache >$cache_file
42527 else
42528 echo "not updating unwritable cache $cache_file"
42529 fi
42530 fi
42531 rm -f confcache
42532
42533 test "x$prefix" = xNONE && prefix=$ac_default_prefix
42534 # Let make expand exec_prefix.
42535 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42536
42537 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42538 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42539 # trailing colons and then remove the whole line if VPATH becomes empty
42540 # (actually we leave an empty line to preserve line numbers).
42541 if test "x$srcdir" = x.; then
42542 ac_vpsub='/^[ ]*VPATH[ ]*=/{
42543 s/:*\$(srcdir):*/:/;
42544 s/:*\${srcdir}:*/:/;
42545 s/:*@srcdir@:*/:/;
42546 s/^\([^=]*=[ ]*\):*/\1/;
42547 s/:*$//;
42548 s/^[^=]*=[ ]*$//;
42549 }'
42550 fi
42551
42552 DEFS=-DHAVE_CONFIG_H
42553
42554 ac_libobjs=
42555 ac_ltlibobjs=
42556 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42557 # 1. Remove the extension, and $U if already installed.
42558 ac_i=`echo "$ac_i" |
42559 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42560 # 2. Add them.
42561 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
42562 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
42563 done
42564 LIBOBJS=$ac_libobjs
42565
42566 LTLIBOBJS=$ac_ltlibobjs
42567
42568
42569
42570 : ${CONFIG_STATUS=./config.status}
42571 ac_clean_files_save=$ac_clean_files
42572 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
42573 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42574 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42575 cat >$CONFIG_STATUS <<_ACEOF
42576 #! $SHELL
42577 # Generated by $as_me.
42578 # Run this file to recreate the current configuration.
42579 # Compiler output produced by configure, useful for debugging
42580 # configure, is in config.log if it exists.
42581
42582 debug=false
42583 ac_cs_recheck=false
42584 ac_cs_silent=false
42585 SHELL=\${CONFIG_SHELL-$SHELL}
42586 _ACEOF
42587
42588 cat >>$CONFIG_STATUS <<\_ACEOF
42589 ## --------------------- ##
42590 ## M4sh Initialization. ##
42591 ## --------------------- ##
42592
42593 # Be Bourne compatible
42594 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42595 emulate sh
42596 NULLCMD=:
42597 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42598 # is contrary to our usage. Disable this feature.
42599 alias -g '${1+"$@"}'='"$@"'
42600 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42601 set -o posix
42602 fi
42603 DUALCASE=1; export DUALCASE # for MKS sh
42604
42605 # Support unset when possible.
42606 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42607 as_unset=unset
42608 else
42609 as_unset=false
42610 fi
42611
42612
42613 # Work around bugs in pre-3.0 UWIN ksh.
42614 $as_unset ENV MAIL MAILPATH
42615 PS1='$ '
42616 PS2='> '
42617 PS4='+ '
42618
42619 # NLS nuisances.
42620 for as_var in \
42621 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42622 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42623 LC_TELEPHONE LC_TIME
42624 do
42625 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42626 eval $as_var=C; export $as_var
42627 else
42628 $as_unset $as_var
42629 fi
42630 done
42631
42632 # Required to use basename.
42633 if expr a : '\(a\)' >/dev/null 2>&1; then
42634 as_expr=expr
42635 else
42636 as_expr=false
42637 fi
42638
42639 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42640 as_basename=basename
42641 else
42642 as_basename=false
42643 fi
42644
42645
42646 # Name of the executable.
42647 as_me=`$as_basename "$0" ||
42648 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42649 X"$0" : 'X\(//\)$' \| \
42650 X"$0" : 'X\(/\)$' \| \
42651 . : '\(.\)' 2>/dev/null ||
42652 echo X/"$0" |
42653 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42654 /^X\/\(\/\/\)$/{ s//\1/; q; }
42655 /^X\/\(\/\).*/{ s//\1/; q; }
42656 s/.*/./; q'`
42657
42658
42659 # PATH needs CR, and LINENO needs CR and PATH.
42660 # Avoid depending upon Character Ranges.
42661 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42662 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42663 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42664 as_cr_digits='0123456789'
42665 as_cr_alnum=$as_cr_Letters$as_cr_digits
42666
42667 # The user is always right.
42668 if test "${PATH_SEPARATOR+set}" != set; then
42669 echo "#! /bin/sh" >conf$$.sh
42670 echo "exit 0" >>conf$$.sh
42671 chmod +x conf$$.sh
42672 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42673 PATH_SEPARATOR=';'
42674 else
42675 PATH_SEPARATOR=:
42676 fi
42677 rm -f conf$$.sh
42678 fi
42679
42680
42681 as_lineno_1=$LINENO
42682 as_lineno_2=$LINENO
42683 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42684 test "x$as_lineno_1" != "x$as_lineno_2" &&
42685 test "x$as_lineno_3" = "x$as_lineno_2" || {
42686 # Find who we are. Look in the path if we contain no path at all
42687 # relative or not.
42688 case $0 in
42689 *[\\/]* ) as_myself=$0 ;;
42690 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42691 for as_dir in $PATH
42692 do
42693 IFS=$as_save_IFS
42694 test -z "$as_dir" && as_dir=.
42695 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42696 done
42697
42698 ;;
42699 esac
42700 # We did not find ourselves, most probably we were run as `sh COMMAND'
42701 # in which case we are not to be found in the path.
42702 if test "x$as_myself" = x; then
42703 as_myself=$0
42704 fi
42705 if test ! -f "$as_myself"; then
42706 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42707 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42708 { (exit 1); exit 1; }; }
42709 fi
42710 case $CONFIG_SHELL in
42711 '')
42712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42713 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42714 do
42715 IFS=$as_save_IFS
42716 test -z "$as_dir" && as_dir=.
42717 for as_base in sh bash ksh sh5; do
42718 case $as_dir in
42719 /*)
42720 if ("$as_dir/$as_base" -c '
42721 as_lineno_1=$LINENO
42722 as_lineno_2=$LINENO
42723 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42724 test "x$as_lineno_1" != "x$as_lineno_2" &&
42725 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42726 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42727 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42728 CONFIG_SHELL=$as_dir/$as_base
42729 export CONFIG_SHELL
42730 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42731 fi;;
42732 esac
42733 done
42734 done
42735 ;;
42736 esac
42737
42738 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42739 # uniformly replaced by the line number. The first 'sed' inserts a
42740 # line-number line before each line; the second 'sed' does the real
42741 # work. The second script uses 'N' to pair each line-number line
42742 # with the numbered line, and appends trailing '-' during
42743 # substitution so that $LINENO is not a special case at line end.
42744 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42745 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42746 sed '=' <$as_myself |
42747 sed '
42748 N
42749 s,$,-,
42750 : loop
42751 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42752 t loop
42753 s,-$,,
42754 s,^['$as_cr_digits']*\n,,
42755 ' >$as_me.lineno &&
42756 chmod +x $as_me.lineno ||
42757 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42758 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42759 { (exit 1); exit 1; }; }
42760
42761 # Don't try to exec as it changes $[0], causing all sort of problems
42762 # (the dirname of $[0] is not the place where we might find the
42763 # original and so on. Autoconf is especially sensible to this).
42764 . ./$as_me.lineno
42765 # Exit status is that of the last command.
42766 exit
42767 }
42768
42769
42770 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42771 *c*,-n*) ECHO_N= ECHO_C='
42772 ' ECHO_T=' ' ;;
42773 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42774 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42775 esac
42776
42777 if expr a : '\(a\)' >/dev/null 2>&1; then
42778 as_expr=expr
42779 else
42780 as_expr=false
42781 fi
42782
42783 rm -f conf$$ conf$$.exe conf$$.file
42784 echo >conf$$.file
42785 if ln -s conf$$.file conf$$ 2>/dev/null; then
42786 # We could just check for DJGPP; but this test a) works b) is more generic
42787 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42788 if test -f conf$$.exe; then
42789 # Don't use ln at all; we don't have any links
42790 as_ln_s='cp -p'
42791 else
42792 as_ln_s='ln -s'
42793 fi
42794 elif ln conf$$.file conf$$ 2>/dev/null; then
42795 as_ln_s=ln
42796 else
42797 as_ln_s='cp -p'
42798 fi
42799 rm -f conf$$ conf$$.exe conf$$.file
42800
42801 if mkdir -p . 2>/dev/null; then
42802 as_mkdir_p=:
42803 else
42804 test -d ./-p && rmdir ./-p
42805 as_mkdir_p=false
42806 fi
42807
42808 as_executable_p="test -f"
42809
42810 # Sed expression to map a string onto a valid CPP name.
42811 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42812
42813 # Sed expression to map a string onto a valid variable name.
42814 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42815
42816
42817 # IFS
42818 # We need space, tab and new line, in precisely that order.
42819 as_nl='
42820 '
42821 IFS=" $as_nl"
42822
42823 # CDPATH.
42824 $as_unset CDPATH
42825
42826 exec 6>&1
42827
42828 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42829 # report actual input values of CONFIG_FILES etc. instead of their
42830 # values after options handling. Logging --version etc. is OK.
42831 exec 5>>config.log
42832 {
42833 echo
42834 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42835 ## Running $as_me. ##
42836 _ASBOX
42837 } >&5
42838 cat >&5 <<_CSEOF
42839
42840 This file was extended by wxWidgets $as_me 2.5.4, which was
42841 generated by GNU Autoconf 2.59. Invocation command line was
42842
42843 CONFIG_FILES = $CONFIG_FILES
42844 CONFIG_HEADERS = $CONFIG_HEADERS
42845 CONFIG_LINKS = $CONFIG_LINKS
42846 CONFIG_COMMANDS = $CONFIG_COMMANDS
42847 $ $0 $@
42848
42849 _CSEOF
42850 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42851 echo >&5
42852 _ACEOF
42853
42854 # Files that config.status was made for.
42855 if test -n "$ac_config_files"; then
42856 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42857 fi
42858
42859 if test -n "$ac_config_headers"; then
42860 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42861 fi
42862
42863 if test -n "$ac_config_links"; then
42864 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42865 fi
42866
42867 if test -n "$ac_config_commands"; then
42868 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42869 fi
42870
42871 cat >>$CONFIG_STATUS <<\_ACEOF
42872
42873 ac_cs_usage="\
42874 \`$as_me' instantiates files from templates according to the
42875 current configuration.
42876
42877 Usage: $0 [OPTIONS] [FILE]...
42878
42879 -h, --help print this help, then exit
42880 -V, --version print version number, then exit
42881 -q, --quiet do not print progress messages
42882 -d, --debug don't remove temporary files
42883 --recheck update $as_me by reconfiguring in the same conditions
42884 --file=FILE[:TEMPLATE]
42885 instantiate the configuration file FILE
42886 --header=FILE[:TEMPLATE]
42887 instantiate the configuration header FILE
42888
42889 Configuration files:
42890 $config_files
42891
42892 Configuration headers:
42893 $config_headers
42894
42895 Configuration commands:
42896 $config_commands
42897
42898 Report bugs to <bug-autoconf@gnu.org>."
42899 _ACEOF
42900
42901 cat >>$CONFIG_STATUS <<_ACEOF
42902 ac_cs_version="\\
42903 wxWidgets config.status 2.5.4
42904 configured by $0, generated by GNU Autoconf 2.59,
42905 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42906
42907 Copyright (C) 2003 Free Software Foundation, Inc.
42908 This config.status script is free software; the Free Software Foundation
42909 gives unlimited permission to copy, distribute and modify it."
42910 srcdir=$srcdir
42911 INSTALL="$INSTALL"
42912 _ACEOF
42913
42914 cat >>$CONFIG_STATUS <<\_ACEOF
42915 # If no file are specified by the user, then we need to provide default
42916 # value. By we need to know if files were specified by the user.
42917 ac_need_defaults=:
42918 while test $# != 0
42919 do
42920 case $1 in
42921 --*=*)
42922 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42923 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42924 ac_shift=:
42925 ;;
42926 -*)
42927 ac_option=$1
42928 ac_optarg=$2
42929 ac_shift=shift
42930 ;;
42931 *) # This is not an option, so the user has probably given explicit
42932 # arguments.
42933 ac_option=$1
42934 ac_need_defaults=false;;
42935 esac
42936
42937 case $ac_option in
42938 # Handling of the options.
42939 _ACEOF
42940 cat >>$CONFIG_STATUS <<\_ACEOF
42941 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42942 ac_cs_recheck=: ;;
42943 --version | --vers* | -V )
42944 echo "$ac_cs_version"; exit 0 ;;
42945 --he | --h)
42946 # Conflict between --help and --header
42947 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42948 Try \`$0 --help' for more information." >&5
42949 echo "$as_me: error: ambiguous option: $1
42950 Try \`$0 --help' for more information." >&2;}
42951 { (exit 1); exit 1; }; };;
42952 --help | --hel | -h )
42953 echo "$ac_cs_usage"; exit 0 ;;
42954 --debug | --d* | -d )
42955 debug=: ;;
42956 --file | --fil | --fi | --f )
42957 $ac_shift
42958 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42959 ac_need_defaults=false;;
42960 --header | --heade | --head | --hea )
42961 $ac_shift
42962 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42963 ac_need_defaults=false;;
42964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42965 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42966 ac_cs_silent=: ;;
42967
42968 # This is an error.
42969 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42970 Try \`$0 --help' for more information." >&5
42971 echo "$as_me: error: unrecognized option: $1
42972 Try \`$0 --help' for more information." >&2;}
42973 { (exit 1); exit 1; }; } ;;
42974
42975 *) ac_config_targets="$ac_config_targets $1" ;;
42976
42977 esac
42978 shift
42979 done
42980
42981 ac_configure_extra_args=
42982
42983 if $ac_cs_silent; then
42984 exec 6>/dev/null
42985 ac_configure_extra_args="$ac_configure_extra_args --silent"
42986 fi
42987
42988 _ACEOF
42989 cat >>$CONFIG_STATUS <<_ACEOF
42990 if \$ac_cs_recheck; then
42991 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42992 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42993 fi
42994
42995 _ACEOF
42996
42997 cat >>$CONFIG_STATUS <<_ACEOF
42998 #
42999 # INIT-COMMANDS section.
43000 #
43001
43002 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43003 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43004 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43005 LN_S="${LN_S}"
43006
43007
43008 _ACEOF
43009
43010
43011
43012 cat >>$CONFIG_STATUS <<\_ACEOF
43013 for ac_config_target in $ac_config_targets
43014 do
43015 case "$ac_config_target" in
43016 # Handling of arguments.
43017 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
43018 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
43019 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
43020 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
43021 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
43022 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
43023 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
43024 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43025 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43026 { (exit 1); exit 1; }; };;
43027 esac
43028 done
43029
43030 # If the user did not use the arguments to specify the items to instantiate,
43031 # then the envvar interface is used. Set only those that are not.
43032 # We use the long form for the default assignment because of an extremely
43033 # bizarre bug on SunOS 4.1.3.
43034 if $ac_need_defaults; then
43035 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
43036 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
43037 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
43038 fi
43039
43040 # Have a temporary directory for convenience. Make it in the build tree
43041 # simply because there is no reason to put it here, and in addition,
43042 # creating and moving files from /tmp can sometimes cause problems.
43043 # Create a temporary directory, and hook for its removal unless debugging.
43044 $debug ||
43045 {
43046 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43047 trap '{ (exit 1); exit 1; }' 1 2 13 15
43048 }
43049
43050 # Create a (secure) tmp directory for tmp files.
43051
43052 {
43053 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43054 test -n "$tmp" && test -d "$tmp"
43055 } ||
43056 {
43057 tmp=./confstat$$-$RANDOM
43058 (umask 077 && mkdir $tmp)
43059 } ||
43060 {
43061 echo "$me: cannot create a temporary directory in ." >&2
43062 { (exit 1); exit 1; }
43063 }
43064
43065 _ACEOF
43066
43067 cat >>$CONFIG_STATUS <<_ACEOF
43068
43069 #
43070 # CONFIG_FILES section.
43071 #
43072
43073 # No need to generate the scripts if there are no CONFIG_FILES.
43074 # This happens for instance when ./config.status config.h
43075 if test -n "\$CONFIG_FILES"; then
43076 # Protect against being on the right side of a sed subst in config.status.
43077 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43078 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43079 s,@SHELL@,$SHELL,;t t
43080 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43081 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43082 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43083 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43084 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43085 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43086 s,@exec_prefix@,$exec_prefix,;t t
43087 s,@prefix@,$prefix,;t t
43088 s,@program_transform_name@,$program_transform_name,;t t
43089 s,@bindir@,$bindir,;t t
43090 s,@sbindir@,$sbindir,;t t
43091 s,@libexecdir@,$libexecdir,;t t
43092 s,@datadir@,$datadir,;t t
43093 s,@sysconfdir@,$sysconfdir,;t t
43094 s,@sharedstatedir@,$sharedstatedir,;t t
43095 s,@localstatedir@,$localstatedir,;t t
43096 s,@libdir@,$libdir,;t t
43097 s,@includedir@,$includedir,;t t
43098 s,@oldincludedir@,$oldincludedir,;t t
43099 s,@infodir@,$infodir,;t t
43100 s,@mandir@,$mandir,;t t
43101 s,@build_alias@,$build_alias,;t t
43102 s,@host_alias@,$host_alias,;t t
43103 s,@target_alias@,$target_alias,;t t
43104 s,@DEFS@,$DEFS,;t t
43105 s,@ECHO_C@,$ECHO_C,;t t
43106 s,@ECHO_N@,$ECHO_N,;t t
43107 s,@ECHO_T@,$ECHO_T,;t t
43108 s,@LIBS@,$LIBS,;t t
43109 s,@build@,$build,;t t
43110 s,@build_cpu@,$build_cpu,;t t
43111 s,@build_vendor@,$build_vendor,;t t
43112 s,@build_os@,$build_os,;t t
43113 s,@host@,$host,;t t
43114 s,@host_cpu@,$host_cpu,;t t
43115 s,@host_vendor@,$host_vendor,;t t
43116 s,@host_os@,$host_os,;t t
43117 s,@target@,$target,;t t
43118 s,@target_cpu@,$target_cpu,;t t
43119 s,@target_vendor@,$target_vendor,;t t
43120 s,@target_os@,$target_os,;t t
43121 s,@CC@,$CC,;t t
43122 s,@CFLAGS@,$CFLAGS,;t t
43123 s,@LDFLAGS@,$LDFLAGS,;t t
43124 s,@CPPFLAGS@,$CPPFLAGS,;t t
43125 s,@ac_ct_CC@,$ac_ct_CC,;t t
43126 s,@EXEEXT@,$EXEEXT,;t t
43127 s,@OBJEXT@,$OBJEXT,;t t
43128 s,@CPP@,$CPP,;t t
43129 s,@EGREP@,$EGREP,;t t
43130 s,@CXX@,$CXX,;t t
43131 s,@CXXFLAGS@,$CXXFLAGS,;t t
43132 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43133 s,@RANLIB@,$RANLIB,;t t
43134 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43135 s,@AR@,$AR,;t t
43136 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43137 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43138 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43139 s,@STRIP@,$STRIP,;t t
43140 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43141 s,@LN_S@,$LN_S,;t t
43142 s,@CXXCPP@,$CXXCPP,;t t
43143 s,@subdirs@,$subdirs,;t t
43144 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43145 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43146 s,@GTK_LIBS@,$GTK_LIBS,;t t
43147 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43148 s,@X_CFLAGS@,$X_CFLAGS,;t t
43149 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43150 s,@X_LIBS@,$X_LIBS,;t t
43151 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43152 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43153 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43154 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43155 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43156 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43157 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43158 s,@RESCOMP@,$RESCOMP,;t t
43159 s,@DEREZ@,$DEREZ,;t t
43160 s,@SETFILE@,$SETFILE,;t t
43161 s,@LIBICONV@,$LIBICONV,;t t
43162 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43163 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43164 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43165 s,@SDL_LIBS@,$SDL_LIBS,;t t
43166 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
43167 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
43168 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
43169 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
43170 s,@GST_INSPECT@,$GST_INSPECT,;t t
43171 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43172 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43173 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43174 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43175 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43176 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43177 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43178 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43179 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43180 s,@VENDOR@,$VENDOR,;t t
43181 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43182 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
43183 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
43184 s,@WXUNIV@,$WXUNIV,;t t
43185 s,@MONOLITHIC@,$MONOLITHIC,;t t
43186 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43187 s,@EXTRALIBS@,$EXTRALIBS,;t t
43188 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43189 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43190 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43191 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43192 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43193 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43194 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43195 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
43196 s,@UNICODE@,$UNICODE,;t t
43197 s,@BUILD@,$BUILD,;t t
43198 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43199 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43200 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43201 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43202 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43203 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43204 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43205 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43206 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43207 s,@SET_MAKE@,$SET_MAKE,;t t
43208 s,@MAKE_SET@,$MAKE_SET,;t t
43209 s,@ac_ct_AR@,$ac_ct_AR,;t t
43210 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43211 s,@NM@,$NM,;t t
43212 s,@ac_ct_NM@,$ac_ct_NM,;t t
43213 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43214 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43215 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43216 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43217 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43218 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43219 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
43220 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43221 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43222 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
43223 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43224 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43225 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43226 s,@LIBPREFIX@,$LIBPREFIX,;t t
43227 s,@LIBEXT@,$LIBEXT,;t t
43228 s,@DLLPREFIX@,$DLLPREFIX,;t t
43229 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43230 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43231 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43232 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43233 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43234 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43235 s,@PIC_FLAG@,$PIC_FLAG,;t t
43236 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43237 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43238 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43239 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43240 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43241 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43242 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43243 s,@GCC_PCH@,$GCC_PCH,;t t
43244 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43245 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43246 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43247 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43248 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43249 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43250 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43251 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43252 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43253 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43254 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43255 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43256 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43257 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43258 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43259 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43260 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43261 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43262 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
43263 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
43264 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43265 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
43266 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43267 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43268 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
43269 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
43270 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43271 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
43272 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43273 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43274 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43275 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43276 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43277 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43278 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43279 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43280 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
43281 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43282 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43283 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43284 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
43285 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43286 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
43287 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
43288 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43289 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43290 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
43291 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43292 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43293 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43294 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43295 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43296 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43297 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43298 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43299 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43300 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
43301 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
43302 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
43303 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43304 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43305 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43306 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43307 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43308 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43309 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43310 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43311 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43312 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43313 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
43314 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43315 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
43316 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43317 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43318 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43319 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43320 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43321 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43322 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43323 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43324 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43325 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43326 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43327 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43328 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43329 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43330 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43331 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43332 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43333 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43334 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43335 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43336 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43337 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43338 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43339 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43340 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43341 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43342 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43343 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43344 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43345 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43346 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43347 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43348 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43349 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43350 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43351 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43352 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43353 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43354 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43355 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43356 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43357 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43358 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
43359 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43360 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43361 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43362 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43363 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43364 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43365 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43366 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43367 s,@SHARED@,$SHARED,;t t
43368 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43369 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43370 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43371 s,@USE_GUI@,$USE_GUI,;t t
43372 s,@AFMINSTALL@,$AFMINSTALL,;t t
43373 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43374 s,@TOOLKIT@,$TOOLKIT,;t t
43375 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43376 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43377 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43378 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43379 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43380 s,@cross_compiling@,$cross_compiling,;t t
43381 s,@WIDGET_SET@,$WIDGET_SET,;t t
43382 s,@WX_RELEASE@,$WX_RELEASE,;t t
43383 s,@WX_VERSION@,$WX_VERSION,;t t
43384 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43385 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43386 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43387 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43388 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43389 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43390 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43391 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43392 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43393 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43394 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43395 s,@EXE_LINKER@,$EXE_LINKER,;t t
43396 s,@GUIDIST@,$GUIDIST,;t t
43397 s,@DISTDIR@,$DISTDIR,;t t
43398 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43399 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43400 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43401 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43402 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43403 s,@RESFLAGS@,$RESFLAGS,;t t
43404 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43405 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43406 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43407 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43408 s,@MACRESCOMP@,$MACRESCOMP,;t t
43409 s,@MACSETFILE@,$MACSETFILE,;t t
43410 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43411 s,@GCC@,$GCC,;t t
43412 s,@DLLTOOL@,$DLLTOOL,;t t
43413 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43414 s,@LIBOBJS@,$LIBOBJS,;t t
43415 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43416 CEOF
43417
43418 _ACEOF
43419
43420 cat >>$CONFIG_STATUS <<\_ACEOF
43421 # Split the substitutions into bite-sized pieces for seds with
43422 # small command number limits, like on Digital OSF/1 and HP-UX.
43423 ac_max_sed_lines=48
43424 ac_sed_frag=1 # Number of current file.
43425 ac_beg=1 # First line for current file.
43426 ac_end=$ac_max_sed_lines # Line after last line for current file.
43427 ac_more_lines=:
43428 ac_sed_cmds=
43429 while $ac_more_lines; do
43430 if test $ac_beg -gt 1; then
43431 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43432 else
43433 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43434 fi
43435 if test ! -s $tmp/subs.frag; then
43436 ac_more_lines=false
43437 else
43438 # The purpose of the label and of the branching condition is to
43439 # speed up the sed processing (if there are no `@' at all, there
43440 # is no need to browse any of the substitutions).
43441 # These are the two extra sed commands mentioned above.
43442 (echo ':t
43443 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43444 if test -z "$ac_sed_cmds"; then
43445 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43446 else
43447 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43448 fi
43449 ac_sed_frag=`expr $ac_sed_frag + 1`
43450 ac_beg=$ac_end
43451 ac_end=`expr $ac_end + $ac_max_sed_lines`
43452 fi
43453 done
43454 if test -z "$ac_sed_cmds"; then
43455 ac_sed_cmds=cat
43456 fi
43457 fi # test -n "$CONFIG_FILES"
43458
43459 _ACEOF
43460 cat >>$CONFIG_STATUS <<\_ACEOF
43461 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43462 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43463 case $ac_file in
43464 - | *:- | *:-:* ) # input from stdin
43465 cat >$tmp/stdin
43466 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43467 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43468 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43469 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43470 * ) ac_file_in=$ac_file.in ;;
43471 esac
43472
43473 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43474 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43475 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43476 X"$ac_file" : 'X\(//\)[^/]' \| \
43477 X"$ac_file" : 'X\(//\)$' \| \
43478 X"$ac_file" : 'X\(/\)' \| \
43479 . : '\(.\)' 2>/dev/null ||
43480 echo X"$ac_file" |
43481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43483 /^X\(\/\/\)$/{ s//\1/; q; }
43484 /^X\(\/\).*/{ s//\1/; q; }
43485 s/.*/./; q'`
43486 { if $as_mkdir_p; then
43487 mkdir -p "$ac_dir"
43488 else
43489 as_dir="$ac_dir"
43490 as_dirs=
43491 while test ! -d "$as_dir"; do
43492 as_dirs="$as_dir $as_dirs"
43493 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43494 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43495 X"$as_dir" : 'X\(//\)[^/]' \| \
43496 X"$as_dir" : 'X\(//\)$' \| \
43497 X"$as_dir" : 'X\(/\)' \| \
43498 . : '\(.\)' 2>/dev/null ||
43499 echo X"$as_dir" |
43500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43501 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43502 /^X\(\/\/\)$/{ s//\1/; q; }
43503 /^X\(\/\).*/{ s//\1/; q; }
43504 s/.*/./; q'`
43505 done
43506 test ! -n "$as_dirs" || mkdir $as_dirs
43507 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43508 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43509 { (exit 1); exit 1; }; }; }
43510
43511 ac_builddir=.
43512
43513 if test "$ac_dir" != .; then
43514 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43515 # A "../" for each directory in $ac_dir_suffix.
43516 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43517 else
43518 ac_dir_suffix= ac_top_builddir=
43519 fi
43520
43521 case $srcdir in
43522 .) # No --srcdir option. We are building in place.
43523 ac_srcdir=.
43524 if test -z "$ac_top_builddir"; then
43525 ac_top_srcdir=.
43526 else
43527 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43528 fi ;;
43529 [\\/]* | ?:[\\/]* ) # Absolute path.
43530 ac_srcdir=$srcdir$ac_dir_suffix;
43531 ac_top_srcdir=$srcdir ;;
43532 *) # Relative path.
43533 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43534 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43535 esac
43536
43537 # Do not use `cd foo && pwd` to compute absolute paths, because
43538 # the directories may not exist.
43539 case `pwd` in
43540 .) ac_abs_builddir="$ac_dir";;
43541 *)
43542 case "$ac_dir" in
43543 .) ac_abs_builddir=`pwd`;;
43544 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43545 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43546 esac;;
43547 esac
43548 case $ac_abs_builddir in
43549 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43550 *)
43551 case ${ac_top_builddir}. in
43552 .) ac_abs_top_builddir=$ac_abs_builddir;;
43553 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43554 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43555 esac;;
43556 esac
43557 case $ac_abs_builddir in
43558 .) ac_abs_srcdir=$ac_srcdir;;
43559 *)
43560 case $ac_srcdir in
43561 .) ac_abs_srcdir=$ac_abs_builddir;;
43562 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43563 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43564 esac;;
43565 esac
43566 case $ac_abs_builddir in
43567 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43568 *)
43569 case $ac_top_srcdir in
43570 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43571 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43572 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43573 esac;;
43574 esac
43575
43576
43577 case $INSTALL in
43578 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43579 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43580 esac
43581
43582 if test x"$ac_file" != x-; then
43583 { echo "$as_me:$LINENO: creating $ac_file" >&5
43584 echo "$as_me: creating $ac_file" >&6;}
43585 rm -f "$ac_file"
43586 fi
43587 # Let's still pretend it is `configure' which instantiates (i.e., don't
43588 # use $as_me), people would be surprised to read:
43589 # /* config.h. Generated by config.status. */
43590 if test x"$ac_file" = x-; then
43591 configure_input=
43592 else
43593 configure_input="$ac_file. "
43594 fi
43595 configure_input=$configure_input"Generated from `echo $ac_file_in |
43596 sed 's,.*/,,'` by configure."
43597
43598 # First look for the input files in the build tree, otherwise in the
43599 # src tree.
43600 ac_file_inputs=`IFS=:
43601 for f in $ac_file_in; do
43602 case $f in
43603 -) echo $tmp/stdin ;;
43604 [\\/$]*)
43605 # Absolute (can't be DOS-style, as IFS=:)
43606 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43607 echo "$as_me: error: cannot find input file: $f" >&2;}
43608 { (exit 1); exit 1; }; }
43609 echo "$f";;
43610 *) # Relative
43611 if test -f "$f"; then
43612 # Build tree
43613 echo "$f"
43614 elif test -f "$srcdir/$f"; then
43615 # Source tree
43616 echo "$srcdir/$f"
43617 else
43618 # /dev/null tree
43619 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43620 echo "$as_me: error: cannot find input file: $f" >&2;}
43621 { (exit 1); exit 1; }; }
43622 fi;;
43623 esac
43624 done` || { (exit 1); exit 1; }
43625 _ACEOF
43626 cat >>$CONFIG_STATUS <<_ACEOF
43627 sed "$ac_vpsub
43628 $extrasub
43629 _ACEOF
43630 cat >>$CONFIG_STATUS <<\_ACEOF
43631 :t
43632 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43633 s,@configure_input@,$configure_input,;t t
43634 s,@srcdir@,$ac_srcdir,;t t
43635 s,@abs_srcdir@,$ac_abs_srcdir,;t t
43636 s,@top_srcdir@,$ac_top_srcdir,;t t
43637 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43638 s,@builddir@,$ac_builddir,;t t
43639 s,@abs_builddir@,$ac_abs_builddir,;t t
43640 s,@top_builddir@,$ac_top_builddir,;t t
43641 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43642 s,@INSTALL@,$ac_INSTALL,;t t
43643 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43644 rm -f $tmp/stdin
43645 if test x"$ac_file" != x-; then
43646 mv $tmp/out $ac_file
43647 else
43648 cat $tmp/out
43649 rm -f $tmp/out
43650 fi
43651
43652 # Run the commands associated with the file.
43653 case $ac_file in
43654 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43655 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43656 esac
43657 done
43658 _ACEOF
43659 cat >>$CONFIG_STATUS <<\_ACEOF
43660
43661 #
43662 # CONFIG_HEADER section.
43663 #
43664
43665 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43666 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43667 #
43668 # ac_d sets the value in "#define NAME VALUE" lines.
43669 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43670 ac_dB='[ ].*$,\1#\2'
43671 ac_dC=' '
43672 ac_dD=',;t'
43673 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43674 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43675 ac_uB='$,\1#\2define\3'
43676 ac_uC=' '
43677 ac_uD=',;t'
43678
43679 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43680 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43681 case $ac_file in
43682 - | *:- | *:-:* ) # input from stdin
43683 cat >$tmp/stdin
43684 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43685 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43686 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43687 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43688 * ) ac_file_in=$ac_file.in ;;
43689 esac
43690
43691 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43692 echo "$as_me: creating $ac_file" >&6;}
43693
43694 # First look for the input files in the build tree, otherwise in the
43695 # src tree.
43696 ac_file_inputs=`IFS=:
43697 for f in $ac_file_in; do
43698 case $f in
43699 -) echo $tmp/stdin ;;
43700 [\\/$]*)
43701 # Absolute (can't be DOS-style, as IFS=:)
43702 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43703 echo "$as_me: error: cannot find input file: $f" >&2;}
43704 { (exit 1); exit 1; }; }
43705 # Do quote $f, to prevent DOS paths from being IFS'd.
43706 echo "$f";;
43707 *) # Relative
43708 if test -f "$f"; then
43709 # Build tree
43710 echo "$f"
43711 elif test -f "$srcdir/$f"; then
43712 # Source tree
43713 echo "$srcdir/$f"
43714 else
43715 # /dev/null tree
43716 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43717 echo "$as_me: error: cannot find input file: $f" >&2;}
43718 { (exit 1); exit 1; }; }
43719 fi;;
43720 esac
43721 done` || { (exit 1); exit 1; }
43722 # Remove the trailing spaces.
43723 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43724
43725 _ACEOF
43726
43727 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43728 # `conftest.undefs', that substitutes the proper values into
43729 # config.h.in to produce config.h. The first handles `#define'
43730 # templates, and the second `#undef' templates.
43731 # And first: Protect against being on the right side of a sed subst in
43732 # config.status. Protect against being in an unquoted here document
43733 # in config.status.
43734 rm -f conftest.defines conftest.undefs
43735 # Using a here document instead of a string reduces the quoting nightmare.
43736 # Putting comments in sed scripts is not portable.
43737 #
43738 # `end' is used to avoid that the second main sed command (meant for
43739 # 0-ary CPP macros) applies to n-ary macro definitions.
43740 # See the Autoconf documentation for `clear'.
43741 cat >confdef2sed.sed <<\_ACEOF
43742 s/[\\&,]/\\&/g
43743 s,[\\$`],\\&,g
43744 t clear
43745 : clear
43746 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43747 t end
43748 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43749 : end
43750 _ACEOF
43751 # If some macros were called several times there might be several times
43752 # the same #defines, which is useless. Nevertheless, we may not want to
43753 # sort them, since we want the *last* AC-DEFINE to be honored.
43754 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43755 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43756 rm -f confdef2sed.sed
43757
43758 # This sed command replaces #undef with comments. This is necessary, for
43759 # example, in the case of _POSIX_SOURCE, which is predefined and required
43760 # on some systems where configure will not decide to define it.
43761 cat >>conftest.undefs <<\_ACEOF
43762 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43763 _ACEOF
43764
43765 # Break up conftest.defines because some shells have a limit on the size
43766 # of here documents, and old seds have small limits too (100 cmds).
43767 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43768 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43769 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43770 echo ' :' >>$CONFIG_STATUS
43771 rm -f conftest.tail
43772 while grep . conftest.defines >/dev/null
43773 do
43774 # Write a limited-size here document to $tmp/defines.sed.
43775 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43776 # Speed up: don't consider the non `#define' lines.
43777 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43778 # Work around the forget-to-reset-the-flag bug.
43779 echo 't clr' >>$CONFIG_STATUS
43780 echo ': clr' >>$CONFIG_STATUS
43781 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43782 echo 'CEOF
43783 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43784 rm -f $tmp/in
43785 mv $tmp/out $tmp/in
43786 ' >>$CONFIG_STATUS
43787 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43788 rm -f conftest.defines
43789 mv conftest.tail conftest.defines
43790 done
43791 rm -f conftest.defines
43792 echo ' fi # grep' >>$CONFIG_STATUS
43793 echo >>$CONFIG_STATUS
43794
43795 # Break up conftest.undefs because some shells have a limit on the size
43796 # of here documents, and old seds have small limits too (100 cmds).
43797 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43798 rm -f conftest.tail
43799 while grep . conftest.undefs >/dev/null
43800 do
43801 # Write a limited-size here document to $tmp/undefs.sed.
43802 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43803 # Speed up: don't consider the non `#undef'
43804 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43805 # Work around the forget-to-reset-the-flag bug.
43806 echo 't clr' >>$CONFIG_STATUS
43807 echo ': clr' >>$CONFIG_STATUS
43808 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43809 echo 'CEOF
43810 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43811 rm -f $tmp/in
43812 mv $tmp/out $tmp/in
43813 ' >>$CONFIG_STATUS
43814 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43815 rm -f conftest.undefs
43816 mv conftest.tail conftest.undefs
43817 done
43818 rm -f conftest.undefs
43819
43820 cat >>$CONFIG_STATUS <<\_ACEOF
43821 # Let's still pretend it is `configure' which instantiates (i.e., don't
43822 # use $as_me), people would be surprised to read:
43823 # /* config.h. Generated by config.status. */
43824 if test x"$ac_file" = x-; then
43825 echo "/* Generated by configure. */" >$tmp/config.h
43826 else
43827 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43828 fi
43829 cat $tmp/in >>$tmp/config.h
43830 rm -f $tmp/in
43831 if test x"$ac_file" != x-; then
43832 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43833 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43834 echo "$as_me: $ac_file is unchanged" >&6;}
43835 else
43836 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43838 X"$ac_file" : 'X\(//\)[^/]' \| \
43839 X"$ac_file" : 'X\(//\)$' \| \
43840 X"$ac_file" : 'X\(/\)' \| \
43841 . : '\(.\)' 2>/dev/null ||
43842 echo X"$ac_file" |
43843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43845 /^X\(\/\/\)$/{ s//\1/; q; }
43846 /^X\(\/\).*/{ s//\1/; q; }
43847 s/.*/./; q'`
43848 { if $as_mkdir_p; then
43849 mkdir -p "$ac_dir"
43850 else
43851 as_dir="$ac_dir"
43852 as_dirs=
43853 while test ! -d "$as_dir"; do
43854 as_dirs="$as_dir $as_dirs"
43855 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43857 X"$as_dir" : 'X\(//\)[^/]' \| \
43858 X"$as_dir" : 'X\(//\)$' \| \
43859 X"$as_dir" : 'X\(/\)' \| \
43860 . : '\(.\)' 2>/dev/null ||
43861 echo X"$as_dir" |
43862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43864 /^X\(\/\/\)$/{ s//\1/; q; }
43865 /^X\(\/\).*/{ s//\1/; q; }
43866 s/.*/./; q'`
43867 done
43868 test ! -n "$as_dirs" || mkdir $as_dirs
43869 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43871 { (exit 1); exit 1; }; }; }
43872
43873 rm -f $ac_file
43874 mv $tmp/config.h $ac_file
43875 fi
43876 else
43877 cat $tmp/config.h
43878 rm -f $tmp/config.h
43879 fi
43880 done
43881 _ACEOF
43882 cat >>$CONFIG_STATUS <<\_ACEOF
43883
43884 #
43885 # CONFIG_COMMANDS section.
43886 #
43887 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43888 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43889 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43890 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43891 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43892 X"$ac_dest" : 'X\(//\)[^/]' \| \
43893 X"$ac_dest" : 'X\(//\)$' \| \
43894 X"$ac_dest" : 'X\(/\)' \| \
43895 . : '\(.\)' 2>/dev/null ||
43896 echo X"$ac_dest" |
43897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43899 /^X\(\/\/\)$/{ s//\1/; q; }
43900 /^X\(\/\).*/{ s//\1/; q; }
43901 s/.*/./; q'`
43902 { if $as_mkdir_p; then
43903 mkdir -p "$ac_dir"
43904 else
43905 as_dir="$ac_dir"
43906 as_dirs=
43907 while test ! -d "$as_dir"; do
43908 as_dirs="$as_dir $as_dirs"
43909 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43911 X"$as_dir" : 'X\(//\)[^/]' \| \
43912 X"$as_dir" : 'X\(//\)$' \| \
43913 X"$as_dir" : 'X\(/\)' \| \
43914 . : '\(.\)' 2>/dev/null ||
43915 echo X"$as_dir" |
43916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43917 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43918 /^X\(\/\/\)$/{ s//\1/; q; }
43919 /^X\(\/\).*/{ s//\1/; q; }
43920 s/.*/./; q'`
43921 done
43922 test ! -n "$as_dirs" || mkdir $as_dirs
43923 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43924 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43925 { (exit 1); exit 1; }; }; }
43926
43927 ac_builddir=.
43928
43929 if test "$ac_dir" != .; then
43930 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43931 # A "../" for each directory in $ac_dir_suffix.
43932 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43933 else
43934 ac_dir_suffix= ac_top_builddir=
43935 fi
43936
43937 case $srcdir in
43938 .) # No --srcdir option. We are building in place.
43939 ac_srcdir=.
43940 if test -z "$ac_top_builddir"; then
43941 ac_top_srcdir=.
43942 else
43943 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43944 fi ;;
43945 [\\/]* | ?:[\\/]* ) # Absolute path.
43946 ac_srcdir=$srcdir$ac_dir_suffix;
43947 ac_top_srcdir=$srcdir ;;
43948 *) # Relative path.
43949 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43950 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43951 esac
43952
43953 # Do not use `cd foo && pwd` to compute absolute paths, because
43954 # the directories may not exist.
43955 case `pwd` in
43956 .) ac_abs_builddir="$ac_dir";;
43957 *)
43958 case "$ac_dir" in
43959 .) ac_abs_builddir=`pwd`;;
43960 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43961 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43962 esac;;
43963 esac
43964 case $ac_abs_builddir in
43965 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43966 *)
43967 case ${ac_top_builddir}. in
43968 .) ac_abs_top_builddir=$ac_abs_builddir;;
43969 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43970 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43971 esac;;
43972 esac
43973 case $ac_abs_builddir in
43974 .) ac_abs_srcdir=$ac_srcdir;;
43975 *)
43976 case $ac_srcdir in
43977 .) ac_abs_srcdir=$ac_abs_builddir;;
43978 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43979 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43980 esac;;
43981 esac
43982 case $ac_abs_builddir in
43983 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43984 *)
43985 case $ac_top_srcdir in
43986 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43987 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43988 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43989 esac;;
43990 esac
43991
43992
43993 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43994 echo "$as_me: executing $ac_dest commands" >&6;}
43995 case $ac_dest in
43996 wx-config ) rm -f wx-config
43997 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43998 ;;
43999 esac
44000 done
44001 _ACEOF
44002
44003 cat >>$CONFIG_STATUS <<\_ACEOF
44004
44005 { (exit 0); exit 0; }
44006 _ACEOF
44007 chmod +x $CONFIG_STATUS
44008 ac_clean_files=$ac_clean_files_save
44009
44010
44011 # configure is writing to config.log, and then calls config.status.
44012 # config.status does its own redirection, appending to config.log.
44013 # Unfortunately, on DOS this fails, as config.log is still kept open
44014 # by configure, so config.status won't be able to write to it; its
44015 # output is simply discarded. So we exec the FD to /dev/null,
44016 # effectively closing config.log, so it can be properly (re)opened and
44017 # appended to by config.status. When coming back to configure, we
44018 # need to make the FD available again.
44019 if test "$no_create" != yes; then
44020 ac_cs_success=:
44021 ac_config_status_args=
44022 test "$silent" = yes &&
44023 ac_config_status_args="$ac_config_status_args --quiet"
44024 exec 5>/dev/null
44025 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
44026 exec 5>>config.log
44027 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44028 # would make configure fail if this is the last instruction.
44029 $ac_cs_success || { (exit 1); exit 1; }
44030 fi
44031
44032 #
44033 # CONFIG_SUBDIRS section.
44034 #
44035 if test "$no_recursion" != yes; then
44036
44037 # Remove --cache-file and --srcdir arguments so they do not pile up.
44038 ac_sub_configure_args=
44039 ac_prev=
44040 for ac_arg in $ac_configure_args; do
44041 if test -n "$ac_prev"; then
44042 ac_prev=
44043 continue
44044 fi
44045 case $ac_arg in
44046 -cache-file | --cache-file | --cache-fil | --cache-fi \
44047 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
44048 ac_prev=cache_file ;;
44049 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
44050 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
44051 | --c=*)
44052 ;;
44053 --config-cache | -C)
44054 ;;
44055 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
44056 ac_prev=srcdir ;;
44057 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
44058 ;;
44059 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
44060 ac_prev=prefix ;;
44061 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
44062 ;;
44063 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
44064 esac
44065 done
44066
44067 # Always prepend --prefix to ensure using the same prefix
44068 # in subdir configurations.
44069 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
44070
44071 ac_popdir=`pwd`
44072 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
44073
44074 # Do not complain, so a configure script can configure whichever
44075 # parts of a large source tree are present.
44076 test -d $srcdir/$ac_dir || continue
44077
44078 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44079 echo "$as_me: configuring in $ac_dir" >&6;}
44080 { if $as_mkdir_p; then
44081 mkdir -p "$ac_dir"
44082 else
44083 as_dir="$ac_dir"
44084 as_dirs=
44085 while test ! -d "$as_dir"; do
44086 as_dirs="$as_dir $as_dirs"
44087 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44089 X"$as_dir" : 'X\(//\)[^/]' \| \
44090 X"$as_dir" : 'X\(//\)$' \| \
44091 X"$as_dir" : 'X\(/\)' \| \
44092 . : '\(.\)' 2>/dev/null ||
44093 echo X"$as_dir" |
44094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44096 /^X\(\/\/\)$/{ s//\1/; q; }
44097 /^X\(\/\).*/{ s//\1/; q; }
44098 s/.*/./; q'`
44099 done
44100 test ! -n "$as_dirs" || mkdir $as_dirs
44101 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44102 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44103 { (exit 1); exit 1; }; }; }
44104
44105 ac_builddir=.
44106
44107 if test "$ac_dir" != .; then
44108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44109 # A "../" for each directory in $ac_dir_suffix.
44110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44111 else
44112 ac_dir_suffix= ac_top_builddir=
44113 fi
44114
44115 case $srcdir in
44116 .) # No --srcdir option. We are building in place.
44117 ac_srcdir=.
44118 if test -z "$ac_top_builddir"; then
44119 ac_top_srcdir=.
44120 else
44121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44122 fi ;;
44123 [\\/]* | ?:[\\/]* ) # Absolute path.
44124 ac_srcdir=$srcdir$ac_dir_suffix;
44125 ac_top_srcdir=$srcdir ;;
44126 *) # Relative path.
44127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44129 esac
44130
44131 # Do not use `cd foo && pwd` to compute absolute paths, because
44132 # the directories may not exist.
44133 case `pwd` in
44134 .) ac_abs_builddir="$ac_dir";;
44135 *)
44136 case "$ac_dir" in
44137 .) ac_abs_builddir=`pwd`;;
44138 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44139 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44140 esac;;
44141 esac
44142 case $ac_abs_builddir in
44143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44144 *)
44145 case ${ac_top_builddir}. in
44146 .) ac_abs_top_builddir=$ac_abs_builddir;;
44147 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44148 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44149 esac;;
44150 esac
44151 case $ac_abs_builddir in
44152 .) ac_abs_srcdir=$ac_srcdir;;
44153 *)
44154 case $ac_srcdir in
44155 .) ac_abs_srcdir=$ac_abs_builddir;;
44156 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44157 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44158 esac;;
44159 esac
44160 case $ac_abs_builddir in
44161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44162 *)
44163 case $ac_top_srcdir in
44164 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44165 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44166 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44167 esac;;
44168 esac
44169
44170
44171 cd $ac_dir
44172
44173 # Check for guested configure; otherwise get Cygnus style configure.
44174 if test -f $ac_srcdir/configure.gnu; then
44175 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
44176 elif test -f $ac_srcdir/configure; then
44177 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
44178 elif test -f $ac_srcdir/configure.in; then
44179 ac_sub_configure=$ac_configure
44180 else
44181 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44183 ac_sub_configure=
44184 fi
44185
44186 # The recursion is here.
44187 if test -n "$ac_sub_configure"; then
44188 # Make the cache file name correct relative to the subdirectory.
44189 case $cache_file in
44190 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
44191 *) # Relative path.
44192 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
44193 esac
44194
44195 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44196 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44197 # The eval makes quoting arguments work.
44198 eval $ac_sub_configure $ac_sub_configure_args \
44199 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44200 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44201 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44202 { (exit 1); exit 1; }; }
44203 fi
44204
44205 cd $ac_popdir
44206 done
44207 fi
44208
44209
44210 echo
44211 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44212 echo ""
44213 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
44214 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44215
44216 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44217 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44218 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44219
44220 echo " What level of wxWidgets compatibility should be enabled?"
44221 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44222 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44223
44224 echo " Which libraries should wxWidgets use?"
44225 echo " jpeg ${wxUSE_LIBJPEG-none}"
44226 echo " png ${wxUSE_LIBPNG-none}"
44227 echo " regex ${wxUSE_REGEX}"
44228 echo " tiff ${wxUSE_LIBTIFF-none}"
44229 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44230 echo " xpm ${wxUSE_LIBXPM-none}"
44231 fi
44232 echo " zlib ${wxUSE_ZLIB}"
44233 echo " odbc ${wxUSE_ODBC}"
44234 echo " expat ${wxUSE_EXPAT}"
44235 echo " libmspack ${wxUSE_LIBMSPACK}"
44236 echo " sdl ${wxUSE_LIBSDL}"
44237 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
44238
44239 echo ""
44240