]> git.saurik.com Git - wxWidgets.git/blob - configure
a604b02d9695d8a41814b14d1dcf41ecc368830b
[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.5.
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.5'
274 PACKAGE_STRING='wxWidgets 2.5.5'
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_GUI_1_USE_QA_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_GUI_1_USE_QA_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_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_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.5 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.5:";;
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-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support in wxProtocol
944 --enable-protocol-ftp FTP support in wxProtocol
945 --enable-protocol-file FILE support in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use help subsystem
949 --enable-mshtmlhelp use MS HTML Help (win32)
950 --enable-html use wxHTML sub-library
951 --enable-htmlhelp use wxHTML-based help
952 --enable-xrc use XRC resources sub-library
953 --enable-constraints use layout-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl (Mac)
961 --enable-postscript use wxPostscriptDC device context (default for gtk+)
962 --enable-prologio not available; see contrib
963 --enable-resources not available; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile (Windows only)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images (GIF file format)
1036 --enable-pcx use pcx images (PCX file format)
1037 --enable-iff use iff images (IFF file format)
1038 --enable-pnm use pnm images (PNM file format)
1039 --enable-xpm use xpm images (XPM file format)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets (win32 DLL only)
1042 --enable-vendor=VENDOR vendor name (win32 DLL only)
1043 --disable-largefile omit support for large files
1044 --disable-gtktest do not try to compile and run a test GTK+ program
1045 --disable-gtktest Do not try to compile and run a test GTK program
1046 --disable-sdltest Do not try to compile and run a test SDL program
1047 --enable-omf use OMF object format (OS/2)
1048 --disable-precomp-headers
1049 don't use precompiled headers even if compiler can
1050
1051 Optional Packages:
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-gtk use GTK+
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1063 --with-x11 use X11
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1086
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1094 CPP C preprocessor
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1098
1099 Use these variables to override the choices made by `configure' or to help
1100 it to find libraries and programs with nonstandard names/locations.
1101
1102 Report bugs to <wx-dev@lists.wxwidgets.org>.
1103 _ACEOF
1104 fi
1105
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1108 ac_popdir=`pwd`
1109 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1110 test -d $ac_dir || continue
1111 ac_builddir=.
1112
1113 if test "$ac_dir" != .; then
1114 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1117 else
1118 ac_dir_suffix= ac_top_builddir=
1119 fi
1120
1121 case $srcdir in
1122 .) # No --srcdir option. We are building in place.
1123 ac_srcdir=.
1124 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir=.
1126 else
1127 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1128 fi ;;
1129 [\\/]* | ?:[\\/]* ) # Absolute path.
1130 ac_srcdir=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir=$srcdir ;;
1132 *) # Relative path.
1133 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1135 esac
1136
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1139 case `pwd` in
1140 .) ac_abs_builddir="$ac_dir";;
1141 *)
1142 case "$ac_dir" in
1143 .) ac_abs_builddir=`pwd`;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1145 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *)
1151 case ${ac_top_builddir}. in
1152 .) ac_abs_top_builddir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_srcdir=$ac_srcdir;;
1159 *)
1160 case $ac_srcdir in
1161 .) ac_abs_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1163 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1164 esac;;
1165 esac
1166 case $ac_abs_builddir in
1167 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *)
1169 case $ac_top_srcdir in
1170 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1171 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1173 esac;;
1174 esac
1175
1176 cd $ac_dir
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu; then
1179 echo
1180 $SHELL $ac_srcdir/configure.gnu --help=recursive
1181 elif test -f $ac_srcdir/configure; then
1182 echo
1183 $SHELL $ac_srcdir/configure --help=recursive
1184 elif test -f $ac_srcdir/configure.ac ||
1185 test -f $ac_srcdir/configure.in; then
1186 echo
1187 $ac_configure --help
1188 else
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 fi
1191 cd "$ac_popdir"
1192 done
1193 fi
1194
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1197 cat <<\_ACEOF
1198 wxWidgets configure 2.5.5
1199 generated by GNU Autoconf 2.59
1200
1201 Copyright (C) 2003 Free Software Foundation, Inc.
1202 This configure script is free software; the Free Software Foundation
1203 gives unlimited permission to copy, distribute and modify it.
1204 _ACEOF
1205 exit 0
1206 fi
1207 exec 5>config.log
1208 cat >&5 <<_ACEOF
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1211
1212 It was created by wxWidgets $as_me 2.5.5, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1214
1215 $ $0 $@
1216
1217 _ACEOF
1218 {
1219 cat <<_ASUNAME
1220 ## --------- ##
1221 ## Platform. ##
1222 ## --------- ##
1223
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1229
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1232
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1240
1241 _ASUNAME
1242
1243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1244 for as_dir in $PATH
1245 do
1246 IFS=$as_save_IFS
1247 test -z "$as_dir" && as_dir=.
1248 echo "PATH: $as_dir"
1249 done
1250
1251 } >&5
1252
1253 cat >&5 <<_ACEOF
1254
1255
1256 ## ----------- ##
1257 ## Core tests. ##
1258 ## ----------- ##
1259
1260 _ACEOF
1261
1262
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_configure_args=
1269 ac_configure_args0=
1270 ac_configure_args1=
1271 ac_sep=
1272 ac_must_keep_next=false
1273 for ac_pass in 1 2
1274 do
1275 for ac_arg
1276 do
1277 case $ac_arg in
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1281 continue ;;
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 esac
1285 case $ac_pass in
1286 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1287 2)
1288 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true; then
1290 ac_must_keep_next=false # Got value, back to normal.
1291 else
1292 case $ac_arg in
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 esac
1300 ;;
1301 -* ) ac_must_keep_next=true ;;
1302 esac
1303 fi
1304 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1306 ac_sep=" "
1307 ;;
1308 esac
1309 done
1310 done
1311 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1312 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1313
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1321 {
1322 echo
1323
1324 cat <<\_ASBOX
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1328 _ASBOX
1329 echo
1330 # The following way of writing the cache mishandles newlines in values,
1331 {
1332 (set) 2>&1 |
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 *ac_space=\ *)
1335 sed -n \
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1338 ;;
1339 *)
1340 sed -n \
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ;;
1343 esac;
1344 }
1345 echo
1346
1347 cat <<\_ASBOX
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1351 _ASBOX
1352 echo
1353 for ac_var in $ac_subst_vars
1354 do
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1357 done | sort
1358 echo
1359
1360 if test -n "$ac_subst_files"; then
1361 cat <<\_ASBOX
1362 ## ------------- ##
1363 ## Output files. ##
1364 ## ------------- ##
1365 _ASBOX
1366 echo
1367 for ac_var in $ac_subst_files
1368 do
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1371 done | sort
1372 echo
1373 fi
1374
1375 if test -s confdefs.h; then
1376 cat <<\_ASBOX
1377 ## ----------- ##
1378 ## confdefs.h. ##
1379 ## ----------- ##
1380 _ASBOX
1381 echo
1382 sed "/^$/d" confdefs.h | sort
1383 echo
1384 fi
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1388 } >&5
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 exit $exit_status
1392 ' 0
1393 for ac_signal in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1395 done
1396 ac_signal=0
1397
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 echo >confdefs.h
1402
1403 # Predefined preprocessor variables.
1404
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1407 _ACEOF
1408
1409
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1412 _ACEOF
1413
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1427 _ACEOF
1428
1429
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE; then
1434 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1435 else
1436 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 fi
1438 fi
1439 for ac_site_file in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1444 . "$ac_site_file"
1445 fi
1446 done
1447
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1454 case $cache_file in
1455 [\\/]* | ?:[\\/]* ) . $cache_file;;
1456 *) . ./$cache_file;;
1457 esac
1458 fi
1459 else
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1462 >$cache_file
1463 fi
1464
1465 # Check that the precious variables saved in the cache have kept the same
1466 # value.
1467 ac_cache_corrupted=false
1468 for ac_var in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1471 eval ac_new_set=\$ac_env_${ac_var}_set
1472 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1475 set,)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,set)
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted=: ;;
1483 ,);;
1484 *)
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted=:
1493 fi;;
1494 esac
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1497 case $ac_new_val in
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg=$ac_var=$ac_new_val ;;
1501 esac
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1505 esac
1506 fi
1507 done
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1514 fi
1515
1516 ac_ext=c
1517 ac_cpp='$CPP $CPPFLAGS'
1518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1550
1551 ac_aux_dir=
1552 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1553 if test -f $ac_dir/install-sh; then
1554 ac_aux_dir=$ac_dir
1555 ac_install_sh="$ac_aux_dir/install-sh -c"
1556 break
1557 elif test -f $ac_dir/install.sh; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/install.sh -c"
1560 break
1561 elif test -f $ac_dir/shtool; then
1562 ac_aux_dir=$ac_dir
1563 ac_install_sh="$ac_aux_dir/shtool install -c"
1564 break
1565 fi
1566 done
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1571 fi
1572 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1575
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4 >/dev/null 2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587 ac_cv_build_alias=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1598
1599 fi
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1602 build=$ac_cv_build
1603 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606
1607
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 else
1613 ac_cv_host_alias=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias=$ac_cv_build_alias
1616 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1620
1621 fi
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1624 host=$ac_cv_host
1625 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628
1629
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 else
1635 ac_cv_target_alias=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias=$ac_cv_host_alias
1638 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1642
1643 fi
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target=$ac_cv_target
1647 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650
1651
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1656 NONENONEs,x,x, &&
1657 program_prefix=${target_alias}-
1658
1659
1660
1661 wx_major_version_number=2
1662 wx_minor_version_number=5
1663 wx_release_number=5
1664 wx_subrelease_number=0
1665
1666 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1667 WX_VERSION=$WX_RELEASE.$wx_release_number
1668 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1669
1670 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1671
1672 WX_CURRENT=5
1673 WX_REVISION=0
1674 WX_AGE=5
1675
1676
1677
1678 USE_UNIX=1
1679 USE_OS2=0
1680 USE_WIN32=0
1681 USE_DOS=0
1682 USE_BEOS=0
1683 USE_MAC=0
1684
1685 USE_AIX=
1686 USE_BSD= USE_DARWIN= USE_FREEBSD=
1687 USE_GNU= USE_HPUX=
1688 USE_LINUX=
1689 USE_NETBSD=
1690 USE_OPENBSD=
1691 USE_OSF= USE_SGI=
1692 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1693 USE_ULTRIX=
1694 USE_UNIXWARE=
1695
1696 USE_ALPHA=
1697
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1699
1700 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701
1702 DEFAULT_wxUSE_COCOA=0
1703 DEFAULT_wxUSE_GTK=0
1704 DEFAULT_wxUSE_MAC=0
1705 DEFAULT_wxUSE_MGL=0
1706 DEFAULT_wxUSE_MICROWIN=0
1707 DEFAULT_wxUSE_MOTIF=0
1708 DEFAULT_wxUSE_MSW=0
1709 DEFAULT_wxUSE_PM=0
1710 DEFAULT_wxUSE_X11=0
1711
1712 DEFAULT_DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_DEFAULT_wxUSE_GTK=0
1714 DEFAULT_DEFAULT_wxUSE_MAC=0
1715 DEFAULT_DEFAULT_wxUSE_MGL=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_MSW=0
1719 DEFAULT_DEFAULT_wxUSE_PM=0
1720 DEFAULT_DEFAULT_wxUSE_X11=0
1721
1722 PROGRAM_EXT=
1723 SO_SUFFIX=so
1724 SAMPLES_RPATH_FLAG=
1725 SAMPLES_RPATH_POSTLINK=
1726
1727 case "${host}" in
1728 *-hp-hpux* )
1729 USE_HPUX=1
1730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1732 SO_SUFFIX=sl
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __HPUX__ 1
1735 _ACEOF
1736
1737 ;;
1738 *-*-linux* )
1739 USE_LINUX=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __LINUX__ 1
1742 _ACEOF
1743
1744 TMP=`uname -m`
1745 if test "x$TMP" = "xalpha"; then
1746 USE_ALPHA=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __ALPHA__ 1
1749 _ACEOF
1750
1751 fi
1752 DEFAULT_DEFAULT_wxUSE_GTK=1
1753 ;;
1754 *-*-gnu* | *-*-k*bsd*-gnu )
1755 USE_GNU=1
1756 TMP=`uname -m`
1757 if test "x$TMP" = "xalpha"; then
1758 USE_ALPHA=1
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __ALPHA__ 1
1761 _ACEOF
1762
1763 fi
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-irix5* | *-*-irix6* )
1767 USE_SGI=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SGI__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SVR4__ 1
1775 _ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1778 ;;
1779 *-*-solaris2* )
1780 USE_SUN=1
1781 USE_SOLARIS=1
1782 USE_SVR4=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SUN__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SOLARIS__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SVR4__ 1
1793 _ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1797 ;;
1798 *-*-sunos4* )
1799 USE_SUN=1
1800 USE_SUNOS=1
1801 USE_BSD=1
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __SUN__ 1
1804 _ACEOF
1805
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUNOS__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __BSD__ 1
1812 _ACEOF
1813
1814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1815 ;;
1816 *-*-freebsd*)
1817 USE_BSD=1
1818 USE_FREEBSD=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __FREEBSD__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __BSD__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_GTK=1
1828 ;;
1829 *-*-openbsd*)
1830 USE_BSD=1
1831 USE_OPENBSD=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __OPENBSD__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __BSD__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 ;;
1842 *-*-netbsd*)
1843 USE_BSD=1
1844 USE_NETBSD=1
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __NETBSD__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __BSD__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_GTK=1
1854 ;;
1855 *-*-osf* )
1856 USE_ALPHA=1
1857 USE_OSF=1
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __ALPHA__ 1
1860 _ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __OSF__ 1
1864 _ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1868 ;;
1869 *-*-dgux5* )
1870 USE_ALPHA=1
1871 USE_SVR4=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __ALPHA__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __SVR4__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 ;;
1882 *-*-sysv5* )
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __SYSV__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SVR4__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 ;;
1895 *-*-aix* )
1896 USE_AIX=1
1897 USE_SYSV=1
1898 USE_SVR4=1
1899 SO_SUFFIX=a
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __AIX__ 1
1902 _ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SYSV__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SVR4__ 1
1910 _ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 ;;
1914
1915 *-*-*UnixWare*)
1916 USE_SYSV=1
1917 USE_SVR4=1
1918 USE_UNIXWARE=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __UNIXWARE__ 1
1921 _ACEOF
1922
1923 ;;
1924
1925 *-*-cygwin* | *-*-mingw32* )
1926 SO_SUFFIX=dll
1927 PROGRAM_EXT=".exe"
1928 RESCOMP=windres
1929 DEFAULT_DEFAULT_wxUSE_MSW=1
1930 ;;
1931
1932 *-pc-msdosdjgpp )
1933 USE_UNIX=0
1934 USE_DOS=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __DOS__ 1
1937 _ACEOF
1938
1939 PROGRAM_EXT=".exe"
1940 DEFAULT_DEFAULT_wxUSE_MGL=1
1941 LIBS="$LIBS -lstdc++"
1942 ;;
1943
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __EMX__ 1
1947 _ACEOF
1948
1949 USE_OS2=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __OS2__ 1
1952 _ACEOF
1953
1954 PROGRAM_EXT=".exe"
1955 DEFAULT_DEFAULT_wxUSE_PM=1
1956 CXX=gcc
1957 LDFLAGS="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions=".exe"
1959 export ac_executable_extensions
1960 ac_save_IFS="$IFS"
1961 IFS='\\'
1962 ac_TEMP_PATH=
1963 for ac_dir in $PATH; do
1964 IFS=$ac_save_IFS
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH="$ac_dir"
1967 else
1968 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1969 fi
1970 done
1971 export PATH="$ac_TEMP_PATH"
1972 unset ac_TEMP_PATH
1973 ;;
1974
1975 powerpc-*-darwin* )
1976 USE_BSD=1
1977 USE_DARWIN=1
1978 SO_SUFFIX=dylib
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __BSD__ 1
1981 _ACEOF
1982
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __DARWIN__ 1
1985 _ACEOF
1986
1987 cat >>confdefs.h <<\_ACEOF
1988 #define TARGET_CARBON 1
1989 _ACEOF
1990
1991 DEFAULT_DEFAULT_wxUSE_MAC=1
1992 ;;
1993 powerpc-apple-macos* )
1994 USE_UNIX=0
1995 ac_cv_c_bigendian=yes
1996 SO_SUFFIX=shlib
1997 DEFAULT_DEFAULT_wxUSE_MAC=1
1998 ;;
1999
2000 *-*-beos* )
2001 USE_BEOS=1
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __BEOS__ 1
2004 _ACEOF
2005
2006 ;;
2007
2008 *)
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2012 esac
2013
2014
2015
2016
2017 wx_arg_cache_file="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2022
2023
2024 DEBUG_CONFIGURE=0
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL=no
2027 DEFAULT_wxUSE_STL=no
2028
2029 DEFAULT_wxUSE_NANOX=no
2030
2031 DEFAULT_wxUSE_THREADS=yes
2032
2033 DEFAULT_wxUSE_SHARED=yes
2034 DEFAULT_wxUSE_OPTIMISE=no
2035 DEFAULT_wxUSE_PROFILE=no
2036 DEFAULT_wxUSE_NO_DEPS=no
2037 DEFAULT_wxUSE_NO_RTTI=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2039 DEFAULT_wxUSE_RPATH=yes
2040 DEFAULT_wxUSE_PERMISSIVE=no
2041 DEFAULT_wxUSE_DEBUG_FLAG=yes
2042 DEFAULT_wxUSE_DEBUG_INFO=yes
2043 DEFAULT_wxUSE_DEBUG_GDB=yes
2044 DEFAULT_wxUSE_MEM_TRACING=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2046 DEFAULT_wxUSE_DMALLOC=no
2047 DEFAULT_wxUSE_APPLE_IEEE=no
2048
2049 DEFAULT_wxUSE_EXCEPTIONS=no
2050 DEFAULT_wxUSE_LOG=yes
2051 DEFAULT_wxUSE_LOGWINDOW=no
2052 DEFAULT_wxUSE_LOGGUI=no
2053 DEFAULT_wxUSE_LOGDIALOG=no
2054
2055 DEFAULT_wxUSE_GUI=yes
2056 DEFAULT_wxUSE_CONTROLS=no
2057
2058 DEFAULT_wxUSE_REGEX=no
2059 DEFAULT_wxUSE_XML=no
2060 DEFAULT_wxUSE_EXPAT=no
2061 DEFAULT_wxUSE_ZLIB=no
2062 DEFAULT_wxUSE_LIBPNG=no
2063 DEFAULT_wxUSE_LIBJPEG=no
2064 DEFAULT_wxUSE_LIBTIFF=no
2065 DEFAULT_wxUSE_LIBXPM=no
2066 DEFAULT_wxUSE_LIBMSPACK=no
2067 DEFAULT_wxUSE_LIBSDL=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2069 DEFAULT_wxUSE_ODBC=no
2070 DEFAULT_wxUSE_OPENGL=no
2071
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2073 DEFAULT_wxUSE_STACKWALKER=no
2074 DEFAULT_wxUSE_DEBUGREPORT=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2076 DEFAULT_wxUSE_STD_IOSTREAM=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER=no
2078 DEFAULT_wxUSE_DATETIME=no
2079 DEFAULT_wxUSE_TIMER=no
2080 DEFAULT_wxUSE_STOPWATCH=no
2081 DEFAULT_wxUSE_FILE=no
2082 DEFAULT_wxUSE_FFILE=no
2083 DEFAULT_wxUSE_STDPATHS=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_DEBUGREPORT=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2273 DEFAULT_wxUSE_DATETIME=yes
2274 DEFAULT_wxUSE_TIMER=yes
2275 DEFAULT_wxUSE_STOPWATCH=yes
2276 DEFAULT_wxUSE_FILE=yes
2277 DEFAULT_wxUSE_FFILE=yes
2278 DEFAULT_wxUSE_STDPATHS=yes
2279 DEFAULT_wxUSE_TEXTBUFFER=yes
2280 DEFAULT_wxUSE_TEXTFILE=yes
2281 DEFAULT_wxUSE_SOUND=yes
2282 DEFAULT_wxUSE_MEDIACTRL=no
2283 DEFAULT_wxUSE_DIRECTSHOW=no
2284 DEFAULT_wxUSE_INTL=yes
2285 DEFAULT_wxUSE_CONFIG=yes
2286 DEFAULT_wxUSE_FONTMAP=yes
2287 DEFAULT_wxUSE_STREAMS=yes
2288 DEFAULT_wxUSE_SOCKETS=yes
2289 DEFAULT_wxUSE_OLE=yes
2290 DEFAULT_wxUSE_DATAOBJ=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2292 DEFAULT_wxUSE_JOYSTICK=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2295 DEFAULT_wxUSE_LONGLONG=yes
2296 DEFAULT_wxUSE_GEOMETRY=yes
2297
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2300 DEFAULT_wxUSE_POSTSCRIPT=yes
2301
2302 DEFAULT_wxUSE_CLIPBOARD=yes
2303 DEFAULT_wxUSE_TOOLTIPS=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2305 DEFAULT_wxUSE_DRAGIMAGE=yes
2306 DEFAULT_wxUSE_SPLINES=yes
2307
2308 DEFAULT_wxUSE_MDI=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2312
2313 DEFAULT_wxUSE_RESOURCES=no
2314 DEFAULT_wxUSE_CONSTRAINTS=yes
2315 DEFAULT_wxUSE_IPC=yes
2316 DEFAULT_wxUSE_HELP=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP=yes
2318 DEFAULT_wxUSE_WXHTML_HELP=yes
2319 DEFAULT_wxUSE_TREELAYOUT=yes
2320 DEFAULT_wxUSE_METAFILE=yes
2321 DEFAULT_wxUSE_MIMETYPE=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2323 DEFAULT_wxUSE_PROTOCOL=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2327 DEFAULT_wxUSE_URL=yes
2328
2329 DEFAULT_wxUSE_COMMONDLGS=yes
2330 DEFAULT_wxUSE_CHOICEDLG=yes
2331 DEFAULT_wxUSE_COLOURDLG=yes
2332 DEFAULT_wxUSE_DIRDLG=yes
2333 DEFAULT_wxUSE_FILEDLG=yes
2334 DEFAULT_wxUSE_FINDREPLDLG=yes
2335 DEFAULT_wxUSE_FONTDLG=yes
2336 DEFAULT_wxUSE_MSGDLG=yes
2337 DEFAULT_wxUSE_NUMBERDLG=yes
2338 DEFAULT_wxUSE_TEXTDLG=yes
2339 DEFAULT_wxUSE_SPLASH=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS=yes
2341 DEFAULT_wxUSE_PROGRESSDLG=yes
2342 DEFAULT_wxUSE_WIZARDDLG=yes
2343
2344 DEFAULT_wxUSE_MENUS=yes
2345 DEFAULT_wxUSE_MINIFRAME=yes
2346 DEFAULT_wxUSE_HTML=yes
2347 DEFAULT_wxUSE_XRC=yes
2348 DEFAULT_wxUSE_WEBKIT=yes
2349 DEFAULT_wxUSE_FILESYSTEM=yes
2350 DEFAULT_wxUSE_FS_INET=yes
2351 DEFAULT_wxUSE_FS_ZIP=yes
2352 DEFAULT_wxUSE_BUSYINFO=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2354 DEFAULT_wxUSE_ZIPSTREAM=yes
2355 DEFAULT_wxUSE_VALIDATORS=yes
2356
2357 DEFAULT_wxUSE_ACCEL=yes
2358 DEFAULT_wxUSE_BUTTON=yes
2359 DEFAULT_wxUSE_BMPBUTTON=yes
2360 DEFAULT_wxUSE_CALCTRL=yes
2361 DEFAULT_wxUSE_CARET=yes
2362 DEFAULT_wxUSE_CHECKBOX=yes
2363 DEFAULT_wxUSE_CHECKLST=yes
2364 DEFAULT_wxUSE_CHOICE=yes
2365 DEFAULT_wxUSE_CHOICEBOOK=yes
2366 DEFAULT_wxUSE_COMBOBOX=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL=yes
2368 DEFAULT_wxUSE_DISPLAY=yes
2369 DEFAULT_wxUSE_GAUGE=yes
2370 DEFAULT_wxUSE_GRID=yes
2371 DEFAULT_wxUSE_IMAGLIST=yes
2372 DEFAULT_wxUSE_LISTBOOK=yes
2373 DEFAULT_wxUSE_LISTBOX=yes
2374 DEFAULT_wxUSE_LISTCTRL=yes
2375 DEFAULT_wxUSE_NOTEBOOK=yes
2376 DEFAULT_wxUSE_RADIOBOX=yes
2377 DEFAULT_wxUSE_RADIOBTN=yes
2378 DEFAULT_wxUSE_SASH=yes
2379 DEFAULT_wxUSE_SCROLLBAR=yes
2380 DEFAULT_wxUSE_SLIDER=yes
2381 DEFAULT_wxUSE_SPINBTN=yes
2382 DEFAULT_wxUSE_SPINCTRL=yes
2383 DEFAULT_wxUSE_SPLITTER=yes
2384 DEFAULT_wxUSE_STATBMP=yes
2385 DEFAULT_wxUSE_STATBOX=yes
2386 DEFAULT_wxUSE_STATLINE=yes
2387 DEFAULT_wxUSE_STATTEXT=yes
2388 DEFAULT_wxUSE_STATUSBAR=yes
2389 DEFAULT_wxUSE_TABDIALOG=no
2390 DEFAULT_wxUSE_TEXTCTRL=yes
2391 DEFAULT_wxUSE_TOGGLEBTN=yes
2392 DEFAULT_wxUSE_TOOLBAR=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2395 DEFAULT_wxUSE_TREECTRL=yes
2396 DEFAULT_wxUSE_POPUPWIN=yes
2397 DEFAULT_wxUSE_TIPWINDOW=yes
2398
2399 DEFAULT_wxUSE_UNICODE=no
2400 DEFAULT_wxUSE_UNICODE_MSLU=yes
2401 DEFAULT_wxUSE_WCSRTOMBS=no
2402
2403 DEFAULT_wxUSE_PALETTE=yes
2404 DEFAULT_wxUSE_IMAGE=yes
2405 DEFAULT_wxUSE_GIF=yes
2406 DEFAULT_wxUSE_PCX=yes
2407 DEFAULT_wxUSE_IFF=no
2408 DEFAULT_wxUSE_PNM=yes
2409 DEFAULT_wxUSE_XPM=yes
2410 DEFAULT_wxUSE_ICO_CUR=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY=no
2412
2413 DEFAULT_wxUSE_MONOLITHIC=no
2414 DEFAULT_wxUSE_PLUGINS=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2416
2417 DEFAULT_wxUSE_GTK2=yes
2418 fi
2419
2420
2421
2422 for toolkit in `echo $ALL_TOOLKITS`; do
2423 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2428 fi
2429 done
2430
2431
2432
2433 enablestring=
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2436 no_cache=0
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval="$enable_gui"
2440
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui='wxUSE_GUI=yes'
2443 else
2444 ac_cv_use_gui='wxUSE_GUI=no'
2445 fi
2446
2447 else
2448
2449 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x ; then
2451 eval "DEFAULT_$LINE"
2452 else
2453 no_cache=1
2454 fi
2455
2456 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2457
2458 fi;
2459
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2463 fi
2464
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2468 else
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2471 fi
2472
2473
2474 enablestring=
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2477 no_cache=0
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval="$enable_monolithic"
2481
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2484 else
2485 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2486 fi
2487
2488 else
2489
2490 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x ; then
2492 eval "DEFAULT_$LINE"
2493 else
2494 no_cache=1
2495 fi
2496
2497 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2498
2499 fi;
2500
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2504 fi
2505
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509 else
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2512 fi
2513
2514
2515 enablestring=
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2518 no_cache=0
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval="$enable_plugins"
2522
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2525 else
2526 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2527 fi
2528
2529 else
2530
2531 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x ; then
2533 eval "DEFAULT_$LINE"
2534 else
2535 no_cache=1
2536 fi
2537
2538 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2539
2540 fi;
2541
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2545 fi
2546
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2550 else
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2553 fi
2554
2555
2556 if test "$wxUSE_GUI" = "yes"; then
2557
2558
2559 enablestring=
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2562 no_cache=0
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval="$enable_universal"
2566
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2569 else
2570 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2571 fi
2572
2573 else
2574
2575 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2578 else
2579 no_cache=1
2580 fi
2581
2582 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2583
2584 fi;
2585
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2589 fi
2590
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2594 else
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2597 fi
2598
2599
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2602 withval="$with_gtk"
2603 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval="$with_motif"
2609 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2614 withval="$with_mac"
2615 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval="$with_cocoa"
2621 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval="$with_wine"
2627 wxUSE_WINE="$withval" CACHE_WINE=1
2628 fi;
2629
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2632 withval="$with_msw"
2633 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2638 withval="$with_pm"
2639 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2640 fi;
2641
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2644 withval="$with_mgl"
2645 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval="$with_microwin"
2651 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2656 withval="$with_x11"
2657 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval="$enable_nanox"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox='wxUSE_NANOX=yes'
2670 else
2671 ac_cv_use_nanox='wxUSE_NANOX=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2684
2685 fi;
2686
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701
2702 enablestring=
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2705 no_cache=0
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval="$enable_gtk2"
2709
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2712 else
2713 ac_cv_use_gtk2='wxUSE_GTK2=no'
2714 fi
2715
2716 else
2717
2718 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x ; then
2720 eval "DEFAULT_$LINE"
2721 else
2722 no_cache=1
2723 fi
2724
2725 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2726
2727 fi;
2728
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2732 fi
2733
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2737 else
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 fi
2741
2742
2743 enablestring=
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2746 no_cache=0
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval="$enable_gpe"
2750
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe='wxUSE_GPE=yes'
2753 else
2754 ac_cv_use_gpe='wxUSE_GPE=no'
2755 fi
2756
2757 else
2758
2759 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2767
2768 fi;
2769
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 else
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 fi
2782
2783
2784
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2787 no_cache=0
2788
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval="$with_libpng"
2792
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no; then
2796 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys; then
2798 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2801 else
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2805 fi
2806
2807 else
2808
2809 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x ; then
2811 eval "DEFAULT_$LINE"
2812 else
2813 no_cache=1
2814 fi
2815
2816 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2817
2818 fi;
2819
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2823 fi
2824
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2837 else
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
2843
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2846 no_cache=0
2847
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval="$with_libjpeg"
2851
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2860 else
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2864 fi
2865
2866 else
2867
2868 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2871 else
2872 no_cache=1
2873 fi
2874
2875 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2876
2877 fi;
2878
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2882 fi
2883
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2905 no_cache=0
2906
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval="$with_libtiff"
2910
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925 else
2926
2927 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2930 else
2931 no_cache=1
2932 fi
2933
2934 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2935
2936 fi;
2937
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2941 fi
2942
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2964 no_cache=0
2965
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval="$with_libxpm"
2969
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2978 else
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2994
2995 fi;
2996
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3014 else
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3018 fi
3019
3020
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3023 no_cache=0
3024
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval="$with_libmspack"
3028
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3031 else
3032 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3045
3046 fi;
3047
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 else
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 fi
3060
3061
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3064 no_cache=0
3065
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3068 withval="$with_sdl"
3069
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3072 else
3073 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3074 fi
3075
3076 else
3077
3078 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x ; then
3080 eval "DEFAULT_$LINE"
3081 else
3082 no_cache=1
3083 fi
3084
3085 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3086
3087 fi;
3088
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3092 fi
3093
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval="$with_gnomeprint"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3113 else
3114 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3115 fi
3116
3117 else
3118
3119 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3122 else
3123 no_cache=1
3124 fi
3125
3126 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3127
3128 fi;
3129
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3146 no_cache=0
3147
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval="$with_opengl"
3151
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3154 else
3155 ac_cv_use_opengl='wxUSE_OPENGL=no'
3156 fi
3157
3158 else
3159
3160 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3163 else
3164 no_cache=1
3165 fi
3166
3167 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3168
3169 fi;
3170
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3174 fi
3175
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3179 else
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3182 fi
3183
3184
3185 fi
3186
3187
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3190 no_cache=0
3191
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval="$with_dmalloc"
3195
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3198 else
3199 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3200 fi
3201
3202 else
3203
3204 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x ; then
3206 eval "DEFAULT_$LINE"
3207 else
3208 no_cache=1
3209 fi
3210
3211 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3212
3213 fi;
3214
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3218 fi
3219
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3223 else
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3226 fi
3227
3228
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3231 no_cache=0
3232
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval="$with_regex"
3236
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex='wxUSE_REGEX=yes'
3239 elif test "$withval" = no; then
3240 ac_cv_use_regex='wxUSE_REGEX=no'
3241 elif test "$withval" = sys; then
3242 ac_cv_use_regex='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex='wxUSE_REGEX=builtin'
3245 else
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3249 fi
3250
3251 else
3252
3253 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3256 else
3257 no_cache=1
3258 fi
3259
3260 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3261
3262 fi;
3263
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3281 else
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3285 fi
3286
3287
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3290 no_cache=0
3291
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval="$with_zlib"
3295
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no; then
3299 ac_cv_use_zlib='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys; then
3301 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3304 else
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3308 fi
3309
3310 else
3311
3312 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3320
3321 fi;
3322
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3326 fi
3327
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3340 else
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3344 fi
3345
3346
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3349 no_cache=0
3350
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval="$with_odbc"
3354
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc='wxUSE_ODBC=yes'
3357 elif test "$withval" = no; then
3358 ac_cv_use_odbc='wxUSE_ODBC=no'
3359 elif test "$withval" = sys; then
3360 ac_cv_use_odbc='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3363 else
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3379
3380 fi;
3381
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3399 else
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3403 fi
3404
3405
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3408 no_cache=0
3409
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval="$with_expat"
3413
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no; then
3417 ac_cv_use_expat='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys; then
3419 ac_cv_use_expat='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3422 else
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3438
3439 fi;
3440
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3458 else
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3462 fi
3463
3464
3465
3466
3467 enablestring=
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3470 no_cache=0
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval="$enable_shared"
3474
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared='wxUSE_SHARED=yes'
3477 else
3478 ac_cv_use_shared='wxUSE_SHARED=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3491
3492 fi;
3493
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3505 fi
3506
3507
3508 enablestring=
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3511 no_cache=0
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval="$enable_optimise"
3515
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3518 else
3519 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3520 fi
3521
3522 else
3523
3524 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x ; then
3526 eval "DEFAULT_$LINE"
3527 else
3528 no_cache=1
3529 fi
3530
3531 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3532
3533 fi;
3534
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3543 else
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3546 fi
3547
3548
3549 enablestring=
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3552 no_cache=0
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval="$enable_debug"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug='wxUSE_DEBUG=yes'
3559 else
3560 ac_cv_use_debug='wxUSE_DEBUG=no'
3561 fi
3562
3563 else
3564
3565 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3573
3574 fi;
3575
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 else
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 fi
3588
3589
3590 enablestring=
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3593 no_cache=0
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval="$enable_stl"
3597
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl='wxUSE_STL=yes'
3600 else
3601 ac_cv_use_stl='wxUSE_STL=no'
3602 fi
3603
3604 else
3605
3606 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x ; then
3608 eval "DEFAULT_$LINE"
3609 else
3610 no_cache=1
3611 fi
3612
3613 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3614
3615 fi;
3616
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3625 else
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3628 fi
3629
3630 if test "$USE_OS2" = "1"; then
3631
3632 enablestring=
3633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3634 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3635 no_cache=0
3636 # Check whether --enable-omf or --disable-omf was given.
3637 if test "${enable_omf+set}" = set; then
3638 enableval="$enable_omf"
3639
3640 if test "$enableval" = yes; then
3641 ac_cv_use_omf='wxUSE_OMF=yes'
3642 else
3643 ac_cv_use_omf='wxUSE_OMF=no'
3644 fi
3645
3646 else
3647
3648 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3649 if test "x$LINE" != x ; then
3650 eval "DEFAULT_$LINE"
3651 else
3652 no_cache=1
3653 fi
3654
3655 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3656
3657 fi;
3658
3659 eval "$ac_cv_use_omf"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3662 fi
3663
3664 if test "$wxUSE_OMF" = yes; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3667 else
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3670 fi
3671
3672 fi
3673
3674 if test "$wxUSE_DEBUG" = "yes"; then
3675 DEFAULT_wxUSE_DEBUG_FLAG=yes
3676 DEFAULT_wxUSE_DEBUG_INFO=yes
3677 BUILD=debug
3678 elif test "$wxUSE_DEBUG" = "no"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG=no
3680 DEFAULT_wxUSE_DEBUG_INFO=no
3681 BUILD=release
3682 fi
3683
3684
3685 enablestring=
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3688 no_cache=0
3689 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3690 if test "${enable_debug_flag+set}" = set; then
3691 enableval="$enable_debug_flag"
3692
3693 if test "$enableval" = yes; then
3694 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3695 else
3696 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3697 fi
3698
3699 else
3700
3701 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x ; then
3703 eval "DEFAULT_$LINE"
3704 else
3705 no_cache=1
3706 fi
3707
3708 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3709
3710 fi;
3711
3712 eval "$ac_cv_use_debug_flag"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3715 fi
3716
3717 if test "$wxUSE_DEBUG_FLAG" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3720 else
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3723 fi
3724
3725
3726 enablestring=
3727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3728 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3729 no_cache=0
3730 # Check whether --enable-debug_info or --disable-debug_info was given.
3731 if test "${enable_debug_info+set}" = set; then
3732 enableval="$enable_debug_info"
3733
3734 if test "$enableval" = yes; then
3735 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3736 else
3737 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3738 fi
3739
3740 else
3741
3742 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3745 else
3746 no_cache=1
3747 fi
3748
3749 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3750
3751 fi;
3752
3753 eval "$ac_cv_use_debug_info"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3756 fi
3757
3758 if test "$wxUSE_DEBUG_INFO" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3761 else
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3764 fi
3765
3766
3767 enablestring=
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3770 no_cache=0
3771 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3772 if test "${enable_debug_gdb+set}" = set; then
3773 enableval="$enable_debug_gdb"
3774
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3777 else
3778 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3779 fi
3780
3781 else
3782
3783 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x ; then
3785 eval "DEFAULT_$LINE"
3786 else
3787 no_cache=1
3788 fi
3789
3790 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3791
3792 fi;
3793
3794 eval "$ac_cv_use_debug_gdb"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3797 fi
3798
3799 if test "$wxUSE_DEBUG_GDB" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3802 else
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3805 fi
3806
3807
3808 enablestring=
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3811 no_cache=0
3812 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3813 if test "${enable_debug_cntxt+set}" = set; then
3814 enableval="$enable_debug_cntxt"
3815
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3818 else
3819 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3820 fi
3821
3822 else
3823
3824 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x ; then
3826 eval "DEFAULT_$LINE"
3827 else
3828 no_cache=1
3829 fi
3830
3831 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3832
3833 fi;
3834
3835 eval "$ac_cv_use_debug_cntxt"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3838 fi
3839
3840 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3843 else
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3846 fi
3847
3848
3849 enablestring=
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3852 no_cache=0
3853 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3854 if test "${enable_mem_tracing+set}" = set; then
3855 enableval="$enable_mem_tracing"
3856
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3859 else
3860 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3861 fi
3862
3863 else
3864
3865 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x ; then
3867 eval "DEFAULT_$LINE"
3868 else
3869 no_cache=1
3870 fi
3871
3872 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3873
3874 fi;
3875
3876 eval "$ac_cv_use_mem_tracing"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3879 fi
3880
3881 if test "$wxUSE_MEM_TRACING" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3884 else
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3887 fi
3888
3889
3890 enablestring=
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3893 no_cache=0
3894 # Check whether --enable-profile or --disable-profile was given.
3895 if test "${enable_profile+set}" = set; then
3896 enableval="$enable_profile"
3897
3898 if test "$enableval" = yes; then
3899 ac_cv_use_profile='wxUSE_PROFILE=yes'
3900 else
3901 ac_cv_use_profile='wxUSE_PROFILE=no'
3902 fi
3903
3904 else
3905
3906 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x ; then
3908 eval "DEFAULT_$LINE"
3909 else
3910 no_cache=1
3911 fi
3912
3913 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3914
3915 fi;
3916
3917 eval "$ac_cv_use_profile"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3920 fi
3921
3922 if test "$wxUSE_PROFILE" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3925 else
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3928 fi
3929
3930
3931 enablestring=
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3934 no_cache=0
3935 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3936 if test "${enable_no_rtti+set}" = set; then
3937 enableval="$enable_no_rtti"
3938
3939 if test "$enableval" = yes; then
3940 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3941 else
3942 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3943 fi
3944
3945 else
3946
3947 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3950 else
3951 no_cache=1
3952 fi
3953
3954 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3955
3956 fi;
3957
3958 eval "$ac_cv_use_no_rtti"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3961 fi
3962
3963 if test "$wxUSE_NO_RTTI" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3966 else
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3969 fi
3970
3971
3972 enablestring=
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3975 no_cache=0
3976 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3977 if test "${enable_no_exceptions+set}" = set; then
3978 enableval="$enable_no_exceptions"
3979
3980 if test "$enableval" = yes; then
3981 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3982 else
3983 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3984 fi
3985
3986 else
3987
3988 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3991 else
3992 no_cache=1
3993 fi
3994
3995 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3996
3997 fi;
3998
3999 eval "$ac_cv_use_no_exceptions"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4002 fi
4003
4004 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4007 else
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4010 fi
4011
4012
4013 enablestring=
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4016 no_cache=0
4017 # Check whether --enable-permissive or --disable-permissive was given.
4018 if test "${enable_permissive+set}" = set; then
4019 enableval="$enable_permissive"
4020
4021 if test "$enableval" = yes; then
4022 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4023 else
4024 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4037
4038 fi;
4039
4040 eval "$ac_cv_use_permissive"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4043 fi
4044
4045 if test "$wxUSE_PERMISSIVE" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4048 else
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4051 fi
4052
4053
4054 enablestring=
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4057 no_cache=0
4058 # Check whether --enable-no_deps or --disable-no_deps was given.
4059 if test "${enable_no_deps+set}" = set; then
4060 enableval="$enable_no_deps"
4061
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4064 else
4065 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4066 fi
4067
4068 else
4069
4070 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4073 else
4074 no_cache=1
4075 fi
4076
4077 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4078
4079 fi;
4080
4081 eval "$ac_cv_use_no_deps"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4084 fi
4085
4086 if test "$wxUSE_NO_DEPS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4089 else
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4092 fi
4093
4094
4095
4096 enablestring=
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-compat22 or --disable-compat22 was given.
4101 if test "${enable_compat22+set}" = set; then
4102 enableval="$enable_compat22"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4106 else
4107 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4120
4121 fi;
4122
4123 eval "$ac_cv_use_compat22"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4131 else
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4134 fi
4135
4136
4137 enablestring=disable
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4140 no_cache=0
4141 # Check whether --enable-compat24 or --disable-compat24 was given.
4142 if test "${enable_compat24+set}" = set; then
4143 enableval="$enable_compat24"
4144
4145 if test "$enableval" = yes; then
4146 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4147 else
4148 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4149 fi
4150
4151 else
4152
4153 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4156 else
4157 no_cache=1
4158 fi
4159
4160 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4161
4162 fi;
4163
4164 eval "$ac_cv_use_compat24"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4172 else
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177
4178
4179 enablestring=
4180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4182 no_cache=0
4183 # Check whether --enable-rpath or --disable-rpath was given.
4184 if test "${enable_rpath+set}" = set; then
4185 enableval="$enable_rpath"
4186
4187 if test "$enableval" = yes; then
4188 ac_cv_use_rpath='wxUSE_RPATH=yes'
4189 else
4190 ac_cv_use_rpath='wxUSE_RPATH=no'
4191 fi
4192
4193 else
4194
4195 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4198 else
4199 no_cache=1
4200 fi
4201
4202 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4203
4204 fi;
4205
4206 eval "$ac_cv_use_rpath"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4209 fi
4210
4211 if test "$wxUSE_RPATH" = yes; then
4212 echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6
4214 else
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4217 fi
4218
4219
4220
4221
4222
4223 enablestring=
4224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4226 no_cache=0
4227 # Check whether --enable-intl or --disable-intl was given.
4228 if test "${enable_intl+set}" = set; then
4229 enableval="$enable_intl"
4230
4231 if test "$enableval" = yes; then
4232 ac_cv_use_intl='wxUSE_INTL=yes'
4233 else
4234 ac_cv_use_intl='wxUSE_INTL=no'
4235 fi
4236
4237 else
4238
4239 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 else
4243 no_cache=1
4244 fi
4245
4246 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4247
4248 fi;
4249
4250 eval "$ac_cv_use_intl"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4253 fi
4254
4255 if test "$wxUSE_INTL" = yes; then
4256 echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6
4258 else
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4261 fi
4262
4263
4264 enablestring=
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4267 no_cache=0
4268 # Check whether --enable-config or --disable-config was given.
4269 if test "${enable_config+set}" = set; then
4270 enableval="$enable_config"
4271
4272 if test "$enableval" = yes; then
4273 ac_cv_use_config='wxUSE_CONFIG=yes'
4274 else
4275 ac_cv_use_config='wxUSE_CONFIG=no'
4276 fi
4277
4278 else
4279
4280 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x ; then
4282 eval "DEFAULT_$LINE"
4283 else
4284 no_cache=1
4285 fi
4286
4287 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4288
4289 fi;
4290
4291 eval "$ac_cv_use_config"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4294 fi
4295
4296 if test "$wxUSE_CONFIG" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4299 else
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4302 fi
4303
4304
4305
4306 enablestring=
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4309 no_cache=0
4310 # Check whether --enable-protocols or --disable-protocols was given.
4311 if test "${enable_protocols+set}" = set; then
4312 enableval="$enable_protocols"
4313
4314 if test "$enableval" = yes; then
4315 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4316 else
4317 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4318 fi
4319
4320 else
4321
4322 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x ; then
4324 eval "DEFAULT_$LINE"
4325 else
4326 no_cache=1
4327 fi
4328
4329 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4330
4331 fi;
4332
4333 eval "$ac_cv_use_protocols"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4336 fi
4337
4338 if test "$wxUSE_PROTOCOL" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4341 else
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4344 fi
4345
4346
4347 enablestring=
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4350 no_cache=0
4351 # Check whether --enable-ftp or --disable-ftp was given.
4352 if test "${enable_ftp+set}" = set; then
4353 enableval="$enable_ftp"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4357 else
4358 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4359 fi
4360
4361 else
4362
4363 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4371
4372 fi;
4373
4374 eval "$ac_cv_use_ftp"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4377 fi
4378
4379 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4382 else
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4385 fi
4386
4387
4388 enablestring=
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4391 no_cache=0
4392 # Check whether --enable-http or --disable-http was given.
4393 if test "${enable_http+set}" = set; then
4394 enableval="$enable_http"
4395
4396 if test "$enableval" = yes; then
4397 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4398 else
4399 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4400 fi
4401
4402 else
4403
4404 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4407 else
4408 no_cache=1
4409 fi
4410
4411 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4412
4413 fi;
4414
4415 eval "$ac_cv_use_http"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4423 else
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4426 fi
4427
4428
4429 enablestring=
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4432 no_cache=0
4433 # Check whether --enable-fileproto or --disable-fileproto was given.
4434 if test "${enable_fileproto+set}" = set; then
4435 enableval="$enable_fileproto"
4436
4437 if test "$enableval" = yes; then
4438 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4439 else
4440 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4441 fi
4442
4443 else
4444
4445 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x ; then
4447 eval "DEFAULT_$LINE"
4448 else
4449 no_cache=1
4450 fi
4451
4452 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4453
4454 fi;
4455
4456 eval "$ac_cv_use_fileproto"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4459 fi
4460
4461 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4467 fi
4468
4469
4470 enablestring=
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4473 no_cache=0
4474 # Check whether --enable-sockets or --disable-sockets was given.
4475 if test "${enable_sockets+set}" = set; then
4476 enableval="$enable_sockets"
4477
4478 if test "$enableval" = yes; then
4479 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4480 else
4481 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4482 fi
4483
4484 else
4485
4486 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 else
4490 no_cache=1
4491 fi
4492
4493 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4494
4495 fi;
4496
4497 eval "$ac_cv_use_sockets"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4500 fi
4501
4502 if test "$wxUSE_SOCKETS" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4505 else
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4508 fi
4509
4510
4511 enablestring=
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4514 no_cache=0
4515 # Check whether --enable-ole or --disable-ole was given.
4516 if test "${enable_ole+set}" = set; then
4517 enableval="$enable_ole"
4518
4519 if test "$enableval" = yes; then
4520 ac_cv_use_ole='wxUSE_OLE=yes'
4521 else
4522 ac_cv_use_ole='wxUSE_OLE=no'
4523 fi
4524
4525 else
4526
4527 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 else
4531 no_cache=1
4532 fi
4533
4534 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4535
4536 fi;
4537
4538 eval "$ac_cv_use_ole"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 if test "$wxUSE_OLE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4546 else
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4549 fi
4550
4551
4552 enablestring=
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4555 no_cache=0
4556 # Check whether --enable-dataobj or --disable-dataobj was given.
4557 if test "${enable_dataobj+set}" = set; then
4558 enableval="$enable_dataobj"
4559
4560 if test "$enableval" = yes; then
4561 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4562 else
4563 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4564 fi
4565
4566 else
4567
4568 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4571 else
4572 no_cache=1
4573 fi
4574
4575 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4576
4577 fi;
4578
4579 eval "$ac_cv_use_dataobj"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4582 fi
4583
4584 if test "$wxUSE_DATAOBJ" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4587 else
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4590 fi
4591
4592
4593
4594 enablestring=
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4597 no_cache=0
4598 # Check whether --enable-ipc or --disable-ipc was given.
4599 if test "${enable_ipc+set}" = set; then
4600 enableval="$enable_ipc"
4601
4602 if test "$enableval" = yes; then
4603 ac_cv_use_ipc='wxUSE_IPC=yes'
4604 else
4605 ac_cv_use_ipc='wxUSE_IPC=no'
4606 fi
4607
4608 else
4609
4610 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4613 else
4614 no_cache=1
4615 fi
4616
4617 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4618
4619 fi;
4620
4621 eval "$ac_cv_use_ipc"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_IPC" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4632 fi
4633
4634
4635
4636 enablestring=
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4639 no_cache=0
4640 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4641 if test "${enable_apple_ieee+set}" = set; then
4642 enableval="$enable_apple_ieee"
4643
4644 if test "$enableval" = yes; then
4645 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4646 else
4647 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4648 fi
4649
4650 else
4651
4652 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4660
4661 fi;
4662
4663 eval "$ac_cv_use_apple_ieee"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test "$wxUSE_APPLE_IEEE" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4671 else
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4674 fi
4675
4676
4677 enablestring=
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4680 no_cache=0
4681 # Check whether --enable-arcstream or --disable-arcstream was given.
4682 if test "${enable_arcstream+set}" = set; then
4683 enableval="$enable_arcstream"
4684
4685 if test "$enableval" = yes; then
4686 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4687 else
4688 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4689 fi
4690
4691 else
4692
4693 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 else
4697 no_cache=1
4698 fi
4699
4700 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4701
4702 fi;
4703
4704 eval "$ac_cv_use_arcstream"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4707 fi
4708
4709 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4712 else
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4715 fi
4716
4717
4718 enablestring=
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4721 no_cache=0
4722 # Check whether --enable-backtrace or --disable-backtrace was given.
4723 if test "${enable_backtrace+set}" = set; then
4724 enableval="$enable_backtrace"
4725
4726 if test "$enableval" = yes; then
4727 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4728 else
4729 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4730 fi
4731
4732 else
4733
4734 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4742
4743 fi;
4744
4745 eval "$ac_cv_use_backtrace"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4748 fi
4749
4750 if test "$wxUSE_STACKWALKER" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4753 else
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4756 fi
4757
4758
4759 enablestring=
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4762 no_cache=0
4763 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4764 if test "${enable_catch_segvs+set}" = set; then
4765 enableval="$enable_catch_segvs"
4766
4767 if test "$enableval" = yes; then
4768 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4769 else
4770 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4771 fi
4772
4773 else
4774
4775 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 else
4779 no_cache=1
4780 fi
4781
4782 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4783
4784 fi;
4785
4786 eval "$ac_cv_use_catch_segvs"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4789 fi
4790
4791 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4794 else
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4797 fi
4798
4799
4800 enablestring=
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4803 no_cache=0
4804 # Check whether --enable-cmdline or --disable-cmdline was given.
4805 if test "${enable_cmdline+set}" = set; then
4806 enableval="$enable_cmdline"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4810 else
4811 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4812 fi
4813
4814 else
4815
4816 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4824
4825 fi;
4826
4827 eval "$ac_cv_use_cmdline"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4835 else
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4838 fi
4839
4840
4841 enablestring=
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4844 no_cache=0
4845 # Check whether --enable-datetime or --disable-datetime was given.
4846 if test "${enable_datetime+set}" = set; then
4847 enableval="$enable_datetime"
4848
4849 if test "$enableval" = yes; then
4850 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4851 else
4852 ac_cv_use_datetime='wxUSE_DATETIME=no'
4853 fi
4854
4855 else
4856
4857 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 else
4861 no_cache=1
4862 fi
4863
4864 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4865
4866 fi;
4867
4868 eval "$ac_cv_use_datetime"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4871 fi
4872
4873 if test "$wxUSE_DATETIME" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4876 else
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4879 fi
4880
4881
4882 enablestring=
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4885 no_cache=0
4886 # Check whether --enable-debugreport or --disable-debugreport was given.
4887 if test "${enable_debugreport+set}" = set; then
4888 enableval="$enable_debugreport"
4889
4890 if test "$enableval" = yes; then
4891 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4892 else
4893 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4894 fi
4895
4896 else
4897
4898 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4901 else
4902 no_cache=1
4903 fi
4904
4905 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4906
4907 fi;
4908
4909 eval "$ac_cv_use_debugreport"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_DEBUGREPORT" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4917 else
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4920 fi
4921
4922
4923 enablestring=
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4926 no_cache=0
4927 # Check whether --enable-dialupman or --disable-dialupman was given.
4928 if test "${enable_dialupman+set}" = set; then
4929 enableval="$enable_dialupman"
4930
4931 if test "$enableval" = yes; then
4932 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4933 else
4934 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4935 fi
4936
4937 else
4938
4939 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 else
4943 no_cache=1
4944 fi
4945
4946 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4947
4948 fi;
4949
4950 eval "$ac_cv_use_dialupman"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4958 else
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4961 fi
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-dynlib or --disable-dynlib was given.
4969 if test "${enable_dynlib+set}" = set; then
4970 enableval="$enable_dynlib"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4974 else
4975 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4988
4989 fi;
4990
4991 eval "$ac_cv_use_dynlib"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5010 if test "${enable_dynamicloader+set}" = set; then
5011 enableval="$enable_dynamicloader"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5015 else
5016 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5029
5030 fi;
5031
5032 eval "$ac_cv_use_dynamicloader"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-exceptions or --disable-exceptions was given.
5051 if test "${enable_exceptions+set}" = set; then
5052 enableval="$enable_exceptions"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5056 else
5057 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5070
5071 fi;
5072
5073 eval "$ac_cv_use_exceptions"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_EXCEPTIONS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-ffile or --disable-ffile was given.
5092 if test "${enable_ffile+set}" = set; then
5093 enableval="$enable_ffile"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_ffile='wxUSE_FFILE=yes'
5097 else
5098 ac_cv_use_ffile='wxUSE_FFILE=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5111
5112 fi;
5113
5114 eval "$ac_cv_use_ffile"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_FFILE" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-file or --disable-file was given.
5133 if test "${enable_file+set}" = set; then
5134 enableval="$enable_file"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_file='wxUSE_FILE=yes'
5138 else
5139 ac_cv_use_file='wxUSE_FILE=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5152
5153 fi;
5154
5155 eval "$ac_cv_use_file"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_FILE" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-filesystem or --disable-filesystem was given.
5174 if test "${enable_filesystem+set}" = set; then
5175 enableval="$enable_filesystem"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5179 else
5180 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5181 fi
5182
5183 else
5184
5185 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5193
5194 fi;
5195
5196 eval "$ac_cv_use_filesystem"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_FILESYSTEM" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-fontmap or --disable-fontmap was given.
5215 if test "${enable_fontmap+set}" = set; then
5216 enableval="$enable_fontmap"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5220 else
5221 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5234
5235 fi;
5236
5237 eval "$ac_cv_use_fontmap"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_FONTMAP" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251 enablestring=
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5256 if test "${enable_fs_inet+set}" = set; then
5257 enableval="$enable_fs_inet"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5261 else
5262 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5275
5276 fi;
5277
5278 eval "$ac_cv_use_fs_inet"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_FS_INET" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291
5292 enablestring=
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5295 no_cache=0
5296 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5297 if test "${enable_fs_zip+set}" = set; then
5298 enableval="$enable_fs_zip"
5299
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5302 else
5303 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5316
5317 fi;
5318
5319 eval "$ac_cv_use_fs_zip"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_FS_ZIP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5327 else
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5330 fi
5331
5332
5333 enablestring=
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5336 no_cache=0
5337 # Check whether --enable-geometry or --disable-geometry was given.
5338 if test "${enable_geometry+set}" = set; then
5339 enableval="$enable_geometry"
5340
5341 if test "$enableval" = yes; then
5342 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5343 else
5344 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5345 fi
5346
5347 else
5348
5349 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 else
5353 no_cache=1
5354 fi
5355
5356 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5357
5358 fi;
5359
5360 eval "$ac_cv_use_geometry"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_GEOMETRY" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5368 else
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5371 fi
5372
5373
5374 enablestring=
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5377 no_cache=0
5378 # Check whether --enable-log or --disable-log was given.
5379 if test "${enable_log+set}" = set; then
5380 enableval="$enable_log"
5381
5382 if test "$enableval" = yes; then
5383 ac_cv_use_log='wxUSE_LOG=yes'
5384 else
5385 ac_cv_use_log='wxUSE_LOG=no'
5386 fi
5387
5388 else
5389
5390 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5393 else
5394 no_cache=1
5395 fi
5396
5397 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5398
5399 fi;
5400
5401 eval "$ac_cv_use_log"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_LOG" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5412 fi
5413
5414
5415 enablestring=
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5418 no_cache=0
5419 # Check whether --enable-longlong or --disable-longlong was given.
5420 if test "${enable_longlong+set}" = set; then
5421 enableval="$enable_longlong"
5422
5423 if test "$enableval" = yes; then
5424 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5425 else
5426 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5439
5440 fi;
5441
5442 eval "$ac_cv_use_longlong"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5445 fi
5446
5447 if test "$wxUSE_LONGLONG" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5450 else
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5453 fi
5454
5455
5456 enablestring=
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5459 no_cache=0
5460 # Check whether --enable-mimetype or --disable-mimetype was given.
5461 if test "${enable_mimetype+set}" = set; then
5462 enableval="$enable_mimetype"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5466 else
5467 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5480
5481 fi;
5482
5483 eval "$ac_cv_use_mimetype"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5486 fi
5487
5488 if test "$wxUSE_MIMETYPE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5491 else
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5494 fi
5495
5496
5497 enablestring=
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5500 no_cache=0
5501 # Check whether --enable-mslu or --disable-mslu was given.
5502 if test "${enable_mslu+set}" = set; then
5503 enableval="$enable_mslu"
5504
5505 if test "$enableval" = yes; then
5506 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5507 else
5508 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5521
5522 fi;
5523
5524 eval "$ac_cv_use_mslu"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5527 fi
5528
5529 if test "$wxUSE_UNICODE_MSLU" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5532 else
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5535 fi
5536
5537
5538 enablestring=
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5541 no_cache=0
5542 # Check whether --enable-snglinst or --disable-snglinst was given.
5543 if test "${enable_snglinst+set}" = set; then
5544 enableval="$enable_snglinst"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5548 else
5549 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5562
5563 fi;
5564
5565 eval "$ac_cv_use_snglinst"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5573 else
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5576 fi
5577
5578
5579 enablestring=
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5582 no_cache=0
5583 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5584 if test "${enable_std_iostreams+set}" = set; then
5585 enableval="$enable_std_iostreams"
5586
5587 if test "$enableval" = yes; then
5588 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5589 else
5590 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5603
5604 fi;
5605
5606 eval "$ac_cv_use_std_iostreams"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test "$wxUSE_STD_IOSTREAM" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5614 else
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5617 fi
5618
5619
5620 enablestring=
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5623 no_cache=0
5624 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5625 if test "${enable_stdpaths+set}" = set; then
5626 enableval="$enable_stdpaths"
5627
5628 if test "$enableval" = yes; then
5629 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5630 else
5631 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5644
5645 fi;
5646
5647 eval "$ac_cv_use_stdpaths"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5650 fi
5651
5652 if test "$wxUSE_STDPATHS" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5655 else
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5658 fi
5659
5660
5661 enablestring=
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5664 no_cache=0
5665 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5666 if test "${enable_stopwatch+set}" = set; then
5667 enableval="$enable_stopwatch"
5668
5669 if test "$enableval" = yes; then
5670 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5671 else
5672 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5685
5686 fi;
5687
5688 eval "$ac_cv_use_stopwatch"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5691 fi
5692
5693 if test "$wxUSE_STOPWATCH" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5696 else
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5699 fi
5700
5701
5702 enablestring=
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5705 no_cache=0
5706 # Check whether --enable-streams or --disable-streams was given.
5707 if test "${enable_streams+set}" = set; then
5708 enableval="$enable_streams"
5709
5710 if test "$enableval" = yes; then
5711 ac_cv_use_streams='wxUSE_STREAMS=yes'
5712 else
5713 ac_cv_use_streams='wxUSE_STREAMS=no'
5714 fi
5715
5716 else
5717
5718 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5721 else
5722 no_cache=1
5723 fi
5724
5725 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5726
5727 fi;
5728
5729 eval "$ac_cv_use_streams"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5732 fi
5733
5734 if test "$wxUSE_STREAMS" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5737 else
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5740 fi
5741
5742
5743 enablestring=
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5746 no_cache=0
5747 # Check whether --enable-system_options or --disable-system_options was given.
5748 if test "${enable_system_options+set}" = set; then
5749 enableval="$enable_system_options"
5750
5751 if test "$enableval" = yes; then
5752 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5753 else
5754 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5755 fi
5756
5757 else
5758
5759 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5762 else
5763 no_cache=1
5764 fi
5765
5766 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5767
5768 fi;
5769
5770 eval "$ac_cv_use_system_options"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5778 else
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5781 fi
5782
5783
5784 enablestring=
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5787 no_cache=0
5788 # Check whether --enable-textbuf or --disable-textbuf was given.
5789 if test "${enable_textbuf+set}" = set; then
5790 enableval="$enable_textbuf"
5791
5792 if test "$enableval" = yes; then
5793 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5794 else
5795 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5796 fi
5797
5798 else
5799
5800 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5803 else
5804 no_cache=1
5805 fi
5806
5807 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5808
5809 fi;
5810
5811 eval "$ac_cv_use_textbuf"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_TEXTBUFFER" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5819 else
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5822 fi
5823
5824
5825 enablestring=
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5828 no_cache=0
5829 # Check whether --enable-textfile or --disable-textfile was given.
5830 if test "${enable_textfile+set}" = set; then
5831 enableval="$enable_textfile"
5832
5833 if test "$enableval" = yes; then
5834 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5835 else
5836 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5837 fi
5838
5839 else
5840
5841 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5844 else
5845 no_cache=1
5846 fi
5847
5848 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5849
5850 fi;
5851
5852 eval "$ac_cv_use_textfile"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_TEXTFILE" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5860 else
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5863 fi
5864
5865
5866 enablestring=
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-timer or --disable-timer was given.
5871 if test "${enable_timer+set}" = set; then
5872 enableval="$enable_timer"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_timer='wxUSE_TIMER=yes'
5876 else
5877 ac_cv_use_timer='wxUSE_TIMER=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5890
5891 fi;
5892
5893 eval "$ac_cv_use_timer"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_TIMER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5901 else
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5904 fi
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-unicode or --disable-unicode was given.
5912 if test "${enable_unicode+set}" = set; then
5913 enableval="$enable_unicode"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5917 else
5918 ac_cv_use_unicode='wxUSE_UNICODE=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5931
5932 fi;
5933
5934 eval "$ac_cv_use_unicode"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_UNICODE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-sound or --disable-sound was given.
5953 if test "${enable_sound+set}" = set; then
5954 enableval="$enable_sound"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sound='wxUSE_SOUND=yes'
5958 else
5959 ac_cv_use_sound='wxUSE_SOUND=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5972
5973 fi;
5974
5975 eval "$ac_cv_use_sound"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_SOUND" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5994 if test "${enable_mediactrl+set}" = set; then
5995 enableval="$enable_mediactrl"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5999 else
6000 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6013
6014 fi;
6015
6016 eval "$ac_cv_use_mediactrl"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_MEDIACTRL" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6035 if test "${enable_wxprintfv+set}" = set; then
6036 enableval="$enable_wxprintfv"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6040 else
6041 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6054
6055 fi;
6056
6057 eval "$ac_cv_use_wxprintfv"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-zipstream or --disable-zipstream was given.
6076 if test "${enable_zipstream+set}" = set; then
6077 enableval="$enable_zipstream"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6081 else
6082 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6095
6096 fi;
6097
6098 eval "$ac_cv_use_zipstream"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_ZIPSTREAM" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112
6113 enablestring=
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6116 no_cache=0
6117 # Check whether --enable-url or --disable-url was given.
6118 if test "${enable_url+set}" = set; then
6119 enableval="$enable_url"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_url='wxUSE_URL=yes'
6123 else
6124 ac_cv_use_url='wxUSE_URL=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6137
6138 fi;
6139
6140 eval "$ac_cv_use_url"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test "$wxUSE_URL" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6148 else
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6151 fi
6152
6153
6154 enablestring=
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6157 no_cache=0
6158 # Check whether --enable-protocol or --disable-protocol was given.
6159 if test "${enable_protocol+set}" = set; then
6160 enableval="$enable_protocol"
6161
6162 if test "$enableval" = yes; then
6163 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6164 else
6165 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6166 fi
6167
6168 else
6169
6170 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6173 else
6174 no_cache=1
6175 fi
6176
6177 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6178
6179 fi;
6180
6181 eval "$ac_cv_use_protocol"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test "$wxUSE_PROTOCOL" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6189 else
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6192 fi
6193
6194
6195 enablestring=
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6198 no_cache=0
6199 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6200 if test "${enable_protocol_http+set}" = set; then
6201 enableval="$enable_protocol_http"
6202
6203 if test "$enableval" = yes; then
6204 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6205 else
6206 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6207 fi
6208
6209 else
6210
6211 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6214 else
6215 no_cache=1
6216 fi
6217
6218 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6219
6220 fi;
6221
6222 eval "$ac_cv_use_protocol_http"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6225 fi
6226
6227 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6230 else
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235
6236 enablestring=
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6239 no_cache=0
6240 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6241 if test "${enable_protocol_ftp+set}" = set; then
6242 enableval="$enable_protocol_ftp"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6246 else
6247 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6260
6261 fi;
6262
6263 eval "$ac_cv_use_protocol_ftp"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6266 fi
6267
6268 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276
6277 enablestring=
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6280 no_cache=0
6281 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6282 if test "${enable_protocol_file+set}" = set; then
6283 enableval="$enable_protocol_file"
6284
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6287 else
6288 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6301
6302 fi;
6303
6304 eval "$ac_cv_use_protocol_file"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6312 else
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6315 fi
6316
6317
6318
6319
6320
6321 enablestring=
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6324 no_cache=0
6325 # Check whether --enable-threads or --disable-threads was given.
6326 if test "${enable_threads+set}" = set; then
6327 enableval="$enable_threads"
6328
6329 if test "$enableval" = yes; then
6330 ac_cv_use_threads='wxUSE_THREADS=yes'
6331 else
6332 ac_cv_use_threads='wxUSE_THREADS=no'
6333 fi
6334
6335 else
6336
6337 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6340 else
6341 no_cache=1
6342 fi
6343
6344 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6345
6346 fi;
6347
6348 eval "$ac_cv_use_threads"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6351 fi
6352
6353 if test "$wxUSE_THREADS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6356 else
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6359 fi
6360
6361
6362 if test "$wxUSE_GUI" = "yes"; then
6363
6364
6365
6366 enablestring=
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6369 no_cache=0
6370 # Check whether --enable-docview or --disable-docview was given.
6371 if test "${enable_docview+set}" = set; then
6372 enableval="$enable_docview"
6373
6374 if test "$enableval" = yes; then
6375 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6376 else
6377 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6378 fi
6379
6380 else
6381
6382 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x ; then
6384 eval "DEFAULT_$LINE"
6385 else
6386 no_cache=1
6387 fi
6388
6389 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6390
6391 fi;
6392
6393 eval "$ac_cv_use_docview"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6396 fi
6397
6398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6401 else
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6404 fi
6405
6406
6407 enablestring=
6408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6410 no_cache=0
6411 # Check whether --enable-help or --disable-help was given.
6412 if test "${enable_help+set}" = set; then
6413 enableval="$enable_help"
6414
6415 if test "$enableval" = yes; then
6416 ac_cv_use_help='wxUSE_HELP=yes'
6417 else
6418 ac_cv_use_help='wxUSE_HELP=no'
6419 fi
6420
6421 else
6422
6423 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6424 if test "x$LINE" != x ; then
6425 eval "DEFAULT_$LINE"
6426 else
6427 no_cache=1
6428 fi
6429
6430 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6431
6432 fi;
6433
6434 eval "$ac_cv_use_help"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6437 fi
6438
6439 if test "$wxUSE_HELP" = yes; then
6440 echo "$as_me:$LINENO: result: yes" >&5
6441 echo "${ECHO_T}yes" >&6
6442 else
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6445 fi
6446
6447
6448 enablestring=
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6451 no_cache=0
6452 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6453 if test "${enable_mshtmlhelp+set}" = set; then
6454 enableval="$enable_mshtmlhelp"
6455
6456 if test "$enableval" = yes; then
6457 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6458 else
6459 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6460 fi
6461
6462 else
6463
6464 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x ; then
6466 eval "DEFAULT_$LINE"
6467 else
6468 no_cache=1
6469 fi
6470
6471 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6472
6473 fi;
6474
6475 eval "$ac_cv_use_mshtmlhelp"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6478 fi
6479
6480 if test "$wxUSE_MS_HTML_HELP" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6483 else
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6486 fi
6487
6488
6489 enablestring=
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6492 no_cache=0
6493 # Check whether --enable-html or --disable-html was given.
6494 if test "${enable_html+set}" = set; then
6495 enableval="$enable_html"
6496
6497 if test "$enableval" = yes; then
6498 ac_cv_use_html='wxUSE_HTML=yes'
6499 else
6500 ac_cv_use_html='wxUSE_HTML=no'
6501 fi
6502
6503 else
6504
6505 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x ; then
6507 eval "DEFAULT_$LINE"
6508 else
6509 no_cache=1
6510 fi
6511
6512 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6513
6514 fi;
6515
6516 eval "$ac_cv_use_html"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6519 fi
6520
6521 if test "$wxUSE_HTML" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6524 else
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6527 fi
6528
6529
6530 enablestring=
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6533 no_cache=0
6534 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6535 if test "${enable_htmlhelp+set}" = set; then
6536 enableval="$enable_htmlhelp"
6537
6538 if test "$enableval" = yes; then
6539 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6540 else
6541 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6542 fi
6543
6544 else
6545
6546 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x ; then
6548 eval "DEFAULT_$LINE"
6549 else
6550 no_cache=1
6551 fi
6552
6553 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6554
6555 fi;
6556
6557 eval "$ac_cv_use_htmlhelp"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6560 fi
6561
6562 if test "$wxUSE_WXHTML_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6565 else
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6568 fi
6569
6570
6571 enablestring=
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6574 no_cache=0
6575 # Check whether --enable-xrc or --disable-xrc was given.
6576 if test "${enable_xrc+set}" = set; then
6577 enableval="$enable_xrc"
6578
6579 if test "$enableval" = yes; then
6580 ac_cv_use_xrc='wxUSE_XRC=yes'
6581 else
6582 ac_cv_use_xrc='wxUSE_XRC=no'
6583 fi
6584
6585 else
6586
6587 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x ; then
6589 eval "DEFAULT_$LINE"
6590 else
6591 no_cache=1
6592 fi
6593
6594 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6595
6596 fi;
6597
6598 eval "$ac_cv_use_xrc"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6601 fi
6602
6603 if test "$wxUSE_XRC" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6606 else
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6609 fi
6610
6611
6612 enablestring=
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6615 no_cache=0
6616 # Check whether --enable-constraints or --disable-constraints was given.
6617 if test "${enable_constraints+set}" = set; then
6618 enableval="$enable_constraints"
6619
6620 if test "$enableval" = yes; then
6621 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6622 else
6623 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6624 fi
6625
6626 else
6627
6628 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x ; then
6630 eval "DEFAULT_$LINE"
6631 else
6632 no_cache=1
6633 fi
6634
6635 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6636
6637 fi;
6638
6639 eval "$ac_cv_use_constraints"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6642 fi
6643
6644 if test "$wxUSE_CONSTRAINTS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6647 else
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6650 fi
6651
6652
6653 enablestring=
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6656 no_cache=0
6657 # Check whether --enable-printarch or --disable-printarch was given.
6658 if test "${enable_printarch+set}" = set; then
6659 enableval="$enable_printarch"
6660
6661 if test "$enableval" = yes; then
6662 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6663 else
6664 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6665 fi
6666
6667 else
6668
6669 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6672 else
6673 no_cache=1
6674 fi
6675
6676 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6677
6678 fi;
6679
6680 eval "$ac_cv_use_printarch"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6683 fi
6684
6685 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6688 else
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6691 fi
6692
6693
6694 enablestring=
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6697 no_cache=0
6698 # Check whether --enable-mdi or --disable-mdi was given.
6699 if test "${enable_mdi+set}" = set; then
6700 enableval="$enable_mdi"
6701
6702 if test "$enableval" = yes; then
6703 ac_cv_use_mdi='wxUSE_MDI=yes'
6704 else
6705 ac_cv_use_mdi='wxUSE_MDI=no'
6706 fi
6707
6708 else
6709
6710 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6713 else
6714 no_cache=1
6715 fi
6716
6717 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6718
6719 fi;
6720
6721 eval "$ac_cv_use_mdi"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6724 fi
6725
6726 if test "$wxUSE_MDI" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6729 else
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6732 fi
6733
6734
6735 enablestring=
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6740 if test "${enable_mdidoc+set}" = set; then
6741 enableval="$enable_mdidoc"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6745 else
6746 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6747 fi
6748
6749 else
6750
6751 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6759
6760 fi;
6761
6762 eval "$ac_cv_use_mdidoc"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6770 else
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6773 fi
6774
6775
6776 enablestring=
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6779 no_cache=0
6780 # Check whether --enable-loggui or --disable-loggui was given.
6781 if test "${enable_loggui+set}" = set; then
6782 enableval="$enable_loggui"
6783
6784 if test "$enableval" = yes; then
6785 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6786 else
6787 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6788 fi
6789
6790 else
6791
6792 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6795 else
6796 no_cache=1
6797 fi
6798
6799 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6800
6801 fi;
6802
6803 eval "$ac_cv_use_loggui"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6806 fi
6807
6808 if test "$wxUSE_LOGGUI" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6811 else
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6814 fi
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-logwin or --disable-logwin was given.
6822 if test "${enable_logwin+set}" = set; then
6823 enableval="$enable_logwin"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6827 else
6828 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6841
6842 fi;
6843
6844 eval "$ac_cv_use_logwin"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_LOGWINDOW" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-logdialog or --disable-logdialog was given.
6863 if test "${enable_logdialog+set}" = set; then
6864 enableval="$enable_logdialog"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6868 else
6869 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6870 fi
6871
6872 else
6873
6874 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6882
6883 fi;
6884
6885 eval "$ac_cv_use_logdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_LOGDIALOG" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-webkit or --disable-webkit was given.
6904 if test "${enable_webkit+set}" = set; then
6905 enableval="$enable_webkit"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6909 else
6910 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6923
6924 fi;
6925
6926 eval "$ac_cv_use_webkit"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_WEBKIT" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940
6941 enablestring=
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6944 no_cache=0
6945 # Check whether --enable-postscript or --disable-postscript was given.
6946 if test "${enable_postscript+set}" = set; then
6947 enableval="$enable_postscript"
6948
6949 if test "$enableval" = yes; then
6950 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6951 else
6952 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6953 fi
6954
6955 else
6956
6957 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x ; then
6959 eval "DEFAULT_$LINE"
6960 else
6961 no_cache=1
6962 fi
6963
6964 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6965
6966 fi;
6967
6968 eval "$ac_cv_use_postscript"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test "$wxUSE_POSTSCRIPT" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6976 else
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6979 fi
6980
6981
6982
6983
6984
6985 enablestring=
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6988 no_cache=0
6989 # Check whether --enable-prologio or --disable-prologio was given.
6990 if test "${enable_prologio+set}" = set; then
6991 enableval="$enable_prologio"
6992
6993 if test "$enableval" = yes; then
6994 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6995 else
6996 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6997 fi
6998
6999 else
7000
7001 LINE=`grep "wxUSE_PROLOGIO" ${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_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7009
7010 fi;
7011
7012 eval "$ac_cv_use_prologio"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_PROLOGIO" = 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}-resources" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7029 no_cache=0
7030 # Check whether --enable-resources or --disable-resources was given.
7031 if test "${enable_resources+set}" = set; then
7032 enableval="$enable_resources"
7033
7034 if test "$enableval" = yes; then
7035 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7036 else
7037 ac_cv_use_resources='wxUSE_RESOURCES=no'
7038 fi
7039
7040 else
7041
7042 LINE=`grep "wxUSE_RESOURCES" ${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_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7050
7051 fi;
7052
7053 eval "$ac_cv_use_resources"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7056 fi
7057
7058 if test "$wxUSE_RESOURCES" = 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
7068
7069 enablestring=
7070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7072 no_cache=0
7073 # Check whether --enable-clipboard or --disable-clipboard was given.
7074 if test "${enable_clipboard+set}" = set; then
7075 enableval="$enable_clipboard"
7076
7077 if test "$enableval" = yes; then
7078 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7079 else
7080 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7081 fi
7082
7083 else
7084
7085 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7088 else
7089 no_cache=1
7090 fi
7091
7092 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7093
7094 fi;
7095
7096 eval "$ac_cv_use_clipboard"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7099 fi
7100
7101 if test "$wxUSE_CLIPBOARD" = yes; then
7102 echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6
7104 else
7105 echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6
7107 fi
7108
7109
7110 enablestring=
7111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7113 no_cache=0
7114 # Check whether --enable-dnd or --disable-dnd was given.
7115 if test "${enable_dnd+set}" = set; then
7116 enableval="$enable_dnd"
7117
7118 if test "$enableval" = yes; then
7119 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7120 else
7121 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7122 fi
7123
7124 else
7125
7126 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x ; then
7128 eval "DEFAULT_$LINE"
7129 else
7130 no_cache=1
7131 fi
7132
7133 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7134
7135 fi;
7136
7137 eval "$ac_cv_use_dnd"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7140 fi
7141
7142 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7145 else
7146 echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6
7148 fi
7149
7150
7151 enablestring=
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7154 no_cache=0
7155 # Check whether --enable-metafile or --disable-metafile was given.
7156 if test "${enable_metafile+set}" = set; then
7157 enableval="$enable_metafile"
7158
7159 if test "$enableval" = yes; then
7160 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7161 else
7162 ac_cv_use_metafile='wxUSE_METAFILE=no'
7163 fi
7164
7165 else
7166
7167 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7170 else
7171 no_cache=1
7172 fi
7173
7174 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7175
7176 fi;
7177
7178 eval "$ac_cv_use_metafile"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7181 fi
7182
7183 if test "$wxUSE_METAFILE" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7186 else
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7189 fi
7190
7191
7192
7193
7194
7195 enablestring=
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7198 no_cache=0
7199 # Check whether --enable-controls or --disable-controls was given.
7200 if test "${enable_controls+set}" = set; then
7201 enableval="$enable_controls"
7202
7203 if test "$enableval" = yes; then
7204 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7205 else
7206 ac_cv_use_controls='wxUSE_CONTROLS=no'
7207 fi
7208
7209 else
7210
7211 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 else
7215 no_cache=1
7216 fi
7217
7218 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7219
7220 fi;
7221
7222 eval "$ac_cv_use_controls"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7225 fi
7226
7227 if test "$wxUSE_CONTROLS" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7230 else
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7233 fi
7234
7235
7236 if test "$wxUSE_CONTROLS" = "yes"; then
7237 DEFAULT_wxUSE_ACCEL=yes
7238 DEFAULT_wxUSE_BMPBUTTON=yes
7239 DEFAULT_wxUSE_BUTTON=yes
7240 DEFAULT_wxUSE_CALCTRL=yes
7241 DEFAULT_wxUSE_CARET=yes
7242 DEFAULT_wxUSE_COMBOBOX=yes
7243 DEFAULT_wxUSE_CHECKBOX=yes
7244 DEFAULT_wxUSE_CHECKLISTBOX=yes
7245 DEFAULT_wxUSE_CHOICE=yes
7246 DEFAULT_wxUSE_CHOICEBOOK=yes
7247 DEFAULT_wxUSE_DATEPICKCTRL=yes
7248 DEFAULT_wxUSE_GAUGE=yes
7249 DEFAULT_wxUSE_GRID=yes
7250 DEFAULT_wxUSE_IMAGLIST=yes
7251 DEFAULT_wxUSE_LISTBOOK=yes
7252 DEFAULT_wxUSE_LISTBOX=yes
7253 DEFAULT_wxUSE_LISTCTRL=yes
7254 DEFAULT_wxUSE_NOTEBOOK=yes
7255 DEFAULT_wxUSE_RADIOBOX=yes
7256 DEFAULT_wxUSE_RADIOBTN=yes
7257 DEFAULT_wxUSE_SASH=yes
7258 DEFAULT_wxUSE_SCROLLBAR=yes
7259 DEFAULT_wxUSE_SLIDER=yes
7260 DEFAULT_wxUSE_SPINBTN=yes
7261 DEFAULT_wxUSE_SPINCTRL=yes
7262 DEFAULT_wxUSE_SPLITTER=yes
7263 DEFAULT_wxUSE_STATBMP=yes
7264 DEFAULT_wxUSE_STATBOX=yes
7265 DEFAULT_wxUSE_STATLINE=yes
7266 DEFAULT_wxUSE_STATUSBAR=yes
7267 DEFAULT_wxUSE_TAB_DIALOG=yes
7268 DEFAULT_wxUSE_TOGGLEBTN=yes
7269 DEFAULT_wxUSE_TOOLBAR=yes
7270 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7271 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7272 DEFAULT_wxUSE_TOOLTIPS=yes
7273 DEFAULT_wxUSE_TREECTRL=yes
7274 DEFAULT_wxUSE_POPUPWIN=yes
7275 DEFAULT_wxUSE_TIPWINDOW=yes
7276 elif test "$wxUSE_CONTROLS" = "no"; then
7277 DEFAULT_wxUSE_ACCEL=no
7278 DEFAULT_wxUSE_BMPBUTTON=no
7279 DEFAULT_wxUSE_BUTTON=no
7280 DEFAULT_wxUSE_CALCTRL=no
7281 DEFAULT_wxUSE_CARET=no
7282 DEFAULT_wxUSE_COMBOBOX=no
7283 DEFAULT_wxUSE_CHECKBOX=no
7284 DEFAULT_wxUSE_CHECKLISTBOX=no
7285 DEFAULT_wxUSE_CHOICE=no
7286 DEFAULT_wxUSE_CHOICEBOOK=no
7287 DEFAULT_wxUSE_DATEPICKCTRL=no
7288 DEFAULT_wxUSE_GAUGE=no
7289 DEFAULT_wxUSE_GRID=no
7290 DEFAULT_wxUSE_IMAGLIST=no
7291 DEFAULT_wxUSE_LISTBOOK=no
7292 DEFAULT_wxUSE_LISTBOX=no
7293 DEFAULT_wxUSE_LISTCTRL=no
7294 DEFAULT_wxUSE_NOTEBOOK=no
7295 DEFAULT_wxUSE_RADIOBOX=no
7296 DEFAULT_wxUSE_RADIOBTN=no
7297 DEFAULT_wxUSE_SASH=no
7298 DEFAULT_wxUSE_SCROLLBAR=no
7299 DEFAULT_wxUSE_SLIDER=no
7300 DEFAULT_wxUSE_SPINBTN=no
7301 DEFAULT_wxUSE_SPINCTRL=no
7302 DEFAULT_wxUSE_SPLITTER=no
7303 DEFAULT_wxUSE_STATBMP=no
7304 DEFAULT_wxUSE_STATBOX=no
7305 DEFAULT_wxUSE_STATLINE=no
7306 DEFAULT_wxUSE_STATUSBAR=no
7307 DEFAULT_wxUSE_TAB_DIALOG=no
7308 DEFAULT_wxUSE_TOGGLEBTN=no
7309 DEFAULT_wxUSE_TOOLBAR=no
7310 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7312 DEFAULT_wxUSE_TOOLTIPS=no
7313 DEFAULT_wxUSE_TREECTRL=no
7314 DEFAULT_wxUSE_POPUPWIN=no
7315 DEFAULT_wxUSE_TIPWINDOW=no
7316 fi
7317
7318
7319 enablestring=
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7322 no_cache=0
7323 # Check whether --enable-accel or --disable-accel was given.
7324 if test "${enable_accel+set}" = set; then
7325 enableval="$enable_accel"
7326
7327 if test "$enableval" = yes; then
7328 ac_cv_use_accel='wxUSE_ACCEL=yes'
7329 else
7330 ac_cv_use_accel='wxUSE_ACCEL=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7343
7344 fi;
7345
7346 eval "$ac_cv_use_accel"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7349 fi
7350
7351 if test "$wxUSE_ACCEL" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7354 else
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7357 fi
7358
7359
7360 enablestring=
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7363 no_cache=0
7364 # Check whether --enable-button or --disable-button was given.
7365 if test "${enable_button+set}" = set; then
7366 enableval="$enable_button"
7367
7368 if test "$enableval" = yes; then
7369 ac_cv_use_button='wxUSE_BUTTON=yes'
7370 else
7371 ac_cv_use_button='wxUSE_BUTTON=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7384
7385 fi;
7386
7387 eval "$ac_cv_use_button"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7390 fi
7391
7392 if test "$wxUSE_BUTTON" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7395 else
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7398 fi
7399
7400
7401 enablestring=
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7404 no_cache=0
7405 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7406 if test "${enable_bmpbutton+set}" = set; then
7407 enableval="$enable_bmpbutton"
7408
7409 if test "$enableval" = yes; then
7410 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7411 else
7412 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7425
7426 fi;
7427
7428 eval "$ac_cv_use_bmpbutton"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7431 fi
7432
7433 if test "$wxUSE_BMPBUTTON" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7436 else
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7439 fi
7440
7441
7442 enablestring=
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7445 no_cache=0
7446 # Check whether --enable-calendar or --disable-calendar was given.
7447 if test "${enable_calendar+set}" = set; then
7448 enableval="$enable_calendar"
7449
7450 if test "$enableval" = yes; then
7451 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7452 else
7453 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7466
7467 fi;
7468
7469 eval "$ac_cv_use_calendar"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7472 fi
7473
7474 if test "$wxUSE_CALCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7477 else
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7480 fi
7481
7482
7483 enablestring=
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7486 no_cache=0
7487 # Check whether --enable-caret or --disable-caret was given.
7488 if test "${enable_caret+set}" = set; then
7489 enableval="$enable_caret"
7490
7491 if test "$enableval" = yes; then
7492 ac_cv_use_caret='wxUSE_CARET=yes'
7493 else
7494 ac_cv_use_caret='wxUSE_CARET=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7507
7508 fi;
7509
7510 eval "$ac_cv_use_caret"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_CARET" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7518 else
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7521 fi
7522
7523
7524 enablestring=
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7527 no_cache=0
7528 # Check whether --enable-checkbox or --disable-checkbox was given.
7529 if test "${enable_checkbox+set}" = set; then
7530 enableval="$enable_checkbox"
7531
7532 if test "$enableval" = yes; then
7533 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7534 else
7535 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7536 fi
7537
7538 else
7539
7540 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 else
7544 no_cache=1
7545 fi
7546
7547 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7548
7549 fi;
7550
7551 eval "$ac_cv_use_checkbox"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_CHECKBOX" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7559 else
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7562 fi
7563
7564
7565 enablestring=
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7568 no_cache=0
7569 # Check whether --enable-checklst or --disable-checklst was given.
7570 if test "${enable_checklst+set}" = set; then
7571 enableval="$enable_checklst"
7572
7573 if test "$enableval" = yes; then
7574 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7575 else
7576 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7577 fi
7578
7579 else
7580
7581 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7584 else
7585 no_cache=1
7586 fi
7587
7588 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7589
7590 fi;
7591
7592 eval "$ac_cv_use_checklst"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_CHECKLST" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7600 else
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7603 fi
7604
7605
7606 enablestring=
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7609 no_cache=0
7610 # Check whether --enable-choice or --disable-choice was given.
7611 if test "${enable_choice+set}" = set; then
7612 enableval="$enable_choice"
7613
7614 if test "$enableval" = yes; then
7615 ac_cv_use_choice='wxUSE_CHOICE=yes'
7616 else
7617 ac_cv_use_choice='wxUSE_CHOICE=no'
7618 fi
7619
7620 else
7621
7622 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x ; then
7624 eval "DEFAULT_$LINE"
7625 else
7626 no_cache=1
7627 fi
7628
7629 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7630
7631 fi;
7632
7633 eval "$ac_cv_use_choice"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7636 fi
7637
7638 if test "$wxUSE_CHOICE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7641 else
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7644 fi
7645
7646
7647 enablestring=
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7650 no_cache=0
7651 # Check whether --enable-choicebook or --disable-choicebook was given.
7652 if test "${enable_choicebook+set}" = set; then
7653 enableval="$enable_choicebook"
7654
7655 if test "$enableval" = yes; then
7656 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7657 else
7658 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 else
7667 no_cache=1
7668 fi
7669
7670 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7671
7672 fi;
7673
7674 eval "$ac_cv_use_choicebook"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test "$wxUSE_CHOICEBOOK" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7682 else
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7685 fi
7686
7687
7688 enablestring=
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7691 no_cache=0
7692 # Check whether --enable-combobox or --disable-combobox was given.
7693 if test "${enable_combobox+set}" = set; then
7694 enableval="$enable_combobox"
7695
7696 if test "$enableval" = yes; then
7697 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7698 else
7699 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7700 fi
7701
7702 else
7703
7704 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7707 else
7708 no_cache=1
7709 fi
7710
7711 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7712
7713 fi;
7714
7715 eval "$ac_cv_use_combobox"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7718 fi
7719
7720 if test "$wxUSE_COMBOBOX" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7723 else
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7726 fi
7727
7728
7729 enablestring=
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7732 no_cache=0
7733 # Check whether --enable-datepick or --disable-datepick was given.
7734 if test "${enable_datepick+set}" = set; then
7735 enableval="$enable_datepick"
7736
7737 if test "$enableval" = yes; then
7738 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7739 else
7740 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7741 fi
7742
7743 else
7744
7745 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7748 else
7749 no_cache=1
7750 fi
7751
7752 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7753
7754 fi;
7755
7756 eval "$ac_cv_use_datepick"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7759 fi
7760
7761 if test "$wxUSE_DATEPICKCTRL" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7764 else
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7767 fi
7768
7769
7770 enablestring=
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7773 no_cache=0
7774 # Check whether --enable-display or --disable-display was given.
7775 if test "${enable_display+set}" = set; then
7776 enableval="$enable_display"
7777
7778 if test "$enableval" = yes; then
7779 ac_cv_use_display='wxUSE_DISPLAY=yes'
7780 else
7781 ac_cv_use_display='wxUSE_DISPLAY=no'
7782 fi
7783
7784 else
7785
7786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7789 else
7790 no_cache=1
7791 fi
7792
7793 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7794
7795 fi;
7796
7797 eval "$ac_cv_use_display"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7800 fi
7801
7802 if test "$wxUSE_DISPLAY" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7805 else
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7808 fi
7809
7810
7811 enablestring=
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7814 no_cache=0
7815 # Check whether --enable-gauge or --disable-gauge was given.
7816 if test "${enable_gauge+set}" = set; then
7817 enableval="$enable_gauge"
7818
7819 if test "$enableval" = yes; then
7820 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7821 else
7822 ac_cv_use_gauge='wxUSE_GAUGE=no'
7823 fi
7824
7825 else
7826
7827 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 else
7831 no_cache=1
7832 fi
7833
7834 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7835
7836 fi;
7837
7838 eval "$ac_cv_use_gauge"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_GAUGE" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7846 else
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7849 fi
7850
7851
7852 enablestring=
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7855 no_cache=0
7856 # Check whether --enable-grid or --disable-grid was given.
7857 if test "${enable_grid+set}" = set; then
7858 enableval="$enable_grid"
7859
7860 if test "$enableval" = yes; then
7861 ac_cv_use_grid='wxUSE_GRID=yes'
7862 else
7863 ac_cv_use_grid='wxUSE_GRID=no'
7864 fi
7865
7866 else
7867
7868 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7871 else
7872 no_cache=1
7873 fi
7874
7875 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7876
7877 fi;
7878
7879 eval "$ac_cv_use_grid"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7882 fi
7883
7884 if test "$wxUSE_GRID" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7887 else
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7890 fi
7891
7892
7893 enablestring=
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7896 no_cache=0
7897 # Check whether --enable-imaglist or --disable-imaglist was given.
7898 if test "${enable_imaglist+set}" = set; then
7899 enableval="$enable_imaglist"
7900
7901 if test "$enableval" = yes; then
7902 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7903 else
7904 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7905 fi
7906
7907 else
7908
7909 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7912 else
7913 no_cache=1
7914 fi
7915
7916 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7917
7918 fi;
7919
7920 eval "$ac_cv_use_imaglist"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7923 fi
7924
7925 if test "$wxUSE_IMAGLIST" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7928 else
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7931 fi
7932
7933
7934 enablestring=
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7937 no_cache=0
7938 # Check whether --enable-listbook or --disable-listbook was given.
7939 if test "${enable_listbook+set}" = set; then
7940 enableval="$enable_listbook"
7941
7942 if test "$enableval" = yes; then
7943 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7944 else
7945 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7946 fi
7947
7948 else
7949
7950 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7953 else
7954 no_cache=1
7955 fi
7956
7957 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7958
7959 fi;
7960
7961 eval "$ac_cv_use_listbook"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7964 fi
7965
7966 if test "$wxUSE_LISTBOOK" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7969 else
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7972 fi
7973
7974
7975 enablestring=
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7978 no_cache=0
7979 # Check whether --enable-listbox or --disable-listbox was given.
7980 if test "${enable_listbox+set}" = set; then
7981 enableval="$enable_listbox"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7985 else
7986 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7999
8000 fi;
8001
8002 eval "$ac_cv_use_listbox"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test "$wxUSE_LISTBOX" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8010 else
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8013 fi
8014
8015
8016 enablestring=
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8019 no_cache=0
8020 # Check whether --enable-listctrl or --disable-listctrl was given.
8021 if test "${enable_listctrl+set}" = set; then
8022 enableval="$enable_listctrl"
8023
8024 if test "$enableval" = yes; then
8025 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8026 else
8027 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8035 else
8036 no_cache=1
8037 fi
8038
8039 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8040
8041 fi;
8042
8043 eval "$ac_cv_use_listctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8046 fi
8047
8048 if test "$wxUSE_LISTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8051 else
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8054 fi
8055
8056
8057 enablestring=
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-notebook or --disable-notebook was given.
8062 if test "${enable_notebook+set}" = set; then
8063 enableval="$enable_notebook"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8067 else
8068 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8081
8082 fi;
8083
8084 eval "$ac_cv_use_notebook"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test "$wxUSE_NOTEBOOK" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8092 else
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8095 fi
8096
8097
8098 enablestring=
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8101 no_cache=0
8102 # Check whether --enable-radiobox or --disable-radiobox was given.
8103 if test "${enable_radiobox+set}" = set; then
8104 enableval="$enable_radiobox"
8105
8106 if test "$enableval" = yes; then
8107 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8108 else
8109 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8110 fi
8111
8112 else
8113
8114 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8117 else
8118 no_cache=1
8119 fi
8120
8121 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8122
8123 fi;
8124
8125 eval "$ac_cv_use_radiobox"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8128 fi
8129
8130 if test "$wxUSE_RADIOBOX" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8133 else
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8136 fi
8137
8138
8139 enablestring=
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8144 if test "${enable_radiobtn+set}" = set; then
8145 enableval="$enable_radiobtn"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8149 else
8150 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8163
8164 fi;
8165
8166 eval "$ac_cv_use_radiobtn"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_RADIOBTN" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179
8180 enablestring=
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8183 no_cache=0
8184 # Check whether --enable-sash or --disable-sash was given.
8185 if test "${enable_sash+set}" = set; then
8186 enableval="$enable_sash"
8187
8188 if test "$enableval" = yes; then
8189 ac_cv_use_sash='wxUSE_SASH=yes'
8190 else
8191 ac_cv_use_sash='wxUSE_SASH=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8204
8205 fi;
8206
8207 eval "$ac_cv_use_sash"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test "$wxUSE_SASH" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8215 else
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8218 fi
8219
8220
8221 enablestring=
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8224 no_cache=0
8225 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8226 if test "${enable_scrollbar+set}" = set; then
8227 enableval="$enable_scrollbar"
8228
8229 if test "$enableval" = yes; then
8230 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8231 else
8232 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8245
8246 fi;
8247
8248 eval "$ac_cv_use_scrollbar"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8251 fi
8252
8253 if test "$wxUSE_SCROLLBAR" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8256 else
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8259 fi
8260
8261
8262 enablestring=
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8265 no_cache=0
8266 # Check whether --enable-slider or --disable-slider was given.
8267 if test "${enable_slider+set}" = set; then
8268 enableval="$enable_slider"
8269
8270 if test "$enableval" = yes; then
8271 ac_cv_use_slider='wxUSE_SLIDER=yes'
8272 else
8273 ac_cv_use_slider='wxUSE_SLIDER=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8286
8287 fi;
8288
8289 eval "$ac_cv_use_slider"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test "$wxUSE_SLIDER" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8297 else
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8300 fi
8301
8302
8303 enablestring=
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8306 no_cache=0
8307 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8308 if test "${enable_spinbtn+set}" = set; then
8309 enableval="$enable_spinbtn"
8310
8311 if test "$enableval" = yes; then
8312 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8313 else
8314 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8327
8328 fi;
8329
8330 eval "$ac_cv_use_spinbtn"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8333 fi
8334
8335 if test "$wxUSE_SPINBTN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8338 else
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8341 fi
8342
8343
8344 enablestring=
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8347 no_cache=0
8348 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8349 if test "${enable_spinctrl+set}" = set; then
8350 enableval="$enable_spinctrl"
8351
8352 if test "$enableval" = yes; then
8353 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8354 else
8355 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8356 fi
8357
8358 else
8359
8360 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8363 else
8364 no_cache=1
8365 fi
8366
8367 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8368
8369 fi;
8370
8371 eval "$ac_cv_use_spinctrl"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8374 fi
8375
8376 if test "$wxUSE_SPINCTRL" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8379 else
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8382 fi
8383
8384
8385 enablestring=
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8388 no_cache=0
8389 # Check whether --enable-splitter or --disable-splitter was given.
8390 if test "${enable_splitter+set}" = set; then
8391 enableval="$enable_splitter"
8392
8393 if test "$enableval" = yes; then
8394 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8395 else
8396 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8397 fi
8398
8399 else
8400
8401 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x ; then
8403 eval "DEFAULT_$LINE"
8404 else
8405 no_cache=1
8406 fi
8407
8408 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8409
8410 fi;
8411
8412 eval "$ac_cv_use_splitter"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8415 fi
8416
8417 if test "$wxUSE_SPLITTER" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8420 else
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8423 fi
8424
8425
8426 enablestring=
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8429 no_cache=0
8430 # Check whether --enable-statbmp or --disable-statbmp was given.
8431 if test "${enable_statbmp+set}" = set; then
8432 enableval="$enable_statbmp"
8433
8434 if test "$enableval" = yes; then
8435 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8436 else
8437 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8438 fi
8439
8440 else
8441
8442 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8445 else
8446 no_cache=1
8447 fi
8448
8449 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8450
8451 fi;
8452
8453 eval "$ac_cv_use_statbmp"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_STATBMP" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8461 else
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8464 fi
8465
8466
8467 enablestring=
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8470 no_cache=0
8471 # Check whether --enable-statbox or --disable-statbox was given.
8472 if test "${enable_statbox+set}" = set; then
8473 enableval="$enable_statbox"
8474
8475 if test "$enableval" = yes; then
8476 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8477 else
8478 ac_cv_use_statbox='wxUSE_STATBOX=no'
8479 fi
8480
8481 else
8482
8483 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8486 else
8487 no_cache=1
8488 fi
8489
8490 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8491
8492 fi;
8493
8494 eval "$ac_cv_use_statbox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_STATBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8502 else
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8505 fi
8506
8507
8508 enablestring=
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8511 no_cache=0
8512 # Check whether --enable-statline or --disable-statline was given.
8513 if test "${enable_statline+set}" = set; then
8514 enableval="$enable_statline"
8515
8516 if test "$enableval" = yes; then
8517 ac_cv_use_statline='wxUSE_STATLINE=yes'
8518 else
8519 ac_cv_use_statline='wxUSE_STATLINE=no'
8520 fi
8521
8522 else
8523
8524 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x ; then
8526 eval "DEFAULT_$LINE"
8527 else
8528 no_cache=1
8529 fi
8530
8531 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8532
8533 fi;
8534
8535 eval "$ac_cv_use_statline"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8538 fi
8539
8540 if test "$wxUSE_STATLINE" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8543 else
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8546 fi
8547
8548
8549 enablestring=
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8552 no_cache=0
8553 # Check whether --enable-stattext or --disable-stattext was given.
8554 if test "${enable_stattext+set}" = set; then
8555 enableval="$enable_stattext"
8556
8557 if test "$enableval" = yes; then
8558 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8559 else
8560 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8561 fi
8562
8563 else
8564
8565 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x ; then
8567 eval "DEFAULT_$LINE"
8568 else
8569 no_cache=1
8570 fi
8571
8572 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8573
8574 fi;
8575
8576 eval "$ac_cv_use_stattext"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test "$wxUSE_STATTEXT" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8584 else
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8587 fi
8588
8589
8590 enablestring=
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8593 no_cache=0
8594 # Check whether --enable-statusbar or --disable-statusbar was given.
8595 if test "${enable_statusbar+set}" = set; then
8596 enableval="$enable_statusbar"
8597
8598 if test "$enableval" = yes; then
8599 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8600 else
8601 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8602 fi
8603
8604 else
8605
8606 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8609 else
8610 no_cache=1
8611 fi
8612
8613 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8614
8615 fi;
8616
8617 eval "$ac_cv_use_statusbar"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test "$wxUSE_STATUSBAR" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8625 else
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8628 fi
8629
8630
8631 enablestring=
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8634 no_cache=0
8635 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8636 if test "${enable_tabdialog+set}" = set; then
8637 enableval="$enable_tabdialog"
8638
8639 if test "$enableval" = yes; then
8640 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8641 else
8642 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8655
8656 fi;
8657
8658 eval "$ac_cv_use_tabdialog"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8661 fi
8662
8663 if test "$wxUSE_TABDIALOG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8666 else
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8669 fi
8670
8671
8672 enablestring=
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8675 no_cache=0
8676 # Check whether --enable-textctrl or --disable-textctrl was given.
8677 if test "${enable_textctrl+set}" = set; then
8678 enableval="$enable_textctrl"
8679
8680 if test "$enableval" = yes; then
8681 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8682 else
8683 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8684 fi
8685
8686 else
8687
8688 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x ; then
8690 eval "DEFAULT_$LINE"
8691 else
8692 no_cache=1
8693 fi
8694
8695 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8696
8697 fi;
8698
8699 eval "$ac_cv_use_textctrl"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8702 fi
8703
8704 if test "$wxUSE_TEXTCTRL" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8707 else
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8710 fi
8711
8712
8713 enablestring=
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8716 no_cache=0
8717 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8718 if test "${enable_togglebtn+set}" = set; then
8719 enableval="$enable_togglebtn"
8720
8721 if test "$enableval" = yes; then
8722 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8723 else
8724 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8725 fi
8726
8727 else
8728
8729 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8732 else
8733 no_cache=1
8734 fi
8735
8736 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8737
8738 fi;
8739
8740 eval "$ac_cv_use_togglebtn"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8743 fi
8744
8745 if test "$wxUSE_TOGGLEBTN" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8748 else
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8751 fi
8752
8753
8754 enablestring=
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8757 no_cache=0
8758 # Check whether --enable-toolbar or --disable-toolbar was given.
8759 if test "${enable_toolbar+set}" = set; then
8760 enableval="$enable_toolbar"
8761
8762 if test "$enableval" = yes; then
8763 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8764 else
8765 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8766 fi
8767
8768 else
8769
8770 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x ; then
8772 eval "DEFAULT_$LINE"
8773 else
8774 no_cache=1
8775 fi
8776
8777 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8778
8779 fi;
8780
8781 eval "$ac_cv_use_toolbar"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8784 fi
8785
8786 if test "$wxUSE_TOOLBAR" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8789 else
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8792 fi
8793
8794
8795 enablestring=
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8798 no_cache=0
8799 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8800 if test "${enable_tbarnative+set}" = set; then
8801 enableval="$enable_tbarnative"
8802
8803 if test "$enableval" = yes; then
8804 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8805 else
8806 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8807 fi
8808
8809 else
8810
8811 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x ; then
8813 eval "DEFAULT_$LINE"
8814 else
8815 no_cache=1
8816 fi
8817
8818 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8819
8820 fi;
8821
8822 eval "$ac_cv_use_tbarnative"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8825 fi
8826
8827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8830 else
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8833 fi
8834
8835
8836 enablestring=
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8839 no_cache=0
8840 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8841 if test "${enable_tbarsmpl+set}" = set; then
8842 enableval="$enable_tbarsmpl"
8843
8844 if test "$enableval" = yes; then
8845 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8846 else
8847 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8848 fi
8849
8850 else
8851
8852 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x ; then
8854 eval "DEFAULT_$LINE"
8855 else
8856 no_cache=1
8857 fi
8858
8859 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8860
8861 fi;
8862
8863 eval "$ac_cv_use_tbarsmpl"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8866 fi
8867
8868 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8871 else
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8874 fi
8875
8876
8877 enablestring=
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8880 no_cache=0
8881 # Check whether --enable-treectrl or --disable-treectrl was given.
8882 if test "${enable_treectrl+set}" = set; then
8883 enableval="$enable_treectrl"
8884
8885 if test "$enableval" = yes; then
8886 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8887 else
8888 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8889 fi
8890
8891 else
8892
8893 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8896 else
8897 no_cache=1
8898 fi
8899
8900 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8901
8902 fi;
8903
8904 eval "$ac_cv_use_treectrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8907 fi
8908
8909 if test "$wxUSE_TREECTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8912 else
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8915 fi
8916
8917
8918 enablestring=
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8921 no_cache=0
8922 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8923 if test "${enable_tipwindow+set}" = set; then
8924 enableval="$enable_tipwindow"
8925
8926 if test "$enableval" = yes; then
8927 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8928 else
8929 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8930 fi
8931
8932 else
8933
8934 LINE=`grep "wxUSE_TIPWINDOW" ${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_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8942
8943 fi;
8944
8945 eval "$ac_cv_use_tipwindow"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8948 fi
8949
8950 if test "$wxUSE_TIPWINDOW" = 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}-popupwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8962 no_cache=0
8963 # Check whether --enable-popupwin or --disable-popupwin was given.
8964 if test "${enable_popupwin+set}" = set; then
8965 enableval="$enable_popupwin"
8966
8967 if test "$enableval" = yes; then
8968 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8969 else
8970 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8971 fi
8972
8973 else
8974
8975 LINE=`grep "wxUSE_POPUPWIN" ${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_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8983
8984 fi;
8985
8986 eval "$ac_cv_use_popupwin"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8989 fi
8990
8991 if test "$wxUSE_POPUPWIN" = 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
9001
9002 enablestring=
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9005 no_cache=0
9006 # Check whether --enable-commondlg or --disable-commondlg was given.
9007 if test "${enable_commondlg+set}" = set; then
9008 enableval="$enable_commondlg"
9009
9010 if test "$enableval" = yes; then
9011 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9012 else
9013 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9014 fi
9015
9016 else
9017
9018 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x ; then
9020 eval "DEFAULT_$LINE"
9021 else
9022 no_cache=1
9023 fi
9024
9025 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9026
9027 fi;
9028
9029 eval "$ac_cv_use_commondlg"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_COMMONDLGS" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9037 else
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9040 fi
9041
9042
9043 enablestring=
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9046 no_cache=0
9047 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9048 if test "${enable_choicedlg+set}" = set; then
9049 enableval="$enable_choicedlg"
9050
9051 if test "$enableval" = yes; then
9052 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9053 else
9054 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9055 fi
9056
9057 else
9058
9059 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x ; then
9061 eval "DEFAULT_$LINE"
9062 else
9063 no_cache=1
9064 fi
9065
9066 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9067
9068 fi;
9069
9070 eval "$ac_cv_use_choicedlg"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_CHOICEDLG" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9078 else
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9081 fi
9082
9083
9084 enablestring=
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9087 no_cache=0
9088 # Check whether --enable-coldlg or --disable-coldlg was given.
9089 if test "${enable_coldlg+set}" = set; then
9090 enableval="$enable_coldlg"
9091
9092 if test "$enableval" = yes; then
9093 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9094 else
9095 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9096 fi
9097
9098 else
9099
9100 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9103 else
9104 no_cache=1
9105 fi
9106
9107 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9108
9109 fi;
9110
9111 eval "$ac_cv_use_coldlg"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_COLOURDLG" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9119 else
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9122 fi
9123
9124
9125 enablestring=
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9128 no_cache=0
9129 # Check whether --enable-filedlg or --disable-filedlg was given.
9130 if test "${enable_filedlg+set}" = set; then
9131 enableval="$enable_filedlg"
9132
9133 if test "$enableval" = yes; then
9134 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9135 else
9136 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9137 fi
9138
9139 else
9140
9141 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x ; then
9143 eval "DEFAULT_$LINE"
9144 else
9145 no_cache=1
9146 fi
9147
9148 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9149
9150 fi;
9151
9152 eval "$ac_cv_use_filedlg"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_FILEDLG" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9160 else
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9163 fi
9164
9165
9166 enablestring=
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9169 no_cache=0
9170 # Check whether --enable-finddlg or --disable-finddlg was given.
9171 if test "${enable_finddlg+set}" = set; then
9172 enableval="$enable_finddlg"
9173
9174 if test "$enableval" = yes; then
9175 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9176 else
9177 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9178 fi
9179
9180 else
9181
9182 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x ; then
9184 eval "DEFAULT_$LINE"
9185 else
9186 no_cache=1
9187 fi
9188
9189 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9190
9191 fi;
9192
9193 eval "$ac_cv_use_finddlg"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_FINDREPLDLG" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9201 else
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9204 fi
9205
9206
9207 enablestring=
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9210 no_cache=0
9211 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9212 if test "${enable_fontdlg+set}" = set; then
9213 enableval="$enable_fontdlg"
9214
9215 if test "$enableval" = yes; then
9216 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9217 else
9218 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9219 fi
9220
9221 else
9222
9223 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x ; then
9225 eval "DEFAULT_$LINE"
9226 else
9227 no_cache=1
9228 fi
9229
9230 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9231
9232 fi;
9233
9234 eval "$ac_cv_use_fontdlg"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_FONTDLG" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9242 else
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9245 fi
9246
9247
9248 enablestring=
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9251 no_cache=0
9252 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9253 if test "${enable_dirdlg+set}" = set; then
9254 enableval="$enable_dirdlg"
9255
9256 if test "$enableval" = yes; then
9257 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9258 else
9259 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9260 fi
9261
9262 else
9263
9264 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9267 else
9268 no_cache=1
9269 fi
9270
9271 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9272
9273 fi;
9274
9275 eval "$ac_cv_use_dirdlg"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_DIRDLG" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9283 else
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9286 fi
9287
9288
9289 enablestring=
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9292 no_cache=0
9293 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9294 if test "${enable_msgdlg+set}" = set; then
9295 enableval="$enable_msgdlg"
9296
9297 if test "$enableval" = yes; then
9298 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9299 else
9300 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9301 fi
9302
9303 else
9304
9305 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x ; then
9307 eval "DEFAULT_$LINE"
9308 else
9309 no_cache=1
9310 fi
9311
9312 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9313
9314 fi;
9315
9316 eval "$ac_cv_use_msgdlg"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_MSGDLG" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9324 else
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9327 fi
9328
9329
9330 enablestring=
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9333 no_cache=0
9334 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9335 if test "${enable_numberdlg+set}" = set; then
9336 enableval="$enable_numberdlg"
9337
9338 if test "$enableval" = yes; then
9339 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9340 else
9341 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9342 fi
9343
9344 else
9345
9346 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x ; then
9348 eval "DEFAULT_$LINE"
9349 else
9350 no_cache=1
9351 fi
9352
9353 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9354
9355 fi;
9356
9357 eval "$ac_cv_use_numberdlg"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_NUMBERDLG" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9365 else
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9368 fi
9369
9370
9371 enablestring=
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9374 no_cache=0
9375 # Check whether --enable-splash or --disable-splash was given.
9376 if test "${enable_splash+set}" = set; then
9377 enableval="$enable_splash"
9378
9379 if test "$enableval" = yes; then
9380 ac_cv_use_splash='wxUSE_SPLASH=yes'
9381 else
9382 ac_cv_use_splash='wxUSE_SPLASH=no'
9383 fi
9384
9385 else
9386
9387 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x ; then
9389 eval "DEFAULT_$LINE"
9390 else
9391 no_cache=1
9392 fi
9393
9394 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9395
9396 fi;
9397
9398 eval "$ac_cv_use_splash"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_SPLASH" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9406 else
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9409 fi
9410
9411
9412 enablestring=
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9415 no_cache=0
9416 # Check whether --enable-textdlg or --disable-textdlg was given.
9417 if test "${enable_textdlg+set}" = set; then
9418 enableval="$enable_textdlg"
9419
9420 if test "$enableval" = yes; then
9421 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9422 else
9423 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9424 fi
9425
9426 else
9427
9428 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x ; then
9430 eval "DEFAULT_$LINE"
9431 else
9432 no_cache=1
9433 fi
9434
9435 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9436
9437 fi;
9438
9439 eval "$ac_cv_use_textdlg"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_TEXTDLG" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9447 else
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9450 fi
9451
9452
9453 enablestring=
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9456 no_cache=0
9457 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9458 if test "${enable_tipdlg+set}" = set; then
9459 enableval="$enable_tipdlg"
9460
9461 if test "$enableval" = yes; then
9462 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9463 else
9464 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9465 fi
9466
9467 else
9468
9469 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x ; then
9471 eval "DEFAULT_$LINE"
9472 else
9473 no_cache=1
9474 fi
9475
9476 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9477
9478 fi;
9479
9480 eval "$ac_cv_use_tipdlg"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_STARTUP_TIPS" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9488 else
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9491 fi
9492
9493
9494 enablestring=
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9497 no_cache=0
9498 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9499 if test "${enable_progressdlg+set}" = set; then
9500 enableval="$enable_progressdlg"
9501
9502 if test "$enableval" = yes; then
9503 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9504 else
9505 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9506 fi
9507
9508 else
9509
9510 LINE=`grep "wxUSE_PROGRESSDLG" ${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_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9518
9519 fi;
9520
9521 eval "$ac_cv_use_progressdlg"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_PROGRESSDLG" = 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}-wizarddlg" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9538 no_cache=0
9539 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9540 if test "${enable_wizarddlg+set}" = set; then
9541 enableval="$enable_wizarddlg"
9542
9543 if test "$enableval" = yes; then
9544 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9545 else
9546 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9547 fi
9548
9549 else
9550
9551 LINE=`grep "wxUSE_WIZARDDLG" ${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_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9559
9560 fi;
9561
9562 eval "$ac_cv_use_wizarddlg"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_WIZARDDLG" = 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
9577
9578 enablestring=
9579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9581 no_cache=0
9582 # Check whether --enable-menus or --disable-menus was given.
9583 if test "${enable_menus+set}" = set; then
9584 enableval="$enable_menus"
9585
9586 if test "$enableval" = yes; then
9587 ac_cv_use_menus='wxUSE_MENUS=yes'
9588 else
9589 ac_cv_use_menus='wxUSE_MENUS=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9602
9603 fi;
9604
9605 eval "$ac_cv_use_menus"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9608 fi
9609
9610 if test "$wxUSE_MENUS" = yes; then
9611 echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6
9613 else
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9616 fi
9617
9618
9619 enablestring=
9620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9622 no_cache=0
9623 # Check whether --enable-miniframe or --disable-miniframe was given.
9624 if test "${enable_miniframe+set}" = set; then
9625 enableval="$enable_miniframe"
9626
9627 if test "$enableval" = yes; then
9628 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9629 else
9630 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9643
9644 fi;
9645
9646 eval "$ac_cv_use_miniframe"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9649 fi
9650
9651 if test "$wxUSE_MINIFRAME" = yes; then
9652 echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6
9654 else
9655 echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6
9657 fi
9658
9659
9660 enablestring=
9661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9663 no_cache=0
9664 # Check whether --enable-tooltips or --disable-tooltips was given.
9665 if test "${enable_tooltips+set}" = set; then
9666 enableval="$enable_tooltips"
9667
9668 if test "$enableval" = yes; then
9669 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9670 else
9671 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9684
9685 fi;
9686
9687 eval "$ac_cv_use_tooltips"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9690 fi
9691
9692 if test "$wxUSE_TOOLTIPS" = yes; then
9693 echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6
9695 else
9696 echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6
9698 fi
9699
9700
9701 enablestring=
9702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9704 no_cache=0
9705 # Check whether --enable-splines or --disable-splines was given.
9706 if test "${enable_splines+set}" = set; then
9707 enableval="$enable_splines"
9708
9709 if test "$enableval" = yes; then
9710 ac_cv_use_splines='wxUSE_SPLINES=yes'
9711 else
9712 ac_cv_use_splines='wxUSE_SPLINES=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9725
9726 fi;
9727
9728 eval "$ac_cv_use_splines"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9731 fi
9732
9733 if test "$wxUSE_SPLINES" = yes; then
9734 echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6
9736 else
9737 echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6
9739 fi
9740
9741
9742 enablestring=
9743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9745 no_cache=0
9746 # Check whether --enable-validators or --disable-validators was given.
9747 if test "${enable_validators+set}" = set; then
9748 enableval="$enable_validators"
9749
9750 if test "$enableval" = yes; then
9751 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9752 else
9753 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9766
9767 fi;
9768
9769 eval "$ac_cv_use_validators"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9772 fi
9773
9774 if test "$wxUSE_VALIDATORS" = yes; then
9775 echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9777 else
9778 echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6
9780 fi
9781
9782
9783 enablestring=
9784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9786 no_cache=0
9787 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9788 if test "${enable_busyinfo+set}" = set; then
9789 enableval="$enable_busyinfo"
9790
9791 if test "$enableval" = yes; then
9792 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9793 else
9794 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9807
9808 fi;
9809
9810 eval "$ac_cv_use_busyinfo"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9813 fi
9814
9815 if test "$wxUSE_BUSYINFO" = yes; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9818 else
9819 echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6
9821 fi
9822
9823
9824 enablestring=
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9827 no_cache=0
9828 # Check whether --enable-joystick or --disable-joystick was given.
9829 if test "${enable_joystick+set}" = set; then
9830 enableval="$enable_joystick"
9831
9832 if test "$enableval" = yes; then
9833 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9834 else
9835 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9848
9849 fi;
9850
9851 eval "$ac_cv_use_joystick"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9854 fi
9855
9856 if test "$wxUSE_JOYSTICK" = yes; then
9857 echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6
9859 else
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9862 fi
9863
9864
9865 enablestring=
9866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9868 no_cache=0
9869 # Check whether --enable-metafile or --disable-metafile was given.
9870 if test "${enable_metafile+set}" = set; then
9871 enableval="$enable_metafile"
9872
9873 if test "$enableval" = yes; then
9874 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9875 else
9876 ac_cv_use_metafile='wxUSE_METAFILE=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9889
9890 fi;
9891
9892 eval "$ac_cv_use_metafile"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9895 fi
9896
9897 if test "$wxUSE_METAFILE" = yes; then
9898 echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6
9900 else
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9903 fi
9904
9905
9906 enablestring=
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9909 no_cache=0
9910 # Check whether --enable-dragimage or --disable-dragimage was given.
9911 if test "${enable_dragimage+set}" = set; then
9912 enableval="$enable_dragimage"
9913
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9916 else
9917 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "wxUSE_DRAGIMAGE" ${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_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9930
9931 fi;
9932
9933 eval "$ac_cv_use_dragimage"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9936 fi
9937
9938 if test "$wxUSE_DRAGIMAGE" = 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}-accessibility" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9950 no_cache=0
9951 # Check whether --enable-accessibility or --disable-accessibility was given.
9952 if test "${enable_accessibility+set}" = set; then
9953 enableval="$enable_accessibility"
9954
9955 if test "$enableval" = yes; then
9956 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9957 else
9958 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "wxUSE_ACCESSIBILITY" ${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_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9971
9972 fi;
9973
9974 eval "$ac_cv_use_accessibility"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9977 fi
9978
9979 if test "$wxUSE_ACCESSIBILITY" = 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
9989
9990 enablestring=
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9993 no_cache=0
9994 # Check whether --enable-palette or --disable-palette was given.
9995 if test "${enable_palette+set}" = set; then
9996 enableval="$enable_palette"
9997
9998 if test "$enableval" = yes; then
9999 ac_cv_use_palette='wxUSE_PALETTE=yes'
10000 else
10001 ac_cv_use_palette='wxUSE_PALETTE=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10014
10015 fi;
10016
10017 eval "$ac_cv_use_palette"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test "$wxUSE_PALETTE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10025 else
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10028 fi
10029
10030
10031 enablestring=
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10034 no_cache=0
10035 # Check whether --enable-image or --disable-image was given.
10036 if test "${enable_image+set}" = set; then
10037 enableval="$enable_image"
10038
10039 if test "$enableval" = yes; then
10040 ac_cv_use_image='wxUSE_IMAGE=yes'
10041 else
10042 ac_cv_use_image='wxUSE_IMAGE=no'
10043 fi
10044
10045 else
10046
10047 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x ; then
10049 eval "DEFAULT_$LINE"
10050 else
10051 no_cache=1
10052 fi
10053
10054 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10055
10056 fi;
10057
10058 eval "$ac_cv_use_image"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10061 fi
10062
10063 if test "$wxUSE_IMAGE" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10066 else
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10069 fi
10070
10071
10072 enablestring=
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10075 no_cache=0
10076 # Check whether --enable-gif or --disable-gif was given.
10077 if test "${enable_gif+set}" = set; then
10078 enableval="$enable_gif"
10079
10080 if test "$enableval" = yes; then
10081 ac_cv_use_gif='wxUSE_GIF=yes'
10082 else
10083 ac_cv_use_gif='wxUSE_GIF=no'
10084 fi
10085
10086 else
10087
10088 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10091 else
10092 no_cache=1
10093 fi
10094
10095 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10096
10097 fi;
10098
10099 eval "$ac_cv_use_gif"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10102 fi
10103
10104 if test "$wxUSE_GIF" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10107 else
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10110 fi
10111
10112
10113 enablestring=
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10116 no_cache=0
10117 # Check whether --enable-pcx or --disable-pcx was given.
10118 if test "${enable_pcx+set}" = set; then
10119 enableval="$enable_pcx"
10120
10121 if test "$enableval" = yes; then
10122 ac_cv_use_pcx='wxUSE_PCX=yes'
10123 else
10124 ac_cv_use_pcx='wxUSE_PCX=no'
10125 fi
10126
10127 else
10128
10129 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x ; then
10131 eval "DEFAULT_$LINE"
10132 else
10133 no_cache=1
10134 fi
10135
10136 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10137
10138 fi;
10139
10140 eval "$ac_cv_use_pcx"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10143 fi
10144
10145 if test "$wxUSE_PCX" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10148 else
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10151 fi
10152
10153
10154 enablestring=
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10157 no_cache=0
10158 # Check whether --enable-iff or --disable-iff was given.
10159 if test "${enable_iff+set}" = set; then
10160 enableval="$enable_iff"
10161
10162 if test "$enableval" = yes; then
10163 ac_cv_use_iff='wxUSE_IFF=yes'
10164 else
10165 ac_cv_use_iff='wxUSE_IFF=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 else
10174 no_cache=1
10175 fi
10176
10177 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10178
10179 fi;
10180
10181 eval "$ac_cv_use_iff"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test "$wxUSE_IFF" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10189 else
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10192 fi
10193
10194
10195 enablestring=
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10198 no_cache=0
10199 # Check whether --enable-pnm or --disable-pnm was given.
10200 if test "${enable_pnm+set}" = set; then
10201 enableval="$enable_pnm"
10202
10203 if test "$enableval" = yes; then
10204 ac_cv_use_pnm='wxUSE_PNM=yes'
10205 else
10206 ac_cv_use_pnm='wxUSE_PNM=no'
10207 fi
10208
10209 else
10210
10211 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x ; then
10213 eval "DEFAULT_$LINE"
10214 else
10215 no_cache=1
10216 fi
10217
10218 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10219
10220 fi;
10221
10222 eval "$ac_cv_use_pnm"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10225 fi
10226
10227 if test "$wxUSE_PNM" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10230 else
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10233 fi
10234
10235
10236 enablestring=
10237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10239 no_cache=0
10240 # Check whether --enable-xpm or --disable-xpm was given.
10241 if test "${enable_xpm+set}" = set; then
10242 enableval="$enable_xpm"
10243
10244 if test "$enableval" = yes; then
10245 ac_cv_use_xpm='wxUSE_XPM=yes'
10246 else
10247 ac_cv_use_xpm='wxUSE_XPM=no'
10248 fi
10249
10250 else
10251
10252 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x ; then
10254 eval "DEFAULT_$LINE"
10255 else
10256 no_cache=1
10257 fi
10258
10259 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10260
10261 fi;
10262
10263 eval "$ac_cv_use_xpm"
10264 if test "$no_cache" != 1; then
10265 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10266 fi
10267
10268 if test "$wxUSE_XPM" = yes; then
10269 echo "$as_me:$LINENO: result: yes" >&5
10270 echo "${ECHO_T}yes" >&6
10271 else
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10274 fi
10275
10276
10277 enablestring=
10278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10280 no_cache=0
10281 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10282 if test "${enable_ico_cur+set}" = set; then
10283 enableval="$enable_ico_cur"
10284
10285 if test "$enableval" = yes; then
10286 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10287 else
10288 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10289 fi
10290
10291 else
10292
10293 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x ; then
10295 eval "DEFAULT_$LINE"
10296 else
10297 no_cache=1
10298 fi
10299
10300 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10301
10302 fi;
10303
10304 eval "$ac_cv_use_ico_cur"
10305 if test "$no_cache" != 1; then
10306 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10307 fi
10308
10309 if test "$wxUSE_ICO_CUR" = yes; then
10310 echo "$as_me:$LINENO: result: yes" >&5
10311 echo "${ECHO_T}yes" >&6
10312 else
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10315 fi
10316
10317
10318 fi
10319
10320
10321
10322 # Check whether --with-flavour or --without-flavour was given.
10323 if test "${with_flavour+set}" = set; then
10324 withval="$with_flavour"
10325 WX_FLAVOUR="$withval"
10326 fi;
10327
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-official_build or --disable-official_build was given.
10335 if test "${enable_official_build+set}" = set; then
10336 enableval="$enable_official_build"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10340 else
10341 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10354
10355 fi;
10356
10357 eval "$ac_cv_use_official_build"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365 else
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10368 fi
10369
10370 # Check whether --enable-vendor or --disable-vendor was given.
10371 if test "${enable_vendor+set}" = set; then
10372 enableval="$enable_vendor"
10373 VENDOR="$enableval"
10374 fi;
10375 if test "x$VENDOR" = "x"; then
10376 VENDOR="custom"
10377 fi
10378
10379
10380
10381
10382 echo "saving argument cache $wx_arg_cache_file"
10383 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10384
10385
10386
10387 echo "$as_me:$LINENO: checking for toolkit" >&5
10388 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10389
10390 # In Wine, we need to default to MSW, not GTK or MOTIF
10391 if test "$wxUSE_WINE" = "yes"; then
10392 DEFAULT_DEFAULT_wxUSE_GTK=0
10393 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10394 DEFAULT_DEFAULT_wxUSE_MSW=1
10395 wxUSE_SHARED=no
10396 fi
10397
10398 if test "$wxUSE_GUI" = "yes"; then
10399
10400 if test "$USE_BEOS" = 1; then
10401 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10402 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10403 { (exit 1); exit 1; }; }
10404 fi
10405
10406 if test "$TOOLKIT_GIVEN" = 1; then
10407 for toolkit in `echo $ALL_TOOLKITS`; do
10408 var=wxUSE_$toolkit
10409 eval "value=\$${var}"
10410 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10411 done
10412 else
10413 for toolkit in `echo $ALL_TOOLKITS`; do
10414 if test "$has_toolkit_in_cache" != 1; then
10415 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10416 else
10417 var=DEFAULT_wxUSE_$toolkit
10418 fi
10419 eval "wxUSE_$toolkit=\$${var}"
10420 done
10421 fi
10422
10423 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10424 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10426
10427 case "${host}" in
10428 *-pc-os2_emx | *-pc-os2-emx )
10429 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10430 esac
10431
10432 case "$NUM_TOOLKITS" in
10433 1)
10434 ;;
10435 0)
10436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10438 { (exit 1); exit 1; }; }
10439 ;;
10440 *)
10441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10443 { (exit 1); exit 1; }; }
10444 esac
10445
10446 for toolkit in `echo $ALL_TOOLKITS`; do
10447 var=wxUSE_$toolkit
10448 eval "value=\$${var}"
10449 if test "x$value" != x; then
10450 cache_var=CACHE_$toolkit
10451 eval "cache=\$${cache_var}"
10452 if test "$cache" = 1; then
10453 echo "$var=$value" >> ${wx_arg_cache_file}
10454 fi
10455 if test "$value" = 1; then
10456 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10457 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10458 echo "${ECHO_T}$toolkit_echo" >&6
10459 fi
10460 fi
10461 done
10462 else
10463 if test "x$host_alias" != "x"; then
10464 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10465 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10466 else
10467 echo "$as_me:$LINENO: result: base only" >&5
10468 echo "${ECHO_T}base only" >&6
10469 fi
10470 fi
10471
10472 wants_win32=0
10473 doesnt_want_win32=0
10474 case "${host}" in
10475 *-*-cygwin*)
10476 if test "$wxUSE_MSW" = 1 ; then
10477 wants_win32=1
10478 else
10479 doesnt_want_win32=1
10480 fi
10481 ;;
10482 *-*-mingw*)
10483 wants_win32=1
10484 ;;
10485 esac
10486
10487 if test "$wxUSE_WINE" = "yes"; then
10488 wants_win32=1
10489 CC=winegcc
10490 CXX=wineg++
10491 RESCOMP=wrc
10492 LDFLAGS_GUI="-mwindows"
10493 fi
10494
10495 if test "$wants_win32" = 1 ; then
10496 USE_UNIX=0
10497 USE_WIN32=1
10498 cat >>confdefs.h <<\_ACEOF
10499 #define __WIN32__ 1
10500 _ACEOF
10501
10502 cat >>confdefs.h <<\_ACEOF
10503 #define __WIN95__ 1
10504 _ACEOF
10505
10506 cat >>confdefs.h <<\_ACEOF
10507 #define __WINDOWS__ 1
10508 _ACEOF
10509
10510 cat >>confdefs.h <<\_ACEOF
10511 #define __GNUWIN32__ 1
10512 _ACEOF
10513
10514 cat >>confdefs.h <<\_ACEOF
10515 #define STRICT 1
10516 _ACEOF
10517
10518 cat >>confdefs.h <<\_ACEOF
10519 #define WINVER 0x0400
10520 _ACEOF
10521
10522 fi
10523 if test "$doesnt_want_win32" = 1 ; then
10524 USE_UNIX=1
10525 USE_WIN32=0
10526 fi
10527
10528 if test "$USE_UNIX" = 1 ; then
10529 wxUSE_UNIX=yes
10530 cat >>confdefs.h <<\_ACEOF
10531 #define __UNIX__ 1
10532 _ACEOF
10533
10534 fi
10535
10536
10537 cat >confcache <<\_ACEOF
10538 # This file is a shell script that caches the results of configure
10539 # tests run on this system so they can be shared between configure
10540 # scripts and configure runs, see configure's option --config-cache.
10541 # It is not useful on other systems. If it contains results you don't
10542 # want to keep, you may remove or edit it.
10543 #
10544 # config.status only pays attention to the cache file if you give it
10545 # the --recheck option to rerun configure.
10546 #
10547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10549 # following values.
10550
10551 _ACEOF
10552
10553 # The following way of writing the cache mishandles newlines in values,
10554 # but we know of no workaround that is simple, portable, and efficient.
10555 # So, don't put newlines in cache variables' values.
10556 # Ultrix sh set writes to stderr and can't be redirected directly,
10557 # and sets the high bit in the cache file unless we assign to the vars.
10558 {
10559 (set) 2>&1 |
10560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10561 *ac_space=\ *)
10562 # `set' does not quote correctly, so add quotes (double-quote
10563 # substitution turns \\\\ into \\, and sed turns \\ into \).
10564 sed -n \
10565 "s/'/'\\\\''/g;
10566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10567 ;;
10568 *)
10569 # `set' quotes correctly as required by POSIX, so do not add quotes.
10570 sed -n \
10571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10572 ;;
10573 esac;
10574 } |
10575 sed '
10576 t clear
10577 : clear
10578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10579 t end
10580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10581 : end' >>confcache
10582 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10583 if test -w $cache_file; then
10584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10585 cat confcache >$cache_file
10586 else
10587 echo "not updating unwritable cache $cache_file"
10588 fi
10589 fi
10590 rm -f confcache
10591
10592 if test "$build" != "$host" ; then
10593 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10594 CC=$host_alias-gcc
10595 CXX=$host_alias-c++
10596 AR=$host_alias-ar
10597 RANLIB=$host_alias-ranlib
10598 DLLTOOL=$host_alias-dlltool
10599 RESCOMP=$host_alias-windres
10600 STRIP=$host_alias-strip
10601 elif test "x$CC" '!=' "x"; then
10602 echo "You set CC, I assume you know what you are doing."
10603 else
10604 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10605 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10606 { (exit 1); exit 1; }; }
10607 fi
10608 fi
10609
10610 CFLAGS=${CFLAGS:=}
10611
10612
10613 ac_ext=c
10614 ac_cpp='$CPP $CPPFLAGS'
10615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10618 if test -n "$ac_tool_prefix"; then
10619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10620 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10621 echo "$as_me:$LINENO: checking for $ac_word" >&5
10622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10623 if test "${ac_cv_prog_CC+set}" = set; then
10624 echo $ECHO_N "(cached) $ECHO_C" >&6
10625 else
10626 if test -n "$CC"; then
10627 ac_cv_prog_CC="$CC" # Let the user override the test.
10628 else
10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10630 for as_dir in $PATH
10631 do
10632 IFS=$as_save_IFS
10633 test -z "$as_dir" && as_dir=.
10634 for ac_exec_ext in '' $ac_executable_extensions; do
10635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10636 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10638 break 2
10639 fi
10640 done
10641 done
10642
10643 fi
10644 fi
10645 CC=$ac_cv_prog_CC
10646 if test -n "$CC"; then
10647 echo "$as_me:$LINENO: result: $CC" >&5
10648 echo "${ECHO_T}$CC" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654 fi
10655 if test -z "$ac_cv_prog_CC"; then
10656 ac_ct_CC=$CC
10657 # Extract the first word of "gcc", so it can be a program name with args.
10658 set dummy gcc; ac_word=$2
10659 echo "$as_me:$LINENO: checking for $ac_word" >&5
10660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10663 else
10664 if test -n "$ac_ct_CC"; then
10665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10666 else
10667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10668 for as_dir in $PATH
10669 do
10670 IFS=$as_save_IFS
10671 test -z "$as_dir" && as_dir=.
10672 for ac_exec_ext in '' $ac_executable_extensions; do
10673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10674 ac_cv_prog_ac_ct_CC="gcc"
10675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 break 2
10677 fi
10678 done
10679 done
10680
10681 fi
10682 fi
10683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10684 if test -n "$ac_ct_CC"; then
10685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10686 echo "${ECHO_T}$ac_ct_CC" >&6
10687 else
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10690 fi
10691
10692 CC=$ac_ct_CC
10693 else
10694 CC="$ac_cv_prog_CC"
10695 fi
10696
10697 if test -z "$CC"; then
10698 if test -n "$ac_tool_prefix"; then
10699 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10700 set dummy ${ac_tool_prefix}cc; ac_word=$2
10701 echo "$as_me:$LINENO: checking for $ac_word" >&5
10702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10703 if test "${ac_cv_prog_CC+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10705 else
10706 if test -n "$CC"; then
10707 ac_cv_prog_CC="$CC" # Let the user override the test.
10708 else
10709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10710 for as_dir in $PATH
10711 do
10712 IFS=$as_save_IFS
10713 test -z "$as_dir" && as_dir=.
10714 for ac_exec_ext in '' $ac_executable_extensions; do
10715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10716 ac_cv_prog_CC="${ac_tool_prefix}cc"
10717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 break 2
10719 fi
10720 done
10721 done
10722
10723 fi
10724 fi
10725 CC=$ac_cv_prog_CC
10726 if test -n "$CC"; then
10727 echo "$as_me:$LINENO: result: $CC" >&5
10728 echo "${ECHO_T}$CC" >&6
10729 else
10730 echo "$as_me:$LINENO: result: no" >&5
10731 echo "${ECHO_T}no" >&6
10732 fi
10733
10734 fi
10735 if test -z "$ac_cv_prog_CC"; then
10736 ac_ct_CC=$CC
10737 # Extract the first word of "cc", so it can be a program name with args.
10738 set dummy cc; ac_word=$2
10739 echo "$as_me:$LINENO: checking for $ac_word" >&5
10740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10741 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 else
10744 if test -n "$ac_ct_CC"; then
10745 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10746 else
10747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10748 for as_dir in $PATH
10749 do
10750 IFS=$as_save_IFS
10751 test -z "$as_dir" && as_dir=.
10752 for ac_exec_ext in '' $ac_executable_extensions; do
10753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10754 ac_cv_prog_ac_ct_CC="cc"
10755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10756 break 2
10757 fi
10758 done
10759 done
10760
10761 fi
10762 fi
10763 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10764 if test -n "$ac_ct_CC"; then
10765 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10766 echo "${ECHO_T}$ac_ct_CC" >&6
10767 else
10768 echo "$as_me:$LINENO: result: no" >&5
10769 echo "${ECHO_T}no" >&6
10770 fi
10771
10772 CC=$ac_ct_CC
10773 else
10774 CC="$ac_cv_prog_CC"
10775 fi
10776
10777 fi
10778 if test -z "$CC"; then
10779 # Extract the first word of "cc", so it can be a program name with args.
10780 set dummy cc; ac_word=$2
10781 echo "$as_me:$LINENO: checking for $ac_word" >&5
10782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10783 if test "${ac_cv_prog_CC+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 else
10786 if test -n "$CC"; then
10787 ac_cv_prog_CC="$CC" # Let the user override the test.
10788 else
10789 ac_prog_rejected=no
10790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10791 for as_dir in $PATH
10792 do
10793 IFS=$as_save_IFS
10794 test -z "$as_dir" && as_dir=.
10795 for ac_exec_ext in '' $ac_executable_extensions; do
10796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10798 ac_prog_rejected=yes
10799 continue
10800 fi
10801 ac_cv_prog_CC="cc"
10802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10803 break 2
10804 fi
10805 done
10806 done
10807
10808 if test $ac_prog_rejected = yes; then
10809 # We found a bogon in the path, so make sure we never use it.
10810 set dummy $ac_cv_prog_CC
10811 shift
10812 if test $# != 0; then
10813 # We chose a different compiler from the bogus one.
10814 # However, it has the same basename, so the bogon will be chosen
10815 # first if we set CC to just the basename; use the full file name.
10816 shift
10817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10818 fi
10819 fi
10820 fi
10821 fi
10822 CC=$ac_cv_prog_CC
10823 if test -n "$CC"; then
10824 echo "$as_me:$LINENO: result: $CC" >&5
10825 echo "${ECHO_T}$CC" >&6
10826 else
10827 echo "$as_me:$LINENO: result: no" >&5
10828 echo "${ECHO_T}no" >&6
10829 fi
10830
10831 fi
10832 if test -z "$CC"; then
10833 if test -n "$ac_tool_prefix"; then
10834 for ac_prog in cl
10835 do
10836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10838 echo "$as_me:$LINENO: checking for $ac_word" >&5
10839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10840 if test "${ac_cv_prog_CC+set}" = set; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10842 else
10843 if test -n "$CC"; then
10844 ac_cv_prog_CC="$CC" # Let the user override the test.
10845 else
10846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10847 for as_dir in $PATH
10848 do
10849 IFS=$as_save_IFS
10850 test -z "$as_dir" && as_dir=.
10851 for ac_exec_ext in '' $ac_executable_extensions; do
10852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10855 break 2
10856 fi
10857 done
10858 done
10859
10860 fi
10861 fi
10862 CC=$ac_cv_prog_CC
10863 if test -n "$CC"; then
10864 echo "$as_me:$LINENO: result: $CC" >&5
10865 echo "${ECHO_T}$CC" >&6
10866 else
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10869 fi
10870
10871 test -n "$CC" && break
10872 done
10873 fi
10874 if test -z "$CC"; then
10875 ac_ct_CC=$CC
10876 for ac_prog in cl
10877 do
10878 # Extract the first word of "$ac_prog", so it can be a program name with args.
10879 set dummy $ac_prog; ac_word=$2
10880 echo "$as_me:$LINENO: checking for $ac_word" >&5
10881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 else
10885 if test -n "$ac_ct_CC"; then
10886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10887 else
10888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10889 for as_dir in $PATH
10890 do
10891 IFS=$as_save_IFS
10892 test -z "$as_dir" && as_dir=.
10893 for ac_exec_ext in '' $ac_executable_extensions; do
10894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10895 ac_cv_prog_ac_ct_CC="$ac_prog"
10896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 break 2
10898 fi
10899 done
10900 done
10901
10902 fi
10903 fi
10904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10905 if test -n "$ac_ct_CC"; then
10906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10907 echo "${ECHO_T}$ac_ct_CC" >&6
10908 else
10909 echo "$as_me:$LINENO: result: no" >&5
10910 echo "${ECHO_T}no" >&6
10911 fi
10912
10913 test -n "$ac_ct_CC" && break
10914 done
10915
10916 CC=$ac_ct_CC
10917 fi
10918
10919 fi
10920
10921
10922 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10923 See \`config.log' for more details." >&5
10924 echo "$as_me: error: no acceptable C compiler found in \$PATH
10925 See \`config.log' for more details." >&2;}
10926 { (exit 1); exit 1; }; }
10927
10928 # Provide some information about the compiler.
10929 echo "$as_me:$LINENO:" \
10930 "checking for C compiler version" >&5
10931 ac_compiler=`set X $ac_compile; echo $2`
10932 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10933 (eval $ac_compiler --version </dev/null >&5) 2>&5
10934 ac_status=$?
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }
10937 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10938 (eval $ac_compiler -v </dev/null >&5) 2>&5
10939 ac_status=$?
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }
10942 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10943 (eval $ac_compiler -V </dev/null >&5) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }
10947
10948 cat >conftest.$ac_ext <<_ACEOF
10949 /* confdefs.h. */
10950 _ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10954
10955 int
10956 main ()
10957 {
10958
10959 ;
10960 return 0;
10961 }
10962 _ACEOF
10963 ac_clean_files_save=$ac_clean_files
10964 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10965 # Try to create an executable without -o first, disregard a.out.
10966 # It will help us diagnose broken compilers, and finding out an intuition
10967 # of exeext.
10968 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10969 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10970 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10971 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10972 (eval $ac_link_default) 2>&5
10973 ac_status=$?
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; then
10976 # Find the output, starting from the most likely. This scheme is
10977 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10978 # resort.
10979
10980 # Be careful to initialize this variable, since it used to be cached.
10981 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10982 ac_cv_exeext=
10983 # b.out is created by i960 compilers.
10984 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10985 do
10986 test -f "$ac_file" || continue
10987 case $ac_file in
10988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10989 ;;
10990 conftest.$ac_ext )
10991 # This is the source file.
10992 ;;
10993 [ab].out )
10994 # We found the default executable, but exeext='' is most
10995 # certainly right.
10996 break;;
10997 *.* )
10998 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10999 # FIXME: I believe we export ac_cv_exeext for Libtool,
11000 # but it would be cool to find out if it's true. Does anybody
11001 # maintain Libtool? --akim.
11002 export ac_cv_exeext
11003 break;;
11004 * )
11005 break;;
11006 esac
11007 done
11008 else
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.$ac_ext >&5
11011
11012 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11013 See \`config.log' for more details." >&5
11014 echo "$as_me: error: C compiler cannot create executables
11015 See \`config.log' for more details." >&2;}
11016 { (exit 77); exit 77; }; }
11017 fi
11018
11019 ac_exeext=$ac_cv_exeext
11020 echo "$as_me:$LINENO: result: $ac_file" >&5
11021 echo "${ECHO_T}$ac_file" >&6
11022
11023 # Check the compiler produces executables we can run. If not, either
11024 # the compiler is broken, or we cross compile.
11025 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11026 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11027 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11028 # If not cross compiling, check that we can run a simple program.
11029 if test "$cross_compiling" != yes; then
11030 if { ac_try='./$ac_file'
11031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 (eval $ac_try) 2>&5
11033 ac_status=$?
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }; }; then
11036 cross_compiling=no
11037 else
11038 if test "$cross_compiling" = maybe; then
11039 cross_compiling=yes
11040 else
11041 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11042 If you meant to cross compile, use \`--host'.
11043 See \`config.log' for more details." >&5
11044 echo "$as_me: error: cannot run C compiled programs.
11045 If you meant to cross compile, use \`--host'.
11046 See \`config.log' for more details." >&2;}
11047 { (exit 1); exit 1; }; }
11048 fi
11049 fi
11050 fi
11051 echo "$as_me:$LINENO: result: yes" >&5
11052 echo "${ECHO_T}yes" >&6
11053
11054 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11055 ac_clean_files=$ac_clean_files_save
11056 # Check the compiler produces executables we can run. If not, either
11057 # the compiler is broken, or we cross compile.
11058 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11059 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11060 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11061 echo "${ECHO_T}$cross_compiling" >&6
11062
11063 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11064 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11066 (eval $ac_link) 2>&5
11067 ac_status=$?
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; then
11070 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11071 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11072 # work properly (i.e., refer to `conftest.exe'), while it won't with
11073 # `rm'.
11074 for ac_file in conftest.exe conftest conftest.*; do
11075 test -f "$ac_file" || continue
11076 case $ac_file in
11077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11078 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11079 export ac_cv_exeext
11080 break;;
11081 * ) break;;
11082 esac
11083 done
11084 else
11085 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11086 See \`config.log' for more details." >&5
11087 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11088 See \`config.log' for more details." >&2;}
11089 { (exit 1); exit 1; }; }
11090 fi
11091
11092 rm -f conftest$ac_cv_exeext
11093 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11094 echo "${ECHO_T}$ac_cv_exeext" >&6
11095
11096 rm -f conftest.$ac_ext
11097 EXEEXT=$ac_cv_exeext
11098 ac_exeext=$EXEEXT
11099 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11100 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11101 if test "${ac_cv_objext+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 else
11104 cat >conftest.$ac_ext <<_ACEOF
11105 /* confdefs.h. */
11106 _ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11110
11111 int
11112 main ()
11113 {
11114
11115 ;
11116 return 0;
11117 }
11118 _ACEOF
11119 rm -f conftest.o conftest.obj
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; then
11125 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11126 case $ac_file in
11127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11129 break;;
11130 esac
11131 done
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11135
11136 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11137 See \`config.log' for more details." >&5
11138 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11139 See \`config.log' for more details." >&2;}
11140 { (exit 1); exit 1; }; }
11141 fi
11142
11143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11144 fi
11145 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11146 echo "${ECHO_T}$ac_cv_objext" >&6
11147 OBJEXT=$ac_cv_objext
11148 ac_objext=$OBJEXT
11149 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11150 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11151 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 else
11154 cat >conftest.$ac_ext <<_ACEOF
11155 /* confdefs.h. */
11156 _ACEOF
11157 cat confdefs.h >>conftest.$ac_ext
11158 cat >>conftest.$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11160
11161 int
11162 main ()
11163 {
11164 #ifndef __GNUC__
11165 choke me
11166 #endif
11167
11168 ;
11169 return 0;
11170 }
11171 _ACEOF
11172 rm -f conftest.$ac_objext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11174 (eval $ac_compile) 2>conftest.er1
11175 ac_status=$?
11176 grep -v '^ *+' conftest.er1 >conftest.err
11177 rm -f conftest.er1
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 ac_compiler_gnu=yes
11194 else
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.$ac_ext >&5
11197
11198 ac_compiler_gnu=no
11199 fi
11200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11201 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11202
11203 fi
11204 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11205 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11206 GCC=`test $ac_compiler_gnu = yes && echo yes`
11207 ac_test_CFLAGS=${CFLAGS+set}
11208 ac_save_CFLAGS=$CFLAGS
11209 CFLAGS="-g"
11210 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11211 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11212 if test "${ac_cv_prog_cc_g+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215 cat >conftest.$ac_ext <<_ACEOF
11216 /* confdefs.h. */
11217 _ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221
11222 int
11223 main ()
11224 {
11225
11226 ;
11227 return 0;
11228 }
11229 _ACEOF
11230 rm -f conftest.$ac_objext
11231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11232 (eval $ac_compile) 2>conftest.er1
11233 ac_status=$?
11234 grep -v '^ *+' conftest.er1 >conftest.err
11235 rm -f conftest.er1
11236 cat conftest.err >&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } &&
11239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; } &&
11245 { ac_try='test -s conftest.$ac_objext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11248 ac_status=$?
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11251 ac_cv_prog_cc_g=yes
11252 else
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.$ac_ext >&5
11255
11256 ac_cv_prog_cc_g=no
11257 fi
11258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11259 fi
11260 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11261 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11262 if test "$ac_test_CFLAGS" = set; then
11263 CFLAGS=$ac_save_CFLAGS
11264 elif test $ac_cv_prog_cc_g = yes; then
11265 if test "$GCC" = yes; then
11266 CFLAGS="-g -O2"
11267 else
11268 CFLAGS="-g"
11269 fi
11270 else
11271 if test "$GCC" = yes; then
11272 CFLAGS="-O2"
11273 else
11274 CFLAGS=
11275 fi
11276 fi
11277 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11278 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11279 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 else
11282 ac_cv_prog_cc_stdc=no
11283 ac_save_CC=$CC
11284 cat >conftest.$ac_ext <<_ACEOF
11285 /* confdefs.h. */
11286 _ACEOF
11287 cat confdefs.h >>conftest.$ac_ext
11288 cat >>conftest.$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290 #include <stdarg.h>
11291 #include <stdio.h>
11292 #include <sys/types.h>
11293 #include <sys/stat.h>
11294 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11295 struct buf { int x; };
11296 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11297 static char *e (p, i)
11298 char **p;
11299 int i;
11300 {
11301 return p[i];
11302 }
11303 static char *f (char * (*g) (char **, int), char **p, ...)
11304 {
11305 char *s;
11306 va_list v;
11307 va_start (v,p);
11308 s = g (p, va_arg (v,int));
11309 va_end (v);
11310 return s;
11311 }
11312
11313 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11314 function prototypes and stuff, but not '\xHH' hex character constants.
11315 These don't provoke an error unfortunately, instead are silently treated
11316 as 'x'. The following induces an error, until -std1 is added to get
11317 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11318 array size at least. It's necessary to write '\x00'==0 to get something
11319 that's true only with -std1. */
11320 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11321
11322 int test (int i, double x);
11323 struct s1 {int (*f) (int a);};
11324 struct s2 {int (*f) (double a);};
11325 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11326 int argc;
11327 char **argv;
11328 int
11329 main ()
11330 {
11331 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11332 ;
11333 return 0;
11334 }
11335 _ACEOF
11336 # Don't try gcc -ansi; that turns off useful extensions and
11337 # breaks some systems' header files.
11338 # AIX -qlanglvl=ansi
11339 # Ultrix and OSF/1 -std1
11340 # HP-UX 10.20 and later -Ae
11341 # HP-UX older versions -Aa -D_HPUX_SOURCE
11342 # SVR4 -Xc -D__EXTENSIONS__
11343 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11344 do
11345 CC="$ac_save_CC $ac_arg"
11346 rm -f conftest.$ac_objext
11347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11348 (eval $ac_compile) 2>conftest.er1
11349 ac_status=$?
11350 grep -v '^ *+' conftest.er1 >conftest.err
11351 rm -f conftest.er1
11352 cat conftest.err >&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } &&
11355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; } &&
11361 { ac_try='test -s conftest.$ac_objext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11364 ac_status=$?
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11367 ac_cv_prog_cc_stdc=$ac_arg
11368 break
11369 else
11370 echo "$as_me: failed program was:" >&5
11371 sed 's/^/| /' conftest.$ac_ext >&5
11372
11373 fi
11374 rm -f conftest.err conftest.$ac_objext
11375 done
11376 rm -f conftest.$ac_ext conftest.$ac_objext
11377 CC=$ac_save_CC
11378
11379 fi
11380
11381 case "x$ac_cv_prog_cc_stdc" in
11382 x|xno)
11383 echo "$as_me:$LINENO: result: none needed" >&5
11384 echo "${ECHO_T}none needed" >&6 ;;
11385 *)
11386 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11387 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11388 CC="$CC $ac_cv_prog_cc_stdc" ;;
11389 esac
11390
11391 # Some people use a C++ compiler to compile C. Since we use `exit',
11392 # in C++ we need to declare it. In case someone uses the same compiler
11393 # for both compiling C and C++ we need to have the C++ compiler decide
11394 # the declaration of exit, since it's the most demanding environment.
11395 cat >conftest.$ac_ext <<_ACEOF
11396 #ifndef __cplusplus
11397 choke me
11398 #endif
11399 _ACEOF
11400 rm -f conftest.$ac_objext
11401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11402 (eval $ac_compile) 2>conftest.er1
11403 ac_status=$?
11404 grep -v '^ *+' conftest.er1 >conftest.err
11405 rm -f conftest.er1
11406 cat conftest.err >&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); } &&
11409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11412 ac_status=$?
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; } &&
11415 { ac_try='test -s conftest.$ac_objext'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11418 ac_status=$?
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; }; then
11421 for ac_declaration in \
11422 '' \
11423 'extern "C" void std::exit (int) throw (); using std::exit;' \
11424 'extern "C" void std::exit (int); using std::exit;' \
11425 'extern "C" void exit (int) throw ();' \
11426 'extern "C" void exit (int);' \
11427 'void exit (int);'
11428 do
11429 cat >conftest.$ac_ext <<_ACEOF
11430 /* confdefs.h. */
11431 _ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 $ac_declaration
11436 #include <stdlib.h>
11437 int
11438 main ()
11439 {
11440 exit (42);
11441 ;
11442 return 0;
11443 }
11444 _ACEOF
11445 rm -f conftest.$ac_objext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11447 (eval $ac_compile) 2>conftest.er1
11448 ac_status=$?
11449 grep -v '^ *+' conftest.er1 >conftest.err
11450 rm -f conftest.er1
11451 cat conftest.err >&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11457 ac_status=$?
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; } &&
11460 { ac_try='test -s conftest.$ac_objext'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11463 ac_status=$?
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then
11466 :
11467 else
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11470
11471 continue
11472 fi
11473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11474 cat >conftest.$ac_ext <<_ACEOF
11475 /* confdefs.h. */
11476 _ACEOF
11477 cat confdefs.h >>conftest.$ac_ext
11478 cat >>conftest.$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11480 $ac_declaration
11481 int
11482 main ()
11483 {
11484 exit (42);
11485 ;
11486 return 0;
11487 }
11488 _ACEOF
11489 rm -f conftest.$ac_objext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11491 (eval $ac_compile) 2>conftest.er1
11492 ac_status=$?
11493 grep -v '^ *+' conftest.er1 >conftest.err
11494 rm -f conftest.er1
11495 cat conftest.err >&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11501 ac_status=$?
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; } &&
11504 { ac_try='test -s conftest.$ac_objext'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11507 ac_status=$?
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; }; then
11510 break
11511 else
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11514
11515 fi
11516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11517 done
11518 rm -f conftest*
11519 if test -n "$ac_declaration"; then
11520 echo '#ifdef __cplusplus' >>confdefs.h
11521 echo $ac_declaration >>confdefs.h
11522 echo '#endif' >>confdefs.h
11523 fi
11524
11525 else
11526 echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.$ac_ext >&5
11528
11529 fi
11530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11531 ac_ext=c
11532 ac_cpp='$CPP $CPPFLAGS'
11533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11536
11537 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11538 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11539 if test "${wx_cv_c_exto+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 else
11542 cat >conftest.$ac_ext <<_ACEOF
11543 /* confdefs.h. */
11544 _ACEOF
11545 cat confdefs.h >>conftest.$ac_ext
11546 cat >>conftest.$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11548
11549 int
11550 main ()
11551 {
11552
11553 ;
11554 return 0;
11555 }
11556 _ACEOF
11557 rm -f conftest.$ac_objext conftest.$ac_ext.o
11558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11559 (eval $ac_compile) 2>&5
11560 ac_status=$?
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; then
11563 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11564 case $ac_file in
11565 conftest.$ac_ext.o)
11566 wx_cv_c_exto="-ext o"
11567 ;;
11568 *)
11569 ;;
11570 esac
11571 done
11572 else
11573 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11574 See \`config.log' for more details." >&5
11575 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11576 See \`config.log' for more details." >&2;}
11577 { (exit 1); exit 1; }; }
11578
11579 fi
11580
11581 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11582
11583 fi
11584 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11585 echo "${ECHO_T}$wx_cv_c_exto" >&6
11586 if test "x$wx_cv_c_exto" '!=' "x"; then
11587 if test "c" = "c"; then
11588 CFLAGS="$wx_cv_c_exto $CFLAGS"
11589 fi
11590 if test "c" = "cxx"; then
11591 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11592 fi
11593 fi
11594
11595 if test "x$wx_cv_c_exto" '!=' "x"; then
11596 unset ac_cv_prog_cc_g
11597 ac_test_CFLAGS=${CFLAGS+set}
11598 ac_save_CFLAGS=$CFLAGS
11599 CFLAGS="-g"
11600 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11601 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11602 if test "${ac_cv_prog_cc_g+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 else
11605 cat >conftest.$ac_ext <<_ACEOF
11606 /* confdefs.h. */
11607 _ACEOF
11608 cat confdefs.h >>conftest.$ac_ext
11609 cat >>conftest.$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11611
11612 int
11613 main ()
11614 {
11615
11616 ;
11617 return 0;
11618 }
11619 _ACEOF
11620 rm -f conftest.$ac_objext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11622 (eval $ac_compile) 2>conftest.er1
11623 ac_status=$?
11624 grep -v '^ *+' conftest.er1 >conftest.err
11625 rm -f conftest.er1
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11632 ac_status=$?
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; } &&
11635 { ac_try='test -s conftest.$ac_objext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11638 ac_status=$?
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 ac_cv_prog_cc_g=yes
11642 else
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11645
11646 ac_cv_prog_cc_g=no
11647 fi
11648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11649 fi
11650 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11651 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11652 if test "$ac_test_CFLAGS" = set; then
11653 CFLAGS=$ac_save_CFLAGS
11654 elif test $ac_cv_prog_cc_g = yes; then
11655 if test "$GCC" = yes; then
11656 CFLAGS="-g -O2"
11657 else
11658 CFLAGS="-g"
11659 fi
11660 else
11661 if test "$GCC" = yes; then
11662 CFLAGS="-O2"
11663 else
11664 CFLAGS=
11665 fi
11666 fi
11667 fi
11668 ac_ext=c
11669 ac_cpp='$CPP $CPPFLAGS'
11670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11673
11674 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11675 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11676 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 else
11679 cat >conftest.$ac_ext <<_ACEOF
11680 /* confdefs.h. */
11681 _ACEOF
11682 cat confdefs.h >>conftest.$ac_ext
11683 cat >>conftest.$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11685
11686 int
11687 main ()
11688 {
11689 #ifndef __MWERKS__
11690 choke me
11691 #endif
11692
11693 ;
11694 return 0;
11695 }
11696 _ACEOF
11697 rm -f conftest.$ac_objext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>conftest.er1
11700 ac_status=$?
11701 grep -v '^ *+' conftest.er1 >conftest.err
11702 rm -f conftest.er1
11703 cat conftest.err >&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); } &&
11706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11709 ac_status=$?
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; } &&
11712 { ac_try='test -s conftest.$ac_objext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11715 ac_status=$?
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11718 bakefile_compiler_mwerks=yes
11719 else
11720 echo "$as_me: failed program was:" >&5
11721 sed 's/^/| /' conftest.$ac_ext >&5
11722
11723 bakefile_compiler_mwerks=no
11724 fi
11725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11726 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11727
11728 fi
11729 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11730 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11731
11732 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11733 ac_ext=c
11734 ac_cpp='$CPP $CPPFLAGS'
11735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11738
11739
11740 ac_ext=c
11741 ac_cpp='$CPP $CPPFLAGS'
11742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11745
11746 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11747 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11748 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11749 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 else
11751 cat >conftest.$ac_ext <<_ACEOF
11752 /* confdefs.h. */
11753 _ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11757
11758 int
11759 main ()
11760 {
11761 #ifndef __xlC__
11762 choke me
11763 #endif
11764
11765 ;
11766 return 0;
11767 }
11768 _ACEOF
11769 rm -f conftest.$ac_objext
11770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11771 (eval $ac_compile) 2>conftest.er1
11772 ac_status=$?
11773 grep -v '^ *+' conftest.er1 >conftest.err
11774 rm -f conftest.er1
11775 cat conftest.err >&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } &&
11778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11781 ac_status=$?
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; } &&
11784 { ac_try='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11787 ac_status=$?
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790 wx_compiler_xlc=yes
11791 else
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.$ac_ext >&5
11794
11795 wx_compiler_xlc=no
11796 fi
11797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11798 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11799
11800 fi
11801 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11802 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11803
11804 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11805 ac_ext=c
11806 ac_cpp='$CPP $CPPFLAGS'
11807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11810
11811
11812
11813
11814 ac_ext=c
11815 ac_cpp='$CPP $CPPFLAGS'
11816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11819 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11820 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11821 # On Suns, sometimes $CPP names a directory.
11822 if test -n "$CPP" && test -d "$CPP"; then
11823 CPP=
11824 fi
11825 if test -z "$CPP"; then
11826 if test "${ac_cv_prog_CPP+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 else
11829 # Double quotes because CPP needs to be expanded
11830 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11831 do
11832 ac_preproc_ok=false
11833 for ac_c_preproc_warn_flag in '' yes
11834 do
11835 # Use a header file that comes with gcc, so configuring glibc
11836 # with a fresh cross-compiler works.
11837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838 # <limits.h> exists even on freestanding compilers.
11839 # On the NeXT, cc -E runs the code through the compiler's parser,
11840 # not just through cpp. "Syntax error" is here to catch this case.
11841 cat >conftest.$ac_ext <<_ACEOF
11842 /* confdefs.h. */
11843 _ACEOF
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847 #ifdef __STDC__
11848 # include <limits.h>
11849 #else
11850 # include <assert.h>
11851 #endif
11852 Syntax error
11853 _ACEOF
11854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11856 ac_status=$?
11857 grep -v '^ *+' conftest.er1 >conftest.err
11858 rm -f conftest.er1
11859 cat conftest.err >&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } >/dev/null; then
11862 if test -s conftest.err; then
11863 ac_cpp_err=$ac_c_preproc_warn_flag
11864 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11865 else
11866 ac_cpp_err=
11867 fi
11868 else
11869 ac_cpp_err=yes
11870 fi
11871 if test -z "$ac_cpp_err"; then
11872 :
11873 else
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11876
11877 # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 # OK, works on sane cases. Now check whether non-existent headers
11883 # can be detected and how.
11884 cat >conftest.$ac_ext <<_ACEOF
11885 /* confdefs.h. */
11886 _ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 #include <ac_nonexistent.h>
11891 _ACEOF
11892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11894 ac_status=$?
11895 grep -v '^ *+' conftest.er1 >conftest.err
11896 rm -f conftest.er1
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } >/dev/null; then
11900 if test -s conftest.err; then
11901 ac_cpp_err=$ac_c_preproc_warn_flag
11902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11903 else
11904 ac_cpp_err=
11905 fi
11906 else
11907 ac_cpp_err=yes
11908 fi
11909 if test -z "$ac_cpp_err"; then
11910 # Broken: success on invalid input.
11911 continue
11912 else
11913 echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.$ac_ext >&5
11915
11916 # Passes both tests.
11917 ac_preproc_ok=:
11918 break
11919 fi
11920 rm -f conftest.err conftest.$ac_ext
11921
11922 done
11923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11924 rm -f conftest.err conftest.$ac_ext
11925 if $ac_preproc_ok; then
11926 break
11927 fi
11928
11929 done
11930 ac_cv_prog_CPP=$CPP
11931
11932 fi
11933 CPP=$ac_cv_prog_CPP
11934 else
11935 ac_cv_prog_CPP=$CPP
11936 fi
11937 echo "$as_me:$LINENO: result: $CPP" >&5
11938 echo "${ECHO_T}$CPP" >&6
11939 ac_preproc_ok=false
11940 for ac_c_preproc_warn_flag in '' yes
11941 do
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat >conftest.$ac_ext <<_ACEOF
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 #ifdef __STDC__
11955 # include <limits.h>
11956 #else
11957 # include <assert.h>
11958 #endif
11959 Syntax error
11960 _ACEOF
11961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } >/dev/null; then
11969 if test -s conftest.err; then
11970 ac_cpp_err=$ac_c_preproc_warn_flag
11971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11972 else
11973 ac_cpp_err=
11974 fi
11975 else
11976 ac_cpp_err=yes
11977 fi
11978 if test -z "$ac_cpp_err"; then
11979 :
11980 else
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.$ac_ext >&5
11983
11984 # Broken: fails on valid input.
11985 continue
11986 fi
11987 rm -f conftest.err conftest.$ac_ext
11988
11989 # OK, works on sane cases. Now check whether non-existent headers
11990 # can be detected and how.
11991 cat >conftest.$ac_ext <<_ACEOF
11992 /* confdefs.h. */
11993 _ACEOF
11994 cat confdefs.h >>conftest.$ac_ext
11995 cat >>conftest.$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
11997 #include <ac_nonexistent.h>
11998 _ACEOF
11999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12001 ac_status=$?
12002 grep -v '^ *+' conftest.er1 >conftest.err
12003 rm -f conftest.er1
12004 cat conftest.err >&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); } >/dev/null; then
12007 if test -s conftest.err; then
12008 ac_cpp_err=$ac_c_preproc_warn_flag
12009 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12010 else
12011 ac_cpp_err=
12012 fi
12013 else
12014 ac_cpp_err=yes
12015 fi
12016 if test -z "$ac_cpp_err"; then
12017 # Broken: success on invalid input.
12018 continue
12019 else
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.$ac_ext >&5
12022
12023 # Passes both tests.
12024 ac_preproc_ok=:
12025 break
12026 fi
12027 rm -f conftest.err conftest.$ac_ext
12028
12029 done
12030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12031 rm -f conftest.err conftest.$ac_ext
12032 if $ac_preproc_ok; then
12033 :
12034 else
12035 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12040 fi
12041
12042 ac_ext=c
12043 ac_cpp='$CPP $CPPFLAGS'
12044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12047
12048
12049 echo "$as_me:$LINENO: checking for egrep" >&5
12050 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12051 if test "${ac_cv_prog_egrep+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else
12054 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12055 then ac_cv_prog_egrep='grep -E'
12056 else ac_cv_prog_egrep='egrep'
12057 fi
12058 fi
12059 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12060 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12061 EGREP=$ac_cv_prog_egrep
12062
12063
12064 if test $ac_cv_c_compiler_gnu = yes; then
12065 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12066 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12067 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 else
12070 ac_pattern="Autoconf.*'x'"
12071 cat >conftest.$ac_ext <<_ACEOF
12072 /* confdefs.h. */
12073 _ACEOF
12074 cat confdefs.h >>conftest.$ac_ext
12075 cat >>conftest.$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12077 #include <sgtty.h>
12078 Autoconf TIOCGETP
12079 _ACEOF
12080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12081 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12082 ac_cv_prog_gcc_traditional=yes
12083 else
12084 ac_cv_prog_gcc_traditional=no
12085 fi
12086 rm -f conftest*
12087
12088
12089 if test $ac_cv_prog_gcc_traditional = no; then
12090 cat >conftest.$ac_ext <<_ACEOF
12091 /* confdefs.h. */
12092 _ACEOF
12093 cat confdefs.h >>conftest.$ac_ext
12094 cat >>conftest.$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12096 #include <termio.h>
12097 Autoconf TCGETA
12098 _ACEOF
12099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12100 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12101 ac_cv_prog_gcc_traditional=yes
12102 fi
12103 rm -f conftest*
12104
12105 fi
12106 fi
12107 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12108 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12109 if test $ac_cv_prog_gcc_traditional = yes; then
12110 CC="$CC -traditional"
12111 fi
12112 fi
12113
12114
12115
12116
12117 ac_ext=cc
12118 ac_cpp='$CXXCPP $CPPFLAGS'
12119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12122
12123
12124 CXXFLAGS=${CXXFLAGS:=}
12125
12126
12127 ac_ext=cc
12128 ac_cpp='$CXXCPP $CPPFLAGS'
12129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12132 if test -n "$ac_tool_prefix"; then
12133 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12134 do
12135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12137 echo "$as_me:$LINENO: checking for $ac_word" >&5
12138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12139 if test "${ac_cv_prog_CXX+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 else
12142 if test -n "$CXX"; then
12143 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12144 else
12145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12146 for as_dir in $PATH
12147 do
12148 IFS=$as_save_IFS
12149 test -z "$as_dir" && as_dir=.
12150 for ac_exec_ext in '' $ac_executable_extensions; do
12151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12152 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12154 break 2
12155 fi
12156 done
12157 done
12158
12159 fi
12160 fi
12161 CXX=$ac_cv_prog_CXX
12162 if test -n "$CXX"; then
12163 echo "$as_me:$LINENO: result: $CXX" >&5
12164 echo "${ECHO_T}$CXX" >&6
12165 else
12166 echo "$as_me:$LINENO: result: no" >&5
12167 echo "${ECHO_T}no" >&6
12168 fi
12169
12170 test -n "$CXX" && break
12171 done
12172 fi
12173 if test -z "$CXX"; then
12174 ac_ct_CXX=$CXX
12175 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12176 do
12177 # Extract the first word of "$ac_prog", so it can be a program name with args.
12178 set dummy $ac_prog; ac_word=$2
12179 echo "$as_me:$LINENO: checking for $ac_word" >&5
12180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12183 else
12184 if test -n "$ac_ct_CXX"; then
12185 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12186 else
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12189 do
12190 IFS=$as_save_IFS
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12194 ac_cv_prog_ac_ct_CXX="$ac_prog"
12195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12196 break 2
12197 fi
12198 done
12199 done
12200
12201 fi
12202 fi
12203 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12204 if test -n "$ac_ct_CXX"; then
12205 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12206 echo "${ECHO_T}$ac_ct_CXX" >&6
12207 else
12208 echo "$as_me:$LINENO: result: no" >&5
12209 echo "${ECHO_T}no" >&6
12210 fi
12211
12212 test -n "$ac_ct_CXX" && break
12213 done
12214 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12215
12216 CXX=$ac_ct_CXX
12217 fi
12218
12219
12220 # Provide some information about the compiler.
12221 echo "$as_me:$LINENO:" \
12222 "checking for C++ compiler version" >&5
12223 ac_compiler=`set X $ac_compile; echo $2`
12224 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12225 (eval $ac_compiler --version </dev/null >&5) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }
12229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12230 (eval $ac_compiler -v </dev/null >&5) 2>&5
12231 ac_status=$?
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }
12234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12235 (eval $ac_compiler -V </dev/null >&5) 2>&5
12236 ac_status=$?
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); }
12239
12240 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12241 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12242 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12245 cat >conftest.$ac_ext <<_ACEOF
12246 /* confdefs.h. */
12247 _ACEOF
12248 cat confdefs.h >>conftest.$ac_ext
12249 cat >>conftest.$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12251
12252 int
12253 main ()
12254 {
12255 #ifndef __GNUC__
12256 choke me
12257 #endif
12258
12259 ;
12260 return 0;
12261 }
12262 _ACEOF
12263 rm -f conftest.$ac_objext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12265 (eval $ac_compile) 2>conftest.er1
12266 ac_status=$?
12267 grep -v '^ *+' conftest.er1 >conftest.err
12268 rm -f conftest.er1
12269 cat conftest.err >&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12275 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; } &&
12278 { ac_try='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12281 ac_status=$?
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284 ac_compiler_gnu=yes
12285 else
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12288
12289 ac_compiler_gnu=no
12290 fi
12291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12292 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12293
12294 fi
12295 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12296 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12297 GXX=`test $ac_compiler_gnu = yes && echo yes`
12298 ac_test_CXXFLAGS=${CXXFLAGS+set}
12299 ac_save_CXXFLAGS=$CXXFLAGS
12300 CXXFLAGS="-g"
12301 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12302 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12303 if test "${ac_cv_prog_cxx_g+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 else
12306 cat >conftest.$ac_ext <<_ACEOF
12307 /* confdefs.h. */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12312
12313 int
12314 main ()
12315 {
12316
12317 ;
12318 return 0;
12319 }
12320 _ACEOF
12321 rm -f conftest.$ac_objext
12322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12323 (eval $ac_compile) 2>conftest.er1
12324 ac_status=$?
12325 grep -v '^ *+' conftest.er1 >conftest.err
12326 rm -f conftest.er1
12327 cat conftest.err >&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } &&
12330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12333 ac_status=$?
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; } &&
12336 { ac_try='test -s conftest.$ac_objext'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12339 ac_status=$?
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_cv_prog_cxx_g=yes
12343 else
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.$ac_ext >&5
12346
12347 ac_cv_prog_cxx_g=no
12348 fi
12349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12350 fi
12351 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12352 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12353 if test "$ac_test_CXXFLAGS" = set; then
12354 CXXFLAGS=$ac_save_CXXFLAGS
12355 elif test $ac_cv_prog_cxx_g = yes; then
12356 if test "$GXX" = yes; then
12357 CXXFLAGS="-g -O2"
12358 else
12359 CXXFLAGS="-g"
12360 fi
12361 else
12362 if test "$GXX" = yes; then
12363 CXXFLAGS="-O2"
12364 else
12365 CXXFLAGS=
12366 fi
12367 fi
12368 for ac_declaration in \
12369 '' \
12370 'extern "C" void std::exit (int) throw (); using std::exit;' \
12371 'extern "C" void std::exit (int); using std::exit;' \
12372 'extern "C" void exit (int) throw ();' \
12373 'extern "C" void exit (int);' \
12374 'void exit (int);'
12375 do
12376 cat >conftest.$ac_ext <<_ACEOF
12377 /* confdefs.h. */
12378 _ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382 $ac_declaration
12383 #include <stdlib.h>
12384 int
12385 main ()
12386 {
12387 exit (42);
12388 ;
12389 return 0;
12390 }
12391 _ACEOF
12392 rm -f conftest.$ac_objext
12393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12394 (eval $ac_compile) 2>conftest.er1
12395 ac_status=$?
12396 grep -v '^ *+' conftest.er1 >conftest.err
12397 rm -f conftest.er1
12398 cat conftest.err >&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } &&
12401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; } &&
12407 { ac_try='test -s conftest.$ac_objext'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12410 ac_status=$?
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; }; then
12413 :
12414 else
12415 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.$ac_ext >&5
12417
12418 continue
12419 fi
12420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12421 cat >conftest.$ac_ext <<_ACEOF
12422 /* confdefs.h. */
12423 _ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_declaration
12428 int
12429 main ()
12430 {
12431 exit (42);
12432 ;
12433 return 0;
12434 }
12435 _ACEOF
12436 rm -f conftest.$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>conftest.er1
12439 ac_status=$?
12440 grep -v '^ *+' conftest.er1 >conftest.err
12441 rm -f conftest.er1
12442 cat conftest.err >&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); } &&
12445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12448 ac_status=$?
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; } &&
12451 { ac_try='test -s conftest.$ac_objext'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12454 ac_status=$?
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; }; then
12457 break
12458 else
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.$ac_ext >&5
12461
12462 fi
12463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12464 done
12465 rm -f conftest*
12466 if test -n "$ac_declaration"; then
12467 echo '#ifdef __cplusplus' >>confdefs.h
12468 echo $ac_declaration >>confdefs.h
12469 echo '#endif' >>confdefs.h
12470 fi
12471
12472 ac_ext=cc
12473 ac_cpp='$CXXCPP $CPPFLAGS'
12474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12477
12478 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12479 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12480 if test "${wx_cv_cxx_exto+set}" = set; then
12481 echo $ECHO_N "(cached) $ECHO_C" >&6
12482 else
12483 cat >conftest.$ac_ext <<_ACEOF
12484 /* confdefs.h. */
12485 _ACEOF
12486 cat confdefs.h >>conftest.$ac_ext
12487 cat >>conftest.$ac_ext <<_ACEOF
12488 /* end confdefs.h. */
12489
12490 int
12491 main ()
12492 {
12493
12494 ;
12495 return 0;
12496 }
12497 _ACEOF
12498 rm -f conftest.$ac_objext conftest.$ac_ext.o
12499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12500 (eval $ac_compile) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; then
12504 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12505 case $ac_file in
12506 conftest.$ac_ext.o)
12507 wx_cv_cxx_exto="-ext o"
12508 ;;
12509 *)
12510 ;;
12511 esac
12512 done
12513 else
12514 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12515 See \`config.log' for more details." >&5
12516 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12517 See \`config.log' for more details." >&2;}
12518 { (exit 1); exit 1; }; }
12519
12520 fi
12521
12522 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12523
12524 fi
12525 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12526 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12527 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12528 if test "cxx" = "c"; then
12529 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12530 fi
12531 if test "cxx" = "cxx"; then
12532 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12533 fi
12534 fi
12535
12536 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12537 unset ac_cv_prog_cxx_g
12538 ac_test_CXXFLAGS=${CXXFLAGS+set}
12539 ac_save_CXXFLAGS=$CXXFLAGS
12540 CXXFLAGS="-g"
12541 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12542 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12543 if test "${ac_cv_prog_cxx_g+set}" = set; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 else
12546 cat >conftest.$ac_ext <<_ACEOF
12547 /* confdefs.h. */
12548 _ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552
12553 int
12554 main ()
12555 {
12556
12557 ;
12558 return 0;
12559 }
12560 _ACEOF
12561 rm -f conftest.$ac_objext
12562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12563 (eval $ac_compile) 2>conftest.er1
12564 ac_status=$?
12565 grep -v '^ *+' conftest.er1 >conftest.err
12566 rm -f conftest.er1
12567 cat conftest.err >&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } &&
12570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12573 ac_status=$?
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; } &&
12576 { ac_try='test -s conftest.$ac_objext'
12577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12578 (eval $ac_try) 2>&5
12579 ac_status=$?
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); }; }; then
12582 ac_cv_prog_cxx_g=yes
12583 else
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.$ac_ext >&5
12586
12587 ac_cv_prog_cxx_g=no
12588 fi
12589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12590 fi
12591 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12592 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12593 if test "$ac_test_CXXFLAGS" = set; then
12594 CXXFLAGS=$ac_save_CXXFLAGS
12595 elif test $ac_cv_prog_cxx_g = yes; then
12596 if test "$GXX" = yes; then
12597 CXXFLAGS="-g -O2"
12598 else
12599 CXXFLAGS="-g"
12600 fi
12601 else
12602 if test "$GXX" = yes; then
12603 CXXFLAGS="-O2"
12604 else
12605 CXXFLAGS=
12606 fi
12607 fi
12608 fi
12609 ac_ext=cc
12610 ac_cpp='$CXXCPP $CPPFLAGS'
12611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12614
12615 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12616 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12617 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12618 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 else
12620 cat >conftest.$ac_ext <<_ACEOF
12621 /* confdefs.h. */
12622 _ACEOF
12623 cat confdefs.h >>conftest.$ac_ext
12624 cat >>conftest.$ac_ext <<_ACEOF
12625 /* end confdefs.h. */
12626
12627 int
12628 main ()
12629 {
12630 #ifndef __MWERKS__
12631 choke me
12632 #endif
12633
12634 ;
12635 return 0;
12636 }
12637 _ACEOF
12638 rm -f conftest.$ac_objext
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>conftest.er1
12641 ac_status=$?
12642 grep -v '^ *+' conftest.er1 >conftest.err
12643 rm -f conftest.er1
12644 cat conftest.err >&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } &&
12647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12650 ac_status=$?
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; } &&
12653 { ac_try='test -s conftest.$ac_objext'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12656 ac_status=$?
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; }; then
12659 bakefile_compiler_mwerks=yes
12660 else
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12663
12664 bakefile_compiler_mwerks=no
12665 fi
12666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12667 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12668
12669 fi
12670 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12671 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12672
12673 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12674 ac_ext=cc
12675 ac_cpp='$CXXCPP $CPPFLAGS'
12676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12679
12680
12681 ac_ext=cc
12682 ac_cpp='$CXXCPP $CPPFLAGS'
12683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12686
12687 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12688 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12689 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12691 else
12692 cat >conftest.$ac_ext <<_ACEOF
12693 /* confdefs.h. */
12694 _ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698
12699 int
12700 main ()
12701 {
12702 #ifndef __xlC__
12703 choke me
12704 #endif
12705
12706 ;
12707 return 0;
12708 }
12709 _ACEOF
12710 rm -f conftest.$ac_objext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12712 (eval $ac_compile) 2>conftest.er1
12713 ac_status=$?
12714 grep -v '^ *+' conftest.er1 >conftest.err
12715 rm -f conftest.er1
12716 cat conftest.err >&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12722 ac_status=$?
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; } &&
12725 { ac_try='test -s conftest.$ac_objext'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12728 ac_status=$?
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; }; then
12731 wx_compiler_xlc=yes
12732 else
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.$ac_ext >&5
12735
12736 wx_compiler_xlc=no
12737 fi
12738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12739 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12740
12741 fi
12742 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12743 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12744
12745 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12746 ac_ext=cc
12747 ac_cpp='$CXXCPP $CPPFLAGS'
12748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12751
12752
12753
12754
12755 ac_ext=c
12756 ac_cpp='$CPP $CPPFLAGS'
12757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12760
12761
12762 if test -n "$ac_tool_prefix"; then
12763 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12764 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12765 echo "$as_me:$LINENO: checking for $ac_word" >&5
12766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767 if test "${ac_cv_prog_RANLIB+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 else
12770 if test -n "$RANLIB"; then
12771 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12772 else
12773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12775 do
12776 IFS=$as_save_IFS
12777 test -z "$as_dir" && as_dir=.
12778 for ac_exec_ext in '' $ac_executable_extensions; do
12779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12780 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12782 break 2
12783 fi
12784 done
12785 done
12786
12787 fi
12788 fi
12789 RANLIB=$ac_cv_prog_RANLIB
12790 if test -n "$RANLIB"; then
12791 echo "$as_me:$LINENO: result: $RANLIB" >&5
12792 echo "${ECHO_T}$RANLIB" >&6
12793 else
12794 echo "$as_me:$LINENO: result: no" >&5
12795 echo "${ECHO_T}no" >&6
12796 fi
12797
12798 fi
12799 if test -z "$ac_cv_prog_RANLIB"; then
12800 ac_ct_RANLIB=$RANLIB
12801 # Extract the first word of "ranlib", so it can be a program name with args.
12802 set dummy ranlib; ac_word=$2
12803 echo "$as_me:$LINENO: checking for $ac_word" >&5
12804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12805 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 else
12808 if test -n "$ac_ct_RANLIB"; then
12809 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12810 else
12811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12812 for as_dir in $PATH
12813 do
12814 IFS=$as_save_IFS
12815 test -z "$as_dir" && as_dir=.
12816 for ac_exec_ext in '' $ac_executable_extensions; do
12817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12818 ac_cv_prog_ac_ct_RANLIB="ranlib"
12819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12820 break 2
12821 fi
12822 done
12823 done
12824
12825 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12826 fi
12827 fi
12828 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12829 if test -n "$ac_ct_RANLIB"; then
12830 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12831 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12832 else
12833 echo "$as_me:$LINENO: result: no" >&5
12834 echo "${ECHO_T}no" >&6
12835 fi
12836
12837 RANLIB=$ac_ct_RANLIB
12838 else
12839 RANLIB="$ac_cv_prog_RANLIB"
12840 fi
12841
12842
12843 # Extract the first word of "ar", so it can be a program name with args.
12844 set dummy ar; ac_word=$2
12845 echo "$as_me:$LINENO: checking for $ac_word" >&5
12846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12847 if test "${ac_cv_prog_AR+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 else
12850 if test -n "$AR"; then
12851 ac_cv_prog_AR="$AR" # Let the user override the test.
12852 else
12853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12854 for as_dir in $PATH
12855 do
12856 IFS=$as_save_IFS
12857 test -z "$as_dir" && as_dir=.
12858 for ac_exec_ext in '' $ac_executable_extensions; do
12859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12860 ac_cv_prog_AR="ar"
12861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12862 break 2
12863 fi
12864 done
12865 done
12866
12867 fi
12868 fi
12869 AR=$ac_cv_prog_AR
12870 if test -n "$AR"; then
12871 echo "$as_me:$LINENO: result: $AR" >&5
12872 echo "${ECHO_T}$AR" >&6
12873 else
12874 echo "$as_me:$LINENO: result: no" >&5
12875 echo "${ECHO_T}no" >&6
12876 fi
12877
12878 if test "x$AR" = "x" ; then
12879 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12880 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12881 { (exit 1); exit 1; }; }
12882 fi
12883
12884 # Find a good install program. We prefer a C program (faster),
12885 # so one script is as good as another. But avoid the broken or
12886 # incompatible versions:
12887 # SysV /etc/install, /usr/sbin/install
12888 # SunOS /usr/etc/install
12889 # IRIX /sbin/install
12890 # AIX /bin/install
12891 # AmigaOS /C/install, which installs bootblocks on floppy discs
12892 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12893 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12894 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12895 # OS/2's system install, which has a completely different semantic
12896 # ./install, which can be erroneously created by make from ./install.sh.
12897 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12898 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12899 if test -z "$INSTALL"; then
12900 if test "${ac_cv_path_install+set}" = set; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 else
12903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12904 for as_dir in $PATH
12905 do
12906 IFS=$as_save_IFS
12907 test -z "$as_dir" && as_dir=.
12908 # Account for people who put trailing slashes in PATH elements.
12909 case $as_dir/ in
12910 ./ | .// | /cC/* | \
12911 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12912 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12913 /usr/ucb/* ) ;;
12914 *)
12915 # OSF1 and SCO ODT 3.0 have their own names for install.
12916 # Don't use installbsd from OSF since it installs stuff as root
12917 # by default.
12918 for ac_prog in ginstall scoinst install; do
12919 for ac_exec_ext in '' $ac_executable_extensions; do
12920 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12921 if test $ac_prog = install &&
12922 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12923 # AIX install. It has an incompatible calling convention.
12924 :
12925 elif test $ac_prog = install &&
12926 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12927 # program-specific install script used by HP pwplus--don't use.
12928 :
12929 else
12930 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12931 break 3
12932 fi
12933 fi
12934 done
12935 done
12936 ;;
12937 esac
12938 done
12939
12940
12941 fi
12942 if test "${ac_cv_path_install+set}" = set; then
12943 INSTALL=$ac_cv_path_install
12944 else
12945 # As a last resort, use the slow shell script. We don't cache a
12946 # path for INSTALL within a source directory, because that will
12947 # break other packages using the cache if that directory is
12948 # removed, or if the path is relative.
12949 INSTALL=$ac_install_sh
12950 fi
12951 fi
12952 echo "$as_me:$LINENO: result: $INSTALL" >&5
12953 echo "${ECHO_T}$INSTALL" >&6
12954
12955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12956 # It thinks the first close brace ends the variable substitution.
12957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12958
12959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12960
12961 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12962
12963
12964 case ${INSTALL} in
12965 /* ) # Absolute
12966 ;;
12967 ?:* ) # Drive letter, considered as absolute.
12968 ;;
12969 *)
12970 INSTALL=`pwd`/${INSTALL} ;;
12971 esac
12972
12973
12974 case "${host}" in
12975
12976 powerpc-*-darwin* )
12977 INSTALL_PROGRAM="cp -fp"
12978 INSTALL_DATA="cp -fp"
12979 ;;
12980 *)
12981 ;;
12982 esac
12983
12984 # Extract the first word of "strip", so it can be a program name with args.
12985 set dummy strip; ac_word=$2
12986 echo "$as_me:$LINENO: checking for $ac_word" >&5
12987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12988 if test "${ac_cv_prog_STRIP+set}" = set; then
12989 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 else
12991 if test -n "$STRIP"; then
12992 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12993 else
12994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12996 do
12997 IFS=$as_save_IFS
12998 test -z "$as_dir" && as_dir=.
12999 for ac_exec_ext in '' $ac_executable_extensions; do
13000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13001 ac_cv_prog_STRIP="strip"
13002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13003 break 2
13004 fi
13005 done
13006 done
13007
13008 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13009 fi
13010 fi
13011 STRIP=$ac_cv_prog_STRIP
13012 if test -n "$STRIP"; then
13013 echo "$as_me:$LINENO: result: $STRIP" >&5
13014 echo "${ECHO_T}$STRIP" >&6
13015 else
13016 echo "$as_me:$LINENO: result: no" >&5
13017 echo "${ECHO_T}no" >&6
13018 fi
13019
13020
13021 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13022 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13023 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 else
13026
13027 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13028 egrep -s GNU > /dev/null); then
13029 wx_cv_prog_makeisgnu="yes"
13030 else
13031 wx_cv_prog_makeisgnu="no"
13032 fi
13033
13034 fi
13035 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13036 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13037
13038 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13039 IF_GNU_MAKE=""
13040 else
13041 IF_GNU_MAKE="#"
13042 fi
13043
13044
13045
13046 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13047 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13048 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13049 if test "${wx_cv_prog_makevpath+set}" = set; then
13050 echo $ECHO_N "(cached) $ECHO_C" >&6
13051 else
13052
13053 cat - << EOF > confMake
13054 check : file
13055 cp \$? \$@
13056 cp \$? final_file
13057 EOF
13058
13059 if test ! -d sub ; then
13060 mkdir sub
13061 fi
13062 echo dummy > sub/file
13063 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13064 RESULT=$?
13065 rm -f sub/file check final_file confMake
13066 rmdir sub
13067 if test "$RESULT" = 0; then
13068 wx_cv_prog_makevpath="yes"
13069 else
13070 wx_cv_prog_makevpath="no"
13071 fi
13072
13073 fi
13074 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13075 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13076
13077 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13078 { { echo "$as_me:$LINENO: error:
13079 You need a make-utility that is able to use the variable
13080 VPATH correctly.
13081 If your version of make does not support VPATH correctly,
13082 please install GNU-make (possibly as gmake), and start
13083 configure with the following command:
13084 export MAKE=gmake; ./configure for sh-type shells
13085 setenv MAKE gmake; ./configure for csh-type shells
13086 Also please do remember to use gmake in this case every time
13087 you are trying to compile.
13088 " >&5
13089 echo "$as_me: error:
13090 You need a make-utility that is able to use the variable
13091 VPATH correctly.
13092 If your version of make does not support VPATH correctly,
13093 please install GNU-make (possibly as gmake), and start
13094 configure with the following command:
13095 export MAKE=gmake; ./configure for sh-type shells
13096 setenv MAKE gmake; ./configure for csh-type shells
13097 Also please do remember to use gmake in this case every time
13098 you are trying to compile.
13099 " >&2;}
13100 { (exit 1); exit 1; }; }
13101 fi fi
13102 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13104 LN_S=$as_ln_s
13105 if test "$LN_S" = "ln -s"; then
13106 echo "$as_me:$LINENO: result: yes" >&5
13107 echo "${ECHO_T}yes" >&6
13108 else
13109 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13110 echo "${ECHO_T}no, using $LN_S" >&6
13111 fi
13112
13113
13114
13115 if test "x$XLCXX" = "xyes"; then
13116 CXXFLAGS="$CXXFLAGS -qunique"
13117 fi
13118
13119
13120 case "${host}" in
13121 powerpc-*-darwin* )
13122 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13123 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13124 cat >conftest.$ac_ext <<_ACEOF
13125 /* confdefs.h. */
13126 _ACEOF
13127 cat confdefs.h >>conftest.$ac_ext
13128 cat >>conftest.$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130
13131 int
13132 main ()
13133 {
13134 #ifndef __POWERPC__
13135 choke me for lack of PowerPC
13136 #endif
13137
13138 ;
13139 return 0;
13140 }
13141 _ACEOF
13142 rm -f conftest.$ac_objext
13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>conftest.er1
13145 ac_status=$?
13146 grep -v '^ *+' conftest.er1 >conftest.err
13147 rm -f conftest.er1
13148 cat conftest.err >&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13154 ac_status=$?
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; } &&
13157 { ac_try='test -s conftest.$ac_objext'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13160 ac_status=$?
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; }; then
13163 echo "$as_me:$LINENO: result: yes" >&5
13164 echo "${ECHO_T}yes" >&6
13165 else
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.$ac_ext >&5
13168
13169 echo "$as_me:$LINENO: result: no" >&5
13170 echo "${ECHO_T}no" >&6
13171 cat >>confdefs.h <<\_ACEOF
13172 #define __POWERPC__ 1
13173 _ACEOF
13174
13175
13176 fi
13177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13178 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13179 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13180 cat >conftest.$ac_ext <<_ACEOF
13181 /* confdefs.h. */
13182 _ACEOF
13183 cat confdefs.h >>conftest.$ac_ext
13184 cat >>conftest.$ac_ext <<_ACEOF
13185 /* end confdefs.h. */
13186 #include <CoreFoundation/CFBase.h>
13187
13188 int
13189 main ()
13190 {
13191
13192 ;
13193 return 0;
13194 }
13195 _ACEOF
13196 rm -f conftest.$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>conftest.er1
13199 ac_status=$?
13200 grep -v '^ *+' conftest.er1 >conftest.err
13201 rm -f conftest.er1
13202 cat conftest.err >&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13208 ac_status=$?
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; } &&
13211 { ac_try='test -s conftest.$ac_objext'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13214 ac_status=$?
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; }; then
13217 echo "$as_me:$LINENO: result: yes" >&5
13218 echo "${ECHO_T}yes" >&6
13219 else
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13222
13223 echo "$as_me:$LINENO: result: no" >&5
13224 echo "${ECHO_T}no" >&6
13225 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13226 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13227 cat >conftest.$ac_ext <<_ACEOF
13228 /* confdefs.h. */
13229 _ACEOF
13230 cat confdefs.h >>conftest.$ac_ext
13231 cat >>conftest.$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13233 #define __CF_USE_FRAMEWORK_INCLUDES__
13234 #include <CoreFoundation/CFBase.h>
13235
13236 int
13237 main ()
13238 {
13239
13240 ;
13241 return 0;
13242 }
13243 _ACEOF
13244 rm -f conftest.$ac_objext
13245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13246 (eval $ac_compile) 2>conftest.er1
13247 ac_status=$?
13248 grep -v '^ *+' conftest.er1 >conftest.err
13249 rm -f conftest.er1
13250 cat conftest.err >&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); } &&
13253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 (eval $ac_try) 2>&5
13256 ac_status=$?
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; } &&
13259 { ac_try='test -s conftest.$ac_objext'
13260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13261 (eval $ac_try) 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; }; then
13265 echo "$as_me:$LINENO: result: yes" >&5
13266 echo "${ECHO_T}yes" >&6
13267 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13268 else
13269 echo "$as_me: failed program was:" >&5
13270 sed 's/^/| /' conftest.$ac_ext >&5
13271
13272 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13273 See \`config.log' for more details." >&5
13274 echo "$as_me: error: no. CoreFoundation not available.
13275 See \`config.log' for more details." >&2;}
13276 { (exit 1); exit 1; }; }
13277
13278 fi
13279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13280
13281
13282 fi
13283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13284 ;;
13285 esac
13286
13287 case "${host}" in
13288 *-pc-os2_emx | *-pc-os2-emx )
13289 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13290 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13291 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13292 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 else
13295 ac_check_lib_save_LIBS=$LIBS
13296 LIBS="-lcExt $LIBS"
13297 cat >conftest.$ac_ext <<_ACEOF
13298 /* confdefs.h. */
13299 _ACEOF
13300 cat confdefs.h >>conftest.$ac_ext
13301 cat >>conftest.$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13303
13304 /* Override any gcc2 internal prototype to avoid an error. */
13305 #ifdef __cplusplus
13306 extern "C"
13307 #endif
13308 /* We use char because int might match the return type of a gcc2
13309 builtin and then its argument prototype would still apply. */
13310 char drand48 ();
13311 int
13312 main ()
13313 {
13314 drand48 ();
13315 ;
13316 return 0;
13317 }
13318 _ACEOF
13319 rm -f conftest.$ac_objext conftest$ac_exeext
13320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13321 (eval $ac_link) 2>conftest.er1
13322 ac_status=$?
13323 grep -v '^ *+' conftest.er1 >conftest.err
13324 rm -f conftest.er1
13325 cat conftest.err >&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } &&
13328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13330 (eval $ac_try) 2>&5
13331 ac_status=$?
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; } &&
13334 { ac_try='test -s conftest$ac_exeext'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13337 ac_status=$?
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; }; then
13340 ac_cv_lib_cExt_drand48=yes
13341 else
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.$ac_ext >&5
13344
13345 ac_cv_lib_cExt_drand48=no
13346 fi
13347 rm -f conftest.err conftest.$ac_objext \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_check_lib_save_LIBS
13350 fi
13351 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13352 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13353 if test $ac_cv_lib_cExt_drand48 = yes; then
13354 LIBS="$LIBS -lcExt"
13355 fi
13356
13357 else
13358 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13359 fi
13360 echo "$as_me:$LINENO: checking for gcc version" >&5
13361 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13362 if test "${wx_cv_gccversion+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 else
13365
13366 if test "$cross_compiling" = yes; then
13367 wx_cv_gccversion="EMX2"
13368
13369 else
13370 cat >conftest.$ac_ext <<_ACEOF
13371 /* confdefs.h. */
13372 _ACEOF
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376
13377 #include <stdio.h>
13378
13379 int main()
13380 {
13381 FILE *f=fopen("conftestval", "w");
13382 if (!f) exit(1);
13383 fprintf(f,
13384 #if (__GNUC__ < 3)
13385 "EMX2"
13386 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13387 "EMX3"
13388 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13389 "Innotek5"
13390 #else
13391 "Innotek6"
13392 #endif
13393 );
13394 exit(0);
13395 }
13396
13397 _ACEOF
13398 rm -f conftest$ac_exeext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400 (eval $ac_link) 2>&5
13401 ac_status=$?
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405 (eval $ac_try) 2>&5
13406 ac_status=$?
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; }; then
13409 wx_cv_gccversion=`cat conftestval`
13410 else
13411 echo "$as_me: program exited with status $ac_status" >&5
13412 echo "$as_me: failed program was:" >&5
13413 sed 's/^/| /' conftest.$ac_ext >&5
13414
13415 ( exit $ac_status )
13416 wx_cv_gccversion="EMX2"
13417 fi
13418 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13419 fi
13420
13421 fi
13422 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13423 echo "${ECHO_T}$wx_cv_gccversion" >&6
13424 if test "$wx_cv_gccversion" = "EMX2"; then
13425 LIBS="$LIBS -lstdcpp"
13426 LDFLAGS="$LDFLAGS -Zsysv-signals"
13427 else
13428 if test "$wx_cv_gccversion" = "EMX3"; then
13429 LIBS="$LIBS -lstdcxx"
13430 LDFLAGS="$LDFLAGS -Zsysv-signals"
13431 else
13432 LIBS="$LIBS -lstdc++"
13433 fi
13434 fi
13435 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13436 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13437 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13438 wxUSE_OMF=yes
13439 enable_omf=yes
13440 fi
13441 if test "$wxUSE_OMF" = "yes"; then
13442 LDFLAGS="$LDFLAGS -Zomf -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13443 fi
13444 ;;
13445 *)
13446
13447
13448
13449 ac_ext=cc
13450 ac_cpp='$CXXCPP $CPPFLAGS'
13451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13454
13455
13456 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13457 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13458 if test "${ac_cv_string_strcasecmp+set}" = set; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 else
13461
13462 cat >conftest.$ac_ext <<_ACEOF
13463 /* confdefs.h. */
13464 _ACEOF
13465 cat confdefs.h >>conftest.$ac_ext
13466 cat >>conftest.$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13468
13469 #include <string.h>
13470
13471 int
13472 main ()
13473 {
13474
13475 strcasecmp("foo", "bar");
13476
13477 ;
13478 return 0;
13479 }
13480 _ACEOF
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13483 (eval $ac_link) 2>conftest.er1
13484 ac_status=$?
13485 grep -v '^ *+' conftest.er1 >conftest.err
13486 rm -f conftest.er1
13487 cat conftest.err >&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); } &&
13490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13492 (eval $ac_try) 2>&5
13493 ac_status=$?
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); }; } &&
13496 { ac_try='test -s conftest$ac_exeext'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13499 ac_status=$?
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; }; then
13502 ac_cv_string_strcasecmp=yes
13503 else
13504 echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.$ac_ext >&5
13506
13507 ac_cv_string_strcasecmp=no
13508
13509 fi
13510 rm -f conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512
13513 fi
13514 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13515 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13516
13517 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13518 cat >>confdefs.h <<\_ACEOF
13519 #define HAVE_STRCASECMP_IN_STRING_H 1
13520 _ACEOF
13521
13522 else
13523 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13524 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13525 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 else
13528
13529 cat >conftest.$ac_ext <<_ACEOF
13530 /* confdefs.h. */
13531 _ACEOF
13532 cat confdefs.h >>conftest.$ac_ext
13533 cat >>conftest.$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13535
13536 #include <strings.h>
13537
13538 int
13539 main ()
13540 {
13541
13542 strcasecmp("foo", "bar");
13543
13544 ;
13545 return 0;
13546 }
13547 _ACEOF
13548 rm -f conftest.$ac_objext conftest$ac_exeext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13550 (eval $ac_link) 2>conftest.er1
13551 ac_status=$?
13552 grep -v '^ *+' conftest.er1 >conftest.err
13553 rm -f conftest.er1
13554 cat conftest.err >&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13560 ac_status=$?
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; } &&
13563 { ac_try='test -s conftest$ac_exeext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13566 ac_status=$?
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13569 ac_cv_strings_strcasecmp=yes
13570 else
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.$ac_ext >&5
13573
13574 ac_cv_strings_strcasecmp=no
13575
13576 fi
13577 rm -f conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579
13580 fi
13581 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13582 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13583
13584 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13585 cat >>confdefs.h <<\_ACEOF
13586 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13587 _ACEOF
13588
13589 else
13590 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13591 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13592 { (exit 1); exit 1; }; }
13593 fi
13594 fi
13595
13596 ac_ext=c
13597 ac_cpp='$CPP $CPPFLAGS'
13598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13601
13602 ;;
13603 esac
13604
13605
13606 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13607 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13608 if test "${ac_cv_header_stdc+set}" = set; then
13609 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 else
13611 cat >conftest.$ac_ext <<_ACEOF
13612 /* confdefs.h. */
13613 _ACEOF
13614 cat confdefs.h >>conftest.$ac_ext
13615 cat >>conftest.$ac_ext <<_ACEOF
13616 /* end confdefs.h. */
13617 #include <stdlib.h>
13618 #include <stdarg.h>
13619 #include <string.h>
13620 #include <float.h>
13621
13622 int
13623 main ()
13624 {
13625
13626 ;
13627 return 0;
13628 }
13629 _ACEOF
13630 rm -f conftest.$ac_objext
13631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13632 (eval $ac_compile) 2>conftest.er1
13633 ac_status=$?
13634 grep -v '^ *+' conftest.er1 >conftest.err
13635 rm -f conftest.er1
13636 cat conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } &&
13639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13642 ac_status=$?
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; } &&
13645 { ac_try='test -s conftest.$ac_objext'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13648 ac_status=$?
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; }; then
13651 ac_cv_header_stdc=yes
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13655
13656 ac_cv_header_stdc=no
13657 fi
13658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13659
13660 if test $ac_cv_header_stdc = yes; then
13661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #include <string.h>
13669
13670 _ACEOF
13671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13672 $EGREP "memchr" >/dev/null 2>&1; then
13673 :
13674 else
13675 ac_cv_header_stdc=no
13676 fi
13677 rm -f conftest*
13678
13679 fi
13680
13681 if test $ac_cv_header_stdc = yes; then
13682 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13683 cat >conftest.$ac_ext <<_ACEOF
13684 /* confdefs.h. */
13685 _ACEOF
13686 cat confdefs.h >>conftest.$ac_ext
13687 cat >>conftest.$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13689 #include <stdlib.h>
13690
13691 _ACEOF
13692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13693 $EGREP "free" >/dev/null 2>&1; then
13694 :
13695 else
13696 ac_cv_header_stdc=no
13697 fi
13698 rm -f conftest*
13699
13700 fi
13701
13702 if test $ac_cv_header_stdc = yes; then
13703 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13704 if test "$cross_compiling" = yes; then
13705 :
13706 else
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <ctype.h>
13714 #if ((' ' & 0x0FF) == 0x020)
13715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13717 #else
13718 # define ISLOWER(c) \
13719 (('a' <= (c) && (c) <= 'i') \
13720 || ('j' <= (c) && (c) <= 'r') \
13721 || ('s' <= (c) && (c) <= 'z'))
13722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13723 #endif
13724
13725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13726 int
13727 main ()
13728 {
13729 int i;
13730 for (i = 0; i < 256; i++)
13731 if (XOR (islower (i), ISLOWER (i))
13732 || toupper (i) != TOUPPER (i))
13733 exit(2);
13734 exit (0);
13735 }
13736 _ACEOF
13737 rm -f conftest$ac_exeext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13739 (eval $ac_link) 2>&5
13740 ac_status=$?
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 :
13749 else
13750 echo "$as_me: program exited with status $ac_status" >&5
13751 echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.$ac_ext >&5
13753
13754 ( exit $ac_status )
13755 ac_cv_header_stdc=no
13756 fi
13757 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13758 fi
13759 fi
13760 fi
13761 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13762 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13763 if test $ac_cv_header_stdc = yes; then
13764
13765 cat >>confdefs.h <<\_ACEOF
13766 #define STDC_HEADERS 1
13767 _ACEOF
13768
13769 fi
13770
13771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13782 inttypes.h stdint.h unistd.h
13783 do
13784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13785 echo "$as_me:$LINENO: checking for $ac_header" >&5
13786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 else
13790 cat >conftest.$ac_ext <<_ACEOF
13791 /* confdefs.h. */
13792 _ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 $ac_includes_default
13797
13798 #include <$ac_header>
13799 _ACEOF
13800 rm -f conftest.$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13812 ac_status=$?
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13818 ac_status=$?
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 eval "$as_ac_Header=yes"
13822 else
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.$ac_ext >&5
13825
13826 eval "$as_ac_Header=no"
13827 fi
13828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13829 fi
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13833 cat >>confdefs.h <<_ACEOF
13834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13835 _ACEOF
13836
13837 fi
13838
13839 done
13840
13841
13842
13843 for ac_header in stdlib.h
13844 do
13845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13847 echo "$as_me:$LINENO: checking for $ac_header" >&5
13848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 fi
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13854 else
13855 # Is the header compilable?
13856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 $ac_includes_default
13865 #include <$ac_header>
13866 _ACEOF
13867 rm -f conftest.$ac_objext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13869 (eval $ac_compile) 2>conftest.er1
13870 ac_status=$?
13871 grep -v '^ *+' conftest.er1 >conftest.err
13872 rm -f conftest.er1
13873 cat conftest.err >&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13879 ac_status=$?
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; } &&
13882 { ac_try='test -s conftest.$ac_objext'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13885 ac_status=$?
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; }; then
13888 ac_header_compiler=yes
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 ac_header_compiler=no
13894 fi
13895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13897 echo "${ECHO_T}$ac_header_compiler" >&6
13898
13899 # Is the header present?
13900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #include <$ac_header>
13909 _ACEOF
13910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13912 ac_status=$?
13913 grep -v '^ *+' conftest.er1 >conftest.err
13914 rm -f conftest.er1
13915 cat conftest.err >&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } >/dev/null; then
13918 if test -s conftest.err; then
13919 ac_cpp_err=$ac_c_preproc_warn_flag
13920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13921 else
13922 ac_cpp_err=
13923 fi
13924 else
13925 ac_cpp_err=yes
13926 fi
13927 if test -z "$ac_cpp_err"; then
13928 ac_header_preproc=yes
13929 else
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.$ac_ext >&5
13932
13933 ac_header_preproc=no
13934 fi
13935 rm -f conftest.err conftest.$ac_ext
13936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13937 echo "${ECHO_T}$ac_header_preproc" >&6
13938
13939 # So? What about this header?
13940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13941 yes:no: )
13942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13946 ac_header_preproc=yes
13947 ;;
13948 no:yes:* )
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13956 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13961 (
13962 cat <<\_ASBOX
13963 ## ----------------------------------------- ##
13964 ## Report this to wx-dev@lists.wxwidgets.org ##
13965 ## ----------------------------------------- ##
13966 _ASBOX
13967 ) |
13968 sed "s/^/$as_me: WARNING: /" >&2
13969 ;;
13970 esac
13971 echo "$as_me:$LINENO: checking for $ac_header" >&5
13972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 else
13976 eval "$as_ac_Header=\$ac_header_preproc"
13977 fi
13978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13980
13981 fi
13982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13983 cat >>confdefs.h <<_ACEOF
13984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13985 _ACEOF
13986
13987 fi
13988
13989 done
13990
13991
13992 for ac_header in malloc.h
13993 do
13994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13996 echo "$as_me:$LINENO: checking for $ac_header" >&5
13997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 fi
14001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14003 else
14004 # Is the header compilable?
14005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14006 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
14014 #include <$ac_header>
14015 _ACEOF
14016 rm -f conftest.$ac_objext
14017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14018 (eval $ac_compile) 2>conftest.er1
14019 ac_status=$?
14020 grep -v '^ *+' conftest.er1 >conftest.err
14021 rm -f conftest.er1
14022 cat conftest.err >&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14028 ac_status=$?
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; } &&
14031 { ac_try='test -s conftest.$ac_objext'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14034 ac_status=$?
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 ac_header_compiler=yes
14038 else
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14041
14042 ac_header_compiler=no
14043 fi
14044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14046 echo "${ECHO_T}$ac_header_compiler" >&6
14047
14048 # Is the header present?
14049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14051 cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h. */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057 #include <$ac_header>
14058 _ACEOF
14059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14061 ac_status=$?
14062 grep -v '^ *+' conftest.er1 >conftest.err
14063 rm -f conftest.er1
14064 cat conftest.err >&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } >/dev/null; then
14067 if test -s conftest.err; then
14068 ac_cpp_err=$ac_c_preproc_warn_flag
14069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14070 else
14071 ac_cpp_err=
14072 fi
14073 else
14074 ac_cpp_err=yes
14075 fi
14076 if test -z "$ac_cpp_err"; then
14077 ac_header_preproc=yes
14078 else
14079 echo "$as_me: failed program was:" >&5
14080 sed 's/^/| /' conftest.$ac_ext >&5
14081
14082 ac_header_preproc=no
14083 fi
14084 rm -f conftest.err conftest.$ac_ext
14085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14086 echo "${ECHO_T}$ac_header_preproc" >&6
14087
14088 # So? What about this header?
14089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14090 yes:no: )
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14095 ac_header_preproc=yes
14096 ;;
14097 no:yes:* )
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14110 (
14111 cat <<\_ASBOX
14112 ## ----------------------------------------- ##
14113 ## Report this to wx-dev@lists.wxwidgets.org ##
14114 ## ----------------------------------------- ##
14115 _ASBOX
14116 ) |
14117 sed "s/^/$as_me: WARNING: /" >&2
14118 ;;
14119 esac
14120 echo "$as_me:$LINENO: checking for $ac_header" >&5
14121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 eval "$as_ac_Header=\$ac_header_preproc"
14126 fi
14127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14129
14130 fi
14131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14132 cat >>confdefs.h <<_ACEOF
14133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14134 _ACEOF
14135
14136 fi
14137
14138 done
14139
14140
14141 for ac_header in unistd.h
14142 do
14143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14145 echo "$as_me:$LINENO: checking for $ac_header" >&5
14146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 fi
14150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14152 else
14153 # Is the header compilable?
14154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14156 cat >conftest.$ac_ext <<_ACEOF
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 $ac_includes_default
14163 #include <$ac_header>
14164 _ACEOF
14165 rm -f conftest.$ac_objext
14166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14167 (eval $ac_compile) 2>conftest.er1
14168 ac_status=$?
14169 grep -v '^ *+' conftest.er1 >conftest.err
14170 rm -f conftest.er1
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14180 { ac_try='test -s conftest.$ac_objext'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14183 ac_status=$?
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; }; then
14186 ac_header_compiler=yes
14187 else
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.$ac_ext >&5
14190
14191 ac_header_compiler=no
14192 fi
14193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14195 echo "${ECHO_T}$ac_header_compiler" >&6
14196
14197 # Is the header present?
14198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14200 cat >conftest.$ac_ext <<_ACEOF
14201 /* confdefs.h. */
14202 _ACEOF
14203 cat confdefs.h >>conftest.$ac_ext
14204 cat >>conftest.$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14206 #include <$ac_header>
14207 _ACEOF
14208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } >/dev/null; then
14216 if test -s conftest.err; then
14217 ac_cpp_err=$ac_c_preproc_warn_flag
14218 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14219 else
14220 ac_cpp_err=
14221 fi
14222 else
14223 ac_cpp_err=yes
14224 fi
14225 if test -z "$ac_cpp_err"; then
14226 ac_header_preproc=yes
14227 else
14228 echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.$ac_ext >&5
14230
14231 ac_header_preproc=no
14232 fi
14233 rm -f conftest.err conftest.$ac_ext
14234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14235 echo "${ECHO_T}$ac_header_preproc" >&6
14236
14237 # So? What about this header?
14238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14239 yes:no: )
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14244 ac_header_preproc=yes
14245 ;;
14246 no:yes:* )
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14259 (
14260 cat <<\_ASBOX
14261 ## ----------------------------------------- ##
14262 ## Report this to wx-dev@lists.wxwidgets.org ##
14263 ## ----------------------------------------- ##
14264 _ASBOX
14265 ) |
14266 sed "s/^/$as_me: WARNING: /" >&2
14267 ;;
14268 esac
14269 echo "$as_me:$LINENO: checking for $ac_header" >&5
14270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 else
14274 eval "$as_ac_Header=\$ac_header_preproc"
14275 fi
14276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14278
14279 fi
14280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14281 cat >>confdefs.h <<_ACEOF
14282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14283 _ACEOF
14284
14285 fi
14286
14287 done
14288
14289
14290 for ac_header in wchar.h
14291 do
14292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14294 echo "$as_me:$LINENO: checking for $ac_header" >&5
14295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 fi
14299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14301 else
14302 # Is the header compilable?
14303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14305 cat >conftest.$ac_ext <<_ACEOF
14306 /* confdefs.h. */
14307 _ACEOF
14308 cat confdefs.h >>conftest.$ac_ext
14309 cat >>conftest.$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14311 $ac_includes_default
14312 #include <$ac_header>
14313 _ACEOF
14314 rm -f conftest.$ac_objext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14316 (eval $ac_compile) 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; } &&
14329 { ac_try='test -s conftest.$ac_objext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14332 ac_status=$?
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14335 ac_header_compiler=yes
14336 else
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.$ac_ext >&5
14339
14340 ac_header_compiler=no
14341 fi
14342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14344 echo "${ECHO_T}$ac_header_compiler" >&6
14345
14346 # Is the header present?
14347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14349 cat >conftest.$ac_ext <<_ACEOF
14350 /* confdefs.h. */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 #include <$ac_header>
14356 _ACEOF
14357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14359 ac_status=$?
14360 grep -v '^ *+' conftest.er1 >conftest.err
14361 rm -f conftest.er1
14362 cat conftest.err >&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } >/dev/null; then
14365 if test -s conftest.err; then
14366 ac_cpp_err=$ac_c_preproc_warn_flag
14367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14368 else
14369 ac_cpp_err=
14370 fi
14371 else
14372 ac_cpp_err=yes
14373 fi
14374 if test -z "$ac_cpp_err"; then
14375 ac_header_preproc=yes
14376 else
14377 echo "$as_me: failed program was:" >&5
14378 sed 's/^/| /' conftest.$ac_ext >&5
14379
14380 ac_header_preproc=no
14381 fi
14382 rm -f conftest.err conftest.$ac_ext
14383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14384 echo "${ECHO_T}$ac_header_preproc" >&6
14385
14386 # So? What about this header?
14387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14388 yes:no: )
14389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14393 ac_header_preproc=yes
14394 ;;
14395 no:yes:* )
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14408 (
14409 cat <<\_ASBOX
14410 ## ----------------------------------------- ##
14411 ## Report this to wx-dev@lists.wxwidgets.org ##
14412 ## ----------------------------------------- ##
14413 _ASBOX
14414 ) |
14415 sed "s/^/$as_me: WARNING: /" >&2
14416 ;;
14417 esac
14418 echo "$as_me:$LINENO: checking for $ac_header" >&5
14419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 else
14423 eval "$as_ac_Header=\$ac_header_preproc"
14424 fi
14425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14427
14428 fi
14429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14430 cat >>confdefs.h <<_ACEOF
14431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14432 _ACEOF
14433
14434 fi
14435
14436 done
14437
14438
14439 if test "$ac_cv_header_wchar_h" != "yes"; then
14440
14441 for ac_header in wcstr.h
14442 do
14443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14445 echo "$as_me:$LINENO: checking for $ac_header" >&5
14446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14449 fi
14450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14452 else
14453 # Is the header compilable?
14454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14456 cat >conftest.$ac_ext <<_ACEOF
14457 /* confdefs.h. */
14458 _ACEOF
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 $ac_includes_default
14463 #include <$ac_header>
14464 _ACEOF
14465 rm -f conftest.$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14468 ac_status=$?
14469 grep -v '^ *+' conftest.er1 >conftest.err
14470 rm -f conftest.er1
14471 cat conftest.err >&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; } &&
14480 { ac_try='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 ac_header_compiler=yes
14487 else
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5
14490
14491 ac_header_compiler=no
14492 fi
14493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14495 echo "${ECHO_T}$ac_header_compiler" >&6
14496
14497 # Is the header present?
14498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14500 cat >conftest.$ac_ext <<_ACEOF
14501 /* confdefs.h. */
14502 _ACEOF
14503 cat confdefs.h >>conftest.$ac_ext
14504 cat >>conftest.$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 #include <$ac_header>
14507 _ACEOF
14508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14510 ac_status=$?
14511 grep -v '^ *+' conftest.er1 >conftest.err
14512 rm -f conftest.er1
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } >/dev/null; then
14516 if test -s conftest.err; then
14517 ac_cpp_err=$ac_c_preproc_warn_flag
14518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14519 else
14520 ac_cpp_err=
14521 fi
14522 else
14523 ac_cpp_err=yes
14524 fi
14525 if test -z "$ac_cpp_err"; then
14526 ac_header_preproc=yes
14527 else
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.$ac_ext >&5
14530
14531 ac_header_preproc=no
14532 fi
14533 rm -f conftest.err conftest.$ac_ext
14534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14535 echo "${ECHO_T}$ac_header_preproc" >&6
14536
14537 # So? What about this header?
14538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14539 yes:no: )
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14544 ac_header_preproc=yes
14545 ;;
14546 no:yes:* )
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14559 (
14560 cat <<\_ASBOX
14561 ## ----------------------------------------- ##
14562 ## Report this to wx-dev@lists.wxwidgets.org ##
14563 ## ----------------------------------------- ##
14564 _ASBOX
14565 ) |
14566 sed "s/^/$as_me: WARNING: /" >&2
14567 ;;
14568 esac
14569 echo "$as_me:$LINENO: checking for $ac_header" >&5
14570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 else
14574 eval "$as_ac_Header=\$ac_header_preproc"
14575 fi
14576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14578
14579 fi
14580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14581 cat >>confdefs.h <<_ACEOF
14582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14583 _ACEOF
14584
14585 fi
14586
14587 done
14588
14589 fi
14590
14591
14592 for ac_header in fnmatch.h
14593 do
14594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14596 echo "$as_me:$LINENO: checking for $ac_header" >&5
14597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14600 fi
14601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14603 else
14604 # Is the header compilable?
14605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14607 cat >conftest.$ac_ext <<_ACEOF
14608 /* confdefs.h. */
14609 _ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 $ac_includes_default
14614 #include <$ac_header>
14615 _ACEOF
14616 rm -f conftest.$ac_objext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14618 (eval $ac_compile) 2>conftest.er1
14619 ac_status=$?
14620 grep -v '^ *+' conftest.er1 >conftest.err
14621 rm -f conftest.er1
14622 cat conftest.err >&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try='test -s conftest.$ac_objext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14634 ac_status=$?
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14637 ac_header_compiler=yes
14638 else
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.$ac_ext >&5
14641
14642 ac_header_compiler=no
14643 fi
14644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14646 echo "${ECHO_T}$ac_header_compiler" >&6
14647
14648 # Is the header present?
14649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14651 cat >conftest.$ac_ext <<_ACEOF
14652 /* confdefs.h. */
14653 _ACEOF
14654 cat confdefs.h >>conftest.$ac_ext
14655 cat >>conftest.$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14657 #include <$ac_header>
14658 _ACEOF
14659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14661 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } >/dev/null; then
14667 if test -s conftest.err; then
14668 ac_cpp_err=$ac_c_preproc_warn_flag
14669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14670 else
14671 ac_cpp_err=
14672 fi
14673 else
14674 ac_cpp_err=yes
14675 fi
14676 if test -z "$ac_cpp_err"; then
14677 ac_header_preproc=yes
14678 else
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.$ac_ext >&5
14681
14682 ac_header_preproc=no
14683 fi
14684 rm -f conftest.err conftest.$ac_ext
14685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14686 echo "${ECHO_T}$ac_header_preproc" >&6
14687
14688 # So? What about this header?
14689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14690 yes:no: )
14691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14695 ac_header_preproc=yes
14696 ;;
14697 no:yes:* )
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14710 (
14711 cat <<\_ASBOX
14712 ## ----------------------------------------- ##
14713 ## Report this to wx-dev@lists.wxwidgets.org ##
14714 ## ----------------------------------------- ##
14715 _ASBOX
14716 ) |
14717 sed "s/^/$as_me: WARNING: /" >&2
14718 ;;
14719 esac
14720 echo "$as_me:$LINENO: checking for $ac_header" >&5
14721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14723 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 else
14725 eval "$as_ac_Header=\$ac_header_preproc"
14726 fi
14727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14729
14730 fi
14731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14732 cat >>confdefs.h <<_ACEOF
14733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14734 _ACEOF
14735
14736 fi
14737
14738 done
14739
14740
14741 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14742
14743 for ac_func in fnmatch
14744 do
14745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14746 echo "$as_me:$LINENO: checking for $ac_func" >&5
14747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14748 if eval "test \"\${$as_ac_var+set}\" = set"; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14750 else
14751 cat >conftest.$ac_ext <<_ACEOF
14752 /* confdefs.h. */
14753 _ACEOF
14754 cat confdefs.h >>conftest.$ac_ext
14755 cat >>conftest.$ac_ext <<_ACEOF
14756 /* end confdefs.h. */
14757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14759 #define $ac_func innocuous_$ac_func
14760
14761 /* System header to define __stub macros and hopefully few prototypes,
14762 which can conflict with char $ac_func (); below.
14763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14764 <limits.h> exists even on freestanding compilers. */
14765
14766 #ifdef __STDC__
14767 # include <limits.h>
14768 #else
14769 # include <assert.h>
14770 #endif
14771
14772 #undef $ac_func
14773
14774 /* Override any gcc2 internal prototype to avoid an error. */
14775 #ifdef __cplusplus
14776 extern "C"
14777 {
14778 #endif
14779 /* We use char because int might match the return type of a gcc2
14780 builtin and then its argument prototype would still apply. */
14781 char $ac_func ();
14782 /* The GNU C library defines this for functions which it implements
14783 to always fail with ENOSYS. Some functions are actually named
14784 something starting with __ and the normal name is an alias. */
14785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14786 choke me
14787 #else
14788 char (*f) () = $ac_func;
14789 #endif
14790 #ifdef __cplusplus
14791 }
14792 #endif
14793
14794 int
14795 main ()
14796 {
14797 return f != $ac_func;
14798 ;
14799 return 0;
14800 }
14801 _ACEOF
14802 rm -f conftest.$ac_objext conftest$ac_exeext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 (eval $ac_link) 2>conftest.er1
14805 ac_status=$?
14806 grep -v '^ *+' conftest.er1 >conftest.err
14807 rm -f conftest.er1
14808 cat conftest.err >&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; } &&
14817 { ac_try='test -s conftest$ac_exeext'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; }; then
14823 eval "$as_ac_var=yes"
14824 else
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.$ac_ext >&5
14827
14828 eval "$as_ac_var=no"
14829 fi
14830 rm -f conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext conftest.$ac_ext
14832 fi
14833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14835 if test `eval echo '${'$as_ac_var'}'` = yes; then
14836 cat >>confdefs.h <<_ACEOF
14837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14838 _ACEOF
14839
14840 fi
14841 done
14842
14843 fi
14844
14845
14846 for ac_header in langinfo.h
14847 do
14848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14850 echo "$as_me:$LINENO: checking for $ac_header" >&5
14851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14853 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 fi
14855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14857 else
14858 # Is the header compilable?
14859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14861 cat >conftest.$ac_ext <<_ACEOF
14862 /* confdefs.h. */
14863 _ACEOF
14864 cat confdefs.h >>conftest.$ac_ext
14865 cat >>conftest.$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867 $ac_includes_default
14868 #include <$ac_header>
14869 _ACEOF
14870 rm -f conftest.$ac_objext
14871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14872 (eval $ac_compile) 2>conftest.er1
14873 ac_status=$?
14874 grep -v '^ *+' conftest.er1 >conftest.err
14875 rm -f conftest.er1
14876 cat conftest.err >&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; } &&
14885 { ac_try='test -s conftest.$ac_objext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 ac_header_compiler=yes
14892 else
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.$ac_ext >&5
14895
14896 ac_header_compiler=no
14897 fi
14898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14900 echo "${ECHO_T}$ac_header_compiler" >&6
14901
14902 # Is the header present?
14903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14905 cat >conftest.$ac_ext <<_ACEOF
14906 /* confdefs.h. */
14907 _ACEOF
14908 cat confdefs.h >>conftest.$ac_ext
14909 cat >>conftest.$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 #include <$ac_header>
14912 _ACEOF
14913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14915 ac_status=$?
14916 grep -v '^ *+' conftest.er1 >conftest.err
14917 rm -f conftest.er1
14918 cat conftest.err >&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } >/dev/null; then
14921 if test -s conftest.err; then
14922 ac_cpp_err=$ac_c_preproc_warn_flag
14923 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14924 else
14925 ac_cpp_err=
14926 fi
14927 else
14928 ac_cpp_err=yes
14929 fi
14930 if test -z "$ac_cpp_err"; then
14931 ac_header_preproc=yes
14932 else
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.$ac_ext >&5
14935
14936 ac_header_preproc=no
14937 fi
14938 rm -f conftest.err conftest.$ac_ext
14939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14940 echo "${ECHO_T}$ac_header_preproc" >&6
14941
14942 # So? What about this header?
14943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14944 yes:no: )
14945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14949 ac_header_preproc=yes
14950 ;;
14951 no:yes:* )
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14964 (
14965 cat <<\_ASBOX
14966 ## ----------------------------------------- ##
14967 ## Report this to wx-dev@lists.wxwidgets.org ##
14968 ## ----------------------------------------- ##
14969 _ASBOX
14970 ) |
14971 sed "s/^/$as_me: WARNING: /" >&2
14972 ;;
14973 esac
14974 echo "$as_me:$LINENO: checking for $ac_header" >&5
14975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14977 echo $ECHO_N "(cached) $ECHO_C" >&6
14978 else
14979 eval "$as_ac_Header=\$ac_header_preproc"
14980 fi
14981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14983
14984 fi
14985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14986 cat >>confdefs.h <<_ACEOF
14987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14988 _ACEOF
14989
14990 fi
14991
14992 done
14993
14994
14995 case "${host}" in
14996 *-pc-os2_emx | *-pc-os2-emx )
14997 if test $ac_cv_header_langinfo_h = "yes" \
14998 -a \( "$wx_cv_gccversion" = "EMX2" \
14999 -o "$wx_cv_gccversion" = "EMX3" \
15000 -o "$wx_cv_gccversion" = "Innotek5" \); then
15001 LIBS="$LIBS -lintl"
15002 fi
15003 ;;
15004 esac
15005
15006 if test "$wxUSE_GUI" = "yes"; then
15007 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15008
15009 for ac_header in X11/Xlib.h
15010 do
15011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15013 echo "$as_me:$LINENO: checking for $ac_header" >&5
15014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 fi
15018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15020 else
15021 # Is the header compilable?
15022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15024 cat >conftest.$ac_ext <<_ACEOF
15025 /* confdefs.h. */
15026 _ACEOF
15027 cat confdefs.h >>conftest.$ac_ext
15028 cat >>conftest.$ac_ext <<_ACEOF
15029 /* end confdefs.h. */
15030 $ac_includes_default
15031 #include <$ac_header>
15032 _ACEOF
15033 rm -f conftest.$ac_objext
15034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15035 (eval $ac_compile) 2>conftest.er1
15036 ac_status=$?
15037 grep -v '^ *+' conftest.er1 >conftest.err
15038 rm -f conftest.er1
15039 cat conftest.err >&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } &&
15042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; } &&
15048 { ac_try='test -s conftest.$ac_objext'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15051 ac_status=$?
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15054 ac_header_compiler=yes
15055 else
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15058
15059 ac_header_compiler=no
15060 fi
15061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15063 echo "${ECHO_T}$ac_header_compiler" >&6
15064
15065 # Is the header present?
15066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15068 cat >conftest.$ac_ext <<_ACEOF
15069 /* confdefs.h. */
15070 _ACEOF
15071 cat confdefs.h >>conftest.$ac_ext
15072 cat >>conftest.$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15074 #include <$ac_header>
15075 _ACEOF
15076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15078 ac_status=$?
15079 grep -v '^ *+' conftest.er1 >conftest.err
15080 rm -f conftest.er1
15081 cat conftest.err >&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } >/dev/null; then
15084 if test -s conftest.err; then
15085 ac_cpp_err=$ac_c_preproc_warn_flag
15086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15087 else
15088 ac_cpp_err=
15089 fi
15090 else
15091 ac_cpp_err=yes
15092 fi
15093 if test -z "$ac_cpp_err"; then
15094 ac_header_preproc=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 ac_header_preproc=no
15100 fi
15101 rm -f conftest.err conftest.$ac_ext
15102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15103 echo "${ECHO_T}$ac_header_preproc" >&6
15104
15105 # So? What about this header?
15106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15107 yes:no: )
15108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15112 ac_header_preproc=yes
15113 ;;
15114 no:yes:* )
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15127 (
15128 cat <<\_ASBOX
15129 ## ----------------------------------------- ##
15130 ## Report this to wx-dev@lists.wxwidgets.org ##
15131 ## ----------------------------------------- ##
15132 _ASBOX
15133 ) |
15134 sed "s/^/$as_me: WARNING: /" >&2
15135 ;;
15136 esac
15137 echo "$as_me:$LINENO: checking for $ac_header" >&5
15138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 else
15142 eval "$as_ac_Header=\$ac_header_preproc"
15143 fi
15144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15146
15147 fi
15148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15149 cat >>confdefs.h <<_ACEOF
15150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15151 _ACEOF
15152
15153 fi
15154
15155 done
15156
15157
15158 for ac_header in X11/XKBlib.h
15159 do
15160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15161 echo "$as_me:$LINENO: checking for $ac_header" >&5
15162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 else
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172
15173 #if HAVE_X11_XLIB_H
15174 #include <X11/Xlib.h>
15175 #endif
15176
15177
15178 #include <$ac_header>
15179 _ACEOF
15180 rm -f conftest.$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>conftest.er1
15183 ac_status=$?
15184 grep -v '^ *+' conftest.er1 >conftest.err
15185 rm -f conftest.er1
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } &&
15189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15198 ac_status=$?
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 eval "$as_ac_Header=yes"
15202 else
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15205
15206 eval "$as_ac_Header=no"
15207 fi
15208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15209 fi
15210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15213 cat >>confdefs.h <<_ACEOF
15214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15215 _ACEOF
15216
15217 fi
15218
15219 done
15220
15221 fi
15222 fi
15223
15224
15225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15227 if test "${ac_cv_c_const+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 else
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236
15237 int
15238 main ()
15239 {
15240 /* FIXME: Include the comments suggested by Paul. */
15241 #ifndef __cplusplus
15242 /* Ultrix mips cc rejects this. */
15243 typedef int charset[2];
15244 const charset x;
15245 /* SunOS 4.1.1 cc rejects this. */
15246 char const *const *ccp;
15247 char **p;
15248 /* NEC SVR4.0.2 mips cc rejects this. */
15249 struct point {int x, y;};
15250 static struct point const zero = {0,0};
15251 /* AIX XL C 1.02.0.0 rejects this.
15252 It does not let you subtract one const X* pointer from another in
15253 an arm of an if-expression whose if-part is not a constant
15254 expression */
15255 const char *g = "string";
15256 ccp = &g + (g ? g-g : 0);
15257 /* HPUX 7.0 cc rejects these. */
15258 ++ccp;
15259 p = (char**) ccp;
15260 ccp = (char const *const *) p;
15261 { /* SCO 3.2v4 cc rejects this. */
15262 char *t;
15263 char const *s = 0 ? (char *) 0 : (char const *) 0;
15264
15265 *t++ = 0;
15266 }
15267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15268 int x[] = {25, 17};
15269 const int *foo = &x[0];
15270 ++foo;
15271 }
15272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15273 typedef const int *iptr;
15274 iptr p = 0;
15275 ++p;
15276 }
15277 { /* AIX XL C 1.02.0.0 rejects this saying
15278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15279 struct s { int j; const int *ap[3]; };
15280 struct s *b; b->j = 5;
15281 }
15282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15283 const int foo = 10;
15284 }
15285 #endif
15286
15287 ;
15288 return 0;
15289 }
15290 _ACEOF
15291 rm -f conftest.$ac_objext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15293 (eval $ac_compile) 2>conftest.er1
15294 ac_status=$?
15295 grep -v '^ *+' conftest.er1 >conftest.err
15296 rm -f conftest.er1
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15303 ac_status=$?
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try='test -s conftest.$ac_objext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15309 ac_status=$?
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 ac_cv_c_const=yes
15313 else
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15316
15317 ac_cv_c_const=no
15318 fi
15319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15320 fi
15321 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15322 echo "${ECHO_T}$ac_cv_c_const" >&6
15323 if test $ac_cv_c_const = no; then
15324
15325 cat >>confdefs.h <<\_ACEOF
15326 #define const
15327 _ACEOF
15328
15329 fi
15330
15331 echo "$as_me:$LINENO: checking for inline" >&5
15332 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15333 if test "${ac_cv_c_inline+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 else
15336 ac_cv_c_inline=no
15337 for ac_kw in inline __inline__ __inline; do
15338 cat >conftest.$ac_ext <<_ACEOF
15339 /* confdefs.h. */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 #ifndef __cplusplus
15345 typedef int foo_t;
15346 static $ac_kw foo_t static_foo () {return 0; }
15347 $ac_kw foo_t foo () {return 0; }
15348 #endif
15349
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15353 (eval $ac_compile) 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15363 ac_status=$?
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15369 ac_status=$?
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15372 ac_cv_c_inline=$ac_kw; break
15373 else
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15376
15377 fi
15378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15379 done
15380
15381 fi
15382 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15383 echo "${ECHO_T}$ac_cv_c_inline" >&6
15384
15385
15386 case $ac_cv_c_inline in
15387 inline | yes) ;;
15388 *)
15389 case $ac_cv_c_inline in
15390 no) ac_val=;;
15391 *) ac_val=$ac_cv_c_inline;;
15392 esac
15393 cat >>confdefs.h <<_ACEOF
15394 #ifndef __cplusplus
15395 #define inline $ac_val
15396 #endif
15397 _ACEOF
15398 ;;
15399 esac
15400
15401
15402 echo "$as_me:$LINENO: checking for char" >&5
15403 echo $ECHO_N "checking for char... $ECHO_C" >&6
15404 if test "${ac_cv_type_char+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407 cat >conftest.$ac_ext <<_ACEOF
15408 /* confdefs.h. */
15409 _ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15413 $ac_includes_default
15414 int
15415 main ()
15416 {
15417 if ((char *) 0)
15418 return 0;
15419 if (sizeof (char))
15420 return 0;
15421 ;
15422 return 0;
15423 }
15424 _ACEOF
15425 rm -f conftest.$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>conftest.er1
15428 ac_status=$?
15429 grep -v '^ *+' conftest.er1 >conftest.err
15430 rm -f conftest.er1
15431 cat conftest.err >&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } &&
15434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15437 ac_status=$?
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15443 ac_status=$?
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15446 ac_cv_type_char=yes
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15450
15451 ac_cv_type_char=no
15452 fi
15453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15456 echo "${ECHO_T}$ac_cv_type_char" >&6
15457
15458 echo "$as_me:$LINENO: checking size of char" >&5
15459 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15460 if test "${ac_cv_sizeof_char+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 if test "$ac_cv_type_char" = yes; then
15464 # The cast to unsigned long works around a bug in the HP C Compiler
15465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15467 # This bug is HP SR number 8606223364.
15468 if test "$cross_compiling" = yes; then
15469 # Depending upon the size, compute the lo and hi bounds.
15470 cat >conftest.$ac_ext <<_ACEOF
15471 /* confdefs.h. */
15472 _ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15476 $ac_includes_default
15477 int
15478 main ()
15479 {
15480 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15481 test_array [0] = 0
15482
15483 ;
15484 return 0;
15485 }
15486 _ACEOF
15487 rm -f conftest.$ac_objext
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>conftest.er1
15490 ac_status=$?
15491 grep -v '^ *+' conftest.er1 >conftest.err
15492 rm -f conftest.er1
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } &&
15496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15498 (eval $ac_try) 2>&5
15499 ac_status=$?
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; } &&
15502 { ac_try='test -s conftest.$ac_objext'
15503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15504 (eval $ac_try) 2>&5
15505 ac_status=$?
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); }; }; then
15508 ac_lo=0 ac_mid=0
15509 while :; do
15510 cat >conftest.$ac_ext <<_ACEOF
15511 /* confdefs.h. */
15512 _ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15516 $ac_includes_default
15517 int
15518 main ()
15519 {
15520 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15521 test_array [0] = 0
15522
15523 ;
15524 return 0;
15525 }
15526 _ACEOF
15527 rm -f conftest.$ac_objext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15529 (eval $ac_compile) 2>conftest.er1
15530 ac_status=$?
15531 grep -v '^ *+' conftest.er1 >conftest.err
15532 rm -f conftest.er1
15533 cat conftest.err >&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); } &&
15536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15539 ac_status=$?
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; } &&
15542 { ac_try='test -s conftest.$ac_objext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ac_hi=$ac_mid; break
15549 else
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15552
15553 ac_lo=`expr $ac_mid + 1`
15554 if test $ac_lo -le $ac_mid; then
15555 ac_lo= ac_hi=
15556 break
15557 fi
15558 ac_mid=`expr 2 '*' $ac_mid + 1`
15559 fi
15560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15561 done
15562 else
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15565
15566 cat >conftest.$ac_ext <<_ACEOF
15567 /* confdefs.h. */
15568 _ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 $ac_includes_default
15573 int
15574 main ()
15575 {
15576 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15577 test_array [0] = 0
15578
15579 ;
15580 return 0;
15581 }
15582 _ACEOF
15583 rm -f conftest.$ac_objext
15584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15585 (eval $ac_compile) 2>conftest.er1
15586 ac_status=$?
15587 grep -v '^ *+' conftest.er1 >conftest.err
15588 rm -f conftest.er1
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } &&
15592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; } &&
15598 { ac_try='test -s conftest.$ac_objext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15604 ac_hi=-1 ac_mid=-1
15605 while :; do
15606 cat >conftest.$ac_ext <<_ACEOF
15607 /* confdefs.h. */
15608 _ACEOF
15609 cat confdefs.h >>conftest.$ac_ext
15610 cat >>conftest.$ac_ext <<_ACEOF
15611 /* end confdefs.h. */
15612 $ac_includes_default
15613 int
15614 main ()
15615 {
15616 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15617 test_array [0] = 0
15618
15619 ;
15620 return 0;
15621 }
15622 _ACEOF
15623 rm -f conftest.$ac_objext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15625 (eval $ac_compile) 2>conftest.er1
15626 ac_status=$?
15627 grep -v '^ *+' conftest.er1 >conftest.err
15628 rm -f conftest.er1
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; } &&
15638 { ac_try='test -s conftest.$ac_objext'
15639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15640 (eval $ac_try) 2>&5
15641 ac_status=$?
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_lo=$ac_mid; break
15645 else
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15648
15649 ac_hi=`expr '(' $ac_mid ')' - 1`
15650 if test $ac_mid -le $ac_hi; then
15651 ac_lo= ac_hi=
15652 break
15653 fi
15654 ac_mid=`expr 2 '*' $ac_mid`
15655 fi
15656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15657 done
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15661
15662 ac_lo= ac_hi=
15663 fi
15664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15665 fi
15666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15667 # Binary search between lo and hi bounds.
15668 while test "x$ac_lo" != "x$ac_hi"; do
15669 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15670 cat >conftest.$ac_ext <<_ACEOF
15671 /* confdefs.h. */
15672 _ACEOF
15673 cat confdefs.h >>conftest.$ac_ext
15674 cat >>conftest.$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15676 $ac_includes_default
15677 int
15678 main ()
15679 {
15680 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15681 test_array [0] = 0
15682
15683 ;
15684 return 0;
15685 }
15686 _ACEOF
15687 rm -f conftest.$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689 (eval $ac_compile) 2>conftest.er1
15690 ac_status=$?
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15699 ac_status=$?
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; } &&
15702 { ac_try='test -s conftest.$ac_objext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15705 ac_status=$?
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15708 ac_hi=$ac_mid
15709 else
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15712
15713 ac_lo=`expr '(' $ac_mid ')' + 1`
15714 fi
15715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15716 done
15717 case $ac_lo in
15718 ?*) ac_cv_sizeof_char=$ac_lo;;
15719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15720 See \`config.log' for more details." >&5
15721 echo "$as_me: error: cannot compute sizeof (char), 77
15722 See \`config.log' for more details." >&2;}
15723 { (exit 1); exit 1; }; } ;;
15724 esac
15725 else
15726 if test "$cross_compiling" = yes; then
15727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15729 { (exit 1); exit 1; }; }
15730 else
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15738 long longval () { return (long) (sizeof (char)); }
15739 unsigned long ulongval () { return (long) (sizeof (char)); }
15740 #include <stdio.h>
15741 #include <stdlib.h>
15742 int
15743 main ()
15744 {
15745
15746 FILE *f = fopen ("conftest.val", "w");
15747 if (! f)
15748 exit (1);
15749 if (((long) (sizeof (char))) < 0)
15750 {
15751 long i = longval ();
15752 if (i != ((long) (sizeof (char))))
15753 exit (1);
15754 fprintf (f, "%ld\n", i);
15755 }
15756 else
15757 {
15758 unsigned long i = ulongval ();
15759 if (i != ((long) (sizeof (char))))
15760 exit (1);
15761 fprintf (f, "%lu\n", i);
15762 }
15763 exit (ferror (f) || fclose (f) != 0);
15764
15765 ;
15766 return 0;
15767 }
15768 _ACEOF
15769 rm -f conftest$ac_exeext
15770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15771 (eval $ac_link) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15777 ac_status=$?
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_cv_sizeof_char=`cat conftest.val`
15781 else
15782 echo "$as_me: program exited with status $ac_status" >&5
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15785
15786 ( exit $ac_status )
15787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15788 See \`config.log' for more details." >&5
15789 echo "$as_me: error: cannot compute sizeof (char), 77
15790 See \`config.log' for more details." >&2;}
15791 { (exit 1); exit 1; }; }
15792 fi
15793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15794 fi
15795 fi
15796 rm -f conftest.val
15797 else
15798 ac_cv_sizeof_char=0
15799 fi
15800 fi
15801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15802 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15803 cat >>confdefs.h <<_ACEOF
15804 #define SIZEOF_CHAR $ac_cv_sizeof_char
15805 _ACEOF
15806
15807
15808 echo "$as_me:$LINENO: checking for short" >&5
15809 echo $ECHO_N "checking for short... $ECHO_C" >&6
15810 if test "${ac_cv_type_short+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 $ac_includes_default
15820 int
15821 main ()
15822 {
15823 if ((short *) 0)
15824 return 0;
15825 if (sizeof (short))
15826 return 0;
15827 ;
15828 return 0;
15829 }
15830 _ACEOF
15831 rm -f conftest.$ac_objext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15833 (eval $ac_compile) 2>conftest.er1
15834 ac_status=$?
15835 grep -v '^ *+' conftest.er1 >conftest.err
15836 rm -f conftest.er1
15837 cat conftest.err >&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15849 ac_status=$?
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_cv_type_short=yes
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15856
15857 ac_cv_type_short=no
15858 fi
15859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15860 fi
15861 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15862 echo "${ECHO_T}$ac_cv_type_short" >&6
15863
15864 echo "$as_me:$LINENO: checking size of short" >&5
15865 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15866 if test "${ac_cv_sizeof_short+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15868 else
15869 if test "$ac_cv_type_short" = yes; then
15870 # The cast to unsigned long works around a bug in the HP C Compiler
15871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15873 # This bug is HP SR number 8606223364.
15874 if test "$cross_compiling" = yes; then
15875 # Depending upon the size, compute the lo and hi bounds.
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 $ac_includes_default
15883 int
15884 main ()
15885 {
15886 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15887 test_array [0] = 0
15888
15889 ;
15890 return 0;
15891 }
15892 _ACEOF
15893 rm -f conftest.$ac_objext
15894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15895 (eval $ac_compile) 2>conftest.er1
15896 ac_status=$?
15897 grep -v '^ *+' conftest.er1 >conftest.err
15898 rm -f conftest.er1
15899 cat conftest.err >&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } &&
15902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15905 ac_status=$?
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; } &&
15908 { ac_try='test -s conftest.$ac_objext'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15914 ac_lo=0 ac_mid=0
15915 while :; do
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 $ac_includes_default
15923 int
15924 main ()
15925 {
15926 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15927 test_array [0] = 0
15928
15929 ;
15930 return 0;
15931 }
15932 _ACEOF
15933 rm -f conftest.$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15945 ac_status=$?
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_hi=$ac_mid; break
15955 else
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15958
15959 ac_lo=`expr $ac_mid + 1`
15960 if test $ac_lo -le $ac_mid; then
15961 ac_lo= ac_hi=
15962 break
15963 fi
15964 ac_mid=`expr 2 '*' $ac_mid + 1`
15965 fi
15966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967 done
15968 else
15969 echo "$as_me: failed program was:" >&5
15970 sed 's/^/| /' conftest.$ac_ext >&5
15971
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h. */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 $ac_includes_default
15979 int
15980 main ()
15981 {
15982 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15983 test_array [0] = 0
15984
15985 ;
15986 return 0;
15987 }
15988 _ACEOF
15989 rm -f conftest.$ac_objext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15991 (eval $ac_compile) 2>conftest.er1
15992 ac_status=$?
15993 grep -v '^ *+' conftest.er1 >conftest.err
15994 rm -f conftest.er1
15995 cat conftest.err >&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16001 ac_status=$?
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try='test -s conftest.$ac_objext'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16007 ac_status=$?
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16010 ac_hi=-1 ac_mid=-1
16011 while :; do
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h. */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 $ac_includes_default
16019 int
16020 main ()
16021 {
16022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16023 test_array [0] = 0
16024
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" || test ! -s conftest.err'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try='test -s conftest.$ac_objext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16047 ac_status=$?
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_lo=$ac_mid; break
16051 else
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16054
16055 ac_hi=`expr '(' $ac_mid ')' - 1`
16056 if test $ac_mid -le $ac_hi; then
16057 ac_lo= ac_hi=
16058 break
16059 fi
16060 ac_mid=`expr 2 '*' $ac_mid`
16061 fi
16062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16063 done
16064 else
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.$ac_ext >&5
16067
16068 ac_lo= ac_hi=
16069 fi
16070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16071 fi
16072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16073 # Binary search between lo and hi bounds.
16074 while test "x$ac_lo" != "x$ac_hi"; do
16075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16076 cat >conftest.$ac_ext <<_ACEOF
16077 /* confdefs.h. */
16078 _ACEOF
16079 cat confdefs.h >>conftest.$ac_ext
16080 cat >>conftest.$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16082 $ac_includes_default
16083 int
16084 main ()
16085 {
16086 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16087 test_array [0] = 0
16088
16089 ;
16090 return 0;
16091 }
16092 _ACEOF
16093 rm -f conftest.$ac_objext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16095 (eval $ac_compile) 2>conftest.er1
16096 ac_status=$?
16097 grep -v '^ *+' conftest.er1 >conftest.err
16098 rm -f conftest.er1
16099 cat conftest.err >&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try='test -z "$ac_c_werror_flag" || 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_hi=$ac_mid
16115 else
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16118
16119 ac_lo=`expr '(' $ac_mid ')' + 1`
16120 fi
16121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16122 done
16123 case $ac_lo in
16124 ?*) ac_cv_sizeof_short=$ac_lo;;
16125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16126 See \`config.log' for more details." >&5
16127 echo "$as_me: error: cannot compute sizeof (short), 77
16128 See \`config.log' for more details." >&2;}
16129 { (exit 1); exit 1; }; } ;;
16130 esac
16131 else
16132 if test "$cross_compiling" = yes; then
16133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16134 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16135 { (exit 1); exit 1; }; }
16136 else
16137 cat >conftest.$ac_ext <<_ACEOF
16138 /* confdefs.h. */
16139 _ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16143 $ac_includes_default
16144 long longval () { return (long) (sizeof (short)); }
16145 unsigned long ulongval () { return (long) (sizeof (short)); }
16146 #include <stdio.h>
16147 #include <stdlib.h>
16148 int
16149 main ()
16150 {
16151
16152 FILE *f = fopen ("conftest.val", "w");
16153 if (! f)
16154 exit (1);
16155 if (((long) (sizeof (short))) < 0)
16156 {
16157 long i = longval ();
16158 if (i != ((long) (sizeof (short))))
16159 exit (1);
16160 fprintf (f, "%ld\n", i);
16161 }
16162 else
16163 {
16164 unsigned long i = ulongval ();
16165 if (i != ((long) (sizeof (short))))
16166 exit (1);
16167 fprintf (f, "%lu\n", i);
16168 }
16169 exit (ferror (f) || fclose (f) != 0);
16170
16171 ;
16172 return 0;
16173 }
16174 _ACEOF
16175 rm -f conftest$ac_exeext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16177 (eval $ac_link) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16183 ac_status=$?
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16186 ac_cv_sizeof_short=`cat conftest.val`
16187 else
16188 echo "$as_me: program exited with status $ac_status" >&5
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16191
16192 ( exit $ac_status )
16193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16194 See \`config.log' for more details." >&5
16195 echo "$as_me: error: cannot compute sizeof (short), 77
16196 See \`config.log' for more details." >&2;}
16197 { (exit 1); exit 1; }; }
16198 fi
16199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16200 fi
16201 fi
16202 rm -f conftest.val
16203 else
16204 ac_cv_sizeof_short=0
16205 fi
16206 fi
16207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16208 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16209 cat >>confdefs.h <<_ACEOF
16210 #define SIZEOF_SHORT $ac_cv_sizeof_short
16211 _ACEOF
16212
16213
16214 echo "$as_me:$LINENO: checking for void *" >&5
16215 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16216 if test "${ac_cv_type_void_p+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 else
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 $ac_includes_default
16226 int
16227 main ()
16228 {
16229 if ((void * *) 0)
16230 return 0;
16231 if (sizeof (void *))
16232 return 0;
16233 ;
16234 return 0;
16235 }
16236 _ACEOF
16237 rm -f conftest.$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_type_void_p=yes
16259 else
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16262
16263 ac_cv_type_void_p=no
16264 fi
16265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16266 fi
16267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16269
16270 echo "$as_me:$LINENO: checking size of void *" >&5
16271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16272 if test "${ac_cv_sizeof_void_p+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16274 else
16275 if test "$ac_cv_type_void_p" = yes; then
16276 # The cast to unsigned long works around a bug in the HP C Compiler
16277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16279 # This bug is HP SR number 8606223364.
16280 if test "$cross_compiling" = yes; then
16281 # Depending upon the size, compute the lo and hi bounds.
16282 cat >conftest.$ac_ext <<_ACEOF
16283 /* confdefs.h. */
16284 _ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 $ac_includes_default
16289 int
16290 main ()
16291 {
16292 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16293 test_array [0] = 0
16294
16295 ;
16296 return 0;
16297 }
16298 _ACEOF
16299 rm -f conftest.$ac_objext
16300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16301 (eval $ac_compile) 2>conftest.er1
16302 ac_status=$?
16303 grep -v '^ *+' conftest.er1 >conftest.err
16304 rm -f conftest.er1
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } &&
16308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; } &&
16314 { ac_try='test -s conftest.$ac_objext'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; }; then
16320 ac_lo=0 ac_mid=0
16321 while :; do
16322 cat >conftest.$ac_ext <<_ACEOF
16323 /* confdefs.h. */
16324 _ACEOF
16325 cat confdefs.h >>conftest.$ac_ext
16326 cat >>conftest.$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16329 int
16330 main ()
16331 {
16332 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16333 test_array [0] = 0
16334
16335 ;
16336 return 0;
16337 }
16338 _ACEOF
16339 rm -f conftest.$ac_objext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>conftest.er1
16342 ac_status=$?
16343 grep -v '^ *+' conftest.er1 >conftest.err
16344 rm -f conftest.er1
16345 cat conftest.err >&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_hi=$ac_mid; break
16361 else
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16364
16365 ac_lo=`expr $ac_mid + 1`
16366 if test $ac_lo -le $ac_mid; then
16367 ac_lo= ac_hi=
16368 break
16369 fi
16370 ac_mid=`expr 2 '*' $ac_mid + 1`
16371 fi
16372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16373 done
16374 else
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16377
16378 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 $ac_includes_default
16385 int
16386 main ()
16387 {
16388 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16389 test_array [0] = 0
16390
16391 ;
16392 return 0;
16393 }
16394 _ACEOF
16395 rm -f conftest.$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397 (eval $ac_compile) 2>conftest.er1
16398 ac_status=$?
16399 grep -v '^ *+' conftest.er1 >conftest.err
16400 rm -f conftest.er1
16401 cat conftest.err >&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16407 ac_status=$?
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; } &&
16410 { ac_try='test -s conftest.$ac_objext'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16413 ac_status=$?
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; }; then
16416 ac_hi=-1 ac_mid=-1
16417 while :; do
16418 cat >conftest.$ac_ext <<_ACEOF
16419 /* confdefs.h. */
16420 _ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 $ac_includes_default
16425 int
16426 main ()
16427 {
16428 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16429 test_array [0] = 0
16430
16431 ;
16432 return 0;
16433 }
16434 _ACEOF
16435 rm -f conftest.$ac_objext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16437 (eval $ac_compile) 2>conftest.er1
16438 ac_status=$?
16439 grep -v '^ *+' conftest.er1 >conftest.err
16440 rm -f conftest.er1
16441 cat conftest.err >&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16447 ac_status=$?
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; } &&
16450 { ac_try='test -s conftest.$ac_objext'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16453 ac_status=$?
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; }; then
16456 ac_lo=$ac_mid; break
16457 else
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.$ac_ext >&5
16460
16461 ac_hi=`expr '(' $ac_mid ')' - 1`
16462 if test $ac_mid -le $ac_hi; then
16463 ac_lo= ac_hi=
16464 break
16465 fi
16466 ac_mid=`expr 2 '*' $ac_mid`
16467 fi
16468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16469 done
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16473
16474 ac_lo= ac_hi=
16475 fi
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477 fi
16478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16479 # Binary search between lo and hi bounds.
16480 while test "x$ac_lo" != "x$ac_hi"; do
16481 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16482 cat >conftest.$ac_ext <<_ACEOF
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16489 int
16490 main ()
16491 {
16492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16493 test_array [0] = 0
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16502 ac_status=$?
16503 grep -v '^ *+' conftest.er1 >conftest.err
16504 rm -f conftest.er1
16505 cat conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_hi=$ac_mid
16521 else
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16524
16525 ac_lo=`expr '(' $ac_mid ')' + 1`
16526 fi
16527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16528 done
16529 case $ac_lo in
16530 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16532 See \`config.log' for more details." >&5
16533 echo "$as_me: error: cannot compute sizeof (void *), 77
16534 See \`config.log' for more details." >&2;}
16535 { (exit 1); exit 1; }; } ;;
16536 esac
16537 else
16538 if test "$cross_compiling" = yes; then
16539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16541 { (exit 1); exit 1; }; }
16542 else
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 $ac_includes_default
16550 long longval () { return (long) (sizeof (void *)); }
16551 unsigned long ulongval () { return (long) (sizeof (void *)); }
16552 #include <stdio.h>
16553 #include <stdlib.h>
16554 int
16555 main ()
16556 {
16557
16558 FILE *f = fopen ("conftest.val", "w");
16559 if (! f)
16560 exit (1);
16561 if (((long) (sizeof (void *))) < 0)
16562 {
16563 long i = longval ();
16564 if (i != ((long) (sizeof (void *))))
16565 exit (1);
16566 fprintf (f, "%ld\n", i);
16567 }
16568 else
16569 {
16570 unsigned long i = ulongval ();
16571 if (i != ((long) (sizeof (void *))))
16572 exit (1);
16573 fprintf (f, "%lu\n", i);
16574 }
16575 exit (ferror (f) || fclose (f) != 0);
16576
16577 ;
16578 return 0;
16579 }
16580 _ACEOF
16581 rm -f conftest$ac_exeext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16583 (eval $ac_link) 2>&5
16584 ac_status=$?
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16588 (eval $ac_try) 2>&5
16589 ac_status=$?
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); }; }; then
16592 ac_cv_sizeof_void_p=`cat conftest.val`
16593 else
16594 echo "$as_me: program exited with status $ac_status" >&5
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.$ac_ext >&5
16597
16598 ( exit $ac_status )
16599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16600 See \`config.log' for more details." >&5
16601 echo "$as_me: error: cannot compute sizeof (void *), 77
16602 See \`config.log' for more details." >&2;}
16603 { (exit 1); exit 1; }; }
16604 fi
16605 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16606 fi
16607 fi
16608 rm -f conftest.val
16609 else
16610 ac_cv_sizeof_void_p=0
16611 fi
16612 fi
16613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16614 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16615 cat >>confdefs.h <<_ACEOF
16616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16617 _ACEOF
16618
16619
16620 echo "$as_me:$LINENO: checking for int" >&5
16621 echo $ECHO_N "checking for int... $ECHO_C" >&6
16622 if test "${ac_cv_type_int+set}" = set; then
16623 echo $ECHO_N "(cached) $ECHO_C" >&6
16624 else
16625 cat >conftest.$ac_ext <<_ACEOF
16626 /* confdefs.h. */
16627 _ACEOF
16628 cat confdefs.h >>conftest.$ac_ext
16629 cat >>conftest.$ac_ext <<_ACEOF
16630 /* end confdefs.h. */
16631 $ac_includes_default
16632 int
16633 main ()
16634 {
16635 if ((int *) 0)
16636 return 0;
16637 if (sizeof (int))
16638 return 0;
16639 ;
16640 return 0;
16641 }
16642 _ACEOF
16643 rm -f conftest.$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16655 ac_status=$?
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_cv_type_int=yes
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16668
16669 ac_cv_type_int=no
16670 fi
16671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16672 fi
16673 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16674 echo "${ECHO_T}$ac_cv_type_int" >&6
16675
16676 echo "$as_me:$LINENO: checking size of int" >&5
16677 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16678 if test "${ac_cv_sizeof_int+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16681 if test "$ac_cv_type_int" = yes; then
16682 # The cast to unsigned long works around a bug in the HP C Compiler
16683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16685 # This bug is HP SR number 8606223364.
16686 if test "$cross_compiling" = yes; then
16687 # Depending upon the size, compute the lo and hi bounds.
16688 cat >conftest.$ac_ext <<_ACEOF
16689 /* confdefs.h. */
16690 _ACEOF
16691 cat confdefs.h >>conftest.$ac_ext
16692 cat >>conftest.$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16695 int
16696 main ()
16697 {
16698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16699 test_array [0] = 0
16700
16701 ;
16702 return 0;
16703 }
16704 _ACEOF
16705 rm -f conftest.$ac_objext
16706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16707 (eval $ac_compile) 2>conftest.er1
16708 ac_status=$?
16709 grep -v '^ *+' conftest.er1 >conftest.err
16710 rm -f conftest.er1
16711 cat conftest.err >&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16717 ac_status=$?
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; } &&
16720 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
16726 ac_lo=0 ac_mid=0
16727 while :; do
16728 cat >conftest.$ac_ext <<_ACEOF
16729 /* confdefs.h. */
16730 _ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16734 $ac_includes_default
16735 int
16736 main ()
16737 {
16738 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16739 test_array [0] = 0
16740
16741 ;
16742 return 0;
16743 }
16744 _ACEOF
16745 rm -f conftest.$ac_objext
16746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16747 (eval $ac_compile) 2>conftest.er1
16748 ac_status=$?
16749 grep -v '^ *+' conftest.er1 >conftest.err
16750 rm -f conftest.er1
16751 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } &&
16754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16757 ac_status=$?
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; } &&
16760 { ac_try='test -s conftest.$ac_objext'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16763 ac_status=$?
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; }; then
16766 ac_hi=$ac_mid; break
16767 else
16768 echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.$ac_ext >&5
16770
16771 ac_lo=`expr $ac_mid + 1`
16772 if test $ac_lo -le $ac_mid; then
16773 ac_lo= ac_hi=
16774 break
16775 fi
16776 ac_mid=`expr 2 '*' $ac_mid + 1`
16777 fi
16778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16779 done
16780 else
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.$ac_ext >&5
16783
16784 cat >conftest.$ac_ext <<_ACEOF
16785 /* confdefs.h. */
16786 _ACEOF
16787 cat confdefs.h >>conftest.$ac_ext
16788 cat >>conftest.$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 $ac_includes_default
16791 int
16792 main ()
16793 {
16794 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16795 test_array [0] = 0
16796
16797 ;
16798 return 0;
16799 }
16800 _ACEOF
16801 rm -f conftest.$ac_objext
16802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16803 (eval $ac_compile) 2>conftest.er1
16804 ac_status=$?
16805 grep -v '^ *+' conftest.er1 >conftest.err
16806 rm -f conftest.er1
16807 cat conftest.err >&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16813 ac_status=$?
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16819 ac_status=$?
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16822 ac_hi=-1 ac_mid=-1
16823 while :; do
16824 cat >conftest.$ac_ext <<_ACEOF
16825 /* confdefs.h. */
16826 _ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 $ac_includes_default
16831 int
16832 main ()
16833 {
16834 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16835 test_array [0] = 0
16836
16837 ;
16838 return 0;
16839 }
16840 _ACEOF
16841 rm -f conftest.$ac_objext
16842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16843 (eval $ac_compile) 2>conftest.er1
16844 ac_status=$?
16845 grep -v '^ *+' conftest.er1 >conftest.err
16846 rm -f conftest.er1
16847 cat conftest.err >&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } &&
16850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16859 ac_status=$?
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_lo=$ac_mid; break
16863 else
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16866
16867 ac_hi=`expr '(' $ac_mid ')' - 1`
16868 if test $ac_mid -le $ac_hi; then
16869 ac_lo= ac_hi=
16870 break
16871 fi
16872 ac_mid=`expr 2 '*' $ac_mid`
16873 fi
16874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16875 done
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16879
16880 ac_lo= ac_hi=
16881 fi
16882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16883 fi
16884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16885 # Binary search between lo and hi bounds.
16886 while test "x$ac_lo" != "x$ac_hi"; do
16887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16895 int
16896 main ()
16897 {
16898 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16899 test_array [0] = 0
16900
16901 ;
16902 return 0;
16903 }
16904 _ACEOF
16905 rm -f conftest.$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16908 ac_status=$?
16909 grep -v '^ *+' conftest.er1 >conftest.err
16910 rm -f conftest.er1
16911 cat conftest.err >&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16923 ac_status=$?
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 ac_hi=$ac_mid
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 ac_lo=`expr '(' $ac_mid ')' + 1`
16932 fi
16933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16934 done
16935 case $ac_lo in
16936 ?*) ac_cv_sizeof_int=$ac_lo;;
16937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16938 See \`config.log' for more details." >&5
16939 echo "$as_me: error: cannot compute sizeof (int), 77
16940 See \`config.log' for more details." >&2;}
16941 { (exit 1); exit 1; }; } ;;
16942 esac
16943 else
16944 if test "$cross_compiling" = yes; then
16945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16947 { (exit 1); exit 1; }; }
16948 else
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16956 long longval () { return (long) (sizeof (int)); }
16957 unsigned long ulongval () { return (long) (sizeof (int)); }
16958 #include <stdio.h>
16959 #include <stdlib.h>
16960 int
16961 main ()
16962 {
16963
16964 FILE *f = fopen ("conftest.val", "w");
16965 if (! f)
16966 exit (1);
16967 if (((long) (sizeof (int))) < 0)
16968 {
16969 long i = longval ();
16970 if (i != ((long) (sizeof (int))))
16971 exit (1);
16972 fprintf (f, "%ld\n", i);
16973 }
16974 else
16975 {
16976 unsigned long i = ulongval ();
16977 if (i != ((long) (sizeof (int))))
16978 exit (1);
16979 fprintf (f, "%lu\n", i);
16980 }
16981 exit (ferror (f) || fclose (f) != 0);
16982
16983 ;
16984 return 0;
16985 }
16986 _ACEOF
16987 rm -f conftest$ac_exeext
16988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16989 (eval $ac_link) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16995 ac_status=$?
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; }; then
16998 ac_cv_sizeof_int=`cat conftest.val`
16999 else
17000 echo "$as_me: program exited with status $ac_status" >&5
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004 ( exit $ac_status )
17005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17006 See \`config.log' for more details." >&5
17007 echo "$as_me: error: cannot compute sizeof (int), 77
17008 See \`config.log' for more details." >&2;}
17009 { (exit 1); exit 1; }; }
17010 fi
17011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17012 fi
17013 fi
17014 rm -f conftest.val
17015 else
17016 ac_cv_sizeof_int=0
17017 fi
17018 fi
17019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17020 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17021 cat >>confdefs.h <<_ACEOF
17022 #define SIZEOF_INT $ac_cv_sizeof_int
17023 _ACEOF
17024
17025
17026 echo "$as_me:$LINENO: checking for long" >&5
17027 echo $ECHO_N "checking for long... $ECHO_C" >&6
17028 if test "${ac_cv_type_long+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 else
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h. */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17038 int
17039 main ()
17040 {
17041 if ((long *) 0)
17042 return 0;
17043 if (sizeof (long))
17044 return 0;
17045 ;
17046 return 0;
17047 }
17048 _ACEOF
17049 rm -f conftest.$ac_objext
17050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17051 (eval $ac_compile) 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } &&
17058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17061 ac_status=$?
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try='test -s conftest.$ac_objext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17067 ac_status=$?
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 ac_cv_type_long=yes
17071 else
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17074
17075 ac_cv_type_long=no
17076 fi
17077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17078 fi
17079 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17080 echo "${ECHO_T}$ac_cv_type_long" >&6
17081
17082 echo "$as_me:$LINENO: checking size of long" >&5
17083 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17084 if test "${ac_cv_sizeof_long+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087 if test "$ac_cv_type_long" = yes; then
17088 # The cast to unsigned long works around a bug in the HP C Compiler
17089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17091 # This bug is HP SR number 8606223364.
17092 if test "$cross_compiling" = yes; then
17093 # Depending upon the size, compute the lo and hi bounds.
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17101 int
17102 main ()
17103 {
17104 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17105 test_array [0] = 0
17106
17107 ;
17108 return 0;
17109 }
17110 _ACEOF
17111 rm -f conftest.$ac_objext
17112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17113 (eval $ac_compile) 2>conftest.er1
17114 ac_status=$?
17115 grep -v '^ *+' conftest.er1 >conftest.err
17116 rm -f conftest.er1
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17123 ac_status=$?
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17132 ac_lo=0 ac_mid=0
17133 while :; do
17134 cat >conftest.$ac_ext <<_ACEOF
17135 /* confdefs.h. */
17136 _ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17141 int
17142 main ()
17143 {
17144 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17145 test_array [0] = 0
17146
17147 ;
17148 return 0;
17149 }
17150 _ACEOF
17151 rm -f conftest.$ac_objext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17153 (eval $ac_compile) 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; } &&
17166 { ac_try='test -s conftest.$ac_objext'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17169 ac_status=$?
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; }; then
17172 ac_hi=$ac_mid; break
17173 else
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17176
17177 ac_lo=`expr $ac_mid + 1`
17178 if test $ac_lo -le $ac_mid; then
17179 ac_lo= ac_hi=
17180 break
17181 fi
17182 ac_mid=`expr 2 '*' $ac_mid + 1`
17183 fi
17184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17185 done
17186 else
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.$ac_ext >&5
17189
17190 cat >conftest.$ac_ext <<_ACEOF
17191 /* confdefs.h. */
17192 _ACEOF
17193 cat confdefs.h >>conftest.$ac_ext
17194 cat >>conftest.$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17196 $ac_includes_default
17197 int
17198 main ()
17199 {
17200 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17201 test_array [0] = 0
17202
17203 ;
17204 return 0;
17205 }
17206 _ACEOF
17207 rm -f conftest.$ac_objext
17208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17209 (eval $ac_compile) 2>conftest.er1
17210 ac_status=$?
17211 grep -v '^ *+' conftest.er1 >conftest.err
17212 rm -f conftest.er1
17213 cat conftest.err >&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17219 ac_status=$?
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; } &&
17222 { ac_try='test -s conftest.$ac_objext'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17225 ac_status=$?
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; }; then
17228 ac_hi=-1 ac_mid=-1
17229 while :; do
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17237 int
17238 main ()
17239 {
17240 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17241 test_array [0] = 0
17242
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>conftest.er1
17250 ac_status=$?
17251 grep -v '^ *+' conftest.er1 >conftest.err
17252 rm -f conftest.er1
17253 cat conftest.err >&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; } &&
17262 { ac_try='test -s conftest.$ac_objext'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; }; then
17268 ac_lo=$ac_mid; break
17269 else
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.$ac_ext >&5
17272
17273 ac_hi=`expr '(' $ac_mid ')' - 1`
17274 if test $ac_mid -le $ac_hi; then
17275 ac_lo= ac_hi=
17276 break
17277 fi
17278 ac_mid=`expr 2 '*' $ac_mid`
17279 fi
17280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17281 done
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17285
17286 ac_lo= ac_hi=
17287 fi
17288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17289 fi
17290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17291 # Binary search between lo and hi bounds.
17292 while test "x$ac_lo" != "x$ac_hi"; do
17293 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17294 cat >conftest.$ac_ext <<_ACEOF
17295 /* confdefs.h. */
17296 _ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17301 int
17302 main ()
17303 {
17304 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17305 test_array [0] = 0
17306
17307 ;
17308 return 0;
17309 }
17310 _ACEOF
17311 rm -f conftest.$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17323 ac_status=$?
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try='test -s conftest.$ac_objext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17329 ac_status=$?
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17332 ac_hi=$ac_mid
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17336
17337 ac_lo=`expr '(' $ac_mid ')' + 1`
17338 fi
17339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17340 done
17341 case $ac_lo in
17342 ?*) ac_cv_sizeof_long=$ac_lo;;
17343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17344 See \`config.log' for more details." >&5
17345 echo "$as_me: error: cannot compute sizeof (long), 77
17346 See \`config.log' for more details." >&2;}
17347 { (exit 1); exit 1; }; } ;;
17348 esac
17349 else
17350 if test "$cross_compiling" = yes; then
17351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17353 { (exit 1); exit 1; }; }
17354 else
17355 cat >conftest.$ac_ext <<_ACEOF
17356 /* confdefs.h. */
17357 _ACEOF
17358 cat confdefs.h >>conftest.$ac_ext
17359 cat >>conftest.$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17361 $ac_includes_default
17362 long longval () { return (long) (sizeof (long)); }
17363 unsigned long ulongval () { return (long) (sizeof (long)); }
17364 #include <stdio.h>
17365 #include <stdlib.h>
17366 int
17367 main ()
17368 {
17369
17370 FILE *f = fopen ("conftest.val", "w");
17371 if (! f)
17372 exit (1);
17373 if (((long) (sizeof (long))) < 0)
17374 {
17375 long i = longval ();
17376 if (i != ((long) (sizeof (long))))
17377 exit (1);
17378 fprintf (f, "%ld\n", i);
17379 }
17380 else
17381 {
17382 unsigned long i = ulongval ();
17383 if (i != ((long) (sizeof (long))))
17384 exit (1);
17385 fprintf (f, "%lu\n", i);
17386 }
17387 exit (ferror (f) || fclose (f) != 0);
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest$ac_exeext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17395 (eval $ac_link) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_cv_sizeof_long=`cat conftest.val`
17405 else
17406 echo "$as_me: program exited with status $ac_status" >&5
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.$ac_ext >&5
17409
17410 ( exit $ac_status )
17411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17412 See \`config.log' for more details." >&5
17413 echo "$as_me: error: cannot compute sizeof (long), 77
17414 See \`config.log' for more details." >&2;}
17415 { (exit 1); exit 1; }; }
17416 fi
17417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17418 fi
17419 fi
17420 rm -f conftest.val
17421 else
17422 ac_cv_sizeof_long=0
17423 fi
17424 fi
17425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17427 cat >>confdefs.h <<_ACEOF
17428 #define SIZEOF_LONG $ac_cv_sizeof_long
17429 _ACEOF
17430
17431
17432 echo "$as_me:$LINENO: checking for size_t" >&5
17433 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17434 if test "${ac_cv_type_size_t+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437 cat >conftest.$ac_ext <<_ACEOF
17438 /* confdefs.h. */
17439 _ACEOF
17440 cat confdefs.h >>conftest.$ac_ext
17441 cat >>conftest.$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 $ac_includes_default
17444 int
17445 main ()
17446 {
17447 if ((size_t *) 0)
17448 return 0;
17449 if (sizeof (size_t))
17450 return 0;
17451 ;
17452 return 0;
17453 }
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; } &&
17470 { ac_try='test -s conftest.$ac_objext'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17473 ac_status=$?
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; }; then
17476 ac_cv_type_size_t=yes
17477 else
17478 echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.$ac_ext >&5
17480
17481 ac_cv_type_size_t=no
17482 fi
17483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17484 fi
17485 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17486 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17487
17488 echo "$as_me:$LINENO: checking size of size_t" >&5
17489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17490 if test "${ac_cv_sizeof_size_t+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17492 else
17493 if test "$ac_cv_type_size_t" = yes; then
17494 # The cast to unsigned long works around a bug in the HP C Compiler
17495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17497 # This bug is HP SR number 8606223364.
17498 if test "$cross_compiling" = yes; then
17499 # Depending upon the size, compute the lo and hi bounds.
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 $ac_includes_default
17507 int
17508 main ()
17509 {
17510 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17511 test_array [0] = 0
17512
17513 ;
17514 return 0;
17515 }
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17520 ac_status=$?
17521 grep -v '^ *+' conftest.er1 >conftest.err
17522 rm -f conftest.er1
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_lo=0 ac_mid=0
17539 while :; do
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17547 int
17548 main ()
17549 {
17550 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17551 test_array [0] = 0
17552
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_hi=$ac_mid; break
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_lo=`expr $ac_mid + 1`
17584 if test $ac_lo -le $ac_mid; then
17585 ac_lo= ac_hi=
17586 break
17587 fi
17588 ac_mid=`expr 2 '*' $ac_mid + 1`
17589 fi
17590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17591 done
17592 else
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17595
17596 cat >conftest.$ac_ext <<_ACEOF
17597 /* confdefs.h. */
17598 _ACEOF
17599 cat confdefs.h >>conftest.$ac_ext
17600 cat >>conftest.$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17602 $ac_includes_default
17603 int
17604 main ()
17605 {
17606 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17607 test_array [0] = 0
17608
17609 ;
17610 return 0;
17611 }
17612 _ACEOF
17613 rm -f conftest.$ac_objext
17614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17615 (eval $ac_compile) 2>conftest.er1
17616 ac_status=$?
17617 grep -v '^ *+' conftest.er1 >conftest.err
17618 rm -f conftest.er1
17619 cat conftest.err >&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } &&
17622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17624 (eval $ac_try) 2>&5
17625 ac_status=$?
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); }; } &&
17628 { ac_try='test -s conftest.$ac_objext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17634 ac_hi=-1 ac_mid=-1
17635 while :; do
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17643 int
17644 main ()
17645 {
17646 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17647 test_array [0] = 0
17648
17649 ;
17650 return 0;
17651 }
17652 _ACEOF
17653 rm -f conftest.$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17656 ac_status=$?
17657 grep -v '^ *+' conftest.er1 >conftest.err
17658 rm -f conftest.er1
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17665 ac_status=$?
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; } &&
17668 { ac_try='test -s conftest.$ac_objext'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17671 ac_status=$?
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17674 ac_lo=$ac_mid; break
17675 else
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17678
17679 ac_hi=`expr '(' $ac_mid ')' - 1`
17680 if test $ac_mid -le $ac_hi; then
17681 ac_lo= ac_hi=
17682 break
17683 fi
17684 ac_mid=`expr 2 '*' $ac_mid`
17685 fi
17686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17687 done
17688 else
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17691
17692 ac_lo= ac_hi=
17693 fi
17694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17695 fi
17696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17697 # Binary search between lo and hi bounds.
17698 while test "x$ac_lo" != "x$ac_hi"; do
17699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17700 cat >conftest.$ac_ext <<_ACEOF
17701 /* confdefs.h. */
17702 _ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 $ac_includes_default
17707 int
17708 main ()
17709 {
17710 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17711 test_array [0] = 0
17712
17713 ;
17714 return 0;
17715 }
17716 _ACEOF
17717 rm -f conftest.$ac_objext
17718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17719 (eval $ac_compile) 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17729 ac_status=$?
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; } &&
17732 { ac_try='test -s conftest.$ac_objext'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17735 ac_status=$?
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; }; then
17738 ac_hi=$ac_mid
17739 else
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.$ac_ext >&5
17742
17743 ac_lo=`expr '(' $ac_mid ')' + 1`
17744 fi
17745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17746 done
17747 case $ac_lo in
17748 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17750 See \`config.log' for more details." >&5
17751 echo "$as_me: error: cannot compute sizeof (size_t), 77
17752 See \`config.log' for more details." >&2;}
17753 { (exit 1); exit 1; }; } ;;
17754 esac
17755 else
17756 if test "$cross_compiling" = yes; then
17757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17759 { (exit 1); exit 1; }; }
17760 else
17761 cat >conftest.$ac_ext <<_ACEOF
17762 /* confdefs.h. */
17763 _ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 $ac_includes_default
17768 long longval () { return (long) (sizeof (size_t)); }
17769 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17770 #include <stdio.h>
17771 #include <stdlib.h>
17772 int
17773 main ()
17774 {
17775
17776 FILE *f = fopen ("conftest.val", "w");
17777 if (! f)
17778 exit (1);
17779 if (((long) (sizeof (size_t))) < 0)
17780 {
17781 long i = longval ();
17782 if (i != ((long) (sizeof (size_t))))
17783 exit (1);
17784 fprintf (f, "%ld\n", i);
17785 }
17786 else
17787 {
17788 unsigned long i = ulongval ();
17789 if (i != ((long) (sizeof (size_t))))
17790 exit (1);
17791 fprintf (f, "%lu\n", i);
17792 }
17793 exit (ferror (f) || fclose (f) != 0);
17794
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 rm -f conftest$ac_exeext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17801 (eval $ac_link) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
17810 ac_cv_sizeof_size_t=`cat conftest.val`
17811 else
17812 echo "$as_me: program exited with status $ac_status" >&5
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.$ac_ext >&5
17815
17816 ( exit $ac_status )
17817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17818 See \`config.log' for more details." >&5
17819 echo "$as_me: error: cannot compute sizeof (size_t), 77
17820 See \`config.log' for more details." >&2;}
17821 { (exit 1); exit 1; }; }
17822 fi
17823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17824 fi
17825 fi
17826 rm -f conftest.val
17827 else
17828 ac_cv_sizeof_size_t=0
17829 fi
17830 fi
17831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17832 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17833 cat >>confdefs.h <<_ACEOF
17834 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17835 _ACEOF
17836
17837
17838
17839 case "${host}" in
17840 arm-*-linux* )
17841 echo "$as_me:$LINENO: checking for long long" >&5
17842 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17843 if test "${ac_cv_type_long_long+set}" = set; then
17844 echo $ECHO_N "(cached) $ECHO_C" >&6
17845 else
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 $ac_includes_default
17853 int
17854 main ()
17855 {
17856 if ((long long *) 0)
17857 return 0;
17858 if (sizeof (long long))
17859 return 0;
17860 ;
17861 return 0;
17862 }
17863 _ACEOF
17864 rm -f conftest.$ac_objext
17865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17866 (eval $ac_compile) 2>conftest.er1
17867 ac_status=$?
17868 grep -v '^ *+' conftest.er1 >conftest.err
17869 rm -f conftest.er1
17870 cat conftest.err >&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } &&
17873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; } &&
17879 { ac_try='test -s conftest.$ac_objext'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17882 ac_status=$?
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; }; then
17885 ac_cv_type_long_long=yes
17886 else
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17889
17890 ac_cv_type_long_long=no
17891 fi
17892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17893 fi
17894 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17895 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17896
17897 echo "$as_me:$LINENO: checking size of long long" >&5
17898 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17899 if test "${ac_cv_sizeof_long_long+set}" = set; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17901 else
17902 if test "$ac_cv_type_long_long" = yes; then
17903 # The cast to unsigned long works around a bug in the HP C Compiler
17904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17906 # This bug is HP SR number 8606223364.
17907 if test "$cross_compiling" = yes; then
17908 # Depending upon the size, compute the lo and hi bounds.
17909 cat >conftest.$ac_ext <<_ACEOF
17910 /* confdefs.h. */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915 $ac_includes_default
17916 int
17917 main ()
17918 {
17919 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17920 test_array [0] = 0
17921
17922 ;
17923 return 0;
17924 }
17925 _ACEOF
17926 rm -f conftest.$ac_objext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17928 (eval $ac_compile) 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17938 ac_status=$?
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; } &&
17941 { ac_try='test -s conftest.$ac_objext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17944 ac_status=$?
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 ac_lo=0 ac_mid=0
17948 while :; do
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17956 int
17957 main ()
17958 {
17959 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17960 test_array [0] = 0
17961
17962 ;
17963 return 0;
17964 }
17965 _ACEOF
17966 rm -f conftest.$ac_objext
17967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17968 (eval $ac_compile) 2>conftest.er1
17969 ac_status=$?
17970 grep -v '^ *+' conftest.er1 >conftest.err
17971 rm -f conftest.er1
17972 cat conftest.err >&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } &&
17975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17978 ac_status=$?
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; } &&
17981 { ac_try='test -s conftest.$ac_objext'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17984 ac_status=$?
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; }; then
17987 ac_hi=$ac_mid; break
17988 else
17989 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.$ac_ext >&5
17991
17992 ac_lo=`expr $ac_mid + 1`
17993 if test $ac_lo -le $ac_mid; then
17994 ac_lo= ac_hi=
17995 break
17996 fi
17997 ac_mid=`expr 2 '*' $ac_mid + 1`
17998 fi
17999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18000 done
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h. */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18012 int
18013 main ()
18014 {
18015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18016 test_array [0] = 0
18017
18018 ;
18019 return 0;
18020 }
18021 _ACEOF
18022 rm -f conftest.$ac_objext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18024 (eval $ac_compile) 2>conftest.er1
18025 ac_status=$?
18026 grep -v '^ *+' conftest.er1 >conftest.err
18027 rm -f conftest.er1
18028 cat conftest.err >&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } &&
18031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18033 (eval $ac_try) 2>&5
18034 ac_status=$?
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; } &&
18037 { ac_try='test -s conftest.$ac_objext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18040 ac_status=$?
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043 ac_hi=-1 ac_mid=-1
18044 while :; do
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 $ac_includes_default
18052 int
18053 main ()
18054 {
18055 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18056 test_array [0] = 0
18057
18058 ;
18059 return 0;
18060 }
18061 _ACEOF
18062 rm -f conftest.$ac_objext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18064 (eval $ac_compile) 2>conftest.er1
18065 ac_status=$?
18066 grep -v '^ *+' conftest.er1 >conftest.err
18067 rm -f conftest.er1
18068 cat conftest.err >&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } &&
18071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18074 ac_status=$?
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; } &&
18077 { ac_try='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18080 ac_status=$?
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 ac_lo=$ac_mid; break
18084 else
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18087
18088 ac_hi=`expr '(' $ac_mid ')' - 1`
18089 if test $ac_mid -le $ac_hi; then
18090 ac_lo= ac_hi=
18091 break
18092 fi
18093 ac_mid=`expr 2 '*' $ac_mid`
18094 fi
18095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18096 done
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18100
18101 ac_lo= ac_hi=
18102 fi
18103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18104 fi
18105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18106 # Binary search between lo and hi bounds.
18107 while test "x$ac_lo" != "x$ac_hi"; do
18108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 $ac_includes_default
18116 int
18117 main ()
18118 {
18119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18120 test_array [0] = 0
18121
18122 ;
18123 return 0;
18124 }
18125 _ACEOF
18126 rm -f conftest.$ac_objext
18127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18128 (eval $ac_compile) 2>conftest.er1
18129 ac_status=$?
18130 grep -v '^ *+' conftest.er1 >conftest.err
18131 rm -f conftest.er1
18132 cat conftest.err >&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } &&
18135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18138 ac_status=$?
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; } &&
18141 { ac_try='test -s conftest.$ac_objext'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18144 ac_status=$?
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; }; then
18147 ac_hi=$ac_mid
18148 else
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.$ac_ext >&5
18151
18152 ac_lo=`expr '(' $ac_mid ')' + 1`
18153 fi
18154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18155 done
18156 case $ac_lo in
18157 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18159 See \`config.log' for more details." >&5
18160 echo "$as_me: error: cannot compute sizeof (long long), 77
18161 See \`config.log' for more details." >&2;}
18162 { (exit 1); exit 1; }; } ;;
18163 esac
18164 else
18165 if test "$cross_compiling" = yes; then
18166 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18167 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18168 { (exit 1); exit 1; }; }
18169 else
18170 cat >conftest.$ac_ext <<_ACEOF
18171 /* confdefs.h. */
18172 _ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18176 $ac_includes_default
18177 long longval () { return (long) (sizeof (long long)); }
18178 unsigned long ulongval () { return (long) (sizeof (long long)); }
18179 #include <stdio.h>
18180 #include <stdlib.h>
18181 int
18182 main ()
18183 {
18184
18185 FILE *f = fopen ("conftest.val", "w");
18186 if (! f)
18187 exit (1);
18188 if (((long) (sizeof (long long))) < 0)
18189 {
18190 long i = longval ();
18191 if (i != ((long) (sizeof (long long))))
18192 exit (1);
18193 fprintf (f, "%ld\n", i);
18194 }
18195 else
18196 {
18197 unsigned long i = ulongval ();
18198 if (i != ((long) (sizeof (long long))))
18199 exit (1);
18200 fprintf (f, "%lu\n", i);
18201 }
18202 exit (ferror (f) || fclose (f) != 0);
18203
18204 ;
18205 return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest$ac_exeext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210 (eval $ac_link) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18216 ac_status=$?
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_sizeof_long_long=`cat conftest.val`
18220 else
18221 echo "$as_me: program exited with status $ac_status" >&5
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 ( exit $ac_status )
18226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18227 See \`config.log' for more details." >&5
18228 echo "$as_me: error: cannot compute sizeof (long long), 77
18229 See \`config.log' for more details." >&2;}
18230 { (exit 1); exit 1; }; }
18231 fi
18232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18233 fi
18234 fi
18235 rm -f conftest.val
18236 else
18237 ac_cv_sizeof_long_long=0
18238 fi
18239 fi
18240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18241 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18242 cat >>confdefs.h <<_ACEOF
18243 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18244 _ACEOF
18245
18246
18247 ;;
18248 *-hp-hpux* )
18249 echo "$as_me:$LINENO: checking for long long" >&5
18250 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18251 if test "${ac_cv_type_long_long+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 else
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 $ac_includes_default
18261 int
18262 main ()
18263 {
18264 if ((long long *) 0)
18265 return 0;
18266 if (sizeof (long long))
18267 return 0;
18268 ;
18269 return 0;
18270 }
18271 _ACEOF
18272 rm -f conftest.$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_type_long_long=yes
18294 else
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.$ac_ext >&5
18297
18298 ac_cv_type_long_long=no
18299 fi
18300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18301 fi
18302 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18303 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18304
18305 echo "$as_me:$LINENO: checking size of long long" >&5
18306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18307 if test "${ac_cv_sizeof_long_long+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310 if test "$ac_cv_type_long_long" = yes; then
18311 # The cast to unsigned long works around a bug in the HP C Compiler
18312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18314 # This bug is HP SR number 8606223364.
18315 if test "$cross_compiling" = yes; then
18316 # Depending upon the size, compute the lo and hi bounds.
18317 cat >conftest.$ac_ext <<_ACEOF
18318 /* confdefs.h. */
18319 _ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18324 int
18325 main ()
18326 {
18327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18328 test_array [0] = 0
18329
18330 ;
18331 return 0;
18332 }
18333 _ACEOF
18334 rm -f conftest.$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18355 ac_lo=0 ac_mid=0
18356 while :; do
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18364 int
18365 main ()
18366 {
18367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18368 test_array [0] = 0
18369
18370 ;
18371 return 0;
18372 }
18373 _ACEOF
18374 rm -f conftest.$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18377 ac_status=$?
18378 grep -v '^ *+' conftest.er1 >conftest.err
18379 rm -f conftest.er1
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; } &&
18389 { ac_try='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18392 ac_status=$?
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_hi=$ac_mid; break
18396 else
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.$ac_ext >&5
18399
18400 ac_lo=`expr $ac_mid + 1`
18401 if test $ac_lo -le $ac_mid; then
18402 ac_lo= ac_hi=
18403 break
18404 fi
18405 ac_mid=`expr 2 '*' $ac_mid + 1`
18406 fi
18407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18408 done
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18412
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 int
18421 main ()
18422 {
18423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18424 test_array [0] = 0
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18432 (eval $ac_compile) 2>conftest.er1
18433 ac_status=$?
18434 grep -v '^ *+' conftest.er1 >conftest.err
18435 rm -f conftest.er1
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } &&
18439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18442 ac_status=$?
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; } &&
18445 { ac_try='test -s conftest.$ac_objext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18448 ac_status=$?
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 ac_hi=-1 ac_mid=-1
18452 while :; do
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 $ac_includes_default
18460 int
18461 main ()
18462 {
18463 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18464 test_array [0] = 0
18465
18466 ;
18467 return 0;
18468 }
18469 _ACEOF
18470 rm -f conftest.$ac_objext
18471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18472 (eval $ac_compile) 2>conftest.er1
18473 ac_status=$?
18474 grep -v '^ *+' conftest.er1 >conftest.err
18475 rm -f conftest.er1
18476 cat conftest.err >&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } &&
18479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18482 ac_status=$?
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; } &&
18485 { ac_try='test -s conftest.$ac_objext'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18488 ac_status=$?
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; }; then
18491 ac_lo=$ac_mid; break
18492 else
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18495
18496 ac_hi=`expr '(' $ac_mid ')' - 1`
18497 if test $ac_mid -le $ac_hi; then
18498 ac_lo= ac_hi=
18499 break
18500 fi
18501 ac_mid=`expr 2 '*' $ac_mid`
18502 fi
18503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18504 done
18505 else
18506 echo "$as_me: failed program was:" >&5
18507 sed 's/^/| /' conftest.$ac_ext >&5
18508
18509 ac_lo= ac_hi=
18510 fi
18511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18512 fi
18513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18514 # Binary search between lo and hi bounds.
18515 while test "x$ac_lo" != "x$ac_hi"; do
18516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18517 cat >conftest.$ac_ext <<_ACEOF
18518 /* confdefs.h. */
18519 _ACEOF
18520 cat confdefs.h >>conftest.$ac_ext
18521 cat >>conftest.$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 $ac_includes_default
18524 int
18525 main ()
18526 {
18527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18528 test_array [0] = 0
18529
18530 ;
18531 return 0;
18532 }
18533 _ACEOF
18534 rm -f conftest.$ac_objext
18535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18536 (eval $ac_compile) 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } &&
18543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18546 ac_status=$?
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; } &&
18549 { ac_try='test -s conftest.$ac_objext'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18552 ac_status=$?
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; }; then
18555 ac_hi=$ac_mid
18556 else
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.$ac_ext >&5
18559
18560 ac_lo=`expr '(' $ac_mid ')' + 1`
18561 fi
18562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18563 done
18564 case $ac_lo in
18565 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18566 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18567 See \`config.log' for more details." >&5
18568 echo "$as_me: error: cannot compute sizeof (long long), 77
18569 See \`config.log' for more details." >&2;}
18570 { (exit 1); exit 1; }; } ;;
18571 esac
18572 else
18573 if test "$cross_compiling" = yes; then
18574 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18575 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18576 { (exit 1); exit 1; }; }
18577 else
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h. */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 $ac_includes_default
18585 long longval () { return (long) (sizeof (long long)); }
18586 unsigned long ulongval () { return (long) (sizeof (long long)); }
18587 #include <stdio.h>
18588 #include <stdlib.h>
18589 int
18590 main ()
18591 {
18592
18593 FILE *f = fopen ("conftest.val", "w");
18594 if (! f)
18595 exit (1);
18596 if (((long) (sizeof (long long))) < 0)
18597 {
18598 long i = longval ();
18599 if (i != ((long) (sizeof (long long))))
18600 exit (1);
18601 fprintf (f, "%ld\n", i);
18602 }
18603 else
18604 {
18605 unsigned long i = ulongval ();
18606 if (i != ((long) (sizeof (long long))))
18607 exit (1);
18608 fprintf (f, "%lu\n", i);
18609 }
18610 exit (ferror (f) || fclose (f) != 0);
18611
18612 ;
18613 return 0;
18614 }
18615 _ACEOF
18616 rm -f conftest$ac_exeext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18618 (eval $ac_link) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 ac_cv_sizeof_long_long=`cat conftest.val`
18628 else
18629 echo "$as_me: program exited with status $ac_status" >&5
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18632
18633 ( exit $ac_status )
18634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18635 See \`config.log' for more details." >&5
18636 echo "$as_me: error: cannot compute sizeof (long long), 77
18637 See \`config.log' for more details." >&2;}
18638 { (exit 1); exit 1; }; }
18639 fi
18640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18641 fi
18642 fi
18643 rm -f conftest.val
18644 else
18645 ac_cv_sizeof_long_long=0
18646 fi
18647 fi
18648 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18649 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18650 cat >>confdefs.h <<_ACEOF
18651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18652 _ACEOF
18653
18654
18655 if test "$ac_cv_sizeof_long_long" != "0"; then
18656 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18657 fi
18658 ;;
18659 * )
18660 echo "$as_me:$LINENO: checking for long long" >&5
18661 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18662 if test "${ac_cv_type_long_long+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 else
18665 cat >conftest.$ac_ext <<_ACEOF
18666 /* confdefs.h. */
18667 _ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 $ac_includes_default
18672 int
18673 main ()
18674 {
18675 if ((long long *) 0)
18676 return 0;
18677 if (sizeof (long long))
18678 return 0;
18679 ;
18680 return 0;
18681 }
18682 _ACEOF
18683 rm -f conftest.$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18695 ac_status=$?
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18701 ac_status=$?
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_cv_type_long_long=yes
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 ac_cv_type_long_long=no
18710 fi
18711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18712 fi
18713 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18714 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18715
18716 echo "$as_me:$LINENO: checking size of long long" >&5
18717 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18718 if test "${ac_cv_sizeof_long_long+set}" = set; then
18719 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 else
18721 if test "$ac_cv_type_long_long" = yes; then
18722 # The cast to unsigned long works around a bug in the HP C Compiler
18723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18725 # This bug is HP SR number 8606223364.
18726 if test "$cross_compiling" = yes; then
18727 # Depending upon the size, compute the lo and hi bounds.
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18735 int
18736 main ()
18737 {
18738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18739 test_array [0] = 0
18740
18741 ;
18742 return 0;
18743 }
18744 _ACEOF
18745 rm -f conftest.$ac_objext
18746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18747 (eval $ac_compile) 2>conftest.er1
18748 ac_status=$?
18749 grep -v '^ *+' conftest.er1 >conftest.err
18750 rm -f conftest.er1
18751 cat conftest.err >&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); } &&
18754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; } &&
18760 { ac_try='test -s conftest.$ac_objext'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18763 ac_status=$?
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; }; then
18766 ac_lo=0 ac_mid=0
18767 while :; do
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 $ac_includes_default
18775 int
18776 main ()
18777 {
18778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18779 test_array [0] = 0
18780
18781 ;
18782 return 0;
18783 }
18784 _ACEOF
18785 rm -f conftest.$ac_objext
18786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18787 (eval $ac_compile) 2>conftest.er1
18788 ac_status=$?
18789 grep -v '^ *+' conftest.er1 >conftest.err
18790 rm -f conftest.er1
18791 cat conftest.err >&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try='test -s conftest.$ac_objext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_hi=$ac_mid; break
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18810
18811 ac_lo=`expr $ac_mid + 1`
18812 if test $ac_lo -le $ac_mid; then
18813 ac_lo= ac_hi=
18814 break
18815 fi
18816 ac_mid=`expr 2 '*' $ac_mid + 1`
18817 fi
18818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18819 done
18820 else
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.$ac_ext >&5
18823
18824 cat >conftest.$ac_ext <<_ACEOF
18825 /* confdefs.h. */
18826 _ACEOF
18827 cat confdefs.h >>conftest.$ac_ext
18828 cat >>conftest.$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18831 int
18832 main ()
18833 {
18834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18835 test_array [0] = 0
18836
18837 ;
18838 return 0;
18839 }
18840 _ACEOF
18841 rm -f conftest.$ac_objext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18843 (eval $ac_compile) 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } &&
18850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18853 ac_status=$?
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; } &&
18856 { ac_try='test -s conftest.$ac_objext'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18859 ac_status=$?
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; }; then
18862 ac_hi=-1 ac_mid=-1
18863 while :; do
18864 cat >conftest.$ac_ext <<_ACEOF
18865 /* confdefs.h. */
18866 _ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870 $ac_includes_default
18871 int
18872 main ()
18873 {
18874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18875 test_array [0] = 0
18876
18877 ;
18878 return 0;
18879 }
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18883 (eval $ac_compile) 2>conftest.er1
18884 ac_status=$?
18885 grep -v '^ *+' conftest.er1 >conftest.err
18886 rm -f conftest.er1
18887 cat conftest.err >&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } &&
18890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18893 ac_status=$?
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; } &&
18896 { ac_try='test -s conftest.$ac_objext'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18899 ac_status=$?
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; }; then
18902 ac_lo=$ac_mid; break
18903 else
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.$ac_ext >&5
18906
18907 ac_hi=`expr '(' $ac_mid ')' - 1`
18908 if test $ac_mid -le $ac_hi; then
18909 ac_lo= ac_hi=
18910 break
18911 fi
18912 ac_mid=`expr 2 '*' $ac_mid`
18913 fi
18914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18915 done
18916 else
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18919
18920 ac_lo= ac_hi=
18921 fi
18922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18923 fi
18924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925 # Binary search between lo and hi bounds.
18926 while test "x$ac_lo" != "x$ac_hi"; do
18927 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18928 cat >conftest.$ac_ext <<_ACEOF
18929 /* confdefs.h. */
18930 _ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934 $ac_includes_default
18935 int
18936 main ()
18937 {
18938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18939 test_array [0] = 0
18940
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 ac_hi=$ac_mid
18967 else
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18970
18971 ac_lo=`expr '(' $ac_mid ')' + 1`
18972 fi
18973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18974 done
18975 case $ac_lo in
18976 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18978 See \`config.log' for more details." >&5
18979 echo "$as_me: error: cannot compute sizeof (long long), 77
18980 See \`config.log' for more details." >&2;}
18981 { (exit 1); exit 1; }; } ;;
18982 esac
18983 else
18984 if test "$cross_compiling" = yes; then
18985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18987 { (exit 1); exit 1; }; }
18988 else
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
18996 long longval () { return (long) (sizeof (long long)); }
18997 unsigned long ulongval () { return (long) (sizeof (long long)); }
18998 #include <stdio.h>
18999 #include <stdlib.h>
19000 int
19001 main ()
19002 {
19003
19004 FILE *f = fopen ("conftest.val", "w");
19005 if (! f)
19006 exit (1);
19007 if (((long) (sizeof (long long))) < 0)
19008 {
19009 long i = longval ();
19010 if (i != ((long) (sizeof (long long))))
19011 exit (1);
19012 fprintf (f, "%ld\n", i);
19013 }
19014 else
19015 {
19016 unsigned long i = ulongval ();
19017 if (i != ((long) (sizeof (long long))))
19018 exit (1);
19019 fprintf (f, "%lu\n", i);
19020 }
19021 exit (ferror (f) || fclose (f) != 0);
19022
19023 ;
19024 return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest$ac_exeext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19029 (eval $ac_link) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19035 ac_status=$?
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; }; then
19038 ac_cv_sizeof_long_long=`cat conftest.val`
19039 else
19040 echo "$as_me: program exited with status $ac_status" >&5
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19043
19044 ( exit $ac_status )
19045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19046 See \`config.log' for more details." >&5
19047 echo "$as_me: error: cannot compute sizeof (long long), 77
19048 See \`config.log' for more details." >&2;}
19049 { (exit 1); exit 1; }; }
19050 fi
19051 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19052 fi
19053 fi
19054 rm -f conftest.val
19055 else
19056 ac_cv_sizeof_long_long=0
19057 fi
19058 fi
19059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19061 cat >>confdefs.h <<_ACEOF
19062 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19063 _ACEOF
19064
19065
19066 esac
19067
19068 echo "$as_me:$LINENO: checking for wchar_t" >&5
19069 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19070 if test "${ac_cv_type_wchar_t+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 else
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079
19080 /* DJGPP only has fake wchar_t: */
19081 #ifdef __DJGPP__
19082 # error "fake wchar_t"
19083 #endif
19084 #ifdef HAVE_WCHAR_H
19085 # ifdef __CYGWIN__
19086 # include <stddef.h>
19087 # endif
19088 # include <wchar.h>
19089 #endif
19090 #ifdef HAVE_STDLIB_H
19091 # include <stdlib.h>
19092 #endif
19093 #include <stdio.h>
19094
19095
19096
19097 int
19098 main ()
19099 {
19100 if ((wchar_t *) 0)
19101 return 0;
19102 if (sizeof (wchar_t))
19103 return 0;
19104 ;
19105 return 0;
19106 }
19107 _ACEOF
19108 rm -f conftest.$ac_objext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19110 (eval $ac_compile) 2>conftest.er1
19111 ac_status=$?
19112 grep -v '^ *+' conftest.er1 >conftest.err
19113 rm -f conftest.er1
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } &&
19117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19126 ac_status=$?
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_cv_type_wchar_t=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19133
19134 ac_cv_type_wchar_t=no
19135 fi
19136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19137 fi
19138 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19139 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19140
19141 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19142 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19143 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 else
19146 if test "$ac_cv_type_wchar_t" = yes; then
19147 # The cast to unsigned long works around a bug in the HP C Compiler
19148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19150 # This bug is HP SR number 8606223364.
19151 if test "$cross_compiling" = yes; then
19152 # Depending upon the size, compute the lo and hi bounds.
19153 cat >conftest.$ac_ext <<_ACEOF
19154 /* confdefs.h. */
19155 _ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159
19160 /* DJGPP only has fake wchar_t: */
19161 #ifdef __DJGPP__
19162 # error "fake wchar_t"
19163 #endif
19164 #ifdef HAVE_WCHAR_H
19165 # ifdef __CYGWIN__
19166 # include <stddef.h>
19167 # endif
19168 # include <wchar.h>
19169 #endif
19170 #ifdef HAVE_STDLIB_H
19171 # include <stdlib.h>
19172 #endif
19173 #include <stdio.h>
19174
19175
19176
19177 int
19178 main ()
19179 {
19180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19181 test_array [0] = 0
19182
19183 ;
19184 return 0;
19185 }
19186 _ACEOF
19187 rm -f conftest.$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>conftest.er1
19190 ac_status=$?
19191 grep -v '^ *+' conftest.er1 >conftest.err
19192 rm -f conftest.er1
19193 cat conftest.err >&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try='test -s conftest.$ac_objext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19205 ac_status=$?
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19208 ac_lo=0 ac_mid=0
19209 while :; do
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216
19217 /* DJGPP only has fake wchar_t: */
19218 #ifdef __DJGPP__
19219 # error "fake wchar_t"
19220 #endif
19221 #ifdef HAVE_WCHAR_H
19222 # ifdef __CYGWIN__
19223 # include <stddef.h>
19224 # endif
19225 # include <wchar.h>
19226 #endif
19227 #ifdef HAVE_STDLIB_H
19228 # include <stdlib.h>
19229 #endif
19230 #include <stdio.h>
19231
19232
19233
19234 int
19235 main ()
19236 {
19237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19238 test_array [0] = 0
19239
19240 ;
19241 return 0;
19242 }
19243 _ACEOF
19244 rm -f conftest.$ac_objext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19246 (eval $ac_compile) 2>conftest.er1
19247 ac_status=$?
19248 grep -v '^ *+' conftest.er1 >conftest.err
19249 rm -f conftest.er1
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255 (eval $ac_try) 2>&5
19256 ac_status=$?
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; } &&
19259 { ac_try='test -s conftest.$ac_objext'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; }; then
19265 ac_hi=$ac_mid; break
19266 else
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 ac_lo=`expr $ac_mid + 1`
19271 if test $ac_lo -le $ac_mid; then
19272 ac_lo= ac_hi=
19273 break
19274 fi
19275 ac_mid=`expr 2 '*' $ac_mid + 1`
19276 fi
19277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19278 done
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19282
19283 cat >conftest.$ac_ext <<_ACEOF
19284 /* confdefs.h. */
19285 _ACEOF
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19289
19290 /* DJGPP only has fake wchar_t: */
19291 #ifdef __DJGPP__
19292 # error "fake wchar_t"
19293 #endif
19294 #ifdef HAVE_WCHAR_H
19295 # ifdef __CYGWIN__
19296 # include <stddef.h>
19297 # endif
19298 # include <wchar.h>
19299 #endif
19300 #ifdef HAVE_STDLIB_H
19301 # include <stdlib.h>
19302 #endif
19303 #include <stdio.h>
19304
19305
19306
19307 int
19308 main ()
19309 {
19310 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19311 test_array [0] = 0
19312
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 ac_hi=-1 ac_mid=-1
19339 while :; do
19340 cat >conftest.$ac_ext <<_ACEOF
19341 /* confdefs.h. */
19342 _ACEOF
19343 cat confdefs.h >>conftest.$ac_ext
19344 cat >>conftest.$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346
19347 /* DJGPP only has fake wchar_t: */
19348 #ifdef __DJGPP__
19349 # error "fake wchar_t"
19350 #endif
19351 #ifdef HAVE_WCHAR_H
19352 # ifdef __CYGWIN__
19353 # include <stddef.h>
19354 # endif
19355 # include <wchar.h>
19356 #endif
19357 #ifdef HAVE_STDLIB_H
19358 # include <stdlib.h>
19359 #endif
19360 #include <stdio.h>
19361
19362
19363
19364 int
19365 main ()
19366 {
19367 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19368 test_array [0] = 0
19369
19370 ;
19371 return 0;
19372 }
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19376 (eval $ac_compile) 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } &&
19383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try='test -s conftest.$ac_objext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395 ac_lo=$ac_mid; break
19396 else
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19399
19400 ac_hi=`expr '(' $ac_mid ')' - 1`
19401 if test $ac_mid -le $ac_hi; then
19402 ac_lo= ac_hi=
19403 break
19404 fi
19405 ac_mid=`expr 2 '*' $ac_mid`
19406 fi
19407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19408 done
19409 else
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19412
19413 ac_lo= ac_hi=
19414 fi
19415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19416 fi
19417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19418 # Binary search between lo and hi bounds.
19419 while test "x$ac_lo" != "x$ac_hi"; do
19420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19421 cat >conftest.$ac_ext <<_ACEOF
19422 /* confdefs.h. */
19423 _ACEOF
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427
19428 /* DJGPP only has fake wchar_t: */
19429 #ifdef __DJGPP__
19430 # error "fake wchar_t"
19431 #endif
19432 #ifdef HAVE_WCHAR_H
19433 # ifdef __CYGWIN__
19434 # include <stddef.h>
19435 # endif
19436 # include <wchar.h>
19437 #endif
19438 #ifdef HAVE_STDLIB_H
19439 # include <stdlib.h>
19440 #endif
19441 #include <stdio.h>
19442
19443
19444
19445 int
19446 main ()
19447 {
19448 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19449 test_array [0] = 0
19450
19451 ;
19452 return 0;
19453 }
19454 _ACEOF
19455 rm -f conftest.$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>conftest.er1
19458 ac_status=$?
19459 grep -v '^ *+' conftest.er1 >conftest.err
19460 rm -f conftest.er1
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19467 ac_status=$?
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 ac_hi=$ac_mid
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19480
19481 ac_lo=`expr '(' $ac_mid ')' + 1`
19482 fi
19483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19484 done
19485 case $ac_lo in
19486 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19487 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19488 See \`config.log' for more details." >&5
19489 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19490 See \`config.log' for more details." >&2;}
19491 { (exit 1); exit 1; }; } ;;
19492 esac
19493 else
19494 if test "$cross_compiling" = yes; then
19495 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19496 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19497 { (exit 1); exit 1; }; }
19498 else
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505
19506 /* DJGPP only has fake wchar_t: */
19507 #ifdef __DJGPP__
19508 # error "fake wchar_t"
19509 #endif
19510 #ifdef HAVE_WCHAR_H
19511 # ifdef __CYGWIN__
19512 # include <stddef.h>
19513 # endif
19514 # include <wchar.h>
19515 #endif
19516 #ifdef HAVE_STDLIB_H
19517 # include <stdlib.h>
19518 #endif
19519 #include <stdio.h>
19520
19521
19522
19523 long longval () { return (long) (sizeof (wchar_t)); }
19524 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19525 #include <stdio.h>
19526 #include <stdlib.h>
19527 int
19528 main ()
19529 {
19530
19531 FILE *f = fopen ("conftest.val", "w");
19532 if (! f)
19533 exit (1);
19534 if (((long) (sizeof (wchar_t))) < 0)
19535 {
19536 long i = longval ();
19537 if (i != ((long) (sizeof (wchar_t))))
19538 exit (1);
19539 fprintf (f, "%ld\n", i);
19540 }
19541 else
19542 {
19543 unsigned long i = ulongval ();
19544 if (i != ((long) (sizeof (wchar_t))))
19545 exit (1);
19546 fprintf (f, "%lu\n", i);
19547 }
19548 exit (ferror (f) || fclose (f) != 0);
19549
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 rm -f conftest$ac_exeext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19556 (eval $ac_link) 2>&5
19557 ac_status=$?
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_cv_sizeof_wchar_t=`cat conftest.val`
19566 else
19567 echo "$as_me: program exited with status $ac_status" >&5
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.$ac_ext >&5
19570
19571 ( exit $ac_status )
19572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19573 See \`config.log' for more details." >&5
19574 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19575 See \`config.log' for more details." >&2;}
19576 { (exit 1); exit 1; }; }
19577 fi
19578 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19579 fi
19580 fi
19581 rm -f conftest.val
19582 else
19583 ac_cv_sizeof_wchar_t=0
19584 fi
19585 fi
19586 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19587 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19588 cat >>confdefs.h <<_ACEOF
19589 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19590 _ACEOF
19591
19592
19593
19594 echo "$as_me:$LINENO: checking for va_copy" >&5
19595 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19596 if test "${wx_cv_func_va_copy+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 else
19599
19600 cat >conftest.$ac_ext <<_ACEOF
19601
19602 #include <stdarg.h>
19603 void foo(char *f, ...)
19604 {
19605 va_list ap1, ap2;
19606 va_start(ap1, f);
19607 va_copy(ap2, ap1);
19608 va_end(ap2);
19609 va_end(ap1);
19610 }
19611 int main()
19612 {
19613 foo("hi", 17);
19614 return 0;
19615 }
19616 _ACEOF
19617 rm -f conftest.$ac_objext conftest$ac_exeext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19619 (eval $ac_link) 2>conftest.er1
19620 ac_status=$?
19621 grep -v '^ *+' conftest.er1 >conftest.err
19622 rm -f conftest.er1
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19629 ac_status=$?
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; } &&
19632 { ac_try='test -s conftest$ac_exeext'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19635 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; }; then
19638 wx_cv_func_va_copy=yes
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 wx_cv_func_va_copy=no
19644
19645 fi
19646 rm -f conftest.err conftest.$ac_objext \
19647 conftest$ac_exeext conftest.$ac_ext
19648
19649
19650 fi
19651 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19652 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19653
19654 if test $wx_cv_func_va_copy = "yes"; then
19655 cat >>confdefs.h <<\_ACEOF
19656 #define HAVE_VA_COPY 1
19657 _ACEOF
19658
19659 else
19660 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19661 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19662 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 else
19665
19666 if test "$cross_compiling" = yes; then
19667 wx_cv_type_va_list_lvalue=yes
19668
19669 else
19670 cat >conftest.$ac_ext <<_ACEOF
19671
19672 #include <stdarg.h>
19673 int foo(char *f, ...)
19674 {
19675 va_list ap1, ap2;
19676 va_start(ap1, f);
19677 ap2 = ap1;
19678 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19679 return 1;
19680 va_end(ap2);
19681 va_end(ap1);
19682 return 0;
19683 }
19684 int main()
19685 {
19686 return foo("hi", 17);
19687 }
19688 _ACEOF
19689 rm -f conftest$ac_exeext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19691 (eval $ac_link) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 wx_cv_type_va_list_lvalue=yes
19701 else
19702 echo "$as_me: program exited with status $ac_status" >&5
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.$ac_ext >&5
19705
19706 ( exit $ac_status )
19707 wx_cv_type_va_list_lvalue=no
19708 fi
19709 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19710 fi
19711
19712
19713 fi
19714 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19715 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19716
19717 if test $wx_cv_type_va_list_lvalue != "yes"; then
19718 cat >>confdefs.h <<\_ACEOF
19719 #define VA_LIST_IS_ARRAY 1
19720 _ACEOF
19721
19722 fi
19723 fi
19724
19725 # Check whether --enable-largefile or --disable-largefile was given.
19726 if test "${enable_largefile+set}" = set; then
19727 enableval="$enable_largefile"
19728
19729 fi;
19730 if test "$enable_largefile" != no; then
19731 wx_largefile=no
19732
19733 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19734 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19735 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 else
19738
19739 cat >conftest.$ac_ext <<_ACEOF
19740 /* confdefs.h. */
19741 _ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 #define _FILE_OFFSET_BITS 64
19746 #include <sys/types.h>
19747 int
19748 main ()
19749 {
19750 typedef struct {
19751 unsigned int field: sizeof(off_t) == 8;
19752 } wxlf;
19753
19754 ;
19755 return 0;
19756 }
19757 _ACEOF
19758 rm -f conftest.$ac_objext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19760 (eval $ac_compile) 2>conftest.er1
19761 ac_status=$?
19762 grep -v '^ *+' conftest.er1 >conftest.err
19763 rm -f conftest.er1
19764 cat conftest.err >&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19779 ac_cv_sys_file_offset_bits=64
19780 else
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.$ac_ext >&5
19783
19784 ac_cv_sys_file_offset_bits=no
19785 fi
19786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19787
19788
19789 fi
19790 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19791 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19792
19793 if test "$ac_cv_sys_file_offset_bits" != no; then
19794 wx_largefile=yes
19795 cat >>confdefs.h <<_ACEOF
19796 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19797 _ACEOF
19798
19799 fi
19800
19801 if test "x$wx_largefile" != "xyes"; then
19802
19803 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19804 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19805 if test "${ac_cv_sys_large_files+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808
19809 cat >conftest.$ac_ext <<_ACEOF
19810 /* confdefs.h. */
19811 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 #define _LARGE_FILES 1
19816 #include <sys/types.h>
19817 int
19818 main ()
19819 {
19820 typedef struct {
19821 unsigned int field: sizeof(off_t) == 8;
19822 } wxlf;
19823
19824 ;
19825 return 0;
19826 }
19827 _ACEOF
19828 rm -f conftest.$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830 (eval $ac_compile) 2>conftest.er1
19831 ac_status=$?
19832 grep -v '^ *+' conftest.er1 >conftest.err
19833 rm -f conftest.er1
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } &&
19837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19840 ac_status=$?
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; } &&
19843 { ac_try='test -s conftest.$ac_objext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19846 ac_status=$?
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 ac_cv_sys_large_files=1
19850 else
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19853
19854 ac_cv_sys_large_files=no
19855 fi
19856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19857
19858
19859 fi
19860 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19861 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19862
19863 if test "$ac_cv_sys_large_files" != no; then
19864 wx_largefile=yes
19865 cat >>confdefs.h <<_ACEOF
19866 #define _LARGE_FILES $ac_cv_sys_large_files
19867 _ACEOF
19868
19869 fi
19870
19871 fi
19872
19873 echo "$as_me:$LINENO: checking if large file support is available" >&5
19874 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19875 if test "x$wx_largefile" = "xyes"; then
19876 cat >>confdefs.h <<\_ACEOF
19877 #define HAVE_LARGEFILE_SUPPORT 1
19878 _ACEOF
19879
19880 fi
19881 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19882 echo "${ECHO_T}$wx_largefile" >&6
19883 fi
19884
19885
19886 if test "x$wx_largefile" = "xyes"; then
19887 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19888 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19889 else
19890 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
19891 fi
19892 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19893 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19894 if test "${ac_cv_sys_largefile_source+set}" = set; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897 while :; do
19898 ac_cv_sys_largefile_source=no
19899 cat >conftest.$ac_ext <<_ACEOF
19900 /* confdefs.h. */
19901 _ACEOF
19902 cat confdefs.h >>conftest.$ac_ext
19903 cat >>conftest.$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905 #include <stdio.h>
19906 int
19907 main ()
19908 {
19909 return !fseeko;
19910 ;
19911 return 0;
19912 }
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19926 ac_status=$?
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; } &&
19929 { ac_try='test -s conftest.$ac_objext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19932 ac_status=$?
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19935 break
19936 else
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19939
19940 fi
19941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 #define _LARGEFILE_SOURCE 1
19949 #include <stdio.h>
19950 int
19951 main ()
19952 {
19953 return !fseeko;
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 rm -f conftest.$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_sys_largefile_source=1; break
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 fi
19985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19986 break
19987 done
19988 fi
19989 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19990 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19991 if test "$ac_cv_sys_largefile_source" != no; then
19992
19993 cat >>confdefs.h <<_ACEOF
19994 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19995 _ACEOF
19996
19997 fi
19998 rm -f conftest*
19999
20000 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20001 # in glibc 2.1.3, but that breaks too many other things.
20002 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20003 echo "$as_me:$LINENO: checking for fseeko" >&5
20004 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20005 if test "${ac_cv_func_fseeko+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 else
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 #include <stdio.h>
20015 int
20016 main ()
20017 {
20018 return fseeko && fseeko (stdin, 0, 0);
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 rm -f conftest.$ac_objext conftest$ac_exeext
20024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20025 (eval $ac_link) 2>conftest.er1
20026 ac_status=$?
20027 grep -v '^ *+' conftest.er1 >conftest.err
20028 rm -f conftest.er1
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } &&
20032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20035 ac_status=$?
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; } &&
20038 { ac_try='test -s conftest$ac_exeext'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20044 ac_cv_func_fseeko=yes
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20048
20049 ac_cv_func_fseeko=no
20050 fi
20051 rm -f conftest.err conftest.$ac_objext \
20052 conftest$ac_exeext conftest.$ac_ext
20053 fi
20054 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20055 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20056 if test $ac_cv_func_fseeko = yes; then
20057
20058 cat >>confdefs.h <<\_ACEOF
20059 #define HAVE_FSEEKO 1
20060 _ACEOF
20061
20062 fi
20063
20064 if test "$ac_cv_sys_largefile_source" != no; then
20065 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20066 fi
20067 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20068 fi
20069
20070 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20071 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20072 if test "${ac_cv_c_bigendian+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 ac_cv_c_bigendian=unknown
20076 # See if sys/param.h defines the BYTE_ORDER macro.
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #include <sys/types.h>
20084 #include <sys/param.h>
20085 int
20086 main ()
20087 {
20088
20089 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20090 bogus endian macros
20091 #endif
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098 (eval $ac_compile) 2>conftest.er1
20099 ac_status=$?
20100 grep -v '^ *+' conftest.er1 >conftest.err
20101 rm -f conftest.er1
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20108 ac_status=$?
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; } &&
20111 { ac_try='test -s conftest.$ac_objext'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20114 ac_status=$?
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; }; then
20117 # It does; now see whether it defined to BIG_ENDIAN or not.
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 #include <sys/types.h>
20125 #include <sys/param.h>
20126 int
20127 main ()
20128 {
20129
20130 #if BYTE_ORDER != BIG_ENDIAN
20131 not big endian
20132 #endif
20133 ;
20134 return 0;
20135 }
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20139 (eval $ac_compile) 2>conftest.er1
20140 ac_status=$?
20141 grep -v '^ *+' conftest.er1 >conftest.err
20142 rm -f conftest.er1
20143 cat conftest.err >&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } &&
20146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20149 ac_status=$?
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; } &&
20152 { ac_try='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20158 ac_cv_c_bigendian=yes
20159 else
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20162
20163 ac_cv_c_bigendian=no
20164 fi
20165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 fi
20171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20172 if test $ac_cv_c_bigendian = unknown; then
20173 if test "$cross_compiling" = yes; then
20174 ac_cv_c_bigendian=unknown
20175 else
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 main () {
20183 /* Are we little or big endian? From Harbison&Steele. */
20184 union
20185 {
20186 long l;
20187 char c[sizeof (long)];
20188 } u;
20189 u.l = 1;
20190 exit (u.c[sizeof (long) - 1] == 1);
20191 }
20192 _ACEOF
20193 rm -f conftest$ac_exeext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20195 (eval $ac_link) 2>&5
20196 ac_status=$?
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_c_bigendian=no
20205 else
20206 echo "$as_me: program exited with status $ac_status" >&5
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.$ac_ext >&5
20209
20210 ( exit $ac_status )
20211 ac_cv_c_bigendian=yes
20212 fi
20213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20214 fi
20215 fi
20216 fi
20217 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20218 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20219 if test $ac_cv_c_bigendian = unknown; then
20220 { 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
20221 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;}
20222 fi
20223 if test $ac_cv_c_bigendian = yes; then
20224 cat >>confdefs.h <<\_ACEOF
20225 #define WORDS_BIGENDIAN 1
20226 _ACEOF
20227
20228 fi
20229
20230
20231 ac_ext=cc
20232 ac_cpp='$CXXCPP $CPPFLAGS'
20233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20236 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20237 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20238 if test -z "$CXXCPP"; then
20239 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20242 # Double quotes because CXXCPP needs to be expanded
20243 for CXXCPP in "$CXX -E" "/lib/cpp"
20244 do
20245 ac_preproc_ok=false
20246 for ac_cxx_preproc_warn_flag in '' yes
20247 do
20248 # Use a header file that comes with gcc, so configuring glibc
20249 # with a fresh cross-compiler works.
20250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20251 # <limits.h> exists even on freestanding compilers.
20252 # On the NeXT, cc -E runs the code through the compiler's parser,
20253 # not just through cpp. "Syntax error" is here to catch this case.
20254 cat >conftest.$ac_ext <<_ACEOF
20255 /* confdefs.h. */
20256 _ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 #ifdef __STDC__
20261 # include <limits.h>
20262 #else
20263 # include <assert.h>
20264 #endif
20265 Syntax error
20266 _ACEOF
20267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } >/dev/null; then
20275 if test -s conftest.err; then
20276 ac_cpp_err=$ac_cxx_preproc_warn_flag
20277 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20278 else
20279 ac_cpp_err=
20280 fi
20281 else
20282 ac_cpp_err=yes
20283 fi
20284 if test -z "$ac_cpp_err"; then
20285 :
20286 else
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.$ac_ext >&5
20289
20290 # Broken: fails on valid input.
20291 continue
20292 fi
20293 rm -f conftest.err conftest.$ac_ext
20294
20295 # OK, works on sane cases. Now check whether non-existent headers
20296 # can be detected and how.
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 #include <ac_nonexistent.h>
20304 _ACEOF
20305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20307 ac_status=$?
20308 grep -v '^ *+' conftest.er1 >conftest.err
20309 rm -f conftest.er1
20310 cat conftest.err >&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } >/dev/null; then
20313 if test -s conftest.err; then
20314 ac_cpp_err=$ac_cxx_preproc_warn_flag
20315 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20316 else
20317 ac_cpp_err=
20318 fi
20319 else
20320 ac_cpp_err=yes
20321 fi
20322 if test -z "$ac_cpp_err"; then
20323 # Broken: success on invalid input.
20324 continue
20325 else
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20328
20329 # Passes both tests.
20330 ac_preproc_ok=:
20331 break
20332 fi
20333 rm -f conftest.err conftest.$ac_ext
20334
20335 done
20336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20337 rm -f conftest.err conftest.$ac_ext
20338 if $ac_preproc_ok; then
20339 break
20340 fi
20341
20342 done
20343 ac_cv_prog_CXXCPP=$CXXCPP
20344
20345 fi
20346 CXXCPP=$ac_cv_prog_CXXCPP
20347 else
20348 ac_cv_prog_CXXCPP=$CXXCPP
20349 fi
20350 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20351 echo "${ECHO_T}$CXXCPP" >&6
20352 ac_preproc_ok=false
20353 for ac_cxx_preproc_warn_flag in '' yes
20354 do
20355 # Use a header file that comes with gcc, so configuring glibc
20356 # with a fresh cross-compiler works.
20357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20358 # <limits.h> exists even on freestanding compilers.
20359 # On the NeXT, cc -E runs the code through the compiler's parser,
20360 # not just through cpp. "Syntax error" is here to catch this case.
20361 cat >conftest.$ac_ext <<_ACEOF
20362 /* confdefs.h. */
20363 _ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 #ifdef __STDC__
20368 # include <limits.h>
20369 #else
20370 # include <assert.h>
20371 #endif
20372 Syntax error
20373 _ACEOF
20374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } >/dev/null; then
20382 if test -s conftest.err; then
20383 ac_cpp_err=$ac_cxx_preproc_warn_flag
20384 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20385 else
20386 ac_cpp_err=
20387 fi
20388 else
20389 ac_cpp_err=yes
20390 fi
20391 if test -z "$ac_cpp_err"; then
20392 :
20393 else
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20396
20397 # Broken: fails on valid input.
20398 continue
20399 fi
20400 rm -f conftest.err conftest.$ac_ext
20401
20402 # OK, works on sane cases. Now check whether non-existent headers
20403 # can be detected and how.
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h. */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 #include <ac_nonexistent.h>
20411 _ACEOF
20412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20414 ac_status=$?
20415 grep -v '^ *+' conftest.er1 >conftest.err
20416 rm -f conftest.er1
20417 cat conftest.err >&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } >/dev/null; then
20420 if test -s conftest.err; then
20421 ac_cpp_err=$ac_cxx_preproc_warn_flag
20422 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20423 else
20424 ac_cpp_err=
20425 fi
20426 else
20427 ac_cpp_err=yes
20428 fi
20429 if test -z "$ac_cpp_err"; then
20430 # Broken: success on invalid input.
20431 continue
20432 else
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20435
20436 # Passes both tests.
20437 ac_preproc_ok=:
20438 break
20439 fi
20440 rm -f conftest.err conftest.$ac_ext
20441
20442 done
20443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20444 rm -f conftest.err conftest.$ac_ext
20445 if $ac_preproc_ok; then
20446 :
20447 else
20448 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20449 See \`config.log' for more details." >&5
20450 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20451 See \`config.log' for more details." >&2;}
20452 { (exit 1); exit 1; }; }
20453 fi
20454
20455 ac_ext=cc
20456 ac_cpp='$CXXCPP $CPPFLAGS'
20457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20460
20461
20462
20463
20464
20465 ac_ext=cc
20466 ac_cpp='$CXXCPP $CPPFLAGS'
20467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20470
20471
20472
20473 for ac_header in iostream
20474 do
20475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20477 echo "$as_me:$LINENO: checking for $ac_header" >&5
20478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 fi
20482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20484 else
20485 # Is the header compilable?
20486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20488 cat >conftest.$ac_ext <<_ACEOF
20489 /* confdefs.h. */
20490 _ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20495 #include <$ac_header>
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499 (eval $ac_compile) 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; } &&
20512 { ac_try='test -s conftest.$ac_objext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20515 ac_status=$?
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 ac_header_compiler=yes
20519 else
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.$ac_ext >&5
20522
20523 ac_header_compiler=no
20524 fi
20525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20527 echo "${ECHO_T}$ac_header_compiler" >&6
20528
20529 # Is the header present?
20530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <$ac_header>
20539 _ACEOF
20540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20542 ac_status=$?
20543 grep -v '^ *+' conftest.er1 >conftest.err
20544 rm -f conftest.er1
20545 cat conftest.err >&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } >/dev/null; then
20548 if test -s conftest.err; then
20549 ac_cpp_err=$ac_cxx_preproc_warn_flag
20550 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20551 else
20552 ac_cpp_err=
20553 fi
20554 else
20555 ac_cpp_err=yes
20556 fi
20557 if test -z "$ac_cpp_err"; then
20558 ac_header_preproc=yes
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 ac_header_preproc=no
20564 fi
20565 rm -f conftest.err conftest.$ac_ext
20566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20567 echo "${ECHO_T}$ac_header_preproc" >&6
20568
20569 # So? What about this header?
20570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20571 yes:no: )
20572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20576 ac_header_preproc=yes
20577 ;;
20578 no:yes:* )
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20591 (
20592 cat <<\_ASBOX
20593 ## ----------------------------------------- ##
20594 ## Report this to wx-dev@lists.wxwidgets.org ##
20595 ## ----------------------------------------- ##
20596 _ASBOX
20597 ) |
20598 sed "s/^/$as_me: WARNING: /" >&2
20599 ;;
20600 esac
20601 echo "$as_me:$LINENO: checking for $ac_header" >&5
20602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20606 eval "$as_ac_Header=\$ac_header_preproc"
20607 fi
20608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20610
20611 fi
20612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20613 cat >>confdefs.h <<_ACEOF
20614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20615 _ACEOF
20616
20617 fi
20618
20619 done
20620
20621
20622 if test "$ac_cv_header_iostream" = "yes" ; then
20623 :
20624 else
20625 cat >>confdefs.h <<\_ACEOF
20626 #define wxUSE_IOSTREAMH 1
20627 _ACEOF
20628
20629 fi
20630
20631 ac_ext=c
20632 ac_cpp='$CPP $CPPFLAGS'
20633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20636
20637
20638
20639
20640 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20641 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20642 if test "${wx_cv_cpp_bool+set}" = set; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 else
20645
20646
20647
20648 ac_ext=cc
20649 ac_cpp='$CXXCPP $CPPFLAGS'
20650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20653
20654
20655 cat >conftest.$ac_ext <<_ACEOF
20656 /* confdefs.h. */
20657 _ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661
20662
20663 int
20664 main ()
20665 {
20666
20667 bool b = true;
20668
20669 return 0;
20670
20671 ;
20672 return 0;
20673 }
20674 _ACEOF
20675 rm -f conftest.$ac_objext
20676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>conftest.er1
20678 ac_status=$?
20679 grep -v '^ *+' conftest.er1 >conftest.err
20680 rm -f conftest.er1
20681 cat conftest.err >&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20687 ac_status=$?
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; } &&
20690 { ac_try='test -s conftest.$ac_objext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20693 ac_status=$?
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696
20697 wx_cv_cpp_bool=yes
20698
20699 else
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.$ac_ext >&5
20702
20703
20704 wx_cv_cpp_bool=no
20705
20706
20707 fi
20708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20709
20710 ac_ext=c
20711 ac_cpp='$CPP $CPPFLAGS'
20712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20715
20716
20717 fi
20718 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20719 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20720
20721 if test "$wx_cv_cpp_bool" = "yes"; then
20722 cat >>confdefs.h <<\_ACEOF
20723 #define HAVE_BOOL 1
20724 _ACEOF
20725
20726 fi
20727
20728
20729
20730 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20731 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20732 if test "${wx_cv_explicit+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 else
20735
20736
20737
20738 ac_ext=cc
20739 ac_cpp='$CXXCPP $CPPFLAGS'
20740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20743
20744
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751
20752 class Foo { public: explicit Foo(int) {} };
20753
20754 int
20755 main ()
20756 {
20757
20758 return 0;
20759
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20766 (eval $ac_compile) 2>conftest.er1
20767 ac_status=$?
20768 grep -v '^ *+' conftest.er1 >conftest.err
20769 rm -f conftest.er1
20770 cat conftest.err >&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } &&
20773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20776 ac_status=$?
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; } &&
20779 { ac_try='test -s conftest.$ac_objext'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20782 ac_status=$?
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; }; then
20785
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792
20793 class Foo { public: explicit Foo(int) {} };
20794 static void TakeFoo(const Foo& foo) { }
20795
20796 int
20797 main ()
20798 {
20799
20800 TakeFoo(17);
20801 return 0;
20802
20803 ;
20804 return 0;
20805 }
20806 _ACEOF
20807 rm -f conftest.$ac_objext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20809 (eval $ac_compile) 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20819 ac_status=$?
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; } &&
20822 { ac_try='test -s conftest.$ac_objext'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20825 ac_status=$?
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; }; then
20828 wx_cv_explicit=no
20829 else
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.$ac_ext >&5
20832
20833 wx_cv_explicit=yes
20834
20835 fi
20836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20837
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20841
20842 wx_cv_explicit=no
20843
20844 fi
20845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20846
20847 ac_ext=c
20848 ac_cpp='$CPP $CPPFLAGS'
20849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20852
20853
20854 fi
20855 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20856 echo "${ECHO_T}$wx_cv_explicit" >&6
20857
20858 if test "$wx_cv_explicit" = "yes"; then
20859 cat >>confdefs.h <<\_ACEOF
20860 #define HAVE_EXPLICIT 1
20861 _ACEOF
20862
20863 fi
20864
20865
20866 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20867 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20868 if test "${ac_cv_cxx_const_cast+set}" = set; then
20869 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 else
20871
20872
20873 ac_ext=cc
20874 ac_cpp='$CXXCPP $CPPFLAGS'
20875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20878
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h. */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885
20886 int
20887 main ()
20888 {
20889 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20890 ;
20891 return 0;
20892 }
20893 _ACEOF
20894 rm -f conftest.$ac_objext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20896 (eval $ac_compile) 2>conftest.er1
20897 ac_status=$?
20898 grep -v '^ *+' conftest.er1 >conftest.err
20899 rm -f conftest.er1
20900 cat conftest.err >&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20906 ac_status=$?
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; } &&
20909 { ac_try='test -s conftest.$ac_objext'
20910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20911 (eval $ac_try) 2>&5
20912 ac_status=$?
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); }; }; then
20915 ac_cv_cxx_const_cast=yes
20916 else
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.$ac_ext >&5
20919
20920 ac_cv_cxx_const_cast=no
20921 fi
20922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20923 ac_ext=c
20924 ac_cpp='$CPP $CPPFLAGS'
20925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20928
20929
20930 fi
20931 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20932 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20933 if test "$ac_cv_cxx_const_cast" = yes; then
20934
20935 cat >>confdefs.h <<\_ACEOF
20936 #define HAVE_CONST_CAST
20937 _ACEOF
20938
20939 fi
20940
20941 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20942 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20943 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20944 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 else
20946
20947
20948 ac_ext=cc
20949 ac_cpp='$CXXCPP $CPPFLAGS'
20950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20953
20954 cat >conftest.$ac_ext <<_ACEOF
20955 /* confdefs.h. */
20956 _ACEOF
20957 cat confdefs.h >>conftest.$ac_ext
20958 cat >>conftest.$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 #include <typeinfo>
20961 class Base { public : Base () {} virtual void f () = 0;};
20962 class Derived : public Base { public : Derived () {} virtual void f () {} };
20963 class Unrelated { public : Unrelated () {} };
20964 int g (Unrelated&) { return 0; }
20965 int
20966 main ()
20967 {
20968
20969 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20970 ;
20971 return 0;
20972 }
20973 _ACEOF
20974 rm -f conftest.$ac_objext
20975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20976 (eval $ac_compile) 2>conftest.er1
20977 ac_status=$?
20978 grep -v '^ *+' conftest.er1 >conftest.err
20979 rm -f conftest.er1
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20986 ac_status=$?
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; } &&
20989 { ac_try='test -s conftest.$ac_objext'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20992 ac_status=$?
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; }; then
20995 ac_cv_cxx_reinterpret_cast=yes
20996 else
20997 echo "$as_me: failed program was:" >&5
20998 sed 's/^/| /' conftest.$ac_ext >&5
20999
21000 ac_cv_cxx_reinterpret_cast=no
21001 fi
21002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21003 ac_ext=c
21004 ac_cpp='$CPP $CPPFLAGS'
21005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21008
21009
21010 fi
21011 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21012 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21013 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21014
21015 cat >>confdefs.h <<\_ACEOF
21016 #define HAVE_REINTERPRET_CAST
21017 _ACEOF
21018
21019 fi
21020
21021 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21022 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21023 if test "${ac_cv_cxx_static_cast+set}" = set; then
21024 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 else
21026
21027
21028 ac_ext=cc
21029 ac_cpp='$CXXCPP $CPPFLAGS'
21030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21033
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #include <typeinfo>
21041 class Base { public : Base () {} virtual void f () = 0; };
21042 class Derived : public Base { public : Derived () {} virtual void f () {} };
21043 int g (Derived&) { return 0; }
21044 int
21045 main ()
21046 {
21047
21048 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21049 ;
21050 return 0;
21051 }
21052 _ACEOF
21053 rm -f conftest.$ac_objext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21055 (eval $ac_compile) 2>conftest.er1
21056 ac_status=$?
21057 grep -v '^ *+' conftest.er1 >conftest.err
21058 rm -f conftest.er1
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } &&
21062 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21065 ac_status=$?
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; } &&
21068 { ac_try='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21071 ac_status=$?
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074 ac_cv_cxx_static_cast=yes
21075 else
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.$ac_ext >&5
21078
21079 ac_cv_cxx_static_cast=no
21080 fi
21081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21082 ac_ext=c
21083 ac_cpp='$CPP $CPPFLAGS'
21084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21087
21088
21089 fi
21090 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21091 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21092 if test "$ac_cv_cxx_static_cast" = yes; then
21093
21094 cat >>confdefs.h <<\_ACEOF
21095 #define HAVE_STATIC_CAST
21096 _ACEOF
21097
21098 fi
21099
21100
21101 if test "$wxUSE_STL" = "yes"; then
21102 ac_ext=cc
21103 ac_cpp='$CXXCPP $CPPFLAGS'
21104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21107
21108
21109 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21110 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 #include <string>
21118 #include <functional>
21119 #include <algorithm>
21120 #include <vector>
21121 #include <list>
21122 int
21123 main ()
21124 {
21125 std::vector<int> moo;
21126 std::list<int> foo;
21127 std::vector<int>::iterator it =
21128 std::find_if(moo.begin(), moo.end(),
21129 std::bind2nd(std::less<int>(), 3));
21130 ;
21131 return 0;
21132 }
21133 _ACEOF
21134 rm -f conftest.$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 echo "$as_me:$LINENO: result: yes" >&5
21156 echo "${ECHO_T}yes" >&6
21157 else
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 echo "$as_me:$LINENO: result: no" >&5
21162 echo "${ECHO_T}no" >&6
21163 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21164 echo "$as_me: error: Basic STL functionality missing" >&2;}
21165 { (exit 1); exit 1; }; }
21166 fi
21167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21168
21169 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21170 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21171 cat >conftest.$ac_ext <<_ACEOF
21172 /* confdefs.h. */
21173 _ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 #include <string>
21178 int
21179 main ()
21180 {
21181 std::wstring foo;
21182 ;
21183 return 0;
21184 }
21185 _ACEOF
21186 rm -f conftest.$ac_objext
21187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21188 (eval $ac_compile) 2>conftest.er1
21189 ac_status=$?
21190 grep -v '^ *+' conftest.er1 >conftest.err
21191 rm -f conftest.er1
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } &&
21195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21198 ac_status=$?
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try='test -s conftest.$ac_objext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21204 ac_status=$?
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 echo "$as_me:$LINENO: result: yes" >&5
21208 echo "${ECHO_T}yes" >&6
21209 cat >>confdefs.h <<\_ACEOF
21210 #define HAVE_STD_WSTRING 1
21211 _ACEOF
21212
21213 else
21214 echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.$ac_ext >&5
21216
21217 echo "$as_me:$LINENO: result: no" >&5
21218 echo "${ECHO_T}no" >&6
21219 fi
21220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21221
21222 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21223 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21224 cat >conftest.$ac_ext <<_ACEOF
21225 /* confdefs.h. */
21226 _ACEOF
21227 cat confdefs.h >>conftest.$ac_ext
21228 cat >>conftest.$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 #include <string>
21231 int
21232 main ()
21233 {
21234 std::string foo, bar;
21235 foo.compare(bar);
21236 foo.compare(1, 1, bar);
21237 foo.compare(1, 1, bar, 1, 1);
21238 foo.compare("");
21239 foo.compare(1, 1, "");
21240 foo.compare(1, 1, "", 2);
21241 ;
21242 return 0;
21243 }
21244 _ACEOF
21245 rm -f conftest.$ac_objext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21247 (eval $ac_compile) 2>conftest.er1
21248 ac_status=$?
21249 grep -v '^ *+' conftest.er1 >conftest.err
21250 rm -f conftest.er1
21251 cat conftest.err >&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } &&
21254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21256 (eval $ac_try) 2>&5
21257 ac_status=$?
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; } &&
21260 { ac_try='test -s conftest.$ac_objext'
21261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262 (eval $ac_try) 2>&5
21263 ac_status=$?
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); }; }; then
21266 echo "$as_me:$LINENO: result: yes" >&5
21267 echo "${ECHO_T}yes" >&6
21268 cat >>confdefs.h <<\_ACEOF
21269 #define HAVE_STD_STRING_COMPARE 1
21270 _ACEOF
21271
21272 else
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.$ac_ext >&5
21275
21276 echo "$as_me:$LINENO: result: no" >&5
21277 echo "${ECHO_T}no" >&6
21278 fi
21279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21280
21281 if test "${ac_cv_header_hash_map+set}" = set; then
21282 echo "$as_me:$LINENO: checking for hash_map" >&5
21283 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21284 if test "${ac_cv_header_hash_map+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21286 fi
21287 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21288 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21289 else
21290 # Is the header compilable?
21291 echo "$as_me:$LINENO: checking hash_map usability" >&5
21292 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 #include <hash_map>
21301 _ACEOF
21302 rm -f conftest.$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21305 ac_status=$?
21306 grep -v '^ *+' conftest.er1 >conftest.err
21307 rm -f conftest.er1
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21314 ac_status=$?
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21320 ac_status=$?
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_header_compiler=yes
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_header_compiler=no
21329 fi
21330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21332 echo "${ECHO_T}$ac_header_compiler" >&6
21333
21334 # Is the header present?
21335 echo "$as_me:$LINENO: checking hash_map presence" >&5
21336 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h. */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 #include <hash_map>
21344 _ACEOF
21345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21347 ac_status=$?
21348 grep -v '^ *+' conftest.er1 >conftest.err
21349 rm -f conftest.er1
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } >/dev/null; then
21353 if test -s conftest.err; then
21354 ac_cpp_err=$ac_cxx_preproc_warn_flag
21355 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21356 else
21357 ac_cpp_err=
21358 fi
21359 else
21360 ac_cpp_err=yes
21361 fi
21362 if test -z "$ac_cpp_err"; then
21363 ac_header_preproc=yes
21364 else
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.$ac_ext >&5
21367
21368 ac_header_preproc=no
21369 fi
21370 rm -f conftest.err conftest.$ac_ext
21371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21372 echo "${ECHO_T}$ac_header_preproc" >&6
21373
21374 # So? What about this header?
21375 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21376 yes:no: )
21377 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21378 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21379 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21380 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21381 ac_header_preproc=yes
21382 ;;
21383 no:yes:* )
21384 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21385 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21387 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21389 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21391 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21392 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21393 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21394 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21395 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21396 (
21397 cat <<\_ASBOX
21398 ## ----------------------------------------- ##
21399 ## Report this to wx-dev@lists.wxwidgets.org ##
21400 ## ----------------------------------------- ##
21401 _ASBOX
21402 ) |
21403 sed "s/^/$as_me: WARNING: /" >&2
21404 ;;
21405 esac
21406 echo "$as_me:$LINENO: checking for hash_map" >&5
21407 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21408 if test "${ac_cv_header_hash_map+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 else
21411 ac_cv_header_hash_map=$ac_header_preproc
21412 fi
21413 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21414 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21415
21416 fi
21417 if test $ac_cv_header_hash_map = yes; then
21418 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21419 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21420 cat >conftest.$ac_ext <<_ACEOF
21421 /* confdefs.h. */
21422 _ACEOF
21423 cat confdefs.h >>conftest.$ac_ext
21424 cat >>conftest.$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 #include <hash_map>
21427 #include <hash_set>
21428 int
21429 main ()
21430 {
21431 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21432 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21433 ;
21434 return 0;
21435 }
21436 _ACEOF
21437 rm -f conftest.$ac_objext
21438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21439 (eval $ac_compile) 2>conftest.er1
21440 ac_status=$?
21441 grep -v '^ *+' conftest.er1 >conftest.err
21442 rm -f conftest.er1
21443 cat conftest.err >&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); } &&
21446 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; } &&
21452 { ac_try='test -s conftest.$ac_objext'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21455 ac_status=$?
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 echo "$as_me:$LINENO: result: yes" >&5
21459 echo "${ECHO_T}yes" >&6
21460 cat >>confdefs.h <<\_ACEOF
21461 #define HAVE_HASH_MAP 1
21462 _ACEOF
21463
21464 cat >>confdefs.h <<\_ACEOF
21465 #define HAVE_STD_HASH_MAP 1
21466 _ACEOF
21467
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21471
21472 echo "$as_me:$LINENO: result: no" >&5
21473 echo "${ECHO_T}no" >&6
21474 fi
21475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21476
21477 fi
21478
21479
21480
21481 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21482 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21483 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21484 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21486 fi
21487 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21488 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21489 else
21490 # Is the header compilable?
21491 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21492 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21493 cat >conftest.$ac_ext <<_ACEOF
21494 /* confdefs.h. */
21495 _ACEOF
21496 cat confdefs.h >>conftest.$ac_ext
21497 cat >>conftest.$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21499 $ac_includes_default
21500 #include <ext/hash_map>
21501 _ACEOF
21502 rm -f conftest.$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504 (eval $ac_compile) 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; } &&
21517 { ac_try='test -s conftest.$ac_objext'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21520 ac_status=$?
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; }; then
21523 ac_header_compiler=yes
21524 else
21525 echo "$as_me: failed program was:" >&5
21526 sed 's/^/| /' conftest.$ac_ext >&5
21527
21528 ac_header_compiler=no
21529 fi
21530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21532 echo "${ECHO_T}$ac_header_compiler" >&6
21533
21534 # Is the header present?
21535 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21536 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21537 cat >conftest.$ac_ext <<_ACEOF
21538 /* confdefs.h. */
21539 _ACEOF
21540 cat confdefs.h >>conftest.$ac_ext
21541 cat >>conftest.$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 #include <ext/hash_map>
21544 _ACEOF
21545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } >/dev/null; then
21553 if test -s conftest.err; then
21554 ac_cpp_err=$ac_cxx_preproc_warn_flag
21555 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21556 else
21557 ac_cpp_err=
21558 fi
21559 else
21560 ac_cpp_err=yes
21561 fi
21562 if test -z "$ac_cpp_err"; then
21563 ac_header_preproc=yes
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21567
21568 ac_header_preproc=no
21569 fi
21570 rm -f conftest.err conftest.$ac_ext
21571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21572 echo "${ECHO_T}$ac_header_preproc" >&6
21573
21574 # So? What about this header?
21575 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21576 yes:no: )
21577 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21578 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21579 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21580 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21581 ac_header_preproc=yes
21582 ;;
21583 no:yes:* )
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21585 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21587 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21589 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21591 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21592 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21593 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21594 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21595 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21596 (
21597 cat <<\_ASBOX
21598 ## ----------------------------------------- ##
21599 ## Report this to wx-dev@lists.wxwidgets.org ##
21600 ## ----------------------------------------- ##
21601 _ASBOX
21602 ) |
21603 sed "s/^/$as_me: WARNING: /" >&2
21604 ;;
21605 esac
21606 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21607 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21608 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 ac_cv_header_ext_hash_map=$ac_header_preproc
21612 fi
21613 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21614 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21615
21616 fi
21617 if test $ac_cv_header_ext_hash_map = yes; then
21618 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21619 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21620 cat >conftest.$ac_ext <<_ACEOF
21621 /* confdefs.h. */
21622 _ACEOF
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 #include <ext/hash_map>
21627 #include <ext/hash_set>
21628 int
21629 main ()
21630 {
21631 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21632 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21639 (eval $ac_compile) 2>conftest.er1
21640 ac_status=$?
21641 grep -v '^ *+' conftest.er1 >conftest.err
21642 rm -f conftest.er1
21643 cat conftest.err >&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; } &&
21652 { ac_try='test -s conftest.$ac_objext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21655 ac_status=$?
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 echo "$as_me:$LINENO: result: yes" >&5
21659 echo "${ECHO_T}yes" >&6
21660 cat >>confdefs.h <<\_ACEOF
21661 #define HAVE_EXT_HASH_MAP 1
21662 _ACEOF
21663
21664 cat >>confdefs.h <<\_ACEOF
21665 #define HAVE_GNU_CXX_HASH_MAP 1
21666 _ACEOF
21667
21668 else
21669 echo "$as_me: failed program was:" >&5
21670 sed 's/^/| /' conftest.$ac_ext >&5
21671
21672 echo "$as_me:$LINENO: result: no" >&5
21673 echo "${ECHO_T}no" >&6
21674 fi
21675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21676
21677 fi
21678
21679
21680
21681 ac_ext=c
21682 ac_cpp='$CPP $CPPFLAGS'
21683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21686
21687 fi
21688
21689
21690 SEARCH_INCLUDE="\
21691 /usr/local/include \
21692 \
21693 /usr/Motif-2.1/include \
21694 /usr/Motif-1.2/include \
21695 /usr/include/Motif1.2 \
21696 /opt/xpm/include/X11 \
21697 /opt/GBxpm/include/ \
21698 /opt/GBxpm/X11/include/ \
21699 \
21700 /usr/dt/include \
21701 /usr/openwin/include \
21702 \
21703 /usr/include/Xm \
21704 \
21705 /usr/X11R6/include \
21706 /usr/X11R6.4/include \
21707 /usr/X11R5/include \
21708 /usr/X11R4/include \
21709 \
21710 /usr/include/X11R6 \
21711 /usr/include/X11R5 \
21712 /usr/include/X11R4 \
21713 \
21714 /usr/local/X11R6/include \
21715 /usr/local/X11R5/include \
21716 /usr/local/X11R4/include \
21717 \
21718 /usr/local/include/X11R6 \
21719 /usr/local/include/X11R5 \
21720 /usr/local/include/X11R4 \
21721 \
21722 /usr/X11/include \
21723 /usr/include/X11 \
21724 /usr/local/X11/include \
21725 /usr/local/include/X11 \
21726 \
21727 /usr/X386/include \
21728 /usr/x386/include \
21729 /usr/XFree86/include/X11 \
21730 \
21731 X:/XFree86/include \
21732 X:/XFree86/include/X11 \
21733 \
21734 /usr/include/gtk \
21735 /usr/local/include/gtk \
21736 /usr/include/glib \
21737 /usr/local/include/glib \
21738 \
21739 /usr/include/qt \
21740 /usr/local/include/qt \
21741 \
21742 /usr/local/arm/3.3.2/include \
21743 \
21744 /usr/include/windows \
21745 /usr/include/wine \
21746 /usr/local/include/wine \
21747 \
21748 /usr/unsupported/include \
21749 /usr/athena/include \
21750 /usr/local/x11r5/include \
21751 /usr/lpp/Xamples/include \
21752 \
21753 /usr/openwin/share/include"
21754
21755 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21756
21757
21758 cat >confcache <<\_ACEOF
21759 # This file is a shell script that caches the results of configure
21760 # tests run on this system so they can be shared between configure
21761 # scripts and configure runs, see configure's option --config-cache.
21762 # It is not useful on other systems. If it contains results you don't
21763 # want to keep, you may remove or edit it.
21764 #
21765 # config.status only pays attention to the cache file if you give it
21766 # the --recheck option to rerun configure.
21767 #
21768 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21770 # following values.
21771
21772 _ACEOF
21773
21774 # The following way of writing the cache mishandles newlines in values,
21775 # but we know of no workaround that is simple, portable, and efficient.
21776 # So, don't put newlines in cache variables' values.
21777 # Ultrix sh set writes to stderr and can't be redirected directly,
21778 # and sets the high bit in the cache file unless we assign to the vars.
21779 {
21780 (set) 2>&1 |
21781 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21782 *ac_space=\ *)
21783 # `set' does not quote correctly, so add quotes (double-quote
21784 # substitution turns \\\\ into \\, and sed turns \\ into \).
21785 sed -n \
21786 "s/'/'\\\\''/g;
21787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21788 ;;
21789 *)
21790 # `set' quotes correctly as required by POSIX, so do not add quotes.
21791 sed -n \
21792 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21793 ;;
21794 esac;
21795 } |
21796 sed '
21797 t clear
21798 : clear
21799 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21800 t end
21801 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21802 : end' >>confcache
21803 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21804 if test -w $cache_file; then
21805 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21806 cat confcache >$cache_file
21807 else
21808 echo "not updating unwritable cache $cache_file"
21809 fi
21810 fi
21811 rm -f confcache
21812
21813 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21814 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21815 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21816 if test "${wx_cv_lib_glibc21+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 else
21819
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #include <features.h>
21827 int
21828 main ()
21829 {
21830
21831 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21832 #error not glibc2.1
21833 #endif
21834
21835 ;
21836 return 0;
21837 }
21838 _ACEOF
21839 rm -f conftest.$ac_objext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21841 (eval $ac_compile) 2>conftest.er1
21842 ac_status=$?
21843 grep -v '^ *+' conftest.er1 >conftest.err
21844 rm -f conftest.er1
21845 cat conftest.err >&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } &&
21848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21851 ac_status=$?
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; } &&
21854 { ac_try='test -s conftest.$ac_objext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21857 ac_status=$?
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860
21861 wx_cv_lib_glibc21=yes
21862
21863 else
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.$ac_ext >&5
21866
21867
21868 wx_cv_lib_glibc21=no
21869
21870
21871 fi
21872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21873
21874 fi
21875 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21876 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21877 if test "$wx_cv_lib_glibc21" = "yes"; then
21878 cat >>confdefs.h <<\_ACEOF
21879 #define wxHAVE_GLIBC2 1
21880 _ACEOF
21881
21882 fi
21883 fi
21884
21885 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21886 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21887 cat >>confdefs.h <<\_ACEOF
21888 #define _GNU_SOURCE 1
21889 _ACEOF
21890
21891 fi
21892 fi
21893
21894
21895
21896 if test "$wxUSE_REGEX" != "no"; then
21897 cat >>confdefs.h <<\_ACEOF
21898 #define wxUSE_REGEX 1
21899 _ACEOF
21900
21901
21902 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21903 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21904 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21905 wxUSE_REGEX=builtin
21906 fi
21907
21908 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21909 if test "${ac_cv_header_regex_h+set}" = set; then
21910 echo "$as_me:$LINENO: checking for regex.h" >&5
21911 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21912 if test "${ac_cv_header_regex_h+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 fi
21915 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21916 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21917 else
21918 # Is the header compilable?
21919 echo "$as_me:$LINENO: checking regex.h usability" >&5
21920 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 #include <regex.h>
21929 _ACEOF
21930 rm -f conftest.$ac_objext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21932 (eval $ac_compile) 2>conftest.er1
21933 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941 (eval $ac_try) 2>&5
21942 ac_status=$?
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); }; } &&
21945 { ac_try='test -s conftest.$ac_objext'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21948 ac_status=$?
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; }; then
21951 ac_header_compiler=yes
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956 ac_header_compiler=no
21957 fi
21958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21960 echo "${ECHO_T}$ac_header_compiler" >&6
21961
21962 # Is the header present?
21963 echo "$as_me:$LINENO: checking regex.h presence" >&5
21964 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21965 cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h. */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 #include <regex.h>
21972 _ACEOF
21973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } >/dev/null; then
21981 if test -s conftest.err; then
21982 ac_cpp_err=$ac_c_preproc_warn_flag
21983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21984 else
21985 ac_cpp_err=
21986 fi
21987 else
21988 ac_cpp_err=yes
21989 fi
21990 if test -z "$ac_cpp_err"; then
21991 ac_header_preproc=yes
21992 else
21993 echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.$ac_ext >&5
21995
21996 ac_header_preproc=no
21997 fi
21998 rm -f conftest.err conftest.$ac_ext
21999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22000 echo "${ECHO_T}$ac_header_preproc" >&6
22001
22002 # So? What about this header?
22003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22004 yes:no: )
22005 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22006 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22007 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22008 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22009 ac_header_preproc=yes
22010 ;;
22011 no:yes:* )
22012 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22013 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22015 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22017 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22019 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22020 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22021 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22022 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22023 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22024 (
22025 cat <<\_ASBOX
22026 ## ----------------------------------------- ##
22027 ## Report this to wx-dev@lists.wxwidgets.org ##
22028 ## ----------------------------------------- ##
22029 _ASBOX
22030 ) |
22031 sed "s/^/$as_me: WARNING: /" >&2
22032 ;;
22033 esac
22034 echo "$as_me:$LINENO: checking for regex.h" >&5
22035 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22036 if test "${ac_cv_header_regex_h+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 else
22039 ac_cv_header_regex_h=$ac_header_preproc
22040 fi
22041 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22042 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22043
22044 fi
22045 if test $ac_cv_header_regex_h = yes; then
22046
22047 for ac_func in regcomp
22048 do
22049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22050 echo "$as_me:$LINENO: checking for $ac_func" >&5
22051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22052 if eval "test \"\${$as_ac_var+set}\" = set"; then
22053 echo $ECHO_N "(cached) $ECHO_C" >&6
22054 else
22055 cat >conftest.$ac_ext <<_ACEOF
22056 /* confdefs.h. */
22057 _ACEOF
22058 cat confdefs.h >>conftest.$ac_ext
22059 cat >>conftest.$ac_ext <<_ACEOF
22060 /* end confdefs.h. */
22061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22063 #define $ac_func innocuous_$ac_func
22064
22065 /* System header to define __stub macros and hopefully few prototypes,
22066 which can conflict with char $ac_func (); below.
22067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22068 <limits.h> exists even on freestanding compilers. */
22069
22070 #ifdef __STDC__
22071 # include <limits.h>
22072 #else
22073 # include <assert.h>
22074 #endif
22075
22076 #undef $ac_func
22077
22078 /* Override any gcc2 internal prototype to avoid an error. */
22079 #ifdef __cplusplus
22080 extern "C"
22081 {
22082 #endif
22083 /* We use char because int might match the return type of a gcc2
22084 builtin and then its argument prototype would still apply. */
22085 char $ac_func ();
22086 /* The GNU C library defines this for functions which it implements
22087 to always fail with ENOSYS. Some functions are actually named
22088 something starting with __ and the normal name is an alias. */
22089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22090 choke me
22091 #else
22092 char (*f) () = $ac_func;
22093 #endif
22094 #ifdef __cplusplus
22095 }
22096 #endif
22097
22098 int
22099 main ()
22100 {
22101 return f != $ac_func;
22102 ;
22103 return 0;
22104 }
22105 _ACEOF
22106 rm -f conftest.$ac_objext conftest$ac_exeext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22108 (eval $ac_link) 2>conftest.er1
22109 ac_status=$?
22110 grep -v '^ *+' conftest.er1 >conftest.err
22111 rm -f conftest.er1
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 eval "$as_ac_var=yes"
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 eval "$as_ac_var=no"
22133 fi
22134 rm -f conftest.err conftest.$ac_objext \
22135 conftest$ac_exeext conftest.$ac_ext
22136 fi
22137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22139 if test `eval echo '${'$as_ac_var'}'` = yes; then
22140 cat >>confdefs.h <<_ACEOF
22141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22142 _ACEOF
22143
22144 fi
22145 done
22146
22147 fi
22148
22149
22150
22151 if test "x$ac_cv_func_regcomp" != "xyes"; then
22152 if test "$wxUSE_REGEX" = "sys" ; then
22153 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22154 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22155 { (exit 1); exit 1; }; }
22156 else
22157 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22158 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22159 wxUSE_REGEX=builtin
22160 fi
22161 else
22162 wxUSE_REGEX=sys
22163 cat >>confdefs.h <<\_ACEOF
22164 #define WX_NO_REGEX_ADVANCED 1
22165 _ACEOF
22166
22167 fi
22168 fi
22169 fi
22170
22171
22172 ZLIB_LINK=
22173 if test "$wxUSE_ZLIB" != "no" ; then
22174 cat >>confdefs.h <<\_ACEOF
22175 #define wxUSE_ZLIB 1
22176 _ACEOF
22177
22178
22179 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22180 if test "$USE_DARWIN" = 1; then
22181 system_zlib_h_ok="yes"
22182 else
22183 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22184 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22185 if test "${ac_cv_header_zlib_h+set}" = set; then
22186 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 else
22188 if test "$cross_compiling" = yes; then
22189 unset ac_cv_header_zlib_h
22190
22191 else
22192 cat >conftest.$ac_ext <<_ACEOF
22193 /* confdefs.h. */
22194 _ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198
22199 #include <zlib.h>
22200 #include <stdio.h>
22201
22202 int main()
22203 {
22204 FILE *f=fopen("conftestval", "w");
22205 if (!f) exit(1);
22206 fprintf(f, "%s",
22207 ZLIB_VERSION[0] == '1' &&
22208 (ZLIB_VERSION[2] > '1' ||
22209 (ZLIB_VERSION[2] == '1' &&
22210 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22211 exit(0);
22212 }
22213
22214 _ACEOF
22215 rm -f conftest$ac_exeext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22217 (eval $ac_link) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22222 (eval $ac_try) 2>&5
22223 ac_status=$?
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_header_zlib_h=`cat conftestval`
22227 else
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ( exit $ac_status )
22233 ac_cv_header_zlib_h=no
22234 fi
22235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22236 fi
22237
22238 fi
22239 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22240 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22241 if test "${ac_cv_header_zlib_h+set}" = set; then
22242 echo "$as_me:$LINENO: checking for zlib.h" >&5
22243 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22244 if test "${ac_cv_header_zlib_h+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22246 fi
22247 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22248 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22249 else
22250 # Is the header compilable?
22251 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22252 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22260 #include <zlib.h>
22261 _ACEOF
22262 rm -f conftest.$ac_objext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22264 (eval $ac_compile) 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } &&
22271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22273 (eval $ac_try) 2>&5
22274 ac_status=$?
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; } &&
22277 { ac_try='test -s conftest.$ac_objext'
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22280 ac_status=$?
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 ac_header_compiler=yes
22284 else
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22287
22288 ac_header_compiler=no
22289 fi
22290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22292 echo "${ECHO_T}$ac_header_compiler" >&6
22293
22294 # Is the header present?
22295 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22296 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22297 cat >conftest.$ac_ext <<_ACEOF
22298 /* confdefs.h. */
22299 _ACEOF
22300 cat confdefs.h >>conftest.$ac_ext
22301 cat >>conftest.$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22303 #include <zlib.h>
22304 _ACEOF
22305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22307 ac_status=$?
22308 grep -v '^ *+' conftest.er1 >conftest.err
22309 rm -f conftest.er1
22310 cat conftest.err >&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } >/dev/null; then
22313 if test -s conftest.err; then
22314 ac_cpp_err=$ac_c_preproc_warn_flag
22315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22316 else
22317 ac_cpp_err=
22318 fi
22319 else
22320 ac_cpp_err=yes
22321 fi
22322 if test -z "$ac_cpp_err"; then
22323 ac_header_preproc=yes
22324 else
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22327
22328 ac_header_preproc=no
22329 fi
22330 rm -f conftest.err conftest.$ac_ext
22331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22332 echo "${ECHO_T}$ac_header_preproc" >&6
22333
22334 # So? What about this header?
22335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22336 yes:no: )
22337 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22338 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22339 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22340 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22341 ac_header_preproc=yes
22342 ;;
22343 no:yes:* )
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22345 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22347 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22349 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22351 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22352 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22353 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22354 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22355 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22356 (
22357 cat <<\_ASBOX
22358 ## ----------------------------------------- ##
22359 ## Report this to wx-dev@lists.wxwidgets.org ##
22360 ## ----------------------------------------- ##
22361 _ASBOX
22362 ) |
22363 sed "s/^/$as_me: WARNING: /" >&2
22364 ;;
22365 esac
22366 echo "$as_me:$LINENO: checking for zlib.h" >&5
22367 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22368 if test "${ac_cv_header_zlib_h+set}" = set; then
22369 echo $ECHO_N "(cached) $ECHO_C" >&6
22370 else
22371 ac_cv_header_zlib_h=$ac_header_preproc
22372 fi
22373 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22374 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22375
22376 fi
22377
22378
22379
22380 system_zlib_h_ok=$ac_cv_header_zlib_h
22381 fi
22382
22383 if test "$system_zlib_h_ok" = "yes"; then
22384 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22385 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22386 if test "${ac_cv_lib_z_deflate+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 else
22389 ac_check_lib_save_LIBS=$LIBS
22390 LIBS="-lz $LIBS"
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h. */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397
22398 /* Override any gcc2 internal prototype to avoid an error. */
22399 #ifdef __cplusplus
22400 extern "C"
22401 #endif
22402 /* We use char because int might match the return type of a gcc2
22403 builtin and then its argument prototype would still apply. */
22404 char deflate ();
22405 int
22406 main ()
22407 {
22408 deflate ();
22409 ;
22410 return 0;
22411 }
22412 _ACEOF
22413 rm -f conftest.$ac_objext conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22425 ac_status=$?
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; } &&
22428 { ac_try='test -s conftest$ac_exeext'
22429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22430 (eval $ac_try) 2>&5
22431 ac_status=$?
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); }; }; then
22434 ac_cv_lib_z_deflate=yes
22435 else
22436 echo "$as_me: failed program was:" >&5
22437 sed 's/^/| /' conftest.$ac_ext >&5
22438
22439 ac_cv_lib_z_deflate=no
22440 fi
22441 rm -f conftest.err conftest.$ac_objext \
22442 conftest$ac_exeext conftest.$ac_ext
22443 LIBS=$ac_check_lib_save_LIBS
22444 fi
22445 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22446 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22447 if test $ac_cv_lib_z_deflate = yes; then
22448 ZLIB_LINK=" -lz"
22449 fi
22450
22451 fi
22452
22453 if test "x$ZLIB_LINK" = "x" ; then
22454 if test "$wxUSE_ZLIB" = "sys" ; then
22455 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22456 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22457 { (exit 1); exit 1; }; }
22458 else
22459 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22460 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22461 wxUSE_ZLIB=builtin
22462 fi
22463 else
22464 wxUSE_ZLIB=sys
22465 fi
22466 fi
22467 fi
22468
22469
22470 PNG_LINK=
22471 if test "$wxUSE_LIBPNG" != "no" ; then
22472 cat >>confdefs.h <<\_ACEOF
22473 #define wxUSE_LIBPNG 1
22474 _ACEOF
22475
22476
22477 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22478 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22479 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22480 wxUSE_LIBPNG=sys
22481 fi
22482
22483 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22484 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22485 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22486 wxUSE_LIBPNG=builtin
22487 fi
22488
22489 if test "$wxUSE_MGL" != 1 ; then
22490 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22491 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22492 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22493 if test "${ac_cv_header_png_h+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22495 else
22496 if test "$cross_compiling" = yes; then
22497 unset ac_cv_header_png_h
22498
22499 else
22500 cat >conftest.$ac_ext <<_ACEOF
22501 /* confdefs.h. */
22502 _ACEOF
22503 cat confdefs.h >>conftest.$ac_ext
22504 cat >>conftest.$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22506
22507 #include <png.h>
22508 #include <stdio.h>
22509
22510 int main()
22511 {
22512 FILE *f=fopen("conftestval", "w");
22513 if (!f) exit(1);
22514 fprintf(f, "%s",
22515 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22516 exit(0);
22517 }
22518
22519 _ACEOF
22520 rm -f conftest$ac_exeext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22522 (eval $ac_link) 2>&5
22523 ac_status=$?
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22528 ac_status=$?
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; }; then
22531 ac_cv_header_png_h=`cat conftestval`
22532 else
22533 echo "$as_me: program exited with status $ac_status" >&5
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22536
22537 ( exit $ac_status )
22538 ac_cv_header_png_h=no
22539 fi
22540 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22541 fi
22542
22543 fi
22544 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22545 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22546 if test "${ac_cv_header_png_h+set}" = set; then
22547 echo "$as_me:$LINENO: checking for png.h" >&5
22548 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22549 if test "${ac_cv_header_png_h+set}" = set; then
22550 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 fi
22552 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22553 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22554 else
22555 # Is the header compilable?
22556 echo "$as_me:$LINENO: checking png.h usability" >&5
22557 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22558 cat >conftest.$ac_ext <<_ACEOF
22559 /* confdefs.h. */
22560 _ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564 $ac_includes_default
22565 #include <png.h>
22566 _ACEOF
22567 rm -f conftest.$ac_objext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22569 (eval $ac_compile) 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22579 ac_status=$?
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; } &&
22582 { ac_try='test -s conftest.$ac_objext'
22583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584 (eval $ac_try) 2>&5
22585 ac_status=$?
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); }; }; then
22588 ac_header_compiler=yes
22589 else
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22592
22593 ac_header_compiler=no
22594 fi
22595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22597 echo "${ECHO_T}$ac_header_compiler" >&6
22598
22599 # Is the header present?
22600 echo "$as_me:$LINENO: checking png.h presence" >&5
22601 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22602 cat >conftest.$ac_ext <<_ACEOF
22603 /* confdefs.h. */
22604 _ACEOF
22605 cat confdefs.h >>conftest.$ac_ext
22606 cat >>conftest.$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22608 #include <png.h>
22609 _ACEOF
22610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22612 ac_status=$?
22613 grep -v '^ *+' conftest.er1 >conftest.err
22614 rm -f conftest.er1
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } >/dev/null; then
22618 if test -s conftest.err; then
22619 ac_cpp_err=$ac_c_preproc_warn_flag
22620 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22621 else
22622 ac_cpp_err=
22623 fi
22624 else
22625 ac_cpp_err=yes
22626 fi
22627 if test -z "$ac_cpp_err"; then
22628 ac_header_preproc=yes
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_header_preproc=no
22634 fi
22635 rm -f conftest.err conftest.$ac_ext
22636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22637 echo "${ECHO_T}$ac_header_preproc" >&6
22638
22639 # So? What about this header?
22640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22641 yes:no: )
22642 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22643 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22644 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22645 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22646 ac_header_preproc=yes
22647 ;;
22648 no:yes:* )
22649 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22650 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22652 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22654 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22656 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22657 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22658 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22659 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22660 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22661 (
22662 cat <<\_ASBOX
22663 ## ----------------------------------------- ##
22664 ## Report this to wx-dev@lists.wxwidgets.org ##
22665 ## ----------------------------------------- ##
22666 _ASBOX
22667 ) |
22668 sed "s/^/$as_me: WARNING: /" >&2
22669 ;;
22670 esac
22671 echo "$as_me:$LINENO: checking for png.h" >&5
22672 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22673 if test "${ac_cv_header_png_h+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676 ac_cv_header_png_h=$ac_header_preproc
22677 fi
22678 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22679 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22680
22681 fi
22682
22683
22684
22685 if test "$ac_cv_header_png_h" = "yes"; then
22686 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22687 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22688 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22690 else
22691 ac_check_lib_save_LIBS=$LIBS
22692 LIBS="-lpng -lz -lm $LIBS"
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699
22700 /* Override any gcc2 internal prototype to avoid an error. */
22701 #ifdef __cplusplus
22702 extern "C"
22703 #endif
22704 /* We use char because int might match the return type of a gcc2
22705 builtin and then its argument prototype would still apply. */
22706 char png_check_sig ();
22707 int
22708 main ()
22709 {
22710 png_check_sig ();
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext conftest$ac_exeext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22717 (eval $ac_link) 2>conftest.er1
22718 ac_status=$?
22719 grep -v '^ *+' conftest.er1 >conftest.err
22720 rm -f conftest.er1
22721 cat conftest.err >&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22727 ac_status=$?
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; } &&
22730 { ac_try='test -s conftest$ac_exeext'
22731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22732 (eval $ac_try) 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 ac_cv_lib_png_png_check_sig=yes
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22740
22741 ac_cv_lib_png_png_check_sig=no
22742 fi
22743 rm -f conftest.err conftest.$ac_objext \
22744 conftest$ac_exeext conftest.$ac_ext
22745 LIBS=$ac_check_lib_save_LIBS
22746 fi
22747 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22748 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22749 if test $ac_cv_lib_png_png_check_sig = yes; then
22750 PNG_LINK=" -lpng -lz"
22751 fi
22752
22753 fi
22754
22755 if test "x$PNG_LINK" = "x" ; then
22756 if test "$wxUSE_LIBPNG" = "sys" ; then
22757 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22758 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22759 { (exit 1); exit 1; }; }
22760 else
22761 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22762 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22763 wxUSE_LIBPNG=builtin
22764 fi
22765 else
22766 wxUSE_LIBPNG=sys
22767 fi
22768 fi
22769 fi
22770
22771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
22772 fi
22773
22774
22775 JPEG_LINK=
22776 if test "$wxUSE_LIBJPEG" != "no" ; then
22777 cat >>confdefs.h <<\_ACEOF
22778 #define wxUSE_LIBJPEG 1
22779 _ACEOF
22780
22781
22782 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22783 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22784 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22785 wxUSE_LIBJPEG=sys
22786 fi
22787
22788 if test "$wxUSE_MGL" != 1 ; then
22789 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22790 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22791 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22792 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22794 else
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h. */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801
22802 #undef HAVE_STDLIB_H
22803 #include <stdio.h>
22804 #include <jpeglib.h>
22805
22806 int
22807 main ()
22808 {
22809
22810
22811 ;
22812 return 0;
22813 }
22814 _ACEOF
22815 rm -f conftest.$ac_objext
22816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22817 (eval $ac_compile) 2>conftest.er1
22818 ac_status=$?
22819 grep -v '^ *+' conftest.er1 >conftest.err
22820 rm -f conftest.er1
22821 cat conftest.err >&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22827 ac_status=$?
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; } &&
22830 { ac_try='test -s conftest.$ac_objext'
22831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22832 (eval $ac_try) 2>&5
22833 ac_status=$?
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); }; }; then
22836 ac_cv_header_jpeglib_h=yes
22837 else
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22840
22841 ac_cv_header_jpeglib_h=no
22842
22843 fi
22844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22845
22846 fi
22847
22848 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22849 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22850
22851 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22852 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22853 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22854 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22856 else
22857 ac_check_lib_save_LIBS=$LIBS
22858 LIBS="-ljpeg $LIBS"
22859 cat >conftest.$ac_ext <<_ACEOF
22860 /* confdefs.h. */
22861 _ACEOF
22862 cat confdefs.h >>conftest.$ac_ext
22863 cat >>conftest.$ac_ext <<_ACEOF
22864 /* end confdefs.h. */
22865
22866 /* Override any gcc2 internal prototype to avoid an error. */
22867 #ifdef __cplusplus
22868 extern "C"
22869 #endif
22870 /* We use char because int might match the return type of a gcc2
22871 builtin and then its argument prototype would still apply. */
22872 char jpeg_read_header ();
22873 int
22874 main ()
22875 {
22876 jpeg_read_header ();
22877 ;
22878 return 0;
22879 }
22880 _ACEOF
22881 rm -f conftest.$ac_objext conftest$ac_exeext
22882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22883 (eval $ac_link) 2>conftest.er1
22884 ac_status=$?
22885 grep -v '^ *+' conftest.er1 >conftest.err
22886 rm -f conftest.er1
22887 cat conftest.err >&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } &&
22890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22893 ac_status=$?
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; } &&
22896 { ac_try='test -s conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22899 ac_status=$?
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 ac_cv_lib_jpeg_jpeg_read_header=yes
22903 else
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.$ac_ext >&5
22906
22907 ac_cv_lib_jpeg_jpeg_read_header=no
22908 fi
22909 rm -f conftest.err conftest.$ac_objext \
22910 conftest$ac_exeext conftest.$ac_ext
22911 LIBS=$ac_check_lib_save_LIBS
22912 fi
22913 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22914 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22915 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22916 JPEG_LINK=" -ljpeg"
22917 fi
22918
22919 fi
22920
22921 if test "x$JPEG_LINK" = "x" ; then
22922 if test "$wxUSE_LIBJPEG" = "sys" ; then
22923 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22924 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22925 { (exit 1); exit 1; }; }
22926 else
22927 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22928 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22929 wxUSE_LIBJPEG=builtin
22930 fi
22931 else
22932 wxUSE_LIBJPEG=sys
22933 fi
22934 fi
22935 fi
22936 fi
22937
22938
22939 TIFF_LINK=
22940 TIFF_PREREQ_LINKS=-lm
22941 if test "$wxUSE_LIBTIFF" != "no" ; then
22942 cat >>confdefs.h <<\_ACEOF
22943 #define wxUSE_LIBTIFF 1
22944 _ACEOF
22945
22946
22947 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22948 if test "$wxUSE_LIBJPEG" = "sys"; then
22949 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22950 fi
22951 if test "$wxUSE_ZLIB" = "sys"; then
22952 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22953 fi
22954 if test "${ac_cv_header_tiffio_h+set}" = set; then
22955 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22956 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22957 if test "${ac_cv_header_tiffio_h+set}" = set; then
22958 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 fi
22960 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22961 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22962 else
22963 # Is the header compilable?
22964 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22965 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22966 cat >conftest.$ac_ext <<_ACEOF
22967 /* confdefs.h. */
22968 _ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 $ac_includes_default
22973 #include <tiffio.h>
22974 _ACEOF
22975 rm -f conftest.$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22978 ac_status=$?
22979 grep -v '^ *+' conftest.er1 >conftest.err
22980 rm -f conftest.er1
22981 cat conftest.err >&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_header_compiler=yes
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001 ac_header_compiler=no
23002 fi
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23005 echo "${ECHO_T}$ac_header_compiler" >&6
23006
23007 # Is the header present?
23008 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23009 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23010 cat >conftest.$ac_ext <<_ACEOF
23011 /* confdefs.h. */
23012 _ACEOF
23013 cat confdefs.h >>conftest.$ac_ext
23014 cat >>conftest.$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23016 #include <tiffio.h>
23017 _ACEOF
23018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23020 ac_status=$?
23021 grep -v '^ *+' conftest.er1 >conftest.err
23022 rm -f conftest.er1
23023 cat conftest.err >&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } >/dev/null; then
23026 if test -s conftest.err; then
23027 ac_cpp_err=$ac_c_preproc_warn_flag
23028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23029 else
23030 ac_cpp_err=
23031 fi
23032 else
23033 ac_cpp_err=yes
23034 fi
23035 if test -z "$ac_cpp_err"; then
23036 ac_header_preproc=yes
23037 else
23038 echo "$as_me: failed program was:" >&5
23039 sed 's/^/| /' conftest.$ac_ext >&5
23040
23041 ac_header_preproc=no
23042 fi
23043 rm -f conftest.err conftest.$ac_ext
23044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23045 echo "${ECHO_T}$ac_header_preproc" >&6
23046
23047 # So? What about this header?
23048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23049 yes:no: )
23050 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23051 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23052 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23053 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23054 ac_header_preproc=yes
23055 ;;
23056 no:yes:* )
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23058 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23060 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23062 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23064 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23066 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23067 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23068 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23069 (
23070 cat <<\_ASBOX
23071 ## ----------------------------------------- ##
23072 ## Report this to wx-dev@lists.wxwidgets.org ##
23073 ## ----------------------------------------- ##
23074 _ASBOX
23075 ) |
23076 sed "s/^/$as_me: WARNING: /" >&2
23077 ;;
23078 esac
23079 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23080 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23081 if test "${ac_cv_header_tiffio_h+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23083 else
23084 ac_cv_header_tiffio_h=$ac_header_preproc
23085 fi
23086 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23087 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23088
23089 fi
23090 if test $ac_cv_header_tiffio_h = yes; then
23091
23092 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23093 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23094 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23096 else
23097 ac_check_lib_save_LIBS=$LIBS
23098 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105
23106 /* Override any gcc2 internal prototype to avoid an error. */
23107 #ifdef __cplusplus
23108 extern "C"
23109 #endif
23110 /* We use char because int might match the return type of a gcc2
23111 builtin and then its argument prototype would still apply. */
23112 char TIFFError ();
23113 int
23114 main ()
23115 {
23116 TIFFError ();
23117 ;
23118 return 0;
23119 }
23120 _ACEOF
23121 rm -f conftest.$ac_objext conftest$ac_exeext
23122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23123 (eval $ac_link) 2>conftest.er1
23124 ac_status=$?
23125 grep -v '^ *+' conftest.er1 >conftest.err
23126 rm -f conftest.er1
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } &&
23130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; } &&
23136 { ac_try='test -s conftest$ac_exeext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23139 ac_status=$?
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 ac_cv_lib_tiff_TIFFError=yes
23143 else
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23146
23147 ac_cv_lib_tiff_TIFFError=no
23148 fi
23149 rm -f conftest.err conftest.$ac_objext \
23150 conftest$ac_exeext conftest.$ac_ext
23151 LIBS=$ac_check_lib_save_LIBS
23152 fi
23153 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23154 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23155 if test $ac_cv_lib_tiff_TIFFError = yes; then
23156 TIFF_LINK=" -ltiff"
23157 fi
23158
23159
23160
23161 fi
23162
23163
23164
23165 if test "x$TIFF_LINK" = "x" ; then
23166 if test "$wxUSE_LIBTIFF" = "sys" ; then
23167 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23168 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23169 { (exit 1); exit 1; }; }
23170 else
23171 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23172 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23173 wxUSE_LIBTIFF=builtin
23174 fi
23175 else
23176 wxUSE_LIBTIFF=sys
23177 fi
23178 fi
23179 fi
23180
23181
23182 if test "$wxUSE_EXPAT" != "no"; then
23183 wxUSE_XML=yes
23184 cat >>confdefs.h <<\_ACEOF
23185 #define wxUSE_EXPAT 1
23186 _ACEOF
23187
23188 cat >>confdefs.h <<\_ACEOF
23189 #define wxUSE_XML 1
23190 _ACEOF
23191
23192
23193 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23194 if test "${ac_cv_header_expat_h+set}" = set; then
23195 echo "$as_me:$LINENO: checking for expat.h" >&5
23196 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23197 if test "${ac_cv_header_expat_h+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 fi
23200 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23201 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23202 else
23203 # Is the header compilable?
23204 echo "$as_me:$LINENO: checking expat.h usability" >&5
23205 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23206 cat >conftest.$ac_ext <<_ACEOF
23207 /* confdefs.h. */
23208 _ACEOF
23209 cat confdefs.h >>conftest.$ac_ext
23210 cat >>conftest.$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23212 $ac_includes_default
23213 #include <expat.h>
23214 _ACEOF
23215 rm -f conftest.$ac_objext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23217 (eval $ac_compile) 2>conftest.er1
23218 ac_status=$?
23219 grep -v '^ *+' conftest.er1 >conftest.err
23220 rm -f conftest.er1
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try='test -s conftest.$ac_objext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_header_compiler=yes
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 ac_header_compiler=no
23242 fi
23243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23245 echo "${ECHO_T}$ac_header_compiler" >&6
23246
23247 # Is the header present?
23248 echo "$as_me:$LINENO: checking expat.h presence" >&5
23249 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 #include <expat.h>
23257 _ACEOF
23258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23260 ac_status=$?
23261 grep -v '^ *+' conftest.er1 >conftest.err
23262 rm -f conftest.er1
23263 cat conftest.err >&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } >/dev/null; then
23266 if test -s conftest.err; then
23267 ac_cpp_err=$ac_c_preproc_warn_flag
23268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23269 else
23270 ac_cpp_err=
23271 fi
23272 else
23273 ac_cpp_err=yes
23274 fi
23275 if test -z "$ac_cpp_err"; then
23276 ac_header_preproc=yes
23277 else
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23280
23281 ac_header_preproc=no
23282 fi
23283 rm -f conftest.err conftest.$ac_ext
23284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23285 echo "${ECHO_T}$ac_header_preproc" >&6
23286
23287 # So? What about this header?
23288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23289 yes:no: )
23290 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23291 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23292 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23293 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23294 ac_header_preproc=yes
23295 ;;
23296 no:yes:* )
23297 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23298 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23300 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23302 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23304 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23306 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23308 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23309 (
23310 cat <<\_ASBOX
23311 ## ----------------------------------------- ##
23312 ## Report this to wx-dev@lists.wxwidgets.org ##
23313 ## ----------------------------------------- ##
23314 _ASBOX
23315 ) |
23316 sed "s/^/$as_me: WARNING: /" >&2
23317 ;;
23318 esac
23319 echo "$as_me:$LINENO: checking for expat.h" >&5
23320 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23321 if test "${ac_cv_header_expat_h+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 else
23324 ac_cv_header_expat_h=$ac_header_preproc
23325 fi
23326 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23327 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23328
23329 fi
23330 if test $ac_cv_header_expat_h = yes; then
23331 found_expat_h=1
23332 fi
23333
23334
23335 if test "x$found_expat_h" = "x1"; then
23336 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23337 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23338 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23339 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 else
23341
23342
23343
23344 ac_ext=cc
23345 ac_cpp='$CXXCPP $CPPFLAGS'
23346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23349
23350 cat >conftest.$ac_ext <<_ACEOF
23351 /* confdefs.h. */
23352 _ACEOF
23353 cat confdefs.h >>conftest.$ac_ext
23354 cat >>conftest.$ac_ext <<_ACEOF
23355 /* end confdefs.h. */
23356 #include <expat.h>
23357 int
23358 main ()
23359 {
23360
23361 ;
23362 return 0;
23363 }
23364 _ACEOF
23365 rm -f conftest.$ac_objext
23366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23367 (eval $ac_compile) 2>conftest.er1
23368 ac_status=$?
23369 grep -v '^ *+' conftest.er1 >conftest.err
23370 rm -f conftest.er1
23371 cat conftest.err >&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } &&
23374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23376 (eval $ac_try) 2>&5
23377 ac_status=$?
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); }; } &&
23380 { ac_try='test -s conftest.$ac_objext'
23381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23382 (eval $ac_try) 2>&5
23383 ac_status=$?
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; }; then
23386 wx_cv_expat_is_not_broken=yes
23387 else
23388 echo "$as_me: failed program was:" >&5
23389 sed 's/^/| /' conftest.$ac_ext >&5
23390
23391 wx_cv_expat_is_not_broken=no
23392
23393 fi
23394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23395 ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401
23402
23403 fi
23404 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23405 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23406 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23407 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23408 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23409 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23410 echo $ECHO_N "(cached) $ECHO_C" >&6
23411 else
23412 ac_check_lib_save_LIBS=$LIBS
23413 LIBS="-lexpat $LIBS"
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420
23421 /* Override any gcc2 internal prototype to avoid an error. */
23422 #ifdef __cplusplus
23423 extern "C"
23424 #endif
23425 /* We use char because int might match the return type of a gcc2
23426 builtin and then its argument prototype would still apply. */
23427 char XML_ParserCreate ();
23428 int
23429 main ()
23430 {
23431 XML_ParserCreate ();
23432 ;
23433 return 0;
23434 }
23435 _ACEOF
23436 rm -f conftest.$ac_objext conftest$ac_exeext
23437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23438 (eval $ac_link) 2>conftest.er1
23439 ac_status=$?
23440 grep -v '^ *+' conftest.er1 >conftest.err
23441 rm -f conftest.er1
23442 cat conftest.err >&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); } &&
23445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23448 ac_status=$?
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_lib_expat_XML_ParserCreate=yes
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23461
23462 ac_cv_lib_expat_XML_ParserCreate=no
23463 fi
23464 rm -f conftest.err conftest.$ac_objext \
23465 conftest$ac_exeext conftest.$ac_ext
23466 LIBS=$ac_check_lib_save_LIBS
23467 fi
23468 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23469 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23470 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23471 EXPAT_LINK=" -lexpat"
23472 fi
23473
23474 fi
23475 fi
23476 if test "x$EXPAT_LINK" = "x" ; then
23477 if test "$wxUSE_EXPAT" = "sys" ; then
23478 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23479 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23480 { (exit 1); exit 1; }; }
23481 else
23482 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23483 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23484 wxUSE_EXPAT=builtin
23485 fi
23486 else
23487 wxUSE_EXPAT=sys
23488 fi
23489 fi
23490 if test "$wxUSE_EXPAT" = "builtin" ; then
23491
23492
23493 subdirs="$subdirs src/expat"
23494
23495 fi
23496 fi
23497
23498
23499
23500 if test "$wxUSE_LIBMSPACK" != "no"; then
23501 if test "${ac_cv_header_mspack_h+set}" = set; then
23502 echo "$as_me:$LINENO: checking for mspack.h" >&5
23503 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23504 if test "${ac_cv_header_mspack_h+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23506 fi
23507 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23508 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23509 else
23510 # Is the header compilable?
23511 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23512 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 $ac_includes_default
23520 #include <mspack.h>
23521 _ACEOF
23522 rm -f conftest.$ac_objext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23524 (eval $ac_compile) 2>conftest.er1
23525 ac_status=$?
23526 grep -v '^ *+' conftest.er1 >conftest.err
23527 rm -f conftest.er1
23528 cat conftest.err >&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; } &&
23537 { ac_try='test -s conftest.$ac_objext'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23540 ac_status=$?
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; }; then
23543 ac_header_compiler=yes
23544 else
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.$ac_ext >&5
23547
23548 ac_header_compiler=no
23549 fi
23550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23552 echo "${ECHO_T}$ac_header_compiler" >&6
23553
23554 # Is the header present?
23555 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23556 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23557 cat >conftest.$ac_ext <<_ACEOF
23558 /* confdefs.h. */
23559 _ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563 #include <mspack.h>
23564 _ACEOF
23565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } >/dev/null; then
23573 if test -s conftest.err; then
23574 ac_cpp_err=$ac_c_preproc_warn_flag
23575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23576 else
23577 ac_cpp_err=
23578 fi
23579 else
23580 ac_cpp_err=yes
23581 fi
23582 if test -z "$ac_cpp_err"; then
23583 ac_header_preproc=yes
23584 else
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.$ac_ext >&5
23587
23588 ac_header_preproc=no
23589 fi
23590 rm -f conftest.err conftest.$ac_ext
23591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23592 echo "${ECHO_T}$ac_header_preproc" >&6
23593
23594 # So? What about this header?
23595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23596 yes:no: )
23597 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23598 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23599 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23600 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23601 ac_header_preproc=yes
23602 ;;
23603 no:yes:* )
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23605 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23607 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23609 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23611 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23612 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23613 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23614 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23615 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23616 (
23617 cat <<\_ASBOX
23618 ## ----------------------------------------- ##
23619 ## Report this to wx-dev@lists.wxwidgets.org ##
23620 ## ----------------------------------------- ##
23621 _ASBOX
23622 ) |
23623 sed "s/^/$as_me: WARNING: /" >&2
23624 ;;
23625 esac
23626 echo "$as_me:$LINENO: checking for mspack.h" >&5
23627 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23628 if test "${ac_cv_header_mspack_h+set}" = set; then
23629 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 else
23631 ac_cv_header_mspack_h=$ac_header_preproc
23632 fi
23633 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23634 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23635
23636 fi
23637 if test $ac_cv_header_mspack_h = yes; then
23638 found_mspack_h=1
23639 fi
23640
23641
23642 if test "x$found_mspack_h" = "x1"; then
23643 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23644 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23645 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 else
23648 ac_check_lib_save_LIBS=$LIBS
23649 LIBS="-lmspack $LIBS"
23650 cat >conftest.$ac_ext <<_ACEOF
23651 /* confdefs.h. */
23652 _ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656
23657 /* Override any gcc2 internal prototype to avoid an error. */
23658 #ifdef __cplusplus
23659 extern "C"
23660 #endif
23661 /* We use char because int might match the return type of a gcc2
23662 builtin and then its argument prototype would still apply. */
23663 char mspack_create_chm_decompressor ();
23664 int
23665 main ()
23666 {
23667 mspack_create_chm_decompressor ();
23668 ;
23669 return 0;
23670 }
23671 _ACEOF
23672 rm -f conftest.$ac_objext conftest$ac_exeext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23674 (eval $ac_link) 2>conftest.er1
23675 ac_status=$?
23676 grep -v '^ *+' conftest.er1 >conftest.err
23677 rm -f conftest.er1
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23684 ac_status=$?
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; } &&
23687 { ac_try='test -s conftest$ac_exeext'
23688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689 (eval $ac_try) 2>&5
23690 ac_status=$?
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); }; }; then
23693 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23694 else
23695 echo "$as_me: failed program was:" >&5
23696 sed 's/^/| /' conftest.$ac_ext >&5
23697
23698 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23699 fi
23700 rm -f conftest.err conftest.$ac_objext \
23701 conftest$ac_exeext conftest.$ac_ext
23702 LIBS=$ac_check_lib_save_LIBS
23703 fi
23704 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23705 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23706 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23707 MSPACK_LINK=" -lmspack"
23708 fi
23709
23710 fi
23711 if test "x$MSPACK_LINK" = "x" ; then
23712 wxUSE_LIBMSPACK=no
23713 fi
23714 fi
23715
23716 if test "$wxUSE_LIBMSPACK" != "no"; then
23717 cat >>confdefs.h <<\_ACEOF
23718 #define wxUSE_LIBMSPACK 1
23719 _ACEOF
23720
23721 fi
23722
23723
23724
23725 AFMINSTALL=
23726 WIN32INSTALL=
23727
23728 TOOLKIT=
23729 TOOLKIT_INCLUDE=
23730 WIDGET_SET=
23731
23732 if test "$USE_WIN32" = 1 ; then
23733
23734 for ac_header in w32api.h
23735 do
23736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23738 echo "$as_me:$LINENO: checking for $ac_header" >&5
23739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23741 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 fi
23743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23745 else
23746 # Is the header compilable?
23747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23749 cat >conftest.$ac_ext <<_ACEOF
23750 /* confdefs.h. */
23751 _ACEOF
23752 cat confdefs.h >>conftest.$ac_ext
23753 cat >>conftest.$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23755 $ac_includes_default
23756 #include <$ac_header>
23757 _ACEOF
23758 rm -f conftest.$ac_objext
23759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23760 (eval $ac_compile) 2>conftest.er1
23761 ac_status=$?
23762 grep -v '^ *+' conftest.er1 >conftest.err
23763 rm -f conftest.er1
23764 cat conftest.err >&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; } &&
23773 { ac_try='test -s conftest.$ac_objext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 ac_header_compiler=yes
23780 else
23781 echo "$as_me: failed program was:" >&5
23782 sed 's/^/| /' conftest.$ac_ext >&5
23783
23784 ac_header_compiler=no
23785 fi
23786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23788 echo "${ECHO_T}$ac_header_compiler" >&6
23789
23790 # Is the header present?
23791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23793 cat >conftest.$ac_ext <<_ACEOF
23794 /* confdefs.h. */
23795 _ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799 #include <$ac_header>
23800 _ACEOF
23801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23803 ac_status=$?
23804 grep -v '^ *+' conftest.er1 >conftest.err
23805 rm -f conftest.er1
23806 cat conftest.err >&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } >/dev/null; then
23809 if test -s conftest.err; then
23810 ac_cpp_err=$ac_c_preproc_warn_flag
23811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23812 else
23813 ac_cpp_err=
23814 fi
23815 else
23816 ac_cpp_err=yes
23817 fi
23818 if test -z "$ac_cpp_err"; then
23819 ac_header_preproc=yes
23820 else
23821 echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23823
23824 ac_header_preproc=no
23825 fi
23826 rm -f conftest.err conftest.$ac_ext
23827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23828 echo "${ECHO_T}$ac_header_preproc" >&6
23829
23830 # So? What about this header?
23831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23832 yes:no: )
23833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23837 ac_header_preproc=yes
23838 ;;
23839 no:yes:* )
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23852 (
23853 cat <<\_ASBOX
23854 ## ----------------------------------------- ##
23855 ## Report this to wx-dev@lists.wxwidgets.org ##
23856 ## ----------------------------------------- ##
23857 _ASBOX
23858 ) |
23859 sed "s/^/$as_me: WARNING: /" >&2
23860 ;;
23861 esac
23862 echo "$as_me:$LINENO: checking for $ac_header" >&5
23863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23866 else
23867 eval "$as_ac_Header=\$ac_header_preproc"
23868 fi
23869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23871
23872 fi
23873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23874 cat >>confdefs.h <<_ACEOF
23875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23876 _ACEOF
23877
23878 fi
23879
23880 done
23881
23882 if test "${ac_cv_header_windows_h+set}" = set; then
23883 echo "$as_me:$LINENO: checking for windows.h" >&5
23884 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23885 if test "${ac_cv_header_windows_h+set}" = set; then
23886 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 fi
23888 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23889 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23890 else
23891 # Is the header compilable?
23892 echo "$as_me:$LINENO: checking windows.h usability" >&5
23893 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h. */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 $ac_includes_default
23901 #include <windows.h>
23902 _ACEOF
23903 rm -f conftest.$ac_objext
23904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23905 (eval $ac_compile) 2>conftest.er1
23906 ac_status=$?
23907 grep -v '^ *+' conftest.er1 >conftest.err
23908 rm -f conftest.er1
23909 cat conftest.err >&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } &&
23912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914 (eval $ac_try) 2>&5
23915 ac_status=$?
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; } &&
23918 { ac_try='test -s conftest.$ac_objext'
23919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23920 (eval $ac_try) 2>&5
23921 ac_status=$?
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; }; then
23924 ac_header_compiler=yes
23925 else
23926 echo "$as_me: failed program was:" >&5
23927 sed 's/^/| /' conftest.$ac_ext >&5
23928
23929 ac_header_compiler=no
23930 fi
23931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23933 echo "${ECHO_T}$ac_header_compiler" >&6
23934
23935 # Is the header present?
23936 echo "$as_me:$LINENO: checking windows.h presence" >&5
23937 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 #include <windows.h>
23945 _ACEOF
23946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23948 ac_status=$?
23949 grep -v '^ *+' conftest.er1 >conftest.err
23950 rm -f conftest.er1
23951 cat conftest.err >&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } >/dev/null; then
23954 if test -s conftest.err; then
23955 ac_cpp_err=$ac_c_preproc_warn_flag
23956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23957 else
23958 ac_cpp_err=
23959 fi
23960 else
23961 ac_cpp_err=yes
23962 fi
23963 if test -z "$ac_cpp_err"; then
23964 ac_header_preproc=yes
23965 else
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.$ac_ext >&5
23968
23969 ac_header_preproc=no
23970 fi
23971 rm -f conftest.err conftest.$ac_ext
23972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23973 echo "${ECHO_T}$ac_header_preproc" >&6
23974
23975 # So? What about this header?
23976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23977 yes:no: )
23978 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23979 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23981 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23982 ac_header_preproc=yes
23983 ;;
23984 no:yes:* )
23985 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23986 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23988 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23990 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23992 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23993 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23994 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23995 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23996 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23997 (
23998 cat <<\_ASBOX
23999 ## ----------------------------------------- ##
24000 ## Report this to wx-dev@lists.wxwidgets.org ##
24001 ## ----------------------------------------- ##
24002 _ASBOX
24003 ) |
24004 sed "s/^/$as_me: WARNING: /" >&2
24005 ;;
24006 esac
24007 echo "$as_me:$LINENO: checking for windows.h" >&5
24008 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24009 if test "${ac_cv_header_windows_h+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012 ac_cv_header_windows_h=$ac_header_preproc
24013 fi
24014 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24015 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24016
24017 fi
24018 if test $ac_cv_header_windows_h = yes; then
24019 :
24020 else
24021
24022 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24023 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24024 { (exit 1); exit 1; }; }
24025
24026 fi
24027
24028
24029
24030 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24031
24032 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24033 LIBS="$LIBS -loleacc"
24034 fi
24035
24036 case "${host}" in
24037 *-*-cygwin* )
24038 LIBS="$LIBS -lkernel32 -luser32"
24039 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24040 esac
24041
24042 if test "$wxUSE_ODBC" = "sys" ; then
24043 wxUSE_ODBC = "yes"
24044 fi
24045 if test "$wxUSE_ODBC" = "yes" ; then
24046 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24047 cat >>confdefs.h <<\_ACEOF
24048 #define wxUSE_ODBC 1
24049 _ACEOF
24050
24051 fi
24052
24053 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24054 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24055
24056 WIN32INSTALL=win32install
24057 fi
24058
24059 if test "$wxUSE_GUI" = "yes"; then
24060 USE_GUI=1
24061
24062 GUI_TK_LIBRARY=
24063
24064 WXGTK12=
24065 WXGTK127=
24066 WXGTK20=
24067 WXGPE=
24068
24069 if test "$wxUSE_COCOA" = 1 ; then
24070 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24071 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24072 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24073 wxUSE_PRINTING_ARCHITECTURE=no
24074 fi
24075 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24076 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24077 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24078 wxUSE_DRAG_AND_DROP=no
24079 fi
24080 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24081 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24082 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24083 wxUSE_DRAGIMAGE=no
24084 fi
24085 fi
24086
24087 if test "$wxUSE_MSW" = 1 ; then
24088 TOOLKIT=MSW
24089 GUIDIST=MSW_DIST
24090
24091 case "${host}" in
24092 *-*-mingw32* )
24093 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24094 esac
24095 fi
24096
24097 if test "$wxUSE_GTK" = 1; then
24098 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24099 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24100
24101 gtk_version_cached=1
24102 if test "${wx_cv_lib_gtk+set}" = set; then
24103 echo $ECHO_N "(cached) $ECHO_C" >&6
24104 else
24105
24106 gtk_version_cached=0
24107 echo "$as_me:$LINENO: result: " >&5
24108 echo "${ECHO_T}" >&6
24109
24110 GTK_MODULES=
24111 if test "$wxUSE_THREADS" = "yes"; then
24112 GTK_MODULES=gthread
24113 fi
24114
24115 wx_cv_lib_gtk=
24116 if test "x$wxUSE_GTK2" = "xyes"; then
24117 # Check whether --enable-gtktest or --disable-gtktest was given.
24118 if test "${enable_gtktest+set}" = set; then
24119 enableval="$enable_gtktest"
24120
24121 else
24122 enable_gtktest=yes
24123 fi;
24124
24125 pkg_config_args=gtk+-2.0
24126 for module in . $GTK_MODULES
24127 do
24128 case "$module" in
24129 gthread)
24130 pkg_config_args="$pkg_config_args gthread-2.0"
24131 ;;
24132 esac
24133 done
24134
24135 no_gtk=""
24136
24137 # Extract the first word of "pkg-config", so it can be a program name with args.
24138 set dummy pkg-config; ac_word=$2
24139 echo "$as_me:$LINENO: checking for $ac_word" >&5
24140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24142 echo $ECHO_N "(cached) $ECHO_C" >&6
24143 else
24144 case $PKG_CONFIG in
24145 [\\/]* | ?:[\\/]*)
24146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24147 ;;
24148 *)
24149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24150 for as_dir in $PATH
24151 do
24152 IFS=$as_save_IFS
24153 test -z "$as_dir" && as_dir=.
24154 for ac_exec_ext in '' $ac_executable_extensions; do
24155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24158 break 2
24159 fi
24160 done
24161 done
24162
24163 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24164 ;;
24165 esac
24166 fi
24167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24168
24169 if test -n "$PKG_CONFIG"; then
24170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24171 echo "${ECHO_T}$PKG_CONFIG" >&6
24172 else
24173 echo "$as_me:$LINENO: result: no" >&5
24174 echo "${ECHO_T}no" >&6
24175 fi
24176
24177
24178 if test x$PKG_CONFIG != xno ; then
24179 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24180 :
24181 else
24182 echo "*** pkg-config too old; version 0.7 or better required."
24183 no_gtk=yes
24184 PKG_CONFIG=no
24185 fi
24186 else
24187 no_gtk=yes
24188 fi
24189
24190 min_gtk_version=2.0.0
24191 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24192 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24193
24194 if test x$PKG_CONFIG != xno ; then
24195 ## don't try to run the test against uninstalled libtool libs
24196 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24197 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24198 enable_gtktest=no
24199 fi
24200
24201 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24202 :
24203 else
24204 no_gtk=yes
24205 fi
24206 fi
24207
24208 if test x"$no_gtk" = x ; then
24209 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24210 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24211 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24213 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24215 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24217 if test "x$enable_gtktest" = "xyes" ; then
24218 ac_save_CFLAGS="$CFLAGS"
24219 ac_save_LIBS="$LIBS"
24220 CFLAGS="$CFLAGS $GTK_CFLAGS"
24221 LIBS="$GTK_LIBS $LIBS"
24222 rm -f conf.gtktest
24223 if test "$cross_compiling" = yes; then
24224 echo $ac_n "cross compiling; assumed OK... $ac_c"
24225 else
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h. */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232
24233 #include <gtk/gtk.h>
24234 #include <stdio.h>
24235 #include <stdlib.h>
24236
24237 int
24238 main ()
24239 {
24240 int major, minor, micro;
24241 char *tmp_version;
24242
24243 system ("touch conf.gtktest");
24244
24245 /* HP/UX 9 (%@#!) writes to sscanf strings */
24246 tmp_version = g_strdup("$min_gtk_version");
24247 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24248 printf("%s, bad version string\n", "$min_gtk_version");
24249 exit(1);
24250 }
24251
24252 if ((gtk_major_version != $gtk_config_major_version) ||
24253 (gtk_minor_version != $gtk_config_minor_version) ||
24254 (gtk_micro_version != $gtk_config_micro_version))
24255 {
24256 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24257 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24258 gtk_major_version, gtk_minor_version, gtk_micro_version);
24259 printf ("*** was found! If pkg-config was correct, then it is best\n");
24260 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24261 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24262 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24263 printf("*** required on your system.\n");
24264 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24265 printf("*** to point to the correct configuration files\n");
24266 }
24267 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24268 (gtk_minor_version != GTK_MINOR_VERSION) ||
24269 (gtk_micro_version != GTK_MICRO_VERSION))
24270 {
24271 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24272 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24273 printf("*** library (version %d.%d.%d)\n",
24274 gtk_major_version, gtk_minor_version, gtk_micro_version);
24275 }
24276 else
24277 {
24278 if ((gtk_major_version > major) ||
24279 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24280 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24281 {
24282 return 0;
24283 }
24284 else
24285 {
24286 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24287 gtk_major_version, gtk_minor_version, gtk_micro_version);
24288 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24289 major, minor, micro);
24290 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24291 printf("***\n");
24292 printf("*** If you have already installed a sufficiently new version, this error\n");
24293 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24294 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24295 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24296 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24297 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24298 printf("*** so that the correct libraries are found at run-time))\n");
24299 }
24300 }
24301 return 1;
24302 }
24303
24304 _ACEOF
24305 rm -f conftest$ac_exeext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24307 (eval $ac_link) 2>&5
24308 ac_status=$?
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24312 (eval $ac_try) 2>&5
24313 ac_status=$?
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); }; }; then
24316 :
24317 else
24318 echo "$as_me: program exited with status $ac_status" >&5
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24321
24322 ( exit $ac_status )
24323 no_gtk=yes
24324 fi
24325 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24326 fi
24327 CFLAGS="$ac_save_CFLAGS"
24328 LIBS="$ac_save_LIBS"
24329 fi
24330 fi
24331 if test "x$no_gtk" = x ; then
24332 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24333 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24334 wx_cv_lib_gtk=2.0
24335 else
24336 echo "$as_me:$LINENO: result: no" >&5
24337 echo "${ECHO_T}no" >&6
24338 if test "$PKG_CONFIG" = "no" ; then
24339 echo "*** A new enough version of pkg-config was not found."
24340 echo "*** See http://pkgconfig.sourceforge.net"
24341 else
24342 if test -f conf.gtktest ; then
24343 :
24344 else
24345 echo "*** Could not run GTK+ test program, checking why..."
24346 ac_save_CFLAGS="$CFLAGS"
24347 ac_save_LIBS="$LIBS"
24348 CFLAGS="$CFLAGS $GTK_CFLAGS"
24349 LIBS="$LIBS $GTK_LIBS"
24350 cat >conftest.$ac_ext <<_ACEOF
24351 /* confdefs.h. */
24352 _ACEOF
24353 cat confdefs.h >>conftest.$ac_ext
24354 cat >>conftest.$ac_ext <<_ACEOF
24355 /* end confdefs.h. */
24356
24357 #include <gtk/gtk.h>
24358 #include <stdio.h>
24359
24360 int
24361 main ()
24362 {
24363 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
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" || test ! -s conftest.err'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24380 ac_status=$?
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; } &&
24383 { ac_try='test -s conftest$ac_exeext'
24384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385 (eval $ac_try) 2>&5
24386 ac_status=$?
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); }; }; then
24389 echo "*** The test program compiled, but did not run. This usually means"
24390 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24391 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24392 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24393 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24394 echo "*** is required on your system"
24395 echo "***"
24396 echo "*** If you have an old version installed, it is best to remove it, although"
24397 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24398 else
24399 echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.$ac_ext >&5
24401
24402 echo "*** The test program failed to compile or link. See the file config.log for the"
24403 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24404 fi
24405 rm -f conftest.err conftest.$ac_objext \
24406 conftest$ac_exeext conftest.$ac_ext
24407 CFLAGS="$ac_save_CFLAGS"
24408 LIBS="$ac_save_LIBS"
24409 fi
24410 fi
24411 GTK_CFLAGS=""
24412 GTK_LIBS=""
24413 :
24414 fi
24415
24416
24417 rm -f conf.gtktest
24418
24419 else
24420
24421 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24422 if test "${with_gtk_prefix+set}" = set; then
24423 withval="$with_gtk_prefix"
24424 gtk_config_prefix="$withval"
24425 else
24426 gtk_config_prefix=""
24427 fi;
24428
24429 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24430 if test "${with_gtk_exec_prefix+set}" = set; then
24431 withval="$with_gtk_exec_prefix"
24432 gtk_config_exec_prefix="$withval"
24433 else
24434 gtk_config_exec_prefix=""
24435 fi;
24436 # Check whether --enable-gtktest or --disable-gtktest was given.
24437 if test "${enable_gtktest+set}" = set; then
24438 enableval="$enable_gtktest"
24439
24440 else
24441 enable_gtktest=yes
24442 fi;
24443
24444 for module in . $GTK_MODULES
24445 do
24446 case "$module" in
24447 gthread)
24448 gtk_config_args="$gtk_config_args gthread"
24449 ;;
24450 esac
24451 done
24452
24453 if test x$gtk_config_exec_prefix != x ; then
24454 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24455 if test x${GTK_CONFIG+set} != xset ; then
24456 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24457 fi
24458 fi
24459 if test x$gtk_config_prefix != x ; then
24460 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24461 if test x${GTK_CONFIG+set} != xset ; then
24462 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24463 fi
24464 fi
24465
24466 # Extract the first word of "gtk-config", so it can be a program name with args.
24467 set dummy gtk-config; ac_word=$2
24468 echo "$as_me:$LINENO: checking for $ac_word" >&5
24469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24470 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24471 echo $ECHO_N "(cached) $ECHO_C" >&6
24472 else
24473 case $GTK_CONFIG in
24474 [\\/]* | ?:[\\/]*)
24475 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24476 ;;
24477 *)
24478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24479 for as_dir in $PATH
24480 do
24481 IFS=$as_save_IFS
24482 test -z "$as_dir" && as_dir=.
24483 for ac_exec_ext in '' $ac_executable_extensions; do
24484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24485 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24487 break 2
24488 fi
24489 done
24490 done
24491
24492 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24493 ;;
24494 esac
24495 fi
24496 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24497
24498 if test -n "$GTK_CONFIG"; then
24499 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24500 echo "${ECHO_T}$GTK_CONFIG" >&6
24501 else
24502 echo "$as_me:$LINENO: result: no" >&5
24503 echo "${ECHO_T}no" >&6
24504 fi
24505
24506 min_gtk_version=1.2.7
24507 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24508 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24509 no_gtk=""
24510 if test "$GTK_CONFIG" = "no" ; then
24511 no_gtk=yes
24512 else
24513 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24514 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24515 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24517 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24519 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24521 if test "x$enable_gtktest" = "xyes" ; then
24522 ac_save_CFLAGS="$CFLAGS"
24523 ac_save_LIBS="$LIBS"
24524 CFLAGS="$CFLAGS $GTK_CFLAGS"
24525 LIBS="$GTK_LIBS $LIBS"
24526 rm -f conf.gtktest
24527 if test "$cross_compiling" = yes; then
24528 echo $ac_n "cross compiling; assumed OK... $ac_c"
24529 else
24530 cat >conftest.$ac_ext <<_ACEOF
24531 /* confdefs.h. */
24532 _ACEOF
24533 cat confdefs.h >>conftest.$ac_ext
24534 cat >>conftest.$ac_ext <<_ACEOF
24535 /* end confdefs.h. */
24536
24537 #include <gtk/gtk.h>
24538 #include <stdio.h>
24539 #include <stdlib.h>
24540
24541 int
24542 main ()
24543 {
24544 int major, minor, micro;
24545 char *tmp_version;
24546
24547 system ("touch conf.gtktest");
24548
24549 /* HP/UX 9 (%@#!) writes to sscanf strings */
24550 tmp_version = g_strdup("$min_gtk_version");
24551 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24552 printf("%s, bad version string\n", "$min_gtk_version");
24553 exit(1);
24554 }
24555
24556 if ((gtk_major_version != $gtk_config_major_version) ||
24557 (gtk_minor_version != $gtk_config_minor_version) ||
24558 (gtk_micro_version != $gtk_config_micro_version))
24559 {
24560 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24561 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24562 gtk_major_version, gtk_minor_version, gtk_micro_version);
24563 printf ("*** was found! If gtk-config was correct, then it is best\n");
24564 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24565 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24566 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24567 printf("*** required on your system.\n");
24568 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24569 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24570 printf("*** before re-running configure\n");
24571 }
24572 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24573 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24574 (gtk_minor_version != GTK_MINOR_VERSION) ||
24575 (gtk_micro_version != GTK_MICRO_VERSION))
24576 {
24577 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24578 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24579 printf("*** library (version %d.%d.%d)\n",
24580 gtk_major_version, gtk_minor_version, gtk_micro_version);
24581 }
24582 #endif /* defined (GTK_MAJOR_VERSION) ... */
24583 else
24584 {
24585 if ((gtk_major_version > major) ||
24586 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24587 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24588 {
24589 return 0;
24590 }
24591 else
24592 {
24593 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24594 gtk_major_version, gtk_minor_version, gtk_micro_version);
24595 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24596 major, minor, micro);
24597 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24598 printf("***\n");
24599 printf("*** If you have already installed a sufficiently new version, this error\n");
24600 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24601 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24602 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24603 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24604 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24605 printf("*** so that the correct libraries are found at run-time))\n");
24606 }
24607 }
24608 return 1;
24609 }
24610
24611 _ACEOF
24612 rm -f conftest$ac_exeext
24613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24614 (eval $ac_link) 2>&5
24615 ac_status=$?
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24620 ac_status=$?
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24623 :
24624 else
24625 echo "$as_me: program exited with status $ac_status" >&5
24626 echo "$as_me: failed program was:" >&5
24627 sed 's/^/| /' conftest.$ac_ext >&5
24628
24629 ( exit $ac_status )
24630 no_gtk=yes
24631 fi
24632 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24633 fi
24634 CFLAGS="$ac_save_CFLAGS"
24635 LIBS="$ac_save_LIBS"
24636 fi
24637 fi
24638 if test "x$no_gtk" = x ; then
24639 echo "$as_me:$LINENO: result: yes" >&5
24640 echo "${ECHO_T}yes" >&6
24641 wx_cv_lib_gtk=1.2.7
24642 else
24643 echo "$as_me:$LINENO: result: no" >&5
24644 echo "${ECHO_T}no" >&6
24645 if test "$GTK_CONFIG" = "no" ; then
24646 echo "*** The gtk-config script installed by GTK could not be found"
24647 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24648 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24649 echo "*** full path to gtk-config."
24650 else
24651 if test -f conf.gtktest ; then
24652 :
24653 else
24654 echo "*** Could not run GTK test program, checking why..."
24655 CFLAGS="$CFLAGS $GTK_CFLAGS"
24656 LIBS="$LIBS $GTK_LIBS"
24657 cat >conftest.$ac_ext <<_ACEOF
24658 /* confdefs.h. */
24659 _ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24663
24664 #include <gtk/gtk.h>
24665 #include <stdio.h>
24666
24667 int
24668 main ()
24669 {
24670 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24671 ;
24672 return 0;
24673 }
24674 _ACEOF
24675 rm -f conftest.$ac_objext conftest$ac_exeext
24676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24677 (eval $ac_link) 2>conftest.er1
24678 ac_status=$?
24679 grep -v '^ *+' conftest.er1 >conftest.err
24680 rm -f conftest.er1
24681 cat conftest.err >&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } &&
24684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686 (eval $ac_try) 2>&5
24687 ac_status=$?
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); }; } &&
24690 { ac_try='test -s conftest$ac_exeext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24693 ac_status=$?
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24696 echo "*** The test program compiled, but did not run. This usually means"
24697 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24698 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24699 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24700 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24701 echo "*** is required on your system"
24702 echo "***"
24703 echo "*** If you have an old version installed, it is best to remove it, although"
24704 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24705 echo "***"
24706 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24707 echo "*** came with the system with the command"
24708 echo "***"
24709 echo "*** rpm --erase --nodeps gtk gtk-devel"
24710 else
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.$ac_ext >&5
24713
24714 echo "*** The test program failed to compile or link. See the file config.log for the"
24715 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24716 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24717 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24718 fi
24719 rm -f conftest.err conftest.$ac_objext \
24720 conftest$ac_exeext conftest.$ac_ext
24721 CFLAGS="$ac_save_CFLAGS"
24722 LIBS="$ac_save_LIBS"
24723 fi
24724 fi
24725 GTK_CFLAGS=""
24726 GTK_LIBS=""
24727 :
24728 fi
24729
24730
24731 rm -f conf.gtktest
24732
24733
24734 if test -z "$wx_cv_lib_gtk"; then
24735
24736 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24737 if test "${with_gtk_prefix+set}" = set; then
24738 withval="$with_gtk_prefix"
24739 gtk_config_prefix="$withval"
24740 else
24741 gtk_config_prefix=""
24742 fi;
24743
24744 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24745 if test "${with_gtk_exec_prefix+set}" = set; then
24746 withval="$with_gtk_exec_prefix"
24747 gtk_config_exec_prefix="$withval"
24748 else
24749 gtk_config_exec_prefix=""
24750 fi;
24751 # Check whether --enable-gtktest or --disable-gtktest was given.
24752 if test "${enable_gtktest+set}" = set; then
24753 enableval="$enable_gtktest"
24754
24755 else
24756 enable_gtktest=yes
24757 fi;
24758
24759 for module in . $GTK_MODULES
24760 do
24761 case "$module" in
24762 gthread)
24763 gtk_config_args="$gtk_config_args gthread"
24764 ;;
24765 esac
24766 done
24767
24768 if test x$gtk_config_exec_prefix != x ; then
24769 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24770 if test x${GTK_CONFIG+set} != xset ; then
24771 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24772 fi
24773 fi
24774 if test x$gtk_config_prefix != x ; then
24775 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24776 if test x${GTK_CONFIG+set} != xset ; then
24777 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24778 fi
24779 fi
24780
24781 # Extract the first word of "gtk-config", so it can be a program name with args.
24782 set dummy gtk-config; ac_word=$2
24783 echo "$as_me:$LINENO: checking for $ac_word" >&5
24784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24785 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 else
24788 case $GTK_CONFIG in
24789 [\\/]* | ?:[\\/]*)
24790 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24791 ;;
24792 *)
24793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24794 for as_dir in $PATH
24795 do
24796 IFS=$as_save_IFS
24797 test -z "$as_dir" && as_dir=.
24798 for ac_exec_ext in '' $ac_executable_extensions; do
24799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24800 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24802 break 2
24803 fi
24804 done
24805 done
24806
24807 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24808 ;;
24809 esac
24810 fi
24811 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24812
24813 if test -n "$GTK_CONFIG"; then
24814 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24815 echo "${ECHO_T}$GTK_CONFIG" >&6
24816 else
24817 echo "$as_me:$LINENO: result: no" >&5
24818 echo "${ECHO_T}no" >&6
24819 fi
24820
24821 min_gtk_version=1.2.3
24822 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24823 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24824 no_gtk=""
24825 if test "$GTK_CONFIG" = "no" ; then
24826 no_gtk=yes
24827 else
24828 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24829 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24830 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24832 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24834 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24836 if test "x$enable_gtktest" = "xyes" ; then
24837 ac_save_CFLAGS="$CFLAGS"
24838 ac_save_LIBS="$LIBS"
24839 CFLAGS="$CFLAGS $GTK_CFLAGS"
24840 LIBS="$GTK_LIBS $LIBS"
24841 rm -f conf.gtktest
24842 if test "$cross_compiling" = yes; then
24843 echo $ac_n "cross compiling; assumed OK... $ac_c"
24844 else
24845 cat >conftest.$ac_ext <<_ACEOF
24846 /* confdefs.h. */
24847 _ACEOF
24848 cat confdefs.h >>conftest.$ac_ext
24849 cat >>conftest.$ac_ext <<_ACEOF
24850 /* end confdefs.h. */
24851
24852 #include <gtk/gtk.h>
24853 #include <stdio.h>
24854 #include <stdlib.h>
24855
24856 int
24857 main ()
24858 {
24859 int major, minor, micro;
24860 char *tmp_version;
24861
24862 system ("touch conf.gtktest");
24863
24864 /* HP/UX 9 (%@#!) writes to sscanf strings */
24865 tmp_version = g_strdup("$min_gtk_version");
24866 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24867 printf("%s, bad version string\n", "$min_gtk_version");
24868 exit(1);
24869 }
24870
24871 if ((gtk_major_version != $gtk_config_major_version) ||
24872 (gtk_minor_version != $gtk_config_minor_version) ||
24873 (gtk_micro_version != $gtk_config_micro_version))
24874 {
24875 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24876 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24877 gtk_major_version, gtk_minor_version, gtk_micro_version);
24878 printf ("*** was found! If gtk-config was correct, then it is best\n");
24879 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24880 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24881 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24882 printf("*** required on your system.\n");
24883 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24884 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24885 printf("*** before re-running configure\n");
24886 }
24887 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24888 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24889 (gtk_minor_version != GTK_MINOR_VERSION) ||
24890 (gtk_micro_version != GTK_MICRO_VERSION))
24891 {
24892 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24893 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24894 printf("*** library (version %d.%d.%d)\n",
24895 gtk_major_version, gtk_minor_version, gtk_micro_version);
24896 }
24897 #endif /* defined (GTK_MAJOR_VERSION) ... */
24898 else
24899 {
24900 if ((gtk_major_version > major) ||
24901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24903 {
24904 return 0;
24905 }
24906 else
24907 {
24908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24909 gtk_major_version, gtk_minor_version, gtk_micro_version);
24910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24911 major, minor, micro);
24912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24913 printf("***\n");
24914 printf("*** If you have already installed a sufficiently new version, this error\n");
24915 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24917 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24918 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24920 printf("*** so that the correct libraries are found at run-time))\n");
24921 }
24922 }
24923 return 1;
24924 }
24925
24926 _ACEOF
24927 rm -f conftest$ac_exeext
24928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24929 (eval $ac_link) 2>&5
24930 ac_status=$?
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 :
24939 else
24940 echo "$as_me: program exited with status $ac_status" >&5
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24943
24944 ( exit $ac_status )
24945 no_gtk=yes
24946 fi
24947 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24948 fi
24949 CFLAGS="$ac_save_CFLAGS"
24950 LIBS="$ac_save_LIBS"
24951 fi
24952 fi
24953 if test "x$no_gtk" = x ; then
24954 echo "$as_me:$LINENO: result: yes" >&5
24955 echo "${ECHO_T}yes" >&6
24956 wx_cv_lib_gtk=1.2.3
24957 else
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24960 if test "$GTK_CONFIG" = "no" ; then
24961 echo "*** The gtk-config script installed by GTK could not be found"
24962 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24963 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24964 echo "*** full path to gtk-config."
24965 else
24966 if test -f conf.gtktest ; then
24967 :
24968 else
24969 echo "*** Could not run GTK test program, checking why..."
24970 CFLAGS="$CFLAGS $GTK_CFLAGS"
24971 LIBS="$LIBS $GTK_LIBS"
24972 cat >conftest.$ac_ext <<_ACEOF
24973 /* confdefs.h. */
24974 _ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24978
24979 #include <gtk/gtk.h>
24980 #include <stdio.h>
24981
24982 int
24983 main ()
24984 {
24985 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24986 ;
24987 return 0;
24988 }
24989 _ACEOF
24990 rm -f conftest.$ac_objext conftest$ac_exeext
24991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24992 (eval $ac_link) 2>conftest.er1
24993 ac_status=$?
24994 grep -v '^ *+' conftest.er1 >conftest.err
24995 rm -f conftest.er1
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } &&
24999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25002 ac_status=$?
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; } &&
25005 { ac_try='test -s conftest$ac_exeext'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25008 ac_status=$?
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; }; then
25011 echo "*** The test program compiled, but did not run. This usually means"
25012 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25013 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25014 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25015 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25016 echo "*** is required on your system"
25017 echo "***"
25018 echo "*** If you have an old version installed, it is best to remove it, although"
25019 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25020 echo "***"
25021 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25022 echo "*** came with the system with the command"
25023 echo "***"
25024 echo "*** rpm --erase --nodeps gtk gtk-devel"
25025 else
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.$ac_ext >&5
25028
25029 echo "*** The test program failed to compile or link. See the file config.log for the"
25030 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25031 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25032 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25033 fi
25034 rm -f conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25036 CFLAGS="$ac_save_CFLAGS"
25037 LIBS="$ac_save_LIBS"
25038 fi
25039 fi
25040 GTK_CFLAGS=""
25041 GTK_LIBS=""
25042 :
25043 fi
25044
25045
25046 rm -f conf.gtktest
25047
25048 fi
25049 fi
25050
25051 if test -z "$wx_cv_lib_gtk"; then
25052 wx_cv_lib_gtk=none
25053 else
25054 wx_cv_cflags_gtk=$GTK_CFLAGS
25055 wx_cv_libs_gtk=$GTK_LIBS
25056 fi
25057
25058
25059 fi
25060
25061
25062 if test "$gtk_version_cached" = 1; then
25063 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25064 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25065 fi
25066
25067 case "$wx_cv_lib_gtk" in
25068 2.0) WXGTK20=1
25069 TOOLKIT_VERSION=2
25070 ;;
25071 1.2.7) WXGTK127=1
25072 WXGTK12=1
25073 ;;
25074 1.2.3) WXGTK12=1
25075 ;;
25076 *) { { echo "$as_me:$LINENO: error:
25077 Please check that gtk-config is in path, the directory
25078 where GTK+ libraries are installed (returned by
25079 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25080 equivalent variable and GTK+ is version 1.2.3 or above.
25081 " >&5
25082 echo "$as_me: error:
25083 Please check that gtk-config is in path, the directory
25084 where GTK+ libraries are installed (returned by
25085 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25086 equivalent variable and GTK+ is version 1.2.3 or above.
25087 " >&2;}
25088 { (exit 1); exit 1; }; }
25089 ;;
25090 esac
25091
25092 if test "$WXGTK20" = 1; then
25093 save_CFLAGS="$CFLAGS"
25094 save_LIBS="$LIBS"
25095 CFLAGS="$CFLAGS $GTK_CFLAGS"
25096 LIBS="$LIBS $GTK_LIBS"
25097
25098
25099 for ac_func in pango_font_family_is_monospace
25100 do
25101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25102 echo "$as_me:$LINENO: checking for $ac_func" >&5
25103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25104 if eval "test \"\${$as_ac_var+set}\" = set"; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25106 else
25107 cat >conftest.$ac_ext <<_ACEOF
25108 /* confdefs.h. */
25109 _ACEOF
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25115 #define $ac_func innocuous_$ac_func
25116
25117 /* System header to define __stub macros and hopefully few prototypes,
25118 which can conflict with char $ac_func (); below.
25119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25120 <limits.h> exists even on freestanding compilers. */
25121
25122 #ifdef __STDC__
25123 # include <limits.h>
25124 #else
25125 # include <assert.h>
25126 #endif
25127
25128 #undef $ac_func
25129
25130 /* Override any gcc2 internal prototype to avoid an error. */
25131 #ifdef __cplusplus
25132 extern "C"
25133 {
25134 #endif
25135 /* We use char because int might match the return type of a gcc2
25136 builtin and then its argument prototype would still apply. */
25137 char $ac_func ();
25138 /* The GNU C library defines this for functions which it implements
25139 to always fail with ENOSYS. Some functions are actually named
25140 something starting with __ and the normal name is an alias. */
25141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25142 choke me
25143 #else
25144 char (*f) () = $ac_func;
25145 #endif
25146 #ifdef __cplusplus
25147 }
25148 #endif
25149
25150 int
25151 main ()
25152 {
25153 return f != $ac_func;
25154 ;
25155 return 0;
25156 }
25157 _ACEOF
25158 rm -f conftest.$ac_objext conftest$ac_exeext
25159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25160 (eval $ac_link) 2>conftest.er1
25161 ac_status=$?
25162 grep -v '^ *+' conftest.er1 >conftest.err
25163 rm -f conftest.er1
25164 cat conftest.err >&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } &&
25167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25170 ac_status=$?
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; } &&
25173 { ac_try='test -s conftest$ac_exeext'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25176 ac_status=$?
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; }; then
25179 eval "$as_ac_var=yes"
25180 else
25181 echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.$ac_ext >&5
25183
25184 eval "$as_ac_var=no"
25185 fi
25186 rm -f conftest.err conftest.$ac_objext \
25187 conftest$ac_exeext conftest.$ac_ext
25188 fi
25189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25191 if test `eval echo '${'$as_ac_var'}'` = yes; then
25192 cat >>confdefs.h <<_ACEOF
25193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25194 _ACEOF
25195
25196 fi
25197 done
25198
25199
25200 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25201 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25202 cat >conftest.$ac_ext <<_ACEOF
25203 /* confdefs.h. */
25204 _ACEOF
25205 cat confdefs.h >>conftest.$ac_ext
25206 cat >>conftest.$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25208
25209 #include <gtk/gtk.h>
25210
25211 int
25212 main ()
25213 {
25214
25215 #if !GTK_CHECK_VERSION(2,4,0)
25216 #error "Not GTK+ 2.4"
25217 #endif
25218
25219 ;
25220 return 0;
25221 }
25222 _ACEOF
25223 rm -f conftest.$ac_objext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25225 (eval $ac_compile) 2>conftest.er1
25226 ac_status=$?
25227 grep -v '^ *+' conftest.er1 >conftest.err
25228 rm -f conftest.er1
25229 cat conftest.err >&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } &&
25232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try='test -s conftest.$ac_objext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25244
25245 cat >>confdefs.h <<\_ACEOF
25246 #define __WXGTK24__ 1
25247 _ACEOF
25248
25249 echo "$as_me:$LINENO: result: yes" >&5
25250 echo "${ECHO_T}yes" >&6
25251
25252 else
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.$ac_ext >&5
25255
25256
25257 echo "$as_me:$LINENO: result: no" >&5
25258 echo "${ECHO_T}no" >&6
25259
25260 fi
25261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25262
25263 CFLAGS="$save_CFLAGS"
25264 LIBS="$save_LIBS"
25265 else
25266 if test "$wxUSE_UNICODE" = "yes"; then
25267 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25268 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25269 wxUSE_UNICODE=no
25270 fi
25271 fi
25272
25273 if test "$USE_DARWIN" != 1; then
25274
25275 for ac_func in poll
25276 do
25277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25278 echo "$as_me:$LINENO: checking for $ac_func" >&5
25279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25280 if eval "test \"\${$as_ac_var+set}\" = set"; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 else
25283 cat >conftest.$ac_ext <<_ACEOF
25284 /* confdefs.h. */
25285 _ACEOF
25286 cat confdefs.h >>conftest.$ac_ext
25287 cat >>conftest.$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25291 #define $ac_func innocuous_$ac_func
25292
25293 /* System header to define __stub macros and hopefully few prototypes,
25294 which can conflict with char $ac_func (); below.
25295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25296 <limits.h> exists even on freestanding compilers. */
25297
25298 #ifdef __STDC__
25299 # include <limits.h>
25300 #else
25301 # include <assert.h>
25302 #endif
25303
25304 #undef $ac_func
25305
25306 /* Override any gcc2 internal prototype to avoid an error. */
25307 #ifdef __cplusplus
25308 extern "C"
25309 {
25310 #endif
25311 /* We use char because int might match the return type of a gcc2
25312 builtin and then its argument prototype would still apply. */
25313 char $ac_func ();
25314 /* The GNU C library defines this for functions which it implements
25315 to always fail with ENOSYS. Some functions are actually named
25316 something starting with __ and the normal name is an alias. */
25317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25318 choke me
25319 #else
25320 char (*f) () = $ac_func;
25321 #endif
25322 #ifdef __cplusplus
25323 }
25324 #endif
25325
25326 int
25327 main ()
25328 {
25329 return f != $ac_func;
25330 ;
25331 return 0;
25332 }
25333 _ACEOF
25334 rm -f conftest.$ac_objext conftest$ac_exeext
25335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25336 (eval $ac_link) 2>conftest.er1
25337 ac_status=$?
25338 grep -v '^ *+' conftest.er1 >conftest.err
25339 rm -f conftest.er1
25340 cat conftest.err >&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } &&
25343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 eval "$as_ac_var=yes"
25356 else
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.$ac_ext >&5
25359
25360 eval "$as_ac_var=no"
25361 fi
25362 rm -f conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25364 fi
25365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25367 if test `eval echo '${'$as_ac_var'}'` = yes; then
25368 cat >>confdefs.h <<_ACEOF
25369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25370 _ACEOF
25371
25372 fi
25373 done
25374
25375 fi
25376
25377 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25378 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25379
25380 AFMINSTALL=afminstall
25381 TOOLKIT=GTK
25382 GUIDIST=GTK_DIST
25383
25384 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25385 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25386 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25387 echo $ECHO_N "(cached) $ECHO_C" >&6
25388 else
25389 ac_check_lib_save_LIBS=$LIBS
25390 LIBS="-lgdk $LIBS"
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397
25398 /* Override any gcc2 internal prototype to avoid an error. */
25399 #ifdef __cplusplus
25400 extern "C"
25401 #endif
25402 /* We use char because int might match the return type of a gcc2
25403 builtin and then its argument prototype would still apply. */
25404 char gdk_im_open ();
25405 int
25406 main ()
25407 {
25408 gdk_im_open ();
25409 ;
25410 return 0;
25411 }
25412 _ACEOF
25413 rm -f conftest.$ac_objext conftest$ac_exeext
25414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25415 (eval $ac_link) 2>conftest.er1
25416 ac_status=$?
25417 grep -v '^ *+' conftest.er1 >conftest.err
25418 rm -f conftest.er1
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } &&
25422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; } &&
25428 { ac_try='test -s conftest$ac_exeext'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25431 ac_status=$?
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; }; then
25434 ac_cv_lib_gdk_gdk_im_open=yes
25435 else
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.$ac_ext >&5
25438
25439 ac_cv_lib_gdk_gdk_im_open=no
25440 fi
25441 rm -f conftest.err conftest.$ac_objext \
25442 conftest$ac_exeext conftest.$ac_ext
25443 LIBS=$ac_check_lib_save_LIBS
25444 fi
25445 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25446 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25447 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25448 cat >>confdefs.h <<\_ACEOF
25449 #define HAVE_XIM 1
25450 _ACEOF
25451
25452 fi
25453
25454
25455
25456 if test "$wxUSE_GPE" = "yes"; then
25457 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25458 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25459
25460 ac_find_libraries=
25461 for ac_dir in $SEARCH_LIB /usr/lib;
25462 do
25463 for ac_extension in a so sl dylib; do
25464 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25465 ac_find_libraries=$ac_dir
25466 break 2
25467 fi
25468 done
25469 done
25470
25471 if test "$ac_find_libraries" != "" ; then
25472
25473 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25474 result=$?
25475 if test $result = 0; then
25476 ac_path_to_link=""
25477 else
25478 ac_path_to_link=" -L$ac_find_libraries"
25479 fi
25480
25481 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25482 WXGPE=1
25483 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25484 echo "${ECHO_T}found at $ac_find_libraries" >&6
25485 else
25486 echo "$as_me:$LINENO: result: not found" >&5
25487 echo "${ECHO_T}not found" >&6
25488 fi
25489
25490 fi
25491 fi
25492
25493 if test "$wxUSE_MGL" = 1; then
25494 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25495 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25496 if test "x$MGL_ROOT" = x ; then
25497 echo "$as_me:$LINENO: result: not found" >&5
25498 echo "${ECHO_T}not found" >&6
25499 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25500 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25501 { (exit 1); exit 1; }; }
25502 else
25503 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25504 echo "${ECHO_T}$MGL_ROOT" >&6
25505 fi
25506
25507 echo "$as_me:$LINENO: checking for libmgl location" >&5
25508 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25509 case "${host}" in
25510 *-*-linux* )
25511 if test "x$wxUSE_SHARED" = xyes ; then
25512 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25513 else
25514 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25515 fi
25516 ;;
25517 *-pc-msdosdjgpp )
25518 mgl_os_candidates="dos32/dj2"
25519 ;;
25520 *)
25521 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25522 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25523 { (exit 1); exit 1; }; }
25524 esac
25525
25526 mgl_lib_type=""
25527 mgl_os=""
25528
25529 for mgl_os_i in $mgl_os_candidates ; do
25530 if test "x$mgl_os" = x ; then
25531 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25532 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
25533 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
25534 mgl_lib_type=debug
25535 mgl_os=$mgl_os_i
25536 fi
25537 fi
25538 if test "x$mgl_lib_type" = x ; then
25539 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
25540 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
25541 mgl_lib_type=release
25542 mgl_os=$mgl_os_i
25543 fi
25544 fi
25545 fi
25546 done
25547
25548 if test "x$mgl_os" = x ; then
25549 echo "$as_me:$LINENO: result: not found" >&5
25550 echo "${ECHO_T}not found" >&6
25551 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25552 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25553 { (exit 1); exit 1; }; }
25554 fi
25555 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25556 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25557
25558 wxUSE_UNIVERSAL="yes"
25559
25560 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
25561 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25562
25563 AFMINSTALL=afminstall
25564 TOOLKIT=MGL
25565 GUIDIST=MGL_DIST
25566 fi
25567
25568 if test "$wxUSE_MICROWIN" = 1; then
25569 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25570 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25571 if test "x$MICROWINDOWS" = x ; then
25572 echo "$as_me:$LINENO: result: not found" >&5
25573 echo "${ECHO_T}not found" >&6
25574 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25575 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25576 { (exit 1); exit 1; }; }
25577 else
25578 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25579 echo "${ECHO_T}$MICROWINDOWS" >&6
25580 fi
25581
25582 if test -f $MICROWINDOWS/lib/libmwin.a; then
25583 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25584 echo "${ECHO_T}MicroWindows' libraries found." >&6
25585 else
25586 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25587 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25588 { (exit 1); exit 1; }; }
25589 fi
25590
25591 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
25592 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25593
25594 wxUSE_UNIVERSAL="yes"
25595
25596 AFMINSTALL=afminstall
25597 TOOLKIT=MICROWIN
25598 GUIDIST=MICROWIN_DIST
25599
25600 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25601 fi
25602
25603 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25604
25605 if test "x$ac_path_x_has_been_run" != xyes; then
25606 echo "$as_me:$LINENO: checking for X" >&5
25607 echo $ECHO_N "checking for X... $ECHO_C" >&6
25608
25609 ac_path_x_has_been_run=yes
25610
25611 # Check whether --with-x or --without-x was given.
25612 if test "${with_x+set}" = set; then
25613 withval="$with_x"
25614
25615 fi;
25616 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25617 if test "x$with_x" = xno; then
25618 # The user explicitly disabled X.
25619 have_x=disabled
25620 else
25621 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
25622 # Both variables are already set.
25623 have_x=yes
25624 else
25625 if test "${ac_cv_have_x+set}" = set; then
25626 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 else
25628 # One or both of the vars are not set, and there is no cached value.
25629 ac_x_includes=no ac_x_libraries=no
25630 rm -fr conftest.dir
25631 if mkdir conftest.dir; then
25632 cd conftest.dir
25633 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25634 cat >Imakefile <<'_ACEOF'
25635 acfindx:
25636 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25637 _ACEOF
25638 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
25639 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25640 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25641 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25642 for ac_extension in a so sl; do
25643 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
25644 test -f $ac_im_libdir/libX11.$ac_extension; then
25645 ac_im_usrlibdir=$ac_im_libdir; break
25646 fi
25647 done
25648 # Screen out bogus values from the imake configuration. They are
25649 # bogus both because they are the default anyway, and because
25650 # using them would break gcc on systems where it needs fixed includes.
25651 case $ac_im_incroot in
25652 /usr/include) ;;
25653 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25654 esac
25655 case $ac_im_usrlibdir in
25656 /usr/lib | /lib) ;;
25657 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25658 esac
25659 fi
25660 cd ..
25661 rm -fr conftest.dir
25662 fi
25663
25664 # Standard set of common directories for X headers.
25665 # Check X11 before X11Rn because it is often a symlink to the current release.
25666 ac_x_header_dirs='
25667 /usr/X11/include
25668 /usr/X11R6/include
25669 /usr/X11R5/include
25670 /usr/X11R4/include
25671
25672 /usr/include/X11
25673 /usr/include/X11R6
25674 /usr/include/X11R5
25675 /usr/include/X11R4
25676
25677 /usr/local/X11/include
25678 /usr/local/X11R6/include
25679 /usr/local/X11R5/include
25680 /usr/local/X11R4/include
25681
25682 /usr/local/include/X11
25683 /usr/local/include/X11R6
25684 /usr/local/include/X11R5
25685 /usr/local/include/X11R4
25686
25687 /usr/X386/include
25688 /usr/x386/include
25689 /usr/XFree86/include/X11
25690
25691 /usr/include
25692 /usr/local/include
25693 /usr/unsupported/include
25694 /usr/athena/include
25695 /usr/local/x11r5/include
25696 /usr/lpp/Xamples/include
25697
25698 /usr/openwin/include
25699 /usr/openwin/share/include'
25700
25701 if test "$ac_x_includes" = no; then
25702 # Guess where to find include files, by looking for a specified header file.
25703 # First, try using that file with no special directory specified.
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 #include <X11/Intrinsic.h>
25711 _ACEOF
25712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25714 ac_status=$?
25715 grep -v '^ *+' conftest.er1 >conftest.err
25716 rm -f conftest.er1
25717 cat conftest.err >&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } >/dev/null; then
25720 if test -s conftest.err; then
25721 ac_cpp_err=$ac_c_preproc_warn_flag
25722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25723 else
25724 ac_cpp_err=
25725 fi
25726 else
25727 ac_cpp_err=yes
25728 fi
25729 if test -z "$ac_cpp_err"; then
25730 # We can compile using X headers with no special include directory.
25731 ac_x_includes=
25732 else
25733 echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.$ac_ext >&5
25735
25736 for ac_dir in $ac_x_header_dirs; do
25737 if test -r "$ac_dir/X11/Intrinsic.h"; then
25738 ac_x_includes=$ac_dir
25739 break
25740 fi
25741 done
25742 fi
25743 rm -f conftest.err conftest.$ac_ext
25744 fi # $ac_x_includes = no
25745
25746 if test "$ac_x_libraries" = no; then
25747 # Check for the libraries.
25748 # See if we find them without any special options.
25749 # Don't add to $LIBS permanently.
25750 ac_save_LIBS=$LIBS
25751 LIBS="-lXt $LIBS"
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <X11/Intrinsic.h>
25759 int
25760 main ()
25761 {
25762 XtMalloc (0)
25763 ;
25764 return 0;
25765 }
25766 _ACEOF
25767 rm -f conftest.$ac_objext conftest$ac_exeext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25769 (eval $ac_link) 2>conftest.er1
25770 ac_status=$?
25771 grep -v '^ *+' conftest.er1 >conftest.err
25772 rm -f conftest.er1
25773 cat conftest.err >&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; } &&
25782 { ac_try='test -s conftest$ac_exeext'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25785 ac_status=$?
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; }; then
25788 LIBS=$ac_save_LIBS
25789 # We can link X programs with no special library path.
25790 ac_x_libraries=
25791 else
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.$ac_ext >&5
25794
25795 LIBS=$ac_save_LIBS
25796 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25797 do
25798 # Don't even attempt the hair of trying to link an X program!
25799 for ac_extension in a so sl; do
25800 if test -r $ac_dir/libXt.$ac_extension; then
25801 ac_x_libraries=$ac_dir
25802 break 2
25803 fi
25804 done
25805 done
25806 fi
25807 rm -f conftest.err conftest.$ac_objext \
25808 conftest$ac_exeext conftest.$ac_ext
25809 fi # $ac_x_libraries = no
25810
25811 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25812 # Didn't find X anywhere. Cache the known absence of X.
25813 ac_cv_have_x="have_x=no"
25814 else
25815 # Record where we found X for the cache.
25816 ac_cv_have_x="have_x=yes \
25817 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25818 fi
25819 fi
25820
25821 fi
25822 eval "$ac_cv_have_x"
25823 fi # $with_x != no
25824
25825 if test "$have_x" != yes; then
25826 echo "$as_me:$LINENO: result: $have_x" >&5
25827 echo "${ECHO_T}$have_x" >&6
25828 no_x=yes
25829 else
25830 # If each of the values was on the command line, it overrides each guess.
25831 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25832 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25833 # Update the cache value to reflect the command line values.
25834 ac_cv_have_x="have_x=yes \
25835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25836 # It might be that x_includes is empty (headers are found in the
25837 # standard search path. Then output the corresponding message
25838 ac_out_x_includes=$x_includes
25839 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
25840 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25841 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25842 fi
25843
25844 fi
25845 if test "$no_x" = yes; then
25846 # Not all programs may use this symbol, but it does not hurt to define it.
25847
25848 cat >>confdefs.h <<\_ACEOF
25849 #define X_DISPLAY_MISSING 1
25850 _ACEOF
25851
25852 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25853 else
25854 if test -n "$x_includes"; then
25855 X_CFLAGS="$X_CFLAGS -I$x_includes"
25856 fi
25857
25858 # It would also be nice to do this for all -L options, not just this one.
25859 if test -n "$x_libraries"; then
25860 X_LIBS="$X_LIBS -L$x_libraries"
25861 # For Solaris; some versions of Sun CC require a space after -R and
25862 # others require no space. Words are not sufficient . . . .
25863 case `(uname -sr) 2>/dev/null` in
25864 "SunOS 5"*)
25865 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25866 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25867 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25868 cat >conftest.$ac_ext <<_ACEOF
25869 /* confdefs.h. */
25870 _ACEOF
25871 cat confdefs.h >>conftest.$ac_ext
25872 cat >>conftest.$ac_ext <<_ACEOF
25873 /* end confdefs.h. */
25874
25875 int
25876 main ()
25877 {
25878
25879 ;
25880 return 0;
25881 }
25882 _ACEOF
25883 rm -f conftest.$ac_objext conftest$ac_exeext
25884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25885 (eval $ac_link) 2>conftest.er1
25886 ac_status=$?
25887 grep -v '^ *+' conftest.er1 >conftest.err
25888 rm -f conftest.er1
25889 cat conftest.err >&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } &&
25892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25894 (eval $ac_try) 2>&5
25895 ac_status=$?
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); }; } &&
25898 { ac_try='test -s conftest$ac_exeext'
25899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900 (eval $ac_try) 2>&5
25901 ac_status=$?
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); }; }; then
25904 ac_R_nospace=yes
25905 else
25906 echo "$as_me: failed program was:" >&5
25907 sed 's/^/| /' conftest.$ac_ext >&5
25908
25909 ac_R_nospace=no
25910 fi
25911 rm -f conftest.err conftest.$ac_objext \
25912 conftest$ac_exeext conftest.$ac_ext
25913 if test $ac_R_nospace = yes; then
25914 echo "$as_me:$LINENO: result: no" >&5
25915 echo "${ECHO_T}no" >&6
25916 X_LIBS="$X_LIBS -R$x_libraries"
25917 else
25918 LIBS="$ac_xsave_LIBS -R $x_libraries"
25919 cat >conftest.$ac_ext <<_ACEOF
25920 /* confdefs.h. */
25921 _ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925
25926 int
25927 main ()
25928 {
25929
25930 ;
25931 return 0;
25932 }
25933 _ACEOF
25934 rm -f conftest.$ac_objext conftest$ac_exeext
25935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25936 (eval $ac_link) 2>conftest.er1
25937 ac_status=$?
25938 grep -v '^ *+' conftest.er1 >conftest.err
25939 rm -f conftest.er1
25940 cat conftest.err >&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } &&
25943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25946 ac_status=$?
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; } &&
25949 { ac_try='test -s conftest$ac_exeext'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; }; then
25955 ac_R_space=yes
25956 else
25957 echo "$as_me: failed program was:" >&5
25958 sed 's/^/| /' conftest.$ac_ext >&5
25959
25960 ac_R_space=no
25961 fi
25962 rm -f conftest.err conftest.$ac_objext \
25963 conftest$ac_exeext conftest.$ac_ext
25964 if test $ac_R_space = yes; then
25965 echo "$as_me:$LINENO: result: yes" >&5
25966 echo "${ECHO_T}yes" >&6
25967 X_LIBS="$X_LIBS -R $x_libraries"
25968 else
25969 echo "$as_me:$LINENO: result: neither works" >&5
25970 echo "${ECHO_T}neither works" >&6
25971 fi
25972 fi
25973 LIBS=$ac_xsave_LIBS
25974 esac
25975 fi
25976
25977 # Check for system-dependent libraries X programs must link with.
25978 # Do this before checking for the system-independent R6 libraries
25979 # (-lICE), since we may need -lsocket or whatever for X linking.
25980
25981 if test "$ISC" = yes; then
25982 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25983 else
25984 # Martyn Johnson says this is needed for Ultrix, if the X
25985 # libraries were built with DECnet support. And Karl Berry says
25986 # the Alpha needs dnet_stub (dnet does not exist).
25987 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25988 cat >conftest.$ac_ext <<_ACEOF
25989 /* confdefs.h. */
25990 _ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994
25995 /* Override any gcc2 internal prototype to avoid an error. */
25996 #ifdef __cplusplus
25997 extern "C"
25998 #endif
25999 /* We use char because int might match the return type of a gcc2
26000 builtin and then its argument prototype would still apply. */
26001 char XOpenDisplay ();
26002 int
26003 main ()
26004 {
26005 XOpenDisplay ();
26006 ;
26007 return 0;
26008 }
26009 _ACEOF
26010 rm -f conftest.$ac_objext conftest$ac_exeext
26011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26012 (eval $ac_link) 2>conftest.er1
26013 ac_status=$?
26014 grep -v '^ *+' conftest.er1 >conftest.err
26015 rm -f conftest.er1
26016 cat conftest.err >&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } &&
26019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; } &&
26025 { ac_try='test -s conftest$ac_exeext'
26026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26027 (eval $ac_try) 2>&5
26028 ac_status=$?
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); }; }; then
26031 :
26032 else
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26035
26036 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26037 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26038 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26039 echo $ECHO_N "(cached) $ECHO_C" >&6
26040 else
26041 ac_check_lib_save_LIBS=$LIBS
26042 LIBS="-ldnet $LIBS"
26043 cat >conftest.$ac_ext <<_ACEOF
26044 /* confdefs.h. */
26045 _ACEOF
26046 cat confdefs.h >>conftest.$ac_ext
26047 cat >>conftest.$ac_ext <<_ACEOF
26048 /* end confdefs.h. */
26049
26050 /* Override any gcc2 internal prototype to avoid an error. */
26051 #ifdef __cplusplus
26052 extern "C"
26053 #endif
26054 /* We use char because int might match the return type of a gcc2
26055 builtin and then its argument prototype would still apply. */
26056 char dnet_ntoa ();
26057 int
26058 main ()
26059 {
26060 dnet_ntoa ();
26061 ;
26062 return 0;
26063 }
26064 _ACEOF
26065 rm -f conftest.$ac_objext conftest$ac_exeext
26066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26067 (eval $ac_link) 2>conftest.er1
26068 ac_status=$?
26069 grep -v '^ *+' conftest.er1 >conftest.err
26070 rm -f conftest.er1
26071 cat conftest.err >&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } &&
26074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try='test -s conftest$ac_exeext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 ac_cv_lib_dnet_dnet_ntoa=yes
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26090
26091 ac_cv_lib_dnet_dnet_ntoa=no
26092 fi
26093 rm -f conftest.err conftest.$ac_objext \
26094 conftest$ac_exeext conftest.$ac_ext
26095 LIBS=$ac_check_lib_save_LIBS
26096 fi
26097 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26098 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26099 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26100 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26101 fi
26102
26103 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26104 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26105 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26106 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26109 ac_check_lib_save_LIBS=$LIBS
26110 LIBS="-ldnet_stub $LIBS"
26111 cat >conftest.$ac_ext <<_ACEOF
26112 /* confdefs.h. */
26113 _ACEOF
26114 cat confdefs.h >>conftest.$ac_ext
26115 cat >>conftest.$ac_ext <<_ACEOF
26116 /* end confdefs.h. */
26117
26118 /* Override any gcc2 internal prototype to avoid an error. */
26119 #ifdef __cplusplus
26120 extern "C"
26121 #endif
26122 /* We use char because int might match the return type of a gcc2
26123 builtin and then its argument prototype would still apply. */
26124 char dnet_ntoa ();
26125 int
26126 main ()
26127 {
26128 dnet_ntoa ();
26129 ;
26130 return 0;
26131 }
26132 _ACEOF
26133 rm -f conftest.$ac_objext conftest$ac_exeext
26134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26135 (eval $ac_link) 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144 (eval $ac_try) 2>&5
26145 ac_status=$?
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); }; } &&
26148 { ac_try='test -s conftest$ac_exeext'
26149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150 (eval $ac_try) 2>&5
26151 ac_status=$?
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); }; }; then
26154 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26155 else
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.$ac_ext >&5
26158
26159 ac_cv_lib_dnet_stub_dnet_ntoa=no
26160 fi
26161 rm -f conftest.err conftest.$ac_objext \
26162 conftest$ac_exeext conftest.$ac_ext
26163 LIBS=$ac_check_lib_save_LIBS
26164 fi
26165 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26166 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26167 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26169 fi
26170
26171 fi
26172 fi
26173 rm -f conftest.err conftest.$ac_objext \
26174 conftest$ac_exeext conftest.$ac_ext
26175 LIBS="$ac_xsave_LIBS"
26176
26177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26178 # to get the SysV transport functions.
26179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26180 # needs -lnsl.
26181 # The nsl library prevents programs from opening the X display
26182 # on Irix 5.2, according to T.E. Dickey.
26183 # The functions gethostbyname, getservbyname, and inet_addr are
26184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26185 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26186 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26187 if test "${ac_cv_func_gethostbyname+set}" = set; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 else
26190 cat >conftest.$ac_ext <<_ACEOF
26191 /* confdefs.h. */
26192 _ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26198 #define gethostbyname innocuous_gethostbyname
26199
26200 /* System header to define __stub macros and hopefully few prototypes,
26201 which can conflict with char gethostbyname (); below.
26202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26203 <limits.h> exists even on freestanding compilers. */
26204
26205 #ifdef __STDC__
26206 # include <limits.h>
26207 #else
26208 # include <assert.h>
26209 #endif
26210
26211 #undef gethostbyname
26212
26213 /* Override any gcc2 internal prototype to avoid an error. */
26214 #ifdef __cplusplus
26215 extern "C"
26216 {
26217 #endif
26218 /* We use char because int might match the return type of a gcc2
26219 builtin and then its argument prototype would still apply. */
26220 char gethostbyname ();
26221 /* The GNU C library defines this for functions which it implements
26222 to always fail with ENOSYS. Some functions are actually named
26223 something starting with __ and the normal name is an alias. */
26224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26225 choke me
26226 #else
26227 char (*f) () = gethostbyname;
26228 #endif
26229 #ifdef __cplusplus
26230 }
26231 #endif
26232
26233 int
26234 main ()
26235 {
26236 return f != gethostbyname;
26237 ;
26238 return 0;
26239 }
26240 _ACEOF
26241 rm -f conftest.$ac_objext conftest$ac_exeext
26242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26243 (eval $ac_link) 2>conftest.er1
26244 ac_status=$?
26245 grep -v '^ *+' conftest.er1 >conftest.err
26246 rm -f conftest.er1
26247 cat conftest.err >&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); } &&
26250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26253 ac_status=$?
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; } &&
26256 { ac_try='test -s conftest$ac_exeext'
26257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26258 (eval $ac_try) 2>&5
26259 ac_status=$?
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); }; }; then
26262 ac_cv_func_gethostbyname=yes
26263 else
26264 echo "$as_me: failed program was:" >&5
26265 sed 's/^/| /' conftest.$ac_ext >&5
26266
26267 ac_cv_func_gethostbyname=no
26268 fi
26269 rm -f conftest.err conftest.$ac_objext \
26270 conftest$ac_exeext conftest.$ac_ext
26271 fi
26272 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26273 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26274
26275 if test $ac_cv_func_gethostbyname = no; then
26276 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26277 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26278 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26279 echo $ECHO_N "(cached) $ECHO_C" >&6
26280 else
26281 ac_check_lib_save_LIBS=$LIBS
26282 LIBS="-lnsl $LIBS"
26283 cat >conftest.$ac_ext <<_ACEOF
26284 /* confdefs.h. */
26285 _ACEOF
26286 cat confdefs.h >>conftest.$ac_ext
26287 cat >>conftest.$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26289
26290 /* Override any gcc2 internal prototype to avoid an error. */
26291 #ifdef __cplusplus
26292 extern "C"
26293 #endif
26294 /* We use char because int might match the return type of a gcc2
26295 builtin and then its argument prototype would still apply. */
26296 char gethostbyname ();
26297 int
26298 main ()
26299 {
26300 gethostbyname ();
26301 ;
26302 return 0;
26303 }
26304 _ACEOF
26305 rm -f conftest.$ac_objext conftest$ac_exeext
26306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26307 (eval $ac_link) 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } &&
26314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26317 ac_status=$?
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try='test -s conftest$ac_exeext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26323 ac_status=$?
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26326 ac_cv_lib_nsl_gethostbyname=yes
26327 else
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26330
26331 ac_cv_lib_nsl_gethostbyname=no
26332 fi
26333 rm -f conftest.err conftest.$ac_objext \
26334 conftest$ac_exeext conftest.$ac_ext
26335 LIBS=$ac_check_lib_save_LIBS
26336 fi
26337 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26338 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26339 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26340 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26341 fi
26342
26343 if test $ac_cv_lib_nsl_gethostbyname = no; then
26344 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26345 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26346 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26347 echo $ECHO_N "(cached) $ECHO_C" >&6
26348 else
26349 ac_check_lib_save_LIBS=$LIBS
26350 LIBS="-lbsd $LIBS"
26351 cat >conftest.$ac_ext <<_ACEOF
26352 /* confdefs.h. */
26353 _ACEOF
26354 cat confdefs.h >>conftest.$ac_ext
26355 cat >>conftest.$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26357
26358 /* Override any gcc2 internal prototype to avoid an error. */
26359 #ifdef __cplusplus
26360 extern "C"
26361 #endif
26362 /* We use char because int might match the return type of a gcc2
26363 builtin and then its argument prototype would still apply. */
26364 char gethostbyname ();
26365 int
26366 main ()
26367 {
26368 gethostbyname ();
26369 ;
26370 return 0;
26371 }
26372 _ACEOF
26373 rm -f conftest.$ac_objext conftest$ac_exeext
26374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26375 (eval $ac_link) 2>conftest.er1
26376 ac_status=$?
26377 grep -v '^ *+' conftest.er1 >conftest.err
26378 rm -f conftest.er1
26379 cat conftest.err >&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } &&
26382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384 (eval $ac_try) 2>&5
26385 ac_status=$?
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); }; } &&
26388 { ac_try='test -s conftest$ac_exeext'
26389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390 (eval $ac_try) 2>&5
26391 ac_status=$?
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); }; }; then
26394 ac_cv_lib_bsd_gethostbyname=yes
26395 else
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26398
26399 ac_cv_lib_bsd_gethostbyname=no
26400 fi
26401 rm -f conftest.err conftest.$ac_objext \
26402 conftest$ac_exeext conftest.$ac_ext
26403 LIBS=$ac_check_lib_save_LIBS
26404 fi
26405 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26406 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26407 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26409 fi
26410
26411 fi
26412 fi
26413
26414 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26415 # socket/setsockopt and other routines are undefined under SCO ODT
26416 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26417 # on later versions), says Simon Leinen: it contains gethostby*
26418 # variants that don't use the name server (or something). -lsocket
26419 # must be given before -lnsl if both are needed. We assume that
26420 # if connect needs -lnsl, so does gethostbyname.
26421 echo "$as_me:$LINENO: checking for connect" >&5
26422 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26423 if test "${ac_cv_func_connect+set}" = set; then
26424 echo $ECHO_N "(cached) $ECHO_C" >&6
26425 else
26426 cat >conftest.$ac_ext <<_ACEOF
26427 /* confdefs.h. */
26428 _ACEOF
26429 cat confdefs.h >>conftest.$ac_ext
26430 cat >>conftest.$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26432 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26434 #define connect innocuous_connect
26435
26436 /* System header to define __stub macros and hopefully few prototypes,
26437 which can conflict with char connect (); below.
26438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26439 <limits.h> exists even on freestanding compilers. */
26440
26441 #ifdef __STDC__
26442 # include <limits.h>
26443 #else
26444 # include <assert.h>
26445 #endif
26446
26447 #undef connect
26448
26449 /* Override any gcc2 internal prototype to avoid an error. */
26450 #ifdef __cplusplus
26451 extern "C"
26452 {
26453 #endif
26454 /* We use char because int might match the return type of a gcc2
26455 builtin and then its argument prototype would still apply. */
26456 char connect ();
26457 /* The GNU C library defines this for functions which it implements
26458 to always fail with ENOSYS. Some functions are actually named
26459 something starting with __ and the normal name is an alias. */
26460 #if defined (__stub_connect) || defined (__stub___connect)
26461 choke me
26462 #else
26463 char (*f) () = connect;
26464 #endif
26465 #ifdef __cplusplus
26466 }
26467 #endif
26468
26469 int
26470 main ()
26471 {
26472 return f != connect;
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26480 ac_status=$?
26481 grep -v '^ *+' conftest.er1 >conftest.err
26482 rm -f conftest.er1
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26489 ac_status=$?
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try='test -s conftest$ac_exeext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26495 ac_status=$?
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 ac_cv_func_connect=yes
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26502
26503 ac_cv_func_connect=no
26504 fi
26505 rm -f conftest.err conftest.$ac_objext \
26506 conftest$ac_exeext conftest.$ac_ext
26507 fi
26508 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26509 echo "${ECHO_T}$ac_cv_func_connect" >&6
26510
26511 if test $ac_cv_func_connect = no; then
26512 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26513 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26514 if test "${ac_cv_lib_socket_connect+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 else
26517 ac_check_lib_save_LIBS=$LIBS
26518 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h. */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525
26526 /* Override any gcc2 internal prototype to avoid an error. */
26527 #ifdef __cplusplus
26528 extern "C"
26529 #endif
26530 /* We use char because int might match the return type of a gcc2
26531 builtin and then its argument prototype would still apply. */
26532 char connect ();
26533 int
26534 main ()
26535 {
26536 connect ();
26537 ;
26538 return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try='test -s conftest$ac_exeext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 ac_cv_lib_socket_connect=yes
26563 else
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.$ac_ext >&5
26566
26567 ac_cv_lib_socket_connect=no
26568 fi
26569 rm -f conftest.err conftest.$ac_objext \
26570 conftest$ac_exeext conftest.$ac_ext
26571 LIBS=$ac_check_lib_save_LIBS
26572 fi
26573 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26574 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26575 if test $ac_cv_lib_socket_connect = yes; then
26576 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26577 fi
26578
26579 fi
26580
26581 # Guillermo Gomez says -lposix is necessary on A/UX.
26582 echo "$as_me:$LINENO: checking for remove" >&5
26583 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26584 if test "${ac_cv_func_remove+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26586 else
26587 cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h. */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h. */
26593 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26595 #define remove innocuous_remove
26596
26597 /* System header to define __stub macros and hopefully few prototypes,
26598 which can conflict with char remove (); below.
26599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26600 <limits.h> exists even on freestanding compilers. */
26601
26602 #ifdef __STDC__
26603 # include <limits.h>
26604 #else
26605 # include <assert.h>
26606 #endif
26607
26608 #undef remove
26609
26610 /* Override any gcc2 internal prototype to avoid an error. */
26611 #ifdef __cplusplus
26612 extern "C"
26613 {
26614 #endif
26615 /* We use char because int might match the return type of a gcc2
26616 builtin and then its argument prototype would still apply. */
26617 char remove ();
26618 /* The GNU C library defines this for functions which it implements
26619 to always fail with ENOSYS. Some functions are actually named
26620 something starting with __ and the normal name is an alias. */
26621 #if defined (__stub_remove) || defined (__stub___remove)
26622 choke me
26623 #else
26624 char (*f) () = remove;
26625 #endif
26626 #ifdef __cplusplus
26627 }
26628 #endif
26629
26630 int
26631 main ()
26632 {
26633 return f != remove;
26634 ;
26635 return 0;
26636 }
26637 _ACEOF
26638 rm -f conftest.$ac_objext conftest$ac_exeext
26639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26640 (eval $ac_link) 2>conftest.er1
26641 ac_status=$?
26642 grep -v '^ *+' conftest.er1 >conftest.err
26643 rm -f conftest.er1
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } &&
26647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26650 ac_status=$?
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; } &&
26653 { ac_try='test -s conftest$ac_exeext'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26656 ac_status=$?
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; }; then
26659 ac_cv_func_remove=yes
26660 else
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26663
26664 ac_cv_func_remove=no
26665 fi
26666 rm -f conftest.err conftest.$ac_objext \
26667 conftest$ac_exeext conftest.$ac_ext
26668 fi
26669 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26670 echo "${ECHO_T}$ac_cv_func_remove" >&6
26671
26672 if test $ac_cv_func_remove = no; then
26673 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26674 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26675 if test "${ac_cv_lib_posix_remove+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26677 else
26678 ac_check_lib_save_LIBS=$LIBS
26679 LIBS="-lposix $LIBS"
26680 cat >conftest.$ac_ext <<_ACEOF
26681 /* confdefs.h. */
26682 _ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686
26687 /* Override any gcc2 internal prototype to avoid an error. */
26688 #ifdef __cplusplus
26689 extern "C"
26690 #endif
26691 /* We use char because int might match the return type of a gcc2
26692 builtin and then its argument prototype would still apply. */
26693 char remove ();
26694 int
26695 main ()
26696 {
26697 remove ();
26698 ;
26699 return 0;
26700 }
26701 _ACEOF
26702 rm -f conftest.$ac_objext conftest$ac_exeext
26703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26704 (eval $ac_link) 2>conftest.er1
26705 ac_status=$?
26706 grep -v '^ *+' conftest.er1 >conftest.err
26707 rm -f conftest.er1
26708 cat conftest.err >&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } &&
26711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26714 ac_status=$?
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try='test -s conftest$ac_exeext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26720 ac_status=$?
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26723 ac_cv_lib_posix_remove=yes
26724 else
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.$ac_ext >&5
26727
26728 ac_cv_lib_posix_remove=no
26729 fi
26730 rm -f conftest.err conftest.$ac_objext \
26731 conftest$ac_exeext conftest.$ac_ext
26732 LIBS=$ac_check_lib_save_LIBS
26733 fi
26734 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26735 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26736 if test $ac_cv_lib_posix_remove = yes; then
26737 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26738 fi
26739
26740 fi
26741
26742 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26743 echo "$as_me:$LINENO: checking for shmat" >&5
26744 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26745 if test "${ac_cv_func_shmat+set}" = set; then
26746 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 else
26748 cat >conftest.$ac_ext <<_ACEOF
26749 /* confdefs.h. */
26750 _ACEOF
26751 cat confdefs.h >>conftest.$ac_ext
26752 cat >>conftest.$ac_ext <<_ACEOF
26753 /* end confdefs.h. */
26754 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26756 #define shmat innocuous_shmat
26757
26758 /* System header to define __stub macros and hopefully few prototypes,
26759 which can conflict with char shmat (); below.
26760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26761 <limits.h> exists even on freestanding compilers. */
26762
26763 #ifdef __STDC__
26764 # include <limits.h>
26765 #else
26766 # include <assert.h>
26767 #endif
26768
26769 #undef shmat
26770
26771 /* Override any gcc2 internal prototype to avoid an error. */
26772 #ifdef __cplusplus
26773 extern "C"
26774 {
26775 #endif
26776 /* We use char because int might match the return type of a gcc2
26777 builtin and then its argument prototype would still apply. */
26778 char shmat ();
26779 /* The GNU C library defines this for functions which it implements
26780 to always fail with ENOSYS. Some functions are actually named
26781 something starting with __ and the normal name is an alias. */
26782 #if defined (__stub_shmat) || defined (__stub___shmat)
26783 choke me
26784 #else
26785 char (*f) () = shmat;
26786 #endif
26787 #ifdef __cplusplus
26788 }
26789 #endif
26790
26791 int
26792 main ()
26793 {
26794 return f != shmat;
26795 ;
26796 return 0;
26797 }
26798 _ACEOF
26799 rm -f conftest.$ac_objext conftest$ac_exeext
26800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26801 (eval $ac_link) 2>conftest.er1
26802 ac_status=$?
26803 grep -v '^ *+' conftest.er1 >conftest.err
26804 rm -f conftest.er1
26805 cat conftest.err >&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } &&
26808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26811 ac_status=$?
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; } &&
26814 { ac_try='test -s conftest$ac_exeext'
26815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 (eval $ac_try) 2>&5
26817 ac_status=$?
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); }; }; then
26820 ac_cv_func_shmat=yes
26821 else
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.$ac_ext >&5
26824
26825 ac_cv_func_shmat=no
26826 fi
26827 rm -f conftest.err conftest.$ac_objext \
26828 conftest$ac_exeext conftest.$ac_ext
26829 fi
26830 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26831 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26832
26833 if test $ac_cv_func_shmat = no; then
26834 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26835 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26836 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26837 echo $ECHO_N "(cached) $ECHO_C" >&6
26838 else
26839 ac_check_lib_save_LIBS=$LIBS
26840 LIBS="-lipc $LIBS"
26841 cat >conftest.$ac_ext <<_ACEOF
26842 /* confdefs.h. */
26843 _ACEOF
26844 cat confdefs.h >>conftest.$ac_ext
26845 cat >>conftest.$ac_ext <<_ACEOF
26846 /* end confdefs.h. */
26847
26848 /* Override any gcc2 internal prototype to avoid an error. */
26849 #ifdef __cplusplus
26850 extern "C"
26851 #endif
26852 /* We use char because int might match the return type of a gcc2
26853 builtin and then its argument prototype would still apply. */
26854 char shmat ();
26855 int
26856 main ()
26857 {
26858 shmat ();
26859 ;
26860 return 0;
26861 }
26862 _ACEOF
26863 rm -f conftest.$ac_objext conftest$ac_exeext
26864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26865 (eval $ac_link) 2>conftest.er1
26866 ac_status=$?
26867 grep -v '^ *+' conftest.er1 >conftest.err
26868 rm -f conftest.er1
26869 cat conftest.err >&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } &&
26872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26875 ac_status=$?
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; } &&
26878 { ac_try='test -s conftest$ac_exeext'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26881 ac_status=$?
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; }; then
26884 ac_cv_lib_ipc_shmat=yes
26885 else
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26888
26889 ac_cv_lib_ipc_shmat=no
26890 fi
26891 rm -f conftest.err conftest.$ac_objext \
26892 conftest$ac_exeext conftest.$ac_ext
26893 LIBS=$ac_check_lib_save_LIBS
26894 fi
26895 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26896 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26897 if test $ac_cv_lib_ipc_shmat = yes; then
26898 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26899 fi
26900
26901 fi
26902 fi
26903
26904 # Check for libraries that X11R6 Xt/Xaw programs need.
26905 ac_save_LDFLAGS=$LDFLAGS
26906 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26907 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26908 # check for ICE first), but we must link in the order -lSM -lICE or
26909 # we get undefined symbols. So assume we have SM if we have ICE.
26910 # These have to be linked with before -lX11, unlike the other
26911 # libraries we check for below, so use a different variable.
26912 # John Interrante, Karl Berry
26913 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26914 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26915 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26916 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 else
26918 ac_check_lib_save_LIBS=$LIBS
26919 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26920 cat >conftest.$ac_ext <<_ACEOF
26921 /* confdefs.h. */
26922 _ACEOF
26923 cat confdefs.h >>conftest.$ac_ext
26924 cat >>conftest.$ac_ext <<_ACEOF
26925 /* end confdefs.h. */
26926
26927 /* Override any gcc2 internal prototype to avoid an error. */
26928 #ifdef __cplusplus
26929 extern "C"
26930 #endif
26931 /* We use char because int might match the return type of a gcc2
26932 builtin and then its argument prototype would still apply. */
26933 char IceConnectionNumber ();
26934 int
26935 main ()
26936 {
26937 IceConnectionNumber ();
26938 ;
26939 return 0;
26940 }
26941 _ACEOF
26942 rm -f conftest.$ac_objext conftest$ac_exeext
26943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26944 (eval $ac_link) 2>conftest.er1
26945 ac_status=$?
26946 grep -v '^ *+' conftest.er1 >conftest.err
26947 rm -f conftest.er1
26948 cat conftest.err >&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } &&
26951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26953 (eval $ac_try) 2>&5
26954 ac_status=$?
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); }; } &&
26957 { ac_try='test -s conftest$ac_exeext'
26958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26959 (eval $ac_try) 2>&5
26960 ac_status=$?
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); }; }; then
26963 ac_cv_lib_ICE_IceConnectionNumber=yes
26964 else
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.$ac_ext >&5
26967
26968 ac_cv_lib_ICE_IceConnectionNumber=no
26969 fi
26970 rm -f conftest.err conftest.$ac_objext \
26971 conftest$ac_exeext conftest.$ac_ext
26972 LIBS=$ac_check_lib_save_LIBS
26973 fi
26974 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26975 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26976 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26977 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26978 fi
26979
26980 LDFLAGS=$ac_save_LDFLAGS
26981
26982 fi
26983
26984
26985 if test "$no_x" = "yes"; then
26986 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26987 echo "$as_me: error: X11 not found" >&2;}
26988 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26989 fi
26990
26991 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26992 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26993 AFMINSTALL=afminstall
26994 COMPILED_X_PROGRAM=0
26995
26996 fi
26997
26998 if test "$wxUSE_X11" = 1; then
26999 if test "$wxUSE_NANOX" = "yes"; then
27000 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27001 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27002 if test "x$MICROWIN" = x ; then
27003 echo "$as_me:$LINENO: result: not found" >&5
27004 echo "${ECHO_T}not found" >&6
27005 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27006 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27007 { (exit 1); exit 1; }; }
27008 else
27009 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27010 echo "${ECHO_T}$MICROWIN" >&6
27011 cat >>confdefs.h <<\_ACEOF
27012 #define wxUSE_NANOX 1
27013 _ACEOF
27014
27015 fi
27016 fi
27017
27018 if test "$wxUSE_UNICODE" = "yes"; then
27019
27020 succeeded=no
27021
27022 if test -z "$PKG_CONFIG"; then
27023 # Extract the first word of "pkg-config", so it can be a program name with args.
27024 set dummy pkg-config; ac_word=$2
27025 echo "$as_me:$LINENO: checking for $ac_word" >&5
27026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 else
27030 case $PKG_CONFIG in
27031 [\\/]* | ?:[\\/]*)
27032 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27033 ;;
27034 *)
27035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27036 for as_dir in $PATH
27037 do
27038 IFS=$as_save_IFS
27039 test -z "$as_dir" && as_dir=.
27040 for ac_exec_ext in '' $ac_executable_extensions; do
27041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27042 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27044 break 2
27045 fi
27046 done
27047 done
27048
27049 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27050 ;;
27051 esac
27052 fi
27053 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27054
27055 if test -n "$PKG_CONFIG"; then
27056 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27057 echo "${ECHO_T}$PKG_CONFIG" >&6
27058 else
27059 echo "$as_me:$LINENO: result: no" >&5
27060 echo "${ECHO_T}no" >&6
27061 fi
27062
27063 fi
27064
27065 if test "$PKG_CONFIG" = "no" ; then
27066 echo "*** The pkg-config script could not be found. Make sure it is"
27067 echo "*** in your path, or set the PKG_CONFIG environment variable"
27068 echo "*** to the full path to pkg-config."
27069 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27070 else
27071 PKG_CONFIG_MIN_VERSION=0.9.0
27072 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27073 echo "$as_me:$LINENO: checking for pangox" >&5
27074 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27075
27076 if $PKG_CONFIG --exists "pangox" ; then
27077 echo "$as_me:$LINENO: result: yes" >&5
27078 echo "${ECHO_T}yes" >&6
27079 succeeded=yes
27080
27081 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27082 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27083 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27084 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27085 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27086
27087 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27088 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27089 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27090 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27091 echo "${ECHO_T}$PANGOX_LIBS" >&6
27092 else
27093 PANGOX_CFLAGS=""
27094 PANGOX_LIBS=""
27095 ## If we have a custom action on failure, don't print errors, but
27096 ## do set a variable so people can do so.
27097 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27098
27099 fi
27100
27101
27102
27103 else
27104 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27105 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27106 fi
27107 fi
27108
27109 if test $succeeded = yes; then
27110
27111 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27112 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27113
27114 else
27115
27116 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27117 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27118 { (exit 1); exit 1; }; }
27119
27120
27121 fi
27122
27123
27124 succeeded=no
27125
27126 if test -z "$PKG_CONFIG"; then
27127 # Extract the first word of "pkg-config", so it can be a program name with args.
27128 set dummy pkg-config; ac_word=$2
27129 echo "$as_me:$LINENO: checking for $ac_word" >&5
27130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27131 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27132 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 else
27134 case $PKG_CONFIG in
27135 [\\/]* | ?:[\\/]*)
27136 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27137 ;;
27138 *)
27139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27140 for as_dir in $PATH
27141 do
27142 IFS=$as_save_IFS
27143 test -z "$as_dir" && as_dir=.
27144 for ac_exec_ext in '' $ac_executable_extensions; do
27145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27146 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27148 break 2
27149 fi
27150 done
27151 done
27152
27153 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27154 ;;
27155 esac
27156 fi
27157 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27158
27159 if test -n "$PKG_CONFIG"; then
27160 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27161 echo "${ECHO_T}$PKG_CONFIG" >&6
27162 else
27163 echo "$as_me:$LINENO: result: no" >&5
27164 echo "${ECHO_T}no" >&6
27165 fi
27166
27167 fi
27168
27169 if test "$PKG_CONFIG" = "no" ; then
27170 echo "*** The pkg-config script could not be found. Make sure it is"
27171 echo "*** in your path, or set the PKG_CONFIG environment variable"
27172 echo "*** to the full path to pkg-config."
27173 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27174 else
27175 PKG_CONFIG_MIN_VERSION=0.9.0
27176 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27177 echo "$as_me:$LINENO: checking for pangoft2" >&5
27178 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27179
27180 if $PKG_CONFIG --exists "pangoft2" ; then
27181 echo "$as_me:$LINENO: result: yes" >&5
27182 echo "${ECHO_T}yes" >&6
27183 succeeded=yes
27184
27185 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27186 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27187 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27188 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27189 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27190
27191 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27192 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27193 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27194 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27195 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27196 else
27197 PANGOFT2_CFLAGS=""
27198 PANGOFT2_LIBS=""
27199 ## If we have a custom action on failure, don't print errors, but
27200 ## do set a variable so people can do so.
27201 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27202
27203 fi
27204
27205
27206
27207 else
27208 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27209 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27210 fi
27211 fi
27212
27213 if test $succeeded = yes; then
27214
27215 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27217
27218 else
27219
27220 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27221 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27222 wxUSE_PRINTING_ARCHITECTURE="no"
27223
27224
27225 fi
27226
27227
27228 succeeded=no
27229
27230 if test -z "$PKG_CONFIG"; then
27231 # Extract the first word of "pkg-config", so it can be a program name with args.
27232 set dummy pkg-config; ac_word=$2
27233 echo "$as_me:$LINENO: checking for $ac_word" >&5
27234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 else
27238 case $PKG_CONFIG in
27239 [\\/]* | ?:[\\/]*)
27240 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27241 ;;
27242 *)
27243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27244 for as_dir in $PATH
27245 do
27246 IFS=$as_save_IFS
27247 test -z "$as_dir" && as_dir=.
27248 for ac_exec_ext in '' $ac_executable_extensions; do
27249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27250 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27252 break 2
27253 fi
27254 done
27255 done
27256
27257 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27258 ;;
27259 esac
27260 fi
27261 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27262
27263 if test -n "$PKG_CONFIG"; then
27264 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27265 echo "${ECHO_T}$PKG_CONFIG" >&6
27266 else
27267 echo "$as_me:$LINENO: result: no" >&5
27268 echo "${ECHO_T}no" >&6
27269 fi
27270
27271 fi
27272
27273 if test "$PKG_CONFIG" = "no" ; then
27274 echo "*** The pkg-config script could not be found. Make sure it is"
27275 echo "*** in your path, or set the PKG_CONFIG environment variable"
27276 echo "*** to the full path to pkg-config."
27277 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27278 else
27279 PKG_CONFIG_MIN_VERSION=0.9.0
27280 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27281 echo "$as_me:$LINENO: checking for pangoxft" >&5
27282 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27283
27284 if $PKG_CONFIG --exists "pangoxft" ; then
27285 echo "$as_me:$LINENO: result: yes" >&5
27286 echo "${ECHO_T}yes" >&6
27287 succeeded=yes
27288
27289 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27290 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27291 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27292 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27293 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27294
27295 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27296 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27297 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27298 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27299 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27300 else
27301 PANGOXFT_CFLAGS=""
27302 PANGOXFT_LIBS=""
27303 ## If we have a custom action on failure, don't print errors, but
27304 ## do set a variable so people can do so.
27305 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27306
27307 fi
27308
27309
27310
27311 else
27312 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27313 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27314 fi
27315 fi
27316
27317 if test $succeeded = yes; then
27318
27319 cat >>confdefs.h <<\_ACEOF
27320 #define HAVE_PANGO_XFT 1
27321 _ACEOF
27322
27323 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27325
27326 else
27327
27328 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27329 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27330
27331
27332 fi
27333
27334 save_CFLAGS="$CFLAGS"
27335 save_LIBS="$LIBS"
27336 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27337 LIBS="$LIBS $PANGOX_LIBS"
27338
27339 for ac_func in pango_font_family_is_monospace
27340 do
27341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27342 echo "$as_me:$LINENO: checking for $ac_func" >&5
27343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27344 if eval "test \"\${$as_ac_var+set}\" = set"; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27346 else
27347 cat >conftest.$ac_ext <<_ACEOF
27348 /* confdefs.h. */
27349 _ACEOF
27350 cat confdefs.h >>conftest.$ac_ext
27351 cat >>conftest.$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27355 #define $ac_func innocuous_$ac_func
27356
27357 /* System header to define __stub macros and hopefully few prototypes,
27358 which can conflict with char $ac_func (); below.
27359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27360 <limits.h> exists even on freestanding compilers. */
27361
27362 #ifdef __STDC__
27363 # include <limits.h>
27364 #else
27365 # include <assert.h>
27366 #endif
27367
27368 #undef $ac_func
27369
27370 /* Override any gcc2 internal prototype to avoid an error. */
27371 #ifdef __cplusplus
27372 extern "C"
27373 {
27374 #endif
27375 /* We use char because int might match the return type of a gcc2
27376 builtin and then its argument prototype would still apply. */
27377 char $ac_func ();
27378 /* The GNU C library defines this for functions which it implements
27379 to always fail with ENOSYS. Some functions are actually named
27380 something starting with __ and the normal name is an alias. */
27381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27382 choke me
27383 #else
27384 char (*f) () = $ac_func;
27385 #endif
27386 #ifdef __cplusplus
27387 }
27388 #endif
27389
27390 int
27391 main ()
27392 {
27393 return f != $ac_func;
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest.$ac_objext conftest$ac_exeext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27400 (eval $ac_link) 2>conftest.er1
27401 ac_status=$?
27402 grep -v '^ *+' conftest.er1 >conftest.err
27403 rm -f conftest.er1
27404 cat conftest.err >&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } &&
27407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409 (eval $ac_try) 2>&5
27410 ac_status=$?
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; } &&
27413 { ac_try='test -s conftest$ac_exeext'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27416 ac_status=$?
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; }; then
27419 eval "$as_ac_var=yes"
27420 else
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.$ac_ext >&5
27423
27424 eval "$as_ac_var=no"
27425 fi
27426 rm -f conftest.err conftest.$ac_objext \
27427 conftest$ac_exeext conftest.$ac_ext
27428 fi
27429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27431 if test `eval echo '${'$as_ac_var'}'` = yes; then
27432 cat >>confdefs.h <<_ACEOF
27433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27434 _ACEOF
27435
27436 fi
27437 done
27438
27439 CFLAGS="$save_CFLAGS"
27440 LIBS="$save_LIBS"
27441 fi
27442
27443 wxUSE_UNIVERSAL="yes"
27444
27445 if test "$wxUSE_NANOX" = "yes"; then
27446 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27447 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"
27448 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27449 else
27450 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27451 fi
27452
27453 TOOLKIT=X11
27454 GUIDIST=X11_DIST
27455 fi
27456
27457 if test "$wxUSE_MOTIF" = 1; then
27458 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27459 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27460
27461 ac_find_includes=
27462 for ac_dir in $SEARCH_INCLUDE /usr/include;
27463 do
27464 if test -f "$ac_dir/Xm/Xm.h"; then
27465 ac_find_includes=$ac_dir
27466 break
27467 fi
27468 done
27469
27470 if test "$ac_find_includes" != "" ; then
27471 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27472 echo "${ECHO_T}found in $ac_find_includes" >&6
27473
27474 if test "x$ac_find_includes" = "x/usr/include"; then
27475 ac_path_to_include=""
27476 else
27477 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
27478 result=$?
27479 if test $result = 0; then
27480 ac_path_to_include=""
27481 else
27482 ac_path_to_include=" -I$ac_find_includes"
27483 fi
27484 fi
27485
27486 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
27487 else
27488 cat >conftest.$ac_ext <<_ACEOF
27489 /* confdefs.h. */
27490 _ACEOF
27491 cat confdefs.h >>conftest.$ac_ext
27492 cat >>conftest.$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27494
27495 #include <Xm/Xm.h>
27496
27497 int
27498 main ()
27499 {
27500
27501 int version;
27502 version = xmUseVersion;
27503
27504 ;
27505 return 0;
27506 }
27507 _ACEOF
27508 rm -f conftest.$ac_objext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27510 (eval $ac_compile) 2>conftest.er1
27511 ac_status=$?
27512 grep -v '^ *+' conftest.er1 >conftest.err
27513 rm -f conftest.er1
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
27523 { ac_try='test -s conftest.$ac_objext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27526 ac_status=$?
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529
27530 echo "$as_me:$LINENO: result: found in default search path" >&5
27531 echo "${ECHO_T}found in default search path" >&6
27532 COMPILED_X_PROGRAM=1
27533
27534 else
27535 echo "$as_me: failed program was:" >&5
27536 sed 's/^/| /' conftest.$ac_ext >&5
27537
27538
27539 echo "$as_me:$LINENO: result: no" >&5
27540 echo "${ECHO_T}no" >&6
27541 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27542 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27543 { (exit 1); exit 1; }; }
27544
27545
27546 fi
27547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27548 fi
27549
27550 if test "$COMPILED_X_PROGRAM" = 0; then
27551 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27552 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27553
27554 ac_find_libraries=
27555 for ac_dir in $SEARCH_LIB /usr/lib;
27556 do
27557 for ac_extension in a so sl dylib; do
27558 if test -f "$ac_dir/libXm.$ac_extension"; then
27559 ac_find_libraries=$ac_dir
27560 break 2
27561 fi
27562 done
27563 done
27564
27565 if test "$ac_find_libraries" != "" ; then
27566 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27567 echo "${ECHO_T}found at $ac_find_libraries" >&6
27568
27569
27570 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27571 result=$?
27572 if test $result = 0; then
27573 ac_path_to_link=""
27574 else
27575 ac_path_to_link=" -L$ac_find_libraries"
27576 fi
27577
27578 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27579 else
27580 save_CFLAGS=$CFLAGS
27581 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27582
27583 cat >conftest.$ac_ext <<_ACEOF
27584 /* confdefs.h. */
27585 _ACEOF
27586 cat confdefs.h >>conftest.$ac_ext
27587 cat >>conftest.$ac_ext <<_ACEOF
27588 /* end confdefs.h. */
27589
27590 #include <Xm/Xm.h>
27591
27592 int
27593 main ()
27594 {
27595
27596 int version;
27597 version = xmUseVersion;
27598
27599 ;
27600 return 0;
27601 }
27602 _ACEOF
27603 rm -f conftest.$ac_objext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27605 (eval $ac_compile) 2>conftest.er1
27606 ac_status=$?
27607 grep -v '^ *+' conftest.er1 >conftest.err
27608 rm -f conftest.er1
27609 cat conftest.err >&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); } &&
27612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27614 (eval $ac_try) 2>&5
27615 ac_status=$?
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); }; } &&
27618 { ac_try='test -s conftest.$ac_objext'
27619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27620 (eval $ac_try) 2>&5
27621 ac_status=$?
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); }; }; then
27624
27625 echo "$as_me:$LINENO: result: found in default search path" >&5
27626 echo "${ECHO_T}found in default search path" >&6
27627 COMPILED_X_PROGRAM=1
27628
27629 else
27630 echo "$as_me: failed program was:" >&5
27631 sed 's/^/| /' conftest.$ac_ext >&5
27632
27633
27634 echo "$as_me:$LINENO: result: no" >&5
27635 echo "${ECHO_T}no" >&6
27636 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27637 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27638 { (exit 1); exit 1; }; }
27639
27640
27641 fi
27642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27643
27644 CFLAGS=$save_CFLAGS
27645 fi
27646 fi
27647
27648 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27649 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27650 libp_link=""
27651 libsm_ice_link=""
27652 libs_found=0
27653 for libp in "" " -lXp"; do
27654 if test "$libs_found" = "0"; then
27655 for libsm_ice in "" " -lSM -lICE"; do
27656 if test "$libs_found" = "0"; then
27657 save_LIBS="$LIBS"
27658 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27659 save_CFLAGS=$CFLAGS
27660 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27661
27662 cat >conftest.$ac_ext <<_ACEOF
27663 /* confdefs.h. */
27664 _ACEOF
27665 cat confdefs.h >>conftest.$ac_ext
27666 cat >>conftest.$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27668
27669 #include <Xm/Xm.h>
27670 #include <Xm/List.h>
27671
27672 int
27673 main ()
27674 {
27675
27676 XmString string = NULL;
27677 Widget w = NULL;
27678 int position = 0;
27679 XmListAddItem(w, string, position);
27680
27681 ;
27682 return 0;
27683 }
27684 _ACEOF
27685 rm -f conftest.$ac_objext conftest$ac_exeext
27686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27687 (eval $ac_link) 2>conftest.er1
27688 ac_status=$?
27689 grep -v '^ *+' conftest.er1 >conftest.err
27690 rm -f conftest.er1
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27696 (eval $ac_try) 2>&5
27697 ac_status=$?
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); }; } &&
27700 { ac_try='test -s conftest$ac_exeext'
27701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27702 (eval $ac_try) 2>&5
27703 ac_status=$?
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; }; then
27706
27707 libp_link="$libp"
27708 libsm_ice_link="$libsm_ice"
27709 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27710 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27711 libs_found=1
27712
27713 else
27714 echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.$ac_ext >&5
27716
27717
27718
27719 fi
27720 rm -f conftest.err conftest.$ac_objext \
27721 conftest$ac_exeext conftest.$ac_ext
27722
27723 LIBS="$save_LIBS"
27724 CFLAGS=$save_CFLAGS
27725 fi
27726 done
27727 fi
27728 done
27729
27730 if test "$libs_found" = "0"; then
27731 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27732 echo "${ECHO_T}can't find the right libraries" >&6
27733 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27734 echo "$as_me: error: can't link a simple motif program" >&2;}
27735 { (exit 1); exit 1; }; }
27736 fi
27737
27738 save_CFLAGS=$CFLAGS
27739 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27740 echo "$as_me:$LINENO: checking for Motif 2" >&5
27741 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27742 cat >conftest.$ac_ext <<_ACEOF
27743 /* confdefs.h. */
27744 _ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748
27749 #include <Xm/Xm.h>
27750
27751 int
27752 main ()
27753 {
27754
27755 #if XmVersion < 2000
27756 #error "Not Motif 2"
27757 #endif
27758
27759 ;
27760 return 0;
27761 }
27762 _ACEOF
27763 rm -f conftest.$ac_objext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27765 (eval $ac_compile) 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; } &&
27778 { ac_try='test -s conftest.$ac_objext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27781 ac_status=$?
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27784
27785 cat >>confdefs.h <<\_ACEOF
27786 #define __WXMOTIF20__ 1
27787 _ACEOF
27788
27789 echo "$as_me:$LINENO: result: found" >&5
27790 echo "${ECHO_T}found" >&6
27791
27792 else
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.$ac_ext >&5
27795
27796
27797 cat >>confdefs.h <<\_ACEOF
27798 #define __WXMOTIF20__ 0
27799 _ACEOF
27800
27801 echo "$as_me:$LINENO: result: not found" >&5
27802 echo "${ECHO_T}not found" >&6
27803
27804 fi
27805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27806 CFLAGS=$save_CFLAGS
27807
27808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27809 TOOLKIT=MOTIF
27810 GUIDIST=MOTIF_DIST
27811 fi
27812
27813 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27814 if test "$wxUSE_LIBXPM" = "sys"; then
27815 echo "$as_me:$LINENO: checking for Xpm library" >&5
27816 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27817
27818 ac_find_libraries=
27819 for ac_dir in $SEARCH_LIB /usr/lib;
27820 do
27821 for ac_extension in a so sl dylib; do
27822 if test -f "$ac_dir/libXpm.$ac_extension"; then
27823 ac_find_libraries=$ac_dir
27824 break 2
27825 fi
27826 done
27827 done
27828
27829 if test "$ac_find_libraries" != "" ; then
27830
27831 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27832 result=$?
27833 if test $result = 0; then
27834 ac_path_to_link=""
27835 else
27836 ac_path_to_link=" -L$ac_find_libraries"
27837 fi
27838
27839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27840 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27841 echo "${ECHO_T}found at $ac_find_libraries" >&6
27842
27843 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27844 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27845 if test "${wx_cv_x11_xpm_h+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 else
27848
27849 save_CFLAGS=$CFLAGS
27850 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27851
27852 cat >conftest.$ac_ext <<_ACEOF
27853 /* confdefs.h. */
27854 _ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27858
27859 #include <X11/xpm.h>
27860
27861 int
27862 main ()
27863 {
27864
27865 int version;
27866 version = XpmLibraryVersion();
27867
27868 ;
27869 return 0;
27870 }
27871 _ACEOF
27872 rm -f conftest.$ac_objext
27873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27874 (eval $ac_compile) 2>conftest.er1
27875 ac_status=$?
27876 grep -v '^ *+' conftest.er1 >conftest.err
27877 rm -f conftest.er1
27878 cat conftest.err >&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); } &&
27881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27883 (eval $ac_try) 2>&5
27884 ac_status=$?
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); }; } &&
27887 { ac_try='test -s conftest.$ac_objext'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27890 ac_status=$?
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; }; then
27893 wx_cv_x11_xpm_h=yes
27894 else
27895 echo "$as_me: failed program was:" >&5
27896 sed 's/^/| /' conftest.$ac_ext >&5
27897
27898 wx_cv_x11_xpm_h=no
27899
27900 fi
27901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27902
27903 CFLAGS=$save_CFLAGS
27904
27905
27906 fi
27907 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27908 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27909
27910 if test $wx_cv_x11_xpm_h = "yes"; then
27911 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
27912 cat >>confdefs.h <<\_ACEOF
27913 #define wxHAVE_LIB_XPM 1
27914 _ACEOF
27915
27916 else
27917 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27918 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27919 fi
27920 fi
27921
27922 fi
27923
27924 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27925 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27926 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 else
27929 ac_check_lib_save_LIBS=$LIBS
27930 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27931 cat >conftest.$ac_ext <<_ACEOF
27932 /* confdefs.h. */
27933 _ACEOF
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937
27938 /* Override any gcc2 internal prototype to avoid an error. */
27939 #ifdef __cplusplus
27940 extern "C"
27941 #endif
27942 /* We use char because int might match the return type of a gcc2
27943 builtin and then its argument prototype would still apply. */
27944 char XShapeQueryExtension ();
27945 int
27946 main ()
27947 {
27948 XShapeQueryExtension ();
27949 ;
27950 return 0;
27951 }
27952 _ACEOF
27953 rm -f conftest.$ac_objext conftest$ac_exeext
27954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27955 (eval $ac_link) 2>conftest.er1
27956 ac_status=$?
27957 grep -v '^ *+' conftest.er1 >conftest.err
27958 rm -f conftest.er1
27959 cat conftest.err >&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27965 ac_status=$?
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; } &&
27968 { ac_try='test -s conftest$ac_exeext'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27971 ac_status=$?
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27974 ac_cv_lib_Xext_XShapeQueryExtension=yes
27975 else
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.$ac_ext >&5
27978
27979 ac_cv_lib_Xext_XShapeQueryExtension=no
27980 fi
27981 rm -f conftest.err conftest.$ac_objext \
27982 conftest$ac_exeext conftest.$ac_ext
27983 LIBS=$ac_check_lib_save_LIBS
27984 fi
27985 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27986 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27987 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27988
27989 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27990 wxHAVE_XEXT_LIB=1
27991
27992 fi
27993
27994
27995 if test "$wxHAVE_XEXT_LIB" = 1; then
27996 save_CFLAGS="$CFLAGS"
27997 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27998
27999 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28000 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28007
28008 #include <X11/Xlib.h>
28009 #include <X11/extensions/shape.h>
28010
28011 int
28012 main ()
28013 {
28014
28015 int dummy1, dummy2;
28016 XShapeQueryExtension((Display*)NULL,
28017 (int*)NULL, (int*)NULL);
28018
28019 ;
28020 return 0;
28021 }
28022 _ACEOF
28023 rm -f conftest.$ac_objext
28024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28025 (eval $ac_compile) 2>conftest.er1
28026 ac_status=$?
28027 grep -v '^ *+' conftest.er1 >conftest.err
28028 rm -f conftest.er1
28029 cat conftest.err >&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); } &&
28032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28034 (eval $ac_try) 2>&5
28035 ac_status=$?
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); }; } &&
28038 { ac_try='test -s conftest.$ac_objext'
28039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28040 (eval $ac_try) 2>&5
28041 ac_status=$?
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; }; then
28044
28045 cat >>confdefs.h <<\_ACEOF
28046 #define HAVE_XSHAPE 1
28047 _ACEOF
28048
28049 echo "$as_me:$LINENO: result: found" >&5
28050 echo "${ECHO_T}found" >&6
28051
28052 else
28053 echo "$as_me: failed program was:" >&5
28054 sed 's/^/| /' conftest.$ac_ext >&5
28055
28056
28057 echo "$as_me:$LINENO: result: not found" >&5
28058 echo "${ECHO_T}not found" >&6
28059
28060 fi
28061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28062 CFLAGS="$save_CFLAGS"
28063
28064 fi
28065 fi
28066
28067 if test "$wxUSE_MAC" = 1; then
28068 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28069 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28070 if test "$GCC" = yes; then
28071 echo "$as_me:$LINENO: result: gcc" >&5
28072 echo "${ECHO_T}gcc" >&6
28073 CPPFLAGS_PASCAL="-fpascal-strings"
28074 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28075 echo "$as_me:$LINENO: result: xlc" >&5
28076 echo "${ECHO_T}xlc" >&6
28077 CPPFLAGS_PASCAL="-qmacpstr"
28078 else
28079 echo "$as_me:$LINENO: result: none" >&5
28080 echo "${ECHO_T}none" >&6
28081 fi
28082
28083 if test "x$wxUSE_UNIX" = "xyes"; then
28084 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28085 else
28086 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28087 fi
28088
28089 TOOLKIT=MAC
28090 GUIDIST=MACX_DIST
28091 WXBASEPORT="_carbon"
28092 fi
28093
28094 if test "$wxUSE_COCOA" = 1; then
28095 TOOLKIT=COCOA
28096 GUIDIST=COCOA_DIST
28097 fi
28098
28099 if test "$wxUSE_PM" = 1; then
28100 TOOLKIT=PM
28101 GUIDIST=PM_DIST
28102 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28103 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28104 if test "${wx_cv_spbcdata+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 else
28107
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114
28115 #define INCL_PM
28116 #include <os2.h>
28117
28118 int
28119 main ()
28120 {
28121
28122 SPBCDATA test;
28123
28124 ;
28125 return 0;
28126 }
28127 _ACEOF
28128 rm -f conftest.$ac_objext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28130 (eval $ac_compile) 2>conftest.er1
28131 ac_status=$?
28132 grep -v '^ *+' conftest.er1 >conftest.err
28133 rm -f conftest.er1
28134 cat conftest.err >&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28140 ac_status=$?
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; } &&
28143 { ac_try='test -s conftest.$ac_objext'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28146 ac_status=$?
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; }; then
28149 wx_cv_spbcdata=yes
28150 else
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28153
28154 wx_cv_spbcdata=no
28155
28156 fi
28157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28158
28159
28160 fi
28161 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28162 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28163
28164 if test $wx_cv_spbcdata = "yes"; then
28165 cat >>confdefs.h <<\_ACEOF
28166 #define HAVE_SPBCDATA 1
28167 _ACEOF
28168
28169 fi
28170 fi
28171
28172 if test "$TOOLKIT" = "PM" ; then
28173 TOOLKIT_DIR="os2"
28174 else
28175 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28176 fi
28177
28178 if test "$wxUSE_UNIVERSAL" = "yes"; then
28179 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28180 WIDGET_SET=univ
28181 fi
28182
28183 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28184 DISTDIR="wx\$(TOOLKIT)"
28185 else
28186 USE_GUI=0
28187
28188 TOOLKIT_DIR="base"
28189
28190 if test "$USE_WIN32" = 1 ; then
28191 TOOLKIT="MSW"
28192 fi
28193
28194 GUIDIST="BASE_DIST"
28195 DISTDIR="wxBase"
28196 fi
28197
28198
28199
28200
28201 IODBC_C_SRC=""
28202
28203
28204 if test "$TOOLKIT" != "MSW" ; then
28205
28206 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28207
28208 if test "${ac_cv_header_sql_h+set}" = set; then
28209 echo "$as_me:$LINENO: checking for sql.h" >&5
28210 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28211 if test "${ac_cv_header_sql_h+set}" = set; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28213 fi
28214 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28215 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28216 else
28217 # Is the header compilable?
28218 echo "$as_me:$LINENO: checking sql.h usability" >&5
28219 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28220 cat >conftest.$ac_ext <<_ACEOF
28221 /* confdefs.h. */
28222 _ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28226 $ac_includes_default
28227 #include <sql.h>
28228 _ACEOF
28229 rm -f conftest.$ac_objext
28230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28231 (eval $ac_compile) 2>conftest.er1
28232 ac_status=$?
28233 grep -v '^ *+' conftest.er1 >conftest.err
28234 rm -f conftest.er1
28235 cat conftest.err >&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } &&
28238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240 (eval $ac_try) 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); }; } &&
28244 { ac_try='test -s conftest.$ac_objext'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; }; then
28250 ac_header_compiler=yes
28251 else
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 ac_header_compiler=no
28256 fi
28257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28259 echo "${ECHO_T}$ac_header_compiler" >&6
28260
28261 # Is the header present?
28262 echo "$as_me:$LINENO: checking sql.h presence" >&5
28263 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270 #include <sql.h>
28271 _ACEOF
28272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28274 ac_status=$?
28275 grep -v '^ *+' conftest.er1 >conftest.err
28276 rm -f conftest.er1
28277 cat conftest.err >&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } >/dev/null; then
28280 if test -s conftest.err; then
28281 ac_cpp_err=$ac_c_preproc_warn_flag
28282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28283 else
28284 ac_cpp_err=
28285 fi
28286 else
28287 ac_cpp_err=yes
28288 fi
28289 if test -z "$ac_cpp_err"; then
28290 ac_header_preproc=yes
28291 else
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.$ac_ext >&5
28294
28295 ac_header_preproc=no
28296 fi
28297 rm -f conftest.err conftest.$ac_ext
28298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28299 echo "${ECHO_T}$ac_header_preproc" >&6
28300
28301 # So? What about this header?
28302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28303 yes:no: )
28304 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28305 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28307 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28308 ac_header_preproc=yes
28309 ;;
28310 no:yes:* )
28311 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28312 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28314 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28316 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28318 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28319 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28320 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28321 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28322 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28323 (
28324 cat <<\_ASBOX
28325 ## ----------------------------------------- ##
28326 ## Report this to wx-dev@lists.wxwidgets.org ##
28327 ## ----------------------------------------- ##
28328 _ASBOX
28329 ) |
28330 sed "s/^/$as_me: WARNING: /" >&2
28331 ;;
28332 esac
28333 echo "$as_me:$LINENO: checking for sql.h" >&5
28334 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28335 if test "${ac_cv_header_sql_h+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28338 ac_cv_header_sql_h=$ac_header_preproc
28339 fi
28340 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28341 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28342
28343 fi
28344 if test $ac_cv_header_sql_h = yes; then
28345 found_sql_h=1
28346 fi
28347
28348
28349 if test "x$found_sql_h" = "x1" ; then
28350 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28351 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28352 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355 ac_check_lib_save_LIBS=$LIBS
28356 LIBS="-liodbc $LIBS"
28357 cat >conftest.$ac_ext <<_ACEOF
28358 /* confdefs.h. */
28359 _ACEOF
28360 cat confdefs.h >>conftest.$ac_ext
28361 cat >>conftest.$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28363
28364 /* Override any gcc2 internal prototype to avoid an error. */
28365 #ifdef __cplusplus
28366 extern "C"
28367 #endif
28368 /* We use char because int might match the return type of a gcc2
28369 builtin and then its argument prototype would still apply. */
28370 char SQLAllocEnv ();
28371 int
28372 main ()
28373 {
28374 SQLAllocEnv ();
28375 ;
28376 return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext conftest$ac_exeext
28380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28381 (eval $ac_link) 2>conftest.er1
28382 ac_status=$?
28383 grep -v '^ *+' conftest.er1 >conftest.err
28384 rm -f conftest.er1
28385 cat conftest.err >&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } &&
28388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390 (eval $ac_try) 2>&5
28391 ac_status=$?
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); }; } &&
28394 { ac_try='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28397 ac_status=$?
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 ac_cv_lib_iodbc_SQLAllocEnv=yes
28401 else
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.$ac_ext >&5
28404
28405 ac_cv_lib_iodbc_SQLAllocEnv=no
28406 fi
28407 rm -f conftest.err conftest.$ac_objext \
28408 conftest$ac_exeext conftest.$ac_ext
28409 LIBS=$ac_check_lib_save_LIBS
28410 fi
28411 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28412 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28413 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28414 ODBC_LINK=" -liodbc"
28415 else
28416
28417 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28418 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28419 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28420 echo $ECHO_N "(cached) $ECHO_C" >&6
28421 else
28422 ac_check_lib_save_LIBS=$LIBS
28423 LIBS="-lunixodbc $LIBS"
28424 cat >conftest.$ac_ext <<_ACEOF
28425 /* confdefs.h. */
28426 _ACEOF
28427 cat confdefs.h >>conftest.$ac_ext
28428 cat >>conftest.$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28430
28431 /* Override any gcc2 internal prototype to avoid an error. */
28432 #ifdef __cplusplus
28433 extern "C"
28434 #endif
28435 /* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28437 char SQLAllocEnv ();
28438 int
28439 main ()
28440 {
28441 SQLAllocEnv ();
28442 ;
28443 return 0;
28444 }
28445 _ACEOF
28446 rm -f conftest.$ac_objext conftest$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>conftest.er1
28449 ac_status=$?
28450 grep -v '^ *+' conftest.er1 >conftest.err
28451 rm -f conftest.er1
28452 cat conftest.err >&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); } &&
28455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457 (eval $ac_try) 2>&5
28458 ac_status=$?
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; } &&
28461 { ac_try='test -s conftest$ac_exeext'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28464 ac_status=$?
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; }; then
28467 ac_cv_lib_unixodbc_SQLAllocEnv=yes
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_cv_lib_unixodbc_SQLAllocEnv=no
28473 fi
28474 rm -f conftest.err conftest.$ac_objext \
28475 conftest$ac_exeext conftest.$ac_ext
28476 LIBS=$ac_check_lib_save_LIBS
28477 fi
28478 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28479 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28480 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28481 ODBC_LINK=" -lunixodbc"
28482 else
28483
28484 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28485 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28486 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 else
28489 ac_check_lib_save_LIBS=$LIBS
28490 LIBS="-lodbc $LIBS"
28491 cat >conftest.$ac_ext <<_ACEOF
28492 /* confdefs.h. */
28493 _ACEOF
28494 cat confdefs.h >>conftest.$ac_ext
28495 cat >>conftest.$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28497
28498 /* Override any gcc2 internal prototype to avoid an error. */
28499 #ifdef __cplusplus
28500 extern "C"
28501 #endif
28502 /* We use char because int might match the return type of a gcc2
28503 builtin and then its argument prototype would still apply. */
28504 char SQLAllocEnv ();
28505 int
28506 main ()
28507 {
28508 SQLAllocEnv ();
28509 ;
28510 return 0;
28511 }
28512 _ACEOF
28513 rm -f conftest.$ac_objext conftest$ac_exeext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28515 (eval $ac_link) 2>conftest.er1
28516 ac_status=$?
28517 grep -v '^ *+' conftest.er1 >conftest.err
28518 rm -f conftest.er1
28519 cat conftest.err >&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } &&
28522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; } &&
28528 { ac_try='test -s conftest$ac_exeext'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; }; then
28534 ac_cv_lib_odbc_SQLAllocEnv=yes
28535 else
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28538
28539 ac_cv_lib_odbc_SQLAllocEnv=no
28540 fi
28541 rm -f conftest.err conftest.$ac_objext \
28542 conftest$ac_exeext conftest.$ac_ext
28543 LIBS=$ac_check_lib_save_LIBS
28544 fi
28545 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28546 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28547 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28548 ODBC_LINK=" -lodbc"
28549 fi
28550
28551
28552 fi
28553
28554
28555 fi
28556
28557 fi
28558 if test "x$ODBC_LINK" = "x" ; then
28559 if test "$wxUSE_ODBC" = "sys" ; then
28560 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28561 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28562 { (exit 1); exit 1; }; }
28563 else
28564 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28565 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28566 wxUSE_ODBC=builtin
28567 fi
28568 else
28569 wxUSE_ODBC=sys
28570 fi
28571 fi
28572
28573 if test "$wxUSE_ODBC" = "builtin" ; then
28574 cat >>confdefs.h <<\_ACEOF
28575 #define wxUSE_BUILTIN_IODBC 1
28576 _ACEOF
28577
28578 fi
28579 fi
28580
28581 if test "$wxUSE_ODBC" != "no" ; then
28582 cat >>confdefs.h <<\_ACEOF
28583 #define wxUSE_ODBC 1
28584 _ACEOF
28585
28586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
28587
28588 WXODBCFLAG="-D_IODBC_"
28589 fi
28590
28591
28592 if test "$wxUSE_DISPLAY" = "yes"; then
28593 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28594 echo "$as_me:$LINENO: checking for Xinerama" >&5
28595 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28596
28597 ac_find_libraries=
28598 for ac_dir in $SEARCH_LIB /usr/lib;
28599 do
28600 for ac_extension in a so sl dylib; do
28601 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28602 ac_find_libraries=$ac_dir
28603 break 2
28604 fi
28605 done
28606 done
28607
28608 if test "$ac_find_libraries" != "" ; then
28609
28610 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28611 result=$?
28612 if test $result = 0; then
28613 ac_path_to_link=""
28614 else
28615 ac_path_to_link=" -L$ac_find_libraries"
28616 fi
28617
28618 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28619 LDFLAGS="$LDFLAGS $ac_path_to_link"
28620 fi
28621 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
28622 echo "$as_me:$LINENO: result: yes" >&5
28623 echo "${ECHO_T}yes" >&6
28624
28625 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28626 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28627
28628 ac_find_libraries=
28629 for ac_dir in $SEARCH_LIB /usr/lib;
28630 do
28631 for ac_extension in a so sl dylib; do
28632 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28633 ac_find_libraries=$ac_dir
28634 break 2
28635 fi
28636 done
28637 done
28638
28639 if test "$ac_find_libraries" != "" ; then
28640 echo "$as_me:$LINENO: result: yes" >&5
28641 echo "${ECHO_T}yes" >&6
28642
28643 for ac_header in X11/extensions/xf86vmode.h
28644 do
28645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28646 echo "$as_me:$LINENO: checking for $ac_header" >&5
28647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 else
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657
28658 #if HAVE_X11_XLIB_H
28659 #include <X11/Xlib.h>
28660 #endif
28661
28662
28663 #include <$ac_header>
28664 _ACEOF
28665 rm -f conftest.$ac_objext
28666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28667 (eval $ac_compile) 2>conftest.er1
28668 ac_status=$?
28669 grep -v '^ *+' conftest.er1 >conftest.err
28670 rm -f conftest.er1
28671 cat conftest.err >&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } &&
28674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28676 (eval $ac_try) 2>&5
28677 ac_status=$?
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); }; } &&
28680 { ac_try='test -s conftest.$ac_objext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 eval "$as_ac_Header=yes"
28687 else
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28690
28691 eval "$as_ac_Header=no"
28692 fi
28693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28694 fi
28695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28698 cat >>confdefs.h <<_ACEOF
28699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28700 _ACEOF
28701
28702 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
28703
28704 fi
28705
28706 done
28707
28708 else
28709 echo "$as_me:$LINENO: result: no" >&5
28710 echo "${ECHO_T}no" >&6
28711 fi
28712
28713 else
28714 echo "$as_me:$LINENO: result: no" >&5
28715 echo "${ECHO_T}no" >&6
28716 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28717 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28718 wxUSE_DISPLAY="no"
28719 fi
28720 elif test "$wxUSE_MSW" = 1; then
28721
28722
28723 for ac_header in multimon.h ddraw.h
28724 do
28725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28726 echo "$as_me:$LINENO: checking for $ac_header" >&5
28727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 else
28731 cat >conftest.$ac_ext <<_ACEOF
28732 /* confdefs.h. */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737 #include <windows.h>
28738
28739 #include <$ac_header>
28740 _ACEOF
28741 rm -f conftest.$ac_objext
28742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28743 (eval $ac_compile) 2>conftest.er1
28744 ac_status=$?
28745 grep -v '^ *+' conftest.er1 >conftest.err
28746 rm -f conftest.er1
28747 cat conftest.err >&5
28748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); } &&
28750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752 (eval $ac_try) 2>&5
28753 ac_status=$?
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); }; } &&
28756 { ac_try='test -s conftest.$ac_objext'
28757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28758 (eval $ac_try) 2>&5
28759 ac_status=$?
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); }; }; then
28762 eval "$as_ac_Header=yes"
28763 else
28764 echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28766
28767 eval "$as_ac_Header=no"
28768 fi
28769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28770 fi
28771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28774 cat >>confdefs.h <<_ACEOF
28775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28776 _ACEOF
28777
28778 else
28779
28780 wxUSE_DISPLAY="no"
28781 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28782 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28783
28784 fi
28785
28786 done
28787
28788 fi
28789 fi
28790
28791
28792 USE_OPENGL=0
28793 if test "$wxUSE_OPENGL" = "yes"; then
28794 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28795 OPENGL_LIBS="-framework OpenGL -framework AGL"
28796 elif test "$wxUSE_MSW" = 1; then
28797 OPENGL_LIBS="-lopengl32 -lglu32"
28798 else
28799
28800
28801 ac_find_includes=
28802 for ac_dir in $SEARCH_INCLUDE /usr/include;
28803 do
28804 if test -f "$ac_dir/GL/gl.h"; then
28805 ac_find_includes=$ac_dir
28806 break
28807 fi
28808 done
28809
28810 if test "$ac_find_includes" != "" ; then
28811 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28812 echo "${ECHO_T}found in $ac_find_includes" >&6
28813
28814 if test "x$ac_find_includes" = "x/usr/include"; then
28815 ac_path_to_include=""
28816 else
28817 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
28818 result=$?
28819 if test $result = 0; then
28820 ac_path_to_include=""
28821 else
28822 ac_path_to_include=" -I$ac_find_includes"
28823 fi
28824 fi
28825
28826 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
28827 fi
28828
28829 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28830 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28831 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28832 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 fi
28835 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28836 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28837 else
28838 # Is the header compilable?
28839 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28840 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28841 cat >conftest.$ac_ext <<_ACEOF
28842 /* confdefs.h. */
28843 _ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847 $ac_includes_default
28848 #include <GL/gl.h>
28849 _ACEOF
28850 rm -f conftest.$ac_objext
28851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28852 (eval $ac_compile) 2>conftest.er1
28853 ac_status=$?
28854 grep -v '^ *+' conftest.er1 >conftest.err
28855 rm -f conftest.er1
28856 cat conftest.err >&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } &&
28859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; } &&
28865 { ac_try='test -s conftest.$ac_objext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28868 ac_status=$?
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 ac_header_compiler=yes
28872 else
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28875
28876 ac_header_compiler=no
28877 fi
28878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28880 echo "${ECHO_T}$ac_header_compiler" >&6
28881
28882 # Is the header present?
28883 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28884 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28885 cat >conftest.$ac_ext <<_ACEOF
28886 /* confdefs.h. */
28887 _ACEOF
28888 cat confdefs.h >>conftest.$ac_ext
28889 cat >>conftest.$ac_ext <<_ACEOF
28890 /* end confdefs.h. */
28891 #include <GL/gl.h>
28892 _ACEOF
28893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28894 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
28901 if test -s conftest.err; then
28902 ac_cpp_err=$ac_c_preproc_warn_flag
28903 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28904 else
28905 ac_cpp_err=
28906 fi
28907 else
28908 ac_cpp_err=yes
28909 fi
28910 if test -z "$ac_cpp_err"; then
28911 ac_header_preproc=yes
28912 else
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28915
28916 ac_header_preproc=no
28917 fi
28918 rm -f conftest.err conftest.$ac_ext
28919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28920 echo "${ECHO_T}$ac_header_preproc" >&6
28921
28922 # So? What about this header?
28923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28924 yes:no: )
28925 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28926 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28927 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28928 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28929 ac_header_preproc=yes
28930 ;;
28931 no:yes:* )
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28933 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28935 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28937 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28939 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28941 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28943 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28944 (
28945 cat <<\_ASBOX
28946 ## ----------------------------------------- ##
28947 ## Report this to wx-dev@lists.wxwidgets.org ##
28948 ## ----------------------------------------- ##
28949 _ASBOX
28950 ) |
28951 sed "s/^/$as_me: WARNING: /" >&2
28952 ;;
28953 esac
28954 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28955 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28956 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 else
28959 ac_cv_header_GL_gl_h=$ac_header_preproc
28960 fi
28961 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28962 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28963
28964 fi
28965 if test $ac_cv_header_GL_gl_h = yes; then
28966
28967 found_gl=0
28968
28969 echo "$as_me:$LINENO: checking for -lGL" >&5
28970 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28971
28972 ac_find_libraries=
28973 for ac_dir in $SEARCH_LIB /usr/lib;
28974 do
28975 for ac_extension in a so sl dylib; do
28976 if test -f "$ac_dir/libGL.$ac_extension"; then
28977 ac_find_libraries=$ac_dir
28978 break 2
28979 fi
28980 done
28981 done
28982
28983 if test "$ac_find_libraries" != "" ; then
28984
28985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28986 result=$?
28987 if test $result = 0; then
28988 ac_path_to_link=""
28989 else
28990 ac_path_to_link=" -L$ac_find_libraries"
28991 fi
28992
28993 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28994 LDFLAGS_GL="$ac_path_to_link"
28995 fi
28996
28997
28998 ac_find_libraries=
28999 for ac_dir in $SEARCH_LIB /usr/lib;
29000 do
29001 for ac_extension in a so sl dylib; do
29002 if test -f "$ac_dir/libGLU.$ac_extension"; then
29003 ac_find_libraries=$ac_dir
29004 break 2
29005 fi
29006 done
29007 done
29008
29009 if test "$ac_find_libraries" != "" ; then
29010
29011 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29012 result=$?
29013 if test $result = 0; then
29014 ac_path_to_link=""
29015 else
29016 ac_path_to_link=" -L$ac_find_libraries"
29017 fi
29018
29019 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29020 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29021 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29022 fi
29023
29024 found_gl=1
29025 OPENGL_LIBS="-lGL -lGLU"
29026 echo "$as_me:$LINENO: result: yes" >&5
29027 echo "${ECHO_T}yes" >&6
29028 fi
29029 fi
29030
29031 if test "$found_gl" != 1; then
29032 echo "$as_me:$LINENO: result: no" >&5
29033 echo "${ECHO_T}no" >&6
29034 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29035 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29036
29037 ac_find_libraries=
29038 for ac_dir in $SEARCH_LIB /usr/lib;
29039 do
29040 for ac_extension in a so sl dylib; do
29041 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29042 ac_find_libraries=$ac_dir
29043 break 2
29044 fi
29045 done
29046 done
29047
29048 if test "$ac_find_libraries" != "" ; then
29049
29050 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29051 result=$?
29052 if test $result = 0; then
29053 ac_path_to_link=""
29054 else
29055 ac_path_to_link=" -L$ac_find_libraries"
29056 fi
29057
29058 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29059 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29060 echo "$as_me:$LINENO: result: yes" >&5
29061 echo "${ECHO_T}yes" >&6
29062 else
29063 echo "$as_me:$LINENO: result: no" >&5
29064 echo "${ECHO_T}no" >&6
29065 fi
29066 fi
29067
29068 fi
29069
29070
29071
29072 if test "x$OPENGL_LIBS" = "x"; then
29073 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29074 echo "$as_me: error: OpenGL libraries not available" >&2;}
29075 { (exit 1); exit 1; }; }
29076 fi
29077 fi
29078
29079 if test "$wxUSE_OPENGL" = "yes"; then
29080 USE_OPENGL=1
29081 cat >>confdefs.h <<\_ACEOF
29082 #define wxUSE_OPENGL 1
29083 _ACEOF
29084
29085 cat >>confdefs.h <<\_ACEOF
29086 #define wxUSE_GLCANVAS 1
29087 _ACEOF
29088
29089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29090 fi
29091 fi
29092
29093
29094 if test -n "$TOOLKIT" ; then
29095 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29096 fi
29097
29098
29099
29100 if test "$wxUSE_SHARED" = "yes"; then
29101 case "${host}" in
29102 *-pc-msdosdjgpp )
29103 wxUSE_SHARED=no
29104 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29105 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29106 ;;
29107 esac
29108 fi
29109
29110 if test "$wxUSE_SHARED" = "yes"; then
29111
29112
29113 found_versioning=no
29114
29115
29116 if test $found_versioning = no ; then
29117 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29118 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29119 if test "${wx_cv_version_script+set}" = set; then
29120 echo $ECHO_N "(cached) $ECHO_C" >&6
29121 else
29122
29123 echo "VER_1 { *; };" >conftest.sym
29124 echo "int main() { return 0; }" >conftest.cpp
29125
29126 if { ac_try='
29127 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29128 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29131 ac_status=$?
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; } ; then
29134 if test -s conftest.stderr ; then
29135 wx_cv_version_script=no
29136 else
29137 wx_cv_version_script=yes
29138 fi
29139 else
29140 wx_cv_version_script=no
29141 fi
29142 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29143
29144 fi
29145 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29146 echo "${ECHO_T}$wx_cv_version_script" >&6
29147 if test $wx_cv_version_script = yes ; then
29148 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29149 fi
29150 fi
29151
29152
29153 case "${host}" in
29154 *-*-linux* | *-*-gnu* )
29155 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29156 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29157 ;;
29158
29159 *-*-solaris2* )
29160 if test "$GCC" = yes ; then
29161 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29162
29163 saveLdflags="$LDFLAGS"
29164 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29165 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29166 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h. */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29173
29174 int
29175 main ()
29176 {
29177
29178 ;
29179 return 0;
29180 }
29181 _ACEOF
29182 rm -f conftest.$ac_objext conftest$ac_exeext
29183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29184 (eval $ac_link) 2>conftest.er1
29185 ac_status=$?
29186 grep -v '^ *+' conftest.er1 >conftest.err
29187 rm -f conftest.er1
29188 cat conftest.err >&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } &&
29191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29193 (eval $ac_try) 2>&5
29194 ac_status=$?
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); }; } &&
29197 { ac_try='test -s conftest$ac_exeext'
29198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29199 (eval $ac_try) 2>&5
29200 ac_status=$?
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); }; }; then
29203
29204 echo "$as_me:$LINENO: result: yes" >&5
29205 echo "${ECHO_T}yes" >&6
29206 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29207 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29208
29209 else
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.$ac_ext >&5
29212
29213
29214 echo "$as_me:$LINENO: result: no" >&5
29215 echo "${ECHO_T}no" >&6
29216 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29217 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29218 LDFLAGS="$saveLdflags -Wl,-R,/"
29219 cat >conftest.$ac_ext <<_ACEOF
29220 /* confdefs.h. */
29221 _ACEOF
29222 cat confdefs.h >>conftest.$ac_ext
29223 cat >>conftest.$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29225
29226 int
29227 main ()
29228 {
29229
29230 ;
29231 return 0;
29232 }
29233 _ACEOF
29234 rm -f conftest.$ac_objext conftest$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -z "$ac_c_werror_flag" || 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
29256 echo "$as_me:$LINENO: result: yes" >&5
29257 echo "${ECHO_T}yes" >&6
29258 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29259 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29260
29261 else
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29264
29265
29266 echo "$as_me:$LINENO: result: no" >&5
29267 echo "${ECHO_T}no" >&6
29268
29269 fi
29270 rm -f conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272
29273 fi
29274 rm -f conftest.err conftest.$ac_objext \
29275 conftest$ac_exeext conftest.$ac_ext
29276 LDFLAGS="$saveLdflags"
29277 else
29278 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29279 WXCONFIG_RPATH="-R\$libdir"
29280 fi
29281 ;;
29282
29283 powerpc-*-darwin* )
29284 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29285 cat <<EOF >change-install-names
29286 #!/bin/sh
29287 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29288 inst_cmd="install_name_tool "
29289 for i in \${libnames} ; do
29290 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29291 done
29292 \${inst_cmd} \${3}
29293 EOF
29294 chmod +x change-install-names
29295 ;;
29296
29297 *-*-cygwin* | *-*-mingw32* )
29298 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29299 ;;
29300
29301 *-*-hpux* )
29302 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29303 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29304 ;;
29305
29306 esac
29307
29308 if test $wxUSE_RPATH = "no"; then
29309 SAMPLES_RPATH_FLAG=''
29310 SAMPLES_RPATH_POSTLINK=''
29311 WXCONFIG_RPATH=''
29312 fi
29313
29314 SHARED=1
29315
29316 else
29317
29318 config_linkage_component="-static"
29319 SHARED=0
29320
29321 fi
29322
29323
29324 UNICODE=0
29325 lib_unicode_suffix=
29326 WX_CHARTYPE="ansi"
29327 if test "$wxUSE_UNICODE" = "yes"; then
29328 lib_unicode_suffix=u
29329 WX_CHARTYPE="unicode"
29330 UNICODE=1
29331 fi
29332
29333 lib_debug_suffix=
29334 WX_DEBUGTYPE="release"
29335 DEBUG_FLAG=0
29336 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29337 lib_debug_suffix=d
29338 WX_DEBUGTYPE="debug"
29339 DEBUG_FLAG=1
29340 fi
29341
29342 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29343 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29344
29345 DEBUG_INFO=0
29346 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29347 DEBUG_INFO=1
29348 fi
29349
29350 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29351
29352 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29353
29354 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29355
29356 if test "$cross_compiling" = "yes"; then
29357 HOST_SUFFIX="-$host_alias"
29358 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
29359 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
29360 fi
29361
29362 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29363 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29364
29365
29366
29367 if test "$wxUSE_COCOA" = 1; then
29368
29369
29370 ac_ext=c
29371 ac_cpp='$CPP $CPPFLAGS'
29372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29375
29376 ac_ext=m
29377
29378 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29379 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29380 cat >conftest.$ac_ext <<_ACEOF
29381 /* confdefs.h. */
29382 _ACEOF
29383 cat confdefs.h >>conftest.$ac_ext
29384 cat >>conftest.$ac_ext <<_ACEOF
29385 /* end confdefs.h. */
29386 #include <AppKit/NSEvent.h>
29387 #include <CoreFoundation/CoreFoundation.h>
29388
29389 int
29390 main ()
29391 {
29392
29393 ;
29394 return 0;
29395 }
29396 _ACEOF
29397 rm -f conftest.$ac_objext
29398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29399 (eval $ac_compile) 2>conftest.er1
29400 ac_status=$?
29401 grep -v '^ *+' conftest.er1 >conftest.err
29402 rm -f conftest.er1
29403 cat conftest.err >&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); } &&
29406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29408 (eval $ac_try) 2>&5
29409 ac_status=$?
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; } &&
29412 { ac_try='test -s conftest.$ac_objext'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; }; then
29418 echo "$as_me:$LINENO: result: no" >&5
29419 echo "${ECHO_T}no" >&6
29420 else
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29423
29424 echo "$as_me:$LINENO: result: yes" >&5
29425 echo "${ECHO_T}yes" >&6
29426 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29427 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29428 cat >conftest.$ac_ext <<_ACEOF
29429 /* confdefs.h. */
29430 _ACEOF
29431 cat confdefs.h >>conftest.$ac_ext
29432 cat >>conftest.$ac_ext <<_ACEOF
29433 /* end confdefs.h. */
29434 #define __Point__ 1
29435 #include <AppKit/NSEvent.h>
29436 #include <CoreFoundation/CoreFoundation.h>
29437
29438 int
29439 main ()
29440 {
29441
29442 ;
29443 return 0;
29444 }
29445 _ACEOF
29446 rm -f conftest.$ac_objext
29447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29448 (eval $ac_compile) 2>conftest.er1
29449 ac_status=$?
29450 grep -v '^ *+' conftest.er1 >conftest.err
29451 rm -f conftest.er1
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } &&
29455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29458 ac_status=$?
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; } &&
29461 { ac_try='test -s conftest.$ac_objext'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29464 ac_status=$?
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; }; then
29467 echo "$as_me:$LINENO: result: yes" >&5
29468 echo "${ECHO_T}yes" >&6
29469 cat >>confdefs.h <<\_ACEOF
29470 #define __Point__ 1
29471 _ACEOF
29472
29473
29474 else
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29477
29478 { { echo "$as_me:$LINENO: error: no
29479 See \`config.log' for more details." >&5
29480 echo "$as_me: error: no
29481 See \`config.log' for more details." >&2;}
29482 { (exit 1); exit 1; }; }
29483
29484 fi
29485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29486
29487 fi
29488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29489 ac_ext=c
29490 ac_cpp='$CPP $CPPFLAGS'
29491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29494
29495 fi
29496
29497 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29498 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29499 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29500
29501 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29502
29503 # Extract the first word of "Rez", so it can be a program name with args.
29504 set dummy Rez; ac_word=$2
29505 echo "$as_me:$LINENO: checking for $ac_word" >&5
29506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29507 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29508 echo $ECHO_N "(cached) $ECHO_C" >&6
29509 else
29510 if test -n "$RESCOMP"; then
29511 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
29512 else
29513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29514 for as_dir in $PATH
29515 do
29516 IFS=$as_save_IFS
29517 test -z "$as_dir" && as_dir=.
29518 for ac_exec_ext in '' $ac_executable_extensions; do
29519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29520 ac_cv_prog_RESCOMP="Rez"
29521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29522 break 2
29523 fi
29524 done
29525 done
29526
29527 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
29528 fi
29529 fi
29530 RESCOMP=$ac_cv_prog_RESCOMP
29531 if test -n "$RESCOMP"; then
29532 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29533 echo "${ECHO_T}$RESCOMP" >&6
29534 else
29535 echo "$as_me:$LINENO: result: no" >&5
29536 echo "${ECHO_T}no" >&6
29537 fi
29538
29539 # Extract the first word of "DeRez", so it can be a program name with args.
29540 set dummy DeRez; ac_word=$2
29541 echo "$as_me:$LINENO: checking for $ac_word" >&5
29542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29543 if test "${ac_cv_prog_DEREZ+set}" = set; then
29544 echo $ECHO_N "(cached) $ECHO_C" >&6
29545 else
29546 if test -n "$DEREZ"; then
29547 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
29548 else
29549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29550 for as_dir in $PATH
29551 do
29552 IFS=$as_save_IFS
29553 test -z "$as_dir" && as_dir=.
29554 for ac_exec_ext in '' $ac_executable_extensions; do
29555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29556 ac_cv_prog_DEREZ="DeRez"
29557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29558 break 2
29559 fi
29560 done
29561 done
29562
29563 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
29564 fi
29565 fi
29566 DEREZ=$ac_cv_prog_DEREZ
29567 if test -n "$DEREZ"; then
29568 echo "$as_me:$LINENO: result: $DEREZ" >&5
29569 echo "${ECHO_T}$DEREZ" >&6
29570 else
29571 echo "$as_me:$LINENO: result: no" >&5
29572 echo "${ECHO_T}no" >&6
29573 fi
29574
29575 # Extract the first word of "SetFile", so it can be a program name with args.
29576 set dummy SetFile; ac_word=$2
29577 echo "$as_me:$LINENO: checking for $ac_word" >&5
29578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29579 if test "${ac_cv_prog_SETFILE+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 else
29582 if test -n "$SETFILE"; then
29583 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
29584 else
29585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29586 for as_dir in $PATH
29587 do
29588 IFS=$as_save_IFS
29589 test -z "$as_dir" && as_dir=.
29590 for ac_exec_ext in '' $ac_executable_extensions; do
29591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29592 ac_cv_prog_SETFILE="SetFile"
29593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29594 break 2
29595 fi
29596 done
29597 done
29598
29599 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
29600 fi
29601 fi
29602 SETFILE=$ac_cv_prog_SETFILE
29603 if test -n "$SETFILE"; then
29604 echo "$as_me:$LINENO: result: $SETFILE" >&5
29605 echo "${ECHO_T}$SETFILE" >&6
29606 else
29607 echo "$as_me:$LINENO: result: no" >&5
29608 echo "${ECHO_T}no" >&6
29609 fi
29610
29611
29612 MACSETFILE="\$(SETFILE)"
29613
29614 if test "$wxUSE_MAC" = 1; then
29615 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29616
29617 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29618 else
29619 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29620 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29621 fi
29622 else
29623 MACSETFILE="@true"
29624 MACRESWXCONFIG="@true"
29625
29626 if test "$wxUSE_PM" = 1; then
29627 MACRESCOMP="emxbind -ep"
29628 else
29629 MACRESCOMP="@true"
29630 fi
29631 fi
29632
29633
29634
29635 echo "$as_me:$LINENO: checking for mode_t" >&5
29636 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29637 if test "${ac_cv_type_mode_t+set}" = set; then
29638 echo $ECHO_N "(cached) $ECHO_C" >&6
29639 else
29640 cat >conftest.$ac_ext <<_ACEOF
29641 /* confdefs.h. */
29642 _ACEOF
29643 cat confdefs.h >>conftest.$ac_ext
29644 cat >>conftest.$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29646 $ac_includes_default
29647 int
29648 main ()
29649 {
29650 if ((mode_t *) 0)
29651 return 0;
29652 if (sizeof (mode_t))
29653 return 0;
29654 ;
29655 return 0;
29656 }
29657 _ACEOF
29658 rm -f conftest.$ac_objext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29660 (eval $ac_compile) 2>conftest.er1
29661 ac_status=$?
29662 grep -v '^ *+' conftest.er1 >conftest.err
29663 rm -f conftest.er1
29664 cat conftest.err >&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29670 ac_status=$?
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; } &&
29673 { ac_try='test -s conftest.$ac_objext'
29674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29675 (eval $ac_try) 2>&5
29676 ac_status=$?
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); }; }; then
29679 ac_cv_type_mode_t=yes
29680 else
29681 echo "$as_me: failed program was:" >&5
29682 sed 's/^/| /' conftest.$ac_ext >&5
29683
29684 ac_cv_type_mode_t=no
29685 fi
29686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29687 fi
29688 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29689 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29690 if test $ac_cv_type_mode_t = yes; then
29691 :
29692 else
29693
29694 cat >>confdefs.h <<_ACEOF
29695 #define mode_t int
29696 _ACEOF
29697
29698 fi
29699
29700 echo "$as_me:$LINENO: checking for off_t" >&5
29701 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29702 if test "${ac_cv_type_off_t+set}" = set; then
29703 echo $ECHO_N "(cached) $ECHO_C" >&6
29704 else
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h. */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711 $ac_includes_default
29712 int
29713 main ()
29714 {
29715 if ((off_t *) 0)
29716 return 0;
29717 if (sizeof (off_t))
29718 return 0;
29719 ;
29720 return 0;
29721 }
29722 _ACEOF
29723 rm -f conftest.$ac_objext
29724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29725 (eval $ac_compile) 2>conftest.er1
29726 ac_status=$?
29727 grep -v '^ *+' conftest.er1 >conftest.err
29728 rm -f conftest.er1
29729 cat conftest.err >&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); } &&
29732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29735 ac_status=$?
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; } &&
29738 { ac_try='test -s conftest.$ac_objext'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29741 ac_status=$?
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }; then
29744 ac_cv_type_off_t=yes
29745 else
29746 echo "$as_me: failed program was:" >&5
29747 sed 's/^/| /' conftest.$ac_ext >&5
29748
29749 ac_cv_type_off_t=no
29750 fi
29751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29752 fi
29753 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29754 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29755 if test $ac_cv_type_off_t = yes; then
29756 :
29757 else
29758
29759 cat >>confdefs.h <<_ACEOF
29760 #define off_t long
29761 _ACEOF
29762
29763 fi
29764
29765 echo "$as_me:$LINENO: checking for pid_t" >&5
29766 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29767 if test "${ac_cv_type_pid_t+set}" = set; then
29768 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 else
29770 cat >conftest.$ac_ext <<_ACEOF
29771 /* confdefs.h. */
29772 _ACEOF
29773 cat confdefs.h >>conftest.$ac_ext
29774 cat >>conftest.$ac_ext <<_ACEOF
29775 /* end confdefs.h. */
29776 $ac_includes_default
29777 int
29778 main ()
29779 {
29780 if ((pid_t *) 0)
29781 return 0;
29782 if (sizeof (pid_t))
29783 return 0;
29784 ;
29785 return 0;
29786 }
29787 _ACEOF
29788 rm -f conftest.$ac_objext
29789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29790 (eval $ac_compile) 2>conftest.er1
29791 ac_status=$?
29792 grep -v '^ *+' conftest.er1 >conftest.err
29793 rm -f conftest.er1
29794 cat conftest.err >&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } &&
29797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799 (eval $ac_try) 2>&5
29800 ac_status=$?
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); }; } &&
29803 { ac_try='test -s conftest.$ac_objext'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29806 ac_status=$?
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; }; then
29809 ac_cv_type_pid_t=yes
29810 else
29811 echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.$ac_ext >&5
29813
29814 ac_cv_type_pid_t=no
29815 fi
29816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29817 fi
29818 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29819 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29820 if test $ac_cv_type_pid_t = yes; then
29821 :
29822 else
29823
29824 cat >>confdefs.h <<_ACEOF
29825 #define pid_t int
29826 _ACEOF
29827
29828 fi
29829
29830 echo "$as_me:$LINENO: checking for size_t" >&5
29831 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29832 if test "${ac_cv_type_size_t+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29834 else
29835 cat >conftest.$ac_ext <<_ACEOF
29836 /* confdefs.h. */
29837 _ACEOF
29838 cat confdefs.h >>conftest.$ac_ext
29839 cat >>conftest.$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29841 $ac_includes_default
29842 int
29843 main ()
29844 {
29845 if ((size_t *) 0)
29846 return 0;
29847 if (sizeof (size_t))
29848 return 0;
29849 ;
29850 return 0;
29851 }
29852 _ACEOF
29853 rm -f conftest.$ac_objext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29855 (eval $ac_compile) 2>conftest.er1
29856 ac_status=$?
29857 grep -v '^ *+' conftest.er1 >conftest.err
29858 rm -f conftest.er1
29859 cat conftest.err >&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } &&
29862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29868 { ac_try='test -s conftest.$ac_objext'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29871 ac_status=$?
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; }; then
29874 ac_cv_type_size_t=yes
29875 else
29876 echo "$as_me: failed program was:" >&5
29877 sed 's/^/| /' conftest.$ac_ext >&5
29878
29879 ac_cv_type_size_t=no
29880 fi
29881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29882 fi
29883 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29884 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29885 if test $ac_cv_type_size_t = yes; then
29886 :
29887 else
29888
29889 cat >>confdefs.h <<_ACEOF
29890 #define size_t unsigned
29891 _ACEOF
29892
29893 fi
29894
29895 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29896 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29897 if test "${ac_cv_type_uid_t+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29899 else
29900 cat >conftest.$ac_ext <<_ACEOF
29901 /* confdefs.h. */
29902 _ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906 #include <sys/types.h>
29907
29908 _ACEOF
29909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29910 $EGREP "uid_t" >/dev/null 2>&1; then
29911 ac_cv_type_uid_t=yes
29912 else
29913 ac_cv_type_uid_t=no
29914 fi
29915 rm -f conftest*
29916
29917 fi
29918 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29919 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29920 if test $ac_cv_type_uid_t = no; then
29921
29922 cat >>confdefs.h <<\_ACEOF
29923 #define uid_t int
29924 _ACEOF
29925
29926
29927 cat >>confdefs.h <<\_ACEOF
29928 #define gid_t int
29929 _ACEOF
29930
29931 fi
29932
29933
29934 echo "$as_me:$LINENO: checking for ssize_t" >&5
29935 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29936 if test "${ac_cv_type_ssize_t+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
29939 cat >conftest.$ac_ext <<_ACEOF
29940 /* confdefs.h. */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945 $ac_includes_default
29946 int
29947 main ()
29948 {
29949 if ((ssize_t *) 0)
29950 return 0;
29951 if (sizeof (ssize_t))
29952 return 0;
29953 ;
29954 return 0;
29955 }
29956 _ACEOF
29957 rm -f conftest.$ac_objext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29959 (eval $ac_compile) 2>conftest.er1
29960 ac_status=$?
29961 grep -v '^ *+' conftest.er1 >conftest.err
29962 rm -f conftest.er1
29963 cat conftest.err >&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29969 ac_status=$?
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; } &&
29972 { ac_try='test -s conftest.$ac_objext'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29975 ac_status=$?
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 ac_cv_type_ssize_t=yes
29979 else
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.$ac_ext >&5
29982
29983 ac_cv_type_ssize_t=no
29984 fi
29985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29986 fi
29987 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29988 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29989 if test $ac_cv_type_ssize_t = yes; then
29990
29991 cat >>confdefs.h <<_ACEOF
29992 #define HAVE_SSIZE_T 1
29993 _ACEOF
29994
29995
29996 fi
29997
29998
29999
30000
30001 ac_ext=cc
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006
30007 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30008 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30009 if test "${wx_cv_size_t_is_uint+set}" = set; then
30010 echo $ECHO_N "(cached) $ECHO_C" >&6
30011 else
30012
30013 cat >conftest.$ac_ext <<_ACEOF
30014 /* confdefs.h. */
30015 _ACEOF
30016 cat confdefs.h >>conftest.$ac_ext
30017 cat >>conftest.$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30019 #include <stddef.h>
30020 int
30021 main ()
30022 {
30023
30024 return 0; }
30025
30026 struct Foo { void foo(size_t); void foo(unsigned int); };
30027
30028 int bar() {
30029
30030 ;
30031 return 0;
30032 }
30033 _ACEOF
30034 rm -f conftest.$ac_objext
30035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30036 (eval $ac_compile) 2>conftest.er1
30037 ac_status=$?
30038 grep -v '^ *+' conftest.er1 >conftest.err
30039 rm -f conftest.er1
30040 cat conftest.err >&5
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); } &&
30043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30046 ac_status=$?
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; } &&
30049 { ac_try='test -s conftest.$ac_objext'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30052 ac_status=$?
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; }; then
30055 wx_cv_size_t_is_uint=no
30056 else
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30059
30060 wx_cv_size_t_is_uint=yes
30061
30062 fi
30063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30064
30065
30066 fi
30067 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30068 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30069
30070 if test "$wx_cv_size_t_is_uint" = "yes"; then
30071 cat >>confdefs.h <<\_ACEOF
30072 #define wxSIZE_T_IS_UINT 1
30073 _ACEOF
30074
30075 else
30076 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30077 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30078 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30081 cat >conftest.$ac_ext <<_ACEOF
30082 /* confdefs.h. */
30083 _ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 #include <stddef.h>
30088 int
30089 main ()
30090 {
30091
30092 return 0; }
30093
30094 struct Foo { void foo(size_t); void foo(unsigned long); };
30095
30096 int bar() {
30097
30098 ;
30099 return 0;
30100 }
30101 _ACEOF
30102 rm -f conftest.$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30105 ac_status=$?
30106 grep -v '^ *+' conftest.er1 >conftest.err
30107 rm -f conftest.er1
30108 cat conftest.err >&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30113 (eval $ac_try) 2>&5
30114 ac_status=$?
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; } &&
30117 { ac_try='test -s conftest.$ac_objext'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30120 ac_status=$?
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; }; then
30123 wx_cv_size_t_is_ulong=no
30124 else
30125 echo "$as_me: failed program was:" >&5
30126 sed 's/^/| /' conftest.$ac_ext >&5
30127
30128 wx_cv_size_t_is_ulong=yes
30129
30130 fi
30131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30132
30133 fi
30134 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30135 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30136
30137 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30138 cat >>confdefs.h <<\_ACEOF
30139 #define wxSIZE_T_IS_ULONG 1
30140 _ACEOF
30141
30142 fi
30143 fi
30144
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150
30151
30152
30153 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30154 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30155 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30156 echo $ECHO_N "(cached) $ECHO_C" >&6
30157 else
30158
30159 cat >conftest.$ac_ext <<_ACEOF
30160 /* confdefs.h. */
30161 _ACEOF
30162 cat confdefs.h >>conftest.$ac_ext
30163 cat >>conftest.$ac_ext <<_ACEOF
30164 /* end confdefs.h. */
30165 #include <pwd.h>
30166 int
30167 main ()
30168 {
30169
30170 char *p;
30171 struct passwd *pw;
30172 p = pw->pw_gecos;
30173
30174 ;
30175 return 0;
30176 }
30177 _ACEOF
30178 rm -f conftest.$ac_objext
30179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30180 (eval $ac_compile) 2>conftest.er1
30181 ac_status=$?
30182 grep -v '^ *+' conftest.er1 >conftest.err
30183 rm -f conftest.er1
30184 cat conftest.err >&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); } &&
30187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189 (eval $ac_try) 2>&5
30190 ac_status=$?
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; } &&
30193 { ac_try='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30196 ac_status=$?
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30199
30200 wx_cv_struct_pw_gecos=yes
30201
30202 else
30203 echo "$as_me: failed program was:" >&5
30204 sed 's/^/| /' conftest.$ac_ext >&5
30205
30206
30207 wx_cv_struct_pw_gecos=no
30208
30209
30210 fi
30211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30212
30213
30214 fi
30215 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30216 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30217
30218 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30219 cat >>confdefs.h <<\_ACEOF
30220 #define HAVE_PW_GECOS 1
30221 _ACEOF
30222
30223 fi
30224
30225
30226 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30227 cat >>confdefs.h <<\_ACEOF
30228 #define wxUSE_WCHAR_T 1
30229 _ACEOF
30230
30231
30232 WCSLEN_FOUND=0
30233 WCHAR_LINK=
30234
30235 for ac_func in wcslen
30236 do
30237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30238 echo "$as_me:$LINENO: checking for $ac_func" >&5
30239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30240 if eval "test \"\${$as_ac_var+set}\" = set"; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 else
30243 cat >conftest.$ac_ext <<_ACEOF
30244 /* confdefs.h. */
30245 _ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define $ac_func innocuous_$ac_func
30252
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char $ac_func (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30257
30258 #ifdef __STDC__
30259 # include <limits.h>
30260 #else
30261 # include <assert.h>
30262 #endif
30263
30264 #undef $ac_func
30265
30266 /* Override any gcc2 internal prototype to avoid an error. */
30267 #ifdef __cplusplus
30268 extern "C"
30269 {
30270 #endif
30271 /* We use char because int might match the return type of a gcc2
30272 builtin and then its argument prototype would still apply. */
30273 char $ac_func ();
30274 /* The GNU C library defines this for functions which it implements
30275 to always fail with ENOSYS. Some functions are actually named
30276 something starting with __ and the normal name is an alias. */
30277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30278 choke me
30279 #else
30280 char (*f) () = $ac_func;
30281 #endif
30282 #ifdef __cplusplus
30283 }
30284 #endif
30285
30286 int
30287 main ()
30288 {
30289 return f != $ac_func;
30290 ;
30291 return 0;
30292 }
30293 _ACEOF
30294 rm -f conftest.$ac_objext conftest$ac_exeext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30296 (eval $ac_link) 2>conftest.er1
30297 ac_status=$?
30298 grep -v '^ *+' conftest.er1 >conftest.err
30299 rm -f conftest.er1
30300 cat conftest.err >&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30312 ac_status=$?
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 eval "$as_ac_var=yes"
30316 else
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30319
30320 eval "$as_ac_var=no"
30321 fi
30322 rm -f conftest.err conftest.$ac_objext \
30323 conftest$ac_exeext conftest.$ac_ext
30324 fi
30325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30327 if test `eval echo '${'$as_ac_var'}'` = yes; then
30328 cat >>confdefs.h <<_ACEOF
30329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30330 _ACEOF
30331 WCSLEN_FOUND=1
30332 fi
30333 done
30334
30335
30336 if test "$WCSLEN_FOUND" = 0; then
30337 if test "$TOOLKIT" = "MSW"; then
30338 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30339 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30340 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30342 else
30343 ac_check_lib_save_LIBS=$LIBS
30344 LIBS="-lmsvcrt $LIBS"
30345 cat >conftest.$ac_ext <<_ACEOF
30346 /* confdefs.h. */
30347 _ACEOF
30348 cat confdefs.h >>conftest.$ac_ext
30349 cat >>conftest.$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30351
30352 /* Override any gcc2 internal prototype to avoid an error. */
30353 #ifdef __cplusplus
30354 extern "C"
30355 #endif
30356 /* We use char because int might match the return type of a gcc2
30357 builtin and then its argument prototype would still apply. */
30358 char wcslen ();
30359 int
30360 main ()
30361 {
30362 wcslen ();
30363 ;
30364 return 0;
30365 }
30366 _ACEOF
30367 rm -f conftest.$ac_objext conftest$ac_exeext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30369 (eval $ac_link) 2>conftest.er1
30370 ac_status=$?
30371 grep -v '^ *+' conftest.er1 >conftest.err
30372 rm -f conftest.er1
30373 cat conftest.err >&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } &&
30376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30378 (eval $ac_try) 2>&5
30379 ac_status=$?
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); }; } &&
30382 { ac_try='test -s conftest$ac_exeext'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30385 ac_status=$?
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; }; then
30388 ac_cv_lib_msvcrt_wcslen=yes
30389 else
30390 echo "$as_me: failed program was:" >&5
30391 sed 's/^/| /' conftest.$ac_ext >&5
30392
30393 ac_cv_lib_msvcrt_wcslen=no
30394 fi
30395 rm -f conftest.err conftest.$ac_objext \
30396 conftest$ac_exeext conftest.$ac_ext
30397 LIBS=$ac_check_lib_save_LIBS
30398 fi
30399 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30400 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30401 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30402 WCHAR_OK=1
30403 fi
30404
30405 else
30406 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30407 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30408 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30409 echo $ECHO_N "(cached) $ECHO_C" >&6
30410 else
30411 ac_check_lib_save_LIBS=$LIBS
30412 LIBS="-lw $LIBS"
30413 cat >conftest.$ac_ext <<_ACEOF
30414 /* confdefs.h. */
30415 _ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30419
30420 /* Override any gcc2 internal prototype to avoid an error. */
30421 #ifdef __cplusplus
30422 extern "C"
30423 #endif
30424 /* We use char because int might match the return type of a gcc2
30425 builtin and then its argument prototype would still apply. */
30426 char wcslen ();
30427 int
30428 main ()
30429 {
30430 wcslen ();
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30437 (eval $ac_link) 2>conftest.er1
30438 ac_status=$?
30439 grep -v '^ *+' conftest.er1 >conftest.err
30440 rm -f conftest.er1
30441 cat conftest.err >&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30447 ac_status=$?
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; } &&
30450 { ac_try='test -s conftest$ac_exeext'
30451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452 (eval $ac_try) 2>&5
30453 ac_status=$?
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); }; }; then
30456 ac_cv_lib_w_wcslen=yes
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 ac_cv_lib_w_wcslen=no
30462 fi
30463 rm -f conftest.err conftest.$ac_objext \
30464 conftest$ac_exeext conftest.$ac_ext
30465 LIBS=$ac_check_lib_save_LIBS
30466 fi
30467 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30468 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30469 if test $ac_cv_lib_w_wcslen = yes; then
30470
30471 WCHAR_LINK=" -lw"
30472 WCSLEN_FOUND=1
30473
30474 fi
30475
30476 fi
30477 fi
30478
30479 if test "$WCSLEN_FOUND" = 1; then
30480 cat >>confdefs.h <<\_ACEOF
30481 #define HAVE_WCSLEN 1
30482 _ACEOF
30483
30484 fi
30485
30486 if test "$USE_HPUX" = 1; then
30487 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30488 fi
30489
30490
30491 for ac_func in wcsrtombs
30492 do
30493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30494 echo "$as_me:$LINENO: checking for $ac_func" >&5
30495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30496 if eval "test \"\${$as_ac_var+set}\" = set"; then
30497 echo $ECHO_N "(cached) $ECHO_C" >&6
30498 else
30499 cat >conftest.$ac_ext <<_ACEOF
30500 /* confdefs.h. */
30501 _ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30507 #define $ac_func innocuous_$ac_func
30508
30509 /* System header to define __stub macros and hopefully few prototypes,
30510 which can conflict with char $ac_func (); below.
30511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30512 <limits.h> exists even on freestanding compilers. */
30513
30514 #ifdef __STDC__
30515 # include <limits.h>
30516 #else
30517 # include <assert.h>
30518 #endif
30519
30520 #undef $ac_func
30521
30522 /* Override any gcc2 internal prototype to avoid an error. */
30523 #ifdef __cplusplus
30524 extern "C"
30525 {
30526 #endif
30527 /* We use char because int might match the return type of a gcc2
30528 builtin and then its argument prototype would still apply. */
30529 char $ac_func ();
30530 /* The GNU C library defines this for functions which it implements
30531 to always fail with ENOSYS. Some functions are actually named
30532 something starting with __ and the normal name is an alias. */
30533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30534 choke me
30535 #else
30536 char (*f) () = $ac_func;
30537 #endif
30538 #ifdef __cplusplus
30539 }
30540 #endif
30541
30542 int
30543 main ()
30544 {
30545 return f != $ac_func;
30546 ;
30547 return 0;
30548 }
30549 _ACEOF
30550 rm -f conftest.$ac_objext conftest$ac_exeext
30551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30552 (eval $ac_link) 2>conftest.er1
30553 ac_status=$?
30554 grep -v '^ *+' conftest.er1 >conftest.err
30555 rm -f conftest.er1
30556 cat conftest.err >&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); } &&
30559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561 (eval $ac_try) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; } &&
30565 { ac_try='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30568 ac_status=$?
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 eval "$as_ac_var=yes"
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 eval "$as_ac_var=no"
30577 fi
30578 rm -f conftest.err conftest.$ac_objext \
30579 conftest$ac_exeext conftest.$ac_ext
30580 fi
30581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30583 if test `eval echo '${'$as_ac_var'}'` = yes; then
30584 cat >>confdefs.h <<_ACEOF
30585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30586 _ACEOF
30587
30588 fi
30589 done
30590
30591 else
30592 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30593 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30594 fi
30595
30596
30597
30598 ac_ext=cc
30599 ac_cpp='$CXXCPP $CPPFLAGS'
30600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30603
30604
30605
30606 for ac_func in vsnprintf
30607 do
30608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30609 echo "$as_me:$LINENO: checking for $ac_func" >&5
30610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30611 if eval "test \"\${$as_ac_var+set}\" = set"; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30614 cat >conftest.$ac_ext <<_ACEOF
30615 /* confdefs.h. */
30616 _ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30622 #define $ac_func innocuous_$ac_func
30623
30624 /* System header to define __stub macros and hopefully few prototypes,
30625 which can conflict with char $ac_func (); below.
30626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30627 <limits.h> exists even on freestanding compilers. */
30628
30629 #ifdef __STDC__
30630 # include <limits.h>
30631 #else
30632 # include <assert.h>
30633 #endif
30634
30635 #undef $ac_func
30636
30637 /* Override any gcc2 internal prototype to avoid an error. */
30638 #ifdef __cplusplus
30639 extern "C"
30640 {
30641 #endif
30642 /* We use char because int might match the return type of a gcc2
30643 builtin and then its argument prototype would still apply. */
30644 char $ac_func ();
30645 /* The GNU C library defines this for functions which it implements
30646 to always fail with ENOSYS. Some functions are actually named
30647 something starting with __ and the normal name is an alias. */
30648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30649 choke me
30650 #else
30651 char (*f) () = $ac_func;
30652 #endif
30653 #ifdef __cplusplus
30654 }
30655 #endif
30656
30657 int
30658 main ()
30659 {
30660 return f != $ac_func;
30661 ;
30662 return 0;
30663 }
30664 _ACEOF
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30667 (eval $ac_link) 2>conftest.er1
30668 ac_status=$?
30669 grep -v '^ *+' conftest.er1 >conftest.err
30670 rm -f conftest.er1
30671 cat conftest.err >&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); } &&
30674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30677 ac_status=$?
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; } &&
30680 { ac_try='test -s conftest$ac_exeext'
30681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30682 (eval $ac_try) 2>&5
30683 ac_status=$?
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; }; then
30686 eval "$as_ac_var=yes"
30687 else
30688 echo "$as_me: failed program was:" >&5
30689 sed 's/^/| /' conftest.$ac_ext >&5
30690
30691 eval "$as_ac_var=no"
30692 fi
30693 rm -f conftest.err conftest.$ac_objext \
30694 conftest$ac_exeext conftest.$ac_ext
30695 fi
30696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30698 if test `eval echo '${'$as_ac_var'}'` = yes; then
30699 cat >>confdefs.h <<_ACEOF
30700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30701 _ACEOF
30702
30703 fi
30704 done
30705
30706
30707 if test "$ac_cv_func_vsnprintf" = "yes"; then
30708 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30709 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30710 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 else
30713
30714 cat >conftest.$ac_ext <<_ACEOF
30715 /* confdefs.h. */
30716 _ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720
30721 #include <stdio.h>
30722 #include <stdarg.h>
30723
30724 int
30725 main ()
30726 {
30727
30728 char *buf;
30729 va_list ap;
30730 vsnprintf(buf, 10u, "%s", ap);
30731
30732 ;
30733 return 0;
30734 }
30735 _ACEOF
30736 rm -f conftest.$ac_objext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30738 (eval $ac_compile) 2>conftest.er1
30739 ac_status=$?
30740 grep -v '^ *+' conftest.er1 >conftest.err
30741 rm -f conftest.er1
30742 cat conftest.err >&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } &&
30745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30748 ac_status=$?
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; } &&
30751 { ac_try='test -s conftest.$ac_objext'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30754 ac_status=$?
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; }; then
30757 wx_cv_func_vsnprintf_decl=yes
30758 else
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.$ac_ext >&5
30761
30762
30763 cat >conftest.$ac_ext <<_ACEOF
30764 /* confdefs.h. */
30765 _ACEOF
30766 cat confdefs.h >>conftest.$ac_ext
30767 cat >>conftest.$ac_ext <<_ACEOF
30768 /* end confdefs.h. */
30769
30770 #include <stdio.h>
30771 #include <stdarg.h>
30772 using namespace std;
30773
30774 int
30775 main ()
30776 {
30777
30778 char *buf;
30779 va_list ap;
30780 vsnprintf(buf, 10u, "%s", ap);
30781
30782 ;
30783 return 0;
30784 }
30785 _ACEOF
30786 rm -f conftest.$ac_objext
30787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30788 (eval $ac_compile) 2>conftest.er1
30789 ac_status=$?
30790 grep -v '^ *+' conftest.er1 >conftest.err
30791 rm -f conftest.er1
30792 cat conftest.err >&5
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } &&
30795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30798 ac_status=$?
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; } &&
30801 { ac_try='test -s conftest.$ac_objext'
30802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803 (eval $ac_try) 2>&5
30804 ac_status=$?
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); }; }; then
30807 wx_cv_func_vsnprintf_decl=yes
30808 else
30809 echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.$ac_ext >&5
30811
30812 wx_cv_func_vsnprintf_decl=no
30813
30814 fi
30815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30816
30817
30818 fi
30819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30820
30821
30822 fi
30823 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30824 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30825
30826 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30827 cat >>confdefs.h <<\_ACEOF
30828 #define HAVE_VSNPRINTF_DECL 1
30829 _ACEOF
30830
30831 fi
30832 fi
30833
30834 if test "$wxUSE_UNICODE" = yes; then
30835
30836
30837
30838
30839
30840
30841 for ac_func in wputc wputchar putws fputws wprintf vswprintf
30842 do
30843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30844 echo "$as_me:$LINENO: checking for $ac_func" >&5
30845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30846 if eval "test \"\${$as_ac_var+set}\" = set"; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30848 else
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30857 #define $ac_func innocuous_$ac_func
30858
30859 /* System header to define __stub macros and hopefully few prototypes,
30860 which can conflict with char $ac_func (); below.
30861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30862 <limits.h> exists even on freestanding compilers. */
30863
30864 #ifdef __STDC__
30865 # include <limits.h>
30866 #else
30867 # include <assert.h>
30868 #endif
30869
30870 #undef $ac_func
30871
30872 /* Override any gcc2 internal prototype to avoid an error. */
30873 #ifdef __cplusplus
30874 extern "C"
30875 {
30876 #endif
30877 /* We use char because int might match the return type of a gcc2
30878 builtin and then its argument prototype would still apply. */
30879 char $ac_func ();
30880 /* The GNU C library defines this for functions which it implements
30881 to always fail with ENOSYS. Some functions are actually named
30882 something starting with __ and the normal name is an alias. */
30883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30884 choke me
30885 #else
30886 char (*f) () = $ac_func;
30887 #endif
30888 #ifdef __cplusplus
30889 }
30890 #endif
30891
30892 int
30893 main ()
30894 {
30895 return f != $ac_func;
30896 ;
30897 return 0;
30898 }
30899 _ACEOF
30900 rm -f conftest.$ac_objext conftest$ac_exeext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30902 (eval $ac_link) 2>conftest.er1
30903 ac_status=$?
30904 grep -v '^ *+' conftest.er1 >conftest.err
30905 rm -f conftest.er1
30906 cat conftest.err >&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } &&
30909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30911 (eval $ac_try) 2>&5
30912 ac_status=$?
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); }; } &&
30915 { ac_try='test -s conftest$ac_exeext'
30916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30917 (eval $ac_try) 2>&5
30918 ac_status=$?
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; }; then
30921 eval "$as_ac_var=yes"
30922 else
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.$ac_ext >&5
30925
30926 eval "$as_ac_var=no"
30927 fi
30928 rm -f conftest.err conftest.$ac_objext \
30929 conftest$ac_exeext conftest.$ac_ext
30930 fi
30931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30933 if test `eval echo '${'$as_ac_var'}'` = yes; then
30934 cat >>confdefs.h <<_ACEOF
30935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30936 _ACEOF
30937
30938 fi
30939 done
30940
30941
30942 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30943 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30944 cat >conftest.$ac_ext <<_ACEOF
30945 /* confdefs.h. */
30946 _ACEOF
30947 cat confdefs.h >>conftest.$ac_ext
30948 cat >>conftest.$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30950 #include <wchar.h>
30951 int
30952 main ()
30953 {
30954 &_vsnwprintf;
30955 ;
30956 return 0;
30957 }
30958 _ACEOF
30959 rm -f conftest.$ac_objext
30960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30961 (eval $ac_compile) 2>conftest.er1
30962 ac_status=$?
30963 grep -v '^ *+' conftest.er1 >conftest.err
30964 rm -f conftest.er1
30965 cat conftest.err >&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); } &&
30968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30971 ac_status=$?
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; } &&
30974 { ac_try='test -s conftest.$ac_objext'
30975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30976 (eval $ac_try) 2>&5
30977 ac_status=$?
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); }; }; then
30980 echo "$as_me:$LINENO: result: yes" >&5
30981 echo "${ECHO_T}yes" >&6
30982 cat >>confdefs.h <<\_ACEOF
30983 #define HAVE__VSNWPRINTF 1
30984 _ACEOF
30985
30986 else
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.$ac_ext >&5
30989
30990 echo "$as_me:$LINENO: result: no" >&5
30991 echo "${ECHO_T}no" >&6
30992 fi
30993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30994 fi
30995
30996 ac_ext=c
30997 ac_cpp='$CPP $CPPFLAGS'
30998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31001
31002
31003
31004
31005 if test "$TOOLKIT" != "MSW"; then
31006
31007
31008
31009
31010 ac_ext=cc
31011 ac_cpp='$CXXCPP $CPPFLAGS'
31012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31015
31016
31017
31018
31019 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31020 if test "${with_libiconv_prefix+set}" = set; then
31021 withval="$with_libiconv_prefix"
31022
31023 for dir in `echo "$withval" | tr : ' '`; do
31024 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31025 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31026 done
31027
31028 fi;
31029
31030 echo "$as_me:$LINENO: checking for iconv" >&5
31031 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31032 if test "${am_cv_func_iconv+set}" = set; then
31033 echo $ECHO_N "(cached) $ECHO_C" >&6
31034 else
31035
31036 am_cv_func_iconv="no, consider installing GNU libiconv"
31037 am_cv_lib_iconv=no
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044 #include <stdlib.h>
31045 #include <iconv.h>
31046 int
31047 main ()
31048 {
31049 iconv_t cd = iconv_open("","");
31050 iconv(cd,NULL,NULL,NULL,NULL);
31051 iconv_close(cd);
31052 ;
31053 return 0;
31054 }
31055 _ACEOF
31056 rm -f conftest.$ac_objext conftest$ac_exeext
31057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31058 (eval $ac_link) 2>conftest.er1
31059 ac_status=$?
31060 grep -v '^ *+' conftest.er1 >conftest.err
31061 rm -f conftest.er1
31062 cat conftest.err >&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); } &&
31065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31068 ac_status=$?
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; } &&
31071 { ac_try='test -s conftest$ac_exeext'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31074 ac_status=$?
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; }; then
31077 am_cv_func_iconv=yes
31078 else
31079 echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.$ac_ext >&5
31081
31082 fi
31083 rm -f conftest.err conftest.$ac_objext \
31084 conftest$ac_exeext conftest.$ac_ext
31085 if test "$am_cv_func_iconv" != yes; then
31086 am_save_LIBS="$LIBS"
31087 LIBS="$LIBS -liconv"
31088 cat >conftest.$ac_ext <<_ACEOF
31089 /* confdefs.h. */
31090 _ACEOF
31091 cat confdefs.h >>conftest.$ac_ext
31092 cat >>conftest.$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 #include <stdlib.h>
31095 #include <iconv.h>
31096 int
31097 main ()
31098 {
31099 iconv_t cd = iconv_open("","");
31100 iconv(cd,NULL,NULL,NULL,NULL);
31101 iconv_close(cd);
31102 ;
31103 return 0;
31104 }
31105 _ACEOF
31106 rm -f conftest.$ac_objext conftest$ac_exeext
31107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31108 (eval $ac_link) 2>conftest.er1
31109 ac_status=$?
31110 grep -v '^ *+' conftest.er1 >conftest.err
31111 rm -f conftest.er1
31112 cat conftest.err >&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31117 (eval $ac_try) 2>&5
31118 ac_status=$?
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; } &&
31121 { ac_try='test -s conftest$ac_exeext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31124 ac_status=$?
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31127 am_cv_lib_iconv=yes
31128 am_cv_func_iconv=yes
31129 else
31130 echo "$as_me: failed program was:" >&5
31131 sed 's/^/| /' conftest.$ac_ext >&5
31132
31133 fi
31134 rm -f conftest.err conftest.$ac_objext \
31135 conftest$ac_exeext conftest.$ac_ext
31136 LIBS="$am_save_LIBS"
31137 fi
31138
31139 fi
31140 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31141 echo "${ECHO_T}$am_cv_func_iconv" >&6
31142 if test "$am_cv_func_iconv" = yes; then
31143
31144 cat >>confdefs.h <<\_ACEOF
31145 #define HAVE_ICONV 1
31146 _ACEOF
31147
31148 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31149 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31150 if test "${wx_cv_func_iconv_const+set}" = set; then
31151 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 else
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159
31160 #include <stdlib.h>
31161 #include <iconv.h>
31162 extern
31163 #ifdef __cplusplus
31164 "C"
31165 #endif
31166 #if defined(__STDC__) || defined(__cplusplus)
31167 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31168 #else
31169 size_t iconv();
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31182 (eval $ac_compile) 2>conftest.er1
31183 ac_status=$?
31184 grep -v '^ *+' conftest.er1 >conftest.err
31185 rm -f conftest.er1
31186 cat conftest.err >&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } &&
31189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; } &&
31195 { ac_try='test -s conftest.$ac_objext'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31198 ac_status=$?
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; }; then
31201 wx_cv_func_iconv_const="no"
31202 else
31203 echo "$as_me: failed program was:" >&5
31204 sed 's/^/| /' conftest.$ac_ext >&5
31205
31206 wx_cv_func_iconv_const="yes"
31207
31208 fi
31209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31210
31211 fi
31212 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31213 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31214
31215 iconv_const=
31216 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31217 iconv_const="const"
31218 fi
31219
31220
31221 cat >>confdefs.h <<_ACEOF
31222 #define ICONV_CONST $iconv_const
31223 _ACEOF
31224
31225 fi
31226 LIBICONV=
31227 if test "$am_cv_lib_iconv" = yes; then
31228 LIBICONV="-liconv"
31229 fi
31230
31231
31232 LIBS="$LIBICONV $LIBS"
31233 ac_ext=c
31234 ac_cpp='$CPP $CPPFLAGS'
31235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31238
31239
31240 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31241
31242 for ac_func in sigaction
31243 do
31244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31247 if eval "test \"\${$as_ac_var+set}\" = set"; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31250 cat >conftest.$ac_ext <<_ACEOF
31251 /* confdefs.h. */
31252 _ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31258 #define $ac_func innocuous_$ac_func
31259
31260 /* System header to define __stub macros and hopefully few prototypes,
31261 which can conflict with char $ac_func (); below.
31262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31263 <limits.h> exists even on freestanding compilers. */
31264
31265 #ifdef __STDC__
31266 # include <limits.h>
31267 #else
31268 # include <assert.h>
31269 #endif
31270
31271 #undef $ac_func
31272
31273 /* Override any gcc2 internal prototype to avoid an error. */
31274 #ifdef __cplusplus
31275 extern "C"
31276 {
31277 #endif
31278 /* We use char because int might match the return type of a gcc2
31279 builtin and then its argument prototype would still apply. */
31280 char $ac_func ();
31281 /* The GNU C library defines this for functions which it implements
31282 to always fail with ENOSYS. Some functions are actually named
31283 something starting with __ and the normal name is an alias. */
31284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31285 choke me
31286 #else
31287 char (*f) () = $ac_func;
31288 #endif
31289 #ifdef __cplusplus
31290 }
31291 #endif
31292
31293 int
31294 main ()
31295 {
31296 return f != $ac_func;
31297 ;
31298 return 0;
31299 }
31300 _ACEOF
31301 rm -f conftest.$ac_objext conftest$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>conftest.er1
31304 ac_status=$?
31305 grep -v '^ *+' conftest.er1 >conftest.err
31306 rm -f conftest.er1
31307 cat conftest.err >&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); } &&
31310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 eval "$as_ac_var=yes"
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 eval "$as_ac_var=no"
31328 fi
31329 rm -f conftest.err conftest.$ac_objext \
31330 conftest$ac_exeext conftest.$ac_ext
31331 fi
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31334 if test `eval echo '${'$as_ac_var'}'` = yes; then
31335 cat >>confdefs.h <<_ACEOF
31336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31337 _ACEOF
31338
31339 fi
31340 done
31341
31342
31343 if test "$ac_cv_func_sigaction" = "no"; then
31344 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31345 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31346 wxUSE_ON_FATAL_EXCEPTION=no
31347 fi
31348
31349 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31350
31351
31352 ac_ext=cc
31353 ac_cpp='$CXXCPP $CPPFLAGS'
31354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31357
31358
31359 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31360 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31361 if test "${wx_cv_type_sa_handler+set}" = set; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 else
31364
31365 cat >conftest.$ac_ext <<_ACEOF
31366 /* confdefs.h. */
31367 _ACEOF
31368 cat confdefs.h >>conftest.$ac_ext
31369 cat >>conftest.$ac_ext <<_ACEOF
31370 /* end confdefs.h. */
31371 #include <signal.h>
31372 int
31373 main ()
31374 {
31375
31376 extern void testSigHandler(int);
31377
31378 struct sigaction sa;
31379 sa.sa_handler = testSigHandler;
31380
31381 ;
31382 return 0;
31383 }
31384 _ACEOF
31385 rm -f conftest.$ac_objext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31387 (eval $ac_compile) 2>conftest.er1
31388 ac_status=$?
31389 grep -v '^ *+' conftest.er1 >conftest.err
31390 rm -f conftest.er1
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31397 ac_status=$?
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try='test -s conftest.$ac_objext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406
31407 wx_cv_type_sa_handler=int
31408
31409 else
31410 echo "$as_me: failed program was:" >&5
31411 sed 's/^/| /' conftest.$ac_ext >&5
31412
31413
31414 wx_cv_type_sa_handler=void
31415
31416 fi
31417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31418
31419 fi
31420 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31421 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31422
31423 ac_ext=c
31424 ac_cpp='$CPP $CPPFLAGS'
31425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31428
31429
31430 cat >>confdefs.h <<_ACEOF
31431 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31432 _ACEOF
31433
31434 fi
31435 fi
31436
31437 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31438
31439
31440 ac_ext=cc
31441 ac_cpp='$CXXCPP $CPPFLAGS'
31442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31445
31446
31447 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31448 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31449 if test "${wx_cv_func_backtrace+set}" = set; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 else
31452
31453 cat >conftest.$ac_ext <<_ACEOF
31454 /* confdefs.h. */
31455 _ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31459 #include <execinfo.h>
31460 int
31461 main ()
31462 {
31463
31464 void *trace[1];
31465 char **messages;
31466
31467 backtrace(trace, 1);
31468 messages = backtrace_symbols(trace, 1);
31469
31470 ;
31471 return 0;
31472 }
31473 _ACEOF
31474 rm -f conftest.$ac_objext
31475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31476 (eval $ac_compile) 2>conftest.er1
31477 ac_status=$?
31478 grep -v '^ *+' conftest.er1 >conftest.err
31479 rm -f conftest.er1
31480 cat conftest.err >&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } &&
31483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31486 ac_status=$?
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; } &&
31489 { ac_try='test -s conftest.$ac_objext'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31492 ac_status=$?
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; }; then
31495 wx_cv_func_backtrace=yes
31496 else
31497 echo "$as_me: failed program was:" >&5
31498 sed 's/^/| /' conftest.$ac_ext >&5
31499
31500 wx_cv_func_backtrace=no
31501
31502 fi
31503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31504
31505
31506 fi
31507 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31508 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31509
31510
31511 if test "$wx_cv_func_backtrace" = "no"; then
31512 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31513 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31514 wxUSE_STACKWALKER=no
31515 else
31516 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31517 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31518 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 else
31521
31522 cat >conftest.$ac_ext <<_ACEOF
31523 /* confdefs.h. */
31524 _ACEOF
31525 cat confdefs.h >>conftest.$ac_ext
31526 cat >>conftest.$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31528 #include <cxxabi.h>
31529 int
31530 main ()
31531 {
31532
31533 int rc;
31534 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31535
31536 ;
31537 return 0;
31538 }
31539 _ACEOF
31540 rm -f conftest.$ac_objext
31541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31542 (eval $ac_compile) 2>conftest.er1
31543 ac_status=$?
31544 grep -v '^ *+' conftest.er1 >conftest.err
31545 rm -f conftest.er1
31546 cat conftest.err >&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try='test -s conftest.$ac_objext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31558 ac_status=$?
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 wx_cv_func_cxa_demangle=yes
31562 else
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31565
31566 wx_cv_func_cxa_demangle=no
31567
31568 fi
31569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31570
31571
31572 fi
31573 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31574 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31575
31576 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31577 cat >>confdefs.h <<\_ACEOF
31578 #define HAVE_CXA_DEMANGLE 1
31579 _ACEOF
31580
31581 fi
31582 fi
31583
31584 ac_ext=c
31585 ac_cpp='$CPP $CPPFLAGS'
31586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31589
31590 fi
31591
31592
31593
31594 for ac_func in mkstemp mktemp
31595 do
31596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31597 echo "$as_me:$LINENO: checking for $ac_func" >&5
31598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31599 if eval "test \"\${$as_ac_var+set}\" = set"; then
31600 echo $ECHO_N "(cached) $ECHO_C" >&6
31601 else
31602 cat >conftest.$ac_ext <<_ACEOF
31603 /* confdefs.h. */
31604 _ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31610 #define $ac_func innocuous_$ac_func
31611
31612 /* System header to define __stub macros and hopefully few prototypes,
31613 which can conflict with char $ac_func (); below.
31614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31615 <limits.h> exists even on freestanding compilers. */
31616
31617 #ifdef __STDC__
31618 # include <limits.h>
31619 #else
31620 # include <assert.h>
31621 #endif
31622
31623 #undef $ac_func
31624
31625 /* Override any gcc2 internal prototype to avoid an error. */
31626 #ifdef __cplusplus
31627 extern "C"
31628 {
31629 #endif
31630 /* We use char because int might match the return type of a gcc2
31631 builtin and then its argument prototype would still apply. */
31632 char $ac_func ();
31633 /* The GNU C library defines this for functions which it implements
31634 to always fail with ENOSYS. Some functions are actually named
31635 something starting with __ and the normal name is an alias. */
31636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31637 choke me
31638 #else
31639 char (*f) () = $ac_func;
31640 #endif
31641 #ifdef __cplusplus
31642 }
31643 #endif
31644
31645 int
31646 main ()
31647 {
31648 return f != $ac_func;
31649 ;
31650 return 0;
31651 }
31652 _ACEOF
31653 rm -f conftest.$ac_objext conftest$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655 (eval $ac_link) 2>conftest.er1
31656 ac_status=$?
31657 grep -v '^ *+' conftest.er1 >conftest.err
31658 rm -f conftest.er1
31659 cat conftest.err >&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31664 (eval $ac_try) 2>&5
31665 ac_status=$?
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); }; } &&
31668 { ac_try='test -s conftest$ac_exeext'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; }; then
31674 eval "$as_ac_var=yes"
31675 else
31676 echo "$as_me: failed program was:" >&5
31677 sed 's/^/| /' conftest.$ac_ext >&5
31678
31679 eval "$as_ac_var=no"
31680 fi
31681 rm -f conftest.err conftest.$ac_objext \
31682 conftest$ac_exeext conftest.$ac_ext
31683 fi
31684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31686 if test `eval echo '${'$as_ac_var'}'` = yes; then
31687 cat >>confdefs.h <<_ACEOF
31688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31689 _ACEOF
31690 break
31691 fi
31692 done
31693
31694
31695 echo "$as_me:$LINENO: checking for statfs" >&5
31696 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31697 if test "${wx_cv_func_statfs+set}" = set; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31699 else
31700 cat >conftest.$ac_ext <<_ACEOF
31701 /* confdefs.h. */
31702 _ACEOF
31703 cat confdefs.h >>conftest.$ac_ext
31704 cat >>conftest.$ac_ext <<_ACEOF
31705 /* end confdefs.h. */
31706
31707 #if defined(__BSD__)
31708 #include <sys/param.h>
31709 #include <sys/mount.h>
31710 #else
31711 #include <sys/vfs.h>
31712 #endif
31713
31714 int
31715 main ()
31716 {
31717
31718 long l;
31719 struct statfs fs;
31720 statfs("/", &fs);
31721 l = fs.f_bsize;
31722 l += fs.f_blocks;
31723 l += fs.f_bavail;
31724
31725 ;
31726 return 0;
31727 }
31728 _ACEOF
31729 rm -f conftest.$ac_objext
31730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31731 (eval $ac_compile) 2>conftest.er1
31732 ac_status=$?
31733 grep -v '^ *+' conftest.er1 >conftest.err
31734 rm -f conftest.er1
31735 cat conftest.err >&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); } &&
31738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31740 (eval $ac_try) 2>&5
31741 ac_status=$?
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); }; } &&
31744 { ac_try='test -s conftest.$ac_objext'
31745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31746 (eval $ac_try) 2>&5
31747 ac_status=$?
31748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31749 (exit $ac_status); }; }; then
31750
31751 wx_cv_func_statfs=yes
31752
31753 else
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.$ac_ext >&5
31756
31757
31758 wx_cv_func_statfs=no
31759
31760
31761 fi
31762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31763
31764 fi
31765 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31766 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31767
31768 if test "$wx_cv_func_statfs" = "yes"; then
31769 wx_cv_type_statvfs_t="struct statfs"
31770 cat >>confdefs.h <<\_ACEOF
31771 #define HAVE_STATFS 1
31772 _ACEOF
31773
31774 else
31775 echo "$as_me:$LINENO: checking for statvfs" >&5
31776 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31777 if test "${wx_cv_func_statvfs+set}" = set; then
31778 echo $ECHO_N "(cached) $ECHO_C" >&6
31779 else
31780 cat >conftest.$ac_ext <<_ACEOF
31781 /* confdefs.h. */
31782 _ACEOF
31783 cat confdefs.h >>conftest.$ac_ext
31784 cat >>conftest.$ac_ext <<_ACEOF
31785 /* end confdefs.h. */
31786
31787 #include <stddef.h>
31788 #include <sys/statvfs.h>
31789
31790 int
31791 main ()
31792 {
31793
31794 statvfs("/", NULL);
31795
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 rm -f conftest.$ac_objext
31801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31802 (eval $ac_compile) 2>conftest.er1
31803 ac_status=$?
31804 grep -v '^ *+' conftest.er1 >conftest.err
31805 rm -f conftest.er1
31806 cat conftest.err >&5
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); } &&
31809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31811 (eval $ac_try) 2>&5
31812 ac_status=$?
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); }; } &&
31815 { ac_try='test -s conftest.$ac_objext'
31816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817 (eval $ac_try) 2>&5
31818 ac_status=$?
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; }; then
31821 wx_cv_func_statvfs=yes
31822 else
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.$ac_ext >&5
31825
31826 wx_cv_func_statvfs=no
31827
31828 fi
31829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31830
31831 fi
31832 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31833 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31834
31835 if test "$wx_cv_func_statvfs" = "yes"; then
31836
31837
31838 ac_ext=cc
31839 ac_cpp='$CXXCPP $CPPFLAGS'
31840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31843
31844
31845 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31846 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31847 if test "${wx_cv_type_statvfs_t+set}" = set; then
31848 echo $ECHO_N "(cached) $ECHO_C" >&6
31849 else
31850 cat >conftest.$ac_ext <<_ACEOF
31851 /* confdefs.h. */
31852 _ACEOF
31853 cat confdefs.h >>conftest.$ac_ext
31854 cat >>conftest.$ac_ext <<_ACEOF
31855 /* end confdefs.h. */
31856
31857 #include <sys/statvfs.h>
31858
31859 int
31860 main ()
31861 {
31862
31863 long l;
31864 statvfs_t fs;
31865 statvfs("/", &fs);
31866 l = fs.f_bsize;
31867 l += fs.f_blocks;
31868 l += fs.f_bavail;
31869
31870 ;
31871 return 0;
31872 }
31873 _ACEOF
31874 rm -f conftest.$ac_objext
31875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31876 (eval $ac_compile) 2>conftest.er1
31877 ac_status=$?
31878 grep -v '^ *+' conftest.er1 >conftest.err
31879 rm -f conftest.er1
31880 cat conftest.err >&5
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); } &&
31883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31886 ac_status=$?
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; } &&
31889 { ac_try='test -s conftest.$ac_objext'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31892 ac_status=$?
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; }; then
31895 wx_cv_type_statvfs_t=statvfs_t
31896 else
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31899
31900
31901 cat >conftest.$ac_ext <<_ACEOF
31902 /* confdefs.h. */
31903 _ACEOF
31904 cat confdefs.h >>conftest.$ac_ext
31905 cat >>conftest.$ac_ext <<_ACEOF
31906 /* end confdefs.h. */
31907
31908 #include <sys/statvfs.h>
31909
31910 int
31911 main ()
31912 {
31913
31914 long l;
31915 struct statvfs fs;
31916 statvfs("/", &fs);
31917 l = fs.f_bsize;
31918 l += fs.f_blocks;
31919 l += fs.f_bavail;
31920
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 rm -f conftest.$ac_objext
31926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31927 (eval $ac_compile) 2>conftest.er1
31928 ac_status=$?
31929 grep -v '^ *+' conftest.er1 >conftest.err
31930 rm -f conftest.er1
31931 cat conftest.err >&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); } &&
31934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31937 ac_status=$?
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try='test -s conftest.$ac_objext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31943 ac_status=$?
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946 wx_cv_type_statvfs_t="struct statvfs"
31947 else
31948 echo "$as_me: failed program was:" >&5
31949 sed 's/^/| /' conftest.$ac_ext >&5
31950
31951 wx_cv_type_statvfs_t="unknown"
31952
31953 fi
31954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31955
31956
31957 fi
31958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31959
31960 fi
31961 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31962 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31963
31964 ac_ext=c
31965 ac_cpp='$CPP $CPPFLAGS'
31966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31969
31970
31971 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31972 cat >>confdefs.h <<\_ACEOF
31973 #define HAVE_STATVFS 1
31974 _ACEOF
31975
31976 fi
31977 else
31978 wx_cv_type_statvfs_t="unknown"
31979 fi
31980 fi
31981
31982 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31983 cat >>confdefs.h <<_ACEOF
31984 #define WX_STATFS_T $wx_cv_type_statvfs_t
31985 _ACEOF
31986
31987 else
31988 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31989 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31990 fi
31991
31992 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31993
31994
31995 for ac_func in fcntl flock
31996 do
31997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31998 echo "$as_me:$LINENO: checking for $ac_func" >&5
31999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32000 if eval "test \"\${$as_ac_var+set}\" = set"; then
32001 echo $ECHO_N "(cached) $ECHO_C" >&6
32002 else
32003 cat >conftest.$ac_ext <<_ACEOF
32004 /* confdefs.h. */
32005 _ACEOF
32006 cat confdefs.h >>conftest.$ac_ext
32007 cat >>conftest.$ac_ext <<_ACEOF
32008 /* end confdefs.h. */
32009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32011 #define $ac_func innocuous_$ac_func
32012
32013 /* System header to define __stub macros and hopefully few prototypes,
32014 which can conflict with char $ac_func (); below.
32015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32016 <limits.h> exists even on freestanding compilers. */
32017
32018 #ifdef __STDC__
32019 # include <limits.h>
32020 #else
32021 # include <assert.h>
32022 #endif
32023
32024 #undef $ac_func
32025
32026 /* Override any gcc2 internal prototype to avoid an error. */
32027 #ifdef __cplusplus
32028 extern "C"
32029 {
32030 #endif
32031 /* We use char because int might match the return type of a gcc2
32032 builtin and then its argument prototype would still apply. */
32033 char $ac_func ();
32034 /* The GNU C library defines this for functions which it implements
32035 to always fail with ENOSYS. Some functions are actually named
32036 something starting with __ and the normal name is an alias. */
32037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32038 choke me
32039 #else
32040 char (*f) () = $ac_func;
32041 #endif
32042 #ifdef __cplusplus
32043 }
32044 #endif
32045
32046 int
32047 main ()
32048 {
32049 return f != $ac_func;
32050 ;
32051 return 0;
32052 }
32053 _ACEOF
32054 rm -f conftest.$ac_objext conftest$ac_exeext
32055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32056 (eval $ac_link) 2>conftest.er1
32057 ac_status=$?
32058 grep -v '^ *+' conftest.er1 >conftest.err
32059 rm -f conftest.er1
32060 cat conftest.err >&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } &&
32063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32065 (eval $ac_try) 2>&5
32066 ac_status=$?
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; } &&
32069 { ac_try='test -s conftest$ac_exeext'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32072 ac_status=$?
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; }; then
32075 eval "$as_ac_var=yes"
32076 else
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32079
32080 eval "$as_ac_var=no"
32081 fi
32082 rm -f conftest.err conftest.$ac_objext \
32083 conftest$ac_exeext conftest.$ac_ext
32084 fi
32085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32087 if test `eval echo '${'$as_ac_var'}'` = yes; then
32088 cat >>confdefs.h <<_ACEOF
32089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32090 _ACEOF
32091 break
32092 fi
32093 done
32094
32095
32096 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32097 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32098 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32099 wxUSE_SNGLINST_CHECKER=no
32100 fi
32101 fi
32102
32103
32104 for ac_func in timegm
32105 do
32106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32107 echo "$as_me:$LINENO: checking for $ac_func" >&5
32108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32109 if eval "test \"\${$as_ac_var+set}\" = set"; then
32110 echo $ECHO_N "(cached) $ECHO_C" >&6
32111 else
32112 cat >conftest.$ac_ext <<_ACEOF
32113 /* confdefs.h. */
32114 _ACEOF
32115 cat confdefs.h >>conftest.$ac_ext
32116 cat >>conftest.$ac_ext <<_ACEOF
32117 /* end confdefs.h. */
32118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32120 #define $ac_func innocuous_$ac_func
32121
32122 /* System header to define __stub macros and hopefully few prototypes,
32123 which can conflict with char $ac_func (); below.
32124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32125 <limits.h> exists even on freestanding compilers. */
32126
32127 #ifdef __STDC__
32128 # include <limits.h>
32129 #else
32130 # include <assert.h>
32131 #endif
32132
32133 #undef $ac_func
32134
32135 /* Override any gcc2 internal prototype to avoid an error. */
32136 #ifdef __cplusplus
32137 extern "C"
32138 {
32139 #endif
32140 /* We use char because int might match the return type of a gcc2
32141 builtin and then its argument prototype would still apply. */
32142 char $ac_func ();
32143 /* The GNU C library defines this for functions which it implements
32144 to always fail with ENOSYS. Some functions are actually named
32145 something starting with __ and the normal name is an alias. */
32146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32147 choke me
32148 #else
32149 char (*f) () = $ac_func;
32150 #endif
32151 #ifdef __cplusplus
32152 }
32153 #endif
32154
32155 int
32156 main ()
32157 {
32158 return f != $ac_func;
32159 ;
32160 return 0;
32161 }
32162 _ACEOF
32163 rm -f conftest.$ac_objext conftest$ac_exeext
32164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32165 (eval $ac_link) 2>conftest.er1
32166 ac_status=$?
32167 grep -v '^ *+' conftest.er1 >conftest.err
32168 rm -f conftest.er1
32169 cat conftest.err >&5
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); } &&
32172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174 (eval $ac_try) 2>&5
32175 ac_status=$?
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); }; } &&
32178 { ac_try='test -s conftest$ac_exeext'
32179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180 (eval $ac_try) 2>&5
32181 ac_status=$?
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); }; }; then
32184 eval "$as_ac_var=yes"
32185 else
32186 echo "$as_me: failed program was:" >&5
32187 sed 's/^/| /' conftest.$ac_ext >&5
32188
32189 eval "$as_ac_var=no"
32190 fi
32191 rm -f conftest.err conftest.$ac_objext \
32192 conftest$ac_exeext conftest.$ac_ext
32193 fi
32194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32196 if test `eval echo '${'$as_ac_var'}'` = yes; then
32197 cat >>confdefs.h <<_ACEOF
32198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32199 _ACEOF
32200
32201 fi
32202 done
32203
32204
32205
32206
32207 for ac_func in putenv setenv
32208 do
32209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32210 echo "$as_me:$LINENO: checking for $ac_func" >&5
32211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32212 if eval "test \"\${$as_ac_var+set}\" = set"; then
32213 echo $ECHO_N "(cached) $ECHO_C" >&6
32214 else
32215 cat >conftest.$ac_ext <<_ACEOF
32216 /* confdefs.h. */
32217 _ACEOF
32218 cat confdefs.h >>conftest.$ac_ext
32219 cat >>conftest.$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32223 #define $ac_func innocuous_$ac_func
32224
32225 /* System header to define __stub macros and hopefully few prototypes,
32226 which can conflict with char $ac_func (); below.
32227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32228 <limits.h> exists even on freestanding compilers. */
32229
32230 #ifdef __STDC__
32231 # include <limits.h>
32232 #else
32233 # include <assert.h>
32234 #endif
32235
32236 #undef $ac_func
32237
32238 /* Override any gcc2 internal prototype to avoid an error. */
32239 #ifdef __cplusplus
32240 extern "C"
32241 {
32242 #endif
32243 /* We use char because int might match the return type of a gcc2
32244 builtin and then its argument prototype would still apply. */
32245 char $ac_func ();
32246 /* The GNU C library defines this for functions which it implements
32247 to always fail with ENOSYS. Some functions are actually named
32248 something starting with __ and the normal name is an alias. */
32249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32250 choke me
32251 #else
32252 char (*f) () = $ac_func;
32253 #endif
32254 #ifdef __cplusplus
32255 }
32256 #endif
32257
32258 int
32259 main ()
32260 {
32261 return f != $ac_func;
32262 ;
32263 return 0;
32264 }
32265 _ACEOF
32266 rm -f conftest.$ac_objext conftest$ac_exeext
32267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32268 (eval $ac_link) 2>conftest.er1
32269 ac_status=$?
32270 grep -v '^ *+' conftest.er1 >conftest.err
32271 rm -f conftest.er1
32272 cat conftest.err >&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } &&
32275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32278 ac_status=$?
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; } &&
32281 { ac_try='test -s conftest$ac_exeext'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32284 ac_status=$?
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; }; then
32287 eval "$as_ac_var=yes"
32288 else
32289 echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.$ac_ext >&5
32291
32292 eval "$as_ac_var=no"
32293 fi
32294 rm -f conftest.err conftest.$ac_objext \
32295 conftest$ac_exeext conftest.$ac_ext
32296 fi
32297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32299 if test `eval echo '${'$as_ac_var'}'` = yes; then
32300 cat >>confdefs.h <<_ACEOF
32301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32302 _ACEOF
32303 break
32304 fi
32305 done
32306
32307
32308 HAVE_SOME_SLEEP_FUNC=0
32309 if test "$USE_BEOS" = 1; then
32310 cat >>confdefs.h <<\_ACEOF
32311 #define HAVE_SLEEP 1
32312 _ACEOF
32313
32314 HAVE_SOME_SLEEP_FUNC=1
32315 fi
32316
32317 if test "$USE_DARWIN" = 1; then
32318 cat >>confdefs.h <<\_ACEOF
32319 #define HAVE_USLEEP 1
32320 _ACEOF
32321
32322 HAVE_SOME_SLEEP_FUNC=1
32323 fi
32324
32325 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32326 POSIX4_LINK=
32327
32328 for ac_func in nanosleep
32329 do
32330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32331 echo "$as_me:$LINENO: checking for $ac_func" >&5
32332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32333 if eval "test \"\${$as_ac_var+set}\" = set"; then
32334 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32344 #define $ac_func innocuous_$ac_func
32345
32346 /* System header to define __stub macros and hopefully few prototypes,
32347 which can conflict with char $ac_func (); below.
32348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32349 <limits.h> exists even on freestanding compilers. */
32350
32351 #ifdef __STDC__
32352 # include <limits.h>
32353 #else
32354 # include <assert.h>
32355 #endif
32356
32357 #undef $ac_func
32358
32359 /* Override any gcc2 internal prototype to avoid an error. */
32360 #ifdef __cplusplus
32361 extern "C"
32362 {
32363 #endif
32364 /* We use char because int might match the return type of a gcc2
32365 builtin and then its argument prototype would still apply. */
32366 char $ac_func ();
32367 /* The GNU C library defines this for functions which it implements
32368 to always fail with ENOSYS. Some functions are actually named
32369 something starting with __ and the normal name is an alias. */
32370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32371 choke me
32372 #else
32373 char (*f) () = $ac_func;
32374 #endif
32375 #ifdef __cplusplus
32376 }
32377 #endif
32378
32379 int
32380 main ()
32381 {
32382 return f != $ac_func;
32383 ;
32384 return 0;
32385 }
32386 _ACEOF
32387 rm -f conftest.$ac_objext conftest$ac_exeext
32388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32389 (eval $ac_link) 2>conftest.er1
32390 ac_status=$?
32391 grep -v '^ *+' conftest.er1 >conftest.err
32392 rm -f conftest.er1
32393 cat conftest.err >&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } &&
32396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32399 ac_status=$?
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try='test -s conftest$ac_exeext'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32405 ac_status=$?
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32408 eval "$as_ac_var=yes"
32409 else
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.$ac_ext >&5
32412
32413 eval "$as_ac_var=no"
32414 fi
32415 rm -f conftest.err conftest.$ac_objext \
32416 conftest$ac_exeext conftest.$ac_ext
32417 fi
32418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32420 if test `eval echo '${'$as_ac_var'}'` = yes; then
32421 cat >>confdefs.h <<_ACEOF
32422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32423 _ACEOF
32424 cat >>confdefs.h <<\_ACEOF
32425 #define HAVE_NANOSLEEP 1
32426 _ACEOF
32427
32428 else
32429
32430 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32431 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32432 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32434 else
32435 ac_check_lib_save_LIBS=$LIBS
32436 LIBS="-lposix4 $LIBS"
32437 cat >conftest.$ac_ext <<_ACEOF
32438 /* confdefs.h. */
32439 _ACEOF
32440 cat confdefs.h >>conftest.$ac_ext
32441 cat >>conftest.$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32443
32444 /* Override any gcc2 internal prototype to avoid an error. */
32445 #ifdef __cplusplus
32446 extern "C"
32447 #endif
32448 /* We use char because int might match the return type of a gcc2
32449 builtin and then its argument prototype would still apply. */
32450 char nanosleep ();
32451 int
32452 main ()
32453 {
32454 nanosleep ();
32455 ;
32456 return 0;
32457 }
32458 _ACEOF
32459 rm -f conftest.$ac_objext conftest$ac_exeext
32460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32461 (eval $ac_link) 2>conftest.er1
32462 ac_status=$?
32463 grep -v '^ *+' conftest.er1 >conftest.err
32464 rm -f conftest.er1
32465 cat conftest.err >&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } &&
32468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } &&
32474 { ac_try='test -s conftest$ac_exeext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32477 ac_status=$?
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 ac_cv_lib_posix4_nanosleep=yes
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32484
32485 ac_cv_lib_posix4_nanosleep=no
32486 fi
32487 rm -f conftest.err conftest.$ac_objext \
32488 conftest$ac_exeext conftest.$ac_ext
32489 LIBS=$ac_check_lib_save_LIBS
32490 fi
32491 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32492 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32493 if test $ac_cv_lib_posix4_nanosleep = yes; then
32494
32495 cat >>confdefs.h <<\_ACEOF
32496 #define HAVE_NANOSLEEP 1
32497 _ACEOF
32498
32499 POSIX4_LINK=" -lposix4"
32500
32501 else
32502
32503
32504 for ac_func in usleep
32505 do
32506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32507 echo "$as_me:$LINENO: checking for $ac_func" >&5
32508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32509 if eval "test \"\${$as_ac_var+set}\" = set"; then
32510 echo $ECHO_N "(cached) $ECHO_C" >&6
32511 else
32512 cat >conftest.$ac_ext <<_ACEOF
32513 /* confdefs.h. */
32514 _ACEOF
32515 cat confdefs.h >>conftest.$ac_ext
32516 cat >>conftest.$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32520 #define $ac_func innocuous_$ac_func
32521
32522 /* System header to define __stub macros and hopefully few prototypes,
32523 which can conflict with char $ac_func (); below.
32524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32525 <limits.h> exists even on freestanding compilers. */
32526
32527 #ifdef __STDC__
32528 # include <limits.h>
32529 #else
32530 # include <assert.h>
32531 #endif
32532
32533 #undef $ac_func
32534
32535 /* Override any gcc2 internal prototype to avoid an error. */
32536 #ifdef __cplusplus
32537 extern "C"
32538 {
32539 #endif
32540 /* We use char because int might match the return type of a gcc2
32541 builtin and then its argument prototype would still apply. */
32542 char $ac_func ();
32543 /* The GNU C library defines this for functions which it implements
32544 to always fail with ENOSYS. Some functions are actually named
32545 something starting with __ and the normal name is an alias. */
32546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32547 choke me
32548 #else
32549 char (*f) () = $ac_func;
32550 #endif
32551 #ifdef __cplusplus
32552 }
32553 #endif
32554
32555 int
32556 main ()
32557 {
32558 return f != $ac_func;
32559 ;
32560 return 0;
32561 }
32562 _ACEOF
32563 rm -f conftest.$ac_objext conftest$ac_exeext
32564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32565 (eval $ac_link) 2>conftest.er1
32566 ac_status=$?
32567 grep -v '^ *+' conftest.er1 >conftest.err
32568 rm -f conftest.er1
32569 cat conftest.err >&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } &&
32572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32574 (eval $ac_try) 2>&5
32575 ac_status=$?
32576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577 (exit $ac_status); }; } &&
32578 { ac_try='test -s conftest$ac_exeext'
32579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32580 (eval $ac_try) 2>&5
32581 ac_status=$?
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); }; }; then
32584 eval "$as_ac_var=yes"
32585 else
32586 echo "$as_me: failed program was:" >&5
32587 sed 's/^/| /' conftest.$ac_ext >&5
32588
32589 eval "$as_ac_var=no"
32590 fi
32591 rm -f conftest.err conftest.$ac_objext \
32592 conftest$ac_exeext conftest.$ac_ext
32593 fi
32594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32596 if test `eval echo '${'$as_ac_var'}'` = yes; then
32597 cat >>confdefs.h <<_ACEOF
32598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32599 _ACEOF
32600 cat >>confdefs.h <<\_ACEOF
32601 #define HAVE_USLEEP 1
32602 _ACEOF
32603
32604 else
32605 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32606 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32607
32608 fi
32609 done
32610
32611
32612
32613 fi
32614
32615
32616
32617 fi
32618 done
32619
32620 fi
32621
32622
32623
32624 for ac_func in uname gethostname
32625 do
32626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32627 echo "$as_me:$LINENO: checking for $ac_func" >&5
32628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32629 if eval "test \"\${$as_ac_var+set}\" = set"; then
32630 echo $ECHO_N "(cached) $ECHO_C" >&6
32631 else
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32640 #define $ac_func innocuous_$ac_func
32641
32642 /* System header to define __stub macros and hopefully few prototypes,
32643 which can conflict with char $ac_func (); below.
32644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32645 <limits.h> exists even on freestanding compilers. */
32646
32647 #ifdef __STDC__
32648 # include <limits.h>
32649 #else
32650 # include <assert.h>
32651 #endif
32652
32653 #undef $ac_func
32654
32655 /* Override any gcc2 internal prototype to avoid an error. */
32656 #ifdef __cplusplus
32657 extern "C"
32658 {
32659 #endif
32660 /* We use char because int might match the return type of a gcc2
32661 builtin and then its argument prototype would still apply. */
32662 char $ac_func ();
32663 /* The GNU C library defines this for functions which it implements
32664 to always fail with ENOSYS. Some functions are actually named
32665 something starting with __ and the normal name is an alias. */
32666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32667 choke me
32668 #else
32669 char (*f) () = $ac_func;
32670 #endif
32671 #ifdef __cplusplus
32672 }
32673 #endif
32674
32675 int
32676 main ()
32677 {
32678 return f != $ac_func;
32679 ;
32680 return 0;
32681 }
32682 _ACEOF
32683 rm -f conftest.$ac_objext conftest$ac_exeext
32684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32685 (eval $ac_link) 2>conftest.er1
32686 ac_status=$?
32687 grep -v '^ *+' conftest.er1 >conftest.err
32688 rm -f conftest.er1
32689 cat conftest.err >&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); } &&
32692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32694 (eval $ac_try) 2>&5
32695 ac_status=$?
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); }; } &&
32698 { ac_try='test -s conftest$ac_exeext'
32699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32700 (eval $ac_try) 2>&5
32701 ac_status=$?
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); }; }; then
32704 eval "$as_ac_var=yes"
32705 else
32706 echo "$as_me: failed program was:" >&5
32707 sed 's/^/| /' conftest.$ac_ext >&5
32708
32709 eval "$as_ac_var=no"
32710 fi
32711 rm -f conftest.err conftest.$ac_objext \
32712 conftest$ac_exeext conftest.$ac_ext
32713 fi
32714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32716 if test `eval echo '${'$as_ac_var'}'` = yes; then
32717 cat >>confdefs.h <<_ACEOF
32718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32719 _ACEOF
32720 break
32721 fi
32722 done
32723
32724
32725
32726
32727 ac_ext=cc
32728 ac_cpp='$CXXCPP $CPPFLAGS'
32729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32732
32733
32734
32735 for ac_func in strtok_r
32736 do
32737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32738 echo "$as_me:$LINENO: checking for $ac_func" >&5
32739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32740 if eval "test \"\${$as_ac_var+set}\" = set"; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32742 else
32743 cat >conftest.$ac_ext <<_ACEOF
32744 /* confdefs.h. */
32745 _ACEOF
32746 cat confdefs.h >>conftest.$ac_ext
32747 cat >>conftest.$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32751 #define $ac_func innocuous_$ac_func
32752
32753 /* System header to define __stub macros and hopefully few prototypes,
32754 which can conflict with char $ac_func (); below.
32755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32756 <limits.h> exists even on freestanding compilers. */
32757
32758 #ifdef __STDC__
32759 # include <limits.h>
32760 #else
32761 # include <assert.h>
32762 #endif
32763
32764 #undef $ac_func
32765
32766 /* Override any gcc2 internal prototype to avoid an error. */
32767 #ifdef __cplusplus
32768 extern "C"
32769 {
32770 #endif
32771 /* We use char because int might match the return type of a gcc2
32772 builtin and then its argument prototype would still apply. */
32773 char $ac_func ();
32774 /* The GNU C library defines this for functions which it implements
32775 to always fail with ENOSYS. Some functions are actually named
32776 something starting with __ and the normal name is an alias. */
32777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32778 choke me
32779 #else
32780 char (*f) () = $ac_func;
32781 #endif
32782 #ifdef __cplusplus
32783 }
32784 #endif
32785
32786 int
32787 main ()
32788 {
32789 return f != $ac_func;
32790 ;
32791 return 0;
32792 }
32793 _ACEOF
32794 rm -f conftest.$ac_objext conftest$ac_exeext
32795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32796 (eval $ac_link) 2>conftest.er1
32797 ac_status=$?
32798 grep -v '^ *+' conftest.er1 >conftest.err
32799 rm -f conftest.er1
32800 cat conftest.err >&5
32801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802 (exit $ac_status); } &&
32803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32805 (eval $ac_try) 2>&5
32806 ac_status=$?
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); }; } &&
32809 { ac_try='test -s conftest$ac_exeext'
32810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32811 (eval $ac_try) 2>&5
32812 ac_status=$?
32813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814 (exit $ac_status); }; }; then
32815 eval "$as_ac_var=yes"
32816 else
32817 echo "$as_me: failed program was:" >&5
32818 sed 's/^/| /' conftest.$ac_ext >&5
32819
32820 eval "$as_ac_var=no"
32821 fi
32822 rm -f conftest.err conftest.$ac_objext \
32823 conftest$ac_exeext conftest.$ac_ext
32824 fi
32825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32827 if test `eval echo '${'$as_ac_var'}'` = yes; then
32828 cat >>confdefs.h <<_ACEOF
32829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32830 _ACEOF
32831
32832 fi
32833 done
32834
32835
32836 ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32841
32842
32843 INET_LINK=
32844
32845 for ac_func in inet_addr
32846 do
32847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32848 echo "$as_me:$LINENO: checking for $ac_func" >&5
32849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32850 if eval "test \"\${$as_ac_var+set}\" = set"; then
32851 echo $ECHO_N "(cached) $ECHO_C" >&6
32852 else
32853 cat >conftest.$ac_ext <<_ACEOF
32854 /* confdefs.h. */
32855 _ACEOF
32856 cat confdefs.h >>conftest.$ac_ext
32857 cat >>conftest.$ac_ext <<_ACEOF
32858 /* end confdefs.h. */
32859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32861 #define $ac_func innocuous_$ac_func
32862
32863 /* System header to define __stub macros and hopefully few prototypes,
32864 which can conflict with char $ac_func (); below.
32865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32866 <limits.h> exists even on freestanding compilers. */
32867
32868 #ifdef __STDC__
32869 # include <limits.h>
32870 #else
32871 # include <assert.h>
32872 #endif
32873
32874 #undef $ac_func
32875
32876 /* Override any gcc2 internal prototype to avoid an error. */
32877 #ifdef __cplusplus
32878 extern "C"
32879 {
32880 #endif
32881 /* We use char because int might match the return type of a gcc2
32882 builtin and then its argument prototype would still apply. */
32883 char $ac_func ();
32884 /* The GNU C library defines this for functions which it implements
32885 to always fail with ENOSYS. Some functions are actually named
32886 something starting with __ and the normal name is an alias. */
32887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32888 choke me
32889 #else
32890 char (*f) () = $ac_func;
32891 #endif
32892 #ifdef __cplusplus
32893 }
32894 #endif
32895
32896 int
32897 main ()
32898 {
32899 return f != $ac_func;
32900 ;
32901 return 0;
32902 }
32903 _ACEOF
32904 rm -f conftest.$ac_objext conftest$ac_exeext
32905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32906 (eval $ac_link) 2>conftest.er1
32907 ac_status=$?
32908 grep -v '^ *+' conftest.er1 >conftest.err
32909 rm -f conftest.er1
32910 cat conftest.err >&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); } &&
32913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32915 (eval $ac_try) 2>&5
32916 ac_status=$?
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); }; } &&
32919 { ac_try='test -s conftest$ac_exeext'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32922 ac_status=$?
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; }; then
32925 eval "$as_ac_var=yes"
32926 else
32927 echo "$as_me: failed program was:" >&5
32928 sed 's/^/| /' conftest.$ac_ext >&5
32929
32930 eval "$as_ac_var=no"
32931 fi
32932 rm -f conftest.err conftest.$ac_objext \
32933 conftest$ac_exeext conftest.$ac_ext
32934 fi
32935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32937 if test `eval echo '${'$as_ac_var'}'` = yes; then
32938 cat >>confdefs.h <<_ACEOF
32939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32940 _ACEOF
32941 cat >>confdefs.h <<\_ACEOF
32942 #define HAVE_INET_ADDR 1
32943 _ACEOF
32944
32945 else
32946
32947 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32948 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32949 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32950 echo $ECHO_N "(cached) $ECHO_C" >&6
32951 else
32952 ac_check_lib_save_LIBS=$LIBS
32953 LIBS="-lnsl $LIBS"
32954 cat >conftest.$ac_ext <<_ACEOF
32955 /* confdefs.h. */
32956 _ACEOF
32957 cat confdefs.h >>conftest.$ac_ext
32958 cat >>conftest.$ac_ext <<_ACEOF
32959 /* end confdefs.h. */
32960
32961 /* Override any gcc2 internal prototype to avoid an error. */
32962 #ifdef __cplusplus
32963 extern "C"
32964 #endif
32965 /* We use char because int might match the return type of a gcc2
32966 builtin and then its argument prototype would still apply. */
32967 char inet_addr ();
32968 int
32969 main ()
32970 {
32971 inet_addr ();
32972 ;
32973 return 0;
32974 }
32975 _ACEOF
32976 rm -f conftest.$ac_objext conftest$ac_exeext
32977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32978 (eval $ac_link) 2>conftest.er1
32979 ac_status=$?
32980 grep -v '^ *+' conftest.er1 >conftest.err
32981 rm -f conftest.er1
32982 cat conftest.err >&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); } &&
32985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try='test -s conftest$ac_exeext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_lib_nsl_inet_addr=yes
32998 else
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.$ac_ext >&5
33001
33002 ac_cv_lib_nsl_inet_addr=no
33003 fi
33004 rm -f conftest.err conftest.$ac_objext \
33005 conftest$ac_exeext conftest.$ac_ext
33006 LIBS=$ac_check_lib_save_LIBS
33007 fi
33008 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33009 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33010 if test $ac_cv_lib_nsl_inet_addr = yes; then
33011 INET_LINK="nsl"
33012 else
33013
33014 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33015 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33016 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33018 else
33019 ac_check_lib_save_LIBS=$LIBS
33020 LIBS="-lresolv $LIBS"
33021 cat >conftest.$ac_ext <<_ACEOF
33022 /* confdefs.h. */
33023 _ACEOF
33024 cat confdefs.h >>conftest.$ac_ext
33025 cat >>conftest.$ac_ext <<_ACEOF
33026 /* end confdefs.h. */
33027
33028 /* Override any gcc2 internal prototype to avoid an error. */
33029 #ifdef __cplusplus
33030 extern "C"
33031 #endif
33032 /* We use char because int might match the return type of a gcc2
33033 builtin and then its argument prototype would still apply. */
33034 char inet_addr ();
33035 int
33036 main ()
33037 {
33038 inet_addr ();
33039 ;
33040 return 0;
33041 }
33042 _ACEOF
33043 rm -f conftest.$ac_objext conftest$ac_exeext
33044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33045 (eval $ac_link) 2>conftest.er1
33046 ac_status=$?
33047 grep -v '^ *+' conftest.er1 >conftest.err
33048 rm -f conftest.er1
33049 cat conftest.err >&5
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); } &&
33052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33055 ac_status=$?
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; } &&
33058 { ac_try='test -s conftest$ac_exeext'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33064 ac_cv_lib_resolv_inet_addr=yes
33065 else
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33068
33069 ac_cv_lib_resolv_inet_addr=no
33070 fi
33071 rm -f conftest.err conftest.$ac_objext \
33072 conftest$ac_exeext conftest.$ac_ext
33073 LIBS=$ac_check_lib_save_LIBS
33074 fi
33075 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33076 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33077 if test $ac_cv_lib_resolv_inet_addr = yes; then
33078 INET_LINK="resolv"
33079 else
33080
33081 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33082 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33083 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33084 echo $ECHO_N "(cached) $ECHO_C" >&6
33085 else
33086 ac_check_lib_save_LIBS=$LIBS
33087 LIBS="-lsocket $LIBS"
33088 cat >conftest.$ac_ext <<_ACEOF
33089 /* confdefs.h. */
33090 _ACEOF
33091 cat confdefs.h >>conftest.$ac_ext
33092 cat >>conftest.$ac_ext <<_ACEOF
33093 /* end confdefs.h. */
33094
33095 /* Override any gcc2 internal prototype to avoid an error. */
33096 #ifdef __cplusplus
33097 extern "C"
33098 #endif
33099 /* We use char because int might match the return type of a gcc2
33100 builtin and then its argument prototype would still apply. */
33101 char inet_addr ();
33102 int
33103 main ()
33104 {
33105 inet_addr ();
33106 ;
33107 return 0;
33108 }
33109 _ACEOF
33110 rm -f conftest.$ac_objext conftest$ac_exeext
33111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33112 (eval $ac_link) 2>conftest.er1
33113 ac_status=$?
33114 grep -v '^ *+' conftest.er1 >conftest.err
33115 rm -f conftest.er1
33116 cat conftest.err >&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); } &&
33119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121 (eval $ac_try) 2>&5
33122 ac_status=$?
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; } &&
33125 { ac_try='test -s conftest$ac_exeext'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33128 ac_status=$?
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; }; then
33131 ac_cv_lib_socket_inet_addr=yes
33132 else
33133 echo "$as_me: failed program was:" >&5
33134 sed 's/^/| /' conftest.$ac_ext >&5
33135
33136 ac_cv_lib_socket_inet_addr=no
33137 fi
33138 rm -f conftest.err conftest.$ac_objext \
33139 conftest$ac_exeext conftest.$ac_ext
33140 LIBS=$ac_check_lib_save_LIBS
33141 fi
33142 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33143 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33144 if test $ac_cv_lib_socket_inet_addr = yes; then
33145 INET_LINK="socket"
33146
33147 fi
33148
33149
33150
33151 fi
33152
33153
33154
33155 fi
33156
33157
33158
33159 fi
33160 done
33161
33162
33163
33164 for ac_func in inet_aton
33165 do
33166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33167 echo "$as_me:$LINENO: checking for $ac_func" >&5
33168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33169 if eval "test \"\${$as_ac_var+set}\" = set"; then
33170 echo $ECHO_N "(cached) $ECHO_C" >&6
33171 else
33172 cat >conftest.$ac_ext <<_ACEOF
33173 /* confdefs.h. */
33174 _ACEOF
33175 cat confdefs.h >>conftest.$ac_ext
33176 cat >>conftest.$ac_ext <<_ACEOF
33177 /* end confdefs.h. */
33178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33180 #define $ac_func innocuous_$ac_func
33181
33182 /* System header to define __stub macros and hopefully few prototypes,
33183 which can conflict with char $ac_func (); below.
33184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33185 <limits.h> exists even on freestanding compilers. */
33186
33187 #ifdef __STDC__
33188 # include <limits.h>
33189 #else
33190 # include <assert.h>
33191 #endif
33192
33193 #undef $ac_func
33194
33195 /* Override any gcc2 internal prototype to avoid an error. */
33196 #ifdef __cplusplus
33197 extern "C"
33198 {
33199 #endif
33200 /* We use char because int might match the return type of a gcc2
33201 builtin and then its argument prototype would still apply. */
33202 char $ac_func ();
33203 /* The GNU C library defines this for functions which it implements
33204 to always fail with ENOSYS. Some functions are actually named
33205 something starting with __ and the normal name is an alias. */
33206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33207 choke me
33208 #else
33209 char (*f) () = $ac_func;
33210 #endif
33211 #ifdef __cplusplus
33212 }
33213 #endif
33214
33215 int
33216 main ()
33217 {
33218 return f != $ac_func;
33219 ;
33220 return 0;
33221 }
33222 _ACEOF
33223 rm -f conftest.$ac_objext conftest$ac_exeext
33224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33225 (eval $ac_link) 2>conftest.er1
33226 ac_status=$?
33227 grep -v '^ *+' conftest.er1 >conftest.err
33228 rm -f conftest.er1
33229 cat conftest.err >&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); } &&
33232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33234 (eval $ac_try) 2>&5
33235 ac_status=$?
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); }; } &&
33238 { ac_try='test -s conftest$ac_exeext'
33239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240 (eval $ac_try) 2>&5
33241 ac_status=$?
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); }; }; then
33244 eval "$as_ac_var=yes"
33245 else
33246 echo "$as_me: failed program was:" >&5
33247 sed 's/^/| /' conftest.$ac_ext >&5
33248
33249 eval "$as_ac_var=no"
33250 fi
33251 rm -f conftest.err conftest.$ac_objext \
33252 conftest$ac_exeext conftest.$ac_ext
33253 fi
33254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33256 if test `eval echo '${'$as_ac_var'}'` = yes; then
33257 cat >>confdefs.h <<_ACEOF
33258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33259 _ACEOF
33260 cat >>confdefs.h <<\_ACEOF
33261 #define HAVE_INET_ATON 1
33262 _ACEOF
33263
33264 else
33265
33266 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33267 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33268 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33269 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 else
33272 ac_check_lib_save_LIBS=$LIBS
33273 LIBS="-l$INET_LINK $LIBS"
33274 cat >conftest.$ac_ext <<_ACEOF
33275 /* confdefs.h. */
33276 _ACEOF
33277 cat confdefs.h >>conftest.$ac_ext
33278 cat >>conftest.$ac_ext <<_ACEOF
33279 /* end confdefs.h. */
33280
33281 /* Override any gcc2 internal prototype to avoid an error. */
33282 #ifdef __cplusplus
33283 extern "C"
33284 #endif
33285 /* We use char because int might match the return type of a gcc2
33286 builtin and then its argument prototype would still apply. */
33287 char inet_aton ();
33288 int
33289 main ()
33290 {
33291 inet_aton ();
33292 ;
33293 return 0;
33294 }
33295 _ACEOF
33296 rm -f conftest.$ac_objext conftest$ac_exeext
33297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33298 (eval $ac_link) 2>conftest.er1
33299 ac_status=$?
33300 grep -v '^ *+' conftest.er1 >conftest.err
33301 rm -f conftest.er1
33302 cat conftest.err >&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); } &&
33305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33308 ac_status=$?
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; } &&
33311 { ac_try='test -s conftest$ac_exeext'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33314 ac_status=$?
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; }; then
33317 eval "$as_ac_Lib=yes"
33318 else
33319 echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.$ac_ext >&5
33321
33322 eval "$as_ac_Lib=no"
33323 fi
33324 rm -f conftest.err conftest.$ac_objext \
33325 conftest$ac_exeext conftest.$ac_ext
33326 LIBS=$ac_check_lib_save_LIBS
33327 fi
33328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33329 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33330 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33331 cat >>confdefs.h <<\_ACEOF
33332 #define HAVE_INET_ATON 1
33333 _ACEOF
33334
33335 fi
33336
33337
33338 fi
33339 done
33340
33341
33342 if test "x$INET_LINK" != "x"; then
33343 cat >>confdefs.h <<\_ACEOF
33344 #define HAVE_INET_ADDR 1
33345 _ACEOF
33346
33347 INET_LINK=" -l$INET_LINK"
33348 fi
33349
33350 fi
33351
33352
33353
33354 EXTRALIBS_ESD=
33355 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33356 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33357 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33358 echo $ECHO_N "(cached) $ECHO_C" >&6
33359 else
33360 ac_check_lib_save_LIBS=$LIBS
33361 LIBS="-lesd $LIBS"
33362 cat >conftest.$ac_ext <<_ACEOF
33363 /* confdefs.h. */
33364 _ACEOF
33365 cat confdefs.h >>conftest.$ac_ext
33366 cat >>conftest.$ac_ext <<_ACEOF
33367 /* end confdefs.h. */
33368
33369 /* Override any gcc2 internal prototype to avoid an error. */
33370 #ifdef __cplusplus
33371 extern "C"
33372 #endif
33373 /* We use char because int might match the return type of a gcc2
33374 builtin and then its argument prototype would still apply. */
33375 char esd_close ();
33376 int
33377 main ()
33378 {
33379 esd_close ();
33380 ;
33381 return 0;
33382 }
33383 _ACEOF
33384 rm -f conftest.$ac_objext conftest$ac_exeext
33385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33386 (eval $ac_link) 2>conftest.er1
33387 ac_status=$?
33388 grep -v '^ *+' conftest.er1 >conftest.err
33389 rm -f conftest.er1
33390 cat conftest.err >&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); } &&
33393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33396 ac_status=$?
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; } &&
33399 { ac_try='test -s conftest$ac_exeext'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33402 ac_status=$?
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; }; then
33405 ac_cv_lib_esd_esd_close=yes
33406 else
33407 echo "$as_me: failed program was:" >&5
33408 sed 's/^/| /' conftest.$ac_ext >&5
33409
33410 ac_cv_lib_esd_esd_close=no
33411 fi
33412 rm -f conftest.err conftest.$ac_objext \
33413 conftest$ac_exeext conftest.$ac_ext
33414 LIBS=$ac_check_lib_save_LIBS
33415 fi
33416 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33417 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33418 if test $ac_cv_lib_esd_esd_close = yes; then
33419
33420
33421 for ac_header in esd.h
33422 do
33423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33425 echo "$as_me:$LINENO: checking for $ac_header" >&5
33426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33429 fi
33430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33432 else
33433 # Is the header compilable?
33434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33436 cat >conftest.$ac_ext <<_ACEOF
33437 /* confdefs.h. */
33438 _ACEOF
33439 cat confdefs.h >>conftest.$ac_ext
33440 cat >>conftest.$ac_ext <<_ACEOF
33441 /* end confdefs.h. */
33442 $ac_includes_default
33443 #include <$ac_header>
33444 _ACEOF
33445 rm -f conftest.$ac_objext
33446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33447 (eval $ac_compile) 2>conftest.er1
33448 ac_status=$?
33449 grep -v '^ *+' conftest.er1 >conftest.err
33450 rm -f conftest.er1
33451 cat conftest.err >&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } &&
33454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33456 (eval $ac_try) 2>&5
33457 ac_status=$?
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); }; } &&
33460 { ac_try='test -s conftest.$ac_objext'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33463 ac_status=$?
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; }; then
33466 ac_header_compiler=yes
33467 else
33468 echo "$as_me: failed program was:" >&5
33469 sed 's/^/| /' conftest.$ac_ext >&5
33470
33471 ac_header_compiler=no
33472 fi
33473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33475 echo "${ECHO_T}$ac_header_compiler" >&6
33476
33477 # Is the header present?
33478 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33479 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33480 cat >conftest.$ac_ext <<_ACEOF
33481 /* confdefs.h. */
33482 _ACEOF
33483 cat confdefs.h >>conftest.$ac_ext
33484 cat >>conftest.$ac_ext <<_ACEOF
33485 /* end confdefs.h. */
33486 #include <$ac_header>
33487 _ACEOF
33488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33490 ac_status=$?
33491 grep -v '^ *+' conftest.er1 >conftest.err
33492 rm -f conftest.er1
33493 cat conftest.err >&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); } >/dev/null; then
33496 if test -s conftest.err; then
33497 ac_cpp_err=$ac_c_preproc_warn_flag
33498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33499 else
33500 ac_cpp_err=
33501 fi
33502 else
33503 ac_cpp_err=yes
33504 fi
33505 if test -z "$ac_cpp_err"; then
33506 ac_header_preproc=yes
33507 else
33508 echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33510
33511 ac_header_preproc=no
33512 fi
33513 rm -f conftest.err conftest.$ac_ext
33514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33515 echo "${ECHO_T}$ac_header_preproc" >&6
33516
33517 # So? What about this header?
33518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33519 yes:no: )
33520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33523 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33524 ac_header_preproc=yes
33525 ;;
33526 no:yes:* )
33527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33531 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33532 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33533 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33534 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33537 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33538 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33539 (
33540 cat <<\_ASBOX
33541 ## ----------------------------------------- ##
33542 ## Report this to wx-dev@lists.wxwidgets.org ##
33543 ## ----------------------------------------- ##
33544 _ASBOX
33545 ) |
33546 sed "s/^/$as_me: WARNING: /" >&2
33547 ;;
33548 esac
33549 echo "$as_me:$LINENO: checking for $ac_header" >&5
33550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33552 echo $ECHO_N "(cached) $ECHO_C" >&6
33553 else
33554 eval "$as_ac_Header=\$ac_header_preproc"
33555 fi
33556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33558
33559 fi
33560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33561 cat >>confdefs.h <<_ACEOF
33562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33563 _ACEOF
33564
33565 EXTRALIBS_ESD="-lesd"
33566
33567 fi
33568
33569 done
33570
33571
33572 fi
33573
33574
33575
33576 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33577 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33578 cat >conftest.$ac_ext <<_ACEOF
33579 /* confdefs.h. */
33580 _ACEOF
33581 cat confdefs.h >>conftest.$ac_ext
33582 cat >>conftest.$ac_ext <<_ACEOF
33583 /* end confdefs.h. */
33584 #ifdef __linux__
33585 #include <linux/cdrom.h>
33586 #else
33587 /* For Solaris */
33588 #include <sys/cdio.h>
33589 #endif
33590
33591 int
33592 main ()
33593 {
33594 struct cdrom_tocentry entry, old_entry;
33595 ;
33596 return 0;
33597 }
33598 _ACEOF
33599 rm -f conftest.$ac_objext
33600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33601 (eval $ac_compile) 2>conftest.er1
33602 ac_status=$?
33603 grep -v '^ *+' conftest.er1 >conftest.err
33604 rm -f conftest.er1
33605 cat conftest.err >&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } &&
33608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33611 ac_status=$?
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; } &&
33614 { ac_try='test -s conftest.$ac_objext'
33615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33616 (eval $ac_try) 2>&5
33617 ac_status=$?
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); }; }; then
33620 echo "$as_me:$LINENO: result: yes" >&5
33621 echo "${ECHO_T}yes" >&6
33622 cat >>confdefs.h <<\_ACEOF
33623 #define HAVE_KNOWN_CDROM_INTERFACE 1
33624 _ACEOF
33625
33626 else
33627 echo "$as_me: failed program was:" >&5
33628 sed 's/^/| /' conftest.$ac_ext >&5
33629
33630 echo "$as_me:$LINENO: result: no" >&5
33631 echo "${ECHO_T}no" >&6
33632 fi
33633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33634
33635
33636 cat >confcache <<\_ACEOF
33637 # This file is a shell script that caches the results of configure
33638 # tests run on this system so they can be shared between configure
33639 # scripts and configure runs, see configure's option --config-cache.
33640 # It is not useful on other systems. If it contains results you don't
33641 # want to keep, you may remove or edit it.
33642 #
33643 # config.status only pays attention to the cache file if you give it
33644 # the --recheck option to rerun configure.
33645 #
33646 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33647 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33648 # following values.
33649
33650 _ACEOF
33651
33652 # The following way of writing the cache mishandles newlines in values,
33653 # but we know of no workaround that is simple, portable, and efficient.
33654 # So, don't put newlines in cache variables' values.
33655 # Ultrix sh set writes to stderr and can't be redirected directly,
33656 # and sets the high bit in the cache file unless we assign to the vars.
33657 {
33658 (set) 2>&1 |
33659 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33660 *ac_space=\ *)
33661 # `set' does not quote correctly, so add quotes (double-quote
33662 # substitution turns \\\\ into \\, and sed turns \\ into \).
33663 sed -n \
33664 "s/'/'\\\\''/g;
33665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33666 ;;
33667 *)
33668 # `set' quotes correctly as required by POSIX, so do not add quotes.
33669 sed -n \
33670 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33671 ;;
33672 esac;
33673 } |
33674 sed '
33675 t clear
33676 : clear
33677 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33678 t end
33679 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33680 : end' >>confcache
33681 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33682 if test -w $cache_file; then
33683 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33684 cat confcache >$cache_file
33685 else
33686 echo "not updating unwritable cache $cache_file"
33687 fi
33688 fi
33689 rm -f confcache
33690
33691
33692 CPP_MT_FLAG=
33693 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33694
33695
33696 THREADS_LINK=
33697 THREADS_CFLAGS=
33698
33699 if test "$wxUSE_THREADS" = "yes" ; then
33700 if test "$USE_BEOS" = 1; then
33701 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33702 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33703 wxUSE_THREADS="no"
33704 fi
33705 fi
33706
33707 if test "$wxUSE_THREADS" = "yes" ; then
33708
33709
33710 THREAD_OPTS="-pthread"
33711 case "${host}" in
33712 *-*-solaris2* | *-*-sunos4* )
33713 if test "x$GCC" = "xyes"; then
33714 THREAD_OPTS="-pthreads $THREAD_OPTS"
33715 else
33716 THREAD_OPTS="-mt $THREAD_OPTS"
33717 fi
33718 ;;
33719 *-*-freebsd*)
33720 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
33721 ;;
33722 *-*-darwin* | *-*-cygwin* )
33723 THREAD_OPTS=""
33724 ;;
33725 *-*-aix*)
33726 THREAD_OPTS="pthreads"
33727 ;;
33728 *-hp-hpux* )
33729 if test "x$GCC" != "xyes"; then
33730 THREAD_OPTS=""
33731 fi
33732 ;;
33733
33734 *-*-irix* )
33735 if test "x$GCC" = "xyes"; then
33736 THREAD_OPTS=""
33737 fi
33738 ;;
33739
33740 *-*-*UnixWare*)
33741 if test "x$GCC" != "xyes"; then
33742 THREAD_OPTS="-Ethread"
33743 fi
33744 ;;
33745 esac
33746
33747 THREAD_OPTS="$THREAD_OPTS pthread none"
33748
33749 THREADS_OK=no
33750 for flag in $THREAD_OPTS; do
33751 case $flag in
33752 none)
33753 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33754 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33755 ;;
33756
33757 -*)
33758 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33759 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33760 THREADS_CFLAGS="$flag"
33761 ;;
33762
33763 *)
33764 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33765 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33766 THREADS_LINK="-l$flag"
33767 ;;
33768 esac
33769
33770 save_LIBS="$LIBS"
33771 save_CFLAGS="$CFLAGS"
33772 LIBS="$THREADS_LINK $LIBS"
33773 CFLAGS="$THREADS_CFLAGS $CFLAGS"
33774
33775 cat >conftest.$ac_ext <<_ACEOF
33776 /* confdefs.h. */
33777 _ACEOF
33778 cat confdefs.h >>conftest.$ac_ext
33779 cat >>conftest.$ac_ext <<_ACEOF
33780 /* end confdefs.h. */
33781 #include <pthread.h>
33782 int
33783 main ()
33784 {
33785 pthread_create(0,0,0,0);
33786 ;
33787 return 0;
33788 }
33789 _ACEOF
33790 rm -f conftest.$ac_objext conftest$ac_exeext
33791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33792 (eval $ac_link) 2>conftest.er1
33793 ac_status=$?
33794 grep -v '^ *+' conftest.er1 >conftest.err
33795 rm -f conftest.er1
33796 cat conftest.err >&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); } &&
33799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33801 (eval $ac_try) 2>&5
33802 ac_status=$?
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); }; } &&
33805 { ac_try='test -s conftest$ac_exeext'
33806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33807 (eval $ac_try) 2>&5
33808 ac_status=$?
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); }; }; then
33811 THREADS_OK=yes
33812 else
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.$ac_ext >&5
33815
33816 fi
33817 rm -f conftest.err conftest.$ac_objext \
33818 conftest$ac_exeext conftest.$ac_ext
33819
33820 LIBS="$save_LIBS"
33821 CFLAGS="$save_CFLAGS"
33822
33823 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33824 echo "${ECHO_T}$THREADS_OK" >&6
33825 if test "x$THREADS_OK" = "xyes"; then
33826 break;
33827 fi
33828
33829 THREADS_LINK=""
33830 THREADS_CFLAGS=""
33831 done
33832
33833 if test "x$THREADS_OK" != "xyes"; then
33834 wxUSE_THREADS=no
33835 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33836 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33837 else
33838 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
33839 LIBS="$THREADS_LINK $LIBS"
33840
33841 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33842 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33843 flag=no
33844 case "${host}" in
33845 *-aix*)
33846 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
33847 flag="-D_THREAD_SAFE"
33848 ;;
33849 *-freebsd*)
33850 flag="-D_THREAD_SAFE"
33851 ;;
33852 *-hp-hpux* )
33853 flag="-D_REENTRANT"
33854 if test "x$GCC" != "xyes"; then
33855 flag="$flag -D_RWSTD_MULTI_THREAD"
33856 fi
33857 ;;
33858 *solaris* | alpha*-osf*)
33859 flag="-D_REENTRANT"
33860 ;;
33861 esac
33862 echo "$as_me:$LINENO: result: ${flag}" >&5
33863 echo "${ECHO_T}${flag}" >&6
33864 if test "x$flag" != xno; then
33865 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
33866 fi
33867
33868 if test "x$THREADS_CFLAGS" != "x"; then
33869 CFLAGS="$CFLAGS $THREADS_CFLAGS"
33870 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
33871 fi
33872 fi
33873 fi
33874
33875 if test "$wxUSE_THREADS" = "yes" ; then
33876
33877 for ac_func in thr_setconcurrency
33878 do
33879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33880 echo "$as_me:$LINENO: checking for $ac_func" >&5
33881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33882 if eval "test \"\${$as_ac_var+set}\" = set"; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 else
33885 cat >conftest.$ac_ext <<_ACEOF
33886 /* confdefs.h. */
33887 _ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33893 #define $ac_func innocuous_$ac_func
33894
33895 /* System header to define __stub macros and hopefully few prototypes,
33896 which can conflict with char $ac_func (); below.
33897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33898 <limits.h> exists even on freestanding compilers. */
33899
33900 #ifdef __STDC__
33901 # include <limits.h>
33902 #else
33903 # include <assert.h>
33904 #endif
33905
33906 #undef $ac_func
33907
33908 /* Override any gcc2 internal prototype to avoid an error. */
33909 #ifdef __cplusplus
33910 extern "C"
33911 {
33912 #endif
33913 /* We use char because int might match the return type of a gcc2
33914 builtin and then its argument prototype would still apply. */
33915 char $ac_func ();
33916 /* The GNU C library defines this for functions which it implements
33917 to always fail with ENOSYS. Some functions are actually named
33918 something starting with __ and the normal name is an alias. */
33919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33920 choke me
33921 #else
33922 char (*f) () = $ac_func;
33923 #endif
33924 #ifdef __cplusplus
33925 }
33926 #endif
33927
33928 int
33929 main ()
33930 {
33931 return f != $ac_func;
33932 ;
33933 return 0;
33934 }
33935 _ACEOF
33936 rm -f conftest.$ac_objext conftest$ac_exeext
33937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33938 (eval $ac_link) 2>conftest.er1
33939 ac_status=$?
33940 grep -v '^ *+' conftest.er1 >conftest.err
33941 rm -f conftest.er1
33942 cat conftest.err >&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } &&
33945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33948 ac_status=$?
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; } &&
33951 { ac_try='test -s conftest$ac_exeext'
33952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953 (eval $ac_try) 2>&5
33954 ac_status=$?
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); }; }; then
33957 eval "$as_ac_var=yes"
33958 else
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33961
33962 eval "$as_ac_var=no"
33963 fi
33964 rm -f conftest.err conftest.$ac_objext \
33965 conftest$ac_exeext conftest.$ac_ext
33966 fi
33967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33969 if test `eval echo '${'$as_ac_var'}'` = yes; then
33970 cat >>confdefs.h <<_ACEOF
33971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33972 _ACEOF
33973
33974 fi
33975 done
33976
33977
33978
33979 for ac_header in sched.h
33980 do
33981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33983 echo "$as_me:$LINENO: checking for $ac_header" >&5
33984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33986 echo $ECHO_N "(cached) $ECHO_C" >&6
33987 fi
33988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33990 else
33991 # Is the header compilable?
33992 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33994 cat >conftest.$ac_ext <<_ACEOF
33995 /* confdefs.h. */
33996 _ACEOF
33997 cat confdefs.h >>conftest.$ac_ext
33998 cat >>conftest.$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 $ac_includes_default
34001 #include <$ac_header>
34002 _ACEOF
34003 rm -f conftest.$ac_objext
34004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34005 (eval $ac_compile) 2>conftest.er1
34006 ac_status=$?
34007 grep -v '^ *+' conftest.er1 >conftest.err
34008 rm -f conftest.er1
34009 cat conftest.err >&5
34010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 (exit $ac_status); } &&
34012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34014 (eval $ac_try) 2>&5
34015 ac_status=$?
34016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017 (exit $ac_status); }; } &&
34018 { ac_try='test -s conftest.$ac_objext'
34019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34020 (eval $ac_try) 2>&5
34021 ac_status=$?
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); }; }; then
34024 ac_header_compiler=yes
34025 else
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.$ac_ext >&5
34028
34029 ac_header_compiler=no
34030 fi
34031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34033 echo "${ECHO_T}$ac_header_compiler" >&6
34034
34035 # Is the header present?
34036 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34037 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34038 cat >conftest.$ac_ext <<_ACEOF
34039 /* confdefs.h. */
34040 _ACEOF
34041 cat confdefs.h >>conftest.$ac_ext
34042 cat >>conftest.$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34044 #include <$ac_header>
34045 _ACEOF
34046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } >/dev/null; then
34054 if test -s conftest.err; then
34055 ac_cpp_err=$ac_c_preproc_warn_flag
34056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34057 else
34058 ac_cpp_err=
34059 fi
34060 else
34061 ac_cpp_err=yes
34062 fi
34063 if test -z "$ac_cpp_err"; then
34064 ac_header_preproc=yes
34065 else
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.$ac_ext >&5
34068
34069 ac_header_preproc=no
34070 fi
34071 rm -f conftest.err conftest.$ac_ext
34072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34073 echo "${ECHO_T}$ac_header_preproc" >&6
34074
34075 # So? What about this header?
34076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34077 yes:no: )
34078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34082 ac_header_preproc=yes
34083 ;;
34084 no:yes:* )
34085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34097 (
34098 cat <<\_ASBOX
34099 ## ----------------------------------------- ##
34100 ## Report this to wx-dev@lists.wxwidgets.org ##
34101 ## ----------------------------------------- ##
34102 _ASBOX
34103 ) |
34104 sed "s/^/$as_me: WARNING: /" >&2
34105 ;;
34106 esac
34107 echo "$as_me:$LINENO: checking for $ac_header" >&5
34108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34110 echo $ECHO_N "(cached) $ECHO_C" >&6
34111 else
34112 eval "$as_ac_Header=\$ac_header_preproc"
34113 fi
34114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34116
34117 fi
34118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34119 cat >>confdefs.h <<_ACEOF
34120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34121 _ACEOF
34122
34123 fi
34124
34125 done
34126
34127 if test "$ac_cv_header_sched_h" = "yes"; then
34128 echo "$as_me:$LINENO: checking for sched_yield" >&5
34129 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34130 if test "${ac_cv_func_sched_yield+set}" = set; then
34131 echo $ECHO_N "(cached) $ECHO_C" >&6
34132 else
34133 cat >conftest.$ac_ext <<_ACEOF
34134 /* confdefs.h. */
34135 _ACEOF
34136 cat confdefs.h >>conftest.$ac_ext
34137 cat >>conftest.$ac_ext <<_ACEOF
34138 /* end confdefs.h. */
34139 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34141 #define sched_yield innocuous_sched_yield
34142
34143 /* System header to define __stub macros and hopefully few prototypes,
34144 which can conflict with char sched_yield (); below.
34145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34146 <limits.h> exists even on freestanding compilers. */
34147
34148 #ifdef __STDC__
34149 # include <limits.h>
34150 #else
34151 # include <assert.h>
34152 #endif
34153
34154 #undef sched_yield
34155
34156 /* Override any gcc2 internal prototype to avoid an error. */
34157 #ifdef __cplusplus
34158 extern "C"
34159 {
34160 #endif
34161 /* We use char because int might match the return type of a gcc2
34162 builtin and then its argument prototype would still apply. */
34163 char sched_yield ();
34164 /* The GNU C library defines this for functions which it implements
34165 to always fail with ENOSYS. Some functions are actually named
34166 something starting with __ and the normal name is an alias. */
34167 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34168 choke me
34169 #else
34170 char (*f) () = sched_yield;
34171 #endif
34172 #ifdef __cplusplus
34173 }
34174 #endif
34175
34176 int
34177 main ()
34178 {
34179 return f != sched_yield;
34180 ;
34181 return 0;
34182 }
34183 _ACEOF
34184 rm -f conftest.$ac_objext conftest$ac_exeext
34185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34186 (eval $ac_link) 2>conftest.er1
34187 ac_status=$?
34188 grep -v '^ *+' conftest.er1 >conftest.err
34189 rm -f conftest.er1
34190 cat conftest.err >&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); } &&
34193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34196 ac_status=$?
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; } &&
34199 { ac_try='test -s conftest$ac_exeext'
34200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34201 (eval $ac_try) 2>&5
34202 ac_status=$?
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); }; }; then
34205 ac_cv_func_sched_yield=yes
34206 else
34207 echo "$as_me: failed program was:" >&5
34208 sed 's/^/| /' conftest.$ac_ext >&5
34209
34210 ac_cv_func_sched_yield=no
34211 fi
34212 rm -f conftest.err conftest.$ac_objext \
34213 conftest$ac_exeext conftest.$ac_ext
34214 fi
34215 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34216 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34217 if test $ac_cv_func_sched_yield = yes; then
34218 cat >>confdefs.h <<\_ACEOF
34219 #define HAVE_SCHED_YIELD 1
34220 _ACEOF
34221
34222 else
34223
34224 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34225 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34226 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34227 echo $ECHO_N "(cached) $ECHO_C" >&6
34228 else
34229 ac_check_lib_save_LIBS=$LIBS
34230 LIBS="-lposix4 $LIBS"
34231 cat >conftest.$ac_ext <<_ACEOF
34232 /* confdefs.h. */
34233 _ACEOF
34234 cat confdefs.h >>conftest.$ac_ext
34235 cat >>conftest.$ac_ext <<_ACEOF
34236 /* end confdefs.h. */
34237
34238 /* Override any gcc2 internal prototype to avoid an error. */
34239 #ifdef __cplusplus
34240 extern "C"
34241 #endif
34242 /* We use char because int might match the return type of a gcc2
34243 builtin and then its argument prototype would still apply. */
34244 char sched_yield ();
34245 int
34246 main ()
34247 {
34248 sched_yield ();
34249 ;
34250 return 0;
34251 }
34252 _ACEOF
34253 rm -f conftest.$ac_objext conftest$ac_exeext
34254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34255 (eval $ac_link) 2>conftest.er1
34256 ac_status=$?
34257 grep -v '^ *+' conftest.er1 >conftest.err
34258 rm -f conftest.er1
34259 cat conftest.err >&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } &&
34262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34265 ac_status=$?
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; } &&
34268 { ac_try='test -s conftest$ac_exeext'
34269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270 (eval $ac_try) 2>&5
34271 ac_status=$?
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; }; then
34274 ac_cv_lib_posix4_sched_yield=yes
34275 else
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34278
34279 ac_cv_lib_posix4_sched_yield=no
34280 fi
34281 rm -f conftest.err conftest.$ac_objext \
34282 conftest$ac_exeext conftest.$ac_ext
34283 LIBS=$ac_check_lib_save_LIBS
34284 fi
34285 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34286 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34287 if test $ac_cv_lib_posix4_sched_yield = yes; then
34288 cat >>confdefs.h <<\_ACEOF
34289 #define HAVE_SCHED_YIELD 1
34290 _ACEOF
34291 POSIX4_LINK=" -lposix4"
34292 else
34293 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34294 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34295
34296 fi
34297
34298
34299
34300 fi
34301
34302 fi
34303
34304 HAVE_PRIOR_FUNCS=0
34305 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34306 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34307 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34308 echo $ECHO_N "(cached) $ECHO_C" >&6
34309 else
34310 cat >conftest.$ac_ext <<_ACEOF
34311 /* confdefs.h. */
34312 _ACEOF
34313 cat confdefs.h >>conftest.$ac_ext
34314 cat >>conftest.$ac_ext <<_ACEOF
34315 /* end confdefs.h. */
34316 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34318 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34319
34320 /* System header to define __stub macros and hopefully few prototypes,
34321 which can conflict with char pthread_attr_getschedpolicy (); below.
34322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34323 <limits.h> exists even on freestanding compilers. */
34324
34325 #ifdef __STDC__
34326 # include <limits.h>
34327 #else
34328 # include <assert.h>
34329 #endif
34330
34331 #undef pthread_attr_getschedpolicy
34332
34333 /* Override any gcc2 internal prototype to avoid an error. */
34334 #ifdef __cplusplus
34335 extern "C"
34336 {
34337 #endif
34338 /* We use char because int might match the return type of a gcc2
34339 builtin and then its argument prototype would still apply. */
34340 char pthread_attr_getschedpolicy ();
34341 /* The GNU C library defines this for functions which it implements
34342 to always fail with ENOSYS. Some functions are actually named
34343 something starting with __ and the normal name is an alias. */
34344 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34345 choke me
34346 #else
34347 char (*f) () = pthread_attr_getschedpolicy;
34348 #endif
34349 #ifdef __cplusplus
34350 }
34351 #endif
34352
34353 int
34354 main ()
34355 {
34356 return f != pthread_attr_getschedpolicy;
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext conftest$ac_exeext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34363 (eval $ac_link) 2>conftest.er1
34364 ac_status=$?
34365 grep -v '^ *+' conftest.er1 >conftest.err
34366 rm -f conftest.er1
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } &&
34370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34372 (eval $ac_try) 2>&5
34373 ac_status=$?
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); }; } &&
34376 { ac_try='test -s conftest$ac_exeext'
34377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34378 (eval $ac_try) 2>&5
34379 ac_status=$?
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); }; }; then
34382 ac_cv_func_pthread_attr_getschedpolicy=yes
34383 else
34384 echo "$as_me: failed program was:" >&5
34385 sed 's/^/| /' conftest.$ac_ext >&5
34386
34387 ac_cv_func_pthread_attr_getschedpolicy=no
34388 fi
34389 rm -f conftest.err conftest.$ac_objext \
34390 conftest$ac_exeext conftest.$ac_ext
34391 fi
34392 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34393 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34394 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34395 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34396 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34397 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34398 echo $ECHO_N "(cached) $ECHO_C" >&6
34399 else
34400 cat >conftest.$ac_ext <<_ACEOF
34401 /* confdefs.h. */
34402 _ACEOF
34403 cat confdefs.h >>conftest.$ac_ext
34404 cat >>conftest.$ac_ext <<_ACEOF
34405 /* end confdefs.h. */
34406 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34408 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34409
34410 /* System header to define __stub macros and hopefully few prototypes,
34411 which can conflict with char pthread_attr_setschedparam (); below.
34412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34413 <limits.h> exists even on freestanding compilers. */
34414
34415 #ifdef __STDC__
34416 # include <limits.h>
34417 #else
34418 # include <assert.h>
34419 #endif
34420
34421 #undef pthread_attr_setschedparam
34422
34423 /* Override any gcc2 internal prototype to avoid an error. */
34424 #ifdef __cplusplus
34425 extern "C"
34426 {
34427 #endif
34428 /* We use char because int might match the return type of a gcc2
34429 builtin and then its argument prototype would still apply. */
34430 char pthread_attr_setschedparam ();
34431 /* The GNU C library defines this for functions which it implements
34432 to always fail with ENOSYS. Some functions are actually named
34433 something starting with __ and the normal name is an alias. */
34434 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34435 choke me
34436 #else
34437 char (*f) () = pthread_attr_setschedparam;
34438 #endif
34439 #ifdef __cplusplus
34440 }
34441 #endif
34442
34443 int
34444 main ()
34445 {
34446 return f != pthread_attr_setschedparam;
34447 ;
34448 return 0;
34449 }
34450 _ACEOF
34451 rm -f conftest.$ac_objext conftest$ac_exeext
34452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34453 (eval $ac_link) 2>conftest.er1
34454 ac_status=$?
34455 grep -v '^ *+' conftest.er1 >conftest.err
34456 rm -f conftest.er1
34457 cat conftest.err >&5
34458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34459 (exit $ac_status); } &&
34460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34462 (eval $ac_try) 2>&5
34463 ac_status=$?
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); }; } &&
34466 { ac_try='test -s conftest$ac_exeext'
34467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34468 (eval $ac_try) 2>&5
34469 ac_status=$?
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); }; }; then
34472 ac_cv_func_pthread_attr_setschedparam=yes
34473 else
34474 echo "$as_me: failed program was:" >&5
34475 sed 's/^/| /' conftest.$ac_ext >&5
34476
34477 ac_cv_func_pthread_attr_setschedparam=no
34478 fi
34479 rm -f conftest.err conftest.$ac_objext \
34480 conftest$ac_exeext conftest.$ac_ext
34481 fi
34482 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34483 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34484 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34485 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34486 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34487 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34488 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 else
34490 cat >conftest.$ac_ext <<_ACEOF
34491 /* confdefs.h. */
34492 _ACEOF
34493 cat confdefs.h >>conftest.$ac_ext
34494 cat >>conftest.$ac_ext <<_ACEOF
34495 /* end confdefs.h. */
34496 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34498 #define sched_get_priority_max innocuous_sched_get_priority_max
34499
34500 /* System header to define __stub macros and hopefully few prototypes,
34501 which can conflict with char sched_get_priority_max (); below.
34502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34503 <limits.h> exists even on freestanding compilers. */
34504
34505 #ifdef __STDC__
34506 # include <limits.h>
34507 #else
34508 # include <assert.h>
34509 #endif
34510
34511 #undef sched_get_priority_max
34512
34513 /* Override any gcc2 internal prototype to avoid an error. */
34514 #ifdef __cplusplus
34515 extern "C"
34516 {
34517 #endif
34518 /* We use char because int might match the return type of a gcc2
34519 builtin and then its argument prototype would still apply. */
34520 char sched_get_priority_max ();
34521 /* The GNU C library defines this for functions which it implements
34522 to always fail with ENOSYS. Some functions are actually named
34523 something starting with __ and the normal name is an alias. */
34524 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34525 choke me
34526 #else
34527 char (*f) () = sched_get_priority_max;
34528 #endif
34529 #ifdef __cplusplus
34530 }
34531 #endif
34532
34533 int
34534 main ()
34535 {
34536 return f != sched_get_priority_max;
34537 ;
34538 return 0;
34539 }
34540 _ACEOF
34541 rm -f conftest.$ac_objext conftest$ac_exeext
34542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34543 (eval $ac_link) 2>conftest.er1
34544 ac_status=$?
34545 grep -v '^ *+' conftest.er1 >conftest.err
34546 rm -f conftest.er1
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552 (eval $ac_try) 2>&5
34553 ac_status=$?
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); }; } &&
34556 { ac_try='test -s conftest$ac_exeext'
34557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34558 (eval $ac_try) 2>&5
34559 ac_status=$?
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); }; }; then
34562 ac_cv_func_sched_get_priority_max=yes
34563 else
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34566
34567 ac_cv_func_sched_get_priority_max=no
34568 fi
34569 rm -f conftest.err conftest.$ac_objext \
34570 conftest$ac_exeext conftest.$ac_ext
34571 fi
34572 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34573 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34574 if test $ac_cv_func_sched_get_priority_max = yes; then
34575 HAVE_PRIOR_FUNCS=1
34576 else
34577 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34578 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34579 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34580 echo $ECHO_N "(cached) $ECHO_C" >&6
34581 else
34582 ac_check_lib_save_LIBS=$LIBS
34583 LIBS="-lposix4 $LIBS"
34584 cat >conftest.$ac_ext <<_ACEOF
34585 /* confdefs.h. */
34586 _ACEOF
34587 cat confdefs.h >>conftest.$ac_ext
34588 cat >>conftest.$ac_ext <<_ACEOF
34589 /* end confdefs.h. */
34590
34591 /* Override any gcc2 internal prototype to avoid an error. */
34592 #ifdef __cplusplus
34593 extern "C"
34594 #endif
34595 /* We use char because int might match the return type of a gcc2
34596 builtin and then its argument prototype would still apply. */
34597 char sched_get_priority_max ();
34598 int
34599 main ()
34600 {
34601 sched_get_priority_max ();
34602 ;
34603 return 0;
34604 }
34605 _ACEOF
34606 rm -f conftest.$ac_objext conftest$ac_exeext
34607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34608 (eval $ac_link) 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } &&
34615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34621 { ac_try='test -s conftest$ac_exeext'
34622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623 (eval $ac_try) 2>&5
34624 ac_status=$?
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); }; }; then
34627 ac_cv_lib_posix4_sched_get_priority_max=yes
34628 else
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.$ac_ext >&5
34631
34632 ac_cv_lib_posix4_sched_get_priority_max=no
34633 fi
34634 rm -f conftest.err conftest.$ac_objext \
34635 conftest$ac_exeext conftest.$ac_ext
34636 LIBS=$ac_check_lib_save_LIBS
34637 fi
34638 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34639 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34640 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34641
34642 HAVE_PRIOR_FUNCS=1
34643 POSIX4_LINK=" -lposix4"
34644
34645 fi
34646
34647
34648 fi
34649
34650
34651 fi
34652
34653
34654 fi
34655
34656
34657 if test "$HAVE_PRIOR_FUNCS" = 1; then
34658 cat >>confdefs.h <<\_ACEOF
34659 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34660 _ACEOF
34661
34662 else
34663 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34664 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34665 fi
34666
34667 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34668 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34669 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34672 cat >conftest.$ac_ext <<_ACEOF
34673 /* confdefs.h. */
34674 _ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h. */
34678 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34680 #define pthread_cancel innocuous_pthread_cancel
34681
34682 /* System header to define __stub macros and hopefully few prototypes,
34683 which can conflict with char pthread_cancel (); below.
34684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34685 <limits.h> exists even on freestanding compilers. */
34686
34687 #ifdef __STDC__
34688 # include <limits.h>
34689 #else
34690 # include <assert.h>
34691 #endif
34692
34693 #undef pthread_cancel
34694
34695 /* Override any gcc2 internal prototype to avoid an error. */
34696 #ifdef __cplusplus
34697 extern "C"
34698 {
34699 #endif
34700 /* We use char because int might match the return type of a gcc2
34701 builtin and then its argument prototype would still apply. */
34702 char pthread_cancel ();
34703 /* The GNU C library defines this for functions which it implements
34704 to always fail with ENOSYS. Some functions are actually named
34705 something starting with __ and the normal name is an alias. */
34706 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34707 choke me
34708 #else
34709 char (*f) () = pthread_cancel;
34710 #endif
34711 #ifdef __cplusplus
34712 }
34713 #endif
34714
34715 int
34716 main ()
34717 {
34718 return f != pthread_cancel;
34719 ;
34720 return 0;
34721 }
34722 _ACEOF
34723 rm -f conftest.$ac_objext conftest$ac_exeext
34724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34725 (eval $ac_link) 2>conftest.er1
34726 ac_status=$?
34727 grep -v '^ *+' conftest.er1 >conftest.err
34728 rm -f conftest.er1
34729 cat conftest.err >&5
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); } &&
34732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34734 (eval $ac_try) 2>&5
34735 ac_status=$?
34736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737 (exit $ac_status); }; } &&
34738 { ac_try='test -s conftest$ac_exeext'
34739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34740 (eval $ac_try) 2>&5
34741 ac_status=$?
34742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34743 (exit $ac_status); }; }; then
34744 ac_cv_func_pthread_cancel=yes
34745 else
34746 echo "$as_me: failed program was:" >&5
34747 sed 's/^/| /' conftest.$ac_ext >&5
34748
34749 ac_cv_func_pthread_cancel=no
34750 fi
34751 rm -f conftest.err conftest.$ac_objext \
34752 conftest$ac_exeext conftest.$ac_ext
34753 fi
34754 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34755 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34756 if test $ac_cv_func_pthread_cancel = yes; then
34757 cat >>confdefs.h <<\_ACEOF
34758 #define HAVE_PTHREAD_CANCEL 1
34759 _ACEOF
34760
34761 else
34762 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34763 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34764 fi
34765
34766
34767
34768
34769 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34770 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34771 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34772 echo $ECHO_N "(cached) $ECHO_C" >&6
34773 else
34774
34775 cat >conftest.$ac_ext <<_ACEOF
34776 /* confdefs.h. */
34777 _ACEOF
34778 cat confdefs.h >>conftest.$ac_ext
34779 cat >>conftest.$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34781 #include <pthread.h>
34782 int
34783 main ()
34784 {
34785
34786 pthread_mutexattr_t attr;
34787 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34788
34789 ;
34790 return 0;
34791 }
34792 _ACEOF
34793 rm -f conftest.$ac_objext
34794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34795 (eval $ac_compile) 2>conftest.er1
34796 ac_status=$?
34797 grep -v '^ *+' conftest.er1 >conftest.err
34798 rm -f conftest.er1
34799 cat conftest.err >&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } &&
34802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34804 (eval $ac_try) 2>&5
34805 ac_status=$?
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); }; } &&
34808 { ac_try='test -s conftest.$ac_objext'
34809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34810 (eval $ac_try) 2>&5
34811 ac_status=$?
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); }; }; then
34814
34815 wx_cv_type_pthread_mutexattr_t=yes
34816
34817 else
34818 echo "$as_me: failed program was:" >&5
34819 sed 's/^/| /' conftest.$ac_ext >&5
34820
34821
34822 wx_cv_type_pthread_mutexattr_t=no
34823
34824
34825 fi
34826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34827
34828 fi
34829 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34830 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34831
34832 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34833 cat >>confdefs.h <<\_ACEOF
34834 #define HAVE_PTHREAD_MUTEXATTR_T 1
34835 _ACEOF
34836
34837 else
34838 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34839 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34840 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34841 echo $ECHO_N "(cached) $ECHO_C" >&6
34842 else
34843
34844 cat >conftest.$ac_ext <<_ACEOF
34845 /* confdefs.h. */
34846 _ACEOF
34847 cat confdefs.h >>conftest.$ac_ext
34848 cat >>conftest.$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34850 #include <pthread.h>
34851 int
34852 main ()
34853 {
34854
34855 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34856
34857 ;
34858 return 0;
34859 }
34860 _ACEOF
34861 rm -f conftest.$ac_objext
34862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34863 (eval $ac_compile) 2>conftest.er1
34864 ac_status=$?
34865 grep -v '^ *+' conftest.er1 >conftest.err
34866 rm -f conftest.er1
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } &&
34870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34873 ac_status=$?
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try='test -s conftest.$ac_objext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34879 ac_status=$?
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34882
34883 wx_cv_type_pthread_rec_mutex_init=yes
34884
34885 else
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34888
34889
34890 wx_cv_type_pthread_rec_mutex_init=no
34891
34892
34893 fi
34894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34895
34896 fi
34897 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34898 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34899 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34900 cat >>confdefs.h <<\_ACEOF
34901 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34902 _ACEOF
34903
34904 else
34905 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34906 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34907 fi
34908 fi
34909 fi
34910
34911 else
34912 if test "$wxUSE_THREADS" = "yes" ; then
34913 case "${host}" in
34914 *-*-mingw32* )
34915 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34916 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34917 if test "${wx_cv_cflags_mthread+set}" = set; then
34918 echo $ECHO_N "(cached) $ECHO_C" >&6
34919 else
34920
34921 CFLAGS_OLD="$CFLAGS"
34922 CFLAGS="$CFLAGS -mthreads"
34923 cat >conftest.$ac_ext <<_ACEOF
34924 /* confdefs.h. */
34925 _ACEOF
34926 cat confdefs.h >>conftest.$ac_ext
34927 cat >>conftest.$ac_ext <<_ACEOF
34928 /* end confdefs.h. */
34929
34930 int
34931 main ()
34932 {
34933
34934 ;
34935 return 0;
34936 }
34937 _ACEOF
34938 rm -f conftest.$ac_objext
34939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34940 (eval $ac_compile) 2>conftest.er1
34941 ac_status=$?
34942 grep -v '^ *+' conftest.er1 >conftest.err
34943 rm -f conftest.er1
34944 cat conftest.err >&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); } &&
34947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34949 (eval $ac_try) 2>&5
34950 ac_status=$?
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); }; } &&
34953 { ac_try='test -s conftest.$ac_objext'
34954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34955 (eval $ac_try) 2>&5
34956 ac_status=$?
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); }; }; then
34959 wx_cv_cflags_mthread=yes
34960 else
34961 echo "$as_me: failed program was:" >&5
34962 sed 's/^/| /' conftest.$ac_ext >&5
34963
34964 wx_cv_cflags_mthread=no
34965
34966 fi
34967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34968
34969
34970 fi
34971 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34972 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34973
34974 if test "$wx_cv_cflags_mthread" = "yes"; then
34975 CXXFLAGS="$CXXFLAGS -mthreads"
34976 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34977 LDFLAGS="$LDFLAGS -mthreads"
34978 else
34979 CFLAGS="$CFLAGS_OLD"
34980 fi
34981 ;;
34982 *-pc-os2*emx )
34983 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34984 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34985 LDFLAGS="$LDFLAGS -Zmt"
34986 ;;
34987 esac
34988 fi
34989 fi
34990
34991 if test "$wxUSE_THREADS" = "yes"; then
34992 cat >>confdefs.h <<\_ACEOF
34993 #define wxUSE_THREADS 1
34994 _ACEOF
34995
34996
34997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
34998 else
34999 if test "$ac_cv_func_strtok_r" = "yes"; then
35000 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35001 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35002 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35003 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35004 echo "$as_me:$LINENO: result: yes" >&5
35005 echo "${ECHO_T}yes" >&6
35006 else
35007 echo "$as_me:$LINENO: result: no" >&5
35008 echo "${ECHO_T}no" >&6
35009 fi
35010 fi
35011 fi
35012
35013 if test "$WXGTK20" = 1 ; then
35014 cat >>confdefs.h <<_ACEOF
35015 #define __WXGTK20__ $WXGTK20
35016 _ACEOF
35017
35018 WXGTK12=1
35019 fi
35020
35021 if test "$WXGTK12" = 1 ; then
35022 cat >>confdefs.h <<_ACEOF
35023 #define __WXGTK12__ $WXGTK12
35024 _ACEOF
35025
35026 fi
35027
35028 if test "$WXGTK127" = 1 ; then
35029 cat >>confdefs.h <<_ACEOF
35030 #define __WXGTK127__ $WXGTK127
35031 _ACEOF
35032
35033 fi
35034
35035 if test "$WXGPE" = 1 ; then
35036 cat >>confdefs.h <<_ACEOF
35037 #define __WXGPE__ $WXGPE
35038 _ACEOF
35039
35040 fi
35041
35042 WXDEBUG=
35043
35044 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35045 WXDEBUG="-g"
35046 wxUSE_OPTIMISE=no
35047 fi
35048
35049 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35050 wxUSE_DEBUG_INFO=yes
35051 WXDEBUG="-ggdb"
35052 fi
35053
35054 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35055 cat >>confdefs.h <<\_ACEOF
35056 #define WXDEBUG 1
35057 _ACEOF
35058
35059 WXDEBUG_DEFINE="-D__WXDEBUG__"
35060 else
35061 if test "$wxUSE_GTK" = 1 ; then
35062 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35063 fi
35064 fi
35065
35066 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35067 cat >>confdefs.h <<\_ACEOF
35068 #define wxUSE_MEMORY_TRACING 1
35069 _ACEOF
35070
35071 cat >>confdefs.h <<\_ACEOF
35072 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35073 _ACEOF
35074
35075 cat >>confdefs.h <<\_ACEOF
35076 #define wxUSE_DEBUG_NEW_ALWAYS 1
35077 _ACEOF
35078
35079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35080 fi
35081
35082 if test "$wxUSE_DMALLOC" = "yes" ; then
35083 DMALLOC_LIBS="-ldmalloc"
35084 fi
35085
35086 PROFILE=
35087 if test "$wxUSE_PROFILE" = "yes" ; then
35088 PROFILE=" -pg"
35089 fi
35090
35091 CODE_GEN_FLAGS=
35092 CODE_GEN_FLAGS_CXX=
35093 if test "$GCC" = "yes" ; then
35094 if test "$wxUSE_NO_RTTI" = "yes" ; then
35095 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35096 fi
35097 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35098 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35099 fi
35100 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35101 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35102 fi
35103
35104 case "${host}" in
35105 powerpc*-*-aix* )
35106 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35107 ;;
35108 *-hppa* )
35109 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35110 ;;
35111 esac
35112 fi
35113
35114 OPTIMISE=
35115 if test "$wxUSE_OPTIMISE" = "no" ; then
35116 if test "$GCC" = yes ; then
35117 OPTIMISE="-O0"
35118 fi
35119 else
35120 if test "$GCC" = yes ; then
35121 OPTIMISE="-O2"
35122
35123 case "${host}" in
35124 i586-*-*|i686-*-* )
35125 OPTIMISE="${OPTIMISE} "
35126 ;;
35127 esac
35128 else
35129 OPTIMISE="-O"
35130 fi
35131 fi
35132
35133
35134 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35135 cat >>confdefs.h <<\_ACEOF
35136 #define WXWIN_COMPATIBILITY_2_2 1
35137 _ACEOF
35138
35139
35140 WXWIN_COMPATIBILITY_2_4="yes"
35141 fi
35142
35143 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35144 cat >>confdefs.h <<\_ACEOF
35145 #define WXWIN_COMPATIBILITY_2_4 1
35146 _ACEOF
35147
35148 fi
35149
35150
35151 if test "$wxUSE_GUI" = "yes"; then
35152 cat >>confdefs.h <<\_ACEOF
35153 #define wxUSE_GUI 1
35154 _ACEOF
35155
35156
35157 fi
35158
35159
35160 if test "$wxUSE_UNIX" = "yes"; then
35161 cat >>confdefs.h <<\_ACEOF
35162 #define wxUSE_UNIX 1
35163 _ACEOF
35164
35165 fi
35166
35167
35168 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35169
35170 HAVE_DL_FUNCS=0
35171 HAVE_SHL_FUNCS=0
35172 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35173 if test "$USE_DARWIN" = 1; then
35174 HAVE_DL_FUNCS=1
35175 else
35176
35177 for ac_func in dlopen
35178 do
35179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35180 echo "$as_me:$LINENO: checking for $ac_func" >&5
35181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35182 if eval "test \"\${$as_ac_var+set}\" = set"; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 else
35185 cat >conftest.$ac_ext <<_ACEOF
35186 /* confdefs.h. */
35187 _ACEOF
35188 cat confdefs.h >>conftest.$ac_ext
35189 cat >>conftest.$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35193 #define $ac_func innocuous_$ac_func
35194
35195 /* System header to define __stub macros and hopefully few prototypes,
35196 which can conflict with char $ac_func (); below.
35197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35198 <limits.h> exists even on freestanding compilers. */
35199
35200 #ifdef __STDC__
35201 # include <limits.h>
35202 #else
35203 # include <assert.h>
35204 #endif
35205
35206 #undef $ac_func
35207
35208 /* Override any gcc2 internal prototype to avoid an error. */
35209 #ifdef __cplusplus
35210 extern "C"
35211 {
35212 #endif
35213 /* We use char because int might match the return type of a gcc2
35214 builtin and then its argument prototype would still apply. */
35215 char $ac_func ();
35216 /* The GNU C library defines this for functions which it implements
35217 to always fail with ENOSYS. Some functions are actually named
35218 something starting with __ and the normal name is an alias. */
35219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35220 choke me
35221 #else
35222 char (*f) () = $ac_func;
35223 #endif
35224 #ifdef __cplusplus
35225 }
35226 #endif
35227
35228 int
35229 main ()
35230 {
35231 return f != $ac_func;
35232 ;
35233 return 0;
35234 }
35235 _ACEOF
35236 rm -f conftest.$ac_objext conftest$ac_exeext
35237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35238 (eval $ac_link) 2>conftest.er1
35239 ac_status=$?
35240 grep -v '^ *+' conftest.er1 >conftest.err
35241 rm -f conftest.er1
35242 cat conftest.err >&5
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); } &&
35245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35247 (eval $ac_try) 2>&5
35248 ac_status=$?
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); }; } &&
35251 { ac_try='test -s conftest$ac_exeext'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35254 ac_status=$?
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; }; then
35257 eval "$as_ac_var=yes"
35258 else
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.$ac_ext >&5
35261
35262 eval "$as_ac_var=no"
35263 fi
35264 rm -f conftest.err conftest.$ac_objext \
35265 conftest$ac_exeext conftest.$ac_ext
35266 fi
35267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35269 if test `eval echo '${'$as_ac_var'}'` = yes; then
35270 cat >>confdefs.h <<_ACEOF
35271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35272 _ACEOF
35273
35274 cat >>confdefs.h <<\_ACEOF
35275 #define HAVE_DLOPEN 1
35276 _ACEOF
35277
35278 HAVE_DL_FUNCS=1
35279
35280 else
35281
35282 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35283 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35284 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 else
35287 ac_check_lib_save_LIBS=$LIBS
35288 LIBS="-ldl $LIBS"
35289 cat >conftest.$ac_ext <<_ACEOF
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295
35296 /* Override any gcc2 internal prototype to avoid an error. */
35297 #ifdef __cplusplus
35298 extern "C"
35299 #endif
35300 /* We use char because int might match the return type of a gcc2
35301 builtin and then its argument prototype would still apply. */
35302 char dlopen ();
35303 int
35304 main ()
35305 {
35306 dlopen ();
35307 ;
35308 return 0;
35309 }
35310 _ACEOF
35311 rm -f conftest.$ac_objext conftest$ac_exeext
35312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35313 (eval $ac_link) 2>conftest.er1
35314 ac_status=$?
35315 grep -v '^ *+' conftest.er1 >conftest.err
35316 rm -f conftest.er1
35317 cat conftest.err >&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); } &&
35320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35323 ac_status=$?
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; } &&
35326 { ac_try='test -s conftest$ac_exeext'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35329 ac_status=$?
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; }; then
35332 ac_cv_lib_dl_dlopen=yes
35333 else
35334 echo "$as_me: failed program was:" >&5
35335 sed 's/^/| /' conftest.$ac_ext >&5
35336
35337 ac_cv_lib_dl_dlopen=no
35338 fi
35339 rm -f conftest.err conftest.$ac_objext \
35340 conftest$ac_exeext conftest.$ac_ext
35341 LIBS=$ac_check_lib_save_LIBS
35342 fi
35343 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35344 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35345 if test $ac_cv_lib_dl_dlopen = yes; then
35346
35347 cat >>confdefs.h <<\_ACEOF
35348 #define HAVE_DLOPEN 1
35349 _ACEOF
35350
35351 HAVE_DL_FUNCS=1
35352 DL_LINK=" -ldl$DL_LINK"
35353
35354 else
35355
35356
35357 for ac_func in shl_load
35358 do
35359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35360 echo "$as_me:$LINENO: checking for $ac_func" >&5
35361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35362 if eval "test \"\${$as_ac_var+set}\" = set"; then
35363 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 else
35365 cat >conftest.$ac_ext <<_ACEOF
35366 /* confdefs.h. */
35367 _ACEOF
35368 cat confdefs.h >>conftest.$ac_ext
35369 cat >>conftest.$ac_ext <<_ACEOF
35370 /* end confdefs.h. */
35371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35373 #define $ac_func innocuous_$ac_func
35374
35375 /* System header to define __stub macros and hopefully few prototypes,
35376 which can conflict with char $ac_func (); below.
35377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35378 <limits.h> exists even on freestanding compilers. */
35379
35380 #ifdef __STDC__
35381 # include <limits.h>
35382 #else
35383 # include <assert.h>
35384 #endif
35385
35386 #undef $ac_func
35387
35388 /* Override any gcc2 internal prototype to avoid an error. */
35389 #ifdef __cplusplus
35390 extern "C"
35391 {
35392 #endif
35393 /* We use char because int might match the return type of a gcc2
35394 builtin and then its argument prototype would still apply. */
35395 char $ac_func ();
35396 /* The GNU C library defines this for functions which it implements
35397 to always fail with ENOSYS. Some functions are actually named
35398 something starting with __ and the normal name is an alias. */
35399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35400 choke me
35401 #else
35402 char (*f) () = $ac_func;
35403 #endif
35404 #ifdef __cplusplus
35405 }
35406 #endif
35407
35408 int
35409 main ()
35410 {
35411 return f != $ac_func;
35412 ;
35413 return 0;
35414 }
35415 _ACEOF
35416 rm -f conftest.$ac_objext conftest$ac_exeext
35417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35418 (eval $ac_link) 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } &&
35425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35427 (eval $ac_try) 2>&5
35428 ac_status=$?
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); }; } &&
35431 { ac_try='test -s conftest$ac_exeext'
35432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35433 (eval $ac_try) 2>&5
35434 ac_status=$?
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; }; then
35437 eval "$as_ac_var=yes"
35438 else
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35441
35442 eval "$as_ac_var=no"
35443 fi
35444 rm -f conftest.err conftest.$ac_objext \
35445 conftest$ac_exeext conftest.$ac_ext
35446 fi
35447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35449 if test `eval echo '${'$as_ac_var'}'` = yes; then
35450 cat >>confdefs.h <<_ACEOF
35451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35452 _ACEOF
35453
35454 cat >>confdefs.h <<\_ACEOF
35455 #define HAVE_SHL_LOAD 1
35456 _ACEOF
35457
35458 HAVE_SHL_FUNCS=1
35459
35460 else
35461
35462 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35463 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35464 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35465 echo $ECHO_N "(cached) $ECHO_C" >&6
35466 else
35467 ac_check_lib_save_LIBS=$LIBS
35468 LIBS="-lshl_load $LIBS"
35469 cat >conftest.$ac_ext <<_ACEOF
35470 /* confdefs.h. */
35471 _ACEOF
35472 cat confdefs.h >>conftest.$ac_ext
35473 cat >>conftest.$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35475
35476 /* Override any gcc2 internal prototype to avoid an error. */
35477 #ifdef __cplusplus
35478 extern "C"
35479 #endif
35480 /* We use char because int might match the return type of a gcc2
35481 builtin and then its argument prototype would still apply. */
35482 char dld ();
35483 int
35484 main ()
35485 {
35486 dld ();
35487 ;
35488 return 0;
35489 }
35490 _ACEOF
35491 rm -f conftest.$ac_objext conftest$ac_exeext
35492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35493 (eval $ac_link) 2>conftest.er1
35494 ac_status=$?
35495 grep -v '^ *+' conftest.er1 >conftest.err
35496 rm -f conftest.er1
35497 cat conftest.err >&5
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); } &&
35500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35502 (eval $ac_try) 2>&5
35503 ac_status=$?
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); }; } &&
35506 { ac_try='test -s conftest$ac_exeext'
35507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35508 (eval $ac_try) 2>&5
35509 ac_status=$?
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); }; }; then
35512 ac_cv_lib_shl_load_dld=yes
35513 else
35514 echo "$as_me: failed program was:" >&5
35515 sed 's/^/| /' conftest.$ac_ext >&5
35516
35517 ac_cv_lib_shl_load_dld=no
35518 fi
35519 rm -f conftest.err conftest.$ac_objext \
35520 conftest$ac_exeext conftest.$ac_ext
35521 LIBS=$ac_check_lib_save_LIBS
35522 fi
35523 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35524 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35525 if test $ac_cv_lib_shl_load_dld = yes; then
35526
35527 HAVE_SHL_FUNCS=1
35528 DL_LINK=" -ldld$DL_LINK"
35529
35530 fi
35531
35532
35533 fi
35534 done
35535
35536
35537 fi
35538
35539
35540 fi
35541 done
35542
35543
35544 if test "$HAVE_DL_FUNCS" = 1; then
35545
35546 for ac_func in dlerror
35547 do
35548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35549 echo "$as_me:$LINENO: checking for $ac_func" >&5
35550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35551 if eval "test \"\${$as_ac_var+set}\" = set"; then
35552 echo $ECHO_N "(cached) $ECHO_C" >&6
35553 else
35554 cat >conftest.$ac_ext <<_ACEOF
35555 /* confdefs.h. */
35556 _ACEOF
35557 cat confdefs.h >>conftest.$ac_ext
35558 cat >>conftest.$ac_ext <<_ACEOF
35559 /* end confdefs.h. */
35560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35562 #define $ac_func innocuous_$ac_func
35563
35564 /* System header to define __stub macros and hopefully few prototypes,
35565 which can conflict with char $ac_func (); below.
35566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35567 <limits.h> exists even on freestanding compilers. */
35568
35569 #ifdef __STDC__
35570 # include <limits.h>
35571 #else
35572 # include <assert.h>
35573 #endif
35574
35575 #undef $ac_func
35576
35577 /* Override any gcc2 internal prototype to avoid an error. */
35578 #ifdef __cplusplus
35579 extern "C"
35580 {
35581 #endif
35582 /* We use char because int might match the return type of a gcc2
35583 builtin and then its argument prototype would still apply. */
35584 char $ac_func ();
35585 /* The GNU C library defines this for functions which it implements
35586 to always fail with ENOSYS. Some functions are actually named
35587 something starting with __ and the normal name is an alias. */
35588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35589 choke me
35590 #else
35591 char (*f) () = $ac_func;
35592 #endif
35593 #ifdef __cplusplus
35594 }
35595 #endif
35596
35597 int
35598 main ()
35599 {
35600 return f != $ac_func;
35601 ;
35602 return 0;
35603 }
35604 _ACEOF
35605 rm -f conftest.$ac_objext conftest$ac_exeext
35606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35607 (eval $ac_link) 2>conftest.er1
35608 ac_status=$?
35609 grep -v '^ *+' conftest.er1 >conftest.err
35610 rm -f conftest.er1
35611 cat conftest.err >&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); } &&
35614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35617 ac_status=$?
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; } &&
35620 { ac_try='test -s conftest$ac_exeext'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35623 ac_status=$?
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; }; then
35626 eval "$as_ac_var=yes"
35627 else
35628 echo "$as_me: failed program was:" >&5
35629 sed 's/^/| /' conftest.$ac_ext >&5
35630
35631 eval "$as_ac_var=no"
35632 fi
35633 rm -f conftest.err conftest.$ac_objext \
35634 conftest$ac_exeext conftest.$ac_ext
35635 fi
35636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35638 if test `eval echo '${'$as_ac_var'}'` = yes; then
35639 cat >>confdefs.h <<_ACEOF
35640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35641 _ACEOF
35642 cat >>confdefs.h <<\_ACEOF
35643 #define HAVE_DLERROR 1
35644 _ACEOF
35645
35646 else
35647
35648 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35649 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35650 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35651 echo $ECHO_N "(cached) $ECHO_C" >&6
35652 else
35653 ac_check_lib_save_LIBS=$LIBS
35654 LIBS="-ldl $LIBS"
35655 cat >conftest.$ac_ext <<_ACEOF
35656 /* confdefs.h. */
35657 _ACEOF
35658 cat confdefs.h >>conftest.$ac_ext
35659 cat >>conftest.$ac_ext <<_ACEOF
35660 /* end confdefs.h. */
35661
35662 /* Override any gcc2 internal prototype to avoid an error. */
35663 #ifdef __cplusplus
35664 extern "C"
35665 #endif
35666 /* We use char because int might match the return type of a gcc2
35667 builtin and then its argument prototype would still apply. */
35668 char dlerror ();
35669 int
35670 main ()
35671 {
35672 dlerror ();
35673 ;
35674 return 0;
35675 }
35676 _ACEOF
35677 rm -f conftest.$ac_objext conftest$ac_exeext
35678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35679 (eval $ac_link) 2>conftest.er1
35680 ac_status=$?
35681 grep -v '^ *+' conftest.er1 >conftest.err
35682 rm -f conftest.er1
35683 cat conftest.err >&5
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); } &&
35686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688 (eval $ac_try) 2>&5
35689 ac_status=$?
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; } &&
35692 { ac_try='test -s conftest$ac_exeext'
35693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694 (eval $ac_try) 2>&5
35695 ac_status=$?
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); }; }; then
35698 ac_cv_lib_dl_dlerror=yes
35699 else
35700 echo "$as_me: failed program was:" >&5
35701 sed 's/^/| /' conftest.$ac_ext >&5
35702
35703 ac_cv_lib_dl_dlerror=no
35704 fi
35705 rm -f conftest.err conftest.$ac_objext \
35706 conftest$ac_exeext conftest.$ac_ext
35707 LIBS=$ac_check_lib_save_LIBS
35708 fi
35709 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35710 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35711 if test $ac_cv_lib_dl_dlerror = yes; then
35712 cat >>confdefs.h <<\_ACEOF
35713 #define HAVE_DLERROR 1
35714 _ACEOF
35715
35716 fi
35717
35718
35719
35720 fi
35721 done
35722
35723 fi
35724 fi
35725
35726 if test "$HAVE_DL_FUNCS" = 0; then
35727 if test "$HAVE_SHL_FUNCS" = 0; then
35728 if test "$USE_UNIX" = 1; then
35729 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35730 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35731 wxUSE_DYNAMIC_LOADER=no
35732 wxUSE_DYNLIB_CLASS=no
35733 else
35734 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35735 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35736 fi
35737 fi
35738 fi
35739 fi
35740 fi
35741
35742 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35743 cat >>confdefs.h <<\_ACEOF
35744 #define wxUSE_DYNAMIC_LOADER 1
35745 _ACEOF
35746
35747 fi
35748 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35749 cat >>confdefs.h <<\_ACEOF
35750 #define wxUSE_DYNLIB_CLASS 1
35751 _ACEOF
35752
35753 fi
35754
35755
35756
35757 if test "$wxUSE_PLUGINS" = "yes" ; then
35758 if test "$wxUSE_SHARED" = "no" ; then
35759 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35760 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35761 wxUSE_PLUGINS=no
35762 fi
35763 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35764 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35765 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35766 wxUSE_PLUGINS=no
35767 fi
35768 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35769 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35770 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35771 wxUSE_PLUGINS=no
35772 fi
35773 if test "$wxUSE_PLUGINS" = "yes" ; then
35774 cat >>confdefs.h <<\_ACEOF
35775 #define wxUSE_PLUGINS 1
35776 _ACEOF
35777
35778 fi
35779 fi
35780
35781
35782 if test "$wxUSE_STL" = "yes"; then
35783 cat >>confdefs.h <<\_ACEOF
35784 #define wxUSE_STL 1
35785 _ACEOF
35786
35787 fi
35788
35789 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35790 cat >>confdefs.h <<\_ACEOF
35791 #define wxUSE_APPLE_IEEE 1
35792 _ACEOF
35793
35794 fi
35795
35796 if test "$wxUSE_TIMER" = "yes"; then
35797 cat >>confdefs.h <<\_ACEOF
35798 #define wxUSE_TIMER 1
35799 _ACEOF
35800
35801 fi
35802
35803 WITH_PLUGIN_SDL=0
35804 if test "$wxUSE_SOUND" = "yes"; then
35805 if test "$USE_UNIX" = "1" ; then
35806
35807 for ac_header in sys/soundcard.h
35808 do
35809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35811 echo "$as_me:$LINENO: checking for $ac_header" >&5
35812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35814 echo $ECHO_N "(cached) $ECHO_C" >&6
35815 fi
35816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35818 else
35819 # Is the header compilable?
35820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35822 cat >conftest.$ac_ext <<_ACEOF
35823 /* confdefs.h. */
35824 _ACEOF
35825 cat confdefs.h >>conftest.$ac_ext
35826 cat >>conftest.$ac_ext <<_ACEOF
35827 /* end confdefs.h. */
35828 $ac_includes_default
35829 #include <$ac_header>
35830 _ACEOF
35831 rm -f conftest.$ac_objext
35832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35833 (eval $ac_compile) 2>conftest.er1
35834 ac_status=$?
35835 grep -v '^ *+' conftest.er1 >conftest.err
35836 rm -f conftest.er1
35837 cat conftest.err >&5
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); } &&
35840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35842 (eval $ac_try) 2>&5
35843 ac_status=$?
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); }; } &&
35846 { ac_try='test -s conftest.$ac_objext'
35847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35848 (eval $ac_try) 2>&5
35849 ac_status=$?
35850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35851 (exit $ac_status); }; }; then
35852 ac_header_compiler=yes
35853 else
35854 echo "$as_me: failed program was:" >&5
35855 sed 's/^/| /' conftest.$ac_ext >&5
35856
35857 ac_header_compiler=no
35858 fi
35859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35861 echo "${ECHO_T}$ac_header_compiler" >&6
35862
35863 # Is the header present?
35864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35866 cat >conftest.$ac_ext <<_ACEOF
35867 /* confdefs.h. */
35868 _ACEOF
35869 cat confdefs.h >>conftest.$ac_ext
35870 cat >>conftest.$ac_ext <<_ACEOF
35871 /* end confdefs.h. */
35872 #include <$ac_header>
35873 _ACEOF
35874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35876 ac_status=$?
35877 grep -v '^ *+' conftest.er1 >conftest.err
35878 rm -f conftest.er1
35879 cat conftest.err >&5
35880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881 (exit $ac_status); } >/dev/null; then
35882 if test -s conftest.err; then
35883 ac_cpp_err=$ac_c_preproc_warn_flag
35884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35885 else
35886 ac_cpp_err=
35887 fi
35888 else
35889 ac_cpp_err=yes
35890 fi
35891 if test -z "$ac_cpp_err"; then
35892 ac_header_preproc=yes
35893 else
35894 echo "$as_me: failed program was:" >&5
35895 sed 's/^/| /' conftest.$ac_ext >&5
35896
35897 ac_header_preproc=no
35898 fi
35899 rm -f conftest.err conftest.$ac_ext
35900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35901 echo "${ECHO_T}$ac_header_preproc" >&6
35902
35903 # So? What about this header?
35904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35905 yes:no: )
35906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35910 ac_header_preproc=yes
35911 ;;
35912 no:yes:* )
35913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35925 (
35926 cat <<\_ASBOX
35927 ## ----------------------------------------- ##
35928 ## Report this to wx-dev@lists.wxwidgets.org ##
35929 ## ----------------------------------------- ##
35930 _ASBOX
35931 ) |
35932 sed "s/^/$as_me: WARNING: /" >&2
35933 ;;
35934 esac
35935 echo "$as_me:$LINENO: checking for $ac_header" >&5
35936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35938 echo $ECHO_N "(cached) $ECHO_C" >&6
35939 else
35940 eval "$as_ac_Header=\$ac_header_preproc"
35941 fi
35942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35944
35945 fi
35946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35947 cat >>confdefs.h <<_ACEOF
35948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35949 _ACEOF
35950
35951 fi
35952
35953 done
35954
35955
35956 if test "$wxUSE_LIBSDL" != "no"; then
35957
35958 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35959 if test "${with_sdl_prefix+set}" = set; then
35960 withval="$with_sdl_prefix"
35961 sdl_prefix="$withval"
35962 else
35963 sdl_prefix=""
35964 fi;
35965
35966 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35967 if test "${with_sdl_exec_prefix+set}" = set; then
35968 withval="$with_sdl_exec_prefix"
35969 sdl_exec_prefix="$withval"
35970 else
35971 sdl_exec_prefix=""
35972 fi;
35973 # Check whether --enable-sdltest or --disable-sdltest was given.
35974 if test "${enable_sdltest+set}" = set; then
35975 enableval="$enable_sdltest"
35976
35977 else
35978 enable_sdltest=yes
35979 fi;
35980
35981 if test x$sdl_exec_prefix != x ; then
35982 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35983 if test x${SDL_CONFIG+set} != xset ; then
35984 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35985 fi
35986 fi
35987 if test x$sdl_prefix != x ; then
35988 sdl_args="$sdl_args --prefix=$sdl_prefix"
35989 if test x${SDL_CONFIG+set} != xset ; then
35990 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35991 fi
35992 fi
35993
35994
35995 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
35996 # Extract the first word of "sdl-config", so it can be a program name with args.
35997 set dummy sdl-config; ac_word=$2
35998 echo "$as_me:$LINENO: checking for $ac_word" >&5
35999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36000 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36001 echo $ECHO_N "(cached) $ECHO_C" >&6
36002 else
36003 case $SDL_CONFIG in
36004 [\\/]* | ?:[\\/]*)
36005 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36006 ;;
36007 *)
36008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36009 for as_dir in $PATH
36010 do
36011 IFS=$as_save_IFS
36012 test -z "$as_dir" && as_dir=.
36013 for ac_exec_ext in '' $ac_executable_extensions; do
36014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36015 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36017 break 2
36018 fi
36019 done
36020 done
36021
36022 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36023 ;;
36024 esac
36025 fi
36026 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36027
36028 if test -n "$SDL_CONFIG"; then
36029 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36030 echo "${ECHO_T}$SDL_CONFIG" >&6
36031 else
36032 echo "$as_me:$LINENO: result: no" >&5
36033 echo "${ECHO_T}no" >&6
36034 fi
36035
36036 min_sdl_version=1.2.0
36037 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36038 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36039 no_sdl=""
36040 if test "$SDL_CONFIG" = "no" ; then
36041 no_sdl=yes
36042 else
36043 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36044 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36045
36046 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36048 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36050 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36052 if test "x$enable_sdltest" = "xyes" ; then
36053 ac_save_CFLAGS="$CFLAGS"
36054 ac_save_CXXFLAGS="$CXXFLAGS"
36055 ac_save_LIBS="$LIBS"
36056 CFLAGS="$CFLAGS $SDL_CFLAGS"
36057 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36058 LIBS="$LIBS $SDL_LIBS"
36059 rm -f conf.sdltest
36060 if test "$cross_compiling" = yes; then
36061 echo $ac_n "cross compiling; assumed OK... $ac_c"
36062 else
36063 cat >conftest.$ac_ext <<_ACEOF
36064 /* confdefs.h. */
36065 _ACEOF
36066 cat confdefs.h >>conftest.$ac_ext
36067 cat >>conftest.$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069
36070 #include <stdio.h>
36071 #include <stdlib.h>
36072 #include <string.h>
36073 #include "SDL.h"
36074
36075 char*
36076 my_strdup (char *str)
36077 {
36078 char *new_str;
36079
36080 if (str)
36081 {
36082 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36083 strcpy (new_str, str);
36084 }
36085 else
36086 new_str = NULL;
36087
36088 return new_str;
36089 }
36090
36091 int main (int argc, char *argv[])
36092 {
36093 int major, minor, micro;
36094 char *tmp_version;
36095
36096 /* This hangs on some systems (?)
36097 system ("touch conf.sdltest");
36098 */
36099 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36100
36101 /* HP/UX 9 (%@#!) writes to sscanf strings */
36102 tmp_version = my_strdup("$min_sdl_version");
36103 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36104 printf("%s, bad version string\n", "$min_sdl_version");
36105 exit(1);
36106 }
36107
36108 if (($sdl_major_version > major) ||
36109 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36110 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36111 {
36112 return 0;
36113 }
36114 else
36115 {
36116 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36117 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36118 printf("*** best to upgrade to the required version.\n");
36119 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36120 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36121 printf("*** config.cache before re-running configure\n");
36122 return 1;
36123 }
36124 }
36125
36126
36127 _ACEOF
36128 rm -f conftest$ac_exeext
36129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36130 (eval $ac_link) 2>&5
36131 ac_status=$?
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36135 (eval $ac_try) 2>&5
36136 ac_status=$?
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); }; }; then
36139 :
36140 else
36141 echo "$as_me: program exited with status $ac_status" >&5
36142 echo "$as_me: failed program was:" >&5
36143 sed 's/^/| /' conftest.$ac_ext >&5
36144
36145 ( exit $ac_status )
36146 no_sdl=yes
36147 fi
36148 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36149 fi
36150 CFLAGS="$ac_save_CFLAGS"
36151 CXXFLAGS="$ac_save_CXXFLAGS"
36152 LIBS="$ac_save_LIBS"
36153 fi
36154 fi
36155 if test "x$no_sdl" = x ; then
36156 echo "$as_me:$LINENO: result: yes" >&5
36157 echo "${ECHO_T}yes" >&6
36158
36159 EXTRALIBS_SDL="$SDL_LIBS"
36160 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36161 cat >>confdefs.h <<\_ACEOF
36162 #define wxUSE_LIBSDL 1
36163 _ACEOF
36164
36165
36166 else
36167 echo "$as_me:$LINENO: result: no" >&5
36168 echo "${ECHO_T}no" >&6
36169 if test "$SDL_CONFIG" = "no" ; then
36170 echo "*** The sdl-config script installed by SDL could not be found"
36171 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36172 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36173 echo "*** full path to sdl-config."
36174 else
36175 if test -f conf.sdltest ; then
36176 :
36177 else
36178 echo "*** Could not run SDL test program, checking why..."
36179 CFLAGS="$CFLAGS $SDL_CFLAGS"
36180 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36181 LIBS="$LIBS $SDL_LIBS"
36182 cat >conftest.$ac_ext <<_ACEOF
36183 /* confdefs.h. */
36184 _ACEOF
36185 cat confdefs.h >>conftest.$ac_ext
36186 cat >>conftest.$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188
36189 #include <stdio.h>
36190 #include "SDL.h"
36191
36192 int main(int argc, char *argv[])
36193 { return 0; }
36194 #undef main
36195 #define main K_and_R_C_main
36196
36197 int
36198 main ()
36199 {
36200 return 0;
36201 ;
36202 return 0;
36203 }
36204 _ACEOF
36205 rm -f conftest.$ac_objext conftest$ac_exeext
36206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36207 (eval $ac_link) 2>conftest.er1
36208 ac_status=$?
36209 grep -v '^ *+' conftest.er1 >conftest.err
36210 rm -f conftest.er1
36211 cat conftest.err >&5
36212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36213 (exit $ac_status); } &&
36214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
36220 { ac_try='test -s conftest$ac_exeext'
36221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36222 (eval $ac_try) 2>&5
36223 ac_status=$?
36224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36225 (exit $ac_status); }; }; then
36226 echo "*** The test program compiled, but did not run. This usually means"
36227 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36228 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36229 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36230 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36231 echo "*** is required on your system"
36232 echo "***"
36233 echo "*** If you have an old version installed, it is best to remove it, although"
36234 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36235 else
36236 echo "$as_me: failed program was:" >&5
36237 sed 's/^/| /' conftest.$ac_ext >&5
36238
36239 echo "*** The test program failed to compile or link. See the file config.log for the"
36240 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36241 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36242 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36243 fi
36244 rm -f conftest.err conftest.$ac_objext \
36245 conftest$ac_exeext conftest.$ac_ext
36246 CFLAGS="$ac_save_CFLAGS"
36247 CXXFLAGS="$ac_save_CXXFLAGS"
36248 LIBS="$ac_save_LIBS"
36249 fi
36250 fi
36251 SDL_CFLAGS=""
36252 SDL_LIBS=""
36253 wxUSE_LIBSDL="no"
36254 fi
36255
36256
36257 rm -f conf.sdltest
36258
36259 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36260 WITH_PLUGIN_SDL=1
36261 fi
36262 fi
36263 fi
36264
36265 cat >>confdefs.h <<\_ACEOF
36266 #define wxUSE_SOUND 1
36267 _ACEOF
36268
36269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
36270 fi
36271
36272 if test "$WXGTK20" = 1; then
36273 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36274 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36275
36276
36277 succeeded=no
36278
36279 if test -z "$PKG_CONFIG"; then
36280 # Extract the first word of "pkg-config", so it can be a program name with args.
36281 set dummy pkg-config; ac_word=$2
36282 echo "$as_me:$LINENO: checking for $ac_word" >&5
36283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36285 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 else
36287 case $PKG_CONFIG in
36288 [\\/]* | ?:[\\/]*)
36289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36290 ;;
36291 *)
36292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36293 for as_dir in $PATH
36294 do
36295 IFS=$as_save_IFS
36296 test -z "$as_dir" && as_dir=.
36297 for ac_exec_ext in '' $ac_executable_extensions; do
36298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36299 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36301 break 2
36302 fi
36303 done
36304 done
36305
36306 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
36307 ;;
36308 esac
36309 fi
36310 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36311
36312 if test -n "$PKG_CONFIG"; then
36313 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36314 echo "${ECHO_T}$PKG_CONFIG" >&6
36315 else
36316 echo "$as_me:$LINENO: result: no" >&5
36317 echo "${ECHO_T}no" >&6
36318 fi
36319
36320 fi
36321
36322 if test "$PKG_CONFIG" = "no" ; then
36323 echo "*** The pkg-config script could not be found. Make sure it is"
36324 echo "*** in your path, or set the PKG_CONFIG environment variable"
36325 echo "*** to the full path to pkg-config."
36326 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36327 else
36328 PKG_CONFIG_MIN_VERSION=0.9.0
36329 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36330 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36331 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36332
36333 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36334 echo "$as_me:$LINENO: result: yes" >&5
36335 echo "${ECHO_T}yes" >&6
36336 succeeded=yes
36337
36338 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36339 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36340 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36341 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36342 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36343
36344 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36345 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36346 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36347 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36348 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36349 else
36350 LIBGNOMEPRINTUI_CFLAGS=""
36351 LIBGNOMEPRINTUI_LIBS=""
36352 ## If we have a custom action on failure, don't print errors, but
36353 ## do set a variable so people can do so.
36354 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36355
36356 fi
36357
36358
36359
36360 else
36361 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36362 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36363 fi
36364 fi
36365
36366 if test $succeeded = yes; then
36367
36368 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36369 cat >>confdefs.h <<\_ACEOF
36370 #define wxUSE_LIBGNOMEPRINT 1
36371 _ACEOF
36372
36373
36374 else
36375
36376 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36377 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36378 wxUSE_LIBGNOMEPRINT="no"
36379
36380
36381 fi
36382
36383 fi
36384 fi
36385 fi
36386
36387
36388 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36389 cat >>confdefs.h <<\_ACEOF
36390 #define wxUSE_CMDLINE_PARSER 1
36391 _ACEOF
36392
36393 fi
36394
36395 if test "$wxUSE_STOPWATCH" = "yes"; then
36396 cat >>confdefs.h <<\_ACEOF
36397 #define wxUSE_STOPWATCH 1
36398 _ACEOF
36399
36400 fi
36401
36402 if test "$wxUSE_DATETIME" = "yes"; then
36403 cat >>confdefs.h <<\_ACEOF
36404 #define wxUSE_DATETIME 1
36405 _ACEOF
36406
36407 fi
36408
36409 if test "$wxUSE_FILE" = "yes"; then
36410 cat >>confdefs.h <<\_ACEOF
36411 #define wxUSE_FILE 1
36412 _ACEOF
36413
36414 fi
36415
36416 if test "$wxUSE_FFILE" = "yes"; then
36417 cat >>confdefs.h <<\_ACEOF
36418 #define wxUSE_FFILE 1
36419 _ACEOF
36420
36421 fi
36422
36423 if test "$wxUSE_FILESYSTEM" = "yes"; then
36424 cat >>confdefs.h <<\_ACEOF
36425 #define wxUSE_FILESYSTEM 1
36426 _ACEOF
36427
36428 fi
36429
36430 if test "$wxUSE_FS_ZIP" = "yes"; then
36431 cat >>confdefs.h <<\_ACEOF
36432 #define wxUSE_FS_ZIP 1
36433 _ACEOF
36434
36435 fi
36436
36437 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36438 cat >>confdefs.h <<\_ACEOF
36439 #define wxUSE_ARCHIVE_STREAMS 1
36440 _ACEOF
36441
36442 fi
36443
36444 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36445 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36446 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36447 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36448 elif test "$wxUSE_ZLIB" = "no"; then
36449 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36450 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36451 else
36452 cat >>confdefs.h <<\_ACEOF
36453 #define wxUSE_ZIPSTREAM 1
36454 _ACEOF
36455
36456 fi
36457 fi
36458
36459 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36460 cat >>confdefs.h <<\_ACEOF
36461 #define wxUSE_ON_FATAL_EXCEPTION 1
36462 _ACEOF
36463
36464 fi
36465
36466 if test "$wxUSE_STACKWALKER" = "yes"; then
36467 cat >>confdefs.h <<\_ACEOF
36468 #define wxUSE_STACKWALKER 1
36469 _ACEOF
36470
36471 fi
36472
36473 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36474 cat >>confdefs.h <<\_ACEOF
36475 #define wxUSE_DEBUGREPORT 1
36476 _ACEOF
36477
36478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
36479 fi
36480
36481 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36482 cat >>confdefs.h <<\_ACEOF
36483 #define wxUSE_SNGLINST_CHECKER 1
36484 _ACEOF
36485
36486 fi
36487
36488 if test "$wxUSE_BUSYINFO" = "yes"; then
36489 cat >>confdefs.h <<\_ACEOF
36490 #define wxUSE_BUSYINFO 1
36491 _ACEOF
36492
36493 fi
36494
36495 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36496 cat >>confdefs.h <<\_ACEOF
36497 #define wxUSE_STD_IOSTREAM 1
36498 _ACEOF
36499
36500 fi
36501
36502 if test "$wxUSE_STDPATHS" = "yes"; then
36503 cat >>confdefs.h <<\_ACEOF
36504 #define wxUSE_STDPATHS 1
36505 _ACEOF
36506
36507 fi
36508
36509 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36510 cat >>confdefs.h <<\_ACEOF
36511 #define wxUSE_TEXTBUFFER 1
36512 _ACEOF
36513
36514 fi
36515
36516 if test "$wxUSE_TEXTFILE" = "yes"; then
36517 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36518 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36519 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36520 else
36521 cat >>confdefs.h <<\_ACEOF
36522 #define wxUSE_TEXTFILE 1
36523 _ACEOF
36524
36525 fi
36526 fi
36527
36528 if test "$wxUSE_CONFIG" = "yes" ; then
36529 if test "$wxUSE_TEXTFILE" != "yes"; then
36530 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36531 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36532 else
36533 cat >>confdefs.h <<\_ACEOF
36534 #define wxUSE_CONFIG 1
36535 _ACEOF
36536
36537 cat >>confdefs.h <<\_ACEOF
36538 #define wxUSE_CONFIG_NATIVE 1
36539 _ACEOF
36540
36541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
36542 fi
36543 fi
36544
36545 if test "$wxUSE_INTL" = "yes" ; then
36546 if test "$wxUSE_FILE" != "yes"; then
36547 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36548 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36549 else
36550 cat >>confdefs.h <<\_ACEOF
36551 #define wxUSE_INTL 1
36552 _ACEOF
36553
36554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
36555 GUIDIST="$GUIDIST INTL_DIST"
36556 fi
36557 fi
36558
36559 if test "$wxUSE_LOG" = "yes"; then
36560 cat >>confdefs.h <<\_ACEOF
36561 #define wxUSE_LOG 1
36562 _ACEOF
36563
36564
36565 if test "$wxUSE_LOGGUI" = "yes"; then
36566 cat >>confdefs.h <<\_ACEOF
36567 #define wxUSE_LOGGUI 1
36568 _ACEOF
36569
36570 fi
36571
36572 if test "$wxUSE_LOGWINDOW" = "yes"; then
36573 cat >>confdefs.h <<\_ACEOF
36574 #define wxUSE_LOGWINDOW 1
36575 _ACEOF
36576
36577 fi
36578
36579 if test "$wxUSE_LOGDIALOG" = "yes"; then
36580 cat >>confdefs.h <<\_ACEOF
36581 #define wxUSE_LOG_DIALOG 1
36582 _ACEOF
36583
36584 fi
36585
36586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
36587 fi
36588
36589 if test "$wxUSE_LONGLONG" = "yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591 #define wxUSE_LONGLONG 1
36592 _ACEOF
36593
36594 fi
36595
36596 if test "$wxUSE_GEOMETRY" = "yes"; then
36597 cat >>confdefs.h <<\_ACEOF
36598 #define wxUSE_GEOMETRY 1
36599 _ACEOF
36600
36601 fi
36602
36603 if test "$wxUSE_STREAMS" = "yes" ; then
36604 cat >>confdefs.h <<\_ACEOF
36605 #define wxUSE_STREAMS 1
36606 _ACEOF
36607
36608 fi
36609
36610
36611 if test "$wxUSE_DATETIME" = "yes"; then
36612
36613 for ac_func in strptime
36614 do
36615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36616 echo "$as_me:$LINENO: checking for $ac_func" >&5
36617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36618 if eval "test \"\${$as_ac_var+set}\" = set"; then
36619 echo $ECHO_N "(cached) $ECHO_C" >&6
36620 else
36621 cat >conftest.$ac_ext <<_ACEOF
36622 /* confdefs.h. */
36623 _ACEOF
36624 cat confdefs.h >>conftest.$ac_ext
36625 cat >>conftest.$ac_ext <<_ACEOF
36626 /* end confdefs.h. */
36627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36629 #define $ac_func innocuous_$ac_func
36630
36631 /* System header to define __stub macros and hopefully few prototypes,
36632 which can conflict with char $ac_func (); below.
36633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36634 <limits.h> exists even on freestanding compilers. */
36635
36636 #ifdef __STDC__
36637 # include <limits.h>
36638 #else
36639 # include <assert.h>
36640 #endif
36641
36642 #undef $ac_func
36643
36644 /* Override any gcc2 internal prototype to avoid an error. */
36645 #ifdef __cplusplus
36646 extern "C"
36647 {
36648 #endif
36649 /* We use char because int might match the return type of a gcc2
36650 builtin and then its argument prototype would still apply. */
36651 char $ac_func ();
36652 /* The GNU C library defines this for functions which it implements
36653 to always fail with ENOSYS. Some functions are actually named
36654 something starting with __ and the normal name is an alias. */
36655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36656 choke me
36657 #else
36658 char (*f) () = $ac_func;
36659 #endif
36660 #ifdef __cplusplus
36661 }
36662 #endif
36663
36664 int
36665 main ()
36666 {
36667 return f != $ac_func;
36668 ;
36669 return 0;
36670 }
36671 _ACEOF
36672 rm -f conftest.$ac_objext conftest$ac_exeext
36673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36674 (eval $ac_link) 2>conftest.er1
36675 ac_status=$?
36676 grep -v '^ *+' conftest.er1 >conftest.err
36677 rm -f conftest.er1
36678 cat conftest.err >&5
36679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36680 (exit $ac_status); } &&
36681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36683 (eval $ac_try) 2>&5
36684 ac_status=$?
36685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36686 (exit $ac_status); }; } &&
36687 { ac_try='test -s conftest$ac_exeext'
36688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36689 (eval $ac_try) 2>&5
36690 ac_status=$?
36691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692 (exit $ac_status); }; }; then
36693 eval "$as_ac_var=yes"
36694 else
36695 echo "$as_me: failed program was:" >&5
36696 sed 's/^/| /' conftest.$ac_ext >&5
36697
36698 eval "$as_ac_var=no"
36699 fi
36700 rm -f conftest.err conftest.$ac_objext \
36701 conftest$ac_exeext conftest.$ac_ext
36702 fi
36703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36705 if test `eval echo '${'$as_ac_var'}'` = yes; then
36706 cat >>confdefs.h <<_ACEOF
36707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36708 _ACEOF
36709
36710 fi
36711 done
36712
36713
36714 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36715 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36716 if test "${wx_cv_var_timezone+set}" = set; then
36717 echo $ECHO_N "(cached) $ECHO_C" >&6
36718 else
36719
36720 cat >conftest.$ac_ext <<_ACEOF
36721 /* confdefs.h. */
36722 _ACEOF
36723 cat confdefs.h >>conftest.$ac_ext
36724 cat >>conftest.$ac_ext <<_ACEOF
36725 /* end confdefs.h. */
36726
36727 #include <time.h>
36728
36729 int
36730 main ()
36731 {
36732
36733 int tz;
36734 tz = timezone;
36735
36736 ;
36737 return 0;
36738 }
36739 _ACEOF
36740 rm -f conftest.$ac_objext
36741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36742 (eval $ac_compile) 2>conftest.er1
36743 ac_status=$?
36744 grep -v '^ *+' conftest.er1 >conftest.err
36745 rm -f conftest.er1
36746 cat conftest.err >&5
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); } &&
36749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36751 (eval $ac_try) 2>&5
36752 ac_status=$?
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); }; } &&
36755 { ac_try='test -s conftest.$ac_objext'
36756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36757 (eval $ac_try) 2>&5
36758 ac_status=$?
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); }; }; then
36761
36762 wx_cv_var_timezone=timezone
36763
36764 else
36765 echo "$as_me: failed program was:" >&5
36766 sed 's/^/| /' conftest.$ac_ext >&5
36767
36768
36769 cat >conftest.$ac_ext <<_ACEOF
36770 /* confdefs.h. */
36771 _ACEOF
36772 cat confdefs.h >>conftest.$ac_ext
36773 cat >>conftest.$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36775
36776 #include <time.h>
36777
36778 int
36779 main ()
36780 {
36781
36782 int tz;
36783 tz = _timezone;
36784
36785 ;
36786 return 0;
36787 }
36788 _ACEOF
36789 rm -f conftest.$ac_objext
36790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36791 (eval $ac_compile) 2>conftest.er1
36792 ac_status=$?
36793 grep -v '^ *+' conftest.er1 >conftest.err
36794 rm -f conftest.er1
36795 cat conftest.err >&5
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 (exit $ac_status); } &&
36798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36800 (eval $ac_try) 2>&5
36801 ac_status=$?
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); }; } &&
36804 { ac_try='test -s conftest.$ac_objext'
36805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36806 (eval $ac_try) 2>&5
36807 ac_status=$?
36808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36809 (exit $ac_status); }; }; then
36810
36811 wx_cv_var_timezone=_timezone
36812
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36816
36817
36818 cat >conftest.$ac_ext <<_ACEOF
36819 /* confdefs.h. */
36820 _ACEOF
36821 cat confdefs.h >>conftest.$ac_ext
36822 cat >>conftest.$ac_ext <<_ACEOF
36823 /* end confdefs.h. */
36824
36825 #include <time.h>
36826
36827 int
36828 main ()
36829 {
36830
36831 int tz;
36832 tz = __timezone;
36833
36834 ;
36835 return 0;
36836 }
36837 _ACEOF
36838 rm -f conftest.$ac_objext
36839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36840 (eval $ac_compile) 2>conftest.er1
36841 ac_status=$?
36842 grep -v '^ *+' conftest.er1 >conftest.err
36843 rm -f conftest.er1
36844 cat conftest.err >&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } &&
36847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36849 (eval $ac_try) 2>&5
36850 ac_status=$?
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); }; } &&
36853 { ac_try='test -s conftest.$ac_objext'
36854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36855 (eval $ac_try) 2>&5
36856 ac_status=$?
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); }; }; then
36859
36860 wx_cv_var_timezone=__timezone
36861
36862 else
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36865
36866
36867 if test "$USE_DOS" = 0 ; then
36868 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36869 echo "$as_me: WARNING: no timezone variable" >&2;}
36870 fi
36871
36872
36873 fi
36874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36875
36876
36877 fi
36878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36879
36880
36881 fi
36882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36883
36884
36885 fi
36886 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36887 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36888
36889 if test "x$wx_cv_var_timezone" != x ; then
36890 cat >>confdefs.h <<_ACEOF
36891 #define WX_TIMEZONE $wx_cv_var_timezone
36892 _ACEOF
36893
36894 fi
36895
36896
36897 for ac_func in localtime
36898 do
36899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36900 echo "$as_me:$LINENO: checking for $ac_func" >&5
36901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36902 if eval "test \"\${$as_ac_var+set}\" = set"; then
36903 echo $ECHO_N "(cached) $ECHO_C" >&6
36904 else
36905 cat >conftest.$ac_ext <<_ACEOF
36906 /* confdefs.h. */
36907 _ACEOF
36908 cat confdefs.h >>conftest.$ac_ext
36909 cat >>conftest.$ac_ext <<_ACEOF
36910 /* end confdefs.h. */
36911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36913 #define $ac_func innocuous_$ac_func
36914
36915 /* System header to define __stub macros and hopefully few prototypes,
36916 which can conflict with char $ac_func (); below.
36917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36918 <limits.h> exists even on freestanding compilers. */
36919
36920 #ifdef __STDC__
36921 # include <limits.h>
36922 #else
36923 # include <assert.h>
36924 #endif
36925
36926 #undef $ac_func
36927
36928 /* Override any gcc2 internal prototype to avoid an error. */
36929 #ifdef __cplusplus
36930 extern "C"
36931 {
36932 #endif
36933 /* We use char because int might match the return type of a gcc2
36934 builtin and then its argument prototype would still apply. */
36935 char $ac_func ();
36936 /* The GNU C library defines this for functions which it implements
36937 to always fail with ENOSYS. Some functions are actually named
36938 something starting with __ and the normal name is an alias. */
36939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36940 choke me
36941 #else
36942 char (*f) () = $ac_func;
36943 #endif
36944 #ifdef __cplusplus
36945 }
36946 #endif
36947
36948 int
36949 main ()
36950 {
36951 return f != $ac_func;
36952 ;
36953 return 0;
36954 }
36955 _ACEOF
36956 rm -f conftest.$ac_objext conftest$ac_exeext
36957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36958 (eval $ac_link) 2>conftest.er1
36959 ac_status=$?
36960 grep -v '^ *+' conftest.er1 >conftest.err
36961 rm -f conftest.er1
36962 cat conftest.err >&5
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); } &&
36965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36967 (eval $ac_try) 2>&5
36968 ac_status=$?
36969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970 (exit $ac_status); }; } &&
36971 { ac_try='test -s conftest$ac_exeext'
36972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36973 (eval $ac_try) 2>&5
36974 ac_status=$?
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); }; }; then
36977 eval "$as_ac_var=yes"
36978 else
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36981
36982 eval "$as_ac_var=no"
36983 fi
36984 rm -f conftest.err conftest.$ac_objext \
36985 conftest$ac_exeext conftest.$ac_ext
36986 fi
36987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36989 if test `eval echo '${'$as_ac_var'}'` = yes; then
36990 cat >>confdefs.h <<_ACEOF
36991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36992 _ACEOF
36993
36994 fi
36995 done
36996
36997
36998 if test "$ac_cv_func_localtime" = "yes"; then
36999 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37000 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37001 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37003 else
37004
37005 cat >conftest.$ac_ext <<_ACEOF
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011
37012 #include <time.h>
37013
37014 int
37015 main ()
37016 {
37017
37018 struct tm tm;
37019 tm.tm_gmtoff++;
37020
37021 ;
37022 return 0;
37023 }
37024 _ACEOF
37025 rm -f conftest.$ac_objext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37027 (eval $ac_compile) 2>conftest.er1
37028 ac_status=$?
37029 grep -v '^ *+' conftest.er1 >conftest.err
37030 rm -f conftest.er1
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37036 (eval $ac_try) 2>&5
37037 ac_status=$?
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); }; } &&
37040 { ac_try='test -s conftest.$ac_objext'
37041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37042 (eval $ac_try) 2>&5
37043 ac_status=$?
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); }; }; then
37046
37047 wx_cv_struct_tm_has_gmtoff=yes
37048
37049 else
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37052
37053 wx_cv_struct_tm_has_gmtoff=no
37054
37055 fi
37056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37057
37058 fi
37059 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37060 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37061 fi
37062
37063 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define WX_GMTOFF_IN_TM 1
37066 _ACEOF
37067
37068 fi
37069
37070
37071
37072 for ac_func in gettimeofday ftime
37073 do
37074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37075 echo "$as_me:$LINENO: checking for $ac_func" >&5
37076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37077 if eval "test \"\${$as_ac_var+set}\" = set"; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 else
37080 cat >conftest.$ac_ext <<_ACEOF
37081 /* confdefs.h. */
37082 _ACEOF
37083 cat confdefs.h >>conftest.$ac_ext
37084 cat >>conftest.$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37088 #define $ac_func innocuous_$ac_func
37089
37090 /* System header to define __stub macros and hopefully few prototypes,
37091 which can conflict with char $ac_func (); below.
37092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37093 <limits.h> exists even on freestanding compilers. */
37094
37095 #ifdef __STDC__
37096 # include <limits.h>
37097 #else
37098 # include <assert.h>
37099 #endif
37100
37101 #undef $ac_func
37102
37103 /* Override any gcc2 internal prototype to avoid an error. */
37104 #ifdef __cplusplus
37105 extern "C"
37106 {
37107 #endif
37108 /* We use char because int might match the return type of a gcc2
37109 builtin and then its argument prototype would still apply. */
37110 char $ac_func ();
37111 /* The GNU C library defines this for functions which it implements
37112 to always fail with ENOSYS. Some functions are actually named
37113 something starting with __ and the normal name is an alias. */
37114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37115 choke me
37116 #else
37117 char (*f) () = $ac_func;
37118 #endif
37119 #ifdef __cplusplus
37120 }
37121 #endif
37122
37123 int
37124 main ()
37125 {
37126 return f != $ac_func;
37127 ;
37128 return 0;
37129 }
37130 _ACEOF
37131 rm -f conftest.$ac_objext conftest$ac_exeext
37132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37133 (eval $ac_link) 2>conftest.er1
37134 ac_status=$?
37135 grep -v '^ *+' conftest.er1 >conftest.err
37136 rm -f conftest.er1
37137 cat conftest.err >&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } &&
37140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37142 (eval $ac_try) 2>&5
37143 ac_status=$?
37144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37145 (exit $ac_status); }; } &&
37146 { ac_try='test -s conftest$ac_exeext'
37147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37148 (eval $ac_try) 2>&5
37149 ac_status=$?
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); }; }; then
37152 eval "$as_ac_var=yes"
37153 else
37154 echo "$as_me: failed program was:" >&5
37155 sed 's/^/| /' conftest.$ac_ext >&5
37156
37157 eval "$as_ac_var=no"
37158 fi
37159 rm -f conftest.err conftest.$ac_objext \
37160 conftest$ac_exeext conftest.$ac_ext
37161 fi
37162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37164 if test `eval echo '${'$as_ac_var'}'` = yes; then
37165 cat >>confdefs.h <<_ACEOF
37166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37167 _ACEOF
37168 break
37169 fi
37170 done
37171
37172
37173 if test "$ac_cv_func_gettimeofday" = "yes"; then
37174 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37175 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37176 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37177 echo $ECHO_N "(cached) $ECHO_C" >&6
37178 else
37179
37180
37181
37182 ac_ext=cc
37183 ac_cpp='$CXXCPP $CPPFLAGS'
37184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37187
37188
37189 cat >conftest.$ac_ext <<_ACEOF
37190 /* confdefs.h. */
37191 _ACEOF
37192 cat confdefs.h >>conftest.$ac_ext
37193 cat >>conftest.$ac_ext <<_ACEOF
37194 /* end confdefs.h. */
37195
37196 #include <sys/time.h>
37197 #include <unistd.h>
37198
37199 int
37200 main ()
37201 {
37202
37203 struct timeval tv;
37204 gettimeofday(&tv, NULL);
37205
37206 ;
37207 return 0;
37208 }
37209 _ACEOF
37210 rm -f conftest.$ac_objext
37211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37212 (eval $ac_compile) 2>conftest.er1
37213 ac_status=$?
37214 grep -v '^ *+' conftest.er1 >conftest.err
37215 rm -f conftest.er1
37216 cat conftest.err >&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); } &&
37219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37221 (eval $ac_try) 2>&5
37222 ac_status=$?
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); }; } &&
37225 { ac_try='test -s conftest.$ac_objext'
37226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37227 (eval $ac_try) 2>&5
37228 ac_status=$?
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); }; }; then
37231 wx_cv_func_gettimeofday_has_2_args=yes
37232 else
37233 echo "$as_me: failed program was:" >&5
37234 sed 's/^/| /' conftest.$ac_ext >&5
37235
37236 cat >conftest.$ac_ext <<_ACEOF
37237 /* confdefs.h. */
37238 _ACEOF
37239 cat confdefs.h >>conftest.$ac_ext
37240 cat >>conftest.$ac_ext <<_ACEOF
37241 /* end confdefs.h. */
37242
37243 #include <sys/time.h>
37244 #include <unistd.h>
37245
37246 int
37247 main ()
37248 {
37249
37250 struct timeval tv;
37251 gettimeofday(&tv);
37252
37253 ;
37254 return 0;
37255 }
37256 _ACEOF
37257 rm -f conftest.$ac_objext
37258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37259 (eval $ac_compile) 2>conftest.er1
37260 ac_status=$?
37261 grep -v '^ *+' conftest.er1 >conftest.err
37262 rm -f conftest.er1
37263 cat conftest.err >&5
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); } &&
37266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37268 (eval $ac_try) 2>&5
37269 ac_status=$?
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); }; } &&
37272 { ac_try='test -s conftest.$ac_objext'
37273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37274 (eval $ac_try) 2>&5
37275 ac_status=$?
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); }; }; then
37278 wx_cv_func_gettimeofday_has_2_args=no
37279 else
37280 echo "$as_me: failed program was:" >&5
37281 sed 's/^/| /' conftest.$ac_ext >&5
37282
37283
37284 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37285 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37286 wx_cv_func_gettimeofday_has_2_args=unknown
37287
37288
37289 fi
37290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37291
37292 fi
37293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37294 ac_ext=c
37295 ac_cpp='$CPP $CPPFLAGS'
37296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37299
37300
37301 fi
37302 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37303 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37304
37305 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define WX_GETTIMEOFDAY_NO_TZ 1
37308 _ACEOF
37309
37310 fi
37311 fi
37312
37313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
37314 fi
37315
37316
37317 if test "$wxUSE_SOCKETS" = "yes"; then
37318 if test "$wxUSE_MGL" = "1"; then
37319 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37320 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37321 wxUSE_SOCKETS="no"
37322 fi
37323 fi
37324
37325 if test "$wxUSE_SOCKETS" = "yes"; then
37326 if test "$TOOLKIT" != "MSW"; then
37327 echo "$as_me:$LINENO: checking for socket" >&5
37328 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37329 if test "${ac_cv_func_socket+set}" = set; then
37330 echo $ECHO_N "(cached) $ECHO_C" >&6
37331 else
37332 cat >conftest.$ac_ext <<_ACEOF
37333 /* confdefs.h. */
37334 _ACEOF
37335 cat confdefs.h >>conftest.$ac_ext
37336 cat >>conftest.$ac_ext <<_ACEOF
37337 /* end confdefs.h. */
37338 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37340 #define socket innocuous_socket
37341
37342 /* System header to define __stub macros and hopefully few prototypes,
37343 which can conflict with char socket (); below.
37344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37345 <limits.h> exists even on freestanding compilers. */
37346
37347 #ifdef __STDC__
37348 # include <limits.h>
37349 #else
37350 # include <assert.h>
37351 #endif
37352
37353 #undef socket
37354
37355 /* Override any gcc2 internal prototype to avoid an error. */
37356 #ifdef __cplusplus
37357 extern "C"
37358 {
37359 #endif
37360 /* We use char because int might match the return type of a gcc2
37361 builtin and then its argument prototype would still apply. */
37362 char socket ();
37363 /* The GNU C library defines this for functions which it implements
37364 to always fail with ENOSYS. Some functions are actually named
37365 something starting with __ and the normal name is an alias. */
37366 #if defined (__stub_socket) || defined (__stub___socket)
37367 choke me
37368 #else
37369 char (*f) () = socket;
37370 #endif
37371 #ifdef __cplusplus
37372 }
37373 #endif
37374
37375 int
37376 main ()
37377 {
37378 return f != socket;
37379 ;
37380 return 0;
37381 }
37382 _ACEOF
37383 rm -f conftest.$ac_objext conftest$ac_exeext
37384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37385 (eval $ac_link) 2>conftest.er1
37386 ac_status=$?
37387 grep -v '^ *+' conftest.er1 >conftest.err
37388 rm -f conftest.er1
37389 cat conftest.err >&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); } &&
37392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37394 (eval $ac_try) 2>&5
37395 ac_status=$?
37396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397 (exit $ac_status); }; } &&
37398 { ac_try='test -s conftest$ac_exeext'
37399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37400 (eval $ac_try) 2>&5
37401 ac_status=$?
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); }; }; then
37404 ac_cv_func_socket=yes
37405 else
37406 echo "$as_me: failed program was:" >&5
37407 sed 's/^/| /' conftest.$ac_ext >&5
37408
37409 ac_cv_func_socket=no
37410 fi
37411 rm -f conftest.err conftest.$ac_objext \
37412 conftest$ac_exeext conftest.$ac_ext
37413 fi
37414 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37415 echo "${ECHO_T}$ac_cv_func_socket" >&6
37416 if test $ac_cv_func_socket = yes; then
37417 :
37418 else
37419
37420 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37421 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37422 if test "${ac_cv_lib_socket_socket+set}" = set; then
37423 echo $ECHO_N "(cached) $ECHO_C" >&6
37424 else
37425 ac_check_lib_save_LIBS=$LIBS
37426 LIBS="-lsocket $LIBS"
37427 cat >conftest.$ac_ext <<_ACEOF
37428 /* confdefs.h. */
37429 _ACEOF
37430 cat confdefs.h >>conftest.$ac_ext
37431 cat >>conftest.$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37433
37434 /* Override any gcc2 internal prototype to avoid an error. */
37435 #ifdef __cplusplus
37436 extern "C"
37437 #endif
37438 /* We use char because int might match the return type of a gcc2
37439 builtin and then its argument prototype would still apply. */
37440 char socket ();
37441 int
37442 main ()
37443 {
37444 socket ();
37445 ;
37446 return 0;
37447 }
37448 _ACEOF
37449 rm -f conftest.$ac_objext conftest$ac_exeext
37450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37451 (eval $ac_link) 2>conftest.er1
37452 ac_status=$?
37453 grep -v '^ *+' conftest.er1 >conftest.err
37454 rm -f conftest.er1
37455 cat conftest.err >&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); } &&
37458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37460 (eval $ac_try) 2>&5
37461 ac_status=$?
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); }; } &&
37464 { ac_try='test -s conftest$ac_exeext'
37465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37466 (eval $ac_try) 2>&5
37467 ac_status=$?
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); }; }; then
37470 ac_cv_lib_socket_socket=yes
37471 else
37472 echo "$as_me: failed program was:" >&5
37473 sed 's/^/| /' conftest.$ac_ext >&5
37474
37475 ac_cv_lib_socket_socket=no
37476 fi
37477 rm -f conftest.err conftest.$ac_objext \
37478 conftest$ac_exeext conftest.$ac_ext
37479 LIBS=$ac_check_lib_save_LIBS
37480 fi
37481 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37482 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37483 if test $ac_cv_lib_socket_socket = yes; then
37484 if test "$INET_LINK" != " -lsocket"; then
37485 INET_LINK="$INET_LINK -lsocket"
37486 fi
37487 else
37488
37489 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37490 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37491 wxUSE_SOCKETS=no
37492
37493
37494 fi
37495
37496
37497
37498 fi
37499
37500 fi
37501 fi
37502
37503 if test "$wxUSE_SOCKETS" = "yes" ; then
37504 if test "$TOOLKIT" != "MSW"; then
37505 ac_ext=cc
37506 ac_cpp='$CXXCPP $CPPFLAGS'
37507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510
37511 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37512 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37513 if test "${wx_cv_type_getsockname3+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37516
37517 cat >conftest.$ac_ext <<_ACEOF
37518 /* confdefs.h. */
37519 _ACEOF
37520 cat confdefs.h >>conftest.$ac_ext
37521 cat >>conftest.$ac_ext <<_ACEOF
37522 /* end confdefs.h. */
37523
37524 #include <sys/types.h>
37525 #include <sys/socket.h>
37526
37527 int
37528 main ()
37529 {
37530
37531 socklen_t len;
37532 getsockname(0, 0, &len);
37533
37534 ;
37535 return 0;
37536 }
37537 _ACEOF
37538 rm -f conftest.$ac_objext
37539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37540 (eval $ac_compile) 2>conftest.er1
37541 ac_status=$?
37542 grep -v '^ *+' conftest.er1 >conftest.err
37543 rm -f conftest.er1
37544 cat conftest.err >&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); } &&
37547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37550 ac_status=$?
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; } &&
37553 { ac_try='test -s conftest.$ac_objext'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37556 ac_status=$?
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; }; then
37559 wx_cv_type_getsockname3=socklen_t
37560 else
37561 echo "$as_me: failed program was:" >&5
37562 sed 's/^/| /' conftest.$ac_ext >&5
37563
37564
37565 CFLAGS_OLD="$CFLAGS"
37566 if test "$GCC" = yes ; then
37567 CFLAGS="$CFLAGS -Werror"
37568 fi
37569
37570 cat >conftest.$ac_ext <<_ACEOF
37571 /* confdefs.h. */
37572 _ACEOF
37573 cat confdefs.h >>conftest.$ac_ext
37574 cat >>conftest.$ac_ext <<_ACEOF
37575 /* end confdefs.h. */
37576
37577 #include <sys/types.h>
37578 #include <sys/socket.h>
37579
37580 int
37581 main ()
37582 {
37583
37584 size_t len;
37585 getsockname(0, 0, &len);
37586
37587 ;
37588 return 0;
37589 }
37590 _ACEOF
37591 rm -f conftest.$ac_objext
37592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37593 (eval $ac_compile) 2>conftest.er1
37594 ac_status=$?
37595 grep -v '^ *+' conftest.er1 >conftest.err
37596 rm -f conftest.er1
37597 cat conftest.err >&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } &&
37600 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37603 ac_status=$?
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; } &&
37606 { ac_try='test -s conftest.$ac_objext'
37607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37608 (eval $ac_try) 2>&5
37609 ac_status=$?
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); }; }; then
37612 wx_cv_type_getsockname3=size_t
37613 else
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.$ac_ext >&5
37616
37617 cat >conftest.$ac_ext <<_ACEOF
37618 /* confdefs.h. */
37619 _ACEOF
37620 cat confdefs.h >>conftest.$ac_ext
37621 cat >>conftest.$ac_ext <<_ACEOF
37622 /* end confdefs.h. */
37623
37624 #include <sys/types.h>
37625 #include <sys/socket.h>
37626
37627 int
37628 main ()
37629 {
37630
37631 int len;
37632 getsockname(0, 0, &len);
37633
37634 ;
37635 return 0;
37636 }
37637 _ACEOF
37638 rm -f conftest.$ac_objext
37639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37640 (eval $ac_compile) 2>conftest.er1
37641 ac_status=$?
37642 grep -v '^ *+' conftest.er1 >conftest.err
37643 rm -f conftest.er1
37644 cat conftest.err >&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } &&
37647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37649 (eval $ac_try) 2>&5
37650 ac_status=$?
37651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652 (exit $ac_status); }; } &&
37653 { ac_try='test -s conftest.$ac_objext'
37654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37655 (eval $ac_try) 2>&5
37656 ac_status=$?
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); }; }; then
37659 wx_cv_type_getsockname3=int
37660 else
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37663
37664 wx_cv_type_getsockname3=unknown
37665
37666 fi
37667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37668
37669 fi
37670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37671
37672 CFLAGS="$CFLAGS_OLD"
37673
37674
37675 fi
37676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37677
37678 fi
37679 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37680 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37681
37682 if test "$wx_cv_type_getsockname3" = "unknown"; then
37683 wxUSE_SOCKETS=no
37684 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37685 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37686 else
37687 cat >>confdefs.h <<_ACEOF
37688 #define SOCKLEN_T $wx_cv_type_getsockname3
37689 _ACEOF
37690
37691 fi
37692 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37693 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37694 if test "${wx_cv_type_getsockopt5+set}" = set; then
37695 echo $ECHO_N "(cached) $ECHO_C" >&6
37696 else
37697
37698 cat >conftest.$ac_ext <<_ACEOF
37699 /* confdefs.h. */
37700 _ACEOF
37701 cat confdefs.h >>conftest.$ac_ext
37702 cat >>conftest.$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37704
37705 #include <sys/types.h>
37706 #include <sys/socket.h>
37707
37708 int
37709 main ()
37710 {
37711
37712 socklen_t len;
37713 getsockopt(0, 0, 0, 0, &len);
37714
37715 ;
37716 return 0;
37717 }
37718 _ACEOF
37719 rm -f conftest.$ac_objext
37720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37721 (eval $ac_compile) 2>conftest.er1
37722 ac_status=$?
37723 grep -v '^ *+' conftest.er1 >conftest.err
37724 rm -f conftest.er1
37725 cat conftest.err >&5
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); } &&
37728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37730 (eval $ac_try) 2>&5
37731 ac_status=$?
37732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37733 (exit $ac_status); }; } &&
37734 { ac_try='test -s conftest.$ac_objext'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; }; then
37740 wx_cv_type_getsockopt5=socklen_t
37741 else
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37744
37745
37746 CFLAGS_OLD="$CFLAGS"
37747 if test "$GCC" = yes ; then
37748 CFLAGS="$CFLAGS -Werror"
37749 fi
37750
37751 cat >conftest.$ac_ext <<_ACEOF
37752 /* confdefs.h. */
37753 _ACEOF
37754 cat confdefs.h >>conftest.$ac_ext
37755 cat >>conftest.$ac_ext <<_ACEOF
37756 /* end confdefs.h. */
37757
37758 #include <sys/types.h>
37759 #include <sys/socket.h>
37760
37761 int
37762 main ()
37763 {
37764
37765 size_t len;
37766 getsockopt(0, 0, 0, 0, &len);
37767
37768 ;
37769 return 0;
37770 }
37771 _ACEOF
37772 rm -f conftest.$ac_objext
37773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37774 (eval $ac_compile) 2>conftest.er1
37775 ac_status=$?
37776 grep -v '^ *+' conftest.er1 >conftest.err
37777 rm -f conftest.er1
37778 cat conftest.err >&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } &&
37781 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 (eval $ac_try) 2>&5
37784 ac_status=$?
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); }; } &&
37787 { ac_try='test -s conftest.$ac_objext'
37788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37789 (eval $ac_try) 2>&5
37790 ac_status=$?
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); }; }; then
37793 wx_cv_type_getsockopt5=size_t
37794 else
37795 echo "$as_me: failed program was:" >&5
37796 sed 's/^/| /' conftest.$ac_ext >&5
37797
37798 cat >conftest.$ac_ext <<_ACEOF
37799 /* confdefs.h. */
37800 _ACEOF
37801 cat confdefs.h >>conftest.$ac_ext
37802 cat >>conftest.$ac_ext <<_ACEOF
37803 /* end confdefs.h. */
37804
37805 #include <sys/types.h>
37806 #include <sys/socket.h>
37807
37808 int
37809 main ()
37810 {
37811
37812 int len;
37813 getsockopt(0, 0, 0, 0, &len);
37814
37815 ;
37816 return 0;
37817 }
37818 _ACEOF
37819 rm -f conftest.$ac_objext
37820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37821 (eval $ac_compile) 2>conftest.er1
37822 ac_status=$?
37823 grep -v '^ *+' conftest.er1 >conftest.err
37824 rm -f conftest.er1
37825 cat conftest.err >&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); } &&
37828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37830 (eval $ac_try) 2>&5
37831 ac_status=$?
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); }; } &&
37834 { ac_try='test -s conftest.$ac_objext'
37835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37836 (eval $ac_try) 2>&5
37837 ac_status=$?
37838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37839 (exit $ac_status); }; }; then
37840 wx_cv_type_getsockopt5=int
37841 else
37842 echo "$as_me: failed program was:" >&5
37843 sed 's/^/| /' conftest.$ac_ext >&5
37844
37845 wx_cv_type_getsockopt5=unknown
37846
37847 fi
37848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37849
37850 fi
37851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37852
37853 CFLAGS="$CFLAGS_OLD"
37854
37855
37856 fi
37857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37858
37859 fi
37860 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37861 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37862
37863 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37864 wxUSE_SOCKETS=no
37865 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37866 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37867 else
37868 cat >>confdefs.h <<_ACEOF
37869 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37870 _ACEOF
37871
37872 fi
37873 ac_ext=c
37874 ac_cpp='$CPP $CPPFLAGS'
37875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37878
37879 fi
37880 fi
37881
37882 if test "$wxUSE_SOCKETS" = "yes" ; then
37883 cat >>confdefs.h <<\_ACEOF
37884 #define wxUSE_SOCKETS 1
37885 _ACEOF
37886
37887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37888 fi
37889
37890 if test "$wxUSE_PROTOCOL" = "yes"; then
37891 if test "$wxUSE_SOCKETS" != "yes"; then
37892 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37893 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37894 wxUSE_PROTOCOL=no
37895 fi
37896 fi
37897
37898 if test "$wxUSE_PROTOCOL" = "yes"; then
37899 cat >>confdefs.h <<\_ACEOF
37900 #define wxUSE_PROTOCOL 1
37901 _ACEOF
37902
37903
37904 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37905 cat >>confdefs.h <<\_ACEOF
37906 #define wxUSE_PROTOCOL_HTTP 1
37907 _ACEOF
37908
37909 fi
37910 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37911 cat >>confdefs.h <<\_ACEOF
37912 #define wxUSE_PROTOCOL_FTP 1
37913 _ACEOF
37914
37915 fi
37916 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37917 cat >>confdefs.h <<\_ACEOF
37918 #define wxUSE_PROTOCOL_FILE 1
37919 _ACEOF
37920
37921 fi
37922 else
37923 if test "$wxUSE_FS_INET" = "yes"; then
37924 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37925 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37926 wxUSE_FS_INET="no"
37927 fi
37928 fi
37929
37930 if test "$wxUSE_URL" = "yes"; then
37931 if test "$wxUSE_PROTOCOL" != "yes"; then
37932 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37933 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37934 wxUSE_URL=no
37935 fi
37936 if test "$wxUSE_URL" = "yes"; then
37937 cat >>confdefs.h <<\_ACEOF
37938 #define wxUSE_URL 1
37939 _ACEOF
37940
37941 fi
37942 fi
37943
37944 if test "$wxUSE_FS_INET" = "yes"; then
37945 cat >>confdefs.h <<\_ACEOF
37946 #define wxUSE_FS_INET 1
37947 _ACEOF
37948
37949 fi
37950
37951
37952 if test "$wxUSE_GUI" = "yes"; then
37953 if test "$wxUSE_JOYSTICK" = "yes"; then
37954
37955 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37956
37957 for ac_header in linux/joystick.h
37958 do
37959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37961 echo "$as_me:$LINENO: checking for $ac_header" >&5
37962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37965 fi
37966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37968 else
37969 # Is the header compilable?
37970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37972 cat >conftest.$ac_ext <<_ACEOF
37973 /* confdefs.h. */
37974 _ACEOF
37975 cat confdefs.h >>conftest.$ac_ext
37976 cat >>conftest.$ac_ext <<_ACEOF
37977 /* end confdefs.h. */
37978 $ac_includes_default
37979 #include <$ac_header>
37980 _ACEOF
37981 rm -f conftest.$ac_objext
37982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37983 (eval $ac_compile) 2>conftest.er1
37984 ac_status=$?
37985 grep -v '^ *+' conftest.er1 >conftest.err
37986 rm -f conftest.er1
37987 cat conftest.err >&5
37988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37989 (exit $ac_status); } &&
37990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37992 (eval $ac_try) 2>&5
37993 ac_status=$?
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); }; } &&
37996 { ac_try='test -s conftest.$ac_objext'
37997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998 (eval $ac_try) 2>&5
37999 ac_status=$?
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); }; }; then
38002 ac_header_compiler=yes
38003 else
38004 echo "$as_me: failed program was:" >&5
38005 sed 's/^/| /' conftest.$ac_ext >&5
38006
38007 ac_header_compiler=no
38008 fi
38009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38011 echo "${ECHO_T}$ac_header_compiler" >&6
38012
38013 # Is the header present?
38014 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38015 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38016 cat >conftest.$ac_ext <<_ACEOF
38017 /* confdefs.h. */
38018 _ACEOF
38019 cat confdefs.h >>conftest.$ac_ext
38020 cat >>conftest.$ac_ext <<_ACEOF
38021 /* end confdefs.h. */
38022 #include <$ac_header>
38023 _ACEOF
38024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } >/dev/null; then
38032 if test -s conftest.err; then
38033 ac_cpp_err=$ac_c_preproc_warn_flag
38034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38035 else
38036 ac_cpp_err=
38037 fi
38038 else
38039 ac_cpp_err=yes
38040 fi
38041 if test -z "$ac_cpp_err"; then
38042 ac_header_preproc=yes
38043 else
38044 echo "$as_me: failed program was:" >&5
38045 sed 's/^/| /' conftest.$ac_ext >&5
38046
38047 ac_header_preproc=no
38048 fi
38049 rm -f conftest.err conftest.$ac_ext
38050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38051 echo "${ECHO_T}$ac_header_preproc" >&6
38052
38053 # So? What about this header?
38054 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38055 yes:no: )
38056 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38057 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38059 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38060 ac_header_preproc=yes
38061 ;;
38062 no:yes:* )
38063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38067 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38068 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38069 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38070 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38073 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38074 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38075 (
38076 cat <<\_ASBOX
38077 ## ----------------------------------------- ##
38078 ## Report this to wx-dev@lists.wxwidgets.org ##
38079 ## ----------------------------------------- ##
38080 _ASBOX
38081 ) |
38082 sed "s/^/$as_me: WARNING: /" >&2
38083 ;;
38084 esac
38085 echo "$as_me:$LINENO: checking for $ac_header" >&5
38086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38088 echo $ECHO_N "(cached) $ECHO_C" >&6
38089 else
38090 eval "$as_ac_Header=\$ac_header_preproc"
38091 fi
38092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38094
38095 fi
38096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38097 cat >>confdefs.h <<_ACEOF
38098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38099 _ACEOF
38100
38101 fi
38102
38103 done
38104
38105 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38106 wxUSE_JOYSTICK=no
38107 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38108 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38109 fi
38110 else
38111 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38112 wxUSE_JOYSTICK=no
38113 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38114 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38115 fi
38116 fi
38117
38118
38119 if test "$wxUSE_JOYSTICK" = "yes"; then
38120 cat >>confdefs.h <<\_ACEOF
38121 #define wxUSE_JOYSTICK 1
38122 _ACEOF
38123
38124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38125 fi
38126 fi
38127 fi
38128
38129
38130
38131 if test "$wxUSE_FONTMAP" = "yes" ; then
38132 cat >>confdefs.h <<\_ACEOF
38133 #define wxUSE_FONTMAP 1
38134 _ACEOF
38135
38136 fi
38137
38138 if test "$wxUSE_UNICODE" = "yes" ; then
38139 cat >>confdefs.h <<\_ACEOF
38140 #define wxUSE_UNICODE 1
38141 _ACEOF
38142
38143
38144 if test "$USE_WIN32" != 1; then
38145 wxUSE_UNICODE_MSLU=no
38146 fi
38147
38148 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38149 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38150 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38151 if test "${ac_cv_lib_unicows_main+set}" = set; then
38152 echo $ECHO_N "(cached) $ECHO_C" >&6
38153 else
38154 ac_check_lib_save_LIBS=$LIBS
38155 LIBS="-lunicows $LIBS"
38156 cat >conftest.$ac_ext <<_ACEOF
38157 /* confdefs.h. */
38158 _ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38162
38163
38164 int
38165 main ()
38166 {
38167 main ();
38168 ;
38169 return 0;
38170 }
38171 _ACEOF
38172 rm -f conftest.$ac_objext conftest$ac_exeext
38173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38174 (eval $ac_link) 2>conftest.er1
38175 ac_status=$?
38176 grep -v '^ *+' conftest.er1 >conftest.err
38177 rm -f conftest.er1
38178 cat conftest.err >&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); } &&
38181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38183 (eval $ac_try) 2>&5
38184 ac_status=$?
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); }; } &&
38187 { ac_try='test -s conftest$ac_exeext'
38188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38189 (eval $ac_try) 2>&5
38190 ac_status=$?
38191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38192 (exit $ac_status); }; }; then
38193 ac_cv_lib_unicows_main=yes
38194 else
38195 echo "$as_me: failed program was:" >&5
38196 sed 's/^/| /' conftest.$ac_ext >&5
38197
38198 ac_cv_lib_unicows_main=no
38199 fi
38200 rm -f conftest.err conftest.$ac_objext \
38201 conftest$ac_exeext conftest.$ac_ext
38202 LIBS=$ac_check_lib_save_LIBS
38203 fi
38204 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38205 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38206 if test $ac_cv_lib_unicows_main = yes; then
38207
38208 cat >>confdefs.h <<\_ACEOF
38209 #define wxUSE_UNICODE_MSLU 1
38210 _ACEOF
38211
38212
38213 else
38214
38215 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38216 Applications will only run on Windows NT/2000/XP!" >&5
38217 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38218 Applications will only run on Windows NT/2000/XP!" >&2;}
38219 wxUSE_UNICODE_MSLU=no
38220
38221 fi
38222
38223 fi
38224 fi
38225
38226 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38227 cat >>confdefs.h <<\_ACEOF
38228 #define wxUSE_EXPERIMENTAL_PRINTF 1
38229 _ACEOF
38230
38231 fi
38232
38233
38234 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38235 cat >>confdefs.h <<\_ACEOF
38236 #define wxUSE_POSTSCRIPT 1
38237 _ACEOF
38238
38239 fi
38240
38241 cat >>confdefs.h <<\_ACEOF
38242 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38243 _ACEOF
38244
38245
38246 cat >>confdefs.h <<\_ACEOF
38247 #define wxUSE_NORMALIZED_PS_FONTS 1
38248 _ACEOF
38249
38250
38251
38252 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38253 cat >>confdefs.h <<\_ACEOF
38254 #define wxUSE_CONSTRAINTS 1
38255 _ACEOF
38256
38257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
38258 fi
38259
38260 if test "$wxUSE_MDI" = "yes"; then
38261 cat >>confdefs.h <<\_ACEOF
38262 #define wxUSE_MDI 1
38263 _ACEOF
38264
38265
38266 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38267 cat >>confdefs.h <<\_ACEOF
38268 #define wxUSE_MDI_ARCHITECTURE 1
38269 _ACEOF
38270
38271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
38272 fi
38273 fi
38274
38275 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38276 cat >>confdefs.h <<\_ACEOF
38277 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38278 _ACEOF
38279
38280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
38281 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
38283 fi
38284 fi
38285
38286 if test "$wxUSE_HELP" = "yes"; then
38287 cat >>confdefs.h <<\_ACEOF
38288 #define wxUSE_HELP 1
38289 _ACEOF
38290
38291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
38292
38293 if test "$wxUSE_MSW" = 1; then
38294 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38295 cat >>confdefs.h <<\_ACEOF
38296 #define wxUSE_MS_HTML_HELP 1
38297 _ACEOF
38298
38299 fi
38300 fi
38301
38302 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38303 if test "$wxUSE_HTML" = "yes"; then
38304 cat >>confdefs.h <<\_ACEOF
38305 #define wxUSE_WXHTML_HELP 1
38306 _ACEOF
38307
38308 else
38309 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38310 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38311 wxUSE_WXHTML_HELP=no
38312 fi
38313 fi
38314 fi
38315
38316 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38317 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38318 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38319 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38320 else
38321 cat >>confdefs.h <<\_ACEOF
38322 #define wxUSE_PRINTING_ARCHITECTURE 1
38323 _ACEOF
38324
38325 fi
38326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
38327 fi
38328
38329 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38330 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38331 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38332 { (exit 1); exit 1; }; }
38333 fi
38334
38335
38336 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
38337 -o "$wxUSE_CLIPBOARD" = "yes" \
38338 -o "$wxUSE_OLE" = "yes" \
38339 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
38340
38341 for ac_header in ole2.h
38342 do
38343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38345 echo "$as_me:$LINENO: checking for $ac_header" >&5
38346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38349 fi
38350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38352 else
38353 # Is the header compilable?
38354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38356 cat >conftest.$ac_ext <<_ACEOF
38357 /* confdefs.h. */
38358 _ACEOF
38359 cat confdefs.h >>conftest.$ac_ext
38360 cat >>conftest.$ac_ext <<_ACEOF
38361 /* end confdefs.h. */
38362 $ac_includes_default
38363 #include <$ac_header>
38364 _ACEOF
38365 rm -f conftest.$ac_objext
38366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38367 (eval $ac_compile) 2>conftest.er1
38368 ac_status=$?
38369 grep -v '^ *+' conftest.er1 >conftest.err
38370 rm -f conftest.er1
38371 cat conftest.err >&5
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); } &&
38374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38377 ac_status=$?
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try='test -s conftest.$ac_objext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38383 ac_status=$?
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38386 ac_header_compiler=yes
38387 else
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38390
38391 ac_header_compiler=no
38392 fi
38393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38395 echo "${ECHO_T}$ac_header_compiler" >&6
38396
38397 # Is the header present?
38398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38400 cat >conftest.$ac_ext <<_ACEOF
38401 /* confdefs.h. */
38402 _ACEOF
38403 cat confdefs.h >>conftest.$ac_ext
38404 cat >>conftest.$ac_ext <<_ACEOF
38405 /* end confdefs.h. */
38406 #include <$ac_header>
38407 _ACEOF
38408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38410 ac_status=$?
38411 grep -v '^ *+' conftest.er1 >conftest.err
38412 rm -f conftest.er1
38413 cat conftest.err >&5
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); } >/dev/null; then
38416 if test -s conftest.err; then
38417 ac_cpp_err=$ac_c_preproc_warn_flag
38418 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38419 else
38420 ac_cpp_err=
38421 fi
38422 else
38423 ac_cpp_err=yes
38424 fi
38425 if test -z "$ac_cpp_err"; then
38426 ac_header_preproc=yes
38427 else
38428 echo "$as_me: failed program was:" >&5
38429 sed 's/^/| /' conftest.$ac_ext >&5
38430
38431 ac_header_preproc=no
38432 fi
38433 rm -f conftest.err conftest.$ac_ext
38434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38435 echo "${ECHO_T}$ac_header_preproc" >&6
38436
38437 # So? What about this header?
38438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38439 yes:no: )
38440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38444 ac_header_preproc=yes
38445 ;;
38446 no:yes:* )
38447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38459 (
38460 cat <<\_ASBOX
38461 ## ----------------------------------------- ##
38462 ## Report this to wx-dev@lists.wxwidgets.org ##
38463 ## ----------------------------------------- ##
38464 _ASBOX
38465 ) |
38466 sed "s/^/$as_me: WARNING: /" >&2
38467 ;;
38468 esac
38469 echo "$as_me:$LINENO: checking for $ac_header" >&5
38470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38473 else
38474 eval "$as_ac_Header=\$ac_header_preproc"
38475 fi
38476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38478
38479 fi
38480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38481 cat >>confdefs.h <<_ACEOF
38482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38483 _ACEOF
38484
38485 fi
38486
38487 done
38488
38489
38490 if test "$ac_cv_header_ole2_h" = "yes" ; then
38491 if test "$GCC" = yes ; then
38492
38493
38494 ac_ext=cc
38495 ac_cpp='$CXXCPP $CPPFLAGS'
38496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38499
38500
38501 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38502 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38503 cat >conftest.$ac_ext <<_ACEOF
38504 /* confdefs.h. */
38505 _ACEOF
38506 cat confdefs.h >>conftest.$ac_ext
38507 cat >>conftest.$ac_ext <<_ACEOF
38508 /* end confdefs.h. */
38509 #include <windows.h>
38510 #include <ole2.h>
38511 int
38512 main ()
38513 {
38514
38515 ;
38516 return 0;
38517 }
38518 _ACEOF
38519 rm -f conftest.$ac_objext
38520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38521 (eval $ac_compile) 2>conftest.er1
38522 ac_status=$?
38523 grep -v '^ *+' conftest.er1 >conftest.err
38524 rm -f conftest.er1
38525 cat conftest.err >&5
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); } &&
38528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38531 ac_status=$?
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; } &&
38534 { ac_try='test -s conftest.$ac_objext'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38537 ac_status=$?
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; }; then
38540 echo "$as_me:$LINENO: result: no" >&5
38541 echo "${ECHO_T}no" >&6
38542 else
38543 echo "$as_me: failed program was:" >&5
38544 sed 's/^/| /' conftest.$ac_ext >&5
38545
38546 echo "$as_me:$LINENO: result: yes" >&5
38547 echo "${ECHO_T}yes" >&6
38548 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38549 fi
38550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38551 ac_ext=c
38552 ac_cpp='$CPP $CPPFLAGS'
38553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556
38557 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38558 if test "$wxUSE_OLE" = "yes" ; then
38559 cat >>confdefs.h <<\_ACEOF
38560 #define wxUSE_OLE 1
38561 _ACEOF
38562
38563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
38564 fi
38565 fi
38566
38567 if test "$wxUSE_DATAOBJ" = "yes" ; then
38568 cat >>confdefs.h <<\_ACEOF
38569 #define wxUSE_DATAOBJ 1
38570 _ACEOF
38571
38572 fi
38573 else
38574 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38575 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38576
38577 wxUSE_CLIPBOARD=no
38578 wxUSE_DRAG_AND_DROP=no
38579 wxUSE_DATAOBJ=no
38580 wxUSE_OLE=no
38581 fi
38582
38583 if test "$wxUSE_METAFILE" = "yes"; then
38584 cat >>confdefs.h <<\_ACEOF
38585 #define wxUSE_METAFILE 1
38586 _ACEOF
38587
38588
38589 cat >>confdefs.h <<\_ACEOF
38590 #define wxUSE_ENH_METAFILE 1
38591 _ACEOF
38592
38593 fi
38594 fi
38595
38596 if test "$wxUSE_IPC" = "yes"; then
38597 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38598 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38599 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38600 wxUSE_IPC=no
38601 fi
38602
38603 if test "$wxUSE_IPC" = "yes"; then
38604 cat >>confdefs.h <<\_ACEOF
38605 #define wxUSE_IPC 1
38606 _ACEOF
38607
38608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
38609 fi
38610 fi
38611
38612 if test "$wxUSE_CLIPBOARD" = "yes"; then
38613 if test "$wxUSE_MGL" = 1; then
38614 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38615 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38616 wxUSE_CLIPBOARD=no
38617 fi
38618
38619 if test "$wxUSE_CLIPBOARD" = "yes"; then
38620 cat >>confdefs.h <<\_ACEOF
38621 #define wxUSE_CLIPBOARD 1
38622 _ACEOF
38623
38624
38625 cat >>confdefs.h <<\_ACEOF
38626 #define wxUSE_DATAOBJ 1
38627 _ACEOF
38628
38629 fi
38630 fi
38631
38632 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38633 if test "$wxUSE_GTK" = 1; then
38634 if test "$WXGTK12" != 1; then
38635 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38636 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38637 wxUSE_DRAG_AND_DROP=no
38638 fi
38639 fi
38640
38641 if test "$wxUSE_MOTIF" = 1; then
38642 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38643 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38644 wxUSE_DRAG_AND_DROP=no
38645 fi
38646
38647 if test "$wxUSE_X11" = 1; then
38648 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38649 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38650 wxUSE_DRAG_AND_DROP=no
38651 fi
38652
38653 if test "$wxUSE_MGL" = 1; then
38654 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38655 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38656 wxUSE_DRAG_AND_DROP=no
38657 fi
38658
38659 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38660 cat >>confdefs.h <<\_ACEOF
38661 #define wxUSE_DRAG_AND_DROP 1
38662 _ACEOF
38663
38664 fi
38665
38666 fi
38667
38668 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
38670 fi
38671
38672 if test "$wxUSE_SPLINES" = "yes" ; then
38673 cat >>confdefs.h <<\_ACEOF
38674 #define wxUSE_SPLINES 1
38675 _ACEOF
38676
38677 fi
38678
38679
38680 USES_CONTROLS=0
38681 if test "$wxUSE_CONTROLS" = "yes"; then
38682 USES_CONTROLS=1
38683 fi
38684
38685 if test "$wxUSE_ACCEL" = "yes"; then
38686 cat >>confdefs.h <<\_ACEOF
38687 #define wxUSE_ACCEL 1
38688 _ACEOF
38689
38690 USES_CONTROLS=1
38691 fi
38692
38693 if test "$wxUSE_BUTTON" = "yes"; then
38694 cat >>confdefs.h <<\_ACEOF
38695 #define wxUSE_BUTTON 1
38696 _ACEOF
38697
38698 USES_CONTROLS=1
38699 fi
38700
38701 if test "$wxUSE_BMPBUTTON" = "yes"; then
38702 cat >>confdefs.h <<\_ACEOF
38703 #define wxUSE_BMPBUTTON 1
38704 _ACEOF
38705
38706 USES_CONTROLS=1
38707 fi
38708
38709 if test "$wxUSE_CALCTRL" = "yes"; then
38710 cat >>confdefs.h <<\_ACEOF
38711 #define wxUSE_CALENDARCTRL 1
38712 _ACEOF
38713
38714 USES_CONTROLS=1
38715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
38716 fi
38717
38718 if test "$wxUSE_CARET" = "yes"; then
38719 cat >>confdefs.h <<\_ACEOF
38720 #define wxUSE_CARET 1
38721 _ACEOF
38722
38723 USES_CONTROLS=1
38724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
38725 fi
38726
38727 if test "$wxUSE_COMBOBOX" = "yes"; then
38728 cat >>confdefs.h <<\_ACEOF
38729 #define wxUSE_COMBOBOX 1
38730 _ACEOF
38731
38732 USES_CONTROLS=1
38733 fi
38734
38735 if test "$wxUSE_CHOICE" = "yes"; then
38736 cat >>confdefs.h <<\_ACEOF
38737 #define wxUSE_CHOICE 1
38738 _ACEOF
38739
38740 USES_CONTROLS=1
38741 fi
38742
38743 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38744 cat >>confdefs.h <<\_ACEOF
38745 #define wxUSE_CHOICEBOOK 1
38746 _ACEOF
38747
38748 USES_CONTROLS=1
38749 fi
38750
38751 if test "$wxUSE_CHECKBOX" = "yes"; then
38752 cat >>confdefs.h <<\_ACEOF
38753 #define wxUSE_CHECKBOX 1
38754 _ACEOF
38755
38756 USES_CONTROLS=1
38757 fi
38758
38759 if test "$wxUSE_CHECKLST" = "yes"; then
38760 cat >>confdefs.h <<\_ACEOF
38761 #define wxUSE_CHECKLISTBOX 1
38762 _ACEOF
38763
38764 USES_CONTROLS=1
38765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
38766 fi
38767
38768 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38769 cat >>confdefs.h <<\_ACEOF
38770 #define wxUSE_DATEPICKCTRL 1
38771 _ACEOF
38772
38773 USES_CONTROLS=1
38774 fi
38775
38776 if test "$wxUSE_DISPLAY" = "yes"; then
38777 cat >>confdefs.h <<\_ACEOF
38778 #define wxUSE_DISPLAY 1
38779 _ACEOF
38780
38781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
38782 fi
38783
38784 if test "$wxUSE_GAUGE" = "yes"; then
38785 cat >>confdefs.h <<\_ACEOF
38786 #define wxUSE_GAUGE 1
38787 _ACEOF
38788
38789 USES_CONTROLS=1
38790 fi
38791
38792 if test "$wxUSE_GRID" = "yes"; then
38793 cat >>confdefs.h <<\_ACEOF
38794 #define wxUSE_GRID 1
38795 _ACEOF
38796
38797 USES_CONTROLS=1
38798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
38799 fi
38800
38801 if test "$wxUSE_IMAGLIST" = "yes"; then
38802 cat >>confdefs.h <<\_ACEOF
38803 #define wxUSE_IMAGLIST 1
38804 _ACEOF
38805
38806 fi
38807
38808 if test "$wxUSE_LISTBOOK" = "yes"; then
38809 cat >>confdefs.h <<\_ACEOF
38810 #define wxUSE_LISTBOOK 1
38811 _ACEOF
38812
38813 USES_CONTROLS=1
38814 fi
38815
38816 if test "$wxUSE_LISTBOX" = "yes"; then
38817 cat >>confdefs.h <<\_ACEOF
38818 #define wxUSE_LISTBOX 1
38819 _ACEOF
38820
38821 USES_CONTROLS=1
38822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
38823 fi
38824
38825 if test "$wxUSE_LISTCTRL" = "yes"; then
38826 if test "$wxUSE_IMAGLIST" = "yes"; then
38827 cat >>confdefs.h <<\_ACEOF
38828 #define wxUSE_LISTCTRL 1
38829 _ACEOF
38830
38831 USES_CONTROLS=1
38832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
38833 else
38834 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38835 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38836 fi
38837 fi
38838
38839 if test "$wxUSE_NOTEBOOK" = "yes"; then
38840 cat >>confdefs.h <<\_ACEOF
38841 #define wxUSE_NOTEBOOK 1
38842 _ACEOF
38843
38844 USES_CONTROLS=1
38845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
38846 fi
38847
38848
38849 if test "$wxUSE_RADIOBOX" = "yes"; then
38850 cat >>confdefs.h <<\_ACEOF
38851 #define wxUSE_RADIOBOX 1
38852 _ACEOF
38853
38854 USES_CONTROLS=1
38855 fi
38856
38857 if test "$wxUSE_RADIOBTN" = "yes"; then
38858 cat >>confdefs.h <<\_ACEOF
38859 #define wxUSE_RADIOBTN 1
38860 _ACEOF
38861
38862 USES_CONTROLS=1
38863 fi
38864
38865 if test "$wxUSE_SASH" = "yes"; then
38866 cat >>confdefs.h <<\_ACEOF
38867 #define wxUSE_SASH 1
38868 _ACEOF
38869
38870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
38871 fi
38872
38873 if test "$wxUSE_SCROLLBAR" = "yes"; then
38874 cat >>confdefs.h <<\_ACEOF
38875 #define wxUSE_SCROLLBAR 1
38876 _ACEOF
38877
38878 USES_CONTROLS=1
38879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
38880 fi
38881
38882 if test "$wxUSE_SLIDER" = "yes"; then
38883 cat >>confdefs.h <<\_ACEOF
38884 #define wxUSE_SLIDER 1
38885 _ACEOF
38886
38887 USES_CONTROLS=1
38888 fi
38889
38890 if test "$wxUSE_SPINBTN" = "yes"; then
38891 cat >>confdefs.h <<\_ACEOF
38892 #define wxUSE_SPINBTN 1
38893 _ACEOF
38894
38895 USES_CONTROLS=1
38896 fi
38897
38898 if test "$wxUSE_SPINCTRL" = "yes"; then
38899 cat >>confdefs.h <<\_ACEOF
38900 #define wxUSE_SPINCTRL 1
38901 _ACEOF
38902
38903 USES_CONTROLS=1
38904 fi
38905
38906 if test "$wxUSE_SPLITTER" = "yes"; then
38907 cat >>confdefs.h <<\_ACEOF
38908 #define wxUSE_SPLITTER 1
38909 _ACEOF
38910
38911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
38912 fi
38913
38914 if test "$wxUSE_STATBMP" = "yes"; then
38915 cat >>confdefs.h <<\_ACEOF
38916 #define wxUSE_STATBMP 1
38917 _ACEOF
38918
38919 USES_CONTROLS=1
38920 fi
38921
38922 if test "$wxUSE_STATBOX" = "yes"; then
38923 cat >>confdefs.h <<\_ACEOF
38924 #define wxUSE_STATBOX 1
38925 _ACEOF
38926
38927 USES_CONTROLS=1
38928 fi
38929
38930 if test "$wxUSE_STATTEXT" = "yes"; then
38931 cat >>confdefs.h <<\_ACEOF
38932 #define wxUSE_STATTEXT 1
38933 _ACEOF
38934
38935 USES_CONTROLS=1
38936 fi
38937
38938 if test "$wxUSE_STATLINE" = "yes"; then
38939 cat >>confdefs.h <<\_ACEOF
38940 #define wxUSE_STATLINE 1
38941 _ACEOF
38942
38943 USES_CONTROLS=1
38944 fi
38945
38946 if test "$wxUSE_STATUSBAR" = "yes"; then
38947 cat >>confdefs.h <<\_ACEOF
38948 #define wxUSE_NATIVE_STATUSBAR 1
38949 _ACEOF
38950
38951 cat >>confdefs.h <<\_ACEOF
38952 #define wxUSE_STATUSBAR 1
38953 _ACEOF
38954
38955 USES_CONTROLS=1
38956
38957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
38958 fi
38959
38960 if test "$wxUSE_TABDIALOG" = "yes"; then
38961 cat >>confdefs.h <<\_ACEOF
38962 #define wxUSE_TAB_DIALOG 1
38963 _ACEOF
38964
38965 fi
38966
38967 if test "$wxUSE_TEXTCTRL" = "yes"; then
38968 cat >>confdefs.h <<\_ACEOF
38969 #define wxUSE_TEXTCTRL 1
38970 _ACEOF
38971
38972 USES_CONTROLS=1
38973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
38974 fi
38975
38976 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38977 if test "$wxUSE_COCOA" = 1 ; then
38978 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38979 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38980 wxUSE_TOGGLEBTN=no
38981 else
38982 if test "$wxUSE_PM" = 1; then
38983 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38984 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38985 wxUSE_TOGGLEBTN=no
38986 fi
38987 fi
38988 if test "$wxUSE_UNIVERSAL" = "yes"; then
38989 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38990 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38991 wxUSE_TOGGLEBTN=no
38992 fi
38993
38994 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38995 cat >>confdefs.h <<\_ACEOF
38996 #define wxUSE_TOGGLEBTN 1
38997 _ACEOF
38998
38999 USES_CONTROLS=1
39000 fi
39001 fi
39002
39003 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39004 cat >>confdefs.h <<\_ACEOF
39005 #define wxUSE_TOOLBAR_SIMPLE 1
39006 _ACEOF
39007
39008 wxUSE_TOOLBAR="yes"
39009 USES_CONTROLS=1
39010 fi
39011
39012 if test "$wxUSE_TOOLBAR" = "yes"; then
39013 cat >>confdefs.h <<\_ACEOF
39014 #define wxUSE_TOOLBAR 1
39015 _ACEOF
39016
39017 USES_CONTROLS=1
39018
39019 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39020 wxUSE_TOOLBAR_NATIVE="yes"
39021 fi
39022
39023 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39024 cat >>confdefs.h <<\_ACEOF
39025 #define wxUSE_TOOLBAR_NATIVE 1
39026 _ACEOF
39027
39028 USES_CONTROLS=1
39029 fi
39030
39031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39032 fi
39033
39034 if test "$wxUSE_TOOLTIPS" = "yes"; then
39035 if test "$wxUSE_MOTIF" = 1; then
39036 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39037 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39038 else
39039 if test "$wxUSE_UNIVERSAL" = "yes"; then
39040 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39041 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39042 else
39043 cat >>confdefs.h <<\_ACEOF
39044 #define wxUSE_TOOLTIPS 1
39045 _ACEOF
39046
39047 fi
39048 fi
39049 fi
39050
39051 if test "$wxUSE_TREECTRL" = "yes"; then
39052 if test "$wxUSE_IMAGLIST" = "yes"; then
39053 cat >>confdefs.h <<\_ACEOF
39054 #define wxUSE_TREECTRL 1
39055 _ACEOF
39056
39057 USES_CONTROLS=1
39058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39059 else
39060 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39061 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39062 fi
39063 fi
39064
39065 if test "$wxUSE_POPUPWIN" = "yes"; then
39066 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39067 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39068 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39069 else
39070 if test "$wxUSE_PM" = 1; then
39071 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39072 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39073 else
39074 cat >>confdefs.h <<\_ACEOF
39075 #define wxUSE_POPUPWIN 1
39076 _ACEOF
39077
39078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39079
39080 USES_CONTROLS=1
39081 fi
39082 fi
39083 fi
39084
39085 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39086 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39087 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39088 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39089 else
39090 cat >>confdefs.h <<\_ACEOF
39091 #define wxUSE_DIALUP_MANAGER 1
39092 _ACEOF
39093
39094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39095 fi
39096 fi
39097
39098 if test "$wxUSE_TIPWINDOW" = "yes"; then
39099 if test "$wxUSE_PM" = 1; then
39100 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39101 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39102 else
39103 cat >>confdefs.h <<\_ACEOF
39104 #define wxUSE_TIPWINDOW 1
39105 _ACEOF
39106
39107 fi
39108 fi
39109
39110 if test "$USES_CONTROLS" = 1; then
39111 cat >>confdefs.h <<\_ACEOF
39112 #define wxUSE_CONTROLS 1
39113 _ACEOF
39114
39115 fi
39116
39117
39118 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39119 cat >>confdefs.h <<\_ACEOF
39120 #define wxUSE_ACCESSIBILITY 1
39121 _ACEOF
39122
39123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39124 fi
39125
39126 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39127 cat >>confdefs.h <<\_ACEOF
39128 #define wxUSE_DRAGIMAGE 1
39129 _ACEOF
39130
39131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39132 fi
39133
39134 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39135 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39136 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39137 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39138 else
39139 cat >>confdefs.h <<\_ACEOF
39140 #define wxUSE_EXCEPTIONS 1
39141 _ACEOF
39142
39143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39144 fi
39145 fi
39146
39147 USE_HTML=0
39148 if test "$wxUSE_HTML" = "yes"; then
39149 cat >>confdefs.h <<\_ACEOF
39150 #define wxUSE_HTML 1
39151 _ACEOF
39152
39153 USE_HTML=1
39154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39155 if test "$wxUSE_MAC" = 1; then
39156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
39157 fi
39158 fi
39159 if test "$wxUSE_WEBKIT" = "yes"; then
39160 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39161 old_CPPFLAGS="$CPPFLAGS"
39162 CPPFLAGS="$CPPFLAGS -x objective-c++"
39163 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39164 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39165 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 else
39168 cat >conftest.$ac_ext <<_ACEOF
39169 /* confdefs.h. */
39170 _ACEOF
39171 cat confdefs.h >>conftest.$ac_ext
39172 cat >>conftest.$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39174 #include <Carbon/Carbon.h>
39175
39176 #include <WebKit/HIWebView.h>
39177 _ACEOF
39178 rm -f conftest.$ac_objext
39179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39180 (eval $ac_compile) 2>conftest.er1
39181 ac_status=$?
39182 grep -v '^ *+' conftest.er1 >conftest.err
39183 rm -f conftest.er1
39184 cat conftest.err >&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); } &&
39187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39189 (eval $ac_try) 2>&5
39190 ac_status=$?
39191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192 (exit $ac_status); }; } &&
39193 { ac_try='test -s conftest.$ac_objext'
39194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39195 (eval $ac_try) 2>&5
39196 ac_status=$?
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); }; }; then
39199 ac_cv_header_WebKit_HIWebView_h=yes
39200 else
39201 echo "$as_me: failed program was:" >&5
39202 sed 's/^/| /' conftest.$ac_ext >&5
39203
39204 ac_cv_header_WebKit_HIWebView_h=no
39205 fi
39206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39207 fi
39208 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39209 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39210 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39211
39212 cat >>confdefs.h <<\_ACEOF
39213 #define wxUSE_WEBKIT 1
39214 _ACEOF
39215
39216 WEBKIT_LINK="-framework WebKit"
39217
39218 else
39219
39220 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39221 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39222 wxUSE_WEBKIT=no
39223
39224 fi
39225
39226
39227 CPPFLAGS="$old_CPPFLAGS"
39228 elif test "$wxUSE_COCOA" = 1; then
39229 cat >>confdefs.h <<\_ACEOF
39230 #define wxUSE_WEBKIT 1
39231 _ACEOF
39232
39233 else
39234 wxUSE_WEBKIT=no
39235 fi
39236 fi
39237
39238 USE_XRC=0
39239 if test "$wxUSE_XRC" = "yes"; then
39240 if test "$wxUSE_XML" != "yes"; then
39241 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39242 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39243 wxUSE_XRC=no
39244 else
39245 cat >>confdefs.h <<\_ACEOF
39246 #define wxUSE_XRC 1
39247 _ACEOF
39248
39249 USE_XRC=1
39250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
39251 fi
39252 fi
39253
39254 if test "$wxUSE_MENUS" = "yes"; then
39255 cat >>confdefs.h <<\_ACEOF
39256 #define wxUSE_MENUS 1
39257 _ACEOF
39258
39259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
39260 fi
39261
39262 if test "$wxUSE_METAFILE" = "yes"; then
39263 cat >>confdefs.h <<\_ACEOF
39264 #define wxUSE_METAFILE 1
39265 _ACEOF
39266
39267 fi
39268
39269 if test "$wxUSE_MIMETYPE" = "yes"; then
39270 cat >>confdefs.h <<\_ACEOF
39271 #define wxUSE_MIMETYPE 1
39272 _ACEOF
39273
39274 fi
39275
39276 if test "$wxUSE_MINIFRAME" = "yes"; then
39277 cat >>confdefs.h <<\_ACEOF
39278 #define wxUSE_MINIFRAME 1
39279 _ACEOF
39280
39281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
39282 fi
39283
39284 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39285 cat >>confdefs.h <<\_ACEOF
39286 #define wxUSE_SYSTEM_OPTIONS 1
39287 _ACEOF
39288
39289 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39290 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
39292 fi
39293 fi
39294
39295
39296 if test "$wxUSE_VALIDATORS" = "yes"; then
39297 cat >>confdefs.h <<\_ACEOF
39298 #define wxUSE_VALIDATORS 1
39299 _ACEOF
39300
39301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
39302 fi
39303
39304 if test "$wxUSE_PALETTE" = "yes" ; then
39305 cat >>confdefs.h <<\_ACEOF
39306 #define wxUSE_PALETTE 1
39307 _ACEOF
39308
39309 fi
39310
39311 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39312 LIBS=" -lunicows $LIBS"
39313 fi
39314
39315
39316 if test "$wxUSE_IMAGE" = "yes" ; then
39317 cat >>confdefs.h <<\_ACEOF
39318 #define wxUSE_IMAGE 1
39319 _ACEOF
39320
39321
39322 if test "$wxUSE_GIF" = "yes" ; then
39323 cat >>confdefs.h <<\_ACEOF
39324 #define wxUSE_GIF 1
39325 _ACEOF
39326
39327 fi
39328
39329 if test "$wxUSE_PCX" = "yes" ; then
39330 cat >>confdefs.h <<\_ACEOF
39331 #define wxUSE_PCX 1
39332 _ACEOF
39333
39334 fi
39335
39336 if test "$wxUSE_IFF" = "yes" ; then
39337 cat >>confdefs.h <<\_ACEOF
39338 #define wxUSE_IFF 1
39339 _ACEOF
39340
39341 fi
39342
39343 if test "$wxUSE_PNM" = "yes" ; then
39344 cat >>confdefs.h <<\_ACEOF
39345 #define wxUSE_PNM 1
39346 _ACEOF
39347
39348 fi
39349
39350 if test "$wxUSE_XPM" = "yes" ; then
39351 cat >>confdefs.h <<\_ACEOF
39352 #define wxUSE_XPM 1
39353 _ACEOF
39354
39355 fi
39356
39357 if test "$wxUSE_ICO_CUR" = "yes" ; then
39358 cat >>confdefs.h <<\_ACEOF
39359 #define wxUSE_ICO_CUR 1
39360 _ACEOF
39361
39362 fi
39363 fi
39364
39365
39366 if test "$wxUSE_CHOICEDLG" = "yes"; then
39367 cat >>confdefs.h <<\_ACEOF
39368 #define wxUSE_CHOICEDLG 1
39369 _ACEOF
39370
39371 fi
39372
39373 if test "$wxUSE_COLOURDLG" = "yes"; then
39374 cat >>confdefs.h <<\_ACEOF
39375 #define wxUSE_COLOURDLG 1
39376 _ACEOF
39377
39378 fi
39379
39380 if test "$wxUSE_FILEDLG" = "yes"; then
39381 cat >>confdefs.h <<\_ACEOF
39382 #define wxUSE_FILEDLG 1
39383 _ACEOF
39384
39385 fi
39386
39387 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39388 cat >>confdefs.h <<\_ACEOF
39389 #define wxUSE_FINDREPLDLG 1
39390 _ACEOF
39391
39392 fi
39393
39394 if test "$wxUSE_FONTDLG" = "yes"; then
39395 cat >>confdefs.h <<\_ACEOF
39396 #define wxUSE_FONTDLG 1
39397 _ACEOF
39398
39399 fi
39400
39401 if test "$wxUSE_DIRDLG" = "yes"; then
39402 if test "$wxUSE_TREECTRL" != "yes"; then
39403 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39404 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39405 else
39406 cat >>confdefs.h <<\_ACEOF
39407 #define wxUSE_DIRDLG 1
39408 _ACEOF
39409
39410 fi
39411 fi
39412
39413 if test "$wxUSE_MSGDLG" = "yes"; then
39414 cat >>confdefs.h <<\_ACEOF
39415 #define wxUSE_MSGDLG 1
39416 _ACEOF
39417
39418 fi
39419
39420 if test "$wxUSE_NUMBERDLG" = "yes"; then
39421 cat >>confdefs.h <<\_ACEOF
39422 #define wxUSE_NUMBERDLG 1
39423 _ACEOF
39424
39425 fi
39426
39427 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39428 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39429 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39430 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39431 else
39432 cat >>confdefs.h <<\_ACEOF
39433 #define wxUSE_PROGRESSDLG 1
39434 _ACEOF
39435
39436 fi
39437 fi
39438
39439 if test "$wxUSE_SPLASH" = "yes"; then
39440 cat >>confdefs.h <<\_ACEOF
39441 #define wxUSE_SPLASH 1
39442 _ACEOF
39443
39444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
39445 fi
39446
39447 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39448 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39449 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39450 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39451 else
39452 cat >>confdefs.h <<\_ACEOF
39453 #define wxUSE_STARTUP_TIPS 1
39454 _ACEOF
39455
39456 fi
39457 fi
39458
39459 if test "$wxUSE_TEXTDLG" = "yes"; then
39460 cat >>confdefs.h <<\_ACEOF
39461 #define wxUSE_TEXTDLG 1
39462 _ACEOF
39463
39464 fi
39465
39466 if test "$wxUSE_WIZARDDLG" = "yes"; then
39467 cat >>confdefs.h <<\_ACEOF
39468 #define wxUSE_WIZARDDLG 1
39469 _ACEOF
39470
39471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
39472 fi
39473
39474
39475 if test "$wxUSE_MEDIACTRL" = "yes"; then
39476 if test "$wxUSE_MSW" = 1; then
39477 wxUSE_DIRECTSHOW="yes"
39478
39479 for ac_header in dshow.h
39480 do
39481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39482 echo "$as_me:$LINENO: checking for $ac_header" >&5
39483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39486 else
39487 cat >conftest.$ac_ext <<_ACEOF
39488 /* confdefs.h. */
39489 _ACEOF
39490 cat confdefs.h >>conftest.$ac_ext
39491 cat >>conftest.$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39493 #include <windows.h>
39494
39495 #include <$ac_header>
39496 _ACEOF
39497 rm -f conftest.$ac_objext
39498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39499 (eval $ac_compile) 2>conftest.er1
39500 ac_status=$?
39501 grep -v '^ *+' conftest.er1 >conftest.err
39502 rm -f conftest.er1
39503 cat conftest.err >&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } &&
39506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39508 (eval $ac_try) 2>&5
39509 ac_status=$?
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); }; } &&
39512 { ac_try='test -s conftest.$ac_objext'
39513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39514 (eval $ac_try) 2>&5
39515 ac_status=$?
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); }; }; then
39518 eval "$as_ac_Header=yes"
39519 else
39520 echo "$as_me: failed program was:" >&5
39521 sed 's/^/| /' conftest.$ac_ext >&5
39522
39523 eval "$as_ac_Header=no"
39524 fi
39525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39526 fi
39527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39530 cat >>confdefs.h <<_ACEOF
39531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39532 _ACEOF
39533
39534 else
39535
39536 wxUSE_DIRECTSHOW="no"
39537 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39538 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39539
39540 fi
39541
39542 done
39543
39544
39545 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39546 cat >>confdefs.h <<\_ACEOF
39547 #define wxUSE_DIRECTSHOW 1
39548 _ACEOF
39549
39550 LIBS="$LIBS -lstrmiids"
39551 fi
39552 fi
39553
39554 if test "$wxUSE_GTK" = 1; then
39555 wxUSE_GSTREAMER="yes"
39556
39557
39558 succeeded=no
39559
39560 if test -z "$PKG_CONFIG"; then
39561 # Extract the first word of "pkg-config", so it can be a program name with args.
39562 set dummy pkg-config; ac_word=$2
39563 echo "$as_me:$LINENO: checking for $ac_word" >&5
39564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39565 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39566 echo $ECHO_N "(cached) $ECHO_C" >&6
39567 else
39568 case $PKG_CONFIG in
39569 [\\/]* | ?:[\\/]*)
39570 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39571 ;;
39572 *)
39573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39574 for as_dir in $PATH
39575 do
39576 IFS=$as_save_IFS
39577 test -z "$as_dir" && as_dir=.
39578 for ac_exec_ext in '' $ac_executable_extensions; do
39579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39580 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39582 break 2
39583 fi
39584 done
39585 done
39586
39587 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39588 ;;
39589 esac
39590 fi
39591 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39592
39593 if test -n "$PKG_CONFIG"; then
39594 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39595 echo "${ECHO_T}$PKG_CONFIG" >&6
39596 else
39597 echo "$as_me:$LINENO: result: no" >&5
39598 echo "${ECHO_T}no" >&6
39599 fi
39600
39601 fi
39602
39603 if test "$PKG_CONFIG" = "no" ; then
39604 echo "*** The pkg-config script could not be found. Make sure it is"
39605 echo "*** in your path, or set the PKG_CONFIG environment variable"
39606 echo "*** to the full path to pkg-config."
39607 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39608 else
39609 PKG_CONFIG_MIN_VERSION=0.9.0
39610 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39611 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39612 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39613
39614 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39615 echo "$as_me:$LINENO: result: yes" >&5
39616 echo "${ECHO_T}yes" >&6
39617 succeeded=yes
39618
39619 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39620 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39621 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39622 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39623 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39624
39625 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39626 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39627 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
39628 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39629 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39630 else
39631 GSTREAMER_CFLAGS=""
39632 GSTREAMER_LIBS=""
39633 ## If we have a custom action on failure, don't print errors, but
39634 ## do set a variable so people can do so.
39635 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39636
39637 fi
39638
39639
39640
39641 else
39642 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39643 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39644 fi
39645 fi
39646
39647 if test $succeeded = yes; then
39648
39649 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
39650 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39651
39652 else
39653
39654 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39655 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39656 wxUSE_GSTREAMER="no"
39657
39658 fi
39659
39660
39661
39662
39663
39664 if test "x$GST_INSPECT" == "x"; then
39665 # Extract the first word of "gst-inspect", so it can be a program name with args.
39666 set dummy gst-inspect; ac_word=$2
39667 echo "$as_me:$LINENO: checking for $ac_word" >&5
39668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39669 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39670 echo $ECHO_N "(cached) $ECHO_C" >&6
39671 else
39672 if test -n "$GST_INSPECT"; then
39673 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
39674 else
39675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39676 for as_dir in $PATH
39677 do
39678 IFS=$as_save_IFS
39679 test -z "$as_dir" && as_dir=.
39680 for ac_exec_ext in '' $ac_executable_extensions; do
39681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39682 ac_cv_prog_GST_INSPECT="gst-inspect"
39683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39684 break 2
39685 fi
39686 done
39687 done
39688
39689 fi
39690 fi
39691 GST_INSPECT=$ac_cv_prog_GST_INSPECT
39692 if test -n "$GST_INSPECT"; then
39693 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39694 echo "${ECHO_T}$GST_INSPECT" >&6
39695 else
39696 echo "$as_me:$LINENO: result: no" >&5
39697 echo "${ECHO_T}no" >&6
39698 fi
39699
39700 fi
39701
39702 if test "x$GST_INSPECT" != "x"; then
39703 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39704 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39705 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
39706 echo "$as_me:$LINENO: result: found." >&5
39707 echo "${ECHO_T}found." >&6
39708
39709 else
39710 echo "$as_me:$LINENO: result: not found." >&5
39711 echo "${ECHO_T}not found." >&6
39712
39713 wxUSE_GSTREAMER="no"
39714 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39715 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39716
39717 fi
39718 fi
39719
39720
39721 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39722 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39723 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39724 echo $ECHO_N "(cached) $ECHO_C" >&6
39725 else
39726 cat >conftest.$ac_ext <<_ACEOF
39727 /* confdefs.h. */
39728 _ACEOF
39729 cat confdefs.h >>conftest.$ac_ext
39730 cat >>conftest.$ac_ext <<_ACEOF
39731 /* end confdefs.h. */
39732 #include <gst/gst.h>
39733
39734 #include <gst/xoverlay/xoverlay.h>
39735 _ACEOF
39736 rm -f conftest.$ac_objext
39737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39738 (eval $ac_compile) 2>conftest.er1
39739 ac_status=$?
39740 grep -v '^ *+' conftest.er1 >conftest.err
39741 rm -f conftest.er1
39742 cat conftest.err >&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); } &&
39745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39748 ac_status=$?
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; } &&
39751 { ac_try='test -s conftest.$ac_objext'
39752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39753 (eval $ac_try) 2>&5
39754 ac_status=$?
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); }; }; then
39757 ac_cv_header_gst_xoverlay_xoverlay_h=yes
39758 else
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.$ac_ext >&5
39761
39762 ac_cv_header_gst_xoverlay_xoverlay_h=no
39763 fi
39764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39765 fi
39766 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39767 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39768 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39769 :
39770 else
39771
39772 wxUSE_GSTREAMER="no"
39773 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39774 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39775
39776 fi
39777
39778
39779
39780 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39781 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39782
39783 ac_find_libraries=
39784 for ac_dir in $SEARCH_LIB /usr/lib;
39785 do
39786 for ac_extension in a so sl dylib; do
39787 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39788 ac_find_libraries=$ac_dir
39789 break 2
39790 fi
39791 done
39792 done
39793
39794
39795 if test "$ac_find_libraries" = "" ; then
39796 echo "$as_me:$LINENO: result: no" >&5
39797 echo "${ECHO_T}no" >&6
39798 wxUSE_GSTREAMER="no"
39799 else
39800 echo "$as_me:$LINENO: result: yes" >&5
39801 echo "${ECHO_T}yes" >&6
39802 fi
39803
39804 if test "$wxUSE_GSTREAMER" = "yes"; then
39805 cat >>confdefs.h <<\_ACEOF
39806 #define wxUSE_GSTREAMER 1
39807 _ACEOF
39808
39809 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39810 echo "${ECHO_T}GStreamer detection successful" >&6
39811 fi
39812 fi
39813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
39814 cat >>confdefs.h <<\_ACEOF
39815 #define wxUSE_MEDIACTRL 1
39816 _ACEOF
39817
39818 fi
39819
39820
39821 if test "$cross_compiling" = "yes"; then
39822 OSINFO="\"$host\""
39823 else
39824 OSINFO=`uname -s -r -m`
39825 OSINFO="\"$OSINFO\""
39826 fi
39827
39828 cat >>confdefs.h <<_ACEOF
39829 #define WXWIN_OS_DESCRIPTION $OSINFO
39830 _ACEOF
39831
39832
39833
39834 if test "x$prefix" != "xNONE"; then
39835 wxPREFIX=$prefix
39836 else
39837 wxPREFIX=$ac_default_prefix
39838 fi
39839
39840 cat >>confdefs.h <<_ACEOF
39841 #define wxINSTALL_PREFIX "$wxPREFIX"
39842 _ACEOF
39843
39844
39845
39846
39847 CORE_BASE_LIBS="net base"
39848 CORE_GUI_LIBS="adv core"
39849
39850 if test "$wxUSE_XML" = "yes" ; then
39851 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
39852 fi
39853 if test "$wxUSE_ODBC" != "no" ; then
39854 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
39855 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
39856 fi
39857 if test "$wxUSE_HTML" = "yes" ; then
39858 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
39859 fi
39860 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
39861 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
39862 fi
39863 if test "$wxUSE_XRC" = "yes" ; then
39864 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
39865 fi
39866
39867 if test "$wxUSE_GUI" != "yes"; then
39868 CORE_GUI_LIBS=""
39869 fi
39870
39871
39872
39873
39874
39875
39876
39877
39878 if test "$wxUSE_MAC" = 1 ; then
39879 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39880 if test "$USE_DARWIN" = 1; then
39881 LDFLAGS="$LDFLAGS -framework QuickTime"
39882 else
39883 LDFLAGS="$LDFLAGS -lQuickTimeLib"
39884 fi
39885 fi
39886 if test "$USE_DARWIN" = 1; then
39887 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39888 else
39889 LDFLAGS="$LDFLAGS -lCarbonLib"
39890 fi
39891 fi
39892 if test "$wxUSE_COCOA" = 1 ; then
39893 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
39894 if test "$wxUSE_MEDIACTRL" = "yes"; then
39895 LDFLAGS="$LDFLAGS -framework QuickTime"
39896 fi
39897 fi
39898
39899
39900 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39901
39902 have_cos=0
39903 have_floor=0
39904
39905 for ac_func in cos
39906 do
39907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39908 echo "$as_me:$LINENO: checking for $ac_func" >&5
39909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39910 if eval "test \"\${$as_ac_var+set}\" = set"; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39912 else
39913 cat >conftest.$ac_ext <<_ACEOF
39914 /* confdefs.h. */
39915 _ACEOF
39916 cat confdefs.h >>conftest.$ac_ext
39917 cat >>conftest.$ac_ext <<_ACEOF
39918 /* end confdefs.h. */
39919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39921 #define $ac_func innocuous_$ac_func
39922
39923 /* System header to define __stub macros and hopefully few prototypes,
39924 which can conflict with char $ac_func (); below.
39925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39926 <limits.h> exists even on freestanding compilers. */
39927
39928 #ifdef __STDC__
39929 # include <limits.h>
39930 #else
39931 # include <assert.h>
39932 #endif
39933
39934 #undef $ac_func
39935
39936 /* Override any gcc2 internal prototype to avoid an error. */
39937 #ifdef __cplusplus
39938 extern "C"
39939 {
39940 #endif
39941 /* We use char because int might match the return type of a gcc2
39942 builtin and then its argument prototype would still apply. */
39943 char $ac_func ();
39944 /* The GNU C library defines this for functions which it implements
39945 to always fail with ENOSYS. Some functions are actually named
39946 something starting with __ and the normal name is an alias. */
39947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39948 choke me
39949 #else
39950 char (*f) () = $ac_func;
39951 #endif
39952 #ifdef __cplusplus
39953 }
39954 #endif
39955
39956 int
39957 main ()
39958 {
39959 return f != $ac_func;
39960 ;
39961 return 0;
39962 }
39963 _ACEOF
39964 rm -f conftest.$ac_objext conftest$ac_exeext
39965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39966 (eval $ac_link) 2>conftest.er1
39967 ac_status=$?
39968 grep -v '^ *+' conftest.er1 >conftest.err
39969 rm -f conftest.er1
39970 cat conftest.err >&5
39971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39972 (exit $ac_status); } &&
39973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39975 (eval $ac_try) 2>&5
39976 ac_status=$?
39977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39978 (exit $ac_status); }; } &&
39979 { ac_try='test -s conftest$ac_exeext'
39980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39981 (eval $ac_try) 2>&5
39982 ac_status=$?
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); }; }; then
39985 eval "$as_ac_var=yes"
39986 else
39987 echo "$as_me: failed program was:" >&5
39988 sed 's/^/| /' conftest.$ac_ext >&5
39989
39990 eval "$as_ac_var=no"
39991 fi
39992 rm -f conftest.err conftest.$ac_objext \
39993 conftest$ac_exeext conftest.$ac_ext
39994 fi
39995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39997 if test `eval echo '${'$as_ac_var'}'` = yes; then
39998 cat >>confdefs.h <<_ACEOF
39999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40000 _ACEOF
40001 have_cos=1
40002 fi
40003 done
40004
40005
40006 for ac_func in floor
40007 do
40008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40009 echo "$as_me:$LINENO: checking for $ac_func" >&5
40010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40011 if eval "test \"\${$as_ac_var+set}\" = set"; then
40012 echo $ECHO_N "(cached) $ECHO_C" >&6
40013 else
40014 cat >conftest.$ac_ext <<_ACEOF
40015 /* confdefs.h. */
40016 _ACEOF
40017 cat confdefs.h >>conftest.$ac_ext
40018 cat >>conftest.$ac_ext <<_ACEOF
40019 /* end confdefs.h. */
40020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40022 #define $ac_func innocuous_$ac_func
40023
40024 /* System header to define __stub macros and hopefully few prototypes,
40025 which can conflict with char $ac_func (); below.
40026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40027 <limits.h> exists even on freestanding compilers. */
40028
40029 #ifdef __STDC__
40030 # include <limits.h>
40031 #else
40032 # include <assert.h>
40033 #endif
40034
40035 #undef $ac_func
40036
40037 /* Override any gcc2 internal prototype to avoid an error. */
40038 #ifdef __cplusplus
40039 extern "C"
40040 {
40041 #endif
40042 /* We use char because int might match the return type of a gcc2
40043 builtin and then its argument prototype would still apply. */
40044 char $ac_func ();
40045 /* The GNU C library defines this for functions which it implements
40046 to always fail with ENOSYS. Some functions are actually named
40047 something starting with __ and the normal name is an alias. */
40048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40049 choke me
40050 #else
40051 char (*f) () = $ac_func;
40052 #endif
40053 #ifdef __cplusplus
40054 }
40055 #endif
40056
40057 int
40058 main ()
40059 {
40060 return f != $ac_func;
40061 ;
40062 return 0;
40063 }
40064 _ACEOF
40065 rm -f conftest.$ac_objext conftest$ac_exeext
40066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40067 (eval $ac_link) 2>conftest.er1
40068 ac_status=$?
40069 grep -v '^ *+' conftest.er1 >conftest.err
40070 rm -f conftest.er1
40071 cat conftest.err >&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); } &&
40074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40076 (eval $ac_try) 2>&5
40077 ac_status=$?
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); }; } &&
40080 { ac_try='test -s conftest$ac_exeext'
40081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40082 (eval $ac_try) 2>&5
40083 ac_status=$?
40084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40085 (exit $ac_status); }; }; then
40086 eval "$as_ac_var=yes"
40087 else
40088 echo "$as_me: failed program was:" >&5
40089 sed 's/^/| /' conftest.$ac_ext >&5
40090
40091 eval "$as_ac_var=no"
40092 fi
40093 rm -f conftest.err conftest.$ac_objext \
40094 conftest$ac_exeext conftest.$ac_ext
40095 fi
40096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40098 if test `eval echo '${'$as_ac_var'}'` = yes; then
40099 cat >>confdefs.h <<_ACEOF
40100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40101 _ACEOF
40102 have_floor=1
40103 fi
40104 done
40105
40106 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40107 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40108 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40109 echo "$as_me:$LINENO: result: yes" >&5
40110 echo "${ECHO_T}yes" >&6
40111 else
40112 echo "$as_me:$LINENO: result: no" >&5
40113 echo "${ECHO_T}no" >&6
40114 LIBS="$LIBS -lm"
40115 # use different functions to avoid configure caching
40116 have_sin=0
40117 have_ceil=0
40118
40119 for ac_func in sin
40120 do
40121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40122 echo "$as_me:$LINENO: checking for $ac_func" >&5
40123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40124 if eval "test \"\${$as_ac_var+set}\" = set"; then
40125 echo $ECHO_N "(cached) $ECHO_C" >&6
40126 else
40127 cat >conftest.$ac_ext <<_ACEOF
40128 /* confdefs.h. */
40129 _ACEOF
40130 cat confdefs.h >>conftest.$ac_ext
40131 cat >>conftest.$ac_ext <<_ACEOF
40132 /* end confdefs.h. */
40133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40135 #define $ac_func innocuous_$ac_func
40136
40137 /* System header to define __stub macros and hopefully few prototypes,
40138 which can conflict with char $ac_func (); below.
40139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40140 <limits.h> exists even on freestanding compilers. */
40141
40142 #ifdef __STDC__
40143 # include <limits.h>
40144 #else
40145 # include <assert.h>
40146 #endif
40147
40148 #undef $ac_func
40149
40150 /* Override any gcc2 internal prototype to avoid an error. */
40151 #ifdef __cplusplus
40152 extern "C"
40153 {
40154 #endif
40155 /* We use char because int might match the return type of a gcc2
40156 builtin and then its argument prototype would still apply. */
40157 char $ac_func ();
40158 /* The GNU C library defines this for functions which it implements
40159 to always fail with ENOSYS. Some functions are actually named
40160 something starting with __ and the normal name is an alias. */
40161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40162 choke me
40163 #else
40164 char (*f) () = $ac_func;
40165 #endif
40166 #ifdef __cplusplus
40167 }
40168 #endif
40169
40170 int
40171 main ()
40172 {
40173 return f != $ac_func;
40174 ;
40175 return 0;
40176 }
40177 _ACEOF
40178 rm -f conftest.$ac_objext conftest$ac_exeext
40179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40180 (eval $ac_link) 2>conftest.er1
40181 ac_status=$?
40182 grep -v '^ *+' conftest.er1 >conftest.err
40183 rm -f conftest.er1
40184 cat conftest.err >&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } &&
40187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40189 (eval $ac_try) 2>&5
40190 ac_status=$?
40191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192 (exit $ac_status); }; } &&
40193 { ac_try='test -s conftest$ac_exeext'
40194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40195 (eval $ac_try) 2>&5
40196 ac_status=$?
40197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198 (exit $ac_status); }; }; then
40199 eval "$as_ac_var=yes"
40200 else
40201 echo "$as_me: failed program was:" >&5
40202 sed 's/^/| /' conftest.$ac_ext >&5
40203
40204 eval "$as_ac_var=no"
40205 fi
40206 rm -f conftest.err conftest.$ac_objext \
40207 conftest$ac_exeext conftest.$ac_ext
40208 fi
40209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40211 if test `eval echo '${'$as_ac_var'}'` = yes; then
40212 cat >>confdefs.h <<_ACEOF
40213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40214 _ACEOF
40215 have_sin=1
40216 fi
40217 done
40218
40219
40220 for ac_func in ceil
40221 do
40222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40223 echo "$as_me:$LINENO: checking for $ac_func" >&5
40224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40225 if eval "test \"\${$as_ac_var+set}\" = set"; then
40226 echo $ECHO_N "(cached) $ECHO_C" >&6
40227 else
40228 cat >conftest.$ac_ext <<_ACEOF
40229 /* confdefs.h. */
40230 _ACEOF
40231 cat confdefs.h >>conftest.$ac_ext
40232 cat >>conftest.$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40236 #define $ac_func innocuous_$ac_func
40237
40238 /* System header to define __stub macros and hopefully few prototypes,
40239 which can conflict with char $ac_func (); below.
40240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40241 <limits.h> exists even on freestanding compilers. */
40242
40243 #ifdef __STDC__
40244 # include <limits.h>
40245 #else
40246 # include <assert.h>
40247 #endif
40248
40249 #undef $ac_func
40250
40251 /* Override any gcc2 internal prototype to avoid an error. */
40252 #ifdef __cplusplus
40253 extern "C"
40254 {
40255 #endif
40256 /* We use char because int might match the return type of a gcc2
40257 builtin and then its argument prototype would still apply. */
40258 char $ac_func ();
40259 /* The GNU C library defines this for functions which it implements
40260 to always fail with ENOSYS. Some functions are actually named
40261 something starting with __ and the normal name is an alias. */
40262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40263 choke me
40264 #else
40265 char (*f) () = $ac_func;
40266 #endif
40267 #ifdef __cplusplus
40268 }
40269 #endif
40270
40271 int
40272 main ()
40273 {
40274 return f != $ac_func;
40275 ;
40276 return 0;
40277 }
40278 _ACEOF
40279 rm -f conftest.$ac_objext conftest$ac_exeext
40280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40281 (eval $ac_link) 2>conftest.er1
40282 ac_status=$?
40283 grep -v '^ *+' conftest.er1 >conftest.err
40284 rm -f conftest.er1
40285 cat conftest.err >&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); } &&
40288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40291 ac_status=$?
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; } &&
40294 { ac_try='test -s conftest$ac_exeext'
40295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296 (eval $ac_try) 2>&5
40297 ac_status=$?
40298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299 (exit $ac_status); }; }; then
40300 eval "$as_ac_var=yes"
40301 else
40302 echo "$as_me: failed program was:" >&5
40303 sed 's/^/| /' conftest.$ac_ext >&5
40304
40305 eval "$as_ac_var=no"
40306 fi
40307 rm -f conftest.err conftest.$ac_objext \
40308 conftest$ac_exeext conftest.$ac_ext
40309 fi
40310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40312 if test `eval echo '${'$as_ac_var'}'` = yes; then
40313 cat >>confdefs.h <<_ACEOF
40314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40315 _ACEOF
40316 have_ceil=1
40317 fi
40318 done
40319
40320 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40321 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40322 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40323 echo "$as_me:$LINENO: result: yes" >&5
40324 echo "${ECHO_T}yes" >&6
40325 else
40326 echo "$as_me:$LINENO: result: no" >&5
40327 echo "${ECHO_T}no" >&6
40328 # not sure we should warn the user, crash, etc.
40329 fi
40330 fi
40331
40332 if test "$wxUSE_GUI" = "yes"; then
40333
40334
40335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40336 dynamic erase event exec font image minimal mobile \
40337 mobile/wxedit mobile/styles propsize render \
40338 richedit rotate shaped vscroll widgets"
40339
40340 if test "$wxUSE_MONOLITHIC" != "yes"; then
40341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
40342 fi
40343 if test "$TOOLKIT" = "MSW"; then
40344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
40345 if test "$wxUSE_UNIVERSAL" != "yes"; then
40346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40347 fi
40348 fi
40349 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
40351 fi
40352 else
40353 SAMPLES_SUBDIRS="console"
40354 fi
40355
40356
40357 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40358 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40359
40360 if test "$GXX" = yes ; then
40361 CWARNINGS="-Wall"
40362 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
40363 fi
40364
40365 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40366
40367 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40368 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40369 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40370
40371 if test "x$MWCC" = "xyes"; then
40372
40373 CC="$CC -cwd source -I-"
40374 CXX="$CXX -cwd source -I-"
40375 fi
40376
40377
40378 LIBS=`echo $LIBS`
40379 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40380 EXTRALIBS_XML="$EXPAT_LINK"
40381 EXTRALIBS_HTML="$MSPACK_LINK"
40382 EXTRALIBS_ODBC="$ODBC_LINK"
40383 if test "$wxUSE_GUI" = "yes"; then
40384 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40385 fi
40386 if test "$wxUSE_OPENGL" = "yes"; then
40387 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
40388 fi
40389
40390 LDFLAGS="$LDFLAGS $PROFILE"
40391
40392 if test "$wxUSE_GTK" = 1; then
40393 WXCONFIG_INCLUDE=
40394 else
40395 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
40396 fi
40397
40398 WXCONFIG_EXTRALIBS="$LIBS"
40399
40400 if test "$wxUSE_REGEX" = "builtin" ; then
40401 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40402 fi
40403 if test "$wxUSE_EXPAT" = "builtin" ; then
40404 wxconfig_3rdparty="$wxconfig_3rdparty expat"
40405 fi
40406 if test "$wxUSE_ODBC" = "builtin" ; then
40407 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40408 fi
40409 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40410 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
40411 fi
40412 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40413 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
40414 fi
40415 if test "$wxUSE_LIBPNG" = "builtin" ; then
40416 wxconfig_3rdparty="$wxconfig_3rdparty png"
40417 fi
40418 if test "$wxUSE_ZLIB" = "builtin" ; then
40419 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
40420 fi
40421 if test "$wxUSE_ODBC" = "builtin" ; then
40422 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40423 fi
40424
40425 for i in $wxconfig_3rdparty ; do
40426 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40427 done
40428
40429
40430 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40431 WXUNIV=1
40432 else
40433 WXUNIV=0
40434 fi
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444 if test $wxUSE_MONOLITHIC = "yes" ; then
40445 MONOLITHIC=1
40446 else
40447 MONOLITHIC=0
40448 fi
40449
40450 if test $wxUSE_PLUGINS = "yes" ; then
40451 USE_PLUGINS=1
40452 else
40453 USE_PLUGINS=0
40454 fi
40455
40456 if test $wxUSE_ODBC != "no" ; then
40457 USE_ODBC=1
40458 else
40459 USE_ODBC=0
40460 fi
40461
40462 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40463 USE_QA=1
40464 else
40465 USE_QA=0
40466 fi
40467
40468 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40469 OFFICIAL_BUILD=1
40470 else
40471 OFFICIAL_BUILD=0
40472 fi
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40497
40498
40499
40500
40501
40502
40503
40504
40505 case "$TOOLKIT" in
40506 GTK)
40507 TOOLKIT_USER="GTK+"
40508 if test "$WXGTK20" = 1; then
40509 TOOLKIT_USER="$TOOLKIT_USER 2"
40510 fi
40511 ;;
40512
40513 *)
40514 TOOLKIT_USER=$TOOLKIT_LOWERCASE
40515 ;;
40516 esac
40517
40518
40519
40520
40521 if test "x$BAKEFILE_HOST" = "x"; then
40522 BAKEFILE_HOST="${host}"
40523 fi
40524
40525 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40526
40527 if test -n "$ac_tool_prefix"; then
40528 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40529 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
40530 echo "$as_me:$LINENO: checking for $ac_word" >&5
40531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40532 if test "${ac_cv_prog_RANLIB+set}" = set; then
40533 echo $ECHO_N "(cached) $ECHO_C" >&6
40534 else
40535 if test -n "$RANLIB"; then
40536 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
40537 else
40538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40539 for as_dir in $PATH
40540 do
40541 IFS=$as_save_IFS
40542 test -z "$as_dir" && as_dir=.
40543 for ac_exec_ext in '' $ac_executable_extensions; do
40544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40545 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
40546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40547 break 2
40548 fi
40549 done
40550 done
40551
40552 fi
40553 fi
40554 RANLIB=$ac_cv_prog_RANLIB
40555 if test -n "$RANLIB"; then
40556 echo "$as_me:$LINENO: result: $RANLIB" >&5
40557 echo "${ECHO_T}$RANLIB" >&6
40558 else
40559 echo "$as_me:$LINENO: result: no" >&5
40560 echo "${ECHO_T}no" >&6
40561 fi
40562
40563 fi
40564 if test -z "$ac_cv_prog_RANLIB"; then
40565 ac_ct_RANLIB=$RANLIB
40566 # Extract the first word of "ranlib", so it can be a program name with args.
40567 set dummy ranlib; ac_word=$2
40568 echo "$as_me:$LINENO: checking for $ac_word" >&5
40569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40570 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40571 echo $ECHO_N "(cached) $ECHO_C" >&6
40572 else
40573 if test -n "$ac_ct_RANLIB"; then
40574 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
40575 else
40576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40577 for as_dir in $PATH
40578 do
40579 IFS=$as_save_IFS
40580 test -z "$as_dir" && as_dir=.
40581 for ac_exec_ext in '' $ac_executable_extensions; do
40582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40583 ac_cv_prog_ac_ct_RANLIB="ranlib"
40584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40585 break 2
40586 fi
40587 done
40588 done
40589
40590 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
40591 fi
40592 fi
40593 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
40594 if test -n "$ac_ct_RANLIB"; then
40595 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40596 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40597 else
40598 echo "$as_me:$LINENO: result: no" >&5
40599 echo "${ECHO_T}no" >&6
40600 fi
40601
40602 RANLIB=$ac_ct_RANLIB
40603 else
40604 RANLIB="$ac_cv_prog_RANLIB"
40605 fi
40606
40607 # Find a good install program. We prefer a C program (faster),
40608 # so one script is as good as another. But avoid the broken or
40609 # incompatible versions:
40610 # SysV /etc/install, /usr/sbin/install
40611 # SunOS /usr/etc/install
40612 # IRIX /sbin/install
40613 # AIX /bin/install
40614 # AmigaOS /C/install, which installs bootblocks on floppy discs
40615 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40616 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40617 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40618 # OS/2's system install, which has a completely different semantic
40619 # ./install, which can be erroneously created by make from ./install.sh.
40620 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40621 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40622 if test -z "$INSTALL"; then
40623 if test "${ac_cv_path_install+set}" = set; then
40624 echo $ECHO_N "(cached) $ECHO_C" >&6
40625 else
40626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40627 for as_dir in $PATH
40628 do
40629 IFS=$as_save_IFS
40630 test -z "$as_dir" && as_dir=.
40631 # Account for people who put trailing slashes in PATH elements.
40632 case $as_dir/ in
40633 ./ | .// | /cC/* | \
40634 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40635 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40636 /usr/ucb/* ) ;;
40637 *)
40638 # OSF1 and SCO ODT 3.0 have their own names for install.
40639 # Don't use installbsd from OSF since it installs stuff as root
40640 # by default.
40641 for ac_prog in ginstall scoinst install; do
40642 for ac_exec_ext in '' $ac_executable_extensions; do
40643 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40644 if test $ac_prog = install &&
40645 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40646 # AIX install. It has an incompatible calling convention.
40647 :
40648 elif test $ac_prog = install &&
40649 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40650 # program-specific install script used by HP pwplus--don't use.
40651 :
40652 else
40653 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40654 break 3
40655 fi
40656 fi
40657 done
40658 done
40659 ;;
40660 esac
40661 done
40662
40663
40664 fi
40665 if test "${ac_cv_path_install+set}" = set; then
40666 INSTALL=$ac_cv_path_install
40667 else
40668 # As a last resort, use the slow shell script. We don't cache a
40669 # path for INSTALL within a source directory, because that will
40670 # break other packages using the cache if that directory is
40671 # removed, or if the path is relative.
40672 INSTALL=$ac_install_sh
40673 fi
40674 fi
40675 echo "$as_me:$LINENO: result: $INSTALL" >&5
40676 echo "${ECHO_T}$INSTALL" >&6
40677
40678 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40679 # It thinks the first close brace ends the variable substitution.
40680 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
40681
40682 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
40683
40684 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
40685
40686 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40687 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40688 LN_S=$as_ln_s
40689 if test "$LN_S" = "ln -s"; then
40690 echo "$as_me:$LINENO: result: yes" >&5
40691 echo "${ECHO_T}yes" >&6
40692 else
40693 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40694 echo "${ECHO_T}no, using $LN_S" >&6
40695 fi
40696
40697
40698 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40699 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40700 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40701 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40702 echo $ECHO_N "(cached) $ECHO_C" >&6
40703 else
40704 cat >conftest.make <<\_ACEOF
40705 all:
40706 @echo 'ac_maketemp="$(MAKE)"'
40707 _ACEOF
40708 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40709 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40710 if test -n "$ac_maketemp"; then
40711 eval ac_cv_prog_make_${ac_make}_set=yes
40712 else
40713 eval ac_cv_prog_make_${ac_make}_set=no
40714 fi
40715 rm -f conftest.make
40716 fi
40717 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40718 echo "$as_me:$LINENO: result: yes" >&5
40719 echo "${ECHO_T}yes" >&6
40720 SET_MAKE=
40721 else
40722 echo "$as_me:$LINENO: result: no" >&5
40723 echo "${ECHO_T}no" >&6
40724 SET_MAKE="MAKE=${MAKE-make}"
40725 fi
40726
40727
40728
40729 if test -n "$ac_tool_prefix"; then
40730 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40731 set dummy ${ac_tool_prefix}ar; ac_word=$2
40732 echo "$as_me:$LINENO: checking for $ac_word" >&5
40733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40734 if test "${ac_cv_prog_AR+set}" = set; then
40735 echo $ECHO_N "(cached) $ECHO_C" >&6
40736 else
40737 if test -n "$AR"; then
40738 ac_cv_prog_AR="$AR" # Let the user override the test.
40739 else
40740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40741 for as_dir in $PATH
40742 do
40743 IFS=$as_save_IFS
40744 test -z "$as_dir" && as_dir=.
40745 for ac_exec_ext in '' $ac_executable_extensions; do
40746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40747 ac_cv_prog_AR="${ac_tool_prefix}ar"
40748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40749 break 2
40750 fi
40751 done
40752 done
40753
40754 fi
40755 fi
40756 AR=$ac_cv_prog_AR
40757 if test -n "$AR"; then
40758 echo "$as_me:$LINENO: result: $AR" >&5
40759 echo "${ECHO_T}$AR" >&6
40760 else
40761 echo "$as_me:$LINENO: result: no" >&5
40762 echo "${ECHO_T}no" >&6
40763 fi
40764
40765 fi
40766 if test -z "$ac_cv_prog_AR"; then
40767 ac_ct_AR=$AR
40768 # Extract the first word of "ar", so it can be a program name with args.
40769 set dummy ar; ac_word=$2
40770 echo "$as_me:$LINENO: checking for $ac_word" >&5
40771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40772 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 else
40775 if test -n "$ac_ct_AR"; then
40776 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
40777 else
40778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40779 for as_dir in $PATH
40780 do
40781 IFS=$as_save_IFS
40782 test -z "$as_dir" && as_dir=.
40783 for ac_exec_ext in '' $ac_executable_extensions; do
40784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40785 ac_cv_prog_ac_ct_AR="ar"
40786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40787 break 2
40788 fi
40789 done
40790 done
40791
40792 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
40793 fi
40794 fi
40795 ac_ct_AR=$ac_cv_prog_ac_ct_AR
40796 if test -n "$ac_ct_AR"; then
40797 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40798 echo "${ECHO_T}$ac_ct_AR" >&6
40799 else
40800 echo "$as_me:$LINENO: result: no" >&5
40801 echo "${ECHO_T}no" >&6
40802 fi
40803
40804 AR=$ac_ct_AR
40805 else
40806 AR="$ac_cv_prog_AR"
40807 fi
40808
40809 if test -n "$ac_tool_prefix"; then
40810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40811 set dummy ${ac_tool_prefix}strip; ac_word=$2
40812 echo "$as_me:$LINENO: checking for $ac_word" >&5
40813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40814 if test "${ac_cv_prog_STRIP+set}" = set; then
40815 echo $ECHO_N "(cached) $ECHO_C" >&6
40816 else
40817 if test -n "$STRIP"; then
40818 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
40819 else
40820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40821 for as_dir in $PATH
40822 do
40823 IFS=$as_save_IFS
40824 test -z "$as_dir" && as_dir=.
40825 for ac_exec_ext in '' $ac_executable_extensions; do
40826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40827 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
40828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40829 break 2
40830 fi
40831 done
40832 done
40833
40834 fi
40835 fi
40836 STRIP=$ac_cv_prog_STRIP
40837 if test -n "$STRIP"; then
40838 echo "$as_me:$LINENO: result: $STRIP" >&5
40839 echo "${ECHO_T}$STRIP" >&6
40840 else
40841 echo "$as_me:$LINENO: result: no" >&5
40842 echo "${ECHO_T}no" >&6
40843 fi
40844
40845 fi
40846 if test -z "$ac_cv_prog_STRIP"; then
40847 ac_ct_STRIP=$STRIP
40848 # Extract the first word of "strip", so it can be a program name with args.
40849 set dummy strip; ac_word=$2
40850 echo "$as_me:$LINENO: checking for $ac_word" >&5
40851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40852 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40853 echo $ECHO_N "(cached) $ECHO_C" >&6
40854 else
40855 if test -n "$ac_ct_STRIP"; then
40856 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
40857 else
40858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40859 for as_dir in $PATH
40860 do
40861 IFS=$as_save_IFS
40862 test -z "$as_dir" && as_dir=.
40863 for ac_exec_ext in '' $ac_executable_extensions; do
40864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40865 ac_cv_prog_ac_ct_STRIP="strip"
40866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40867 break 2
40868 fi
40869 done
40870 done
40871
40872 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
40873 fi
40874 fi
40875 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
40876 if test -n "$ac_ct_STRIP"; then
40877 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40878 echo "${ECHO_T}$ac_ct_STRIP" >&6
40879 else
40880 echo "$as_me:$LINENO: result: no" >&5
40881 echo "${ECHO_T}no" >&6
40882 fi
40883
40884 STRIP=$ac_ct_STRIP
40885 else
40886 STRIP="$ac_cv_prog_STRIP"
40887 fi
40888
40889 if test -n "$ac_tool_prefix"; then
40890 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40891 set dummy ${ac_tool_prefix}nm; ac_word=$2
40892 echo "$as_me:$LINENO: checking for $ac_word" >&5
40893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40894 if test "${ac_cv_prog_NM+set}" = set; then
40895 echo $ECHO_N "(cached) $ECHO_C" >&6
40896 else
40897 if test -n "$NM"; then
40898 ac_cv_prog_NM="$NM" # Let the user override the test.
40899 else
40900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40901 for as_dir in $PATH
40902 do
40903 IFS=$as_save_IFS
40904 test -z "$as_dir" && as_dir=.
40905 for ac_exec_ext in '' $ac_executable_extensions; do
40906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40907 ac_cv_prog_NM="${ac_tool_prefix}nm"
40908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40909 break 2
40910 fi
40911 done
40912 done
40913
40914 fi
40915 fi
40916 NM=$ac_cv_prog_NM
40917 if test -n "$NM"; then
40918 echo "$as_me:$LINENO: result: $NM" >&5
40919 echo "${ECHO_T}$NM" >&6
40920 else
40921 echo "$as_me:$LINENO: result: no" >&5
40922 echo "${ECHO_T}no" >&6
40923 fi
40924
40925 fi
40926 if test -z "$ac_cv_prog_NM"; then
40927 ac_ct_NM=$NM
40928 # Extract the first word of "nm", so it can be a program name with args.
40929 set dummy nm; ac_word=$2
40930 echo "$as_me:$LINENO: checking for $ac_word" >&5
40931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40932 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40934 else
40935 if test -n "$ac_ct_NM"; then
40936 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
40937 else
40938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40939 for as_dir in $PATH
40940 do
40941 IFS=$as_save_IFS
40942 test -z "$as_dir" && as_dir=.
40943 for ac_exec_ext in '' $ac_executable_extensions; do
40944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40945 ac_cv_prog_ac_ct_NM="nm"
40946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40947 break 2
40948 fi
40949 done
40950 done
40951
40952 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
40953 fi
40954 fi
40955 ac_ct_NM=$ac_cv_prog_ac_ct_NM
40956 if test -n "$ac_ct_NM"; then
40957 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40958 echo "${ECHO_T}$ac_ct_NM" >&6
40959 else
40960 echo "$as_me:$LINENO: result: no" >&5
40961 echo "${ECHO_T}no" >&6
40962 fi
40963
40964 NM=$ac_ct_NM
40965 else
40966 NM="$ac_cv_prog_NM"
40967 fi
40968
40969
40970 case ${BAKEFILE_HOST} in
40971 *-hp-hpux* )
40972 INSTALL_DIR="mkdir -p"
40973 ;;
40974 *) INSTALL_DIR="$INSTALL -d"
40975 ;;
40976 esac
40977
40978
40979 LDFLAGS_GUI=
40980 case ${BAKEFILE_HOST} in
40981 *-*-cygwin* | *-*-mingw32* )
40982 LDFLAGS_GUI="-mwindows"
40983 esac
40984
40985
40986 fi
40987
40988 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40989 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40990 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40992 else
40993
40994 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
40995 egrep -s GNU > /dev/null); then
40996 bakefile_cv_prog_makeisgnu="yes"
40997 else
40998 bakefile_cv_prog_makeisgnu="no"
40999 fi
41000
41001 fi
41002 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41003 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41004
41005 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41006 IF_GNU_MAKE=""
41007 else
41008 IF_GNU_MAKE="#"
41009 fi
41010
41011
41012
41013 PLATFORM_UNIX=0
41014 PLATFORM_WIN32=0
41015 PLATFORM_MSDOS=0
41016 PLATFORM_MAC=0
41017 PLATFORM_MACOS=0
41018 PLATFORM_MACOSX=0
41019 PLATFORM_OS2=0
41020 PLATFORM_BEOS=0
41021
41022 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41023 case "${BAKEFILE_HOST}" in
41024 *-*-cygwin* | *-*-mingw32* )
41025 PLATFORM_WIN32=1
41026 ;;
41027 *-pc-msdosdjgpp )
41028 PLATFORM_MSDOS=1
41029 ;;
41030 *-pc-os2_emx | *-pc-os2-emx )
41031 PLATFORM_OS2=1
41032 ;;
41033 powerpc-*-darwin* )
41034 PLATFORM_MAC=1
41035 PLATFORM_MACOSX=1
41036 ;;
41037 *-*-beos* )
41038 PLATFORM_BEOS=1
41039 ;;
41040 powerpc-apple-macos* )
41041 PLATFORM_MAC=1
41042 PLATFORM_MACOS=1
41043 ;;
41044 * )
41045 PLATFORM_UNIX=1
41046 ;;
41047 esac
41048 else
41049 case "$BAKEFILE_FORCE_PLATFORM" in
41050 win32 )
41051 PLATFORM_WIN32=1
41052 ;;
41053 msdos )
41054 PLATFORM_MSDOS=1
41055 ;;
41056 os2 )
41057 PLATFORM_OS2=1
41058 ;;
41059 darwin )
41060 PLATFORM_MAC=1
41061 PLATFORM_MACOSX=1
41062 ;;
41063 unix )
41064 PLATFORM_UNIX=1
41065 ;;
41066 beos )
41067 PLATFORM_BEOS=1
41068 ;;
41069 * )
41070 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41071 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41072 { (exit 1); exit 1; }; }
41073 ;;
41074 esac
41075 fi
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087 # Check whether --enable-omf or --disable-omf was given.
41088 if test "${enable_omf+set}" = set; then
41089 enableval="$enable_omf"
41090 bk_os2_use_omf="$enableval"
41091 fi;
41092
41093 case "${BAKEFILE_HOST}" in
41094 *-*-darwin* )
41095 CFLAGS="$CFLAGS -fno-common"
41096 CXXFLAGS="$CXXFLAGS -fno-common"
41097 ;;
41098
41099 *-pc-os2_emx | *-pc-os2-emx )
41100 if test "x$bk_os2_use_omf" = "xyes" ; then
41101 AR=emxomfar
41102 RANLIB=:
41103 LDFLAGS="-Zomf $LDFLAGS"
41104 CFLAGS="-Zomf $CFLAGS"
41105 CXXFLAGS="-Zomf $CXXFLAGS"
41106 OS2_LIBEXT="lib"
41107 else
41108 OS2_LIBEXT="a"
41109 fi
41110 ;;
41111
41112 i*86-*-beos* )
41113 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41114 ;;
41115 esac
41116
41117
41118 SO_SUFFIX="so"
41119 SO_SUFFIX_MODULE="so"
41120 EXEEXT=""
41121 LIBPREFIX="lib"
41122 LIBEXT=".a"
41123 DLLPREFIX="lib"
41124 DLLPREFIX_MODULE=""
41125 DLLIMP_SUFFIX=""
41126
41127 case "${BAKEFILE_HOST}" in
41128 *-hp-hpux* )
41129 SO_SUFFIX="sl"
41130 SO_SUFFIX_MODULE="sl"
41131 ;;
41132 *-*-aix* )
41133 SO_SUFFIX="a"
41134 SO_SUFFIX_MODULE="a"
41135 ;;
41136 *-*-cygwin* | *-*-mingw32* )
41137 SO_SUFFIX="dll"
41138 SO_SUFFIX_MODULE="dll"
41139 DLLIMP_SUFFIX="dll.a"
41140 EXEEXT=".exe"
41141 DLLPREFIX=""
41142 ;;
41143 *-pc-msdosdjgpp )
41144 EXEEXT=".exe"
41145 DLLPREFIX=""
41146 ;;
41147 *-pc-os2_emx | *-pc-os2-emx )
41148 SO_SUFFIX="dll"
41149 SO_SUFFIX_MODULE="dll"
41150 DLLIMP_SUFFIX=$OS2_LIBEXT
41151 EXEEXT=".exe"
41152 DLLPREFIX=""
41153 LIBPREFIX=""
41154 LIBEXT=".$OS2_LIBEXT"
41155 ;;
41156 powerpc-*-darwin* )
41157 SO_SUFFIX="dylib"
41158 SO_SUFFIX_MODULE="bundle"
41159 ;;
41160 esac
41161
41162 if test "x$DLLIMP_SUFFIX" = "x" ; then
41163 DLLIMP_SUFFIX="$SO_SUFFIX"
41164 fi
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176 PIC_FLAG=""
41177 if test "x$GCC" = "xyes"; then
41178 PIC_FLAG="-fPIC"
41179 fi
41180
41181 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41182 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41183
41184 case "${BAKEFILE_HOST}" in
41185 *-hp-hpux* )
41186 if test "x$GCC" != "xyes"; then
41187 LDFLAGS="$LDFLAGS -L/usr/lib"
41188
41189 SHARED_LD_CC="${CC} -b -o"
41190 SHARED_LD_CXX="${CXX} -b -o"
41191 PIC_FLAG="+Z"
41192 fi
41193 ;;
41194
41195 *-*-linux* )
41196 if test "x$GCC" != "xyes"; then
41197 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41198 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41199 if test "${bakefile_cv_prog_icc+set}" = set; then
41200 echo $ECHO_N "(cached) $ECHO_C" >&6
41201 else
41202
41203 cat >conftest.$ac_ext <<_ACEOF
41204 /* confdefs.h. */
41205 _ACEOF
41206 cat confdefs.h >>conftest.$ac_ext
41207 cat >>conftest.$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41209
41210 int
41211 main ()
41212 {
41213
41214 #ifndef __INTEL_COMPILER
41215 #error Not icc
41216 #endif
41217
41218 ;
41219 return 0;
41220 }
41221 _ACEOF
41222 rm -f conftest.$ac_objext
41223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41224 (eval $ac_compile) 2>conftest.er1
41225 ac_status=$?
41226 grep -v '^ *+' conftest.er1 >conftest.err
41227 rm -f conftest.er1
41228 cat conftest.err >&5
41229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41230 (exit $ac_status); } &&
41231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41233 (eval $ac_try) 2>&5
41234 ac_status=$?
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); }; } &&
41237 { ac_try='test -s conftest.$ac_objext'
41238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41239 (eval $ac_try) 2>&5
41240 ac_status=$?
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); }; }; then
41243 bakefile_cv_prog_icc=yes
41244 else
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41247
41248 bakefile_cv_prog_icc=no
41249
41250 fi
41251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41252
41253 fi
41254 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41255 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41256 if test "$bakefile_cv_prog_icc" = "yes"; then
41257 PIC_FLAG="-KPIC"
41258 fi
41259 fi
41260 ;;
41261
41262 *-*-solaris2* )
41263 if test "x$GCC" != xyes ; then
41264 SHARED_LD_CC="${CC} -G -o"
41265 SHARED_LD_CXX="${CXX} -G -o"
41266 PIC_FLAG="-KPIC"
41267 fi
41268 ;;
41269
41270 *-*-darwin* )
41271
41272 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41273 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41274 if test "${wx_cv_gcc31+set}" = set; then
41275 echo $ECHO_N "(cached) $ECHO_C" >&6
41276 else
41277
41278 cat >conftest.$ac_ext <<_ACEOF
41279 /* confdefs.h. */
41280 _ACEOF
41281 cat confdefs.h >>conftest.$ac_ext
41282 cat >>conftest.$ac_ext <<_ACEOF
41283 /* end confdefs.h. */
41284
41285 int
41286 main ()
41287 {
41288
41289 #if (__GNUC__ < 3) || \
41290 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41291 #error old gcc
41292 #endif
41293
41294 ;
41295 return 0;
41296 }
41297 _ACEOF
41298 rm -f conftest.$ac_objext
41299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41300 (eval $ac_compile) 2>conftest.er1
41301 ac_status=$?
41302 grep -v '^ *+' conftest.er1 >conftest.err
41303 rm -f conftest.er1
41304 cat conftest.err >&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); } &&
41307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41309 (eval $ac_try) 2>&5
41310 ac_status=$?
41311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41312 (exit $ac_status); }; } &&
41313 { ac_try='test -s conftest.$ac_objext'
41314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41315 (eval $ac_try) 2>&5
41316 ac_status=$?
41317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41318 (exit $ac_status); }; }; then
41319
41320 wx_cv_gcc31=yes
41321
41322 else
41323 echo "$as_me: failed program was:" >&5
41324 sed 's/^/| /' conftest.$ac_ext >&5
41325
41326
41327 wx_cv_gcc31=no
41328
41329
41330 fi
41331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41332
41333 fi
41334 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41335 echo "${ECHO_T}$wx_cv_gcc31" >&6
41336 if test "$wx_cv_gcc31" = "no"; then
41337
41338 D='$'
41339 cat <<EOF >shared-ld-sh
41340 #!/bin/sh
41341 #-----------------------------------------------------------------------------
41342 #-- Name: distrib/mac/shared-ld-sh
41343 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41344 #-- Author: Gilles Depeyrot
41345 #-- Copyright: (c) 2002 Gilles Depeyrot
41346 #-- Licence: any use permitted
41347 #-----------------------------------------------------------------------------
41348
41349 verbose=0
41350 args=""
41351 objects=""
41352 linking_flag="-dynamiclib"
41353
41354 while test ${D}# -gt 0; do
41355 case ${D}1 in
41356
41357 -v)
41358 verbose=1
41359 ;;
41360
41361 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41362 # collect these options and values
41363 args="${D}{args} ${D}1 ${D}2"
41364 shift
41365 ;;
41366
41367 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41368 # collect these options
41369 args="${D}{args} ${D}1"
41370 ;;
41371
41372 -dynamiclib|-bundle)
41373 linking_flag="${D}1"
41374 ;;
41375
41376 -*)
41377 echo "shared-ld: unhandled option '${D}1'"
41378 exit 1
41379 ;;
41380
41381 *.o | *.a | *.dylib)
41382 # collect object files
41383 objects="${D}{objects} ${D}1"
41384 ;;
41385
41386 *)
41387 echo "shared-ld: unhandled argument '${D}1'"
41388 exit 1
41389 ;;
41390
41391 esac
41392 shift
41393 done
41394
41395 #
41396 # Link one module containing all the others
41397 #
41398 if test ${D}{verbose} = 1; then
41399 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41400 fi
41401 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41402 status=${D}?
41403 if test ${D}{status} != 0; then
41404 exit ${D}{status}
41405 fi
41406
41407 #
41408 # Link the shared library from the single module created
41409 #
41410 if test ${D}{verbose} = 1; then
41411 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41412 fi
41413 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41414 status=${D}?
41415 if test ${D}{status} != 0; then
41416 exit ${D}{status}
41417 fi
41418
41419 #
41420 # Remove intermediate module
41421 #
41422 rm -f master.${D}${D}.o
41423
41424 exit 0
41425 EOF
41426
41427 chmod +x shared-ld-sh
41428
41429 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41430 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41431 SHARED_LD_CXX="$SHARED_LD_CC"
41432 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
41433 else
41434 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41435 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41436 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41437 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41438 fi
41439
41440 PIC_FLAG="-dynamic -fPIC"
41441 ;;
41442
41443 *-*-aix* )
41444 if test "x$GCC" != "xyes"; then
41445 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41446 set dummy makeC++SharedLib; ac_word=$2
41447 echo "$as_me:$LINENO: checking for $ac_word" >&5
41448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41449 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41450 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 else
41452 if test -n "$AIX_CXX_LD"; then
41453 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
41454 else
41455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41456 for as_dir in $PATH
41457 do
41458 IFS=$as_save_IFS
41459 test -z "$as_dir" && as_dir=.
41460 for ac_exec_ext in '' $ac_executable_extensions; do
41461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41462 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
41463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41464 break 2
41465 fi
41466 done
41467 done
41468
41469 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
41470 fi
41471 fi
41472 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
41473 if test -n "$AIX_CXX_LD"; then
41474 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41475 echo "${ECHO_T}$AIX_CXX_LD" >&6
41476 else
41477 echo "$as_me:$LINENO: result: no" >&5
41478 echo "${ECHO_T}no" >&6
41479 fi
41480
41481 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
41482 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
41483 fi
41484 ;;
41485
41486 *-*-beos* )
41487 SHARED_LD_CC="${LD} -nostart -o"
41488 SHARED_LD_CXX="${LD} -nostart -o"
41489 ;;
41490
41491 *-*-irix* )
41492 if test "x$GCC" != "xyes"; then
41493 PIC_FLAG="-KPIC"
41494 fi
41495 ;;
41496
41497 *-*-cygwin* | *-*-mingw32* )
41498 PIC_FLAG=""
41499 SHARED_LD_CC="\$(CC) -shared -o"
41500 SHARED_LD_CXX="\$(CXX) -shared -o"
41501 ;;
41502
41503 *-pc-os2_emx | *-pc-os2-emx )
41504 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41505 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41506 PIC_FLAG=""
41507
41508 D='$'
41509 cat <<EOF >dllar.sh
41510 #!/bin/sh
41511 #
41512 # dllar - a tool to build both a .dll and an .a file
41513 # from a set of object (.o) files for EMX/OS2.
41514 #
41515 # Written by Andrew Zabolotny, bit@freya.etu.ru
41516 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41517 #
41518 # This script will accept a set of files on the command line.
41519 # All the public symbols from the .o files will be exported into
41520 # a .DEF file, then linker will be run (through gcc) against them to
41521 # build a shared library consisting of all given .o files. All libraries
41522 # (.a) will be first decompressed into component .o files then act as
41523 # described above. You can optionally give a description (-d "description")
41524 # which will be put into .DLL. To see the list of accepted options (as well
41525 # as command-line format) simply run this program without options. The .DLL
41526 # is built to be imported by name (there is no guarantee that new versions
41527 # of the library you build will have same ordinals for same symbols).
41528 #
41529 # dllar is free software; you can redistribute it and/or modify
41530 # it under the terms of the GNU General Public License as published by
41531 # the Free Software Foundation; either version 2, or (at your option)
41532 # any later version.
41533 #
41534 # dllar is distributed in the hope that it will be useful,
41535 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41536 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41537 # GNU General Public License for more details.
41538 #
41539 # You should have received a copy of the GNU General Public License
41540 # along with dllar; see the file COPYING. If not, write to the Free
41541 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41542 # 02111-1307, USA.
41543
41544 # To successfuly run this program you will need:
41545 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41546 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41547 # - gcc
41548 # (used to build the .dll)
41549 # - emxexp
41550 # (used to create .def file from .o files)
41551 # - emximp
41552 # (used to create .a file from .def file)
41553 # - GNU text utilites (cat, sort, uniq)
41554 # used to process emxexp output
41555 # - GNU file utilities (mv, rm)
41556 # - GNU sed
41557 # - lxlite (optional, see flag below)
41558 # (used for general .dll cleanup)
41559 #
41560
41561 flag_USE_LXLITE=1;
41562
41563 #
41564 # helper functions
41565 # basnam, variant of basename, which does _not_ remove the path, _iff_
41566 # second argument (suffix to remove) is given
41567 basnam(){
41568 case ${D}# in
41569 1)
41570 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41571 ;;
41572 2)
41573 echo ${D}1 | sed 's/'${D}2'${D}//'
41574 ;;
41575 *)
41576 echo "error in basnam ${D}*"
41577 exit 8
41578 ;;
41579 esac
41580 }
41581
41582 # Cleanup temporary files and output
41583 CleanUp() {
41584 cd ${D}curDir
41585 for i in ${D}inputFiles ; do
41586 case ${D}i in
41587 *!)
41588 rm -rf \`basnam ${D}i !\`
41589 ;;
41590 *)
41591 ;;
41592 esac
41593 done
41594
41595 # Kill result in case of failure as there is just to many stupid make/nmake
41596 # things out there which doesn't do this.
41597 if [ ${D}# -eq 0 ]; then
41598 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41599 fi
41600 }
41601
41602 # Print usage and exit script with rc=1.
41603 PrintHelp() {
41604 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41605 echo ' [-name-mangler-script script.sh]'
41606 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41607 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41608 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41609 echo ' [*.o] [*.a]'
41610 echo '*> "output_file" should have no extension.'
41611 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41612 echo ' The import library name is derived from this and is set to "name".a,'
41613 echo ' unless overridden by -import'
41614 echo '*> "importlib_name" should have no extension.'
41615 echo ' If it has the .o, or .a extension, it is automatically removed.'
41616 echo ' This name is used as the import library name and may be longer and'
41617 echo ' more descriptive than the DLL name which has to follow the old '
41618 echo ' 8.3 convention of FAT.'
41619 echo '*> "script.sh may be given to override the output_file name by a'
41620 echo ' different name. It is mainly useful if the regular make process'
41621 echo ' of some package does not take into account OS/2 restriction of'
41622 echo ' DLL name lengths. It takes the importlib name as input and is'
41623 echo ' supposed to procude a shorter name as output. The script should'
41624 echo ' expect to get importlib_name without extension and should produce'
41625 echo ' a (max.) 8 letter name without extension.'
41626 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41627 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41628 echo ' These flags will be put at the start of GCC command line.'
41629 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41630 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41631 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41632 echo ' If the last character of a symbol is "*", all symbols beginning'
41633 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41634 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41635 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41636 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41637 echo ' C runtime DLLs.'
41638 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41639 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41640 echo ' unchanged to GCC at the end of command line.'
41641 echo '*> If you create a DLL from a library and you do not specify -o,'
41642 echo ' the basename for DLL and import library will be set to library name,'
41643 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41644 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41645 echo ' library will be renamed into gcc_s.a.'
41646 echo '--------'
41647 echo 'Example:'
41648 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41649 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41650 CleanUp
41651 exit 1
41652 }
41653
41654 # Execute a command.
41655 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41656 # @Uses Whatever CleanUp() uses.
41657 doCommand() {
41658 echo "${D}*"
41659 eval ${D}*
41660 rcCmd=${D}?
41661
41662 if [ ${D}rcCmd -ne 0 ]; then
41663 echo "command failed, exit code="${D}rcCmd
41664 CleanUp
41665 exit ${D}rcCmd
41666 fi
41667 }
41668
41669 # main routine
41670 # setup globals
41671 cmdLine=${D}*
41672 outFile=""
41673 outimpFile=""
41674 inputFiles=""
41675 renameScript=""
41676 description=""
41677 CC=gcc.exe
41678 CFLAGS="-s -Zcrtdll"
41679 EXTRA_CFLAGS=""
41680 EXPORT_BY_ORDINALS=0
41681 exclude_symbols=""
41682 library_flags=""
41683 curDir=\`pwd\`
41684 curDirS=curDir
41685 case ${D}curDirS in
41686 */)
41687 ;;
41688 *)
41689 curDirS=${D}{curDirS}"/"
41690 ;;
41691 esac
41692 # Parse commandline
41693 libsToLink=0
41694 omfLinking=0
41695 while [ ${D}1 ]; do
41696 case ${D}1 in
41697 -ord*)
41698 EXPORT_BY_ORDINALS=1;
41699 ;;
41700 -o*)
41701 shift
41702 outFile=${D}1
41703 ;;
41704 -i*)
41705 shift
41706 outimpFile=${D}1
41707 ;;
41708 -name-mangler-script)
41709 shift
41710 renameScript=${D}1
41711 ;;
41712 -d*)
41713 shift
41714 description=${D}1
41715 ;;
41716 -f*)
41717 shift
41718 CFLAGS=${D}1
41719 ;;
41720 -c*)
41721 shift
41722 CC=${D}1
41723 ;;
41724 -h*)
41725 PrintHelp
41726 ;;
41727 -ex*)
41728 shift
41729 exclude_symbols=${D}{exclude_symbols}${D}1" "
41730 ;;
41731 -libf*)
41732 shift
41733 library_flags=${D}{library_flags}${D}1" "
41734 ;;
41735 -nocrt*)
41736 CFLAGS="-s"
41737 ;;
41738 -nolxl*)
41739 flag_USE_LXLITE=0
41740 ;;
41741 -* | /*)
41742 case ${D}1 in
41743 -L* | -l*)
41744 libsToLink=1
41745 ;;
41746 -Zomf)
41747 omfLinking=1
41748 ;;
41749 *)
41750 ;;
41751 esac
41752 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41753 ;;
41754 *.dll)
41755 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41756 if [ ${D}omfLinking -eq 1 ]; then
41757 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41758 else
41759 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41760 fi
41761 ;;
41762 *)
41763 found=0;
41764 if [ ${D}libsToLink -ne 0 ]; then
41765 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41766 else
41767 for file in ${D}1 ; do
41768 if [ -f ${D}file ]; then
41769 inputFiles="${D}{inputFiles} ${D}file"
41770 found=1
41771 fi
41772 done
41773 if [ ${D}found -eq 0 ]; then
41774 echo "ERROR: No file(s) found: "${D}1
41775 exit 8
41776 fi
41777 fi
41778 ;;
41779 esac
41780 shift
41781 done # iterate cmdline words
41782
41783 #
41784 if [ -z "${D}inputFiles" ]; then
41785 echo "dllar: no input files"
41786 PrintHelp
41787 fi
41788
41789 # Now extract all .o files from .a files
41790 newInputFiles=""
41791 for file in ${D}inputFiles ; do
41792 case ${D}file in
41793 *.a | *.lib)
41794 case ${D}file in
41795 *.a)
41796 suffix=".a"
41797 AR="ar"
41798 ;;
41799 *.lib)
41800 suffix=".lib"
41801 AR="emxomfar"
41802 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41803 ;;
41804 *)
41805 ;;
41806 esac
41807 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41808 mkdir ${D}dirname
41809 if [ ${D}? -ne 0 ]; then
41810 echo "Failed to create subdirectory ./${D}dirname"
41811 CleanUp
41812 exit 8;
41813 fi
41814 # Append '!' to indicate archive
41815 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41816 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41817 cd ${D}curDir
41818 found=0;
41819 for subfile in ${D}dirname/*.o* ; do
41820 if [ -f ${D}subfile ]; then
41821 found=1
41822 if [ -s ${D}subfile ]; then
41823 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41824 newInputFiles="${D}newInputFiles ${D}subfile"
41825 fi
41826 fi
41827 done
41828 if [ ${D}found -eq 0 ]; then
41829 echo "WARNING: there are no files in archive \\'${D}file\\'"
41830 fi
41831 ;;
41832 *)
41833 newInputFiles="${D}{newInputFiles} ${D}file"
41834 ;;
41835 esac
41836 done
41837 inputFiles="${D}newInputFiles"
41838
41839 # Output filename(s).
41840 do_backup=0;
41841 if [ -z ${D}outFile ]; then
41842 do_backup=1;
41843 set outFile ${D}inputFiles; outFile=${D}2
41844 fi
41845
41846 # If it is an archive, remove the '!' and the '_%' suffixes
41847 case ${D}outFile in
41848 *_%!)
41849 outFile=\`basnam ${D}outFile _%!\`
41850 ;;
41851 *)
41852 ;;
41853 esac
41854 case ${D}outFile in
41855 *.dll)
41856 outFile=\`basnam ${D}outFile .dll\`
41857 ;;
41858 *.DLL)
41859 outFile=\`basnam ${D}outFile .DLL\`
41860 ;;
41861 *.o)
41862 outFile=\`basnam ${D}outFile .o\`
41863 ;;
41864 *.obj)
41865 outFile=\`basnam ${D}outFile .obj\`
41866 ;;
41867 *.a)
41868 outFile=\`basnam ${D}outFile .a\`
41869 ;;
41870 *.lib)
41871 outFile=\`basnam ${D}outFile .lib\`
41872 ;;
41873 *)
41874 ;;
41875 esac
41876 case ${D}outimpFile in
41877 *.a)
41878 outimpFile=\`basnam ${D}outimpFile .a\`
41879 ;;
41880 *.lib)
41881 outimpFile=\`basnam ${D}outimpFile .lib\`
41882 ;;
41883 *)
41884 ;;
41885 esac
41886 if [ -z ${D}outimpFile ]; then
41887 outimpFile=${D}outFile
41888 fi
41889 defFile="${D}{outFile}.def"
41890 arcFile="${D}{outimpFile}.a"
41891 arcFile2="${D}{outimpFile}.lib"
41892
41893 #create ${D}dllFile as something matching 8.3 restrictions,
41894 if [ -z ${D}renameScript ] ; then
41895 dllFile="${D}outFile"
41896 else
41897 dllFile=\`${D}renameScript ${D}outimpFile\`
41898 fi
41899
41900 if [ ${D}do_backup -ne 0 ] ; then
41901 if [ -f ${D}arcFile ] ; then
41902 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41903 fi
41904 if [ -f ${D}arcFile2 ] ; then
41905 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41906 fi
41907 fi
41908
41909 # Extract public symbols from all the object files.
41910 tmpdefFile=${D}{defFile}_%
41911 rm -f ${D}tmpdefFile
41912 for file in ${D}inputFiles ; do
41913 case ${D}file in
41914 *!)
41915 ;;
41916 *)
41917 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41918 ;;
41919 esac
41920 done
41921
41922 # Create the def file.
41923 rm -f ${D}defFile
41924 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41925 dllFile="${D}{dllFile}.dll"
41926 if [ ! -z ${D}description ]; then
41927 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41928 fi
41929 echo "EXPORTS" >> ${D}defFile
41930
41931 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41932 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41933
41934 # Checks if the export is ok or not.
41935 for word in ${D}exclude_symbols; do
41936 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41937 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41938 done
41939
41940
41941 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41942 sed "=" < ${D}tmpdefFile | \\
41943 sed '
41944 N
41945 : loop
41946 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41947 t loop
41948 ' > ${D}{tmpdefFile}%
41949 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41950 else
41951 rm -f ${D}{tmpdefFile}%
41952 fi
41953 cat ${D}tmpdefFile >> ${D}defFile
41954 rm -f ${D}tmpdefFile
41955
41956 # Do linking, create implib, and apply lxlite.
41957 gccCmdl="";
41958 for file in ${D}inputFiles ; do
41959 case ${D}file in
41960 *!)
41961 ;;
41962 *)
41963 gccCmdl="${D}gccCmdl ${D}file"
41964 ;;
41965 esac
41966 done
41967 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41968 touch "${D}{outFile}.dll"
41969
41970 doCommand "emximp -o ${D}arcFile ${D}defFile"
41971 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41972 add_flags="";
41973 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41974 add_flags="-ynd"
41975 fi
41976 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41977 fi
41978 doCommand "emxomf -s -l ${D}arcFile"
41979
41980 # Successful exit.
41981 CleanUp 1
41982 exit 0
41983 EOF
41984
41985 chmod +x dllar.sh
41986 ;;
41987
41988 powerpc-apple-macos* | \
41989 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41990 *-*-sunos4* | \
41991 *-*-osf* | \
41992 *-*-dgux5* | \
41993 *-*-sysv5* )
41994 ;;
41995
41996 *)
41997 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41998 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41999 { (exit 1); exit 1; }; }
42000 esac
42001
42002 if test "x$PIC_FLAG" != "x" ; then
42003 PIC_FLAG="$PIC_FLAG -DPIC"
42004 fi
42005
42006 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42007 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42008 fi
42009 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42010 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42011 fi
42012
42013
42014
42015
42016
42017
42018
42019
42020 USE_SOVERSION=0
42021 USE_SOVERLINUX=0
42022 USE_SOVERSOLARIS=0
42023 USE_SOSYMLINKS=0
42024 USE_MACVERSION=0
42025 SONAME_FLAG=
42026
42027 case "${BAKEFILE_HOST}" in
42028 *-*-linux* | *-*-freebsd* )
42029 SONAME_FLAG="-Wl,-soname,"
42030 USE_SOVERSION=1
42031 USE_SOVERLINUX=1
42032 USE_SOSYMLINKS=1
42033 ;;
42034
42035 *-*-solaris2* )
42036 SONAME_FLAG="-h "
42037 USE_SOVERSION=1
42038 USE_SOVERSOLARIS=1
42039 USE_SOSYMLINKS=1
42040 ;;
42041
42042 *-*-darwin* )
42043 USE_MACVERSION=1
42044 USE_SOVERSION=1
42045 USE_SOSYMLINKS=1
42046 ;;
42047 esac
42048
42049
42050
42051
42052
42053
42054
42055
42056
42057 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42058 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42059 DEPS_TRACKING=0
42060
42061 if test "x$GCC" = "xyes"; then
42062 DEPSMODE=gcc
42063 DEPS_TRACKING=1
42064 case "${BAKEFILE_HOST}" in
42065 powerpc-*-darwin* )
42066 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42067 ;;
42068 * )
42069 DEPSFLAG_GCC="-MMD"
42070 ;;
42071 esac
42072 echo "$as_me:$LINENO: result: gcc" >&5
42073 echo "${ECHO_T}gcc" >&6
42074 elif test "x$MWCC" = "xyes"; then
42075 DEPSMODE=mwcc
42076 DEPS_TRACKING=1
42077 DEPSFLAG_MWCC="-MM"
42078 echo "$as_me:$LINENO: result: mwcc" >&5
42079 echo "${ECHO_T}mwcc" >&6
42080 else
42081 echo "$as_me:$LINENO: result: none" >&5
42082 echo "${ECHO_T}none" >&6
42083 fi
42084
42085 if test $DEPS_TRACKING = 1 ; then
42086
42087 D='$'
42088 cat <<EOF >bk-deps
42089 #!/bin/sh
42090
42091 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42092 # script. It is used to track C/C++ files dependencies in portable way.
42093 #
42094 # Permission is given to use this file in any way.
42095
42096 DEPSMODE=${DEPSMODE}
42097 DEPSDIR=.deps
42098 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42099 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42100
42101 mkdir -p ${D}DEPSDIR
42102
42103 if test ${D}DEPSMODE = gcc ; then
42104 ${D}* ${D}{DEPSFLAG_GCC}
42105 status=${D}?
42106 if test ${D}{status} != 0 ; then
42107 exit ${D}{status}
42108 fi
42109 # move created file to the location we want it in:
42110 while test ${D}# -gt 0; do
42111 case "${D}1" in
42112 -o )
42113 shift
42114 objfile=${D}1
42115 ;;
42116 -* )
42117 ;;
42118 * )
42119 srcfile=${D}1
42120 ;;
42121 esac
42122 shift
42123 done
42124 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42125 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42126 if test -f ${D}depfile ; then
42127 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42128 rm -f ${D}depfile
42129 else
42130 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42131 if test -f ${D}depfile ; then
42132 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42133 rm -f ${D}depfile
42134 fi
42135 fi
42136 exit 0
42137 elif test ${D}DEPSMODE = mwcc ; then
42138 ${D}*
42139 status=${D}?
42140 if test ${D}{status} != 0 ; then
42141 exit ${D}{status}
42142 fi
42143 # Run mwcc again with -MM and redirect into the dep file we want
42144 # NOTE: We can't use shift here because we need ${D}* to be valid
42145 prevarg=
42146 for arg in ${D}* ; do
42147 if test "${D}prevarg" = "-o"; then
42148 objfile=${D}arg
42149 else
42150 case "${D}arg" in
42151 -* )
42152 ;;
42153 * )
42154 srcfile=${D}arg
42155 ;;
42156 esac
42157 fi
42158 prevarg="${D}arg"
42159 done
42160 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42161 exit 0
42162 else
42163 ${D}*
42164 exit ${D}?
42165 fi
42166 EOF
42167
42168 chmod +x bk-deps
42169 fi
42170
42171
42172
42173
42174 RESCOMP=
42175 SETFILE=
42176
42177 case ${BAKEFILE_HOST} in
42178 *-*-cygwin* | *-*-mingw32* )
42179 if test "$build" != "$host" ; then
42180 RESCOMP=$host_alias-windres
42181 else
42182 # Extract the first word of "windres", so it can be a program name with args.
42183 set dummy windres; ac_word=$2
42184 echo "$as_me:$LINENO: checking for $ac_word" >&5
42185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42186 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42187 echo $ECHO_N "(cached) $ECHO_C" >&6
42188 else
42189 if test -n "$RESCOMP"; then
42190 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42191 else
42192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42193 for as_dir in $PATH
42194 do
42195 IFS=$as_save_IFS
42196 test -z "$as_dir" && as_dir=.
42197 for ac_exec_ext in '' $ac_executable_extensions; do
42198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42199 ac_cv_prog_RESCOMP="windres"
42200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42201 break 2
42202 fi
42203 done
42204 done
42205
42206 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
42207 fi
42208 fi
42209 RESCOMP=$ac_cv_prog_RESCOMP
42210 if test -n "$RESCOMP"; then
42211 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42212 echo "${ECHO_T}$RESCOMP" >&6
42213 else
42214 echo "$as_me:$LINENO: result: no" >&5
42215 echo "${ECHO_T}no" >&6
42216 fi
42217
42218 fi
42219 ;;
42220
42221 *-*-darwin* | powerpc-apple-macos* )
42222 # Extract the first word of "Rez", so it can be a program name with args.
42223 set dummy Rez; ac_word=$2
42224 echo "$as_me:$LINENO: checking for $ac_word" >&5
42225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42226 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42227 echo $ECHO_N "(cached) $ECHO_C" >&6
42228 else
42229 if test -n "$RESCOMP"; then
42230 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42231 else
42232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42233 for as_dir in $PATH
42234 do
42235 IFS=$as_save_IFS
42236 test -z "$as_dir" && as_dir=.
42237 for ac_exec_ext in '' $ac_executable_extensions; do
42238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42239 ac_cv_prog_RESCOMP="Rez"
42240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42241 break 2
42242 fi
42243 done
42244 done
42245
42246 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
42247 fi
42248 fi
42249 RESCOMP=$ac_cv_prog_RESCOMP
42250 if test -n "$RESCOMP"; then
42251 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42252 echo "${ECHO_T}$RESCOMP" >&6
42253 else
42254 echo "$as_me:$LINENO: result: no" >&5
42255 echo "${ECHO_T}no" >&6
42256 fi
42257
42258 # Extract the first word of "SetFile", so it can be a program name with args.
42259 set dummy SetFile; ac_word=$2
42260 echo "$as_me:$LINENO: checking for $ac_word" >&5
42261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42262 if test "${ac_cv_prog_SETFILE+set}" = set; then
42263 echo $ECHO_N "(cached) $ECHO_C" >&6
42264 else
42265 if test -n "$SETFILE"; then
42266 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
42267 else
42268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42269 for as_dir in $PATH
42270 do
42271 IFS=$as_save_IFS
42272 test -z "$as_dir" && as_dir=.
42273 for ac_exec_ext in '' $ac_executable_extensions; do
42274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42275 ac_cv_prog_SETFILE="SetFile"
42276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42277 break 2
42278 fi
42279 done
42280 done
42281
42282 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
42283 fi
42284 fi
42285 SETFILE=$ac_cv_prog_SETFILE
42286 if test -n "$SETFILE"; then
42287 echo "$as_me:$LINENO: result: $SETFILE" >&5
42288 echo "${ECHO_T}$SETFILE" >&6
42289 else
42290 echo "$as_me:$LINENO: result: no" >&5
42291 echo "${ECHO_T}no" >&6
42292 fi
42293
42294 ;;
42295 esac
42296
42297
42298
42299
42300
42301 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
42302
42303
42304 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
42305
42306
42307
42308 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42309 if test "${enable_precomp_headers+set}" = set; then
42310 enableval="$enable_precomp_headers"
42311 bk_use_pch="$enableval"
42312 fi;
42313
42314 GCC_PCH=0
42315
42316 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42317 if test "x$GCC" = "xyes"; then
42318 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42319 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42320 cat >conftest.$ac_ext <<_ACEOF
42321 /* confdefs.h. */
42322 _ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42326
42327 int
42328 main ()
42329 {
42330
42331 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42332 #error "no pch support"
42333 #endif
42334 #if (__GNUC__ < 3)
42335 #error "no pch support"
42336 #endif
42337 #if (__GNUC__ == 3) && \
42338 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42339 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42340 #error "no pch support"
42341 #endif
42342
42343 ;
42344 return 0;
42345 }
42346 _ACEOF
42347 rm -f conftest.$ac_objext
42348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42349 (eval $ac_compile) 2>conftest.er1
42350 ac_status=$?
42351 grep -v '^ *+' conftest.er1 >conftest.err
42352 rm -f conftest.er1
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } &&
42356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42358 (eval $ac_try) 2>&5
42359 ac_status=$?
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); }; } &&
42362 { ac_try='test -s conftest.$ac_objext'
42363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42364 (eval $ac_try) 2>&5
42365 ac_status=$?
42366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367 (exit $ac_status); }; }; then
42368
42369 echo "$as_me:$LINENO: result: yes" >&5
42370 echo "${ECHO_T}yes" >&6
42371 GCC_PCH=1
42372
42373 else
42374 echo "$as_me: failed program was:" >&5
42375 sed 's/^/| /' conftest.$ac_ext >&5
42376
42377
42378 echo "$as_me:$LINENO: result: no" >&5
42379 echo "${ECHO_T}no" >&6
42380
42381 fi
42382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42383 if test $GCC_PCH = 1 ; then
42384
42385 D='$'
42386 cat <<EOF >bk-make-pch
42387 #!/bin/sh
42388
42389 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42390 # script. It is used to generated precompiled headers.
42391 #
42392 # Permission is given to use this file in any way.
42393
42394 outfile="${D}{1}"
42395 header="${D}{2}"
42396 shift
42397 shift
42398
42399 compiler=
42400 headerfile=
42401 while test ${D}{#} -gt 0; do
42402 case "${D}{1}" in
42403 -I* )
42404 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42405 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42406 headerfile="${D}{incdir}/${D}{header}"
42407 fi
42408 ;;
42409 esac
42410 compiler="${D}{compiler} ${D}{1}"
42411 shift
42412 done
42413
42414 if test "x${D}{headerfile}" = "x" ; then
42415 echo "error: can't find header ${D}{header} in include paths" >2
42416 else
42417 if test -f ${D}{outfile} ; then
42418 rm -f ${D}{outfile}
42419 else
42420 mkdir -p \`dirname ${D}{outfile}\`
42421 fi
42422 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42423 mkdir -p .deps
42424 # can do this because gcc is >= 3.4:
42425 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42426 exit ${D}{?}
42427 fi
42428 EOF
42429
42430 chmod +x bk-make-pch
42431 fi
42432 fi
42433 fi
42434
42435
42436
42437 COND_BUILD_DEBUG="#"
42438 if test "x$BUILD" = "xdebug" ; then
42439 COND_BUILD_DEBUG=""
42440 fi
42441
42442 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
42443 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42444 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
42445 fi
42446
42447 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
42448 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42449 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
42450 fi
42451
42452 COND_BUILD_DEBUG_UNICODE_0="#"
42453 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42454 COND_BUILD_DEBUG_UNICODE_0=""
42455 fi
42456
42457 COND_BUILD_DEBUG_UNICODE_1="#"
42458 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42459 COND_BUILD_DEBUG_UNICODE_1=""
42460 fi
42461
42462 COND_BUILD_RELEASE="#"
42463 if test "x$BUILD" = "xrelease" ; then
42464 COND_BUILD_RELEASE=""
42465 fi
42466
42467 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
42468 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42469 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
42470 fi
42471
42472 COND_BUILD_RELEASE_UNICODE_0="#"
42473 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42474 COND_BUILD_RELEASE_UNICODE_0=""
42475 fi
42476
42477 COND_BUILD_RELEASE_UNICODE_1="#"
42478 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42479 COND_BUILD_RELEASE_UNICODE_1=""
42480 fi
42481
42482 COND_DEBUG_FLAG_1="#"
42483 if test "x$DEBUG_FLAG" = "x1" ; then
42484 COND_DEBUG_FLAG_1=""
42485 fi
42486
42487 COND_DEBUG_INFO_0="#"
42488 if test "x$DEBUG_INFO" = "x0" ; then
42489 COND_DEBUG_INFO_0=""
42490 fi
42491
42492 COND_DEBUG_INFO_1="#"
42493 if test "x$DEBUG_INFO" = "x1" ; then
42494 COND_DEBUG_INFO_1=""
42495 fi
42496
42497 COND_DEPS_TRACKING_0="#"
42498 if test "x$DEPS_TRACKING" = "x0" ; then
42499 COND_DEPS_TRACKING_0=""
42500 fi
42501
42502 COND_DEPS_TRACKING_1="#"
42503 if test "x$DEPS_TRACKING" = "x1" ; then
42504 COND_DEPS_TRACKING_1=""
42505 fi
42506
42507 COND_GCC_PCH_1="#"
42508 if test "x$GCC_PCH" = "x1" ; then
42509 COND_GCC_PCH_1=""
42510 fi
42511
42512 COND_MONOLITHIC_0="#"
42513 if test "x$MONOLITHIC" = "x0" ; then
42514 COND_MONOLITHIC_0=""
42515 fi
42516
42517 COND_MONOLITHIC_0_SHARED_0="#"
42518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42519 COND_MONOLITHIC_0_SHARED_0=""
42520 fi
42521
42522 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
42523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42524 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
42525 fi
42526
42527 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
42528 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42529 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
42530 fi
42531
42532 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
42533 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42534 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
42535 fi
42536
42537 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
42538 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42539 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
42540 fi
42541
42542 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
42543 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42544 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
42545 fi
42546
42547 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
42548 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42549 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
42550 fi
42551
42552 COND_MONOLITHIC_0_SHARED_1="#"
42553 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42554 COND_MONOLITHIC_0_SHARED_1=""
42555 fi
42556
42557 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
42558 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42559 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
42560 fi
42561
42562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
42563 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42564 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
42565 fi
42566
42567 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
42568 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42569 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
42570 fi
42571
42572 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
42573 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42574 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
42575 fi
42576
42577 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
42578 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42579 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
42580 fi
42581
42582 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
42583 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42584 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
42585 fi
42586
42587 COND_MONOLITHIC_0_USE_ODBC_1="#"
42588 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42589 COND_MONOLITHIC_0_USE_ODBC_1=""
42590 fi
42591
42592 COND_MONOLITHIC_1="#"
42593 if test "x$MONOLITHIC" = "x1" ; then
42594 COND_MONOLITHIC_1=""
42595 fi
42596
42597 COND_MONOLITHIC_1_SHARED_0="#"
42598 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42599 COND_MONOLITHIC_1_SHARED_0=""
42600 fi
42601
42602 COND_MONOLITHIC_1_SHARED_1="#"
42603 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42604 COND_MONOLITHIC_1_SHARED_1=""
42605 fi
42606
42607 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
42608 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42609 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
42610 fi
42611
42612 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
42613 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42614 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
42615 fi
42616
42617 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
42618 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42619 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
42620 fi
42621
42622 COND_PLATFORM_MACOSX_1="#"
42623 if test "x$PLATFORM_MACOSX" = "x1" ; then
42624 COND_PLATFORM_MACOSX_1=""
42625 fi
42626
42627 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
42628 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42629 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
42630 fi
42631
42632 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
42633 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42634 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
42635 fi
42636
42637 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
42638 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42639 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
42640 fi
42641
42642 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
42643 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42644 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
42645 fi
42646
42647 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
42648 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42649 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
42650 fi
42651
42652 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42653 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42654 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42655 fi
42656
42657 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
42658 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42659 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
42660 fi
42661
42662 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
42663 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42664 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
42665 fi
42666
42667 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
42668 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42669 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
42670 fi
42671
42672 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
42673 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42674 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
42675 fi
42676
42677 COND_PLATFORM_MACOS_1="#"
42678 if test "x$PLATFORM_MACOS" = "x1" ; then
42679 COND_PLATFORM_MACOS_1=""
42680 fi
42681
42682 COND_PLATFORM_MAC_1="#"
42683 if test "x$PLATFORM_MAC" = "x1" ; then
42684 COND_PLATFORM_MAC_1=""
42685 fi
42686
42687 COND_PLATFORM_OS2_1="#"
42688 if test "x$PLATFORM_OS2" = "x1" ; then
42689 COND_PLATFORM_OS2_1=""
42690 fi
42691
42692 COND_PLATFORM_UNIX_0="#"
42693 if test "x$PLATFORM_UNIX" = "x0" ; then
42694 COND_PLATFORM_UNIX_0=""
42695 fi
42696
42697 COND_PLATFORM_UNIX_1="#"
42698 if test "x$PLATFORM_UNIX" = "x1" ; then
42699 COND_PLATFORM_UNIX_1=""
42700 fi
42701
42702 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
42703 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42704 COND_PLATFORM_UNIX_1_USE_GUI_1=""
42705 fi
42706
42707 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
42708 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42709 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
42710 fi
42711
42712 COND_PLATFORM_WIN32_0="#"
42713 if test "x$PLATFORM_WIN32" = "x0" ; then
42714 COND_PLATFORM_WIN32_0=""
42715 fi
42716
42717 COND_PLATFORM_WIN32_1="#"
42718 if test "x$PLATFORM_WIN32" = "x1" ; then
42719 COND_PLATFORM_WIN32_1=""
42720 fi
42721
42722 COND_SHARED_0="#"
42723 if test "x$SHARED" = "x0" ; then
42724 COND_SHARED_0=""
42725 fi
42726
42727 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
42728 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42729 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
42730 fi
42731
42732 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
42733 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42734 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
42735 fi
42736
42737 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
42738 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42739 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
42740 fi
42741
42742 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
42743 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42744 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
42745 fi
42746
42747 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42748 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42749 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42750 fi
42751
42752 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42753 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42754 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42755 fi
42756
42757 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42758 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42759 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42760 fi
42761
42762 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
42763 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42764 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
42765 fi
42766
42767 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
42768 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42769 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
42770 fi
42771
42772 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
42773 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42774 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
42775 fi
42776
42777 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
42778 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42779 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
42780 fi
42781
42782 COND_SHARED_1="#"
42783 if test "x$SHARED" = "x1" ; then
42784 COND_SHARED_1=""
42785 fi
42786
42787 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
42788 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42789 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
42790 fi
42791
42792 COND_TOOLKIT_="#"
42793 if test "x$TOOLKIT" = "x" ; then
42794 COND_TOOLKIT_=""
42795 fi
42796
42797 COND_TOOLKIT_COCOA="#"
42798 if test "x$TOOLKIT" = "xCOCOA" ; then
42799 COND_TOOLKIT_COCOA=""
42800 fi
42801
42802 COND_TOOLKIT_COCOA_USE_GUI_1="#"
42803 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42804 COND_TOOLKIT_COCOA_USE_GUI_1=""
42805 fi
42806
42807 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
42808 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42809 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
42810 fi
42811
42812 COND_TOOLKIT_GTK="#"
42813 if test "x$TOOLKIT" = "xGTK" ; then
42814 COND_TOOLKIT_GTK=""
42815 fi
42816
42817 COND_TOOLKIT_GTK_USE_GUI_1="#"
42818 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42819 COND_TOOLKIT_GTK_USE_GUI_1=""
42820 fi
42821
42822 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
42823 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42824 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
42825 fi
42826
42827 COND_TOOLKIT_MAC="#"
42828 if test "x$TOOLKIT" = "xMAC" ; then
42829 COND_TOOLKIT_MAC=""
42830 fi
42831
42832 COND_TOOLKIT_MAC_USE_GUI_1="#"
42833 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42834 COND_TOOLKIT_MAC_USE_GUI_1=""
42835 fi
42836
42837 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42838 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42839 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42840 fi
42841
42842 COND_TOOLKIT_MGL="#"
42843 if test "x$TOOLKIT" = "xMGL" ; then
42844 COND_TOOLKIT_MGL=""
42845 fi
42846
42847 COND_TOOLKIT_MGL_USE_GUI_1="#"
42848 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42849 COND_TOOLKIT_MGL_USE_GUI_1=""
42850 fi
42851
42852 COND_TOOLKIT_MOTIF="#"
42853 if test "x$TOOLKIT" = "xMOTIF" ; then
42854 COND_TOOLKIT_MOTIF=""
42855 fi
42856
42857 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
42858 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42859 COND_TOOLKIT_MOTIF_USE_GUI_1=""
42860 fi
42861
42862 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
42863 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42864 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
42865 fi
42866
42867 COND_TOOLKIT_MSW="#"
42868 if test "x$TOOLKIT" = "xMSW" ; then
42869 COND_TOOLKIT_MSW=""
42870 fi
42871
42872 COND_TOOLKIT_MSW_USE_GUI_1="#"
42873 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42874 COND_TOOLKIT_MSW_USE_GUI_1=""
42875 fi
42876
42877 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
42878 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42879 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
42880 fi
42881
42882 COND_TOOLKIT_PM="#"
42883 if test "x$TOOLKIT" = "xPM" ; then
42884 COND_TOOLKIT_PM=""
42885 fi
42886
42887 COND_TOOLKIT_PM_USE_GUI_1="#"
42888 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42889 COND_TOOLKIT_PM_USE_GUI_1=""
42890 fi
42891
42892 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
42893 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42894 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
42895 fi
42896
42897 COND_TOOLKIT_WINCE="#"
42898 if test "x$TOOLKIT" = "xWINCE" ; then
42899 COND_TOOLKIT_WINCE=""
42900 fi
42901
42902 COND_TOOLKIT_WINCE_USE_GUI_1="#"
42903 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42904 COND_TOOLKIT_WINCE_USE_GUI_1=""
42905 fi
42906
42907 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
42908 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42909 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
42910 fi
42911
42912 COND_TOOLKIT_X11="#"
42913 if test "x$TOOLKIT" = "xX11" ; then
42914 COND_TOOLKIT_X11=""
42915 fi
42916
42917 COND_TOOLKIT_X11_USE_GUI_1="#"
42918 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42919 COND_TOOLKIT_X11_USE_GUI_1=""
42920 fi
42921
42922 COND_UNICODE_1="#"
42923 if test "x$UNICODE" = "x1" ; then
42924 COND_UNICODE_1=""
42925 fi
42926
42927 COND_USE_EXCEPTIONS_0="#"
42928 if test "x$USE_EXCEPTIONS" = "x0" ; then
42929 COND_USE_EXCEPTIONS_0=""
42930 fi
42931
42932 COND_USE_EXCEPTIONS_1="#"
42933 if test "x$USE_EXCEPTIONS" = "x1" ; then
42934 COND_USE_EXCEPTIONS_1=""
42935 fi
42936
42937 COND_USE_GUI_0="#"
42938 if test "x$USE_GUI" = "x0" ; then
42939 COND_USE_GUI_0=""
42940 fi
42941
42942 COND_USE_GUI_1="#"
42943 if test "x$USE_GUI" = "x1" ; then
42944 COND_USE_GUI_1=""
42945 fi
42946
42947 COND_USE_GUI_1_WXUNIV_0="#"
42948 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42949 COND_USE_GUI_1_WXUNIV_0=""
42950 fi
42951
42952 COND_USE_GUI_1_WXUNIV_1="#"
42953 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42954 COND_USE_GUI_1_WXUNIV_1=""
42955 fi
42956
42957 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42958 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42959 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42960 fi
42961
42962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42963 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42964 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42965 fi
42966
42967 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42968 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42970 fi
42971
42972 COND_USE_ODBC_1="#"
42973 if test "x$USE_ODBC" = "x1" ; then
42974 COND_USE_ODBC_1=""
42975 fi
42976
42977 COND_USE_OPENGL_1="#"
42978 if test "x$USE_OPENGL" = "x1" ; then
42979 COND_USE_OPENGL_1=""
42980 fi
42981
42982 COND_USE_PLUGINS_0="#"
42983 if test "x$USE_PLUGINS" = "x0" ; then
42984 COND_USE_PLUGINS_0=""
42985 fi
42986
42987 COND_USE_RTTI_0="#"
42988 if test "x$USE_RTTI" = "x0" ; then
42989 COND_USE_RTTI_0=""
42990 fi
42991
42992 COND_USE_RTTI_1="#"
42993 if test "x$USE_RTTI" = "x1" ; then
42994 COND_USE_RTTI_1=""
42995 fi
42996
42997 COND_USE_SOSYMLINKS_1="#"
42998 if test "x$USE_SOSYMLINKS" = "x1" ; then
42999 COND_USE_SOSYMLINKS_1=""
43000 fi
43001
43002 COND_USE_SOVERLINUX_1="#"
43003 if test "x$USE_SOVERLINUX" = "x1" ; then
43004 COND_USE_SOVERLINUX_1=""
43005 fi
43006
43007 COND_USE_SOVERSION_0="#"
43008 if test "x$USE_SOVERSION" = "x0" ; then
43009 COND_USE_SOVERSION_0=""
43010 fi
43011
43012 COND_USE_SOVERSOLARIS_1="#"
43013 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43014 COND_USE_SOVERSOLARIS_1=""
43015 fi
43016
43017 COND_USE_THREADS_0="#"
43018 if test "x$USE_THREADS" = "x0" ; then
43019 COND_USE_THREADS_0=""
43020 fi
43021
43022 COND_USE_THREADS_1="#"
43023 if test "x$USE_THREADS" = "x1" ; then
43024 COND_USE_THREADS_1=""
43025 fi
43026
43027 COND_USE_XRC_1="#"
43028 if test "x$USE_XRC" = "x1" ; then
43029 COND_USE_XRC_1=""
43030 fi
43031
43032 COND_WITH_PLUGIN_SDL_1="#"
43033 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43034 COND_WITH_PLUGIN_SDL_1=""
43035 fi
43036
43037 COND_WXUNIV_0="#"
43038 if test "x$WXUNIV" = "x0" ; then
43039 COND_WXUNIV_0=""
43040 fi
43041
43042 COND_WXUNIV_1="#"
43043 if test "x$WXUNIV" = "x1" ; then
43044 COND_WXUNIV_1=""
43045 fi
43046
43047 COND_WXUSE_EXPAT_BUILTIN="#"
43048 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43049 COND_WXUSE_EXPAT_BUILTIN=""
43050 fi
43051
43052 COND_WXUSE_LIBJPEG_BUILTIN="#"
43053 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43054 COND_WXUSE_LIBJPEG_BUILTIN=""
43055 fi
43056
43057 COND_WXUSE_LIBPNG_BUILTIN="#"
43058 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43059 COND_WXUSE_LIBPNG_BUILTIN=""
43060 fi
43061
43062 COND_WXUSE_LIBTIFF_BUILTIN="#"
43063 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43064 COND_WXUSE_LIBTIFF_BUILTIN=""
43065 fi
43066
43067 COND_WXUSE_ODBC_BUILTIN="#"
43068 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43069 COND_WXUSE_ODBC_BUILTIN=""
43070 fi
43071
43072 COND_WXUSE_REGEX_BUILTIN="#"
43073 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43074 COND_WXUSE_REGEX_BUILTIN=""
43075 fi
43076
43077 COND_WXUSE_ZLIB_BUILTIN="#"
43078 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43079 COND_WXUSE_ZLIB_BUILTIN=""
43080 fi
43081
43082
43083
43084 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43085 { { 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
43086 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;}
43087 { (exit 1); exit 1; }; }
43088 fi
43089
43090
43091 if test "$wxUSE_SHARED" = "yes"; then
43092
43093 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43094 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43095
43096 case "${host}" in
43097 *-pc-os2_emx | *-pc-os2-emx )
43098 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43099 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43100 cp -p ${srcdir}/src/os2/dllnames.sh .
43101 cp -p ${srcdir}/src/os2/dllar.sh .
43102 ;;
43103 esac
43104 else
43105
43106 EXE_LINKER="$CXX -o"
43107
43108 fi
43109
43110 GCC_PRAGMA_FLAGS=""
43111 PCH_FLAGS=""
43112 if test $GCC_PCH = 1 ; then
43113 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43114 PCH_FLAGS="-DWX_PRECOMP"
43115 else
43116 case "${host}" in
43117 powerpc-*-darwin* )
43118 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43119 ;;
43120 *-*-mingw32* )
43121 if test "$wxUSE_STL" = "yes" -o \
43122 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43123 "$wxUSE_NO_RTTI" != "yes"; then
43124 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43125 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43126 cat >conftest.$ac_ext <<_ACEOF
43127 /* confdefs.h. */
43128 _ACEOF
43129 cat confdefs.h >>conftest.$ac_ext
43130 cat >>conftest.$ac_ext <<_ACEOF
43131 /* end confdefs.h. */
43132
43133 int
43134 main ()
43135 {
43136 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43137 #error "Not GCC 3.2 or greater"
43138 #endif
43139
43140 ;
43141 return 0;
43142 }
43143 _ACEOF
43144 rm -f conftest.$ac_objext
43145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43146 (eval $ac_compile) 2>conftest.er1
43147 ac_status=$?
43148 grep -v '^ *+' conftest.er1 >conftest.err
43149 rm -f conftest.er1
43150 cat conftest.err >&5
43151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152 (exit $ac_status); } &&
43153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43155 (eval $ac_try) 2>&5
43156 ac_status=$?
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); }; } &&
43159 { ac_try='test -s conftest.$ac_objext'
43160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43161 (eval $ac_try) 2>&5
43162 ac_status=$?
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); }; }; then
43165 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43166 echo "$as_me:$LINENO: result: yes" >&5
43167 echo "${ECHO_T}yes" >&6
43168 else
43169 echo "$as_me: failed program was:" >&5
43170 sed 's/^/| /' conftest.$ac_ext >&5
43171
43172 echo "$as_me:$LINENO: result: no" >&5
43173 echo "${ECHO_T}no" >&6
43174 fi
43175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43176 fi
43177 ;;
43178 *-pc-os2_emx | *-pc-os2-emx )
43179 if test "$wxUSE_STL" = "yes"; then
43180 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43181 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43182 cat >conftest.$ac_ext <<_ACEOF
43183 /* confdefs.h. */
43184 _ACEOF
43185 cat confdefs.h >>conftest.$ac_ext
43186 cat >>conftest.$ac_ext <<_ACEOF
43187 /* end confdefs.h. */
43188
43189 int
43190 main ()
43191 {
43192 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43193 #error "Not GCC 3.2 or greater"
43194 #endif
43195
43196 ;
43197 return 0;
43198 }
43199 _ACEOF
43200 rm -f conftest.$ac_objext
43201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43202 (eval $ac_compile) 2>conftest.er1
43203 ac_status=$?
43204 grep -v '^ *+' conftest.er1 >conftest.err
43205 rm -f conftest.er1
43206 cat conftest.err >&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); } &&
43209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211 (eval $ac_try) 2>&5
43212 ac_status=$?
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; } &&
43215 { ac_try='test -s conftest.$ac_objext'
43216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43217 (eval $ac_try) 2>&5
43218 ac_status=$?
43219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220 (exit $ac_status); }; }; then
43221 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43222 echo "$as_me:$LINENO: result: yes" >&5
43223 echo "${ECHO_T}yes" >&6
43224 else
43225 echo "$as_me: failed program was:" >&5
43226 sed 's/^/| /' conftest.$ac_ext >&5
43227
43228 echo "$as_me:$LINENO: result: no" >&5
43229 echo "${ECHO_T}no" >&6
43230 fi
43231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43232 fi
43233 ;;
43234 esac
43235 fi
43236 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43237
43238
43239 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43304 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43305 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43306 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43308 else
43309 cat >conftest.make <<\_ACEOF
43310 all:
43311 @echo 'ac_maketemp="$(MAKE)"'
43312 _ACEOF
43313 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43314 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43315 if test -n "$ac_maketemp"; then
43316 eval ac_cv_prog_make_${ac_make}_set=yes
43317 else
43318 eval ac_cv_prog_make_${ac_make}_set=no
43319 fi
43320 rm -f conftest.make
43321 fi
43322 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43323 echo "$as_me:$LINENO: result: yes" >&5
43324 echo "${ECHO_T}yes" >&6
43325 SET_MAKE=
43326 else
43327 echo "$as_me:$LINENO: result: no" >&5
43328 echo "${ECHO_T}no" >&6
43329 SET_MAKE="MAKE=${MAKE-make}"
43330 fi
43331
43332
43333
43334 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43335
43336
43337 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43338
43339
43340 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43341
43342
43343 ac_config_files="$ac_config_files version-script Makefile"
43344
43345
43346 ac_config_commands="$ac_config_commands wx-config
43347 "
43348
43349
43350
43351
43352 if test "$wxUSE_GUI" = "yes"; then
43353 SUBDIRS="samples demos utils contrib"
43354 else SUBDIRS="samples utils"
43355 fi
43356
43357
43358
43359 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43360 if test "${with_cppunit_prefix+set}" = set; then
43361 withval="$with_cppunit_prefix"
43362 cppunit_config_prefix="$withval"
43363 else
43364 cppunit_config_prefix=""
43365 fi;
43366
43367 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43368 if test "${with_cppunit_exec_prefix+set}" = set; then
43369 withval="$with_cppunit_exec_prefix"
43370 cppunit_config_exec_prefix="$withval"
43371 else
43372 cppunit_config_exec_prefix=""
43373 fi;
43374
43375 if test x$cppunit_config_exec_prefix != x ; then
43376 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43377 if test x${CPPUNIT_CONFIG+set} != xset ; then
43378 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
43379 fi
43380 fi
43381 if test x$cppunit_config_prefix != x ; then
43382 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
43383 if test x${CPPUNIT_CONFIG+set} != xset ; then
43384 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
43385 fi
43386 fi
43387
43388 # Extract the first word of "cppunit-config", so it can be a program name with args.
43389 set dummy cppunit-config; ac_word=$2
43390 echo "$as_me:$LINENO: checking for $ac_word" >&5
43391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43392 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43393 echo $ECHO_N "(cached) $ECHO_C" >&6
43394 else
43395 case $CPPUNIT_CONFIG in
43396 [\\/]* | ?:[\\/]*)
43397 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43398 ;;
43399 *)
43400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43401 for as_dir in $PATH
43402 do
43403 IFS=$as_save_IFS
43404 test -z "$as_dir" && as_dir=.
43405 for ac_exec_ext in '' $ac_executable_extensions; do
43406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43407 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43409 break 2
43410 fi
43411 done
43412 done
43413
43414 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
43415 ;;
43416 esac
43417 fi
43418 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
43419
43420 if test -n "$CPPUNIT_CONFIG"; then
43421 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43422 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43423 else
43424 echo "$as_me:$LINENO: result: no" >&5
43425 echo "${ECHO_T}no" >&6
43426 fi
43427
43428 cppunit_version_min=1.8.0
43429
43430 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43431 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43432 no_cppunit=""
43433 if test "$CPPUNIT_CONFIG" = "no" ; then
43434 no_cppunit=yes
43435 else
43436 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
43437 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
43438 cppunit_version=`$CPPUNIT_CONFIG --version`
43439
43440 cppunit_major_version=`echo $cppunit_version | \
43441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43442 cppunit_minor_version=`echo $cppunit_version | \
43443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43444 cppunit_micro_version=`echo $cppunit_version | \
43445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43446
43447 cppunit_major_min=`echo $cppunit_version_min | \
43448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43449 cppunit_minor_min=`echo $cppunit_version_min | \
43450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43451 cppunit_micro_min=`echo $cppunit_version_min | \
43452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43453
43454 cppunit_version_proper=`expr \
43455 $cppunit_major_version \> $cppunit_major_min \| \
43456 $cppunit_major_version \= $cppunit_major_min \& \
43457 $cppunit_minor_version \> $cppunit_minor_min \| \
43458 $cppunit_major_version \= $cppunit_major_min \& \
43459 $cppunit_minor_version \= $cppunit_minor_min \& \
43460 $cppunit_micro_version \>= $cppunit_micro_min `
43461
43462 if test "$cppunit_version_proper" = "1" ; then
43463 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43464 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43465 else
43466 echo "$as_me:$LINENO: result: no" >&5
43467 echo "${ECHO_T}no" >&6
43468 no_cppunit=yes
43469 fi
43470 fi
43471
43472 if test "x$no_cppunit" = x ; then
43473 SUBDIRS="$SUBDIRS tests"
43474 else
43475 CPPUNIT_CFLAGS=""
43476 CPPUNIT_LIBS=""
43477 :
43478 fi
43479
43480
43481
43482
43483
43484 for subdir in `echo $SUBDIRS`; do
43485 if test -d ${srcdir}/${subdir} ; then
43486 if test "$wxUSE_GUI" = "yes"; then
43487 if test ${subdir} = "samples"; then
43488 makefiles="samples/Makefile.in $makefiles"
43489 for sample in `echo $SAMPLES_SUBDIRS`; do
43490 if test -d $srcdir/samples/$sample; then
43491 makefiles="samples/$sample/Makefile.in $makefiles"
43492 fi
43493 done
43494 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43495 fi
43496 else if test ${subdir} = "samples"; then
43497 makefiles="samples/Makefile.in samples/console/Makefile.in"
43498 elif test ${subdir} = "utils"; then
43499 makefiles=""
43500 for util in HelpGen tex2rtf ; do
43501 if test -d $srcdir/utils/$util ; then
43502 makefiles="utils/$util/Makefile.in \
43503 utils/$util/src/Makefile.in \
43504 $makefiles"
43505 fi
43506 done
43507 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43508 fi
43509 fi
43510
43511 for mkin in $makefiles ; do
43512 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43513 ac_config_files="$ac_config_files $mk"
43514
43515 done
43516 fi
43517 done
43518
43519
43520 cat >confcache <<\_ACEOF
43521 # This file is a shell script that caches the results of configure
43522 # tests run on this system so they can be shared between configure
43523 # scripts and configure runs, see configure's option --config-cache.
43524 # It is not useful on other systems. If it contains results you don't
43525 # want to keep, you may remove or edit it.
43526 #
43527 # config.status only pays attention to the cache file if you give it
43528 # the --recheck option to rerun configure.
43529 #
43530 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43531 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43532 # following values.
43533
43534 _ACEOF
43535
43536 # The following way of writing the cache mishandles newlines in values,
43537 # but we know of no workaround that is simple, portable, and efficient.
43538 # So, don't put newlines in cache variables' values.
43539 # Ultrix sh set writes to stderr and can't be redirected directly,
43540 # and sets the high bit in the cache file unless we assign to the vars.
43541 {
43542 (set) 2>&1 |
43543 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43544 *ac_space=\ *)
43545 # `set' does not quote correctly, so add quotes (double-quote
43546 # substitution turns \\\\ into \\, and sed turns \\ into \).
43547 sed -n \
43548 "s/'/'\\\\''/g;
43549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43550 ;;
43551 *)
43552 # `set' quotes correctly as required by POSIX, so do not add quotes.
43553 sed -n \
43554 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43555 ;;
43556 esac;
43557 } |
43558 sed '
43559 t clear
43560 : clear
43561 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43562 t end
43563 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43564 : end' >>confcache
43565 if diff $cache_file confcache >/dev/null 2>&1; then :; else
43566 if test -w $cache_file; then
43567 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43568 cat confcache >$cache_file
43569 else
43570 echo "not updating unwritable cache $cache_file"
43571 fi
43572 fi
43573 rm -f confcache
43574
43575 test "x$prefix" = xNONE && prefix=$ac_default_prefix
43576 # Let make expand exec_prefix.
43577 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
43578
43579 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43580 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43581 # trailing colons and then remove the whole line if VPATH becomes empty
43582 # (actually we leave an empty line to preserve line numbers).
43583 if test "x$srcdir" = x.; then
43584 ac_vpsub='/^[ ]*VPATH[ ]*=/{
43585 s/:*\$(srcdir):*/:/;
43586 s/:*\${srcdir}:*/:/;
43587 s/:*@srcdir@:*/:/;
43588 s/^\([^=]*=[ ]*\):*/\1/;
43589 s/:*$//;
43590 s/^[^=]*=[ ]*$//;
43591 }'
43592 fi
43593
43594 DEFS=-DHAVE_CONFIG_H
43595
43596 ac_libobjs=
43597 ac_ltlibobjs=
43598 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43599 # 1. Remove the extension, and $U if already installed.
43600 ac_i=`echo "$ac_i" |
43601 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43602 # 2. Add them.
43603 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
43604 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
43605 done
43606 LIBOBJS=$ac_libobjs
43607
43608 LTLIBOBJS=$ac_ltlibobjs
43609
43610
43611
43612 : ${CONFIG_STATUS=./config.status}
43613 ac_clean_files_save=$ac_clean_files
43614 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
43615 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43616 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43617 cat >$CONFIG_STATUS <<_ACEOF
43618 #! $SHELL
43619 # Generated by $as_me.
43620 # Run this file to recreate the current configuration.
43621 # Compiler output produced by configure, useful for debugging
43622 # configure, is in config.log if it exists.
43623
43624 debug=false
43625 ac_cs_recheck=false
43626 ac_cs_silent=false
43627 SHELL=\${CONFIG_SHELL-$SHELL}
43628 _ACEOF
43629
43630 cat >>$CONFIG_STATUS <<\_ACEOF
43631 ## --------------------- ##
43632 ## M4sh Initialization. ##
43633 ## --------------------- ##
43634
43635 # Be Bourne compatible
43636 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43637 emulate sh
43638 NULLCMD=:
43639 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43640 # is contrary to our usage. Disable this feature.
43641 alias -g '${1+"$@"}'='"$@"'
43642 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43643 set -o posix
43644 fi
43645 DUALCASE=1; export DUALCASE # for MKS sh
43646
43647 # Support unset when possible.
43648 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43649 as_unset=unset
43650 else
43651 as_unset=false
43652 fi
43653
43654
43655 # Work around bugs in pre-3.0 UWIN ksh.
43656 $as_unset ENV MAIL MAILPATH
43657 PS1='$ '
43658 PS2='> '
43659 PS4='+ '
43660
43661 # NLS nuisances.
43662 for as_var in \
43663 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43664 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43665 LC_TELEPHONE LC_TIME
43666 do
43667 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43668 eval $as_var=C; export $as_var
43669 else
43670 $as_unset $as_var
43671 fi
43672 done
43673
43674 # Required to use basename.
43675 if expr a : '\(a\)' >/dev/null 2>&1; then
43676 as_expr=expr
43677 else
43678 as_expr=false
43679 fi
43680
43681 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
43682 as_basename=basename
43683 else
43684 as_basename=false
43685 fi
43686
43687
43688 # Name of the executable.
43689 as_me=`$as_basename "$0" ||
43690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43691 X"$0" : 'X\(//\)$' \| \
43692 X"$0" : 'X\(/\)$' \| \
43693 . : '\(.\)' 2>/dev/null ||
43694 echo X/"$0" |
43695 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43696 /^X\/\(\/\/\)$/{ s//\1/; q; }
43697 /^X\/\(\/\).*/{ s//\1/; q; }
43698 s/.*/./; q'`
43699
43700
43701 # PATH needs CR, and LINENO needs CR and PATH.
43702 # Avoid depending upon Character Ranges.
43703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43706 as_cr_digits='0123456789'
43707 as_cr_alnum=$as_cr_Letters$as_cr_digits
43708
43709 # The user is always right.
43710 if test "${PATH_SEPARATOR+set}" != set; then
43711 echo "#! /bin/sh" >conf$$.sh
43712 echo "exit 0" >>conf$$.sh
43713 chmod +x conf$$.sh
43714 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43715 PATH_SEPARATOR=';'
43716 else
43717 PATH_SEPARATOR=:
43718 fi
43719 rm -f conf$$.sh
43720 fi
43721
43722
43723 as_lineno_1=$LINENO
43724 as_lineno_2=$LINENO
43725 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43726 test "x$as_lineno_1" != "x$as_lineno_2" &&
43727 test "x$as_lineno_3" = "x$as_lineno_2" || {
43728 # Find who we are. Look in the path if we contain no path at all
43729 # relative or not.
43730 case $0 in
43731 *[\\/]* ) as_myself=$0 ;;
43732 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43733 for as_dir in $PATH
43734 do
43735 IFS=$as_save_IFS
43736 test -z "$as_dir" && as_dir=.
43737 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
43738 done
43739
43740 ;;
43741 esac
43742 # We did not find ourselves, most probably we were run as `sh COMMAND'
43743 # in which case we are not to be found in the path.
43744 if test "x$as_myself" = x; then
43745 as_myself=$0
43746 fi
43747 if test ! -f "$as_myself"; then
43748 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43749 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43750 { (exit 1); exit 1; }; }
43751 fi
43752 case $CONFIG_SHELL in
43753 '')
43754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43755 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43756 do
43757 IFS=$as_save_IFS
43758 test -z "$as_dir" && as_dir=.
43759 for as_base in sh bash ksh sh5; do
43760 case $as_dir in
43761 /*)
43762 if ("$as_dir/$as_base" -c '
43763 as_lineno_1=$LINENO
43764 as_lineno_2=$LINENO
43765 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43766 test "x$as_lineno_1" != "x$as_lineno_2" &&
43767 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
43768 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
43769 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
43770 CONFIG_SHELL=$as_dir/$as_base
43771 export CONFIG_SHELL
43772 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43773 fi;;
43774 esac
43775 done
43776 done
43777 ;;
43778 esac
43779
43780 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43781 # uniformly replaced by the line number. The first 'sed' inserts a
43782 # line-number line before each line; the second 'sed' does the real
43783 # work. The second script uses 'N' to pair each line-number line
43784 # with the numbered line, and appends trailing '-' during
43785 # substitution so that $LINENO is not a special case at line end.
43786 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43787 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43788 sed '=' <$as_myself |
43789 sed '
43790 N
43791 s,$,-,
43792 : loop
43793 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43794 t loop
43795 s,-$,,
43796 s,^['$as_cr_digits']*\n,,
43797 ' >$as_me.lineno &&
43798 chmod +x $as_me.lineno ||
43799 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43800 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43801 { (exit 1); exit 1; }; }
43802
43803 # Don't try to exec as it changes $[0], causing all sort of problems
43804 # (the dirname of $[0] is not the place where we might find the
43805 # original and so on. Autoconf is especially sensible to this).
43806 . ./$as_me.lineno
43807 # Exit status is that of the last command.
43808 exit
43809 }
43810
43811
43812 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43813 *c*,-n*) ECHO_N= ECHO_C='
43814 ' ECHO_T=' ' ;;
43815 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
43816 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
43817 esac
43818
43819 if expr a : '\(a\)' >/dev/null 2>&1; then
43820 as_expr=expr
43821 else
43822 as_expr=false
43823 fi
43824
43825 rm -f conf$$ conf$$.exe conf$$.file
43826 echo >conf$$.file
43827 if ln -s conf$$.file conf$$ 2>/dev/null; then
43828 # We could just check for DJGPP; but this test a) works b) is more generic
43829 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43830 if test -f conf$$.exe; then
43831 # Don't use ln at all; we don't have any links
43832 as_ln_s='cp -p'
43833 else
43834 as_ln_s='ln -s'
43835 fi
43836 elif ln conf$$.file conf$$ 2>/dev/null; then
43837 as_ln_s=ln
43838 else
43839 as_ln_s='cp -p'
43840 fi
43841 rm -f conf$$ conf$$.exe conf$$.file
43842
43843 if mkdir -p . 2>/dev/null; then
43844 as_mkdir_p=:
43845 else
43846 test -d ./-p && rmdir ./-p
43847 as_mkdir_p=false
43848 fi
43849
43850 as_executable_p="test -f"
43851
43852 # Sed expression to map a string onto a valid CPP name.
43853 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43854
43855 # Sed expression to map a string onto a valid variable name.
43856 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43857
43858
43859 # IFS
43860 # We need space, tab and new line, in precisely that order.
43861 as_nl='
43862 '
43863 IFS=" $as_nl"
43864
43865 # CDPATH.
43866 $as_unset CDPATH
43867
43868 exec 6>&1
43869
43870 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43871 # report actual input values of CONFIG_FILES etc. instead of their
43872 # values after options handling. Logging --version etc. is OK.
43873 exec 5>>config.log
43874 {
43875 echo
43876 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43877 ## Running $as_me. ##
43878 _ASBOX
43879 } >&5
43880 cat >&5 <<_CSEOF
43881
43882 This file was extended by wxWidgets $as_me 2.5.5, which was
43883 generated by GNU Autoconf 2.59. Invocation command line was
43884
43885 CONFIG_FILES = $CONFIG_FILES
43886 CONFIG_HEADERS = $CONFIG_HEADERS
43887 CONFIG_LINKS = $CONFIG_LINKS
43888 CONFIG_COMMANDS = $CONFIG_COMMANDS
43889 $ $0 $@
43890
43891 _CSEOF
43892 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43893 echo >&5
43894 _ACEOF
43895
43896 # Files that config.status was made for.
43897 if test -n "$ac_config_files"; then
43898 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43899 fi
43900
43901 if test -n "$ac_config_headers"; then
43902 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43903 fi
43904
43905 if test -n "$ac_config_links"; then
43906 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43907 fi
43908
43909 if test -n "$ac_config_commands"; then
43910 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43911 fi
43912
43913 cat >>$CONFIG_STATUS <<\_ACEOF
43914
43915 ac_cs_usage="\
43916 \`$as_me' instantiates files from templates according to the
43917 current configuration.
43918
43919 Usage: $0 [OPTIONS] [FILE]...
43920
43921 -h, --help print this help, then exit
43922 -V, --version print version number, then exit
43923 -q, --quiet do not print progress messages
43924 -d, --debug don't remove temporary files
43925 --recheck update $as_me by reconfiguring in the same conditions
43926 --file=FILE[:TEMPLATE]
43927 instantiate the configuration file FILE
43928 --header=FILE[:TEMPLATE]
43929 instantiate the configuration header FILE
43930
43931 Configuration files:
43932 $config_files
43933
43934 Configuration headers:
43935 $config_headers
43936
43937 Configuration commands:
43938 $config_commands
43939
43940 Report bugs to <bug-autoconf@gnu.org>."
43941 _ACEOF
43942
43943 cat >>$CONFIG_STATUS <<_ACEOF
43944 ac_cs_version="\\
43945 wxWidgets config.status 2.5.5
43946 configured by $0, generated by GNU Autoconf 2.59,
43947 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43948
43949 Copyright (C) 2003 Free Software Foundation, Inc.
43950 This config.status script is free software; the Free Software Foundation
43951 gives unlimited permission to copy, distribute and modify it."
43952 srcdir=$srcdir
43953 INSTALL="$INSTALL"
43954 _ACEOF
43955
43956 cat >>$CONFIG_STATUS <<\_ACEOF
43957 # If no file are specified by the user, then we need to provide default
43958 # value. By we need to know if files were specified by the user.
43959 ac_need_defaults=:
43960 while test $# != 0
43961 do
43962 case $1 in
43963 --*=*)
43964 ac_option=`expr "x$1" : 'x\([^=]*\)='`
43965 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
43966 ac_shift=:
43967 ;;
43968 -*)
43969 ac_option=$1
43970 ac_optarg=$2
43971 ac_shift=shift
43972 ;;
43973 *) # This is not an option, so the user has probably given explicit
43974 # arguments.
43975 ac_option=$1
43976 ac_need_defaults=false;;
43977 esac
43978
43979 case $ac_option in
43980 # Handling of the options.
43981 _ACEOF
43982 cat >>$CONFIG_STATUS <<\_ACEOF
43983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43984 ac_cs_recheck=: ;;
43985 --version | --vers* | -V )
43986 echo "$ac_cs_version"; exit 0 ;;
43987 --he | --h)
43988 # Conflict between --help and --header
43989 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43990 Try \`$0 --help' for more information." >&5
43991 echo "$as_me: error: ambiguous option: $1
43992 Try \`$0 --help' for more information." >&2;}
43993 { (exit 1); exit 1; }; };;
43994 --help | --hel | -h )
43995 echo "$ac_cs_usage"; exit 0 ;;
43996 --debug | --d* | -d )
43997 debug=: ;;
43998 --file | --fil | --fi | --f )
43999 $ac_shift
44000 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44001 ac_need_defaults=false;;
44002 --header | --heade | --head | --hea )
44003 $ac_shift
44004 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44005 ac_need_defaults=false;;
44006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44007 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44008 ac_cs_silent=: ;;
44009
44010 # This is an error.
44011 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44012 Try \`$0 --help' for more information." >&5
44013 echo "$as_me: error: unrecognized option: $1
44014 Try \`$0 --help' for more information." >&2;}
44015 { (exit 1); exit 1; }; } ;;
44016
44017 *) ac_config_targets="$ac_config_targets $1" ;;
44018
44019 esac
44020 shift
44021 done
44022
44023 ac_configure_extra_args=
44024
44025 if $ac_cs_silent; then
44026 exec 6>/dev/null
44027 ac_configure_extra_args="$ac_configure_extra_args --silent"
44028 fi
44029
44030 _ACEOF
44031 cat >>$CONFIG_STATUS <<_ACEOF
44032 if \$ac_cs_recheck; then
44033 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44034 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44035 fi
44036
44037 _ACEOF
44038
44039 cat >>$CONFIG_STATUS <<_ACEOF
44040 #
44041 # INIT-COMMANDS section.
44042 #
44043
44044 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44045 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44046 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44047 LN_S="${LN_S}"
44048
44049
44050 _ACEOF
44051
44052
44053
44054 cat >>$CONFIG_STATUS <<\_ACEOF
44055 for ac_config_target in $ac_config_targets
44056 do
44057 case "$ac_config_target" in
44058 # Handling of arguments.
44059 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44060 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44061 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44062 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44063 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44064 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44065 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44066 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44067 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44068 { (exit 1); exit 1; }; };;
44069 esac
44070 done
44071
44072 # If the user did not use the arguments to specify the items to instantiate,
44073 # then the envvar interface is used. Set only those that are not.
44074 # We use the long form for the default assignment because of an extremely
44075 # bizarre bug on SunOS 4.1.3.
44076 if $ac_need_defaults; then
44077 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44078 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44079 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44080 fi
44081
44082 # Have a temporary directory for convenience. Make it in the build tree
44083 # simply because there is no reason to put it here, and in addition,
44084 # creating and moving files from /tmp can sometimes cause problems.
44085 # Create a temporary directory, and hook for its removal unless debugging.
44086 $debug ||
44087 {
44088 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44089 trap '{ (exit 1); exit 1; }' 1 2 13 15
44090 }
44091
44092 # Create a (secure) tmp directory for tmp files.
44093
44094 {
44095 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44096 test -n "$tmp" && test -d "$tmp"
44097 } ||
44098 {
44099 tmp=./confstat$$-$RANDOM
44100 (umask 077 && mkdir $tmp)
44101 } ||
44102 {
44103 echo "$me: cannot create a temporary directory in ." >&2
44104 { (exit 1); exit 1; }
44105 }
44106
44107 _ACEOF
44108
44109 cat >>$CONFIG_STATUS <<_ACEOF
44110
44111 #
44112 # CONFIG_FILES section.
44113 #
44114
44115 # No need to generate the scripts if there are no CONFIG_FILES.
44116 # This happens for instance when ./config.status config.h
44117 if test -n "\$CONFIG_FILES"; then
44118 # Protect against being on the right side of a sed subst in config.status.
44119 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44120 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44121 s,@SHELL@,$SHELL,;t t
44122 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44123 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44124 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44125 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44126 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44127 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44128 s,@exec_prefix@,$exec_prefix,;t t
44129 s,@prefix@,$prefix,;t t
44130 s,@program_transform_name@,$program_transform_name,;t t
44131 s,@bindir@,$bindir,;t t
44132 s,@sbindir@,$sbindir,;t t
44133 s,@libexecdir@,$libexecdir,;t t
44134 s,@datadir@,$datadir,;t t
44135 s,@sysconfdir@,$sysconfdir,;t t
44136 s,@sharedstatedir@,$sharedstatedir,;t t
44137 s,@localstatedir@,$localstatedir,;t t
44138 s,@libdir@,$libdir,;t t
44139 s,@includedir@,$includedir,;t t
44140 s,@oldincludedir@,$oldincludedir,;t t
44141 s,@infodir@,$infodir,;t t
44142 s,@mandir@,$mandir,;t t
44143 s,@build_alias@,$build_alias,;t t
44144 s,@host_alias@,$host_alias,;t t
44145 s,@target_alias@,$target_alias,;t t
44146 s,@DEFS@,$DEFS,;t t
44147 s,@ECHO_C@,$ECHO_C,;t t
44148 s,@ECHO_N@,$ECHO_N,;t t
44149 s,@ECHO_T@,$ECHO_T,;t t
44150 s,@LIBS@,$LIBS,;t t
44151 s,@build@,$build,;t t
44152 s,@build_cpu@,$build_cpu,;t t
44153 s,@build_vendor@,$build_vendor,;t t
44154 s,@build_os@,$build_os,;t t
44155 s,@host@,$host,;t t
44156 s,@host_cpu@,$host_cpu,;t t
44157 s,@host_vendor@,$host_vendor,;t t
44158 s,@host_os@,$host_os,;t t
44159 s,@target@,$target,;t t
44160 s,@target_cpu@,$target_cpu,;t t
44161 s,@target_vendor@,$target_vendor,;t t
44162 s,@target_os@,$target_os,;t t
44163 s,@CC@,$CC,;t t
44164 s,@CFLAGS@,$CFLAGS,;t t
44165 s,@LDFLAGS@,$LDFLAGS,;t t
44166 s,@CPPFLAGS@,$CPPFLAGS,;t t
44167 s,@ac_ct_CC@,$ac_ct_CC,;t t
44168 s,@EXEEXT@,$EXEEXT,;t t
44169 s,@OBJEXT@,$OBJEXT,;t t
44170 s,@CPP@,$CPP,;t t
44171 s,@EGREP@,$EGREP,;t t
44172 s,@CXX@,$CXX,;t t
44173 s,@CXXFLAGS@,$CXXFLAGS,;t t
44174 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44175 s,@RANLIB@,$RANLIB,;t t
44176 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44177 s,@AR@,$AR,;t t
44178 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44179 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44180 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44181 s,@STRIP@,$STRIP,;t t
44182 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44183 s,@LN_S@,$LN_S,;t t
44184 s,@CXXCPP@,$CXXCPP,;t t
44185 s,@subdirs@,$subdirs,;t t
44186 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44187 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44188 s,@GTK_LIBS@,$GTK_LIBS,;t t
44189 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44190 s,@X_CFLAGS@,$X_CFLAGS,;t t
44191 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44192 s,@X_LIBS@,$X_LIBS,;t t
44193 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44194 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44195 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44196 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44197 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44198 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44199 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44200 s,@RESCOMP@,$RESCOMP,;t t
44201 s,@DEREZ@,$DEREZ,;t t
44202 s,@SETFILE@,$SETFILE,;t t
44203 s,@LIBICONV@,$LIBICONV,;t t
44204 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44205 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44206 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44207 s,@SDL_LIBS@,$SDL_LIBS,;t t
44208 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44209 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44210 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44211 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44212 s,@GST_INSPECT@,$GST_INSPECT,;t t
44213 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44214 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44215 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44216 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44217 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44218 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44219 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44220 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44221 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44222 s,@VENDOR@,$VENDOR,;t t
44223 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44224 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44225 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44226 s,@WXUNIV@,$WXUNIV,;t t
44227 s,@MONOLITHIC@,$MONOLITHIC,;t t
44228 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44229 s,@EXTRALIBS@,$EXTRALIBS,;t t
44230 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44231 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44232 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44233 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44234 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44235 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44236 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44237 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44238 s,@UNICODE@,$UNICODE,;t t
44239 s,@BUILD@,$BUILD,;t t
44240 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44241 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44242 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44243 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44244 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44245 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44246 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44247 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44248 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44249 s,@SET_MAKE@,$SET_MAKE,;t t
44250 s,@MAKE_SET@,$MAKE_SET,;t t
44251 s,@ac_ct_AR@,$ac_ct_AR,;t t
44252 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44253 s,@NM@,$NM,;t t
44254 s,@ac_ct_NM@,$ac_ct_NM,;t t
44255 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44256 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44257 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44258 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44259 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44260 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44261 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44262 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44263 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44264 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44265 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44266 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44267 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44268 s,@LIBPREFIX@,$LIBPREFIX,;t t
44269 s,@LIBEXT@,$LIBEXT,;t t
44270 s,@DLLPREFIX@,$DLLPREFIX,;t t
44271 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44272 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44273 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44274 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44275 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44276 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44277 s,@PIC_FLAG@,$PIC_FLAG,;t t
44278 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44279 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44280 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44281 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44282 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44283 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44284 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44285 s,@GCC_PCH@,$GCC_PCH,;t t
44286 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44287 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44288 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44289 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44290 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44291 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44292 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44293 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44294 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44295 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44296 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44297 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44298 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44299 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44300 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44301 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44302 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44303 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44304 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
44305 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
44306 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
44307 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44308 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44309 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44310 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44311 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
44312 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
44313 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
44314 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44315 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44316 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44317 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44318 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44319 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44320 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44321 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44322 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44323 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44324 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44325 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44326 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44327 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44328 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44329 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
44330 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44331 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44332 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44333 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44334 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44335 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44336 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44337 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44338 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44339 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44340 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44341 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44342 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44343 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44344 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44345 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44346 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44347 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44348 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44349 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44350 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44351 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44352 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44353 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44354 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44355 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44356 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44357 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44358 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44359 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44360 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44361 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44362 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44363 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44364 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44365 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44366 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44367 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44368 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44369 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44370 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44371 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44372 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44373 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44374 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44375 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44376 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44377 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44378 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44379 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44380 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44381 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44382 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44383 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44384 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44385 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44386 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44387 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44388 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44389 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44390 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44391 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44392 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44393 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44394 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44395 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44396 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44397 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44398 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44399 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44400 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44401 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44402 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44403 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44404 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44405 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44406 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44407 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44408 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44409 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44410 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44411 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44412 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44413 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44414 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44415 s,@SHARED@,$SHARED,;t t
44416 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44417 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44418 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44419 s,@USE_GUI@,$USE_GUI,;t t
44420 s,@AFMINSTALL@,$AFMINSTALL,;t t
44421 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44422 s,@TOOLKIT@,$TOOLKIT,;t t
44423 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44424 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44425 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44426 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44427 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44428 s,@cross_compiling@,$cross_compiling,;t t
44429 s,@WIDGET_SET@,$WIDGET_SET,;t t
44430 s,@WX_RELEASE@,$WX_RELEASE,;t t
44431 s,@WX_VERSION@,$WX_VERSION,;t t
44432 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44433 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44434 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44435 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44436 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44437 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44438 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44439 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44440 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44441 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44442 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44443 s,@EXE_LINKER@,$EXE_LINKER,;t t
44444 s,@GUIDIST@,$GUIDIST,;t t
44445 s,@DISTDIR@,$DISTDIR,;t t
44446 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44447 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44448 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44449 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44450 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44451 s,@RESFLAGS@,$RESFLAGS,;t t
44452 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44453 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44454 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44455 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44456 s,@MACRESCOMP@,$MACRESCOMP,;t t
44457 s,@MACSETFILE@,$MACSETFILE,;t t
44458 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44459 s,@GCC@,$GCC,;t t
44460 s,@DLLTOOL@,$DLLTOOL,;t t
44461 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44462 s,@LIBOBJS@,$LIBOBJS,;t t
44463 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44464 CEOF
44465
44466 _ACEOF
44467
44468 cat >>$CONFIG_STATUS <<\_ACEOF
44469 # Split the substitutions into bite-sized pieces for seds with
44470 # small command number limits, like on Digital OSF/1 and HP-UX.
44471 ac_max_sed_lines=48
44472 ac_sed_frag=1 # Number of current file.
44473 ac_beg=1 # First line for current file.
44474 ac_end=$ac_max_sed_lines # Line after last line for current file.
44475 ac_more_lines=:
44476 ac_sed_cmds=
44477 while $ac_more_lines; do
44478 if test $ac_beg -gt 1; then
44479 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44480 else
44481 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44482 fi
44483 if test ! -s $tmp/subs.frag; then
44484 ac_more_lines=false
44485 else
44486 # The purpose of the label and of the branching condition is to
44487 # speed up the sed processing (if there are no `@' at all, there
44488 # is no need to browse any of the substitutions).
44489 # These are the two extra sed commands mentioned above.
44490 (echo ':t
44491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
44492 if test -z "$ac_sed_cmds"; then
44493 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
44494 else
44495 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44496 fi
44497 ac_sed_frag=`expr $ac_sed_frag + 1`
44498 ac_beg=$ac_end
44499 ac_end=`expr $ac_end + $ac_max_sed_lines`
44500 fi
44501 done
44502 if test -z "$ac_sed_cmds"; then
44503 ac_sed_cmds=cat
44504 fi
44505 fi # test -n "$CONFIG_FILES"
44506
44507 _ACEOF
44508 cat >>$CONFIG_STATUS <<\_ACEOF
44509 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
44510 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44511 case $ac_file in
44512 - | *:- | *:-:* ) # input from stdin
44513 cat >$tmp/stdin
44514 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44515 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44516 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44517 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44518 * ) ac_file_in=$ac_file.in ;;
44519 esac
44520
44521 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44522 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44523 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44524 X"$ac_file" : 'X\(//\)[^/]' \| \
44525 X"$ac_file" : 'X\(//\)$' \| \
44526 X"$ac_file" : 'X\(/\)' \| \
44527 . : '\(.\)' 2>/dev/null ||
44528 echo X"$ac_file" |
44529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44531 /^X\(\/\/\)$/{ s//\1/; q; }
44532 /^X\(\/\).*/{ s//\1/; q; }
44533 s/.*/./; q'`
44534 { if $as_mkdir_p; then
44535 mkdir -p "$ac_dir"
44536 else
44537 as_dir="$ac_dir"
44538 as_dirs=
44539 while test ! -d "$as_dir"; do
44540 as_dirs="$as_dir $as_dirs"
44541 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44542 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44543 X"$as_dir" : 'X\(//\)[^/]' \| \
44544 X"$as_dir" : 'X\(//\)$' \| \
44545 X"$as_dir" : 'X\(/\)' \| \
44546 . : '\(.\)' 2>/dev/null ||
44547 echo X"$as_dir" |
44548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44549 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44550 /^X\(\/\/\)$/{ s//\1/; q; }
44551 /^X\(\/\).*/{ s//\1/; q; }
44552 s/.*/./; q'`
44553 done
44554 test ! -n "$as_dirs" || mkdir $as_dirs
44555 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44556 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44557 { (exit 1); exit 1; }; }; }
44558
44559 ac_builddir=.
44560
44561 if test "$ac_dir" != .; then
44562 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44563 # A "../" for each directory in $ac_dir_suffix.
44564 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44565 else
44566 ac_dir_suffix= ac_top_builddir=
44567 fi
44568
44569 case $srcdir in
44570 .) # No --srcdir option. We are building in place.
44571 ac_srcdir=.
44572 if test -z "$ac_top_builddir"; then
44573 ac_top_srcdir=.
44574 else
44575 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44576 fi ;;
44577 [\\/]* | ?:[\\/]* ) # Absolute path.
44578 ac_srcdir=$srcdir$ac_dir_suffix;
44579 ac_top_srcdir=$srcdir ;;
44580 *) # Relative path.
44581 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44582 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44583 esac
44584
44585 # Do not use `cd foo && pwd` to compute absolute paths, because
44586 # the directories may not exist.
44587 case `pwd` in
44588 .) ac_abs_builddir="$ac_dir";;
44589 *)
44590 case "$ac_dir" in
44591 .) ac_abs_builddir=`pwd`;;
44592 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44593 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44594 esac;;
44595 esac
44596 case $ac_abs_builddir in
44597 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44598 *)
44599 case ${ac_top_builddir}. in
44600 .) ac_abs_top_builddir=$ac_abs_builddir;;
44601 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44602 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44603 esac;;
44604 esac
44605 case $ac_abs_builddir in
44606 .) ac_abs_srcdir=$ac_srcdir;;
44607 *)
44608 case $ac_srcdir in
44609 .) ac_abs_srcdir=$ac_abs_builddir;;
44610 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44611 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44612 esac;;
44613 esac
44614 case $ac_abs_builddir in
44615 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44616 *)
44617 case $ac_top_srcdir in
44618 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44619 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44620 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44621 esac;;
44622 esac
44623
44624
44625 case $INSTALL in
44626 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44627 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
44628 esac
44629
44630 # Let's still pretend it is `configure' which instantiates (i.e., don't
44631 # use $as_me), people would be surprised to read:
44632 # /* config.h. Generated by config.status. */
44633 if test x"$ac_file" = x-; then
44634 configure_input=
44635 else
44636 configure_input="$ac_file. "
44637 fi
44638 configure_input=$configure_input"Generated from `echo $ac_file_in |
44639 sed 's,.*/,,'` by configure."
44640
44641 # First look for the input files in the build tree, otherwise in the
44642 # src tree.
44643 ac_file_inputs=`IFS=:
44644 for f in $ac_file_in; do
44645 case $f in
44646 -) echo $tmp/stdin ;;
44647 [\\/$]*)
44648 # Absolute (can't be DOS-style, as IFS=:)
44649 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44650 echo "$as_me: error: cannot find input file: $f" >&2;}
44651 { (exit 1); exit 1; }; }
44652 echo "$f";;
44653 *) # Relative
44654 if test -f "$f"; then
44655 # Build tree
44656 echo "$f"
44657 elif test -f "$srcdir/$f"; then
44658 # Source tree
44659 echo "$srcdir/$f"
44660 else
44661 # /dev/null tree
44662 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44663 echo "$as_me: error: cannot find input file: $f" >&2;}
44664 { (exit 1); exit 1; }; }
44665 fi;;
44666 esac
44667 done` || { (exit 1); exit 1; }
44668
44669 if test x"$ac_file" != x-; then
44670 { echo "$as_me:$LINENO: creating $ac_file" >&5
44671 echo "$as_me: creating $ac_file" >&6;}
44672 rm -f "$ac_file"
44673 fi
44674 _ACEOF
44675 cat >>$CONFIG_STATUS <<_ACEOF
44676 sed "$ac_vpsub
44677 $extrasub
44678 _ACEOF
44679 cat >>$CONFIG_STATUS <<\_ACEOF
44680 :t
44681 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44682 s,@configure_input@,$configure_input,;t t
44683 s,@srcdir@,$ac_srcdir,;t t
44684 s,@abs_srcdir@,$ac_abs_srcdir,;t t
44685 s,@top_srcdir@,$ac_top_srcdir,;t t
44686 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
44687 s,@builddir@,$ac_builddir,;t t
44688 s,@abs_builddir@,$ac_abs_builddir,;t t
44689 s,@top_builddir@,$ac_top_builddir,;t t
44690 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
44691 s,@INSTALL@,$ac_INSTALL,;t t
44692 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44693 rm -f $tmp/stdin
44694 if test x"$ac_file" != x-; then
44695 mv $tmp/out $ac_file
44696 else
44697 cat $tmp/out
44698 rm -f $tmp/out
44699 fi
44700
44701 # Run the commands associated with the file.
44702 case $ac_file in
44703 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44704 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44705 esac
44706 done
44707 _ACEOF
44708 cat >>$CONFIG_STATUS <<\_ACEOF
44709
44710 #
44711 # CONFIG_HEADER section.
44712 #
44713
44714 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
44715 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44716 #
44717 # ac_d sets the value in "#define NAME VALUE" lines.
44718 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44719 ac_dB='[ ].*$,\1#\2'
44720 ac_dC=' '
44721 ac_dD=',;t'
44722 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44723 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44724 ac_uB='$,\1#\2define\3'
44725 ac_uC=' '
44726 ac_uD=',;t'
44727
44728 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
44729 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44730 case $ac_file in
44731 - | *:- | *:-:* ) # input from stdin
44732 cat >$tmp/stdin
44733 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44734 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44735 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44736 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44737 * ) ac_file_in=$ac_file.in ;;
44738 esac
44739
44740 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44741 echo "$as_me: creating $ac_file" >&6;}
44742
44743 # First look for the input files in the build tree, otherwise in the
44744 # src tree.
44745 ac_file_inputs=`IFS=:
44746 for f in $ac_file_in; do
44747 case $f in
44748 -) echo $tmp/stdin ;;
44749 [\\/$]*)
44750 # Absolute (can't be DOS-style, as IFS=:)
44751 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44752 echo "$as_me: error: cannot find input file: $f" >&2;}
44753 { (exit 1); exit 1; }; }
44754 # Do quote $f, to prevent DOS paths from being IFS'd.
44755 echo "$f";;
44756 *) # Relative
44757 if test -f "$f"; then
44758 # Build tree
44759 echo "$f"
44760 elif test -f "$srcdir/$f"; then
44761 # Source tree
44762 echo "$srcdir/$f"
44763 else
44764 # /dev/null tree
44765 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44766 echo "$as_me: error: cannot find input file: $f" >&2;}
44767 { (exit 1); exit 1; }; }
44768 fi;;
44769 esac
44770 done` || { (exit 1); exit 1; }
44771 # Remove the trailing spaces.
44772 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44773
44774 _ACEOF
44775
44776 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44777 # `conftest.undefs', that substitutes the proper values into
44778 # config.h.in to produce config.h. The first handles `#define'
44779 # templates, and the second `#undef' templates.
44780 # And first: Protect against being on the right side of a sed subst in
44781 # config.status. Protect against being in an unquoted here document
44782 # in config.status.
44783 rm -f conftest.defines conftest.undefs
44784 # Using a here document instead of a string reduces the quoting nightmare.
44785 # Putting comments in sed scripts is not portable.
44786 #
44787 # `end' is used to avoid that the second main sed command (meant for
44788 # 0-ary CPP macros) applies to n-ary macro definitions.
44789 # See the Autoconf documentation for `clear'.
44790 cat >confdef2sed.sed <<\_ACEOF
44791 s/[\\&,]/\\&/g
44792 s,[\\$`],\\&,g
44793 t clear
44794 : clear
44795 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44796 t end
44797 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44798 : end
44799 _ACEOF
44800 # If some macros were called several times there might be several times
44801 # the same #defines, which is useless. Nevertheless, we may not want to
44802 # sort them, since we want the *last* AC-DEFINE to be honored.
44803 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44804 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44805 rm -f confdef2sed.sed
44806
44807 # This sed command replaces #undef with comments. This is necessary, for
44808 # example, in the case of _POSIX_SOURCE, which is predefined and required
44809 # on some systems where configure will not decide to define it.
44810 cat >>conftest.undefs <<\_ACEOF
44811 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44812 _ACEOF
44813
44814 # Break up conftest.defines because some shells have a limit on the size
44815 # of here documents, and old seds have small limits too (100 cmds).
44816 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44817 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44818 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44819 echo ' :' >>$CONFIG_STATUS
44820 rm -f conftest.tail
44821 while grep . conftest.defines >/dev/null
44822 do
44823 # Write a limited-size here document to $tmp/defines.sed.
44824 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44825 # Speed up: don't consider the non `#define' lines.
44826 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44827 # Work around the forget-to-reset-the-flag bug.
44828 echo 't clr' >>$CONFIG_STATUS
44829 echo ': clr' >>$CONFIG_STATUS
44830 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
44831 echo 'CEOF
44832 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44833 rm -f $tmp/in
44834 mv $tmp/out $tmp/in
44835 ' >>$CONFIG_STATUS
44836 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
44837 rm -f conftest.defines
44838 mv conftest.tail conftest.defines
44839 done
44840 rm -f conftest.defines
44841 echo ' fi # grep' >>$CONFIG_STATUS
44842 echo >>$CONFIG_STATUS
44843
44844 # Break up conftest.undefs because some shells have a limit on the size
44845 # of here documents, and old seds have small limits too (100 cmds).
44846 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44847 rm -f conftest.tail
44848 while grep . conftest.undefs >/dev/null
44849 do
44850 # Write a limited-size here document to $tmp/undefs.sed.
44851 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44852 # Speed up: don't consider the non `#undef'
44853 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44854 # Work around the forget-to-reset-the-flag bug.
44855 echo 't clr' >>$CONFIG_STATUS
44856 echo ': clr' >>$CONFIG_STATUS
44857 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44858 echo 'CEOF
44859 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44860 rm -f $tmp/in
44861 mv $tmp/out $tmp/in
44862 ' >>$CONFIG_STATUS
44863 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44864 rm -f conftest.undefs
44865 mv conftest.tail conftest.undefs
44866 done
44867 rm -f conftest.undefs
44868
44869 cat >>$CONFIG_STATUS <<\_ACEOF
44870 # Let's still pretend it is `configure' which instantiates (i.e., don't
44871 # use $as_me), people would be surprised to read:
44872 # /* config.h. Generated by config.status. */
44873 if test x"$ac_file" = x-; then
44874 echo "/* Generated by configure. */" >$tmp/config.h
44875 else
44876 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44877 fi
44878 cat $tmp/in >>$tmp/config.h
44879 rm -f $tmp/in
44880 if test x"$ac_file" != x-; then
44881 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
44882 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44883 echo "$as_me: $ac_file is unchanged" >&6;}
44884 else
44885 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44887 X"$ac_file" : 'X\(//\)[^/]' \| \
44888 X"$ac_file" : 'X\(//\)$' \| \
44889 X"$ac_file" : 'X\(/\)' \| \
44890 . : '\(.\)' 2>/dev/null ||
44891 echo X"$ac_file" |
44892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44894 /^X\(\/\/\)$/{ s//\1/; q; }
44895 /^X\(\/\).*/{ s//\1/; q; }
44896 s/.*/./; q'`
44897 { if $as_mkdir_p; then
44898 mkdir -p "$ac_dir"
44899 else
44900 as_dir="$ac_dir"
44901 as_dirs=
44902 while test ! -d "$as_dir"; do
44903 as_dirs="$as_dir $as_dirs"
44904 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44906 X"$as_dir" : 'X\(//\)[^/]' \| \
44907 X"$as_dir" : 'X\(//\)$' \| \
44908 X"$as_dir" : 'X\(/\)' \| \
44909 . : '\(.\)' 2>/dev/null ||
44910 echo X"$as_dir" |
44911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44913 /^X\(\/\/\)$/{ s//\1/; q; }
44914 /^X\(\/\).*/{ s//\1/; q; }
44915 s/.*/./; q'`
44916 done
44917 test ! -n "$as_dirs" || mkdir $as_dirs
44918 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44919 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44920 { (exit 1); exit 1; }; }; }
44921
44922 rm -f $ac_file
44923 mv $tmp/config.h $ac_file
44924 fi
44925 else
44926 cat $tmp/config.h
44927 rm -f $tmp/config.h
44928 fi
44929 done
44930 _ACEOF
44931 cat >>$CONFIG_STATUS <<\_ACEOF
44932
44933 #
44934 # CONFIG_COMMANDS section.
44935 #
44936 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44937 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44938 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44939 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44940 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44941 X"$ac_dest" : 'X\(//\)[^/]' \| \
44942 X"$ac_dest" : 'X\(//\)$' \| \
44943 X"$ac_dest" : 'X\(/\)' \| \
44944 . : '\(.\)' 2>/dev/null ||
44945 echo X"$ac_dest" |
44946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44948 /^X\(\/\/\)$/{ s//\1/; q; }
44949 /^X\(\/\).*/{ s//\1/; q; }
44950 s/.*/./; q'`
44951 { if $as_mkdir_p; then
44952 mkdir -p "$ac_dir"
44953 else
44954 as_dir="$ac_dir"
44955 as_dirs=
44956 while test ! -d "$as_dir"; do
44957 as_dirs="$as_dir $as_dirs"
44958 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44960 X"$as_dir" : 'X\(//\)[^/]' \| \
44961 X"$as_dir" : 'X\(//\)$' \| \
44962 X"$as_dir" : 'X\(/\)' \| \
44963 . : '\(.\)' 2>/dev/null ||
44964 echo X"$as_dir" |
44965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44967 /^X\(\/\/\)$/{ s//\1/; q; }
44968 /^X\(\/\).*/{ s//\1/; q; }
44969 s/.*/./; q'`
44970 done
44971 test ! -n "$as_dirs" || mkdir $as_dirs
44972 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44973 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44974 { (exit 1); exit 1; }; }; }
44975
44976 ac_builddir=.
44977
44978 if test "$ac_dir" != .; then
44979 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44980 # A "../" for each directory in $ac_dir_suffix.
44981 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44982 else
44983 ac_dir_suffix= ac_top_builddir=
44984 fi
44985
44986 case $srcdir in
44987 .) # No --srcdir option. We are building in place.
44988 ac_srcdir=.
44989 if test -z "$ac_top_builddir"; then
44990 ac_top_srcdir=.
44991 else
44992 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44993 fi ;;
44994 [\\/]* | ?:[\\/]* ) # Absolute path.
44995 ac_srcdir=$srcdir$ac_dir_suffix;
44996 ac_top_srcdir=$srcdir ;;
44997 *) # Relative path.
44998 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44999 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45000 esac
45001
45002 # Do not use `cd foo && pwd` to compute absolute paths, because
45003 # the directories may not exist.
45004 case `pwd` in
45005 .) ac_abs_builddir="$ac_dir";;
45006 *)
45007 case "$ac_dir" in
45008 .) ac_abs_builddir=`pwd`;;
45009 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45010 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45011 esac;;
45012 esac
45013 case $ac_abs_builddir in
45014 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45015 *)
45016 case ${ac_top_builddir}. in
45017 .) ac_abs_top_builddir=$ac_abs_builddir;;
45018 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45019 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45020 esac;;
45021 esac
45022 case $ac_abs_builddir in
45023 .) ac_abs_srcdir=$ac_srcdir;;
45024 *)
45025 case $ac_srcdir in
45026 .) ac_abs_srcdir=$ac_abs_builddir;;
45027 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45028 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45029 esac;;
45030 esac
45031 case $ac_abs_builddir in
45032 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45033 *)
45034 case $ac_top_srcdir in
45035 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45036 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45037 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45038 esac;;
45039 esac
45040
45041
45042 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45043 echo "$as_me: executing $ac_dest commands" >&6;}
45044 case $ac_dest in
45045 wx-config ) rm -f wx-config
45046 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45047 ;;
45048 esac
45049 done
45050 _ACEOF
45051
45052 cat >>$CONFIG_STATUS <<\_ACEOF
45053
45054 { (exit 0); exit 0; }
45055 _ACEOF
45056 chmod +x $CONFIG_STATUS
45057 ac_clean_files=$ac_clean_files_save
45058
45059
45060 # configure is writing to config.log, and then calls config.status.
45061 # config.status does its own redirection, appending to config.log.
45062 # Unfortunately, on DOS this fails, as config.log is still kept open
45063 # by configure, so config.status won't be able to write to it; its
45064 # output is simply discarded. So we exec the FD to /dev/null,
45065 # effectively closing config.log, so it can be properly (re)opened and
45066 # appended to by config.status. When coming back to configure, we
45067 # need to make the FD available again.
45068 if test "$no_create" != yes; then
45069 ac_cs_success=:
45070 ac_config_status_args=
45071 test "$silent" = yes &&
45072 ac_config_status_args="$ac_config_status_args --quiet"
45073 exec 5>/dev/null
45074 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45075 exec 5>>config.log
45076 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45077 # would make configure fail if this is the last instruction.
45078 $ac_cs_success || { (exit 1); exit 1; }
45079 fi
45080
45081 #
45082 # CONFIG_SUBDIRS section.
45083 #
45084 if test "$no_recursion" != yes; then
45085
45086 # Remove --cache-file and --srcdir arguments so they do not pile up.
45087 ac_sub_configure_args=
45088 ac_prev=
45089 for ac_arg in $ac_configure_args; do
45090 if test -n "$ac_prev"; then
45091 ac_prev=
45092 continue
45093 fi
45094 case $ac_arg in
45095 -cache-file | --cache-file | --cache-fil | --cache-fi \
45096 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45097 ac_prev=cache_file ;;
45098 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45099 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45100 | --c=*)
45101 ;;
45102 --config-cache | -C)
45103 ;;
45104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45105 ac_prev=srcdir ;;
45106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45107 ;;
45108 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45109 ac_prev=prefix ;;
45110 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45111 ;;
45112 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45113 esac
45114 done
45115
45116 # Always prepend --prefix to ensure using the same prefix
45117 # in subdir configurations.
45118 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45119
45120 ac_popdir=`pwd`
45121 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45122
45123 # Do not complain, so a configure script can configure whichever
45124 # parts of a large source tree are present.
45125 test -d $srcdir/$ac_dir || continue
45126
45127 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45128 echo "$as_me: configuring in $ac_dir" >&6;}
45129 { if $as_mkdir_p; then
45130 mkdir -p "$ac_dir"
45131 else
45132 as_dir="$ac_dir"
45133 as_dirs=
45134 while test ! -d "$as_dir"; do
45135 as_dirs="$as_dir $as_dirs"
45136 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45138 X"$as_dir" : 'X\(//\)[^/]' \| \
45139 X"$as_dir" : 'X\(//\)$' \| \
45140 X"$as_dir" : 'X\(/\)' \| \
45141 . : '\(.\)' 2>/dev/null ||
45142 echo X"$as_dir" |
45143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45144 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45145 /^X\(\/\/\)$/{ s//\1/; q; }
45146 /^X\(\/\).*/{ s//\1/; q; }
45147 s/.*/./; q'`
45148 done
45149 test ! -n "$as_dirs" || mkdir $as_dirs
45150 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45151 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45152 { (exit 1); exit 1; }; }; }
45153
45154 ac_builddir=.
45155
45156 if test "$ac_dir" != .; then
45157 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45158 # A "../" for each directory in $ac_dir_suffix.
45159 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45160 else
45161 ac_dir_suffix= ac_top_builddir=
45162 fi
45163
45164 case $srcdir in
45165 .) # No --srcdir option. We are building in place.
45166 ac_srcdir=.
45167 if test -z "$ac_top_builddir"; then
45168 ac_top_srcdir=.
45169 else
45170 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45171 fi ;;
45172 [\\/]* | ?:[\\/]* ) # Absolute path.
45173 ac_srcdir=$srcdir$ac_dir_suffix;
45174 ac_top_srcdir=$srcdir ;;
45175 *) # Relative path.
45176 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45177 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45178 esac
45179
45180 # Do not use `cd foo && pwd` to compute absolute paths, because
45181 # the directories may not exist.
45182 case `pwd` in
45183 .) ac_abs_builddir="$ac_dir";;
45184 *)
45185 case "$ac_dir" in
45186 .) ac_abs_builddir=`pwd`;;
45187 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45188 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45189 esac;;
45190 esac
45191 case $ac_abs_builddir in
45192 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45193 *)
45194 case ${ac_top_builddir}. in
45195 .) ac_abs_top_builddir=$ac_abs_builddir;;
45196 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45197 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45198 esac;;
45199 esac
45200 case $ac_abs_builddir in
45201 .) ac_abs_srcdir=$ac_srcdir;;
45202 *)
45203 case $ac_srcdir in
45204 .) ac_abs_srcdir=$ac_abs_builddir;;
45205 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45206 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45207 esac;;
45208 esac
45209 case $ac_abs_builddir in
45210 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45211 *)
45212 case $ac_top_srcdir in
45213 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45214 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45215 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45216 esac;;
45217 esac
45218
45219
45220 cd $ac_dir
45221
45222 # Check for guested configure; otherwise get Cygnus style configure.
45223 if test -f $ac_srcdir/configure.gnu; then
45224 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45225 elif test -f $ac_srcdir/configure; then
45226 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45227 elif test -f $ac_srcdir/configure.in; then
45228 ac_sub_configure=$ac_configure
45229 else
45230 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45231 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45232 ac_sub_configure=
45233 fi
45234
45235 # The recursion is here.
45236 if test -n "$ac_sub_configure"; then
45237 # Make the cache file name correct relative to the subdirectory.
45238 case $cache_file in
45239 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45240 *) # Relative path.
45241 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45242 esac
45243
45244 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45245 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45246 # The eval makes quoting arguments work.
45247 eval $ac_sub_configure $ac_sub_configure_args \
45248 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45249 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45250 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45251 { (exit 1); exit 1; }; }
45252 fi
45253
45254 cd "$ac_popdir"
45255 done
45256 fi
45257
45258
45259 echo
45260 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45261 echo ""
45262 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45263 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45264
45265 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45266 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45267 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45268
45269 echo " What level of wxWidgets compatibility should be enabled?"
45270 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45271 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45272
45273 echo " Which libraries should wxWidgets use?"
45274 echo " jpeg ${wxUSE_LIBJPEG-none}"
45275 echo " png ${wxUSE_LIBPNG-none}"
45276 echo " regex ${wxUSE_REGEX}"
45277 echo " tiff ${wxUSE_LIBTIFF-none}"
45278 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45279 echo " xpm ${wxUSE_LIBXPM-none}"
45280 fi
45281 echo " zlib ${wxUSE_ZLIB}"
45282 echo " odbc ${wxUSE_ODBC}"
45283 echo " expat ${wxUSE_EXPAT}"
45284 echo " libmspack ${wxUSE_LIBMSPACK}"
45285 echo " sdl ${wxUSE_LIBSDL}"
45286 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
45287
45288 echo ""
45289