]> git.saurik.com Git - wxWidgets.git/blob - configure
When host is OS X (PowerPC Darwin) check if compiler defines __POWERPC__
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.4.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.4'
274 PACKAGE_STRING='wxWidgets 2.5.4'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.4 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.5.4:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class for DLL loading
913 --enable-dynamicloader use (new) wxDynamicLibrary class
914 --enable-exceptions build exception-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-streams use wxStream etc classes
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-stopwatch use wxStopWatch class
930 --enable-sysoptions use wxSystemOptions
931 --enable-textbuf use wxTextBuffer class
932 --enable-textfile use wxTextFile class
933 --enable-timer use wxTimer class
934 --enable-unicode compile wxString with Unicode support
935 --enable-sound use wxSound class
936 --enable-mediactrl use wxMediaCtrl class
937 --enable-wxprintfv use wxWidgets implementation of vprintf()
938 --enable-zipstream use wxZip streams
939 --enable-url use wxURL class
940 --enable-protocol use wxProtocol class
941 --enable-protocol-http HTTP support in wxProtocol
942 --enable-protocol-ftp FTP support in wxProtocol
943 --enable-protocol-file FILE support in wxProtocol
944 --enable-threads use threads
945 --enable-docview use document view architecture
946 --enable-help use help subsystem
947 --enable-mshtmlhelp use MS HTML Help (win32)
948 --enable-html use wxHTML sub-library
949 --enable-htmlhelp use wxHTML-based help
950 --enable-xrc use XRC resources sub-library
951 --enable-constraints use layout-constraints system
952 --enable-printarch use printing architecture
953 --enable-mdi use multiple document interface architecture
954 --enable-mdidoc use docview architecture with MDI
955 --enable-loggui use standard GUI logger
956 --enable-logwin use wxLogWindow
957 --enable-logdialog use wxLogDialog
958 --enable-webkit use wxWebKitCtrl (Mac)
959 --enable-postscript use wxPostscriptDC device context (default for gtk+)
960 --enable-prologio not available; see contrib
961 --enable-resources not available; see contrib
962 --enable-clipboard use wxClipboard class
963 --enable-dnd use Drag'n'Drop classes
964 --enable-metafile use win32 metafiles
965 --enable-controls use all usual controls
966 --enable-accel use accelerators
967 --enable-button use wxButton class
968 --enable-bmpbutton use wxBitmapButton class
969 --enable-calendar use wxCalendarCtrl class
970 --enable-caret use wxCaret class
971 --enable-checkbox use wxCheckBox class
972 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
973 --enable-choice use wxChoice class
974 --enable-choicebook use wxChoicebook class
975 --enable-combobox use wxComboBox class
976 --enable-datepick use wxDatePickerCtrl class
977 --enable-display use wxDisplay class
978 --enable-gauge use wxGauge class
979 --enable-grid use wxGrid class
980 --enable-imaglist use wxImageList class
981 --enable-listbook use wxListbook class
982 --enable-listbox use wxListBox class
983 --enable-listctrl use wxListCtrl class
984 --enable-notebook use wxNotebook class
985 --enable-radiobox use wxRadioBox class
986 --enable-radiobtn use wxRadioButton class
987 --enable-sash use wxSashWindow class
988 --enable-scrollbar use wxScrollBar class and scrollable windows
989 --enable-slider use wxSlider class
990 --enable-spinbtn use wxSpinButton class
991 --enable-spinctrl use wxSpinCtrl class
992 --enable-splitter use wxSplitterWindow class
993 --enable-statbmp use wxStaticBitmap class
994 --enable-statbox use wxStaticBox class
995 --enable-statline use wxStaticLine class
996 --enable-stattext use wxStaticText class
997 --enable-statusbar use wxStatusBar class
998 --enable-tabdialog use wxTabControl class
999 --enable-textctrl use wxTextCtrl class
1000 --enable-togglebtn use wxToggleButton class
1001 --enable-toolbar use wxToolBar class
1002 --enable-tbarnative use native wxToolBar class
1003 --enable-tbarsmpl use wxToolBarSimple class
1004 --enable-treectrl use wxTreeCtrl class
1005 --enable-tipwindow use wxTipWindow class
1006 --enable-popupwin use wxPopUpWindow class
1007 --enable-commondlg use all common dialogs
1008 --enable-choicedlg use wxChoiceDialog
1009 --enable-coldlg use wxColourDialog
1010 --enable-filedlg use wxFileDialog
1011 --enable-finddlg use wxFindReplaceDialog
1012 --enable-fontdlg use wxFontDialog
1013 --enable-dirdlg use wxDirDialog
1014 --enable-msgdlg use wxMessageDialog
1015 --enable-numberdlg use wxNumberEntryDialog
1016 --enable-splash use wxSplashScreen
1017 --enable-textdlg use wxTextDialog
1018 --enable-tipdlg use startup tips
1019 --enable-progressdlg use wxProgressDialog
1020 --enable-wizarddlg use wxWizard
1021 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1022 --enable-miniframe use wxMiniFrame class
1023 --enable-tooltips use wxToolTip class
1024 --enable-splines use spline drawing code
1025 --enable-validators use wxValidator and derived classes
1026 --enable-busyinfo use wxBusyInfo
1027 --enable-joystick use wxJoystick
1028 --enable-metafiles use wxMetaFile (Windows only)
1029 --enable-dragimage use wxDragImage
1030 --enable-accessibility enable accessibility support
1031 --enable-palette use wxPalette class
1032 --enable-image use wxImage class
1033 --enable-gif use gif images (GIF file format)
1034 --enable-pcx use pcx images (PCX file format)
1035 --enable-iff use iff images (IFF file format)
1036 --enable-pnm use pnm images (PNM file format)
1037 --enable-xpm use xpm images (XPM file format)
1038 --enable-icocur use Windows ICO and CUR formats
1039 --enable-official_build official build of wxWidgets (win32 DLL only)
1040 --enable-vendor=VENDOR vendor name (win32 DLL only)
1041 --disable-largefile omit support for large files
1042 --disable-gtktest do not try to compile and run a test GTK+ program
1043 --disable-gtktest Do not try to compile and run a test GTK program
1044 --disable-sdltest Do not try to compile and run a test SDL program
1045 --enable-omf use OMF object format (OS/2)
1046 --disable-precomp-headers
1047 don't use precompiled headers even if compiler can
1048
1049 Optional Packages:
1050 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1051 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1052 --with-gtk use GTK+
1053 --with-motif use Motif/Lesstif
1054 --with-mac use Mac OS X
1055 --with-cocoa use Cocoa
1056 --with-wine use Wine
1057 --with-msw use MS-Windows
1058 --with-pm use OS/2 Presentation Manager
1059 --with-mgl use SciTech MGL
1060 --with-microwin use MicroWindows
1061 --with-x11 use X11
1062 --with-libpng use libpng (PNG image format)
1063 --with-libjpeg use libjpeg (JPEG file format)
1064 --with-libtiff use libtiff (TIFF file format)
1065 --with-libxpm use libxpm (XPM file format)
1066 --with-libmspack use libmspack (CHM help files loading)
1067 --with-sdl use SDL for audio on Unix
1068 --with-gnomeprint use GNOME print for printing under Unix
1069 --with-opengl use OpenGL (or Mesa)
1070 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1071 --with-regex enable support for wxRegEx class
1072 --with-zlib use zlib for LZW compression
1073 --with-odbc use the IODBC and wxODBC classes
1074 --with-expat enable XML support using expat parser
1075 --with-flavour=NAME specify a name to identify this build
1076 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1077 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1078 --with-x use the X Window System
1079 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1080 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1081 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1082 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1083 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1084
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1092 CPP C preprocessor
1093 CXX C++ compiler command
1094 CXXFLAGS C++ compiler flags
1095 CXXCPP C++ preprocessor
1096
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1099
1100 Report bugs to <wx-dev@lists.wxwidgets.org>.
1101 _ACEOF
1102 fi
1103
1104 if test "$ac_init_help" = "recursive"; then
1105 # If there are subdirs, report their specific --help.
1106 ac_popdir=`pwd`
1107 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1108 test -d $ac_dir || continue
1109 ac_builddir=.
1110
1111 if test "$ac_dir" != .; then
1112 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1113 # A "../" for each directory in $ac_dir_suffix.
1114 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1115 else
1116 ac_dir_suffix= ac_top_builddir=
1117 fi
1118
1119 case $srcdir in
1120 .) # No --srcdir option. We are building in place.
1121 ac_srcdir=.
1122 if test -z "$ac_top_builddir"; then
1123 ac_top_srcdir=.
1124 else
1125 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1126 fi ;;
1127 [\\/]* | ?:[\\/]* ) # Absolute path.
1128 ac_srcdir=$srcdir$ac_dir_suffix;
1129 ac_top_srcdir=$srcdir ;;
1130 *) # Relative path.
1131 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1132 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1133 esac
1134
1135 # Do not use `cd foo && pwd` to compute absolute paths, because
1136 # the directories may not exist.
1137 case `pwd` in
1138 .) ac_abs_builddir="$ac_dir";;
1139 *)
1140 case "$ac_dir" in
1141 .) ac_abs_builddir=`pwd`;;
1142 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1143 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1144 esac;;
1145 esac
1146 case $ac_abs_builddir in
1147 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 *)
1149 case ${ac_top_builddir}. in
1150 .) ac_abs_top_builddir=$ac_abs_builddir;;
1151 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1153 esac;;
1154 esac
1155 case $ac_abs_builddir in
1156 .) ac_abs_srcdir=$ac_srcdir;;
1157 *)
1158 case $ac_srcdir in
1159 .) ac_abs_srcdir=$ac_abs_builddir;;
1160 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1161 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1162 esac;;
1163 esac
1164 case $ac_abs_builddir in
1165 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 *)
1167 case $ac_top_srcdir in
1168 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1169 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1171 esac;;
1172 esac
1173
1174 cd $ac_dir
1175 # Check for guested configure; otherwise get Cygnus style configure.
1176 if test -f $ac_srcdir/configure.gnu; then
1177 echo
1178 $SHELL $ac_srcdir/configure.gnu --help=recursive
1179 elif test -f $ac_srcdir/configure; then
1180 echo
1181 $SHELL $ac_srcdir/configure --help=recursive
1182 elif test -f $ac_srcdir/configure.ac ||
1183 test -f $ac_srcdir/configure.in; then
1184 echo
1185 $ac_configure --help
1186 else
1187 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 fi
1189 cd $ac_popdir
1190 done
1191 fi
1192
1193 test -n "$ac_init_help" && exit 0
1194 if $ac_init_version; then
1195 cat <<\_ACEOF
1196 wxWidgets configure 2.5.4
1197 generated by GNU Autoconf 2.59
1198
1199 Copyright (C) 2003 Free Software Foundation, Inc.
1200 This configure script is free software; the Free Software Foundation
1201 gives unlimited permission to copy, distribute and modify it.
1202 _ACEOF
1203 exit 0
1204 fi
1205 exec 5>config.log
1206 cat >&5 <<_ACEOF
1207 This file contains any messages produced by compilers while
1208 running configure, to aid debugging if configure makes a mistake.
1209
1210 It was created by wxWidgets $as_me 2.5.4, which was
1211 generated by GNU Autoconf 2.59. Invocation command line was
1212
1213 $ $0 $@
1214
1215 _ACEOF
1216 {
1217 cat <<_ASUNAME
1218 ## --------- ##
1219 ## Platform. ##
1220 ## --------- ##
1221
1222 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1223 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1224 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1225 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1226 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1227
1228 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1229 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1230
1231 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1232 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1233 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1234 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1235 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1236 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1237 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238
1239 _ASUNAME
1240
1241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1242 for as_dir in $PATH
1243 do
1244 IFS=$as_save_IFS
1245 test -z "$as_dir" && as_dir=.
1246 echo "PATH: $as_dir"
1247 done
1248
1249 } >&5
1250
1251 cat >&5 <<_ACEOF
1252
1253
1254 ## ----------- ##
1255 ## Core tests. ##
1256 ## ----------- ##
1257
1258 _ACEOF
1259
1260
1261 # Keep a trace of the command line.
1262 # Strip out --no-create and --no-recursion so they do not pile up.
1263 # Strip out --silent because we don't want to record it for future runs.
1264 # Also quote any args containing shell meta-characters.
1265 # Make two passes to allow for proper duplicate-argument suppression.
1266 ac_configure_args=
1267 ac_configure_args0=
1268 ac_configure_args1=
1269 ac_sep=
1270 ac_must_keep_next=false
1271 for ac_pass in 1 2
1272 do
1273 for ac_arg
1274 do
1275 case $ac_arg in
1276 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1278 | -silent | --silent | --silen | --sile | --sil)
1279 continue ;;
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 esac
1283 case $ac_pass in
1284 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1285 2)
1286 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1287 if test $ac_must_keep_next = true; then
1288 ac_must_keep_next=false # Got value, back to normal.
1289 else
1290 case $ac_arg in
1291 *=* | --config-cache | -C | -disable-* | --disable-* \
1292 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1293 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1294 | -with-* | --with-* | -without-* | --without-* | --x)
1295 case "$ac_configure_args0 " in
1296 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1297 esac
1298 ;;
1299 -* ) ac_must_keep_next=true ;;
1300 esac
1301 fi
1302 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1303 # Get rid of the leading space.
1304 ac_sep=" "
1305 ;;
1306 esac
1307 done
1308 done
1309 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1310 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1311
1312 # When interrupted or exit'd, cleanup temporary files, and complete
1313 # config.log. We remove comments because anyway the quotes in there
1314 # would cause problems or look ugly.
1315 # WARNING: Be sure not to use single quotes in there, as some shells,
1316 # such as our DU 5.0 friend, will then `close' the trap.
1317 trap 'exit_status=$?
1318 # Save into config.log some information that might help in debugging.
1319 {
1320 echo
1321
1322 cat <<\_ASBOX
1323 ## ---------------- ##
1324 ## Cache variables. ##
1325 ## ---------------- ##
1326 _ASBOX
1327 echo
1328 # The following way of writing the cache mishandles newlines in values,
1329 {
1330 (set) 2>&1 |
1331 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1332 *ac_space=\ *)
1333 sed -n \
1334 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1336 ;;
1337 *)
1338 sed -n \
1339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1340 ;;
1341 esac;
1342 }
1343 echo
1344
1345 cat <<\_ASBOX
1346 ## ----------------- ##
1347 ## Output variables. ##
1348 ## ----------------- ##
1349 _ASBOX
1350 echo
1351 for ac_var in $ac_subst_vars
1352 do
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1355 done | sort
1356 echo
1357
1358 if test -n "$ac_subst_files"; then
1359 cat <<\_ASBOX
1360 ## ------------- ##
1361 ## Output files. ##
1362 ## ------------- ##
1363 _ASBOX
1364 echo
1365 for ac_var in $ac_subst_files
1366 do
1367 eval ac_val=$`echo $ac_var`
1368 echo "$ac_var='"'"'$ac_val'"'"'"
1369 done | sort
1370 echo
1371 fi
1372
1373 if test -s confdefs.h; then
1374 cat <<\_ASBOX
1375 ## ----------- ##
1376 ## confdefs.h. ##
1377 ## ----------- ##
1378 _ASBOX
1379 echo
1380 sed "/^$/d" confdefs.h | sort
1381 echo
1382 fi
1383 test "$ac_signal" != 0 &&
1384 echo "$as_me: caught signal $ac_signal"
1385 echo "$as_me: exit $exit_status"
1386 } >&5
1387 rm -f core *.core &&
1388 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1389 exit $exit_status
1390 ' 0
1391 for ac_signal in 1 2 13 15; do
1392 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1393 done
1394 ac_signal=0
1395
1396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1397 rm -rf conftest* confdefs.h
1398 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1399 echo >confdefs.h
1400
1401 # Predefined preprocessor variables.
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_NAME "$PACKAGE_NAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_STRING "$PACKAGE_STRING"
1420 _ACEOF
1421
1422
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1425 _ACEOF
1426
1427
1428 # Let the site file select an alternate cache file if it wants to.
1429 # Prefer explicitly selected file to automatically selected ones.
1430 if test -z "$CONFIG_SITE"; then
1431 if test "x$prefix" != xNONE; then
1432 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1433 else
1434 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1435 fi
1436 fi
1437 for ac_site_file in $CONFIG_SITE; do
1438 if test -r "$ac_site_file"; then
1439 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1440 echo "$as_me: loading site script $ac_site_file" >&6;}
1441 sed 's/^/| /' "$ac_site_file" >&5
1442 . "$ac_site_file"
1443 fi
1444 done
1445
1446 if test -r "$cache_file"; then
1447 # Some versions of bash will fail to source /dev/null (special
1448 # files actually), so we avoid doing that.
1449 if test -f "$cache_file"; then
1450 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1451 echo "$as_me: loading cache $cache_file" >&6;}
1452 case $cache_file in
1453 [\\/]* | ?:[\\/]* ) . $cache_file;;
1454 *) . ./$cache_file;;
1455 esac
1456 fi
1457 else
1458 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1459 echo "$as_me: creating cache $cache_file" >&6;}
1460 >$cache_file
1461 fi
1462
1463 # Check that the precious variables saved in the cache have kept the same
1464 # value.
1465 ac_cache_corrupted=false
1466 for ac_var in `(set) 2>&1 |
1467 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1468 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1469 eval ac_new_set=\$ac_env_${ac_var}_set
1470 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1471 eval ac_new_val="\$ac_env_${ac_var}_value"
1472 case $ac_old_set,$ac_new_set in
1473 set,)
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1476 ac_cache_corrupted=: ;;
1477 ,set)
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1481 ,);;
1482 *)
1483 if test "x$ac_old_val" != "x$ac_new_val"; then
1484 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1487 echo "$as_me: former value: $ac_old_val" >&2;}
1488 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1489 echo "$as_me: current value: $ac_new_val" >&2;}
1490 ac_cache_corrupted=:
1491 fi;;
1492 esac
1493 # Pass precious variables to config.status.
1494 if test "$ac_new_set" = set; then
1495 case $ac_new_val in
1496 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1497 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1498 *) ac_arg=$ac_var=$ac_new_val ;;
1499 esac
1500 case " $ac_configure_args " in
1501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1502 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1503 esac
1504 fi
1505 done
1506 if $ac_cache_corrupted; then
1507 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1508 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1509 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1510 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1511 { (exit 1); exit 1; }; }
1512 fi
1513
1514 ac_ext=c
1515 ac_cpp='$CPP $CPPFLAGS'
1516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549 ac_aux_dir=
1550 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1551 if test -f $ac_dir/install-sh; then
1552 ac_aux_dir=$ac_dir
1553 ac_install_sh="$ac_aux_dir/install-sh -c"
1554 break
1555 elif test -f $ac_dir/install.sh; then
1556 ac_aux_dir=$ac_dir
1557 ac_install_sh="$ac_aux_dir/install.sh -c"
1558 break
1559 elif test -f $ac_dir/shtool; then
1560 ac_aux_dir=$ac_dir
1561 ac_install_sh="$ac_aux_dir/shtool install -c"
1562 break
1563 fi
1564 done
1565 if test -z "$ac_aux_dir"; then
1566 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1567 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1571 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1572 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1573
1574 # Make sure we can run config.sub.
1575 $ac_config_sub sun4 >/dev/null 2>&1 ||
1576 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1577 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1578 { (exit 1); exit 1; }; }
1579
1580 echo "$as_me:$LINENO: checking build system type" >&5
1581 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1582 if test "${ac_cv_build+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 else
1585 ac_cv_build_alias=$build_alias
1586 test -z "$ac_cv_build_alias" &&
1587 ac_cv_build_alias=`$ac_config_guess`
1588 test -z "$ac_cv_build_alias" &&
1589 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1590 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1591 { (exit 1); exit 1; }; }
1592 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1593 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1594 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1595 { (exit 1); exit 1; }; }
1596
1597 fi
1598 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1599 echo "${ECHO_T}$ac_cv_build" >&6
1600 build=$ac_cv_build
1601 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1602 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1603 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604
1605
1606 echo "$as_me:$LINENO: checking host system type" >&5
1607 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1608 if test "${ac_cv_host+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 else
1611 ac_cv_host_alias=$host_alias
1612 test -z "$ac_cv_host_alias" &&
1613 ac_cv_host_alias=$ac_cv_build_alias
1614 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1615 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1616 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1617 { (exit 1); exit 1; }; }
1618
1619 fi
1620 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1621 echo "${ECHO_T}$ac_cv_host" >&6
1622 host=$ac_cv_host
1623 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1624 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1625 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1626
1627
1628 echo "$as_me:$LINENO: checking target system type" >&5
1629 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1630 if test "${ac_cv_target+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 else
1633 ac_cv_target_alias=$target_alias
1634 test "x$ac_cv_target_alias" = "x" &&
1635 ac_cv_target_alias=$ac_cv_host_alias
1636 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1640
1641 fi
1642 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1643 echo "${ECHO_T}$ac_cv_target" >&6
1644 target=$ac_cv_target
1645 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648
1649
1650 # The aliases save the names the user supplied, while $host etc.
1651 # will get canonicalized.
1652 test -n "$target_alias" &&
1653 test "$program_prefix$program_suffix$program_transform_name" = \
1654 NONENONEs,x,x, &&
1655 program_prefix=${target_alias}-
1656
1657
1658
1659 wx_major_version_number=2
1660 wx_minor_version_number=5
1661 wx_release_number=4
1662 wx_subrelease_number=0
1663
1664 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1665 WX_VERSION=$WX_RELEASE.$wx_release_number
1666 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1667
1668 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1669
1670 WX_CURRENT=4
1671 WX_REVISION=0
1672 WX_AGE=4
1673
1674
1675
1676 USE_UNIX=1
1677 USE_OS2=0
1678 USE_WIN32=0
1679 USE_DOS=0
1680 USE_BEOS=0
1681 USE_MAC=0
1682
1683 USE_AIX=
1684 USE_BSD= USE_DARWIN= USE_FREEBSD=
1685 USE_GNU= USE_HPUX=
1686 USE_LINUX=
1687 USE_NETBSD=
1688 USE_OPENBSD=
1689 USE_OSF= USE_SGI=
1690 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1691 USE_ULTRIX=
1692 USE_UNIXWARE=
1693
1694 USE_ALPHA=
1695
1696 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1697
1698 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1699
1700 DEFAULT_wxUSE_COCOA=0
1701 DEFAULT_wxUSE_GTK=0
1702 DEFAULT_wxUSE_MAC=0
1703 DEFAULT_wxUSE_MGL=0
1704 DEFAULT_wxUSE_MICROWIN=0
1705 DEFAULT_wxUSE_MOTIF=0
1706 DEFAULT_wxUSE_MSW=0
1707 DEFAULT_wxUSE_PM=0
1708 DEFAULT_wxUSE_X11=0
1709
1710 DEFAULT_DEFAULT_wxUSE_COCOA=0
1711 DEFAULT_DEFAULT_wxUSE_GTK=0
1712 DEFAULT_DEFAULT_wxUSE_MAC=0
1713 DEFAULT_DEFAULT_wxUSE_MGL=0
1714 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1715 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1716 DEFAULT_DEFAULT_wxUSE_MSW=0
1717 DEFAULT_DEFAULT_wxUSE_PM=0
1718 DEFAULT_DEFAULT_wxUSE_X11=0
1719
1720 PROGRAM_EXT=
1721 SO_SUFFIX=so
1722 SAMPLES_RPATH_FLAG=
1723 SAMPLES_RPATH_POSTLINK=
1724
1725 case "${host}" in
1726 *-hp-hpux* )
1727 USE_HPUX=1
1728 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1729 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1730 SO_SUFFIX=sl
1731 cat >>confdefs.h <<\_ACEOF
1732 #define __HPUX__ 1
1733 _ACEOF
1734
1735 ;;
1736 *-*-linux* )
1737 USE_LINUX=1
1738 cat >>confdefs.h <<\_ACEOF
1739 #define __LINUX__ 1
1740 _ACEOF
1741
1742 TMP=`uname -m`
1743 if test "x$TMP" = "xalpha"; then
1744 USE_ALPHA=1
1745 cat >>confdefs.h <<\_ACEOF
1746 #define __ALPHA__ 1
1747 _ACEOF
1748
1749 fi
1750 DEFAULT_DEFAULT_wxUSE_GTK=1
1751 ;;
1752 *-*-gnu* | *-*-k*bsd*-gnu )
1753 USE_GNU=1
1754 TMP=`uname -m`
1755 if test "x$TMP" = "xalpha"; then
1756 USE_ALPHA=1
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __ALPHA__ 1
1759 _ACEOF
1760
1761 fi
1762 DEFAULT_DEFAULT_wxUSE_GTK=1
1763 ;;
1764 *-*-irix5* | *-*-irix6* )
1765 USE_SGI=1
1766 USE_SVR4=1
1767 cat >>confdefs.h <<\_ACEOF
1768 #define __SGI__ 1
1769 _ACEOF
1770
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __SVR4__ 1
1773 _ACEOF
1774
1775 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1776 ;;
1777 *-*-solaris2* )
1778 USE_SUN=1
1779 USE_SOLARIS=1
1780 USE_SVR4=1
1781 cat >>confdefs.h <<\_ACEOF
1782 #define __SUN__ 1
1783 _ACEOF
1784
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SOLARIS__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SVR4__ 1
1791 _ACEOF
1792
1793 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1794 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1795 ;;
1796 *-*-sunos4* )
1797 USE_SUN=1
1798 USE_SUNOS=1
1799 USE_BSD=1
1800 cat >>confdefs.h <<\_ACEOF
1801 #define __SUN__ 1
1802 _ACEOF
1803
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __SUNOS__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __BSD__ 1
1810 _ACEOF
1811
1812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1813 ;;
1814 *-*-freebsd*)
1815 USE_BSD=1
1816 USE_FREEBSD=1
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __FREEBSD__ 1
1819 _ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __BSD__ 1
1823 _ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_GTK=1
1826 ;;
1827 *-*-openbsd*)
1828 USE_BSD=1
1829 USE_OPENBSD=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __OPENBSD__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __BSD__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_GTK=1
1839 ;;
1840 *-*-netbsd*)
1841 USE_BSD=1
1842 USE_NETBSD=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __NETBSD__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __BSD__ 1
1849 _ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1852 ;;
1853 *-*-osf* )
1854 USE_ALPHA=1
1855 USE_OSF=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __ALPHA__ 1
1858 _ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __OSF__ 1
1862 _ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1865 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1866 ;;
1867 *-*-dgux5* )
1868 USE_ALPHA=1
1869 USE_SVR4=1
1870 cat >>confdefs.h <<\_ACEOF
1871 #define __ALPHA__ 1
1872 _ACEOF
1873
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __SVR4__ 1
1876 _ACEOF
1877
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1879 ;;
1880 *-*-sysv5* )
1881 USE_SYSV=1
1882 USE_SVR4=1
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __SYSV__ 1
1885 _ACEOF
1886
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __SVR4__ 1
1889 _ACEOF
1890
1891 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1892 ;;
1893 *-*-aix* )
1894 USE_AIX=1
1895 USE_SYSV=1
1896 USE_SVR4=1
1897 SO_SUFFIX=a
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __AIX__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __SYSV__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __SVR4__ 1
1908 _ACEOF
1909
1910 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1911 ;;
1912
1913 *-*-*UnixWare*)
1914 USE_SYSV=1
1915 USE_SVR4=1
1916 USE_UNIXWARE=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __UNIXWARE__ 1
1919 _ACEOF
1920
1921 ;;
1922
1923 *-*-cygwin* | *-*-mingw32* )
1924 SO_SUFFIX=dll
1925 PROGRAM_EXT=".exe"
1926 RESCOMP=windres
1927 DEFAULT_DEFAULT_wxUSE_MSW=1
1928 ;;
1929
1930 *-pc-msdosdjgpp )
1931 USE_UNIX=0
1932 USE_DOS=1
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __DOS__ 1
1935 _ACEOF
1936
1937 PROGRAM_EXT=".exe"
1938 DEFAULT_DEFAULT_wxUSE_MGL=1
1939 LIBS="$LIBS -lstdc++"
1940 ;;
1941
1942 *-pc-os2_emx | *-pc-os2-emx )
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __EMX__ 1
1945 _ACEOF
1946
1947 USE_OS2=1
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __OS2__ 1
1950 _ACEOF
1951
1952 PROGRAM_EXT=".exe"
1953 DEFAULT_DEFAULT_wxUSE_PM=1
1954 CXX=gcc
1955 LDFLAGS="$LDFLAGS -Zcrtdll"
1956 ac_executable_extensions=".exe"
1957 export ac_executable_extensions
1958 ac_save_IFS="$IFS"
1959 IFS='\\'
1960 ac_TEMP_PATH=
1961 for ac_dir in $PATH; do
1962 IFS=$ac_save_IFS
1963 if test -z "$ac_TEMP_PATH"; then
1964 ac_TEMP_PATH="$ac_dir"
1965 else
1966 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1967 fi
1968 done
1969 export PATH="$ac_TEMP_PATH"
1970 unset ac_TEMP_PATH
1971 ;;
1972
1973 powerpc-*-darwin* )
1974 USE_BSD=1
1975 USE_DARWIN=1
1976 SO_SUFFIX=dylib
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __BSD__ 1
1979 _ACEOF
1980
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __DARWIN__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define TARGET_CARBON 1
1987 _ACEOF
1988
1989 DEFAULT_DEFAULT_wxUSE_MAC=1
1990 ;;
1991 powerpc-apple-macos* )
1992 USE_UNIX=0
1993 ac_cv_c_bigendian=yes
1994 SO_SUFFIX=shlib
1995 DEFAULT_DEFAULT_wxUSE_MAC=1
1996 ;;
1997
1998 *-*-beos* )
1999 USE_BEOS=1
2000 cat >>confdefs.h <<\_ACEOF
2001 #define __BEOS__ 1
2002 _ACEOF
2003
2004 ;;
2005
2006 *)
2007 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2008 echo "$as_me: error: unknown system type ${host}." >&2;}
2009 { (exit 1); exit 1; }; }
2010 esac
2011
2012
2013
2014
2015 wx_arg_cache_file="configarg.cache"
2016 echo "loading argument cache $wx_arg_cache_file"
2017 rm -f ${wx_arg_cache_file}.tmp
2018 touch ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}
2020
2021
2022 DEBUG_CONFIGURE=0
2023 if test $DEBUG_CONFIGURE = 1; then
2024 DEFAULT_wxUSE_UNIVERSAL=no
2025 DEFAULT_wxUSE_STL=no
2026
2027 DEFAULT_wxUSE_NANOX=no
2028
2029 DEFAULT_wxUSE_THREADS=yes
2030
2031 DEFAULT_wxUSE_SHARED=yes
2032 DEFAULT_wxUSE_OPTIMISE=no
2033 DEFAULT_wxUSE_PROFILE=no
2034 DEFAULT_wxUSE_NO_DEPS=no
2035 DEFAULT_wxUSE_NO_RTTI=no
2036 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2037 DEFAULT_wxUSE_RPATH=yes
2038 DEFAULT_wxUSE_PERMISSIVE=no
2039 DEFAULT_wxUSE_DEBUG_FLAG=yes
2040 DEFAULT_wxUSE_DEBUG_INFO=yes
2041 DEFAULT_wxUSE_DEBUG_GDB=yes
2042 DEFAULT_wxUSE_MEM_TRACING=no
2043 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2044 DEFAULT_wxUSE_DMALLOC=no
2045 DEFAULT_wxUSE_APPLE_IEEE=no
2046
2047 DEFAULT_wxUSE_EXCEPTIONS=no
2048 DEFAULT_wxUSE_LOG=yes
2049 DEFAULT_wxUSE_LOGWINDOW=no
2050 DEFAULT_wxUSE_LOGGUI=no
2051 DEFAULT_wxUSE_LOGDIALOG=no
2052
2053 DEFAULT_wxUSE_GUI=yes
2054 DEFAULT_wxUSE_CONTROLS=no
2055
2056 DEFAULT_wxUSE_REGEX=no
2057 DEFAULT_wxUSE_XML=no
2058 DEFAULT_wxUSE_EXPAT=no
2059 DEFAULT_wxUSE_ZLIB=no
2060 DEFAULT_wxUSE_LIBPNG=no
2061 DEFAULT_wxUSE_LIBJPEG=no
2062 DEFAULT_wxUSE_LIBTIFF=no
2063 DEFAULT_wxUSE_LIBXPM=no
2064 DEFAULT_wxUSE_LIBMSPACK=no
2065 DEFAULT_wxUSE_LIBSDL=no
2066 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2067 DEFAULT_wxUSE_ODBC=no
2068 DEFAULT_wxUSE_OPENGL=no
2069
2070 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2071 DEFAULT_wxUSE_STACKWALKER=no
2072 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2073 DEFAULT_wxUSE_STD_IOSTREAM=no
2074 DEFAULT_wxUSE_CMDLINE_PARSER=no
2075 DEFAULT_wxUSE_DATETIME=no
2076 DEFAULT_wxUSE_TIMER=no
2077 DEFAULT_wxUSE_STOPWATCH=no
2078 DEFAULT_wxUSE_FILE=no
2079 DEFAULT_wxUSE_FFILE=no
2080 DEFAULT_wxUSE_TEXTBUFFER=no
2081 DEFAULT_wxUSE_TEXTFILE=no
2082 DEFAULT_wxUSE_SOUND=no
2083 DEFAULT_wxUSE_MEDIACTRL=no
2084 DEFAULT_wxUSE_DIRECTSHOW=no
2085 DEFAULT_wxUSE_INTL=no
2086 DEFAULT_wxUSE_CONFIG=no
2087 DEFAULT_wxUSE_FONTMAP=no
2088 DEFAULT_wxUSE_STREAMS=no
2089 DEFAULT_wxUSE_SOCKETS=no
2090 DEFAULT_wxUSE_OLE=no
2091 DEFAULT_wxUSE_DATAOBJ=no
2092 DEFAULT_wxUSE_DIALUP_MANAGER=no
2093 DEFAULT_wxUSE_JOYSTICK=no
2094 DEFAULT_wxUSE_DYNLIB_CLASS=no
2095 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2096 DEFAULT_wxUSE_LONGLONG=no
2097 DEFAULT_wxUSE_GEOMETRY=no
2098
2099 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2100 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2101 DEFAULT_wxUSE_POSTSCRIPT=no
2102
2103 DEFAULT_wxUSE_CLIPBOARD=no
2104 DEFAULT_wxUSE_TOOLTIPS=no
2105 DEFAULT_wxUSE_DRAG_AND_DROP=no
2106 DEFAULT_wxUSE_DRAGIMAGE=no
2107 DEFAULT_wxUSE_SPLINES=no
2108
2109 DEFAULT_wxUSE_MDI=no
2110 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2111 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2112 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2113
2114 DEFAULT_wxUSE_RESOURCES=no
2115 DEFAULT_wxUSE_CONSTRAINTS=no
2116 DEFAULT_wxUSE_IPC=no
2117 DEFAULT_wxUSE_HELP=no
2118 DEFAULT_wxUSE_MS_HTML_HELP=no
2119 DEFAULT_wxUSE_WXHTML_HELP=no
2120 DEFAULT_wxUSE_TREELAYOUT=no
2121 DEFAULT_wxUSE_METAFILE=no
2122 DEFAULT_wxUSE_MIMETYPE=no
2123 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2124 DEFAULT_wxUSE_PROTOCOL=no
2125 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2126 DEFAULT_wxUSE_PROTOCOL_FTP=no
2127 DEFAULT_wxUSE_PROTOCOL_FILE=no
2128 DEFAULT_wxUSE_URL=no
2129
2130 DEFAULT_wxUSE_COMMONDLGS=no
2131 DEFAULT_wxUSE_CHOICEDLG=no
2132 DEFAULT_wxUSE_COLOURDLG=no
2133 DEFAULT_wxUSE_DIRDLG=no
2134 DEFAULT_wxUSE_FILEDLG=no
2135 DEFAULT_wxUSE_FINDREPLDLG=no
2136 DEFAULT_wxUSE_FONTDLG=no
2137 DEFAULT_wxUSE_MSGDLG=no
2138 DEFAULT_wxUSE_NUMBERDLG=no
2139 DEFAULT_wxUSE_TEXTDLG=no
2140 DEFAULT_wxUSE_SPLASH=no
2141 DEFAULT_wxUSE_STARTUP_TIPS=no
2142 DEFAULT_wxUSE_PROGRESSDLG=no
2143 DEFAULT_wxUSE_WIZARDDLG=no
2144
2145 DEFAULT_wxUSE_MENUS=no
2146 DEFAULT_wxUSE_MINIFRAME=no
2147 DEFAULT_wxUSE_HTML=no
2148 DEFAULT_wxUSE_XRC=no
2149 DEFAULT_wxUSE_WEBKIT=no
2150 DEFAULT_wxUSE_FILESYSTEM=no
2151 DEFAULT_wxUSE_FS_INET=no
2152 DEFAULT_wxUSE_FS_ZIP=no
2153 DEFAULT_wxUSE_BUSYINFO=no
2154 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2155 DEFAULT_wxUSE_ZIPSTREAM=no
2156 DEFAULT_wxUSE_VALIDATORS=no
2157
2158 DEFAULT_wxUSE_ACCEL=no
2159 DEFAULT_wxUSE_BUTTON=no
2160 DEFAULT_wxUSE_BMPBUTTON=no
2161 DEFAULT_wxUSE_CALCTRL=no
2162 DEFAULT_wxUSE_CARET=no
2163 DEFAULT_wxUSE_CHECKBOX=no
2164 DEFAULT_wxUSE_CHECKLST=no
2165 DEFAULT_wxUSE_CHOICE=no
2166 DEFAULT_wxUSE_CHOICEBOOK=no
2167 DEFAULT_wxUSE_COMBOBOX=no
2168 DEFAULT_wxUSE_DATEPICKCTRL=no
2169 DEFAULT_wxUSE_DISPLAY=no
2170 DEFAULT_wxUSE_GAUGE=no
2171 DEFAULT_wxUSE_GRID=no
2172 DEFAULT_wxUSE_IMAGLIST=no
2173 DEFAULT_wxUSE_LISTBOOK=no
2174 DEFAULT_wxUSE_LISTBOX=no
2175 DEFAULT_wxUSE_LISTCTRL=no
2176 DEFAULT_wxUSE_NOTEBOOK=no
2177 DEFAULT_wxUSE_RADIOBOX=no
2178 DEFAULT_wxUSE_RADIOBTN=no
2179 DEFAULT_wxUSE_SASH=no
2180 DEFAULT_wxUSE_SCROLLBAR=no
2181 DEFAULT_wxUSE_SLIDER=no
2182 DEFAULT_wxUSE_SPINBTN=no
2183 DEFAULT_wxUSE_SPINCTRL=no
2184 DEFAULT_wxUSE_SPLITTER=no
2185 DEFAULT_wxUSE_STATBMP=no
2186 DEFAULT_wxUSE_STATBOX=no
2187 DEFAULT_wxUSE_STATLINE=no
2188 DEFAULT_wxUSE_STATTEXT=no
2189 DEFAULT_wxUSE_STATUSBAR=yes
2190 DEFAULT_wxUSE_TABDIALOG=no
2191 DEFAULT_wxUSE_TEXTCTRL=no
2192 DEFAULT_wxUSE_TOGGLEBTN=no
2193 DEFAULT_wxUSE_TOOLBAR=no
2194 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2195 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2196 DEFAULT_wxUSE_TREECTRL=no
2197 DEFAULT_wxUSE_POPUPWIN=no
2198 DEFAULT_wxUSE_TIPWINDOW=no
2199
2200 DEFAULT_wxUSE_UNICODE=no
2201 DEFAULT_wxUSE_UNICODE_MSLU=no
2202 DEFAULT_wxUSE_WCSRTOMBS=no
2203
2204 DEFAULT_wxUSE_PALETTE=no
2205 DEFAULT_wxUSE_IMAGE=no
2206 DEFAULT_wxUSE_GIF=no
2207 DEFAULT_wxUSE_PCX=no
2208 DEFAULT_wxUSE_PNM=no
2209 DEFAULT_wxUSE_IFF=no
2210 DEFAULT_wxUSE_XPM=no
2211 DEFAULT_wxUSE_ICO_CUR=no
2212 DEFAULT_wxUSE_ACCESSIBILITY=no
2213
2214 DEFAULT_wxUSE_MONOLITHIC=no
2215 DEFAULT_wxUSE_PLUGINS=no
2216 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2217 else
2218 DEFAULT_wxUSE_UNIVERSAL=no
2219 DEFAULT_wxUSE_STL=no
2220
2221 DEFAULT_wxUSE_NANOX=no
2222
2223 DEFAULT_wxUSE_THREADS=yes
2224
2225 DEFAULT_wxUSE_SHARED=yes
2226 DEFAULT_wxUSE_OPTIMISE=yes
2227 DEFAULT_wxUSE_PROFILE=no
2228 DEFAULT_wxUSE_NO_DEPS=no
2229 DEFAULT_wxUSE_NO_RTTI=no
2230 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2231 DEFAULT_wxUSE_RPATH=yes
2232 DEFAULT_wxUSE_PERMISSIVE=no
2233 DEFAULT_wxUSE_DEBUG_FLAG=no
2234 DEFAULT_wxUSE_DEBUG_INFO=no
2235 DEFAULT_wxUSE_DEBUG_GDB=no
2236 DEFAULT_wxUSE_MEM_TRACING=no
2237 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2238 DEFAULT_wxUSE_DMALLOC=no
2239 DEFAULT_wxUSE_APPLE_IEEE=yes
2240
2241 DEFAULT_wxUSE_EXCEPTIONS=yes
2242 DEFAULT_wxUSE_LOG=yes
2243 DEFAULT_wxUSE_LOGWINDOW=yes
2244 DEFAULT_wxUSE_LOGGUI=yes
2245 DEFAULT_wxUSE_LOGDIALOG=yes
2246
2247 DEFAULT_wxUSE_GUI=yes
2248
2249 DEFAULT_wxUSE_REGEX=yes
2250 DEFAULT_wxUSE_XML=yes
2251 DEFAULT_wxUSE_EXPAT=yes
2252 DEFAULT_wxUSE_ZLIB=yes
2253 DEFAULT_wxUSE_LIBPNG=yes
2254 DEFAULT_wxUSE_LIBJPEG=yes
2255 DEFAULT_wxUSE_LIBTIFF=yes
2256 DEFAULT_wxUSE_LIBXPM=yes
2257 DEFAULT_wxUSE_LIBMSPACK=yes
2258 DEFAULT_wxUSE_LIBSDL=no
2259 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2260 DEFAULT_wxUSE_ODBC=no
2261 DEFAULT_wxUSE_OPENGL=no
2262
2263 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2264 DEFAULT_wxUSE_STACKWALKER=yes
2265 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2266 DEFAULT_wxUSE_STD_IOSTREAM=no
2267 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2268 DEFAULT_wxUSE_DATETIME=yes
2269 DEFAULT_wxUSE_TIMER=yes
2270 DEFAULT_wxUSE_STOPWATCH=yes
2271 DEFAULT_wxUSE_FILE=yes
2272 DEFAULT_wxUSE_FFILE=yes
2273 DEFAULT_wxUSE_TEXTBUFFER=yes
2274 DEFAULT_wxUSE_TEXTFILE=yes
2275 DEFAULT_wxUSE_SOUND=yes
2276 DEFAULT_wxUSE_MEDIACTRL=no
2277 DEFAULT_wxUSE_DIRECTSHOW=no
2278 DEFAULT_wxUSE_INTL=yes
2279 DEFAULT_wxUSE_CONFIG=yes
2280 DEFAULT_wxUSE_FONTMAP=yes
2281 DEFAULT_wxUSE_STREAMS=yes
2282 DEFAULT_wxUSE_SOCKETS=yes
2283 DEFAULT_wxUSE_OLE=yes
2284 DEFAULT_wxUSE_DATAOBJ=yes
2285 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2286 DEFAULT_wxUSE_JOYSTICK=yes
2287 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2288 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2289 DEFAULT_wxUSE_LONGLONG=yes
2290 DEFAULT_wxUSE_GEOMETRY=yes
2291
2292 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2293 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2294 DEFAULT_wxUSE_POSTSCRIPT=yes
2295
2296 DEFAULT_wxUSE_CLIPBOARD=yes
2297 DEFAULT_wxUSE_TOOLTIPS=yes
2298 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2299 DEFAULT_wxUSE_DRAGIMAGE=yes
2300 DEFAULT_wxUSE_SPLINES=yes
2301
2302 DEFAULT_wxUSE_MDI=yes
2303 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2304 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2305 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2306
2307 DEFAULT_wxUSE_RESOURCES=no
2308 DEFAULT_wxUSE_CONSTRAINTS=yes
2309 DEFAULT_wxUSE_IPC=yes
2310 DEFAULT_wxUSE_HELP=yes
2311 DEFAULT_wxUSE_MS_HTML_HELP=yes
2312 DEFAULT_wxUSE_WXHTML_HELP=yes
2313 DEFAULT_wxUSE_TREELAYOUT=yes
2314 DEFAULT_wxUSE_METAFILE=yes
2315 DEFAULT_wxUSE_MIMETYPE=yes
2316 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2317 DEFAULT_wxUSE_PROTOCOL=yes
2318 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2319 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2320 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2321 DEFAULT_wxUSE_URL=yes
2322
2323 DEFAULT_wxUSE_COMMONDLGS=yes
2324 DEFAULT_wxUSE_CHOICEDLG=yes
2325 DEFAULT_wxUSE_COLOURDLG=yes
2326 DEFAULT_wxUSE_DIRDLG=yes
2327 DEFAULT_wxUSE_FILEDLG=yes
2328 DEFAULT_wxUSE_FINDREPLDLG=yes
2329 DEFAULT_wxUSE_FONTDLG=yes
2330 DEFAULT_wxUSE_MSGDLG=yes
2331 DEFAULT_wxUSE_NUMBERDLG=yes
2332 DEFAULT_wxUSE_TEXTDLG=yes
2333 DEFAULT_wxUSE_SPLASH=yes
2334 DEFAULT_wxUSE_STARTUP_TIPS=yes
2335 DEFAULT_wxUSE_PROGRESSDLG=yes
2336 DEFAULT_wxUSE_WIZARDDLG=yes
2337
2338 DEFAULT_wxUSE_MENUS=yes
2339 DEFAULT_wxUSE_MINIFRAME=yes
2340 DEFAULT_wxUSE_HTML=yes
2341 DEFAULT_wxUSE_XRC=yes
2342 DEFAULT_wxUSE_WEBKIT=yes
2343 DEFAULT_wxUSE_FILESYSTEM=yes
2344 DEFAULT_wxUSE_FS_INET=yes
2345 DEFAULT_wxUSE_FS_ZIP=yes
2346 DEFAULT_wxUSE_BUSYINFO=yes
2347 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2348 DEFAULT_wxUSE_ZIPSTREAM=yes
2349 DEFAULT_wxUSE_VALIDATORS=yes
2350
2351 DEFAULT_wxUSE_ACCEL=yes
2352 DEFAULT_wxUSE_BUTTON=yes
2353 DEFAULT_wxUSE_BMPBUTTON=yes
2354 DEFAULT_wxUSE_CALCTRL=yes
2355 DEFAULT_wxUSE_CARET=yes
2356 DEFAULT_wxUSE_CHECKBOX=yes
2357 DEFAULT_wxUSE_CHECKLST=yes
2358 DEFAULT_wxUSE_CHOICE=yes
2359 DEFAULT_wxUSE_CHOICEBOOK=yes
2360 DEFAULT_wxUSE_COMBOBOX=yes
2361 DEFAULT_wxUSE_DATEPICKCTRL=yes
2362 DEFAULT_wxUSE_DISPLAY=yes
2363 DEFAULT_wxUSE_GAUGE=yes
2364 DEFAULT_wxUSE_GRID=yes
2365 DEFAULT_wxUSE_IMAGLIST=yes
2366 DEFAULT_wxUSE_LISTBOOK=yes
2367 DEFAULT_wxUSE_LISTBOX=yes
2368 DEFAULT_wxUSE_LISTCTRL=yes
2369 DEFAULT_wxUSE_NOTEBOOK=yes
2370 DEFAULT_wxUSE_RADIOBOX=yes
2371 DEFAULT_wxUSE_RADIOBTN=yes
2372 DEFAULT_wxUSE_SASH=yes
2373 DEFAULT_wxUSE_SCROLLBAR=yes
2374 DEFAULT_wxUSE_SLIDER=yes
2375 DEFAULT_wxUSE_SPINBTN=yes
2376 DEFAULT_wxUSE_SPINCTRL=yes
2377 DEFAULT_wxUSE_SPLITTER=yes
2378 DEFAULT_wxUSE_STATBMP=yes
2379 DEFAULT_wxUSE_STATBOX=yes
2380 DEFAULT_wxUSE_STATLINE=yes
2381 DEFAULT_wxUSE_STATTEXT=yes
2382 DEFAULT_wxUSE_STATUSBAR=yes
2383 DEFAULT_wxUSE_TABDIALOG=no
2384 DEFAULT_wxUSE_TEXTCTRL=yes
2385 DEFAULT_wxUSE_TOGGLEBTN=yes
2386 DEFAULT_wxUSE_TOOLBAR=yes
2387 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2388 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2389 DEFAULT_wxUSE_TREECTRL=yes
2390 DEFAULT_wxUSE_POPUPWIN=yes
2391 DEFAULT_wxUSE_TIPWINDOW=yes
2392
2393 DEFAULT_wxUSE_UNICODE=no
2394 DEFAULT_wxUSE_UNICODE_MSLU=yes
2395 DEFAULT_wxUSE_WCSRTOMBS=no
2396
2397 DEFAULT_wxUSE_PALETTE=yes
2398 DEFAULT_wxUSE_IMAGE=yes
2399 DEFAULT_wxUSE_GIF=yes
2400 DEFAULT_wxUSE_PCX=yes
2401 DEFAULT_wxUSE_IFF=no
2402 DEFAULT_wxUSE_PNM=yes
2403 DEFAULT_wxUSE_XPM=yes
2404 DEFAULT_wxUSE_ICO_CUR=yes
2405 DEFAULT_wxUSE_ACCESSIBILITY=no
2406
2407 DEFAULT_wxUSE_MONOLITHIC=no
2408 DEFAULT_wxUSE_PLUGINS=no
2409 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2410
2411 DEFAULT_wxUSE_GTK2=yes
2412 fi
2413
2414
2415
2416 for toolkit in `echo $ALL_TOOLKITS`; do
2417 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2418 if test "x$LINE" != "x" ; then
2419 has_toolkit_in_cache=1
2420 eval "DEFAULT_$LINE"
2421 eval "CACHE_$toolkit=1"
2422 fi
2423 done
2424
2425
2426
2427 enablestring=
2428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2429 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2430 no_cache=0
2431 # Check whether --enable-gui or --disable-gui was given.
2432 if test "${enable_gui+set}" = set; then
2433 enableval="$enable_gui"
2434
2435 if test "$enableval" = yes; then
2436 ac_cv_use_gui='wxUSE_GUI=yes'
2437 else
2438 ac_cv_use_gui='wxUSE_GUI=no'
2439 fi
2440
2441 else
2442
2443 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x ; then
2445 eval "DEFAULT_$LINE"
2446 else
2447 no_cache=1
2448 fi
2449
2450 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2451
2452 fi;
2453
2454 eval "$ac_cv_use_gui"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2457 fi
2458
2459 if test "$wxUSE_GUI" = yes; then
2460 echo "$as_me:$LINENO: result: yes" >&5
2461 echo "${ECHO_T}yes" >&6
2462 else
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2465 fi
2466
2467
2468 enablestring=
2469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2470 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2471 no_cache=0
2472 # Check whether --enable-monolithic or --disable-monolithic was given.
2473 if test "${enable_monolithic+set}" = set; then
2474 enableval="$enable_monolithic"
2475
2476 if test "$enableval" = yes; then
2477 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2478 else
2479 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2480 fi
2481
2482 else
2483
2484 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2485 if test "x$LINE" != x ; then
2486 eval "DEFAULT_$LINE"
2487 else
2488 no_cache=1
2489 fi
2490
2491 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2492
2493 fi;
2494
2495 eval "$ac_cv_use_monolithic"
2496 if test "$no_cache" != 1; then
2497 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2498 fi
2499
2500 if test "$wxUSE_MONOLITHIC" = yes; then
2501 echo "$as_me:$LINENO: result: yes" >&5
2502 echo "${ECHO_T}yes" >&6
2503 else
2504 echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6
2506 fi
2507
2508
2509 enablestring=
2510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2511 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2512 no_cache=0
2513 # Check whether --enable-plugins or --disable-plugins was given.
2514 if test "${enable_plugins+set}" = set; then
2515 enableval="$enable_plugins"
2516
2517 if test "$enableval" = yes; then
2518 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2519 else
2520 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2521 fi
2522
2523 else
2524
2525 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2526 if test "x$LINE" != x ; then
2527 eval "DEFAULT_$LINE"
2528 else
2529 no_cache=1
2530 fi
2531
2532 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2533
2534 fi;
2535
2536 eval "$ac_cv_use_plugins"
2537 if test "$no_cache" != 1; then
2538 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2539 fi
2540
2541 if test "$wxUSE_PLUGINS" = yes; then
2542 echo "$as_me:$LINENO: result: yes" >&5
2543 echo "${ECHO_T}yes" >&6
2544 else
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2547 fi
2548
2549
2550 if test "$wxUSE_GUI" = "yes"; then
2551
2552
2553 enablestring=
2554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2555 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2556 no_cache=0
2557 # Check whether --enable-universal or --disable-universal was given.
2558 if test "${enable_universal+set}" = set; then
2559 enableval="$enable_universal"
2560
2561 if test "$enableval" = yes; then
2562 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2563 else
2564 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2565 fi
2566
2567 else
2568
2569 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2570 if test "x$LINE" != x ; then
2571 eval "DEFAULT_$LINE"
2572 else
2573 no_cache=1
2574 fi
2575
2576 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2577
2578 fi;
2579
2580 eval "$ac_cv_use_universal"
2581 if test "$no_cache" != 1; then
2582 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2583 fi
2584
2585 if test "$wxUSE_UNIVERSAL" = yes; then
2586 echo "$as_me:$LINENO: result: yes" >&5
2587 echo "${ECHO_T}yes" >&6
2588 else
2589 echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6
2591 fi
2592
2593
2594 # Check whether --with-gtk or --without-gtk was given.
2595 if test "${with_gtk+set}" = set; then
2596 withval="$with_gtk"
2597 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2598 fi;
2599
2600 # Check whether --with-motif or --without-motif was given.
2601 if test "${with_motif+set}" = set; then
2602 withval="$with_motif"
2603 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-mac or --without-mac was given.
2607 if test "${with_mac+set}" = set; then
2608 withval="$with_mac"
2609 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-cocoa or --without-cocoa was given.
2613 if test "${with_cocoa+set}" = set; then
2614 withval="$with_cocoa"
2615 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-wine or --without-wine was given.
2619 if test "${with_wine+set}" = set; then
2620 withval="$with_wine"
2621 wxUSE_WINE="$withval" CACHE_WINE=1
2622 fi;
2623
2624 # Check whether --with-msw or --without-msw was given.
2625 if test "${with_msw+set}" = set; then
2626 withval="$with_msw"
2627 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2628 fi;
2629
2630 # Check whether --with-pm or --without-pm was given.
2631 if test "${with_pm+set}" = set; then
2632 withval="$with_pm"
2633 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-mgl or --without-mgl was given.
2637 if test "${with_mgl+set}" = set; then
2638 withval="$with_mgl"
2639 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2640 fi;
2641
2642 # Check whether --with-microwin or --without-microwin was given.
2643 if test "${with_microwin+set}" = set; then
2644 withval="$with_microwin"
2645 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-x11 or --without-x11 was given.
2649 if test "${with_x11+set}" = set; then
2650 withval="$with_x11"
2651 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 enablestring=
2655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2656 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2657 no_cache=0
2658 # Check whether --enable-nanox or --disable-nanox was given.
2659 if test "${enable_nanox+set}" = set; then
2660 enableval="$enable_nanox"
2661
2662 if test "$enableval" = yes; then
2663 ac_cv_use_nanox='wxUSE_NANOX=yes'
2664 else
2665 ac_cv_use_nanox='wxUSE_NANOX=no'
2666 fi
2667
2668 else
2669
2670 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x ; then
2672 eval "DEFAULT_$LINE"
2673 else
2674 no_cache=1
2675 fi
2676
2677 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2678
2679 fi;
2680
2681 eval "$ac_cv_use_nanox"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2684 fi
2685
2686 if test "$wxUSE_NANOX" = yes; then
2687 echo "$as_me:$LINENO: result: yes" >&5
2688 echo "${ECHO_T}yes" >&6
2689 else
2690 echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6
2692 fi
2693
2694
2695
2696 enablestring=
2697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2698 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2699 no_cache=0
2700 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2701 if test "${enable_gtk2+set}" = set; then
2702 enableval="$enable_gtk2"
2703
2704 if test "$enableval" = yes; then
2705 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2706 else
2707 ac_cv_use_gtk2='wxUSE_GTK2=no'
2708 fi
2709
2710 else
2711
2712 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2715 else
2716 no_cache=1
2717 fi
2718
2719 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2720
2721 fi;
2722
2723 eval "$ac_cv_use_gtk2"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2726 fi
2727
2728 if test "$wxUSE_GTK2" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2731 else
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2734 fi
2735
2736
2737 enablestring=
2738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2739 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2740 no_cache=0
2741 # Check whether --enable-gpe or --disable-gpe was given.
2742 if test "${enable_gpe+set}" = set; then
2743 enableval="$enable_gpe"
2744
2745 if test "$enableval" = yes; then
2746 ac_cv_use_gpe='wxUSE_GPE=yes'
2747 else
2748 ac_cv_use_gpe='wxUSE_GPE=no'
2749 fi
2750
2751 else
2752
2753 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2754 if test "x$LINE" != x ; then
2755 eval "DEFAULT_$LINE"
2756 else
2757 no_cache=1
2758 fi
2759
2760 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2761
2762 fi;
2763
2764 eval "$ac_cv_use_gpe"
2765 if test "$no_cache" != 1; then
2766 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2767 fi
2768
2769 if test "$wxUSE_GPE" = yes; then
2770 echo "$as_me:$LINENO: result: yes" >&5
2771 echo "${ECHO_T}yes" >&6
2772 else
2773 echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2775 fi
2776
2777
2778
2779 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2780 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2781 no_cache=0
2782
2783 # Check whether --with-libpng or --without-libpng was given.
2784 if test "${with_libpng+set}" = set; then
2785 withval="$with_libpng"
2786
2787 if test "$withval" = yes; then
2788 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2789 elif test "$withval" = no; then
2790 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2791 elif test "$withval" = sys; then
2792 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2793 elif test "$withval" = builtin; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2795 else
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2799 fi
2800
2801 else
2802
2803 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2804 if test "x$LINE" != x ; then
2805 eval "DEFAULT_$LINE"
2806 else
2807 no_cache=1
2808 fi
2809
2810 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2811
2812 fi;
2813
2814 eval "$ac_cv_use_libpng"
2815 if test "$no_cache" != 1; then
2816 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2817 fi
2818
2819 if test "$wxUSE_LIBPNG" = yes; then
2820 echo "$as_me:$LINENO: result: yes" >&5
2821 echo "${ECHO_T}yes" >&6
2822 elif test "$wxUSE_LIBPNG" = no; then
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2825 elif test "$wxUSE_LIBPNG" = sys; then
2826 echo "$as_me:$LINENO: result: system version" >&5
2827 echo "${ECHO_T}system version" >&6
2828 elif test "$wxUSE_LIBPNG" = builtin; then
2829 echo "$as_me:$LINENO: result: builtin version" >&5
2830 echo "${ECHO_T}builtin version" >&6
2831 else
2832 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2833 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2834 { (exit 1); exit 1; }; }
2835 fi
2836
2837
2838 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2839 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2840 no_cache=0
2841
2842 # Check whether --with-libjpeg or --without-libjpeg was given.
2843 if test "${with_libjpeg+set}" = set; then
2844 withval="$with_libjpeg"
2845
2846 if test "$withval" = yes; then
2847 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2848 elif test "$withval" = no; then
2849 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2850 elif test "$withval" = sys; then
2851 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2852 elif test "$withval" = builtin; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2854 else
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2858 fi
2859
2860 else
2861
2862 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x ; then
2864 eval "DEFAULT_$LINE"
2865 else
2866 no_cache=1
2867 fi
2868
2869 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2870
2871 fi;
2872
2873 eval "$ac_cv_use_libjpeg"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2876 fi
2877
2878 if test "$wxUSE_LIBJPEG" = yes; then
2879 echo "$as_me:$LINENO: result: yes" >&5
2880 echo "${ECHO_T}yes" >&6
2881 elif test "$wxUSE_LIBJPEG" = no; then
2882 echo "$as_me:$LINENO: result: no" >&5
2883 echo "${ECHO_T}no" >&6
2884 elif test "$wxUSE_LIBJPEG" = sys; then
2885 echo "$as_me:$LINENO: result: system version" >&5
2886 echo "${ECHO_T}system version" >&6
2887 elif test "$wxUSE_LIBJPEG" = builtin; then
2888 echo "$as_me:$LINENO: result: builtin version" >&5
2889 echo "${ECHO_T}builtin version" >&6
2890 else
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2892 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2894 fi
2895
2896
2897 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2898 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2899 no_cache=0
2900
2901 # Check whether --with-libtiff or --without-libtiff was given.
2902 if test "${with_libtiff+set}" = set; then
2903 withval="$with_libtiff"
2904
2905 if test "$withval" = yes; then
2906 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2907 elif test "$withval" = no; then
2908 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2909 elif test "$withval" = sys; then
2910 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2911 elif test "$withval" = builtin; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2913 else
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2917 fi
2918
2919 else
2920
2921 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x ; then
2923 eval "DEFAULT_$LINE"
2924 else
2925 no_cache=1
2926 fi
2927
2928 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2929
2930 fi;
2931
2932 eval "$ac_cv_use_libtiff"
2933 if test "$no_cache" != 1; then
2934 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2935 fi
2936
2937 if test "$wxUSE_LIBTIFF" = yes; then
2938 echo "$as_me:$LINENO: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2940 elif test "$wxUSE_LIBTIFF" = no; then
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2943 elif test "$wxUSE_LIBTIFF" = sys; then
2944 echo "$as_me:$LINENO: result: system version" >&5
2945 echo "${ECHO_T}system version" >&6
2946 elif test "$wxUSE_LIBTIFF" = builtin; then
2947 echo "$as_me:$LINENO: result: builtin version" >&5
2948 echo "${ECHO_T}builtin version" >&6
2949 else
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2951 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi
2954
2955
2956 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2957 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2958 no_cache=0
2959
2960 # Check whether --with-libxpm or --without-libxpm was given.
2961 if test "${with_libxpm+set}" = set; then
2962 withval="$with_libxpm"
2963
2964 if test "$withval" = yes; then
2965 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2966 elif test "$withval" = no; then
2967 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2968 elif test "$withval" = sys; then
2969 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2970 elif test "$withval" = builtin; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2972 else
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2976 fi
2977
2978 else
2979
2980 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x ; then
2982 eval "DEFAULT_$LINE"
2983 else
2984 no_cache=1
2985 fi
2986
2987 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2988
2989 fi;
2990
2991 eval "$ac_cv_use_libxpm"
2992 if test "$no_cache" != 1; then
2993 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2994 fi
2995
2996 if test "$wxUSE_LIBXPM" = yes; then
2997 echo "$as_me:$LINENO: result: yes" >&5
2998 echo "${ECHO_T}yes" >&6
2999 elif test "$wxUSE_LIBXPM" = no; then
3000 echo "$as_me:$LINENO: result: no" >&5
3001 echo "${ECHO_T}no" >&6
3002 elif test "$wxUSE_LIBXPM" = sys; then
3003 echo "$as_me:$LINENO: result: system version" >&5
3004 echo "${ECHO_T}system version" >&6
3005 elif test "$wxUSE_LIBXPM" = builtin; then
3006 echo "$as_me:$LINENO: result: builtin version" >&5
3007 echo "${ECHO_T}builtin version" >&6
3008 else
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3010 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3012 fi
3013
3014
3015 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3016 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3017 no_cache=0
3018
3019 # Check whether --with-libmspack or --without-libmspack was given.
3020 if test "${with_libmspack+set}" = set; then
3021 withval="$with_libmspack"
3022
3023 if test "$withval" = yes; then
3024 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3025 else
3026 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3027 fi
3028
3029 else
3030
3031 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x ; then
3033 eval "DEFAULT_$LINE"
3034 else
3035 no_cache=1
3036 fi
3037
3038 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3039
3040 fi;
3041
3042 eval "$ac_cv_use_libmspack"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3045 fi
3046
3047 if test "$wxUSE_LIBMSPACK" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 else
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 fi
3054
3055
3056 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3057 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3058 no_cache=0
3059
3060 # Check whether --with-sdl or --without-sdl was given.
3061 if test "${with_sdl+set}" = set; then
3062 withval="$with_sdl"
3063
3064 if test "$withval" = yes; then
3065 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3066 else
3067 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3068 fi
3069
3070 else
3071
3072 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3073 if test "x$LINE" != x ; then
3074 eval "DEFAULT_$LINE"
3075 else
3076 no_cache=1
3077 fi
3078
3079 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3080
3081 fi;
3082
3083 eval "$ac_cv_use_sdl"
3084 if test "$no_cache" != 1; then
3085 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3086 fi
3087
3088 if test "$wxUSE_LIBSDL" = yes; then
3089 echo "$as_me:$LINENO: result: yes" >&5
3090 echo "${ECHO_T}yes" >&6
3091 else
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3094 fi
3095
3096
3097 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3098 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3099 no_cache=0
3100
3101 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3102 if test "${with_gnomeprint+set}" = set; then
3103 withval="$with_gnomeprint"
3104
3105 if test "$withval" = yes; then
3106 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3107 else
3108 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3109 fi
3110
3111 else
3112
3113 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x ; then
3115 eval "DEFAULT_$LINE"
3116 else
3117 no_cache=1
3118 fi
3119
3120 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3121
3122 fi;
3123
3124 eval "$ac_cv_use_gnomeprint"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3127 fi
3128
3129 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3130 echo "$as_me:$LINENO: result: yes" >&5
3131 echo "${ECHO_T}yes" >&6
3132 else
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3135 fi
3136
3137
3138 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3139 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3140 no_cache=0
3141
3142 # Check whether --with-opengl or --without-opengl was given.
3143 if test "${with_opengl+set}" = set; then
3144 withval="$with_opengl"
3145
3146 if test "$withval" = yes; then
3147 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3148 else
3149 ac_cv_use_opengl='wxUSE_OPENGL=no'
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3162
3163 fi;
3164
3165 eval "$ac_cv_use_opengl"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_OPENGL" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 else
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 fi
3177
3178
3179 fi
3180
3181
3182 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3183 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3184 no_cache=0
3185
3186 # Check whether --with-dmalloc or --without-dmalloc was given.
3187 if test "${with_dmalloc+set}" = set; then
3188 withval="$with_dmalloc"
3189
3190 if test "$withval" = yes; then
3191 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3192 else
3193 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3194 fi
3195
3196 else
3197
3198 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3199 if test "x$LINE" != x ; then
3200 eval "DEFAULT_$LINE"
3201 else
3202 no_cache=1
3203 fi
3204
3205 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3206
3207 fi;
3208
3209 eval "$ac_cv_use_dmalloc"
3210 if test "$no_cache" != 1; then
3211 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3212 fi
3213
3214 if test "$wxUSE_DMALLOC" = yes; then
3215 echo "$as_me:$LINENO: result: yes" >&5
3216 echo "${ECHO_T}yes" >&6
3217 else
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3220 fi
3221
3222
3223 echo "$as_me:$LINENO: checking for --with-regex" >&5
3224 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3225 no_cache=0
3226
3227 # Check whether --with-regex or --without-regex was given.
3228 if test "${with_regex+set}" = set; then
3229 withval="$with_regex"
3230
3231 if test "$withval" = yes; then
3232 ac_cv_use_regex='wxUSE_REGEX=yes'
3233 elif test "$withval" = no; then
3234 ac_cv_use_regex='wxUSE_REGEX=no'
3235 elif test "$withval" = sys; then
3236 ac_cv_use_regex='wxUSE_REGEX=sys'
3237 elif test "$withval" = builtin; then
3238 ac_cv_use_regex='wxUSE_REGEX=builtin'
3239 else
3240 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3241 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3242 { (exit 1); exit 1; }; }
3243 fi
3244
3245 else
3246
3247 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3248 if test "x$LINE" != x ; then
3249 eval "DEFAULT_$LINE"
3250 else
3251 no_cache=1
3252 fi
3253
3254 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3255
3256 fi;
3257
3258 eval "$ac_cv_use_regex"
3259 if test "$no_cache" != 1; then
3260 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3261 fi
3262
3263 if test "$wxUSE_REGEX" = yes; then
3264 echo "$as_me:$LINENO: result: yes" >&5
3265 echo "${ECHO_T}yes" >&6
3266 elif test "$wxUSE_REGEX" = no; then
3267 echo "$as_me:$LINENO: result: no" >&5
3268 echo "${ECHO_T}no" >&6
3269 elif test "$wxUSE_REGEX" = sys; then
3270 echo "$as_me:$LINENO: result: system version" >&5
3271 echo "${ECHO_T}system version" >&6
3272 elif test "$wxUSE_REGEX" = builtin; then
3273 echo "$as_me:$LINENO: result: builtin version" >&5
3274 echo "${ECHO_T}builtin version" >&6
3275 else
3276 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3277 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3278 { (exit 1); exit 1; }; }
3279 fi
3280
3281
3282 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3283 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3284 no_cache=0
3285
3286 # Check whether --with-zlib or --without-zlib was given.
3287 if test "${with_zlib+set}" = set; then
3288 withval="$with_zlib"
3289
3290 if test "$withval" = yes; then
3291 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3292 elif test "$withval" = no; then
3293 ac_cv_use_zlib='wxUSE_ZLIB=no'
3294 elif test "$withval" = sys; then
3295 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3296 elif test "$withval" = builtin; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3298 else
3299 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3300 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3301 { (exit 1); exit 1; }; }
3302 fi
3303
3304 else
3305
3306 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x ; then
3308 eval "DEFAULT_$LINE"
3309 else
3310 no_cache=1
3311 fi
3312
3313 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3314
3315 fi;
3316
3317 eval "$ac_cv_use_zlib"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3320 fi
3321
3322 if test "$wxUSE_ZLIB" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3325 elif test "$wxUSE_ZLIB" = no; then
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3328 elif test "$wxUSE_ZLIB" = sys; then
3329 echo "$as_me:$LINENO: result: system version" >&5
3330 echo "${ECHO_T}system version" >&6
3331 elif test "$wxUSE_ZLIB" = builtin; then
3332 echo "$as_me:$LINENO: result: builtin version" >&5
3333 echo "${ECHO_T}builtin version" >&6
3334 else
3335 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3336 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3337 { (exit 1); exit 1; }; }
3338 fi
3339
3340
3341 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3342 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3343 no_cache=0
3344
3345 # Check whether --with-odbc or --without-odbc was given.
3346 if test "${with_odbc+set}" = set; then
3347 withval="$with_odbc"
3348
3349 if test "$withval" = yes; then
3350 ac_cv_use_odbc='wxUSE_ODBC=yes'
3351 elif test "$withval" = no; then
3352 ac_cv_use_odbc='wxUSE_ODBC=no'
3353 elif test "$withval" = sys; then
3354 ac_cv_use_odbc='wxUSE_ODBC=sys'
3355 elif test "$withval" = builtin; then
3356 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3357 else
3358 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3359 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3360 { (exit 1); exit 1; }; }
3361 fi
3362
3363 else
3364
3365 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3368 else
3369 no_cache=1
3370 fi
3371
3372 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3373
3374 fi;
3375
3376 eval "$ac_cv_use_odbc"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3379 fi
3380
3381 if test "$wxUSE_ODBC" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383 echo "${ECHO_T}yes" >&6
3384 elif test "$wxUSE_ODBC" = no; then
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3387 elif test "$wxUSE_ODBC" = sys; then
3388 echo "$as_me:$LINENO: result: system version" >&5
3389 echo "${ECHO_T}system version" >&6
3390 elif test "$wxUSE_ODBC" = builtin; then
3391 echo "$as_me:$LINENO: result: builtin version" >&5
3392 echo "${ECHO_T}builtin version" >&6
3393 else
3394 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3395 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3396 { (exit 1); exit 1; }; }
3397 fi
3398
3399
3400 echo "$as_me:$LINENO: checking for --with-expat" >&5
3401 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3402 no_cache=0
3403
3404 # Check whether --with-expat or --without-expat was given.
3405 if test "${with_expat+set}" = set; then
3406 withval="$with_expat"
3407
3408 if test "$withval" = yes; then
3409 ac_cv_use_expat='wxUSE_EXPAT=yes'
3410 elif test "$withval" = no; then
3411 ac_cv_use_expat='wxUSE_EXPAT=no'
3412 elif test "$withval" = sys; then
3413 ac_cv_use_expat='wxUSE_EXPAT=sys'
3414 elif test "$withval" = builtin; then
3415 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3416 else
3417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3419 { (exit 1); exit 1; }; }
3420 fi
3421
3422 else
3423
3424 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x ; then
3426 eval "DEFAULT_$LINE"
3427 else
3428 no_cache=1
3429 fi
3430
3431 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3432
3433 fi;
3434
3435 eval "$ac_cv_use_expat"
3436 if test "$no_cache" != 1; then
3437 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3438 fi
3439
3440 if test "$wxUSE_EXPAT" = yes; then
3441 echo "$as_me:$LINENO: result: yes" >&5
3442 echo "${ECHO_T}yes" >&6
3443 elif test "$wxUSE_EXPAT" = no; then
3444 echo "$as_me:$LINENO: result: no" >&5
3445 echo "${ECHO_T}no" >&6
3446 elif test "$wxUSE_EXPAT" = sys; then
3447 echo "$as_me:$LINENO: result: system version" >&5
3448 echo "${ECHO_T}system version" >&6
3449 elif test "$wxUSE_EXPAT" = builtin; then
3450 echo "$as_me:$LINENO: result: builtin version" >&5
3451 echo "${ECHO_T}builtin version" >&6
3452 else
3453 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3454 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3455 { (exit 1); exit 1; }; }
3456 fi
3457
3458
3459
3460
3461 enablestring=
3462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3464 no_cache=0
3465 # Check whether --enable-shared or --disable-shared was given.
3466 if test "${enable_shared+set}" = set; then
3467 enableval="$enable_shared"
3468
3469 if test "$enableval" = yes; then
3470 ac_cv_use_shared='wxUSE_SHARED=yes'
3471 else
3472 ac_cv_use_shared='wxUSE_SHARED=no'
3473 fi
3474
3475 else
3476
3477 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x ; then
3479 eval "DEFAULT_$LINE"
3480 else
3481 no_cache=1
3482 fi
3483
3484 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3485
3486 fi;
3487
3488 eval "$ac_cv_use_shared"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3491 fi
3492
3493 if test "$wxUSE_SHARED" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3496 else
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3499 fi
3500
3501
3502 enablestring=
3503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3505 no_cache=0
3506 # Check whether --enable-optimise or --disable-optimise was given.
3507 if test "${enable_optimise+set}" = set; then
3508 enableval="$enable_optimise"
3509
3510 if test "$enableval" = yes; then
3511 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3512 else
3513 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3514 fi
3515
3516 else
3517
3518 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3521 else
3522 no_cache=1
3523 fi
3524
3525 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3526
3527 fi;
3528
3529 eval "$ac_cv_use_optimise"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3532 fi
3533
3534 if test "$wxUSE_OPTIMISE" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3537 else
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3540 fi
3541
3542
3543 enablestring=
3544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3546 no_cache=0
3547 # Check whether --enable-debug or --disable-debug was given.
3548 if test "${enable_debug+set}" = set; then
3549 enableval="$enable_debug"
3550
3551 if test "$enableval" = yes; then
3552 ac_cv_use_debug='wxUSE_DEBUG=yes'
3553 else
3554 ac_cv_use_debug='wxUSE_DEBUG=no'
3555 fi
3556
3557 else
3558
3559 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x ; then
3561 eval "DEFAULT_$LINE"
3562 else
3563 no_cache=1
3564 fi
3565
3566 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3567
3568 fi;
3569
3570 eval "$ac_cv_use_debug"
3571 if test "$no_cache" != 1; then
3572 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3573 fi
3574
3575 if test "$wxUSE_DEBUG" = yes; then
3576 echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6
3578 else
3579 echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6
3581 fi
3582
3583
3584 enablestring=
3585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3586 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3587 no_cache=0
3588 # Check whether --enable-stl or --disable-stl was given.
3589 if test "${enable_stl+set}" = set; then
3590 enableval="$enable_stl"
3591
3592 if test "$enableval" = yes; then
3593 ac_cv_use_stl='wxUSE_STL=yes'
3594 else
3595 ac_cv_use_stl='wxUSE_STL=no'
3596 fi
3597
3598 else
3599
3600 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x ; then
3602 eval "DEFAULT_$LINE"
3603 else
3604 no_cache=1
3605 fi
3606
3607 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3608
3609 fi;
3610
3611 eval "$ac_cv_use_stl"
3612 if test "$no_cache" != 1; then
3613 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3614 fi
3615
3616 if test "$wxUSE_STL" = yes; then
3617 echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6
3619 else
3620 echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6
3622 fi
3623
3624 if test "$USE_OS2" = "1"; then
3625
3626 enablestring=
3627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3629 no_cache=0
3630 # Check whether --enable-omf or --disable-omf was given.
3631 if test "${enable_omf+set}" = set; then
3632 enableval="$enable_omf"
3633
3634 if test "$enableval" = yes; then
3635 ac_cv_use_omf='wxUSE_OMF=yes'
3636 else
3637 ac_cv_use_omf='wxUSE_OMF=no'
3638 fi
3639
3640 else
3641
3642 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3645 else
3646 no_cache=1
3647 fi
3648
3649 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3650
3651 fi;
3652
3653 eval "$ac_cv_use_omf"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3656 fi
3657
3658 if test "$wxUSE_OMF" = yes; then
3659 echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3661 else
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3664 fi
3665
3666 fi
3667
3668 if test "$wxUSE_DEBUG" = "yes"; then
3669 DEFAULT_wxUSE_DEBUG_FLAG=yes
3670 DEFAULT_wxUSE_DEBUG_INFO=yes
3671 BUILD=debug
3672 elif test "$wxUSE_DEBUG" = "no"; then
3673 DEFAULT_wxUSE_DEBUG_FLAG=no
3674 DEFAULT_wxUSE_DEBUG_INFO=no
3675 BUILD=release
3676 fi
3677
3678
3679 enablestring=
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3682 no_cache=0
3683 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3684 if test "${enable_debug_flag+set}" = set; then
3685 enableval="$enable_debug_flag"
3686
3687 if test "$enableval" = yes; then
3688 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3689 else
3690 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3691 fi
3692
3693 else
3694
3695 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3698 else
3699 no_cache=1
3700 fi
3701
3702 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3703
3704 fi;
3705
3706 eval "$ac_cv_use_debug_flag"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3709 fi
3710
3711 if test "$wxUSE_DEBUG_FLAG" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3714 else
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3717 fi
3718
3719
3720 enablestring=
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3722 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3723 no_cache=0
3724 # Check whether --enable-debug_info or --disable-debug_info was given.
3725 if test "${enable_debug_info+set}" = set; then
3726 enableval="$enable_debug_info"
3727
3728 if test "$enableval" = yes; then
3729 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3730 else
3731 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3732 fi
3733
3734 else
3735
3736 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3739 else
3740 no_cache=1
3741 fi
3742
3743 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3744
3745 fi;
3746
3747 eval "$ac_cv_use_debug_info"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3750 fi
3751
3752 if test "$wxUSE_DEBUG_INFO" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3755 else
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3758 fi
3759
3760
3761 enablestring=
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3763 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3764 no_cache=0
3765 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3766 if test "${enable_debug_gdb+set}" = set; then
3767 enableval="$enable_debug_gdb"
3768
3769 if test "$enableval" = yes; then
3770 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3771 else
3772 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3773 fi
3774
3775 else
3776
3777 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3780 else
3781 no_cache=1
3782 fi
3783
3784 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3785
3786 fi;
3787
3788 eval "$ac_cv_use_debug_gdb"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3791 fi
3792
3793 if test "$wxUSE_DEBUG_GDB" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6
3796 else
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3799 fi
3800
3801
3802 enablestring=
3803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3804 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3805 no_cache=0
3806 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3807 if test "${enable_debug_cntxt+set}" = set; then
3808 enableval="$enable_debug_cntxt"
3809
3810 if test "$enableval" = yes; then
3811 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3812 else
3813 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3814 fi
3815
3816 else
3817
3818 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3819 if test "x$LINE" != x ; then
3820 eval "DEFAULT_$LINE"
3821 else
3822 no_cache=1
3823 fi
3824
3825 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3826
3827 fi;
3828
3829 eval "$ac_cv_use_debug_cntxt"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3832 fi
3833
3834 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3837 else
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3840 fi
3841
3842
3843 enablestring=
3844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3845 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3846 no_cache=0
3847 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3848 if test "${enable_mem_tracing+set}" = set; then
3849 enableval="$enable_mem_tracing"
3850
3851 if test "$enableval" = yes; then
3852 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3853 else
3854 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3855 fi
3856
3857 else
3858
3859 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x ; then
3861 eval "DEFAULT_$LINE"
3862 else
3863 no_cache=1
3864 fi
3865
3866 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3867
3868 fi;
3869
3870 eval "$ac_cv_use_mem_tracing"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3873 fi
3874
3875 if test "$wxUSE_MEM_TRACING" = yes; then
3876 echo "$as_me:$LINENO: result: yes" >&5
3877 echo "${ECHO_T}yes" >&6
3878 else
3879 echo "$as_me:$LINENO: result: no" >&5
3880 echo "${ECHO_T}no" >&6
3881 fi
3882
3883
3884 enablestring=
3885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3886 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3887 no_cache=0
3888 # Check whether --enable-profile or --disable-profile was given.
3889 if test "${enable_profile+set}" = set; then
3890 enableval="$enable_profile"
3891
3892 if test "$enableval" = yes; then
3893 ac_cv_use_profile='wxUSE_PROFILE=yes'
3894 else
3895 ac_cv_use_profile='wxUSE_PROFILE=no'
3896 fi
3897
3898 else
3899
3900 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3901 if test "x$LINE" != x ; then
3902 eval "DEFAULT_$LINE"
3903 else
3904 no_cache=1
3905 fi
3906
3907 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3908
3909 fi;
3910
3911 eval "$ac_cv_use_profile"
3912 if test "$no_cache" != 1; then
3913 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3914 fi
3915
3916 if test "$wxUSE_PROFILE" = yes; then
3917 echo "$as_me:$LINENO: result: yes" >&5
3918 echo "${ECHO_T}yes" >&6
3919 else
3920 echo "$as_me:$LINENO: result: no" >&5
3921 echo "${ECHO_T}no" >&6
3922 fi
3923
3924
3925 enablestring=
3926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3927 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3928 no_cache=0
3929 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3930 if test "${enable_no_rtti+set}" = set; then
3931 enableval="$enable_no_rtti"
3932
3933 if test "$enableval" = yes; then
3934 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3935 else
3936 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3937 fi
3938
3939 else
3940
3941 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x ; then
3943 eval "DEFAULT_$LINE"
3944 else
3945 no_cache=1
3946 fi
3947
3948 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3949
3950 fi;
3951
3952 eval "$ac_cv_use_no_rtti"
3953 if test "$no_cache" != 1; then
3954 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3955 fi
3956
3957 if test "$wxUSE_NO_RTTI" = yes; then
3958 echo "$as_me:$LINENO: result: yes" >&5
3959 echo "${ECHO_T}yes" >&6
3960 else
3961 echo "$as_me:$LINENO: result: no" >&5
3962 echo "${ECHO_T}no" >&6
3963 fi
3964
3965
3966 enablestring=
3967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3968 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3969 no_cache=0
3970 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3971 if test "${enable_no_exceptions+set}" = set; then
3972 enableval="$enable_no_exceptions"
3973
3974 if test "$enableval" = yes; then
3975 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3976 else
3977 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3978 fi
3979
3980 else
3981
3982 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x ; then
3984 eval "DEFAULT_$LINE"
3985 else
3986 no_cache=1
3987 fi
3988
3989 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3990
3991 fi;
3992
3993 eval "$ac_cv_use_no_exceptions"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3996 fi
3997
3998 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3999 echo "$as_me:$LINENO: result: yes" >&5
4000 echo "${ECHO_T}yes" >&6
4001 else
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4004 fi
4005
4006
4007 enablestring=
4008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4009 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4010 no_cache=0
4011 # Check whether --enable-permissive or --disable-permissive was given.
4012 if test "${enable_permissive+set}" = set; then
4013 enableval="$enable_permissive"
4014
4015 if test "$enableval" = yes; then
4016 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4017 else
4018 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4019 fi
4020
4021 else
4022
4023 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x ; then
4025 eval "DEFAULT_$LINE"
4026 else
4027 no_cache=1
4028 fi
4029
4030 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4031
4032 fi;
4033
4034 eval "$ac_cv_use_permissive"
4035 if test "$no_cache" != 1; then
4036 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4037 fi
4038
4039 if test "$wxUSE_PERMISSIVE" = yes; then
4040 echo "$as_me:$LINENO: result: yes" >&5
4041 echo "${ECHO_T}yes" >&6
4042 else
4043 echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4045 fi
4046
4047
4048 enablestring=
4049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4050 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4051 no_cache=0
4052 # Check whether --enable-no_deps or --disable-no_deps was given.
4053 if test "${enable_no_deps+set}" = set; then
4054 enableval="$enable_no_deps"
4055
4056 if test "$enableval" = yes; then
4057 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4058 else
4059 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4060 fi
4061
4062 else
4063
4064 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x ; then
4066 eval "DEFAULT_$LINE"
4067 else
4068 no_cache=1
4069 fi
4070
4071 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4072
4073 fi;
4074
4075 eval "$ac_cv_use_no_deps"
4076 if test "$no_cache" != 1; then
4077 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4078 fi
4079
4080 if test "$wxUSE_NO_DEPS" = yes; then
4081 echo "$as_me:$LINENO: result: yes" >&5
4082 echo "${ECHO_T}yes" >&6
4083 else
4084 echo "$as_me:$LINENO: result: no" >&5
4085 echo "${ECHO_T}no" >&6
4086 fi
4087
4088
4089
4090 enablestring=
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4093 no_cache=0
4094 # Check whether --enable-compat22 or --disable-compat22 was given.
4095 if test "${enable_compat22+set}" = set; then
4096 enableval="$enable_compat22"
4097
4098 if test "$enableval" = yes; then
4099 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4100 else
4101 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4102 fi
4103
4104 else
4105
4106 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x ; then
4108 eval "DEFAULT_$LINE"
4109 else
4110 no_cache=1
4111 fi
4112
4113 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4114
4115 fi;
4116
4117 eval "$ac_cv_use_compat22"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4120 fi
4121
4122 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4125 else
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4128 fi
4129
4130
4131 enablestring=disable
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4134 no_cache=0
4135 # Check whether --enable-compat24 or --disable-compat24 was given.
4136 if test "${enable_compat24+set}" = set; then
4137 enableval="$enable_compat24"
4138
4139 if test "$enableval" = yes; then
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4141 else
4142 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4143 fi
4144
4145 else
4146
4147 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x ; then
4149 eval "DEFAULT_$LINE"
4150 else
4151 no_cache=1
4152 fi
4153
4154 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4155
4156 fi;
4157
4158 eval "$ac_cv_use_compat24"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4161 fi
4162
4163 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4166 else
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4169 fi
4170
4171
4172
4173 enablestring=
4174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4175 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4176 no_cache=0
4177 # Check whether --enable-rpath or --disable-rpath was given.
4178 if test "${enable_rpath+set}" = set; then
4179 enableval="$enable_rpath"
4180
4181 if test "$enableval" = yes; then
4182 ac_cv_use_rpath='wxUSE_RPATH=yes'
4183 else
4184 ac_cv_use_rpath='wxUSE_RPATH=no'
4185 fi
4186
4187 else
4188
4189 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x ; then
4191 eval "DEFAULT_$LINE"
4192 else
4193 no_cache=1
4194 fi
4195
4196 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4197
4198 fi;
4199
4200 eval "$ac_cv_use_rpath"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4203 fi
4204
4205 if test "$wxUSE_RPATH" = yes; then
4206 echo "$as_me:$LINENO: result: yes" >&5
4207 echo "${ECHO_T}yes" >&6
4208 else
4209 echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6
4211 fi
4212
4213
4214
4215
4216
4217 enablestring=
4218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4219 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4220 no_cache=0
4221 # Check whether --enable-intl or --disable-intl was given.
4222 if test "${enable_intl+set}" = set; then
4223 enableval="$enable_intl"
4224
4225 if test "$enableval" = yes; then
4226 ac_cv_use_intl='wxUSE_INTL=yes'
4227 else
4228 ac_cv_use_intl='wxUSE_INTL=no'
4229 fi
4230
4231 else
4232
4233 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4234 if test "x$LINE" != x ; then
4235 eval "DEFAULT_$LINE"
4236 else
4237 no_cache=1
4238 fi
4239
4240 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4241
4242 fi;
4243
4244 eval "$ac_cv_use_intl"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4247 fi
4248
4249 if test "$wxUSE_INTL" = yes; then
4250 echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6
4252 else
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4255 fi
4256
4257
4258 enablestring=
4259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4260 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4261 no_cache=0
4262 # Check whether --enable-config or --disable-config was given.
4263 if test "${enable_config+set}" = set; then
4264 enableval="$enable_config"
4265
4266 if test "$enableval" = yes; then
4267 ac_cv_use_config='wxUSE_CONFIG=yes'
4268 else
4269 ac_cv_use_config='wxUSE_CONFIG=no'
4270 fi
4271
4272 else
4273
4274 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4277 else
4278 no_cache=1
4279 fi
4280
4281 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4282
4283 fi;
4284
4285 eval "$ac_cv_use_config"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4288 fi
4289
4290 if test "$wxUSE_CONFIG" = yes; then
4291 echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6
4293 else
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4296 fi
4297
4298
4299
4300 enablestring=
4301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4302 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4303 no_cache=0
4304 # Check whether --enable-protocols or --disable-protocols was given.
4305 if test "${enable_protocols+set}" = set; then
4306 enableval="$enable_protocols"
4307
4308 if test "$enableval" = yes; then
4309 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4310 else
4311 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4312 fi
4313
4314 else
4315
4316 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4319 else
4320 no_cache=1
4321 fi
4322
4323 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4324
4325 fi;
4326
4327 eval "$ac_cv_use_protocols"
4328 if test "$no_cache" != 1; then
4329 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4330 fi
4331
4332 if test "$wxUSE_PROTOCOL" = yes; then
4333 echo "$as_me:$LINENO: result: yes" >&5
4334 echo "${ECHO_T}yes" >&6
4335 else
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4338 fi
4339
4340
4341 enablestring=
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4344 no_cache=0
4345 # Check whether --enable-ftp or --disable-ftp was given.
4346 if test "${enable_ftp+set}" = set; then
4347 enableval="$enable_ftp"
4348
4349 if test "$enableval" = yes; then
4350 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4351 else
4352 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4353 fi
4354
4355 else
4356
4357 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4360 else
4361 no_cache=1
4362 fi
4363
4364 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4365
4366 fi;
4367
4368 eval "$ac_cv_use_ftp"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4371 fi
4372
4373 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4374 echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6
4376 else
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4379 fi
4380
4381
4382 enablestring=
4383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4385 no_cache=0
4386 # Check whether --enable-http or --disable-http was given.
4387 if test "${enable_http+set}" = set; then
4388 enableval="$enable_http"
4389
4390 if test "$enableval" = yes; then
4391 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4392 else
4393 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4394 fi
4395
4396 else
4397
4398 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x ; then
4400 eval "DEFAULT_$LINE"
4401 else
4402 no_cache=1
4403 fi
4404
4405 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4406
4407 fi;
4408
4409 eval "$ac_cv_use_http"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4412 fi
4413
4414 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4417 else
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4420 fi
4421
4422
4423 enablestring=
4424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4426 no_cache=0
4427 # Check whether --enable-fileproto or --disable-fileproto was given.
4428 if test "${enable_fileproto+set}" = set; then
4429 enableval="$enable_fileproto"
4430
4431 if test "$enableval" = yes; then
4432 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4433 else
4434 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4435 fi
4436
4437 else
4438
4439 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x ; then
4441 eval "DEFAULT_$LINE"
4442 else
4443 no_cache=1
4444 fi
4445
4446 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4447
4448 fi;
4449
4450 eval "$ac_cv_use_fileproto"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4453 fi
4454
4455 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4456 echo "$as_me:$LINENO: result: yes" >&5
4457 echo "${ECHO_T}yes" >&6
4458 else
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4461 fi
4462
4463
4464 enablestring=
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4467 no_cache=0
4468 # Check whether --enable-sockets or --disable-sockets was given.
4469 if test "${enable_sockets+set}" = set; then
4470 enableval="$enable_sockets"
4471
4472 if test "$enableval" = yes; then
4473 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4474 else
4475 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4476 fi
4477
4478 else
4479
4480 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4483 else
4484 no_cache=1
4485 fi
4486
4487 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4488
4489 fi;
4490
4491 eval "$ac_cv_use_sockets"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4494 fi
4495
4496 if test "$wxUSE_SOCKETS" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4499 else
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4502 fi
4503
4504
4505 enablestring=
4506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4507 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4508 no_cache=0
4509 # Check whether --enable-ole or --disable-ole was given.
4510 if test "${enable_ole+set}" = set; then
4511 enableval="$enable_ole"
4512
4513 if test "$enableval" = yes; then
4514 ac_cv_use_ole='wxUSE_OLE=yes'
4515 else
4516 ac_cv_use_ole='wxUSE_OLE=no'
4517 fi
4518
4519 else
4520
4521 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4524 else
4525 no_cache=1
4526 fi
4527
4528 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4529
4530 fi;
4531
4532 eval "$ac_cv_use_ole"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4535 fi
4536
4537 if test "$wxUSE_OLE" = yes; then
4538 echo "$as_me:$LINENO: result: yes" >&5
4539 echo "${ECHO_T}yes" >&6
4540 else
4541 echo "$as_me:$LINENO: result: no" >&5
4542 echo "${ECHO_T}no" >&6
4543 fi
4544
4545
4546 enablestring=
4547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4549 no_cache=0
4550 # Check whether --enable-dataobj or --disable-dataobj was given.
4551 if test "${enable_dataobj+set}" = set; then
4552 enableval="$enable_dataobj"
4553
4554 if test "$enableval" = yes; then
4555 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4556 else
4557 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4558 fi
4559
4560 else
4561
4562 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4565 else
4566 no_cache=1
4567 fi
4568
4569 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4570
4571 fi;
4572
4573 eval "$ac_cv_use_dataobj"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4576 fi
4577
4578 if test "$wxUSE_DATAOBJ" = yes; then
4579 echo "$as_me:$LINENO: result: yes" >&5
4580 echo "${ECHO_T}yes" >&6
4581 else
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4584 fi
4585
4586
4587
4588 enablestring=
4589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4591 no_cache=0
4592 # Check whether --enable-ipc or --disable-ipc was given.
4593 if test "${enable_ipc+set}" = set; then
4594 enableval="$enable_ipc"
4595
4596 if test "$enableval" = yes; then
4597 ac_cv_use_ipc='wxUSE_IPC=yes'
4598 else
4599 ac_cv_use_ipc='wxUSE_IPC=no'
4600 fi
4601
4602 else
4603
4604 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4605 if test "x$LINE" != x ; then
4606 eval "DEFAULT_$LINE"
4607 else
4608 no_cache=1
4609 fi
4610
4611 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4612
4613 fi;
4614
4615 eval "$ac_cv_use_ipc"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4618 fi
4619
4620 if test "$wxUSE_IPC" = yes; then
4621 echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6
4623 else
4624 echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4626 fi
4627
4628
4629
4630 enablestring=
4631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4633 no_cache=0
4634 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4635 if test "${enable_apple_ieee+set}" = set; then
4636 enableval="$enable_apple_ieee"
4637
4638 if test "$enableval" = yes; then
4639 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4640 else
4641 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4642 fi
4643
4644 else
4645
4646 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x ; then
4648 eval "DEFAULT_$LINE"
4649 else
4650 no_cache=1
4651 fi
4652
4653 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4654
4655 fi;
4656
4657 eval "$ac_cv_use_apple_ieee"
4658 if test "$no_cache" != 1; then
4659 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4660 fi
4661
4662 if test "$wxUSE_APPLE_IEEE" = yes; then
4663 echo "$as_me:$LINENO: result: yes" >&5
4664 echo "${ECHO_T}yes" >&6
4665 else
4666 echo "$as_me:$LINENO: result: no" >&5
4667 echo "${ECHO_T}no" >&6
4668 fi
4669
4670
4671 enablestring=
4672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4674 no_cache=0
4675 # Check whether --enable-arcstream or --disable-arcstream was given.
4676 if test "${enable_arcstream+set}" = set; then
4677 enableval="$enable_arcstream"
4678
4679 if test "$enableval" = yes; then
4680 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4681 else
4682 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4683 fi
4684
4685 else
4686
4687 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x ; then
4689 eval "DEFAULT_$LINE"
4690 else
4691 no_cache=1
4692 fi
4693
4694 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4695
4696 fi;
4697
4698 eval "$ac_cv_use_arcstream"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4701 fi
4702
4703 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4704 echo "$as_me:$LINENO: result: yes" >&5
4705 echo "${ECHO_T}yes" >&6
4706 else
4707 echo "$as_me:$LINENO: result: no" >&5
4708 echo "${ECHO_T}no" >&6
4709 fi
4710
4711
4712 enablestring=
4713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4714 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4715 no_cache=0
4716 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4717 if test "${enable_catch_segvs+set}" = set; then
4718 enableval="$enable_catch_segvs"
4719
4720 if test "$enableval" = yes; then
4721 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4722 else
4723 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4724 fi
4725
4726 else
4727
4728 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4729 if test "x$LINE" != x ; then
4730 eval "DEFAULT_$LINE"
4731 else
4732 no_cache=1
4733 fi
4734
4735 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4736
4737 fi;
4738
4739 eval "$ac_cv_use_catch_segvs"
4740 if test "$no_cache" != 1; then
4741 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4742 fi
4743
4744 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4745 echo "$as_me:$LINENO: result: yes" >&5
4746 echo "${ECHO_T}yes" >&6
4747 else
4748 echo "$as_me:$LINENO: result: no" >&5
4749 echo "${ECHO_T}no" >&6
4750 fi
4751
4752
4753 enablestring=
4754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4755 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4756 no_cache=0
4757 # Check whether --enable-backtrace or --disable-backtrace was given.
4758 if test "${enable_backtrace+set}" = set; then
4759 enableval="$enable_backtrace"
4760
4761 if test "$enableval" = yes; then
4762 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4763 else
4764 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4765 fi
4766
4767 else
4768
4769 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x ; then
4771 eval "DEFAULT_$LINE"
4772 else
4773 no_cache=1
4774 fi
4775
4776 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4777
4778 fi;
4779
4780 eval "$ac_cv_use_backtrace"
4781 if test "$no_cache" != 1; then
4782 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4783 fi
4784
4785 if test "$wxUSE_STACKWALKER" = yes; then
4786 echo "$as_me:$LINENO: result: yes" >&5
4787 echo "${ECHO_T}yes" >&6
4788 else
4789 echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6
4791 fi
4792
4793
4794 enablestring=
4795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4797 no_cache=0
4798 # Check whether --enable-cmdline or --disable-cmdline was given.
4799 if test "${enable_cmdline+set}" = set; then
4800 enableval="$enable_cmdline"
4801
4802 if test "$enableval" = yes; then
4803 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4804 else
4805 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4806 fi
4807
4808 else
4809
4810 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x ; then
4812 eval "DEFAULT_$LINE"
4813 else
4814 no_cache=1
4815 fi
4816
4817 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4818
4819 fi;
4820
4821 eval "$ac_cv_use_cmdline"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4824 fi
4825
4826 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4827 echo "$as_me:$LINENO: result: yes" >&5
4828 echo "${ECHO_T}yes" >&6
4829 else
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4832 fi
4833
4834
4835 enablestring=
4836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4838 no_cache=0
4839 # Check whether --enable-datetime or --disable-datetime was given.
4840 if test "${enable_datetime+set}" = set; then
4841 enableval="$enable_datetime"
4842
4843 if test "$enableval" = yes; then
4844 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4845 else
4846 ac_cv_use_datetime='wxUSE_DATETIME=no'
4847 fi
4848
4849 else
4850
4851 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x ; then
4853 eval "DEFAULT_$LINE"
4854 else
4855 no_cache=1
4856 fi
4857
4858 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4859
4860 fi;
4861
4862 eval "$ac_cv_use_datetime"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4865 fi
4866
4867 if test "$wxUSE_DATETIME" = yes; then
4868 echo "$as_me:$LINENO: result: yes" >&5
4869 echo "${ECHO_T}yes" >&6
4870 else
4871 echo "$as_me:$LINENO: result: no" >&5
4872 echo "${ECHO_T}no" >&6
4873 fi
4874
4875
4876 enablestring=
4877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4878 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4879 no_cache=0
4880 # Check whether --enable-dialupman or --disable-dialupman was given.
4881 if test "${enable_dialupman+set}" = set; then
4882 enableval="$enable_dialupman"
4883
4884 if test "$enableval" = yes; then
4885 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4886 else
4887 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4888 fi
4889
4890 else
4891
4892 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4893 if test "x$LINE" != x ; then
4894 eval "DEFAULT_$LINE"
4895 else
4896 no_cache=1
4897 fi
4898
4899 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4900
4901 fi;
4902
4903 eval "$ac_cv_use_dialupman"
4904 if test "$no_cache" != 1; then
4905 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4906 fi
4907
4908 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4909 echo "$as_me:$LINENO: result: yes" >&5
4910 echo "${ECHO_T}yes" >&6
4911 else
4912 echo "$as_me:$LINENO: result: no" >&5
4913 echo "${ECHO_T}no" >&6
4914 fi
4915
4916
4917 enablestring=
4918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4919 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4920 no_cache=0
4921 # Check whether --enable-dynlib or --disable-dynlib was given.
4922 if test "${enable_dynlib+set}" = set; then
4923 enableval="$enable_dynlib"
4924
4925 if test "$enableval" = yes; then
4926 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4927 else
4928 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4929 fi
4930
4931 else
4932
4933 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4934 if test "x$LINE" != x ; then
4935 eval "DEFAULT_$LINE"
4936 else
4937 no_cache=1
4938 fi
4939
4940 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4941
4942 fi;
4943
4944 eval "$ac_cv_use_dynlib"
4945 if test "$no_cache" != 1; then
4946 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4947 fi
4948
4949 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4950 echo "$as_me:$LINENO: result: yes" >&5
4951 echo "${ECHO_T}yes" >&6
4952 else
4953 echo "$as_me:$LINENO: result: no" >&5
4954 echo "${ECHO_T}no" >&6
4955 fi
4956
4957
4958 enablestring=
4959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4960 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4961 no_cache=0
4962 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4963 if test "${enable_dynamicloader+set}" = set; then
4964 enableval="$enable_dynamicloader"
4965
4966 if test "$enableval" = yes; then
4967 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4968 else
4969 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4970 fi
4971
4972 else
4973
4974 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x ; then
4976 eval "DEFAULT_$LINE"
4977 else
4978 no_cache=1
4979 fi
4980
4981 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4982
4983 fi;
4984
4985 eval "$ac_cv_use_dynamicloader"
4986 if test "$no_cache" != 1; then
4987 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4988 fi
4989
4990 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4991 echo "$as_me:$LINENO: result: yes" >&5
4992 echo "${ECHO_T}yes" >&6
4993 else
4994 echo "$as_me:$LINENO: result: no" >&5
4995 echo "${ECHO_T}no" >&6
4996 fi
4997
4998
4999 enablestring=
5000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5001 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5002 no_cache=0
5003 # Check whether --enable-exceptions or --disable-exceptions was given.
5004 if test "${enable_exceptions+set}" = set; then
5005 enableval="$enable_exceptions"
5006
5007 if test "$enableval" = yes; then
5008 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5009 else
5010 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5011 fi
5012
5013 else
5014
5015 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x ; then
5017 eval "DEFAULT_$LINE"
5018 else
5019 no_cache=1
5020 fi
5021
5022 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5023
5024 fi;
5025
5026 eval "$ac_cv_use_exceptions"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5029 fi
5030
5031 if test "$wxUSE_EXCEPTIONS" = yes; then
5032 echo "$as_me:$LINENO: result: yes" >&5
5033 echo "${ECHO_T}yes" >&6
5034 else
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5037 fi
5038
5039
5040 enablestring=
5041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5042 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5043 no_cache=0
5044 # Check whether --enable-ffile or --disable-ffile was given.
5045 if test "${enable_ffile+set}" = set; then
5046 enableval="$enable_ffile"
5047
5048 if test "$enableval" = yes; then
5049 ac_cv_use_ffile='wxUSE_FFILE=yes'
5050 else
5051 ac_cv_use_ffile='wxUSE_FFILE=no'
5052 fi
5053
5054 else
5055
5056 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5057 if test "x$LINE" != x ; then
5058 eval "DEFAULT_$LINE"
5059 else
5060 no_cache=1
5061 fi
5062
5063 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5064
5065 fi;
5066
5067 eval "$ac_cv_use_ffile"
5068 if test "$no_cache" != 1; then
5069 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5070 fi
5071
5072 if test "$wxUSE_FFILE" = yes; then
5073 echo "$as_me:$LINENO: result: yes" >&5
5074 echo "${ECHO_T}yes" >&6
5075 else
5076 echo "$as_me:$LINENO: result: no" >&5
5077 echo "${ECHO_T}no" >&6
5078 fi
5079
5080
5081 enablestring=
5082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5084 no_cache=0
5085 # Check whether --enable-file or --disable-file was given.
5086 if test "${enable_file+set}" = set; then
5087 enableval="$enable_file"
5088
5089 if test "$enableval" = yes; then
5090 ac_cv_use_file='wxUSE_FILE=yes'
5091 else
5092 ac_cv_use_file='wxUSE_FILE=no'
5093 fi
5094
5095 else
5096
5097 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x ; then
5099 eval "DEFAULT_$LINE"
5100 else
5101 no_cache=1
5102 fi
5103
5104 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5105
5106 fi;
5107
5108 eval "$ac_cv_use_file"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5111 fi
5112
5113 if test "$wxUSE_FILE" = yes; then
5114 echo "$as_me:$LINENO: result: yes" >&5
5115 echo "${ECHO_T}yes" >&6
5116 else
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5119 fi
5120
5121
5122 enablestring=
5123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5125 no_cache=0
5126 # Check whether --enable-filesystem or --disable-filesystem was given.
5127 if test "${enable_filesystem+set}" = set; then
5128 enableval="$enable_filesystem"
5129
5130 if test "$enableval" = yes; then
5131 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5132 else
5133 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5134 fi
5135
5136 else
5137
5138 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x ; then
5140 eval "DEFAULT_$LINE"
5141 else
5142 no_cache=1
5143 fi
5144
5145 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5146
5147 fi;
5148
5149 eval "$ac_cv_use_filesystem"
5150 if test "$no_cache" != 1; then
5151 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5152 fi
5153
5154 if test "$wxUSE_FILESYSTEM" = yes; then
5155 echo "$as_me:$LINENO: result: yes" >&5
5156 echo "${ECHO_T}yes" >&6
5157 else
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5160 fi
5161
5162
5163 enablestring=
5164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5166 no_cache=0
5167 # Check whether --enable-fontmap or --disable-fontmap was given.
5168 if test "${enable_fontmap+set}" = set; then
5169 enableval="$enable_fontmap"
5170
5171 if test "$enableval" = yes; then
5172 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5173 else
5174 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5175 fi
5176
5177 else
5178
5179 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x ; then
5181 eval "DEFAULT_$LINE"
5182 else
5183 no_cache=1
5184 fi
5185
5186 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5187
5188 fi;
5189
5190 eval "$ac_cv_use_fontmap"
5191 if test "$no_cache" != 1; then
5192 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5193 fi
5194
5195 if test "$wxUSE_FONTMAP" = yes; then
5196 echo "$as_me:$LINENO: result: yes" >&5
5197 echo "${ECHO_T}yes" >&6
5198 else
5199 echo "$as_me:$LINENO: result: no" >&5
5200 echo "${ECHO_T}no" >&6
5201 fi
5202
5203
5204 enablestring=
5205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5207 no_cache=0
5208 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5209 if test "${enable_fs_inet+set}" = set; then
5210 enableval="$enable_fs_inet"
5211
5212 if test "$enableval" = yes; then
5213 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5214 else
5215 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5216 fi
5217
5218 else
5219
5220 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x ; then
5222 eval "DEFAULT_$LINE"
5223 else
5224 no_cache=1
5225 fi
5226
5227 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5228
5229 fi;
5230
5231 eval "$ac_cv_use_fs_inet"
5232 if test "$no_cache" != 1; then
5233 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5234 fi
5235
5236 if test "$wxUSE_FS_INET" = yes; then
5237 echo "$as_me:$LINENO: result: yes" >&5
5238 echo "${ECHO_T}yes" >&6
5239 else
5240 echo "$as_me:$LINENO: result: no" >&5
5241 echo "${ECHO_T}no" >&6
5242 fi
5243
5244
5245 enablestring=
5246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5248 no_cache=0
5249 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5250 if test "${enable_fs_zip+set}" = set; then
5251 enableval="$enable_fs_zip"
5252
5253 if test "$enableval" = yes; then
5254 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5255 else
5256 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5257 fi
5258
5259 else
5260
5261 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5262 if test "x$LINE" != x ; then
5263 eval "DEFAULT_$LINE"
5264 else
5265 no_cache=1
5266 fi
5267
5268 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5269
5270 fi;
5271
5272 eval "$ac_cv_use_fs_zip"
5273 if test "$no_cache" != 1; then
5274 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5275 fi
5276
5277 if test "$wxUSE_FS_ZIP" = yes; then
5278 echo "$as_me:$LINENO: result: yes" >&5
5279 echo "${ECHO_T}yes" >&6
5280 else
5281 echo "$as_me:$LINENO: result: no" >&5
5282 echo "${ECHO_T}no" >&6
5283 fi
5284
5285
5286 enablestring=
5287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5289 no_cache=0
5290 # Check whether --enable-geometry or --disable-geometry was given.
5291 if test "${enable_geometry+set}" = set; then
5292 enableval="$enable_geometry"
5293
5294 if test "$enableval" = yes; then
5295 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5296 else
5297 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5298 fi
5299
5300 else
5301
5302 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x ; then
5304 eval "DEFAULT_$LINE"
5305 else
5306 no_cache=1
5307 fi
5308
5309 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5310
5311 fi;
5312
5313 eval "$ac_cv_use_geometry"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5316 fi
5317
5318 if test "$wxUSE_GEOMETRY" = yes; then
5319 echo "$as_me:$LINENO: result: yes" >&5
5320 echo "${ECHO_T}yes" >&6
5321 else
5322 echo "$as_me:$LINENO: result: no" >&5
5323 echo "${ECHO_T}no" >&6
5324 fi
5325
5326
5327 enablestring=
5328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5330 no_cache=0
5331 # Check whether --enable-log or --disable-log was given.
5332 if test "${enable_log+set}" = set; then
5333 enableval="$enable_log"
5334
5335 if test "$enableval" = yes; then
5336 ac_cv_use_log='wxUSE_LOG=yes'
5337 else
5338 ac_cv_use_log='wxUSE_LOG=no'
5339 fi
5340
5341 else
5342
5343 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x ; then
5345 eval "DEFAULT_$LINE"
5346 else
5347 no_cache=1
5348 fi
5349
5350 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5351
5352 fi;
5353
5354 eval "$ac_cv_use_log"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5357 fi
5358
5359 if test "$wxUSE_LOG" = yes; then
5360 echo "$as_me:$LINENO: result: yes" >&5
5361 echo "${ECHO_T}yes" >&6
5362 else
5363 echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5365 fi
5366
5367
5368 enablestring=
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5371 no_cache=0
5372 # Check whether --enable-longlong or --disable-longlong was given.
5373 if test "${enable_longlong+set}" = set; then
5374 enableval="$enable_longlong"
5375
5376 if test "$enableval" = yes; then
5377 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5378 else
5379 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5380 fi
5381
5382 else
5383
5384 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5387 else
5388 no_cache=1
5389 fi
5390
5391 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5392
5393 fi;
5394
5395 eval "$ac_cv_use_longlong"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5398 fi
5399
5400 if test "$wxUSE_LONGLONG" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5403 else
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5406 fi
5407
5408
5409 enablestring=
5410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5412 no_cache=0
5413 # Check whether --enable-mimetype or --disable-mimetype was given.
5414 if test "${enable_mimetype+set}" = set; then
5415 enableval="$enable_mimetype"
5416
5417 if test "$enableval" = yes; then
5418 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5419 else
5420 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5421 fi
5422
5423 else
5424
5425 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x ; then
5427 eval "DEFAULT_$LINE"
5428 else
5429 no_cache=1
5430 fi
5431
5432 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5433
5434 fi;
5435
5436 eval "$ac_cv_use_mimetype"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5439 fi
5440
5441 if test "$wxUSE_MIMETYPE" = yes; then
5442 echo "$as_me:$LINENO: result: yes" >&5
5443 echo "${ECHO_T}yes" >&6
5444 else
5445 echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6
5447 fi
5448
5449
5450 enablestring=
5451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5453 no_cache=0
5454 # Check whether --enable-mslu or --disable-mslu was given.
5455 if test "${enable_mslu+set}" = set; then
5456 enableval="$enable_mslu"
5457
5458 if test "$enableval" = yes; then
5459 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5460 else
5461 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5462 fi
5463
5464 else
5465
5466 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x ; then
5468 eval "DEFAULT_$LINE"
5469 else
5470 no_cache=1
5471 fi
5472
5473 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5474
5475 fi;
5476
5477 eval "$ac_cv_use_mslu"
5478 if test "$no_cache" != 1; then
5479 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5480 fi
5481
5482 if test "$wxUSE_UNICODE_MSLU" = yes; then
5483 echo "$as_me:$LINENO: result: yes" >&5
5484 echo "${ECHO_T}yes" >&6
5485 else
5486 echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6
5488 fi
5489
5490
5491 enablestring=
5492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5494 no_cache=0
5495 # Check whether --enable-snglinst or --disable-snglinst was given.
5496 if test "${enable_snglinst+set}" = set; then
5497 enableval="$enable_snglinst"
5498
5499 if test "$enableval" = yes; then
5500 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5501 else
5502 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5503 fi
5504
5505 else
5506
5507 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5510 else
5511 no_cache=1
5512 fi
5513
5514 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5515
5516 fi;
5517
5518 eval "$ac_cv_use_snglinst"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5521 fi
5522
5523 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5524 echo "$as_me:$LINENO: result: yes" >&5
5525 echo "${ECHO_T}yes" >&6
5526 else
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5529 fi
5530
5531
5532 enablestring=
5533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5535 no_cache=0
5536 # Check whether --enable-streams or --disable-streams was given.
5537 if test "${enable_streams+set}" = set; then
5538 enableval="$enable_streams"
5539
5540 if test "$enableval" = yes; then
5541 ac_cv_use_streams='wxUSE_STREAMS=yes'
5542 else
5543 ac_cv_use_streams='wxUSE_STREAMS=no'
5544 fi
5545
5546 else
5547
5548 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5551 else
5552 no_cache=1
5553 fi
5554
5555 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5556
5557 fi;
5558
5559 eval "$ac_cv_use_streams"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5562 fi
5563
5564 if test "$wxUSE_STREAMS" = yes; then
5565 echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5567 else
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5570 fi
5571
5572
5573 enablestring=
5574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5576 no_cache=0
5577 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5578 if test "${enable_std_iostreams+set}" = set; then
5579 enableval="$enable_std_iostreams"
5580
5581 if test "$enableval" = yes; then
5582 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5583 else
5584 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5585 fi
5586
5587 else
5588
5589 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x ; then
5591 eval "DEFAULT_$LINE"
5592 else
5593 no_cache=1
5594 fi
5595
5596 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5597
5598 fi;
5599
5600 eval "$ac_cv_use_std_iostreams"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5603 fi
5604
5605 if test "$wxUSE_STD_IOSTREAM" = yes; then
5606 echo "$as_me:$LINENO: result: yes" >&5
5607 echo "${ECHO_T}yes" >&6
5608 else
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5611 fi
5612
5613
5614 enablestring=
5615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5617 no_cache=0
5618 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5619 if test "${enable_stopwatch+set}" = set; then
5620 enableval="$enable_stopwatch"
5621
5622 if test "$enableval" = yes; then
5623 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5624 else
5625 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5626 fi
5627
5628 else
5629
5630 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x ; then
5632 eval "DEFAULT_$LINE"
5633 else
5634 no_cache=1
5635 fi
5636
5637 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5638
5639 fi;
5640
5641 eval "$ac_cv_use_stopwatch"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5644 fi
5645
5646 if test "$wxUSE_STOPWATCH" = yes; then
5647 echo "$as_me:$LINENO: result: yes" >&5
5648 echo "${ECHO_T}yes" >&6
5649 else
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5652 fi
5653
5654
5655 enablestring=
5656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5658 no_cache=0
5659 # Check whether --enable-system_options or --disable-system_options was given.
5660 if test "${enable_system_options+set}" = set; then
5661 enableval="$enable_system_options"
5662
5663 if test "$enableval" = yes; then
5664 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5665 else
5666 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5667 fi
5668
5669 else
5670
5671 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5674 else
5675 no_cache=1
5676 fi
5677
5678 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5679
5680 fi;
5681
5682 eval "$ac_cv_use_system_options"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5685 fi
5686
5687 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5688 echo "$as_me:$LINENO: result: yes" >&5
5689 echo "${ECHO_T}yes" >&6
5690 else
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5693 fi
5694
5695
5696 enablestring=
5697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5699 no_cache=0
5700 # Check whether --enable-textbuf or --disable-textbuf was given.
5701 if test "${enable_textbuf+set}" = set; then
5702 enableval="$enable_textbuf"
5703
5704 if test "$enableval" = yes; then
5705 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5706 else
5707 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5708 fi
5709
5710 else
5711
5712 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5713 if test "x$LINE" != x ; then
5714 eval "DEFAULT_$LINE"
5715 else
5716 no_cache=1
5717 fi
5718
5719 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5720
5721 fi;
5722
5723 eval "$ac_cv_use_textbuf"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5726 fi
5727
5728 if test "$wxUSE_TEXTBUFFER" = yes; then
5729 echo "$as_me:$LINENO: result: yes" >&5
5730 echo "${ECHO_T}yes" >&6
5731 else
5732 echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6
5734 fi
5735
5736
5737 enablestring=
5738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5740 no_cache=0
5741 # Check whether --enable-textfile or --disable-textfile was given.
5742 if test "${enable_textfile+set}" = set; then
5743 enableval="$enable_textfile"
5744
5745 if test "$enableval" = yes; then
5746 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5747 else
5748 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5749 fi
5750
5751 else
5752
5753 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5756 else
5757 no_cache=1
5758 fi
5759
5760 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5761
5762 fi;
5763
5764 eval "$ac_cv_use_textfile"
5765 if test "$no_cache" != 1; then
5766 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5767 fi
5768
5769 if test "$wxUSE_TEXTFILE" = yes; then
5770 echo "$as_me:$LINENO: result: yes" >&5
5771 echo "${ECHO_T}yes" >&6
5772 else
5773 echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6
5775 fi
5776
5777
5778 enablestring=
5779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5780 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5781 no_cache=0
5782 # Check whether --enable-timer or --disable-timer was given.
5783 if test "${enable_timer+set}" = set; then
5784 enableval="$enable_timer"
5785
5786 if test "$enableval" = yes; then
5787 ac_cv_use_timer='wxUSE_TIMER=yes'
5788 else
5789 ac_cv_use_timer='wxUSE_TIMER=no'
5790 fi
5791
5792 else
5793
5794 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x ; then
5796 eval "DEFAULT_$LINE"
5797 else
5798 no_cache=1
5799 fi
5800
5801 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5802
5803 fi;
5804
5805 eval "$ac_cv_use_timer"
5806 if test "$no_cache" != 1; then
5807 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5808 fi
5809
5810 if test "$wxUSE_TIMER" = yes; then
5811 echo "$as_me:$LINENO: result: yes" >&5
5812 echo "${ECHO_T}yes" >&6
5813 else
5814 echo "$as_me:$LINENO: result: no" >&5
5815 echo "${ECHO_T}no" >&6
5816 fi
5817
5818
5819 enablestring=
5820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5821 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5822 no_cache=0
5823 # Check whether --enable-unicode or --disable-unicode was given.
5824 if test "${enable_unicode+set}" = set; then
5825 enableval="$enable_unicode"
5826
5827 if test "$enableval" = yes; then
5828 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5829 else
5830 ac_cv_use_unicode='wxUSE_UNICODE=no'
5831 fi
5832
5833 else
5834
5835 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5838 else
5839 no_cache=1
5840 fi
5841
5842 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5843
5844 fi;
5845
5846 eval "$ac_cv_use_unicode"
5847 if test "$no_cache" != 1; then
5848 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5849 fi
5850
5851 if test "$wxUSE_UNICODE" = yes; then
5852 echo "$as_me:$LINENO: result: yes" >&5
5853 echo "${ECHO_T}yes" >&6
5854 else
5855 echo "$as_me:$LINENO: result: no" >&5
5856 echo "${ECHO_T}no" >&6
5857 fi
5858
5859
5860 enablestring=
5861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5862 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5863 no_cache=0
5864 # Check whether --enable-sound or --disable-sound was given.
5865 if test "${enable_sound+set}" = set; then
5866 enableval="$enable_sound"
5867
5868 if test "$enableval" = yes; then
5869 ac_cv_use_sound='wxUSE_SOUND=yes'
5870 else
5871 ac_cv_use_sound='wxUSE_SOUND=no'
5872 fi
5873
5874 else
5875
5876 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5877 if test "x$LINE" != x ; then
5878 eval "DEFAULT_$LINE"
5879 else
5880 no_cache=1
5881 fi
5882
5883 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5884
5885 fi;
5886
5887 eval "$ac_cv_use_sound"
5888 if test "$no_cache" != 1; then
5889 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5890 fi
5891
5892 if test "$wxUSE_SOUND" = yes; then
5893 echo "$as_me:$LINENO: result: yes" >&5
5894 echo "${ECHO_T}yes" >&6
5895 else
5896 echo "$as_me:$LINENO: result: no" >&5
5897 echo "${ECHO_T}no" >&6
5898 fi
5899
5900
5901 enablestring=
5902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5904 no_cache=0
5905 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5906 if test "${enable_mediactrl+set}" = set; then
5907 enableval="$enable_mediactrl"
5908
5909 if test "$enableval" = yes; then
5910 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5911 else
5912 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5913 fi
5914
5915 else
5916
5917 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x ; then
5919 eval "DEFAULT_$LINE"
5920 else
5921 no_cache=1
5922 fi
5923
5924 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5925
5926 fi;
5927
5928 eval "$ac_cv_use_mediactrl"
5929 if test "$no_cache" != 1; then
5930 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5931 fi
5932
5933 if test "$wxUSE_MEDIACTRL" = yes; then
5934 echo "$as_me:$LINENO: result: yes" >&5
5935 echo "${ECHO_T}yes" >&6
5936 else
5937 echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6
5939 fi
5940
5941
5942 enablestring=
5943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5945 no_cache=0
5946 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5947 if test "${enable_wxprintfv+set}" = set; then
5948 enableval="$enable_wxprintfv"
5949
5950 if test "$enableval" = yes; then
5951 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5952 else
5953 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5954 fi
5955
5956 else
5957
5958 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x ; then
5960 eval "DEFAULT_$LINE"
5961 else
5962 no_cache=1
5963 fi
5964
5965 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5966
5967 fi;
5968
5969 eval "$ac_cv_use_wxprintfv"
5970 if test "$no_cache" != 1; then
5971 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5972 fi
5973
5974 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5975 echo "$as_me:$LINENO: result: yes" >&5
5976 echo "${ECHO_T}yes" >&6
5977 else
5978 echo "$as_me:$LINENO: result: no" >&5
5979 echo "${ECHO_T}no" >&6
5980 fi
5981
5982
5983 enablestring=
5984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5986 no_cache=0
5987 # Check whether --enable-zipstream or --disable-zipstream was given.
5988 if test "${enable_zipstream+set}" = set; then
5989 enableval="$enable_zipstream"
5990
5991 if test "$enableval" = yes; then
5992 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5993 else
5994 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5995 fi
5996
5997 else
5998
5999 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x ; then
6001 eval "DEFAULT_$LINE"
6002 else
6003 no_cache=1
6004 fi
6005
6006 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6007
6008 fi;
6009
6010 eval "$ac_cv_use_zipstream"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6013 fi
6014
6015 if test "$wxUSE_ZIPSTREAM" = yes; then
6016 echo "$as_me:$LINENO: result: yes" >&5
6017 echo "${ECHO_T}yes" >&6
6018 else
6019 echo "$as_me:$LINENO: result: no" >&5
6020 echo "${ECHO_T}no" >&6
6021 fi
6022
6023
6024
6025 enablestring=
6026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6028 no_cache=0
6029 # Check whether --enable-url or --disable-url was given.
6030 if test "${enable_url+set}" = set; then
6031 enableval="$enable_url"
6032
6033 if test "$enableval" = yes; then
6034 ac_cv_use_url='wxUSE_URL=yes'
6035 else
6036 ac_cv_use_url='wxUSE_URL=no'
6037 fi
6038
6039 else
6040
6041 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x ; then
6043 eval "DEFAULT_$LINE"
6044 else
6045 no_cache=1
6046 fi
6047
6048 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6049
6050 fi;
6051
6052 eval "$ac_cv_use_url"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6055 fi
6056
6057 if test "$wxUSE_URL" = yes; then
6058 echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6
6060 else
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6063 fi
6064
6065
6066 enablestring=
6067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6069 no_cache=0
6070 # Check whether --enable-protocol or --disable-protocol was given.
6071 if test "${enable_protocol+set}" = set; then
6072 enableval="$enable_protocol"
6073
6074 if test "$enableval" = yes; then
6075 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6076 else
6077 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6078 fi
6079
6080 else
6081
6082 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x ; then
6084 eval "DEFAULT_$LINE"
6085 else
6086 no_cache=1
6087 fi
6088
6089 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6090
6091 fi;
6092
6093 eval "$ac_cv_use_protocol"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6096 fi
6097
6098 if test "$wxUSE_PROTOCOL" = yes; then
6099 echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6
6101 else
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6104 fi
6105
6106
6107 enablestring=
6108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6110 no_cache=0
6111 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6112 if test "${enable_protocol_http+set}" = set; then
6113 enableval="$enable_protocol_http"
6114
6115 if test "$enableval" = yes; then
6116 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6117 else
6118 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6119 fi
6120
6121 else
6122
6123 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x ; then
6125 eval "DEFAULT_$LINE"
6126 else
6127 no_cache=1
6128 fi
6129
6130 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6131
6132 fi;
6133
6134 eval "$ac_cv_use_protocol_http"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6137 fi
6138
6139 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6140 echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6
6142 else
6143 echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6
6145 fi
6146
6147
6148 enablestring=
6149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6151 no_cache=0
6152 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6153 if test "${enable_protocol_ftp+set}" = set; then
6154 enableval="$enable_protocol_ftp"
6155
6156 if test "$enableval" = yes; then
6157 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6158 else
6159 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6160 fi
6161
6162 else
6163
6164 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x ; then
6166 eval "DEFAULT_$LINE"
6167 else
6168 no_cache=1
6169 fi
6170
6171 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6172
6173 fi;
6174
6175 eval "$ac_cv_use_protocol_ftp"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6178 fi
6179
6180 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6181 echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6
6183 else
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6186 fi
6187
6188
6189 enablestring=
6190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6192 no_cache=0
6193 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6194 if test "${enable_protocol_file+set}" = set; then
6195 enableval="$enable_protocol_file"
6196
6197 if test "$enableval" = yes; then
6198 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6199 else
6200 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6201 fi
6202
6203 else
6204
6205 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x ; then
6207 eval "DEFAULT_$LINE"
6208 else
6209 no_cache=1
6210 fi
6211
6212 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6213
6214 fi;
6215
6216 eval "$ac_cv_use_protocol_file"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6219 fi
6220
6221 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6222 echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6224 else
6225 echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6227 fi
6228
6229
6230
6231
6232
6233 enablestring=
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6236 no_cache=0
6237 # Check whether --enable-threads or --disable-threads was given.
6238 if test "${enable_threads+set}" = set; then
6239 enableval="$enable_threads"
6240
6241 if test "$enableval" = yes; then
6242 ac_cv_use_threads='wxUSE_THREADS=yes'
6243 else
6244 ac_cv_use_threads='wxUSE_THREADS=no'
6245 fi
6246
6247 else
6248
6249 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6252 else
6253 no_cache=1
6254 fi
6255
6256 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6257
6258 fi;
6259
6260 eval "$ac_cv_use_threads"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6263 fi
6264
6265 if test "$wxUSE_THREADS" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6271 fi
6272
6273
6274 if test "$wxUSE_GUI" = "yes"; then
6275
6276
6277
6278 enablestring=
6279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6281 no_cache=0
6282 # Check whether --enable-docview or --disable-docview was given.
6283 if test "${enable_docview+set}" = set; then
6284 enableval="$enable_docview"
6285
6286 if test "$enableval" = yes; then
6287 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6288 else
6289 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6290 fi
6291
6292 else
6293
6294 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6297 else
6298 no_cache=1
6299 fi
6300
6301 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6302
6303 fi;
6304
6305 eval "$ac_cv_use_docview"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6308 fi
6309
6310 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6311 echo "$as_me:$LINENO: result: yes" >&5
6312 echo "${ECHO_T}yes" >&6
6313 else
6314 echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6
6316 fi
6317
6318
6319 enablestring=
6320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6322 no_cache=0
6323 # Check whether --enable-help or --disable-help was given.
6324 if test "${enable_help+set}" = set; then
6325 enableval="$enable_help"
6326
6327 if test "$enableval" = yes; then
6328 ac_cv_use_help='wxUSE_HELP=yes'
6329 else
6330 ac_cv_use_help='wxUSE_HELP=no'
6331 fi
6332
6333 else
6334
6335 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x ; then
6337 eval "DEFAULT_$LINE"
6338 else
6339 no_cache=1
6340 fi
6341
6342 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6343
6344 fi;
6345
6346 eval "$ac_cv_use_help"
6347 if test "$no_cache" != 1; then
6348 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6349 fi
6350
6351 if test "$wxUSE_HELP" = yes; then
6352 echo "$as_me:$LINENO: result: yes" >&5
6353 echo "${ECHO_T}yes" >&6
6354 else
6355 echo "$as_me:$LINENO: result: no" >&5
6356 echo "${ECHO_T}no" >&6
6357 fi
6358
6359
6360 enablestring=
6361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6362 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6363 no_cache=0
6364 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6365 if test "${enable_mshtmlhelp+set}" = set; then
6366 enableval="$enable_mshtmlhelp"
6367
6368 if test "$enableval" = yes; then
6369 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6370 else
6371 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6372 fi
6373
6374 else
6375
6376 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x ; then
6378 eval "DEFAULT_$LINE"
6379 else
6380 no_cache=1
6381 fi
6382
6383 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6384
6385 fi;
6386
6387 eval "$ac_cv_use_mshtmlhelp"
6388 if test "$no_cache" != 1; then
6389 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6390 fi
6391
6392 if test "$wxUSE_MS_HTML_HELP" = yes; then
6393 echo "$as_me:$LINENO: result: yes" >&5
6394 echo "${ECHO_T}yes" >&6
6395 else
6396 echo "$as_me:$LINENO: result: no" >&5
6397 echo "${ECHO_T}no" >&6
6398 fi
6399
6400
6401 enablestring=
6402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6404 no_cache=0
6405 # Check whether --enable-html or --disable-html was given.
6406 if test "${enable_html+set}" = set; then
6407 enableval="$enable_html"
6408
6409 if test "$enableval" = yes; then
6410 ac_cv_use_html='wxUSE_HTML=yes'
6411 else
6412 ac_cv_use_html='wxUSE_HTML=no'
6413 fi
6414
6415 else
6416
6417 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6420 else
6421 no_cache=1
6422 fi
6423
6424 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6425
6426 fi;
6427
6428 eval "$ac_cv_use_html"
6429 if test "$no_cache" != 1; then
6430 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6431 fi
6432
6433 if test "$wxUSE_HTML" = yes; then
6434 echo "$as_me:$LINENO: result: yes" >&5
6435 echo "${ECHO_T}yes" >&6
6436 else
6437 echo "$as_me:$LINENO: result: no" >&5
6438 echo "${ECHO_T}no" >&6
6439 fi
6440
6441
6442 enablestring=
6443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6445 no_cache=0
6446 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6447 if test "${enable_htmlhelp+set}" = set; then
6448 enableval="$enable_htmlhelp"
6449
6450 if test "$enableval" = yes; then
6451 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6452 else
6453 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6454 fi
6455
6456 else
6457
6458 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6461 else
6462 no_cache=1
6463 fi
6464
6465 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6466
6467 fi;
6468
6469 eval "$ac_cv_use_htmlhelp"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6472 fi
6473
6474 if test "$wxUSE_WXHTML_HELP" = yes; then
6475 echo "$as_me:$LINENO: result: yes" >&5
6476 echo "${ECHO_T}yes" >&6
6477 else
6478 echo "$as_me:$LINENO: result: no" >&5
6479 echo "${ECHO_T}no" >&6
6480 fi
6481
6482
6483 enablestring=
6484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6485 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6486 no_cache=0
6487 # Check whether --enable-xrc or --disable-xrc was given.
6488 if test "${enable_xrc+set}" = set; then
6489 enableval="$enable_xrc"
6490
6491 if test "$enableval" = yes; then
6492 ac_cv_use_xrc='wxUSE_XRC=yes'
6493 else
6494 ac_cv_use_xrc='wxUSE_XRC=no'
6495 fi
6496
6497 else
6498
6499 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6502 else
6503 no_cache=1
6504 fi
6505
6506 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6507
6508 fi;
6509
6510 eval "$ac_cv_use_xrc"
6511 if test "$no_cache" != 1; then
6512 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6513 fi
6514
6515 if test "$wxUSE_XRC" = yes; then
6516 echo "$as_me:$LINENO: result: yes" >&5
6517 echo "${ECHO_T}yes" >&6
6518 else
6519 echo "$as_me:$LINENO: result: no" >&5
6520 echo "${ECHO_T}no" >&6
6521 fi
6522
6523
6524 enablestring=
6525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6526 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6527 no_cache=0
6528 # Check whether --enable-constraints or --disable-constraints was given.
6529 if test "${enable_constraints+set}" = set; then
6530 enableval="$enable_constraints"
6531
6532 if test "$enableval" = yes; then
6533 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6534 else
6535 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6536 fi
6537
6538 else
6539
6540 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6543 else
6544 no_cache=1
6545 fi
6546
6547 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6548
6549 fi;
6550
6551 eval "$ac_cv_use_constraints"
6552 if test "$no_cache" != 1; then
6553 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6554 fi
6555
6556 if test "$wxUSE_CONSTRAINTS" = yes; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6559 else
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6562 fi
6563
6564
6565 enablestring=
6566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6568 no_cache=0
6569 # Check whether --enable-printarch or --disable-printarch was given.
6570 if test "${enable_printarch+set}" = set; then
6571 enableval="$enable_printarch"
6572
6573 if test "$enableval" = yes; then
6574 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6575 else
6576 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6577 fi
6578
6579 else
6580
6581 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6584 else
6585 no_cache=1
6586 fi
6587
6588 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6589
6590 fi;
6591
6592 eval "$ac_cv_use_printarch"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6595 fi
6596
6597 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6598 echo "$as_me:$LINENO: result: yes" >&5
6599 echo "${ECHO_T}yes" >&6
6600 else
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6603 fi
6604
6605
6606 enablestring=
6607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6608 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6609 no_cache=0
6610 # Check whether --enable-mdi or --disable-mdi was given.
6611 if test "${enable_mdi+set}" = set; then
6612 enableval="$enable_mdi"
6613
6614 if test "$enableval" = yes; then
6615 ac_cv_use_mdi='wxUSE_MDI=yes'
6616 else
6617 ac_cv_use_mdi='wxUSE_MDI=no'
6618 fi
6619
6620 else
6621
6622 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6625 else
6626 no_cache=1
6627 fi
6628
6629 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6630
6631 fi;
6632
6633 eval "$ac_cv_use_mdi"
6634 if test "$no_cache" != 1; then
6635 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6636 fi
6637
6638 if test "$wxUSE_MDI" = yes; then
6639 echo "$as_me:$LINENO: result: yes" >&5
6640 echo "${ECHO_T}yes" >&6
6641 else
6642 echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6
6644 fi
6645
6646
6647 enablestring=
6648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6650 no_cache=0
6651 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6652 if test "${enable_mdidoc+set}" = set; then
6653 enableval="$enable_mdidoc"
6654
6655 if test "$enableval" = yes; then
6656 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6657 else
6658 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6659 fi
6660
6661 else
6662
6663 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6666 else
6667 no_cache=1
6668 fi
6669
6670 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6671
6672 fi;
6673
6674 eval "$ac_cv_use_mdidoc"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6677 fi
6678
6679 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6680 echo "$as_me:$LINENO: result: yes" >&5
6681 echo "${ECHO_T}yes" >&6
6682 else
6683 echo "$as_me:$LINENO: result: no" >&5
6684 echo "${ECHO_T}no" >&6
6685 fi
6686
6687
6688 enablestring=
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6691 no_cache=0
6692 # Check whether --enable-loggui or --disable-loggui was given.
6693 if test "${enable_loggui+set}" = set; then
6694 enableval="$enable_loggui"
6695
6696 if test "$enableval" = yes; then
6697 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6698 else
6699 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6700 fi
6701
6702 else
6703
6704 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6712
6713 fi;
6714
6715 eval "$ac_cv_use_loggui"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6718 fi
6719
6720 if test "$wxUSE_LOGGUI" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6723 else
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6726 fi
6727
6728
6729 enablestring=
6730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6732 no_cache=0
6733 # Check whether --enable-logwin or --disable-logwin was given.
6734 if test "${enable_logwin+set}" = set; then
6735 enableval="$enable_logwin"
6736
6737 if test "$enableval" = yes; then
6738 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6739 else
6740 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6741 fi
6742
6743 else
6744
6745 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6748 else
6749 no_cache=1
6750 fi
6751
6752 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6753
6754 fi;
6755
6756 eval "$ac_cv_use_logwin"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6759 fi
6760
6761 if test "$wxUSE_LOGWINDOW" = yes; then
6762 echo "$as_me:$LINENO: result: yes" >&5
6763 echo "${ECHO_T}yes" >&6
6764 else
6765 echo "$as_me:$LINENO: result: no" >&5
6766 echo "${ECHO_T}no" >&6
6767 fi
6768
6769
6770 enablestring=
6771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6773 no_cache=0
6774 # Check whether --enable-logdialog or --disable-logdialog was given.
6775 if test "${enable_logdialog+set}" = set; then
6776 enableval="$enable_logdialog"
6777
6778 if test "$enableval" = yes; then
6779 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6780 else
6781 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6782 fi
6783
6784 else
6785
6786 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6789 else
6790 no_cache=1
6791 fi
6792
6793 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6794
6795 fi;
6796
6797 eval "$ac_cv_use_logdialog"
6798 if test "$no_cache" != 1; then
6799 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6800 fi
6801
6802 if test "$wxUSE_LOGDIALOG" = yes; then
6803 echo "$as_me:$LINENO: result: yes" >&5
6804 echo "${ECHO_T}yes" >&6
6805 else
6806 echo "$as_me:$LINENO: result: no" >&5
6807 echo "${ECHO_T}no" >&6
6808 fi
6809
6810
6811 enablestring=
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6814 no_cache=0
6815 # Check whether --enable-webkit or --disable-webkit was given.
6816 if test "${enable_webkit+set}" = set; then
6817 enableval="$enable_webkit"
6818
6819 if test "$enableval" = yes; then
6820 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6821 else
6822 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6823 fi
6824
6825 else
6826
6827 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6830 else
6831 no_cache=1
6832 fi
6833
6834 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6835
6836 fi;
6837
6838 eval "$ac_cv_use_webkit"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6841 fi
6842
6843 if test "$wxUSE_WEBKIT" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6846 else
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6849 fi
6850
6851
6852
6853 enablestring=
6854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6856 no_cache=0
6857 # Check whether --enable-postscript or --disable-postscript was given.
6858 if test "${enable_postscript+set}" = set; then
6859 enableval="$enable_postscript"
6860
6861 if test "$enableval" = yes; then
6862 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6863 else
6864 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6865 fi
6866
6867 else
6868
6869 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x ; then
6871 eval "DEFAULT_$LINE"
6872 else
6873 no_cache=1
6874 fi
6875
6876 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6877
6878 fi;
6879
6880 eval "$ac_cv_use_postscript"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6883 fi
6884
6885 if test "$wxUSE_POSTSCRIPT" = yes; then
6886 echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6
6888 else
6889 echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6
6891 fi
6892
6893
6894
6895
6896
6897 enablestring=
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6900 no_cache=0
6901 # Check whether --enable-prologio or --disable-prologio was given.
6902 if test "${enable_prologio+set}" = set; then
6903 enableval="$enable_prologio"
6904
6905 if test "$enableval" = yes; then
6906 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6907 else
6908 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6909 fi
6910
6911 else
6912
6913 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6916 else
6917 no_cache=1
6918 fi
6919
6920 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6921
6922 fi;
6923
6924 eval "$ac_cv_use_prologio"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_PROLOGIO" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6932 else
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6935 fi
6936
6937
6938 enablestring=
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6941 no_cache=0
6942 # Check whether --enable-resources or --disable-resources was given.
6943 if test "${enable_resources+set}" = set; then
6944 enableval="$enable_resources"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6948 else
6949 ac_cv_use_resources='wxUSE_RESOURCES=no'
6950 fi
6951
6952 else
6953
6954 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6962
6963 fi;
6964
6965 eval "$ac_cv_use_resources"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_RESOURCES" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6973 else
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6976 fi
6977
6978
6979
6980
6981 enablestring=
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6984 no_cache=0
6985 # Check whether --enable-clipboard or --disable-clipboard was given.
6986 if test "${enable_clipboard+set}" = set; then
6987 enableval="$enable_clipboard"
6988
6989 if test "$enableval" = yes; then
6990 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6991 else
6992 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6993 fi
6994
6995 else
6996
6997 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7000 else
7001 no_cache=1
7002 fi
7003
7004 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7005
7006 fi;
7007
7008 eval "$ac_cv_use_clipboard"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7011 fi
7012
7013 if test "$wxUSE_CLIPBOARD" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7016 else
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7019 fi
7020
7021
7022 enablestring=
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7025 no_cache=0
7026 # Check whether --enable-dnd or --disable-dnd was given.
7027 if test "${enable_dnd+set}" = set; then
7028 enableval="$enable_dnd"
7029
7030 if test "$enableval" = yes; then
7031 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7032 else
7033 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7034 fi
7035
7036 else
7037
7038 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7041 else
7042 no_cache=1
7043 fi
7044
7045 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7046
7047 fi;
7048
7049 eval "$ac_cv_use_dnd"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7052 fi
7053
7054 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7057 else
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7060 fi
7061
7062
7063 enablestring=
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7066 no_cache=0
7067 # Check whether --enable-metafile or --disable-metafile was given.
7068 if test "${enable_metafile+set}" = set; then
7069 enableval="$enable_metafile"
7070
7071 if test "$enableval" = yes; then
7072 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7073 else
7074 ac_cv_use_metafile='wxUSE_METAFILE=no'
7075 fi
7076
7077 else
7078
7079 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7082 else
7083 no_cache=1
7084 fi
7085
7086 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7087
7088 fi;
7089
7090 eval "$ac_cv_use_metafile"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7093 fi
7094
7095 if test "$wxUSE_METAFILE" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7098 else
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7101 fi
7102
7103
7104
7105
7106
7107 enablestring=
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7110 no_cache=0
7111 # Check whether --enable-controls or --disable-controls was given.
7112 if test "${enable_controls+set}" = set; then
7113 enableval="$enable_controls"
7114
7115 if test "$enableval" = yes; then
7116 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7117 else
7118 ac_cv_use_controls='wxUSE_CONTROLS=no'
7119 fi
7120
7121 else
7122
7123 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x ; then
7125 eval "DEFAULT_$LINE"
7126 else
7127 no_cache=1
7128 fi
7129
7130 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7131
7132 fi;
7133
7134 eval "$ac_cv_use_controls"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7137 fi
7138
7139 if test "$wxUSE_CONTROLS" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7142 else
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7145 fi
7146
7147
7148 if test "$wxUSE_CONTROLS" = "yes"; then
7149 DEFAULT_wxUSE_ACCEL=yes
7150 DEFAULT_wxUSE_BMPBUTTON=yes
7151 DEFAULT_wxUSE_BUTTON=yes
7152 DEFAULT_wxUSE_CALCTRL=yes
7153 DEFAULT_wxUSE_CARET=yes
7154 DEFAULT_wxUSE_COMBOBOX=yes
7155 DEFAULT_wxUSE_CHECKBOX=yes
7156 DEFAULT_wxUSE_CHECKLISTBOX=yes
7157 DEFAULT_wxUSE_CHOICE=yes
7158 DEFAULT_wxUSE_CHOICEBOOK=yes
7159 DEFAULT_wxUSE_DATEPICKCTRL=yes
7160 DEFAULT_wxUSE_GAUGE=yes
7161 DEFAULT_wxUSE_GRID=yes
7162 DEFAULT_wxUSE_IMAGLIST=yes
7163 DEFAULT_wxUSE_LISTBOOK=yes
7164 DEFAULT_wxUSE_LISTBOX=yes
7165 DEFAULT_wxUSE_LISTCTRL=yes
7166 DEFAULT_wxUSE_NOTEBOOK=yes
7167 DEFAULT_wxUSE_RADIOBOX=yes
7168 DEFAULT_wxUSE_RADIOBTN=yes
7169 DEFAULT_wxUSE_SASH=yes
7170 DEFAULT_wxUSE_SCROLLBAR=yes
7171 DEFAULT_wxUSE_SLIDER=yes
7172 DEFAULT_wxUSE_SPINBTN=yes
7173 DEFAULT_wxUSE_SPINCTRL=yes
7174 DEFAULT_wxUSE_SPLITTER=yes
7175 DEFAULT_wxUSE_STATBMP=yes
7176 DEFAULT_wxUSE_STATBOX=yes
7177 DEFAULT_wxUSE_STATLINE=yes
7178 DEFAULT_wxUSE_STATUSBAR=yes
7179 DEFAULT_wxUSE_TAB_DIALOG=yes
7180 DEFAULT_wxUSE_TOGGLEBTN=yes
7181 DEFAULT_wxUSE_TOOLBAR=yes
7182 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7183 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7184 DEFAULT_wxUSE_TOOLTIPS=yes
7185 DEFAULT_wxUSE_TREECTRL=yes
7186 DEFAULT_wxUSE_POPUPWIN=yes
7187 DEFAULT_wxUSE_TIPWINDOW=yes
7188 elif test "$wxUSE_CONTROLS" = "no"; then
7189 DEFAULT_wxUSE_ACCEL=no
7190 DEFAULT_wxUSE_BMPBUTTON=no
7191 DEFAULT_wxUSE_BUTTON=no
7192 DEFAULT_wxUSE_CALCTRL=no
7193 DEFAULT_wxUSE_CARET=no
7194 DEFAULT_wxUSE_COMBOBOX=no
7195 DEFAULT_wxUSE_CHECKBOX=no
7196 DEFAULT_wxUSE_CHECKLISTBOX=no
7197 DEFAULT_wxUSE_CHOICE=no
7198 DEFAULT_wxUSE_CHOICEBOOK=no
7199 DEFAULT_wxUSE_DATEPICKCTRL=no
7200 DEFAULT_wxUSE_GAUGE=no
7201 DEFAULT_wxUSE_GRID=no
7202 DEFAULT_wxUSE_IMAGLIST=no
7203 DEFAULT_wxUSE_LISTBOOK=no
7204 DEFAULT_wxUSE_LISTBOX=no
7205 DEFAULT_wxUSE_LISTCTRL=no
7206 DEFAULT_wxUSE_NOTEBOOK=no
7207 DEFAULT_wxUSE_RADIOBOX=no
7208 DEFAULT_wxUSE_RADIOBTN=no
7209 DEFAULT_wxUSE_SASH=no
7210 DEFAULT_wxUSE_SCROLLBAR=no
7211 DEFAULT_wxUSE_SLIDER=no
7212 DEFAULT_wxUSE_SPINBTN=no
7213 DEFAULT_wxUSE_SPINCTRL=no
7214 DEFAULT_wxUSE_SPLITTER=no
7215 DEFAULT_wxUSE_STATBMP=no
7216 DEFAULT_wxUSE_STATBOX=no
7217 DEFAULT_wxUSE_STATLINE=no
7218 DEFAULT_wxUSE_STATUSBAR=no
7219 DEFAULT_wxUSE_TAB_DIALOG=no
7220 DEFAULT_wxUSE_TOGGLEBTN=no
7221 DEFAULT_wxUSE_TOOLBAR=no
7222 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7223 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7224 DEFAULT_wxUSE_TOOLTIPS=no
7225 DEFAULT_wxUSE_TREECTRL=no
7226 DEFAULT_wxUSE_POPUPWIN=no
7227 DEFAULT_wxUSE_TIPWINDOW=no
7228 fi
7229
7230
7231 enablestring=
7232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7234 no_cache=0
7235 # Check whether --enable-accel or --disable-accel was given.
7236 if test "${enable_accel+set}" = set; then
7237 enableval="$enable_accel"
7238
7239 if test "$enableval" = yes; then
7240 ac_cv_use_accel='wxUSE_ACCEL=yes'
7241 else
7242 ac_cv_use_accel='wxUSE_ACCEL=no'
7243 fi
7244
7245 else
7246
7247 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7248 if test "x$LINE" != x ; then
7249 eval "DEFAULT_$LINE"
7250 else
7251 no_cache=1
7252 fi
7253
7254 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7255
7256 fi;
7257
7258 eval "$ac_cv_use_accel"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7261 fi
7262
7263 if test "$wxUSE_ACCEL" = yes; then
7264 echo "$as_me:$LINENO: result: yes" >&5
7265 echo "${ECHO_T}yes" >&6
7266 else
7267 echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6
7269 fi
7270
7271
7272 enablestring=
7273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7275 no_cache=0
7276 # Check whether --enable-button or --disable-button was given.
7277 if test "${enable_button+set}" = set; then
7278 enableval="$enable_button"
7279
7280 if test "$enableval" = yes; then
7281 ac_cv_use_button='wxUSE_BUTTON=yes'
7282 else
7283 ac_cv_use_button='wxUSE_BUTTON=no'
7284 fi
7285
7286 else
7287
7288 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7289 if test "x$LINE" != x ; then
7290 eval "DEFAULT_$LINE"
7291 else
7292 no_cache=1
7293 fi
7294
7295 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7296
7297 fi;
7298
7299 eval "$ac_cv_use_button"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7302 fi
7303
7304 if test "$wxUSE_BUTTON" = yes; then
7305 echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6
7307 else
7308 echo "$as_me:$LINENO: result: no" >&5
7309 echo "${ECHO_T}no" >&6
7310 fi
7311
7312
7313 enablestring=
7314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7316 no_cache=0
7317 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7318 if test "${enable_bmpbutton+set}" = set; then
7319 enableval="$enable_bmpbutton"
7320
7321 if test "$enableval" = yes; then
7322 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7323 else
7324 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7325 fi
7326
7327 else
7328
7329 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x ; then
7331 eval "DEFAULT_$LINE"
7332 else
7333 no_cache=1
7334 fi
7335
7336 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7337
7338 fi;
7339
7340 eval "$ac_cv_use_bmpbutton"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7343 fi
7344
7345 if test "$wxUSE_BMPBUTTON" = yes; then
7346 echo "$as_me:$LINENO: result: yes" >&5
7347 echo "${ECHO_T}yes" >&6
7348 else
7349 echo "$as_me:$LINENO: result: no" >&5
7350 echo "${ECHO_T}no" >&6
7351 fi
7352
7353
7354 enablestring=
7355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7357 no_cache=0
7358 # Check whether --enable-calendar or --disable-calendar was given.
7359 if test "${enable_calendar+set}" = set; then
7360 enableval="$enable_calendar"
7361
7362 if test "$enableval" = yes; then
7363 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7364 else
7365 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7366 fi
7367
7368 else
7369
7370 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7371 if test "x$LINE" != x ; then
7372 eval "DEFAULT_$LINE"
7373 else
7374 no_cache=1
7375 fi
7376
7377 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7378
7379 fi;
7380
7381 eval "$ac_cv_use_calendar"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7384 fi
7385
7386 if test "$wxUSE_CALCTRL" = yes; then
7387 echo "$as_me:$LINENO: result: yes" >&5
7388 echo "${ECHO_T}yes" >&6
7389 else
7390 echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6
7392 fi
7393
7394
7395 enablestring=
7396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7398 no_cache=0
7399 # Check whether --enable-caret or --disable-caret was given.
7400 if test "${enable_caret+set}" = set; then
7401 enableval="$enable_caret"
7402
7403 if test "$enableval" = yes; then
7404 ac_cv_use_caret='wxUSE_CARET=yes'
7405 else
7406 ac_cv_use_caret='wxUSE_CARET=no'
7407 fi
7408
7409 else
7410
7411 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x ; then
7413 eval "DEFAULT_$LINE"
7414 else
7415 no_cache=1
7416 fi
7417
7418 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7419
7420 fi;
7421
7422 eval "$ac_cv_use_caret"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7425 fi
7426
7427 if test "$wxUSE_CARET" = yes; then
7428 echo "$as_me:$LINENO: result: yes" >&5
7429 echo "${ECHO_T}yes" >&6
7430 else
7431 echo "$as_me:$LINENO: result: no" >&5
7432 echo "${ECHO_T}no" >&6
7433 fi
7434
7435
7436 enablestring=
7437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7439 no_cache=0
7440 # Check whether --enable-checkbox or --disable-checkbox was given.
7441 if test "${enable_checkbox+set}" = set; then
7442 enableval="$enable_checkbox"
7443
7444 if test "$enableval" = yes; then
7445 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7446 else
7447 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7448 fi
7449
7450 else
7451
7452 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7455 else
7456 no_cache=1
7457 fi
7458
7459 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7460
7461 fi;
7462
7463 eval "$ac_cv_use_checkbox"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7466 fi
7467
7468 if test "$wxUSE_CHECKBOX" = yes; then
7469 echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6
7471 else
7472 echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6
7474 fi
7475
7476
7477 enablestring=
7478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7480 no_cache=0
7481 # Check whether --enable-checklst or --disable-checklst was given.
7482 if test "${enable_checklst+set}" = set; then
7483 enableval="$enable_checklst"
7484
7485 if test "$enableval" = yes; then
7486 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7487 else
7488 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7489 fi
7490
7491 else
7492
7493 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7496 else
7497 no_cache=1
7498 fi
7499
7500 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7501
7502 fi;
7503
7504 eval "$ac_cv_use_checklst"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7507 fi
7508
7509 if test "$wxUSE_CHECKLST" = yes; then
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7512 else
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7515 fi
7516
7517
7518 enablestring=
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7521 no_cache=0
7522 # Check whether --enable-choice or --disable-choice was given.
7523 if test "${enable_choice+set}" = set; then
7524 enableval="$enable_choice"
7525
7526 if test "$enableval" = yes; then
7527 ac_cv_use_choice='wxUSE_CHOICE=yes'
7528 else
7529 ac_cv_use_choice='wxUSE_CHOICE=no'
7530 fi
7531
7532 else
7533
7534 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7537 else
7538 no_cache=1
7539 fi
7540
7541 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7542
7543 fi;
7544
7545 eval "$ac_cv_use_choice"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7548 fi
7549
7550 if test "$wxUSE_CHOICE" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7553 else
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7556 fi
7557
7558
7559 enablestring=
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7562 no_cache=0
7563 # Check whether --enable-choicebook or --disable-choicebook was given.
7564 if test "${enable_choicebook+set}" = set; then
7565 enableval="$enable_choicebook"
7566
7567 if test "$enableval" = yes; then
7568 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7569 else
7570 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7571 fi
7572
7573 else
7574
7575 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7578 else
7579 no_cache=1
7580 fi
7581
7582 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7583
7584 fi;
7585
7586 eval "$ac_cv_use_choicebook"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7589 fi
7590
7591 if test "$wxUSE_CHOICEBOOK" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7594 else
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7597 fi
7598
7599
7600 enablestring=
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7603 no_cache=0
7604 # Check whether --enable-combobox or --disable-combobox was given.
7605 if test "${enable_combobox+set}" = set; then
7606 enableval="$enable_combobox"
7607
7608 if test "$enableval" = yes; then
7609 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7610 else
7611 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7612 fi
7613
7614 else
7615
7616 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 else
7620 no_cache=1
7621 fi
7622
7623 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7624
7625 fi;
7626
7627 eval "$ac_cv_use_combobox"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7630 fi
7631
7632 if test "$wxUSE_COMBOBOX" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7635 else
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7638 fi
7639
7640
7641 enablestring=
7642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7644 no_cache=0
7645 # Check whether --enable-datepick or --disable-datepick was given.
7646 if test "${enable_datepick+set}" = set; then
7647 enableval="$enable_datepick"
7648
7649 if test "$enableval" = yes; then
7650 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7651 else
7652 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7653 fi
7654
7655 else
7656
7657 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x ; then
7659 eval "DEFAULT_$LINE"
7660 else
7661 no_cache=1
7662 fi
7663
7664 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7665
7666 fi;
7667
7668 eval "$ac_cv_use_datepick"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7671 fi
7672
7673 if test "$wxUSE_DATEPICKCTRL" = yes; then
7674 echo "$as_me:$LINENO: result: yes" >&5
7675 echo "${ECHO_T}yes" >&6
7676 else
7677 echo "$as_me:$LINENO: result: no" >&5
7678 echo "${ECHO_T}no" >&6
7679 fi
7680
7681
7682 enablestring=
7683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7685 no_cache=0
7686 # Check whether --enable-display or --disable-display was given.
7687 if test "${enable_display+set}" = set; then
7688 enableval="$enable_display"
7689
7690 if test "$enableval" = yes; then
7691 ac_cv_use_display='wxUSE_DISPLAY=yes'
7692 else
7693 ac_cv_use_display='wxUSE_DISPLAY=no'
7694 fi
7695
7696 else
7697
7698 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x ; then
7700 eval "DEFAULT_$LINE"
7701 else
7702 no_cache=1
7703 fi
7704
7705 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7706
7707 fi;
7708
7709 eval "$ac_cv_use_display"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7712 fi
7713
7714 if test "$wxUSE_DISPLAY" = yes; then
7715 echo "$as_me:$LINENO: result: yes" >&5
7716 echo "${ECHO_T}yes" >&6
7717 else
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7720 fi
7721
7722
7723 enablestring=
7724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7726 no_cache=0
7727 # Check whether --enable-gauge or --disable-gauge was given.
7728 if test "${enable_gauge+set}" = set; then
7729 enableval="$enable_gauge"
7730
7731 if test "$enableval" = yes; then
7732 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7733 else
7734 ac_cv_use_gauge='wxUSE_GAUGE=no'
7735 fi
7736
7737 else
7738
7739 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x ; then
7741 eval "DEFAULT_$LINE"
7742 else
7743 no_cache=1
7744 fi
7745
7746 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7747
7748 fi;
7749
7750 eval "$ac_cv_use_gauge"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7753 fi
7754
7755 if test "$wxUSE_GAUGE" = yes; then
7756 echo "$as_me:$LINENO: result: yes" >&5
7757 echo "${ECHO_T}yes" >&6
7758 else
7759 echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6
7761 fi
7762
7763
7764 enablestring=
7765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7767 no_cache=0
7768 # Check whether --enable-grid or --disable-grid was given.
7769 if test "${enable_grid+set}" = set; then
7770 enableval="$enable_grid"
7771
7772 if test "$enableval" = yes; then
7773 ac_cv_use_grid='wxUSE_GRID=yes'
7774 else
7775 ac_cv_use_grid='wxUSE_GRID=no'
7776 fi
7777
7778 else
7779
7780 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7783 else
7784 no_cache=1
7785 fi
7786
7787 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7788
7789 fi;
7790
7791 eval "$ac_cv_use_grid"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7794 fi
7795
7796 if test "$wxUSE_GRID" = yes; then
7797 echo "$as_me:$LINENO: result: yes" >&5
7798 echo "${ECHO_T}yes" >&6
7799 else
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7802 fi
7803
7804
7805 enablestring=
7806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7808 no_cache=0
7809 # Check whether --enable-imaglist or --disable-imaglist was given.
7810 if test "${enable_imaglist+set}" = set; then
7811 enableval="$enable_imaglist"
7812
7813 if test "$enableval" = yes; then
7814 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7815 else
7816 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7817 fi
7818
7819 else
7820
7821 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7824 else
7825 no_cache=1
7826 fi
7827
7828 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7829
7830 fi;
7831
7832 eval "$ac_cv_use_imaglist"
7833 if test "$no_cache" != 1; then
7834 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7835 fi
7836
7837 if test "$wxUSE_IMAGLIST" = yes; then
7838 echo "$as_me:$LINENO: result: yes" >&5
7839 echo "${ECHO_T}yes" >&6
7840 else
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7843 fi
7844
7845
7846 enablestring=
7847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7848 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7849 no_cache=0
7850 # Check whether --enable-listbook or --disable-listbook was given.
7851 if test "${enable_listbook+set}" = set; then
7852 enableval="$enable_listbook"
7853
7854 if test "$enableval" = yes; then
7855 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7856 else
7857 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7858 fi
7859
7860 else
7861
7862 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7863 if test "x$LINE" != x ; then
7864 eval "DEFAULT_$LINE"
7865 else
7866 no_cache=1
7867 fi
7868
7869 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7870
7871 fi;
7872
7873 eval "$ac_cv_use_listbook"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7876 fi
7877
7878 if test "$wxUSE_LISTBOOK" = yes; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7881 else
7882 echo "$as_me:$LINENO: result: no" >&5
7883 echo "${ECHO_T}no" >&6
7884 fi
7885
7886
7887 enablestring=
7888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7889 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7890 no_cache=0
7891 # Check whether --enable-listbox or --disable-listbox was given.
7892 if test "${enable_listbox+set}" = set; then
7893 enableval="$enable_listbox"
7894
7895 if test "$enableval" = yes; then
7896 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7897 else
7898 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7899 fi
7900
7901 else
7902
7903 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x ; then
7905 eval "DEFAULT_$LINE"
7906 else
7907 no_cache=1
7908 fi
7909
7910 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7911
7912 fi;
7913
7914 eval "$ac_cv_use_listbox"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7917 fi
7918
7919 if test "$wxUSE_LISTBOX" = yes; then
7920 echo "$as_me:$LINENO: result: yes" >&5
7921 echo "${ECHO_T}yes" >&6
7922 else
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7925 fi
7926
7927
7928 enablestring=
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7931 no_cache=0
7932 # Check whether --enable-listctrl or --disable-listctrl was given.
7933 if test "${enable_listctrl+set}" = set; then
7934 enableval="$enable_listctrl"
7935
7936 if test "$enableval" = yes; then
7937 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7938 else
7939 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7940 fi
7941
7942 else
7943
7944 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7947 else
7948 no_cache=1
7949 fi
7950
7951 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7952
7953 fi;
7954
7955 eval "$ac_cv_use_listctrl"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7958 fi
7959
7960 if test "$wxUSE_LISTCTRL" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7963 else
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7966 fi
7967
7968
7969 enablestring=
7970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7972 no_cache=0
7973 # Check whether --enable-notebook or --disable-notebook was given.
7974 if test "${enable_notebook+set}" = set; then
7975 enableval="$enable_notebook"
7976
7977 if test "$enableval" = yes; then
7978 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7979 else
7980 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7981 fi
7982
7983 else
7984
7985 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7988 else
7989 no_cache=1
7990 fi
7991
7992 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7993
7994 fi;
7995
7996 eval "$ac_cv_use_notebook"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7999 fi
8000
8001 if test "$wxUSE_NOTEBOOK" = yes; then
8002 echo "$as_me:$LINENO: result: yes" >&5
8003 echo "${ECHO_T}yes" >&6
8004 else
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8007 fi
8008
8009
8010 enablestring=
8011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8013 no_cache=0
8014 # Check whether --enable-radiobox or --disable-radiobox was given.
8015 if test "${enable_radiobox+set}" = set; then
8016 enableval="$enable_radiobox"
8017
8018 if test "$enableval" = yes; then
8019 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8020 else
8021 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8022 fi
8023
8024 else
8025
8026 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8029 else
8030 no_cache=1
8031 fi
8032
8033 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8034
8035 fi;
8036
8037 eval "$ac_cv_use_radiobox"
8038 if test "$no_cache" != 1; then
8039 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8040 fi
8041
8042 if test "$wxUSE_RADIOBOX" = yes; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8045 else
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8048 fi
8049
8050
8051 enablestring=
8052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8053 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8054 no_cache=0
8055 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8056 if test "${enable_radiobtn+set}" = set; then
8057 enableval="$enable_radiobtn"
8058
8059 if test "$enableval" = yes; then
8060 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8061 else
8062 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8063 fi
8064
8065 else
8066
8067 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8068 if test "x$LINE" != x ; then
8069 eval "DEFAULT_$LINE"
8070 else
8071 no_cache=1
8072 fi
8073
8074 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8075
8076 fi;
8077
8078 eval "$ac_cv_use_radiobtn"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8081 fi
8082
8083 if test "$wxUSE_RADIOBTN" = yes; then
8084 echo "$as_me:$LINENO: result: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8086 else
8087 echo "$as_me:$LINENO: result: no" >&5
8088 echo "${ECHO_T}no" >&6
8089 fi
8090
8091
8092 enablestring=
8093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8095 no_cache=0
8096 # Check whether --enable-sash or --disable-sash was given.
8097 if test "${enable_sash+set}" = set; then
8098 enableval="$enable_sash"
8099
8100 if test "$enableval" = yes; then
8101 ac_cv_use_sash='wxUSE_SASH=yes'
8102 else
8103 ac_cv_use_sash='wxUSE_SASH=no'
8104 fi
8105
8106 else
8107
8108 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8111 else
8112 no_cache=1
8113 fi
8114
8115 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8116
8117 fi;
8118
8119 eval "$ac_cv_use_sash"
8120 if test "$no_cache" != 1; then
8121 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8122 fi
8123
8124 if test "$wxUSE_SASH" = yes; then
8125 echo "$as_me:$LINENO: result: yes" >&5
8126 echo "${ECHO_T}yes" >&6
8127 else
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8130 fi
8131
8132
8133 enablestring=
8134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8136 no_cache=0
8137 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8138 if test "${enable_scrollbar+set}" = set; then
8139 enableval="$enable_scrollbar"
8140
8141 if test "$enableval" = yes; then
8142 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8143 else
8144 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8145 fi
8146
8147 else
8148
8149 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x ; then
8151 eval "DEFAULT_$LINE"
8152 else
8153 no_cache=1
8154 fi
8155
8156 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8157
8158 fi;
8159
8160 eval "$ac_cv_use_scrollbar"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8163 fi
8164
8165 if test "$wxUSE_SCROLLBAR" = yes; then
8166 echo "$as_me:$LINENO: result: yes" >&5
8167 echo "${ECHO_T}yes" >&6
8168 else
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8171 fi
8172
8173
8174 enablestring=
8175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8177 no_cache=0
8178 # Check whether --enable-slider or --disable-slider was given.
8179 if test "${enable_slider+set}" = set; then
8180 enableval="$enable_slider"
8181
8182 if test "$enableval" = yes; then
8183 ac_cv_use_slider='wxUSE_SLIDER=yes'
8184 else
8185 ac_cv_use_slider='wxUSE_SLIDER=no'
8186 fi
8187
8188 else
8189
8190 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x ; then
8192 eval "DEFAULT_$LINE"
8193 else
8194 no_cache=1
8195 fi
8196
8197 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8198
8199 fi;
8200
8201 eval "$ac_cv_use_slider"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8204 fi
8205
8206 if test "$wxUSE_SLIDER" = yes; then
8207 echo "$as_me:$LINENO: result: yes" >&5
8208 echo "${ECHO_T}yes" >&6
8209 else
8210 echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6
8212 fi
8213
8214
8215 enablestring=
8216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8218 no_cache=0
8219 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8220 if test "${enable_spinbtn+set}" = set; then
8221 enableval="$enable_spinbtn"
8222
8223 if test "$enableval" = yes; then
8224 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8225 else
8226 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8227 fi
8228
8229 else
8230
8231 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x ; then
8233 eval "DEFAULT_$LINE"
8234 else
8235 no_cache=1
8236 fi
8237
8238 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8239
8240 fi;
8241
8242 eval "$ac_cv_use_spinbtn"
8243 if test "$no_cache" != 1; then
8244 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8245 fi
8246
8247 if test "$wxUSE_SPINBTN" = yes; then
8248 echo "$as_me:$LINENO: result: yes" >&5
8249 echo "${ECHO_T}yes" >&6
8250 else
8251 echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6
8253 fi
8254
8255
8256 enablestring=
8257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8259 no_cache=0
8260 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8261 if test "${enable_spinctrl+set}" = set; then
8262 enableval="$enable_spinctrl"
8263
8264 if test "$enableval" = yes; then
8265 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8266 else
8267 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8268 fi
8269
8270 else
8271
8272 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x ; then
8274 eval "DEFAULT_$LINE"
8275 else
8276 no_cache=1
8277 fi
8278
8279 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8280
8281 fi;
8282
8283 eval "$ac_cv_use_spinctrl"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8286 fi
8287
8288 if test "$wxUSE_SPINCTRL" = yes; then
8289 echo "$as_me:$LINENO: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8291 else
8292 echo "$as_me:$LINENO: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8294 fi
8295
8296
8297 enablestring=
8298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8300 no_cache=0
8301 # Check whether --enable-splitter or --disable-splitter was given.
8302 if test "${enable_splitter+set}" = set; then
8303 enableval="$enable_splitter"
8304
8305 if test "$enableval" = yes; then
8306 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8307 else
8308 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8309 fi
8310
8311 else
8312
8313 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x ; then
8315 eval "DEFAULT_$LINE"
8316 else
8317 no_cache=1
8318 fi
8319
8320 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8321
8322 fi;
8323
8324 eval "$ac_cv_use_splitter"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8327 fi
8328
8329 if test "$wxUSE_SPLITTER" = yes; then
8330 echo "$as_me:$LINENO: result: yes" >&5
8331 echo "${ECHO_T}yes" >&6
8332 else
8333 echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6
8335 fi
8336
8337
8338 enablestring=
8339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8341 no_cache=0
8342 # Check whether --enable-statbmp or --disable-statbmp was given.
8343 if test "${enable_statbmp+set}" = set; then
8344 enableval="$enable_statbmp"
8345
8346 if test "$enableval" = yes; then
8347 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8348 else
8349 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8350 fi
8351
8352 else
8353
8354 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x ; then
8356 eval "DEFAULT_$LINE"
8357 else
8358 no_cache=1
8359 fi
8360
8361 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8362
8363 fi;
8364
8365 eval "$ac_cv_use_statbmp"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8368 fi
8369
8370 if test "$wxUSE_STATBMP" = yes; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8373 else
8374 echo "$as_me:$LINENO: result: no" >&5
8375 echo "${ECHO_T}no" >&6
8376 fi
8377
8378
8379 enablestring=
8380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8382 no_cache=0
8383 # Check whether --enable-statbox or --disable-statbox was given.
8384 if test "${enable_statbox+set}" = set; then
8385 enableval="$enable_statbox"
8386
8387 if test "$enableval" = yes; then
8388 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8389 else
8390 ac_cv_use_statbox='wxUSE_STATBOX=no'
8391 fi
8392
8393 else
8394
8395 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8396 if test "x$LINE" != x ; then
8397 eval "DEFAULT_$LINE"
8398 else
8399 no_cache=1
8400 fi
8401
8402 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8403
8404 fi;
8405
8406 eval "$ac_cv_use_statbox"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8409 fi
8410
8411 if test "$wxUSE_STATBOX" = yes; then
8412 echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6
8414 else
8415 echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6
8417 fi
8418
8419
8420 enablestring=
8421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8423 no_cache=0
8424 # Check whether --enable-statline or --disable-statline was given.
8425 if test "${enable_statline+set}" = set; then
8426 enableval="$enable_statline"
8427
8428 if test "$enableval" = yes; then
8429 ac_cv_use_statline='wxUSE_STATLINE=yes'
8430 else
8431 ac_cv_use_statline='wxUSE_STATLINE=no'
8432 fi
8433
8434 else
8435
8436 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8439 else
8440 no_cache=1
8441 fi
8442
8443 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8444
8445 fi;
8446
8447 eval "$ac_cv_use_statline"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8450 fi
8451
8452 if test "$wxUSE_STATLINE" = yes; then
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8455 else
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8458 fi
8459
8460
8461 enablestring=
8462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8464 no_cache=0
8465 # Check whether --enable-stattext or --disable-stattext was given.
8466 if test "${enable_stattext+set}" = set; then
8467 enableval="$enable_stattext"
8468
8469 if test "$enableval" = yes; then
8470 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8471 else
8472 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8473 fi
8474
8475 else
8476
8477 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8478 if test "x$LINE" != x ; then
8479 eval "DEFAULT_$LINE"
8480 else
8481 no_cache=1
8482 fi
8483
8484 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8485
8486 fi;
8487
8488 eval "$ac_cv_use_stattext"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8491 fi
8492
8493 if test "$wxUSE_STATTEXT" = yes; then
8494 echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8496 else
8497 echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6
8499 fi
8500
8501
8502 enablestring=
8503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8505 no_cache=0
8506 # Check whether --enable-statusbar or --disable-statusbar was given.
8507 if test "${enable_statusbar+set}" = set; then
8508 enableval="$enable_statusbar"
8509
8510 if test "$enableval" = yes; then
8511 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8512 else
8513 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8514 fi
8515
8516 else
8517
8518 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x ; then
8520 eval "DEFAULT_$LINE"
8521 else
8522 no_cache=1
8523 fi
8524
8525 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8526
8527 fi;
8528
8529 eval "$ac_cv_use_statusbar"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8532 fi
8533
8534 if test "$wxUSE_STATUSBAR" = yes; then
8535 echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6
8537 else
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8540 fi
8541
8542
8543 enablestring=
8544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8546 no_cache=0
8547 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8548 if test "${enable_tabdialog+set}" = set; then
8549 enableval="$enable_tabdialog"
8550
8551 if test "$enableval" = yes; then
8552 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8553 else
8554 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8555 fi
8556
8557 else
8558
8559 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8560 if test "x$LINE" != x ; then
8561 eval "DEFAULT_$LINE"
8562 else
8563 no_cache=1
8564 fi
8565
8566 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8567
8568 fi;
8569
8570 eval "$ac_cv_use_tabdialog"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8573 fi
8574
8575 if test "$wxUSE_TABDIALOG" = yes; then
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8578 else
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8581 fi
8582
8583
8584 enablestring=
8585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8587 no_cache=0
8588 # Check whether --enable-textctrl or --disable-textctrl was given.
8589 if test "${enable_textctrl+set}" = set; then
8590 enableval="$enable_textctrl"
8591
8592 if test "$enableval" = yes; then
8593 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8594 else
8595 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8596 fi
8597
8598 else
8599
8600 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8601 if test "x$LINE" != x ; then
8602 eval "DEFAULT_$LINE"
8603 else
8604 no_cache=1
8605 fi
8606
8607 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8608
8609 fi;
8610
8611 eval "$ac_cv_use_textctrl"
8612 if test "$no_cache" != 1; then
8613 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8614 fi
8615
8616 if test "$wxUSE_TEXTCTRL" = yes; then
8617 echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8619 else
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8622 fi
8623
8624
8625 enablestring=
8626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8628 no_cache=0
8629 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8630 if test "${enable_togglebtn+set}" = set; then
8631 enableval="$enable_togglebtn"
8632
8633 if test "$enableval" = yes; then
8634 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8635 else
8636 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8637 fi
8638
8639 else
8640
8641 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x ; then
8643 eval "DEFAULT_$LINE"
8644 else
8645 no_cache=1
8646 fi
8647
8648 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8649
8650 fi;
8651
8652 eval "$ac_cv_use_togglebtn"
8653 if test "$no_cache" != 1; then
8654 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8655 fi
8656
8657 if test "$wxUSE_TOGGLEBTN" = yes; then
8658 echo "$as_me:$LINENO: result: yes" >&5
8659 echo "${ECHO_T}yes" >&6
8660 else
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8663 fi
8664
8665
8666 enablestring=
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8669 no_cache=0
8670 # Check whether --enable-toolbar or --disable-toolbar was given.
8671 if test "${enable_toolbar+set}" = set; then
8672 enableval="$enable_toolbar"
8673
8674 if test "$enableval" = yes; then
8675 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8676 else
8677 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8678 fi
8679
8680 else
8681
8682 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x ; then
8684 eval "DEFAULT_$LINE"
8685 else
8686 no_cache=1
8687 fi
8688
8689 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8690
8691 fi;
8692
8693 eval "$ac_cv_use_toolbar"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8696 fi
8697
8698 if test "$wxUSE_TOOLBAR" = yes; then
8699 echo "$as_me:$LINENO: result: yes" >&5
8700 echo "${ECHO_T}yes" >&6
8701 else
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8704 fi
8705
8706
8707 enablestring=
8708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8710 no_cache=0
8711 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8712 if test "${enable_tbarnative+set}" = set; then
8713 enableval="$enable_tbarnative"
8714
8715 if test "$enableval" = yes; then
8716 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8717 else
8718 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8719 fi
8720
8721 else
8722
8723 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x ; then
8725 eval "DEFAULT_$LINE"
8726 else
8727 no_cache=1
8728 fi
8729
8730 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8731
8732 fi;
8733
8734 eval "$ac_cv_use_tbarnative"
8735 if test "$no_cache" != 1; then
8736 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8737 fi
8738
8739 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8740 echo "$as_me:$LINENO: result: yes" >&5
8741 echo "${ECHO_T}yes" >&6
8742 else
8743 echo "$as_me:$LINENO: result: no" >&5
8744 echo "${ECHO_T}no" >&6
8745 fi
8746
8747
8748 enablestring=
8749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8751 no_cache=0
8752 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8753 if test "${enable_tbarsmpl+set}" = set; then
8754 enableval="$enable_tbarsmpl"
8755
8756 if test "$enableval" = yes; then
8757 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8758 else
8759 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8760 fi
8761
8762 else
8763
8764 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x ; then
8766 eval "DEFAULT_$LINE"
8767 else
8768 no_cache=1
8769 fi
8770
8771 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8772
8773 fi;
8774
8775 eval "$ac_cv_use_tbarsmpl"
8776 if test "$no_cache" != 1; then
8777 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8778 fi
8779
8780 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8783 else
8784 echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6
8786 fi
8787
8788
8789 enablestring=
8790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8792 no_cache=0
8793 # Check whether --enable-treectrl or --disable-treectrl was given.
8794 if test "${enable_treectrl+set}" = set; then
8795 enableval="$enable_treectrl"
8796
8797 if test "$enableval" = yes; then
8798 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8799 else
8800 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8801 fi
8802
8803 else
8804
8805 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x ; then
8807 eval "DEFAULT_$LINE"
8808 else
8809 no_cache=1
8810 fi
8811
8812 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8813
8814 fi;
8815
8816 eval "$ac_cv_use_treectrl"
8817 if test "$no_cache" != 1; then
8818 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8819 fi
8820
8821 if test "$wxUSE_TREECTRL" = yes; then
8822 echo "$as_me:$LINENO: result: yes" >&5
8823 echo "${ECHO_T}yes" >&6
8824 else
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8827 fi
8828
8829
8830 enablestring=
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8833 no_cache=0
8834 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8835 if test "${enable_tipwindow+set}" = set; then
8836 enableval="$enable_tipwindow"
8837
8838 if test "$enableval" = yes; then
8839 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8840 else
8841 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8842 fi
8843
8844 else
8845
8846 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8849 else
8850 no_cache=1
8851 fi
8852
8853 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8854
8855 fi;
8856
8857 eval "$ac_cv_use_tipwindow"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8860 fi
8861
8862 if test "$wxUSE_TIPWINDOW" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8865 else
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8868 fi
8869
8870
8871 enablestring=
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8874 no_cache=0
8875 # Check whether --enable-popupwin or --disable-popupwin was given.
8876 if test "${enable_popupwin+set}" = set; then
8877 enableval="$enable_popupwin"
8878
8879 if test "$enableval" = yes; then
8880 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8881 else
8882 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8883 fi
8884
8885 else
8886
8887 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8890 else
8891 no_cache=1
8892 fi
8893
8894 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8895
8896 fi;
8897
8898 eval "$ac_cv_use_popupwin"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8901 fi
8902
8903 if test "$wxUSE_POPUPWIN" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8906 else
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8909 fi
8910
8911
8912
8913
8914 enablestring=
8915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8917 no_cache=0
8918 # Check whether --enable-commondlg or --disable-commondlg was given.
8919 if test "${enable_commondlg+set}" = set; then
8920 enableval="$enable_commondlg"
8921
8922 if test "$enableval" = yes; then
8923 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8924 else
8925 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8926 fi
8927
8928 else
8929
8930 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x ; then
8932 eval "DEFAULT_$LINE"
8933 else
8934 no_cache=1
8935 fi
8936
8937 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8938
8939 fi;
8940
8941 eval "$ac_cv_use_commondlg"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8944 fi
8945
8946 if test "$wxUSE_COMMONDLGS" = yes; then
8947 echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6
8949 else
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8952 fi
8953
8954
8955 enablestring=
8956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8958 no_cache=0
8959 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8960 if test "${enable_choicedlg+set}" = set; then
8961 enableval="$enable_choicedlg"
8962
8963 if test "$enableval" = yes; then
8964 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8965 else
8966 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8967 fi
8968
8969 else
8970
8971 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x ; then
8973 eval "DEFAULT_$LINE"
8974 else
8975 no_cache=1
8976 fi
8977
8978 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8979
8980 fi;
8981
8982 eval "$ac_cv_use_choicedlg"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8985 fi
8986
8987 if test "$wxUSE_CHOICEDLG" = yes; then
8988 echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6
8990 else
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8993 fi
8994
8995
8996 enablestring=
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8999 no_cache=0
9000 # Check whether --enable-coldlg or --disable-coldlg was given.
9001 if test "${enable_coldlg+set}" = set; then
9002 enableval="$enable_coldlg"
9003
9004 if test "$enableval" = yes; then
9005 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9006 else
9007 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9008 fi
9009
9010 else
9011
9012 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x ; then
9014 eval "DEFAULT_$LINE"
9015 else
9016 no_cache=1
9017 fi
9018
9019 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9020
9021 fi;
9022
9023 eval "$ac_cv_use_coldlg"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9026 fi
9027
9028 if test "$wxUSE_COLOURDLG" = yes; then
9029 echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6
9031 else
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9034 fi
9035
9036
9037 enablestring=
9038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9040 no_cache=0
9041 # Check whether --enable-filedlg or --disable-filedlg was given.
9042 if test "${enable_filedlg+set}" = set; then
9043 enableval="$enable_filedlg"
9044
9045 if test "$enableval" = yes; then
9046 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9047 else
9048 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9049 fi
9050
9051 else
9052
9053 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9056 else
9057 no_cache=1
9058 fi
9059
9060 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9061
9062 fi;
9063
9064 eval "$ac_cv_use_filedlg"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9067 fi
9068
9069 if test "$wxUSE_FILEDLG" = yes; then
9070 echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6
9072 else
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9075 fi
9076
9077
9078 enablestring=
9079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9081 no_cache=0
9082 # Check whether --enable-finddlg or --disable-finddlg was given.
9083 if test "${enable_finddlg+set}" = set; then
9084 enableval="$enable_finddlg"
9085
9086 if test "$enableval" = yes; then
9087 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9088 else
9089 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9090 fi
9091
9092 else
9093
9094 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x ; then
9096 eval "DEFAULT_$LINE"
9097 else
9098 no_cache=1
9099 fi
9100
9101 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9102
9103 fi;
9104
9105 eval "$ac_cv_use_finddlg"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9108 fi
9109
9110 if test "$wxUSE_FINDREPLDLG" = yes; then
9111 echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6
9113 else
9114 echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6
9116 fi
9117
9118
9119 enablestring=
9120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9122 no_cache=0
9123 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9124 if test "${enable_fontdlg+set}" = set; then
9125 enableval="$enable_fontdlg"
9126
9127 if test "$enableval" = yes; then
9128 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9129 else
9130 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9131 fi
9132
9133 else
9134
9135 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x ; then
9137 eval "DEFAULT_$LINE"
9138 else
9139 no_cache=1
9140 fi
9141
9142 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9143
9144 fi;
9145
9146 eval "$ac_cv_use_fontdlg"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9149 fi
9150
9151 if test "$wxUSE_FONTDLG" = yes; then
9152 echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6
9154 else
9155 echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6
9157 fi
9158
9159
9160 enablestring=
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9163 no_cache=0
9164 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9165 if test "${enable_dirdlg+set}" = set; then
9166 enableval="$enable_dirdlg"
9167
9168 if test "$enableval" = yes; then
9169 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9170 else
9171 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9172 fi
9173
9174 else
9175
9176 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9179 else
9180 no_cache=1
9181 fi
9182
9183 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9184
9185 fi;
9186
9187 eval "$ac_cv_use_dirdlg"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9190 fi
9191
9192 if test "$wxUSE_DIRDLG" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9195 else
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9198 fi
9199
9200
9201 enablestring=
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9204 no_cache=0
9205 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9206 if test "${enable_msgdlg+set}" = set; then
9207 enableval="$enable_msgdlg"
9208
9209 if test "$enableval" = yes; then
9210 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9211 else
9212 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9213 fi
9214
9215 else
9216
9217 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9220 else
9221 no_cache=1
9222 fi
9223
9224 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9225
9226 fi;
9227
9228 eval "$ac_cv_use_msgdlg"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9231 fi
9232
9233 if test "$wxUSE_MSGDLG" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9236 else
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9239 fi
9240
9241
9242 enablestring=
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9245 no_cache=0
9246 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9247 if test "${enable_numberdlg+set}" = set; then
9248 enableval="$enable_numberdlg"
9249
9250 if test "$enableval" = yes; then
9251 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9252 else
9253 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9254 fi
9255
9256 else
9257
9258 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9261 else
9262 no_cache=1
9263 fi
9264
9265 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9266
9267 fi;
9268
9269 eval "$ac_cv_use_numberdlg"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test "$wxUSE_NUMBERDLG" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9277 else
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9280 fi
9281
9282
9283 enablestring=
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9286 no_cache=0
9287 # Check whether --enable-splash or --disable-splash was given.
9288 if test "${enable_splash+set}" = set; then
9289 enableval="$enable_splash"
9290
9291 if test "$enableval" = yes; then
9292 ac_cv_use_splash='wxUSE_SPLASH=yes'
9293 else
9294 ac_cv_use_splash='wxUSE_SPLASH=no'
9295 fi
9296
9297 else
9298
9299 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9302 else
9303 no_cache=1
9304 fi
9305
9306 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9307
9308 fi;
9309
9310 eval "$ac_cv_use_splash"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9313 fi
9314
9315 if test "$wxUSE_SPLASH" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9318 else
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9321 fi
9322
9323
9324 enablestring=
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9327 no_cache=0
9328 # Check whether --enable-textdlg or --disable-textdlg was given.
9329 if test "${enable_textdlg+set}" = set; then
9330 enableval="$enable_textdlg"
9331
9332 if test "$enableval" = yes; then
9333 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9334 else
9335 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9336 fi
9337
9338 else
9339
9340 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 else
9344 no_cache=1
9345 fi
9346
9347 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9348
9349 fi;
9350
9351 eval "$ac_cv_use_textdlg"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9354 fi
9355
9356 if test "$wxUSE_TEXTDLG" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9359 else
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9362 fi
9363
9364
9365 enablestring=
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9368 no_cache=0
9369 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9370 if test "${enable_tipdlg+set}" = set; then
9371 enableval="$enable_tipdlg"
9372
9373 if test "$enableval" = yes; then
9374 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9375 else
9376 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9377 fi
9378
9379 else
9380
9381 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9389
9390 fi;
9391
9392 eval "$ac_cv_use_tipdlg"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test "$wxUSE_STARTUP_TIPS" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9400 else
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9403 fi
9404
9405
9406 enablestring=
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9409 no_cache=0
9410 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9411 if test "${enable_progressdlg+set}" = set; then
9412 enableval="$enable_progressdlg"
9413
9414 if test "$enableval" = yes; then
9415 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9416 else
9417 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9430
9431 fi;
9432
9433 eval "$ac_cv_use_progressdlg"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test "$wxUSE_PROGRESSDLG" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9441 else
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9444 fi
9445
9446
9447 enablestring=
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9450 no_cache=0
9451 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9452 if test "${enable_wizarddlg+set}" = set; then
9453 enableval="$enable_wizarddlg"
9454
9455 if test "$enableval" = yes; then
9456 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9457 else
9458 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9459 fi
9460
9461 else
9462
9463 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9466 else
9467 no_cache=1
9468 fi
9469
9470 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9471
9472 fi;
9473
9474 eval "$ac_cv_use_wizarddlg"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test "$wxUSE_WIZARDDLG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9482 else
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9485 fi
9486
9487
9488
9489
9490 enablestring=
9491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9493 no_cache=0
9494 # Check whether --enable-menus or --disable-menus was given.
9495 if test "${enable_menus+set}" = set; then
9496 enableval="$enable_menus"
9497
9498 if test "$enableval" = yes; then
9499 ac_cv_use_menus='wxUSE_MENUS=yes'
9500 else
9501 ac_cv_use_menus='wxUSE_MENUS=no'
9502 fi
9503
9504 else
9505
9506 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9507 if test "x$LINE" != x ; then
9508 eval "DEFAULT_$LINE"
9509 else
9510 no_cache=1
9511 fi
9512
9513 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9514
9515 fi;
9516
9517 eval "$ac_cv_use_menus"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9520 fi
9521
9522 if test "$wxUSE_MENUS" = yes; then
9523 echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6
9525 else
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9528 fi
9529
9530
9531 enablestring=
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9534 no_cache=0
9535 # Check whether --enable-miniframe or --disable-miniframe was given.
9536 if test "${enable_miniframe+set}" = set; then
9537 enableval="$enable_miniframe"
9538
9539 if test "$enableval" = yes; then
9540 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9541 else
9542 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9543 fi
9544
9545 else
9546
9547 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9550 else
9551 no_cache=1
9552 fi
9553
9554 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9555
9556 fi;
9557
9558 eval "$ac_cv_use_miniframe"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test "$wxUSE_MINIFRAME" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9566 else
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9569 fi
9570
9571
9572 enablestring=
9573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9575 no_cache=0
9576 # Check whether --enable-tooltips or --disable-tooltips was given.
9577 if test "${enable_tooltips+set}" = set; then
9578 enableval="$enable_tooltips"
9579
9580 if test "$enableval" = yes; then
9581 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9582 else
9583 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9584 fi
9585
9586 else
9587
9588 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9589 if test "x$LINE" != x ; then
9590 eval "DEFAULT_$LINE"
9591 else
9592 no_cache=1
9593 fi
9594
9595 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9596
9597 fi;
9598
9599 eval "$ac_cv_use_tooltips"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9602 fi
9603
9604 if test "$wxUSE_TOOLTIPS" = yes; then
9605 echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6
9607 else
9608 echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6
9610 fi
9611
9612
9613 enablestring=
9614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9616 no_cache=0
9617 # Check whether --enable-splines or --disable-splines was given.
9618 if test "${enable_splines+set}" = set; then
9619 enableval="$enable_splines"
9620
9621 if test "$enableval" = yes; then
9622 ac_cv_use_splines='wxUSE_SPLINES=yes'
9623 else
9624 ac_cv_use_splines='wxUSE_SPLINES=no'
9625 fi
9626
9627 else
9628
9629 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9630 if test "x$LINE" != x ; then
9631 eval "DEFAULT_$LINE"
9632 else
9633 no_cache=1
9634 fi
9635
9636 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9637
9638 fi;
9639
9640 eval "$ac_cv_use_splines"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9643 fi
9644
9645 if test "$wxUSE_SPLINES" = yes; then
9646 echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6
9648 else
9649 echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6
9651 fi
9652
9653
9654 enablestring=
9655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9657 no_cache=0
9658 # Check whether --enable-validators or --disable-validators was given.
9659 if test "${enable_validators+set}" = set; then
9660 enableval="$enable_validators"
9661
9662 if test "$enableval" = yes; then
9663 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9664 else
9665 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9666 fi
9667
9668 else
9669
9670 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9671 if test "x$LINE" != x ; then
9672 eval "DEFAULT_$LINE"
9673 else
9674 no_cache=1
9675 fi
9676
9677 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9678
9679 fi;
9680
9681 eval "$ac_cv_use_validators"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9684 fi
9685
9686 if test "$wxUSE_VALIDATORS" = yes; then
9687 echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6
9689 else
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9692 fi
9693
9694
9695 enablestring=
9696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9698 no_cache=0
9699 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9700 if test "${enable_busyinfo+set}" = set; then
9701 enableval="$enable_busyinfo"
9702
9703 if test "$enableval" = yes; then
9704 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9705 else
9706 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9707 fi
9708
9709 else
9710
9711 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x ; then
9713 eval "DEFAULT_$LINE"
9714 else
9715 no_cache=1
9716 fi
9717
9718 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9719
9720 fi;
9721
9722 eval "$ac_cv_use_busyinfo"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9725 fi
9726
9727 if test "$wxUSE_BUSYINFO" = yes; then
9728 echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6
9730 else
9731 echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6
9733 fi
9734
9735
9736 enablestring=
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9739 no_cache=0
9740 # Check whether --enable-joystick or --disable-joystick was given.
9741 if test "${enable_joystick+set}" = set; then
9742 enableval="$enable_joystick"
9743
9744 if test "$enableval" = yes; then
9745 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9746 else
9747 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9748 fi
9749
9750 else
9751
9752 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9755 else
9756 no_cache=1
9757 fi
9758
9759 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9760
9761 fi;
9762
9763 eval "$ac_cv_use_joystick"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9766 fi
9767
9768 if test "$wxUSE_JOYSTICK" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9771 else
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9774 fi
9775
9776
9777 enablestring=
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9780 no_cache=0
9781 # Check whether --enable-metafile or --disable-metafile was given.
9782 if test "${enable_metafile+set}" = set; then
9783 enableval="$enable_metafile"
9784
9785 if test "$enableval" = yes; then
9786 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9787 else
9788 ac_cv_use_metafile='wxUSE_METAFILE=no'
9789 fi
9790
9791 else
9792
9793 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9796 else
9797 no_cache=1
9798 fi
9799
9800 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9801
9802 fi;
9803
9804 eval "$ac_cv_use_metafile"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9807 fi
9808
9809 if test "$wxUSE_METAFILE" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9812 else
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9815 fi
9816
9817
9818 enablestring=
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9821 no_cache=0
9822 # Check whether --enable-dragimage or --disable-dragimage was given.
9823 if test "${enable_dragimage+set}" = set; then
9824 enableval="$enable_dragimage"
9825
9826 if test "$enableval" = yes; then
9827 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9828 else
9829 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9830 fi
9831
9832 else
9833
9834 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9837 else
9838 no_cache=1
9839 fi
9840
9841 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9842
9843 fi;
9844
9845 eval "$ac_cv_use_dragimage"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9848 fi
9849
9850 if test "$wxUSE_DRAGIMAGE" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9853 else
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9856 fi
9857
9858
9859 enablestring=
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9862 no_cache=0
9863 # Check whether --enable-accessibility or --disable-accessibility was given.
9864 if test "${enable_accessibility+set}" = set; then
9865 enableval="$enable_accessibility"
9866
9867 if test "$enableval" = yes; then
9868 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9869 else
9870 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9871 fi
9872
9873 else
9874
9875 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9878 else
9879 no_cache=1
9880 fi
9881
9882 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9883
9884 fi;
9885
9886 eval "$ac_cv_use_accessibility"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9889 fi
9890
9891 if test "$wxUSE_ACCESSIBILITY" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9894 else
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9897 fi
9898
9899
9900
9901
9902 enablestring=
9903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9905 no_cache=0
9906 # Check whether --enable-palette or --disable-palette was given.
9907 if test "${enable_palette+set}" = set; then
9908 enableval="$enable_palette"
9909
9910 if test "$enableval" = yes; then
9911 ac_cv_use_palette='wxUSE_PALETTE=yes'
9912 else
9913 ac_cv_use_palette='wxUSE_PALETTE=no'
9914 fi
9915
9916 else
9917
9918 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9919 if test "x$LINE" != x ; then
9920 eval "DEFAULT_$LINE"
9921 else
9922 no_cache=1
9923 fi
9924
9925 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9926
9927 fi;
9928
9929 eval "$ac_cv_use_palette"
9930 if test "$no_cache" != 1; then
9931 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9932 fi
9933
9934 if test "$wxUSE_PALETTE" = yes; then
9935 echo "$as_me:$LINENO: result: yes" >&5
9936 echo "${ECHO_T}yes" >&6
9937 else
9938 echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6
9940 fi
9941
9942
9943 enablestring=
9944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9945 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9946 no_cache=0
9947 # Check whether --enable-image or --disable-image was given.
9948 if test "${enable_image+set}" = set; then
9949 enableval="$enable_image"
9950
9951 if test "$enableval" = yes; then
9952 ac_cv_use_image='wxUSE_IMAGE=yes'
9953 else
9954 ac_cv_use_image='wxUSE_IMAGE=no'
9955 fi
9956
9957 else
9958
9959 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9960 if test "x$LINE" != x ; then
9961 eval "DEFAULT_$LINE"
9962 else
9963 no_cache=1
9964 fi
9965
9966 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9967
9968 fi;
9969
9970 eval "$ac_cv_use_image"
9971 if test "$no_cache" != 1; then
9972 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9973 fi
9974
9975 if test "$wxUSE_IMAGE" = yes; then
9976 echo "$as_me:$LINENO: result: yes" >&5
9977 echo "${ECHO_T}yes" >&6
9978 else
9979 echo "$as_me:$LINENO: result: no" >&5
9980 echo "${ECHO_T}no" >&6
9981 fi
9982
9983
9984 enablestring=
9985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9987 no_cache=0
9988 # Check whether --enable-gif or --disable-gif was given.
9989 if test "${enable_gif+set}" = set; then
9990 enableval="$enable_gif"
9991
9992 if test "$enableval" = yes; then
9993 ac_cv_use_gif='wxUSE_GIF=yes'
9994 else
9995 ac_cv_use_gif='wxUSE_GIF=no'
9996 fi
9997
9998 else
9999
10000 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10001 if test "x$LINE" != x ; then
10002 eval "DEFAULT_$LINE"
10003 else
10004 no_cache=1
10005 fi
10006
10007 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10008
10009 fi;
10010
10011 eval "$ac_cv_use_gif"
10012 if test "$no_cache" != 1; then
10013 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10014 fi
10015
10016 if test "$wxUSE_GIF" = yes; then
10017 echo "$as_me:$LINENO: result: yes" >&5
10018 echo "${ECHO_T}yes" >&6
10019 else
10020 echo "$as_me:$LINENO: result: no" >&5
10021 echo "${ECHO_T}no" >&6
10022 fi
10023
10024
10025 enablestring=
10026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10028 no_cache=0
10029 # Check whether --enable-pcx or --disable-pcx was given.
10030 if test "${enable_pcx+set}" = set; then
10031 enableval="$enable_pcx"
10032
10033 if test "$enableval" = yes; then
10034 ac_cv_use_pcx='wxUSE_PCX=yes'
10035 else
10036 ac_cv_use_pcx='wxUSE_PCX=no'
10037 fi
10038
10039 else
10040
10041 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x ; then
10043 eval "DEFAULT_$LINE"
10044 else
10045 no_cache=1
10046 fi
10047
10048 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10049
10050 fi;
10051
10052 eval "$ac_cv_use_pcx"
10053 if test "$no_cache" != 1; then
10054 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10055 fi
10056
10057 if test "$wxUSE_PCX" = yes; then
10058 echo "$as_me:$LINENO: result: yes" >&5
10059 echo "${ECHO_T}yes" >&6
10060 else
10061 echo "$as_me:$LINENO: result: no" >&5
10062 echo "${ECHO_T}no" >&6
10063 fi
10064
10065
10066 enablestring=
10067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10069 no_cache=0
10070 # Check whether --enable-iff or --disable-iff was given.
10071 if test "${enable_iff+set}" = set; then
10072 enableval="$enable_iff"
10073
10074 if test "$enableval" = yes; then
10075 ac_cv_use_iff='wxUSE_IFF=yes'
10076 else
10077 ac_cv_use_iff='wxUSE_IFF=no'
10078 fi
10079
10080 else
10081
10082 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10083 if test "x$LINE" != x ; then
10084 eval "DEFAULT_$LINE"
10085 else
10086 no_cache=1
10087 fi
10088
10089 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10090
10091 fi;
10092
10093 eval "$ac_cv_use_iff"
10094 if test "$no_cache" != 1; then
10095 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10096 fi
10097
10098 if test "$wxUSE_IFF" = yes; then
10099 echo "$as_me:$LINENO: result: yes" >&5
10100 echo "${ECHO_T}yes" >&6
10101 else
10102 echo "$as_me:$LINENO: result: no" >&5
10103 echo "${ECHO_T}no" >&6
10104 fi
10105
10106
10107 enablestring=
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10110 no_cache=0
10111 # Check whether --enable-pnm or --disable-pnm was given.
10112 if test "${enable_pnm+set}" = set; then
10113 enableval="$enable_pnm"
10114
10115 if test "$enableval" = yes; then
10116 ac_cv_use_pnm='wxUSE_PNM=yes'
10117 else
10118 ac_cv_use_pnm='wxUSE_PNM=no'
10119 fi
10120
10121 else
10122
10123 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x ; then
10125 eval "DEFAULT_$LINE"
10126 else
10127 no_cache=1
10128 fi
10129
10130 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10131
10132 fi;
10133
10134 eval "$ac_cv_use_pnm"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10137 fi
10138
10139 if test "$wxUSE_PNM" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10142 else
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10145 fi
10146
10147
10148 enablestring=
10149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10151 no_cache=0
10152 # Check whether --enable-xpm or --disable-xpm was given.
10153 if test "${enable_xpm+set}" = set; then
10154 enableval="$enable_xpm"
10155
10156 if test "$enableval" = yes; then
10157 ac_cv_use_xpm='wxUSE_XPM=yes'
10158 else
10159 ac_cv_use_xpm='wxUSE_XPM=no'
10160 fi
10161
10162 else
10163
10164 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10165 if test "x$LINE" != x ; then
10166 eval "DEFAULT_$LINE"
10167 else
10168 no_cache=1
10169 fi
10170
10171 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10172
10173 fi;
10174
10175 eval "$ac_cv_use_xpm"
10176 if test "$no_cache" != 1; then
10177 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10178 fi
10179
10180 if test "$wxUSE_XPM" = yes; then
10181 echo "$as_me:$LINENO: result: yes" >&5
10182 echo "${ECHO_T}yes" >&6
10183 else
10184 echo "$as_me:$LINENO: result: no" >&5
10185 echo "${ECHO_T}no" >&6
10186 fi
10187
10188
10189 enablestring=
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10192 no_cache=0
10193 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10194 if test "${enable_ico_cur+set}" = set; then
10195 enableval="$enable_ico_cur"
10196
10197 if test "$enableval" = yes; then
10198 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10199 else
10200 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10201 fi
10202
10203 else
10204
10205 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10208 else
10209 no_cache=1
10210 fi
10211
10212 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10213
10214 fi;
10215
10216 eval "$ac_cv_use_ico_cur"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10219 fi
10220
10221 if test "$wxUSE_ICO_CUR" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10224 else
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10227 fi
10228
10229
10230 fi
10231
10232
10233
10234 # Check whether --with-flavour or --without-flavour was given.
10235 if test "${with_flavour+set}" = set; then
10236 withval="$with_flavour"
10237 WX_FLAVOUR="$withval"
10238 fi;
10239
10240
10241
10242 enablestring=
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10245 no_cache=0
10246 # Check whether --enable-official_build or --disable-official_build was given.
10247 if test "${enable_official_build+set}" = set; then
10248 enableval="$enable_official_build"
10249
10250 if test "$enableval" = yes; then
10251 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10252 else
10253 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10254 fi
10255
10256 else
10257
10258 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x ; then
10260 eval "DEFAULT_$LINE"
10261 else
10262 no_cache=1
10263 fi
10264
10265 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10266
10267 fi;
10268
10269 eval "$ac_cv_use_official_build"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10272 fi
10273
10274 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10277 else
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10280 fi
10281
10282 # Check whether --enable-vendor or --disable-vendor was given.
10283 if test "${enable_vendor+set}" = set; then
10284 enableval="$enable_vendor"
10285 VENDOR="$enableval"
10286 fi;
10287 if test "x$VENDOR" = "x"; then
10288 VENDOR="custom"
10289 fi
10290
10291
10292
10293
10294 echo "saving argument cache $wx_arg_cache_file"
10295 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10296
10297
10298
10299 echo "$as_me:$LINENO: checking for toolkit" >&5
10300 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10301
10302 # In Wine, we need to default to MSW, not GTK or MOTIF
10303 if test "$wxUSE_WINE" = "yes"; then
10304 DEFAULT_DEFAULT_wxUSE_GTK=0
10305 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10306 DEFAULT_DEFAULT_wxUSE_MSW=1
10307 wxUSE_SHARED=no
10308 fi
10309
10310 if test "$wxUSE_GUI" = "yes"; then
10311
10312 if test "$USE_BEOS" = 1; then
10313 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10314 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10315 { (exit 1); exit 1; }; }
10316 fi
10317
10318 if test "$TOOLKIT_GIVEN" = 1; then
10319 for toolkit in `echo $ALL_TOOLKITS`; do
10320 var=wxUSE_$toolkit
10321 eval "value=\$${var}"
10322 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10323 done
10324 else
10325 for toolkit in `echo $ALL_TOOLKITS`; do
10326 if test "$has_toolkit_in_cache" != 1; then
10327 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10328 else
10329 var=DEFAULT_wxUSE_$toolkit
10330 fi
10331 eval "wxUSE_$toolkit=\$${var}"
10332 done
10333 fi
10334
10335 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10336 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10337 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10338
10339 case "${host}" in
10340 *-pc-os2_emx | *-pc-os2-emx )
10341 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10342 esac
10343
10344 case "$NUM_TOOLKITS" in
10345 1)
10346 ;;
10347 0)
10348 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10349 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10350 { (exit 1); exit 1; }; }
10351 ;;
10352 *)
10353 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10354 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10355 { (exit 1); exit 1; }; }
10356 esac
10357
10358 for toolkit in `echo $ALL_TOOLKITS`; do
10359 var=wxUSE_$toolkit
10360 eval "value=\$${var}"
10361 if test "x$value" != x; then
10362 cache_var=CACHE_$toolkit
10363 eval "cache=\$${cache_var}"
10364 if test "$cache" = 1; then
10365 echo "$var=$value" >> ${wx_arg_cache_file}
10366 fi
10367 if test "$value" = 1; then
10368 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10369 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10370 echo "${ECHO_T}$toolkit_echo" >&6
10371 fi
10372 fi
10373 done
10374 else
10375 if test "x$host_alias" != "x"; then
10376 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10377 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10378 else
10379 echo "$as_me:$LINENO: result: base only" >&5
10380 echo "${ECHO_T}base only" >&6
10381 fi
10382 fi
10383
10384 wants_win32=0
10385 doesnt_want_win32=0
10386 case "${host}" in
10387 *-*-cygwin*)
10388 if test "$wxUSE_MSW" = 1 ; then
10389 wants_win32=1
10390 else
10391 doesnt_want_win32=1
10392 fi
10393 ;;
10394 *-*-mingw*)
10395 wants_win32=1
10396 ;;
10397 esac
10398
10399 if test "$wxUSE_WINE" = "yes"; then
10400 wants_win32=1
10401 CC=winegcc
10402 CXX=wineg++
10403 RESCOMP=wrc
10404 LDFLAGS_GUI="-mwindows"
10405 fi
10406
10407 if test "$wants_win32" = 1 ; then
10408 USE_UNIX=0
10409 USE_WIN32=1
10410 cat >>confdefs.h <<\_ACEOF
10411 #define __WIN32__ 1
10412 _ACEOF
10413
10414 cat >>confdefs.h <<\_ACEOF
10415 #define __WIN95__ 1
10416 _ACEOF
10417
10418 cat >>confdefs.h <<\_ACEOF
10419 #define __WINDOWS__ 1
10420 _ACEOF
10421
10422 cat >>confdefs.h <<\_ACEOF
10423 #define __GNUWIN32__ 1
10424 _ACEOF
10425
10426 cat >>confdefs.h <<\_ACEOF
10427 #define STRICT 1
10428 _ACEOF
10429
10430 cat >>confdefs.h <<\_ACEOF
10431 #define WINVER 0x0400
10432 _ACEOF
10433
10434 fi
10435 if test "$doesnt_want_win32" = 1 ; then
10436 USE_UNIX=1
10437 USE_WIN32=0
10438 fi
10439
10440 if test "$USE_UNIX" = 1 ; then
10441 wxUSE_UNIX=yes
10442 cat >>confdefs.h <<\_ACEOF
10443 #define __UNIX__ 1
10444 _ACEOF
10445
10446 fi
10447
10448
10449 cat >confcache <<\_ACEOF
10450 # This file is a shell script that caches the results of configure
10451 # tests run on this system so they can be shared between configure
10452 # scripts and configure runs, see configure's option --config-cache.
10453 # It is not useful on other systems. If it contains results you don't
10454 # want to keep, you may remove or edit it.
10455 #
10456 # config.status only pays attention to the cache file if you give it
10457 # the --recheck option to rerun configure.
10458 #
10459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10461 # following values.
10462
10463 _ACEOF
10464
10465 # The following way of writing the cache mishandles newlines in values,
10466 # but we know of no workaround that is simple, portable, and efficient.
10467 # So, don't put newlines in cache variables' values.
10468 # Ultrix sh set writes to stderr and can't be redirected directly,
10469 # and sets the high bit in the cache file unless we assign to the vars.
10470 {
10471 (set) 2>&1 |
10472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10473 *ac_space=\ *)
10474 # `set' does not quote correctly, so add quotes (double-quote
10475 # substitution turns \\\\ into \\, and sed turns \\ into \).
10476 sed -n \
10477 "s/'/'\\\\''/g;
10478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10479 ;;
10480 *)
10481 # `set' quotes correctly as required by POSIX, so do not add quotes.
10482 sed -n \
10483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10484 ;;
10485 esac;
10486 } |
10487 sed '
10488 t clear
10489 : clear
10490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10491 t end
10492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10493 : end' >>confcache
10494 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10495 if test -w $cache_file; then
10496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10497 cat confcache >$cache_file
10498 else
10499 echo "not updating unwritable cache $cache_file"
10500 fi
10501 fi
10502 rm -f confcache
10503
10504 if test "$build" != "$host" ; then
10505 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10506 CC=$host_alias-gcc
10507 CXX=$host_alias-c++
10508 AR=$host_alias-ar
10509 RANLIB=$host_alias-ranlib
10510 DLLTOOL=$host_alias-dlltool
10511 RESCOMP=$host_alias-windres
10512 STRIP=$host_alias-strip
10513 elif test "x$CC" '!=' "x"; then
10514 echo "You set CC, I assume you know what you are doing."
10515 else
10516 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10517 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10518 { (exit 1); exit 1; }; }
10519 fi
10520 fi
10521
10522 CFLAGS=${CFLAGS:=}
10523 ac_ext=c
10524 ac_cpp='$CPP $CPPFLAGS'
10525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10528 if test -n "$ac_tool_prefix"; then
10529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10531 echo "$as_me:$LINENO: checking for $ac_word" >&5
10532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10533 if test "${ac_cv_prog_CC+set}" = set; then
10534 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 else
10536 if test -n "$CC"; then
10537 ac_cv_prog_CC="$CC" # Let the user override the test.
10538 else
10539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10540 for as_dir in $PATH
10541 do
10542 IFS=$as_save_IFS
10543 test -z "$as_dir" && as_dir=.
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10546 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10548 break 2
10549 fi
10550 done
10551 done
10552
10553 fi
10554 fi
10555 CC=$ac_cv_prog_CC
10556 if test -n "$CC"; then
10557 echo "$as_me:$LINENO: result: $CC" >&5
10558 echo "${ECHO_T}$CC" >&6
10559 else
10560 echo "$as_me:$LINENO: result: no" >&5
10561 echo "${ECHO_T}no" >&6
10562 fi
10563
10564 fi
10565 if test -z "$ac_cv_prog_CC"; then
10566 ac_ct_CC=$CC
10567 # Extract the first word of "gcc", so it can be a program name with args.
10568 set dummy gcc; ac_word=$2
10569 echo "$as_me:$LINENO: checking for $ac_word" >&5
10570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10572 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 else
10574 if test -n "$ac_ct_CC"; then
10575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10576 else
10577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10578 for as_dir in $PATH
10579 do
10580 IFS=$as_save_IFS
10581 test -z "$as_dir" && as_dir=.
10582 for ac_exec_ext in '' $ac_executable_extensions; do
10583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10584 ac_cv_prog_ac_ct_CC="gcc"
10585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10586 break 2
10587 fi
10588 done
10589 done
10590
10591 fi
10592 fi
10593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10594 if test -n "$ac_ct_CC"; then
10595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10596 echo "${ECHO_T}$ac_ct_CC" >&6
10597 else
10598 echo "$as_me:$LINENO: result: no" >&5
10599 echo "${ECHO_T}no" >&6
10600 fi
10601
10602 CC=$ac_ct_CC
10603 else
10604 CC="$ac_cv_prog_CC"
10605 fi
10606
10607 if test -z "$CC"; then
10608 if test -n "$ac_tool_prefix"; then
10609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10610 set dummy ${ac_tool_prefix}cc; ac_word=$2
10611 echo "$as_me:$LINENO: checking for $ac_word" >&5
10612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10613 if test "${ac_cv_prog_CC+set}" = set; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 else
10616 if test -n "$CC"; then
10617 ac_cv_prog_CC="$CC" # Let the user override the test.
10618 else
10619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10620 for as_dir in $PATH
10621 do
10622 IFS=$as_save_IFS
10623 test -z "$as_dir" && as_dir=.
10624 for ac_exec_ext in '' $ac_executable_extensions; do
10625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10626 ac_cv_prog_CC="${ac_tool_prefix}cc"
10627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10628 break 2
10629 fi
10630 done
10631 done
10632
10633 fi
10634 fi
10635 CC=$ac_cv_prog_CC
10636 if test -n "$CC"; then
10637 echo "$as_me:$LINENO: result: $CC" >&5
10638 echo "${ECHO_T}$CC" >&6
10639 else
10640 echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6
10642 fi
10643
10644 fi
10645 if test -z "$ac_cv_prog_CC"; then
10646 ac_ct_CC=$CC
10647 # Extract the first word of "cc", so it can be a program name with args.
10648 set dummy cc; ac_word=$2
10649 echo "$as_me:$LINENO: checking for $ac_word" >&5
10650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 else
10654 if test -n "$ac_ct_CC"; then
10655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10656 else
10657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10658 for as_dir in $PATH
10659 do
10660 IFS=$as_save_IFS
10661 test -z "$as_dir" && as_dir=.
10662 for ac_exec_ext in '' $ac_executable_extensions; do
10663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10664 ac_cv_prog_ac_ct_CC="cc"
10665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10666 break 2
10667 fi
10668 done
10669 done
10670
10671 fi
10672 fi
10673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10674 if test -n "$ac_ct_CC"; then
10675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10676 echo "${ECHO_T}$ac_ct_CC" >&6
10677 else
10678 echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6
10680 fi
10681
10682 CC=$ac_ct_CC
10683 else
10684 CC="$ac_cv_prog_CC"
10685 fi
10686
10687 fi
10688 if test -z "$CC"; then
10689 # Extract the first word of "cc", so it can be a program name with args.
10690 set dummy cc; ac_word=$2
10691 echo "$as_me:$LINENO: checking for $ac_word" >&5
10692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10693 if test "${ac_cv_prog_CC+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10695 else
10696 if test -n "$CC"; then
10697 ac_cv_prog_CC="$CC" # Let the user override the test.
10698 else
10699 ac_prog_rejected=no
10700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10701 for as_dir in $PATH
10702 do
10703 IFS=$as_save_IFS
10704 test -z "$as_dir" && as_dir=.
10705 for ac_exec_ext in '' $ac_executable_extensions; do
10706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10708 ac_prog_rejected=yes
10709 continue
10710 fi
10711 ac_cv_prog_CC="cc"
10712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10713 break 2
10714 fi
10715 done
10716 done
10717
10718 if test $ac_prog_rejected = yes; then
10719 # We found a bogon in the path, so make sure we never use it.
10720 set dummy $ac_cv_prog_CC
10721 shift
10722 if test $# != 0; then
10723 # We chose a different compiler from the bogus one.
10724 # However, it has the same basename, so the bogon will be chosen
10725 # first if we set CC to just the basename; use the full file name.
10726 shift
10727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10728 fi
10729 fi
10730 fi
10731 fi
10732 CC=$ac_cv_prog_CC
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10736 else
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10739 fi
10740
10741 fi
10742 if test -z "$CC"; then
10743 if test -n "$ac_tool_prefix"; then
10744 for ac_prog in cl
10745 do
10746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10748 echo "$as_me:$LINENO: checking for $ac_word" >&5
10749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10750 if test "${ac_cv_prog_CC+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 else
10753 if test -n "$CC"; then
10754 ac_cv_prog_CC="$CC" # Let the user override the test.
10755 else
10756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10757 for as_dir in $PATH
10758 do
10759 IFS=$as_save_IFS
10760 test -z "$as_dir" && as_dir=.
10761 for ac_exec_ext in '' $ac_executable_extensions; do
10762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10765 break 2
10766 fi
10767 done
10768 done
10769
10770 fi
10771 fi
10772 CC=$ac_cv_prog_CC
10773 if test -n "$CC"; then
10774 echo "$as_me:$LINENO: result: $CC" >&5
10775 echo "${ECHO_T}$CC" >&6
10776 else
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10779 fi
10780
10781 test -n "$CC" && break
10782 done
10783 fi
10784 if test -z "$CC"; then
10785 ac_ct_CC=$CC
10786 for ac_prog in cl
10787 do
10788 # Extract the first word of "$ac_prog", so it can be a program name with args.
10789 set dummy $ac_prog; ac_word=$2
10790 echo "$as_me:$LINENO: checking for $ac_word" >&5
10791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10794 else
10795 if test -n "$ac_ct_CC"; then
10796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10797 else
10798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10799 for as_dir in $PATH
10800 do
10801 IFS=$as_save_IFS
10802 test -z "$as_dir" && as_dir=.
10803 for ac_exec_ext in '' $ac_executable_extensions; do
10804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10805 ac_cv_prog_ac_ct_CC="$ac_prog"
10806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10807 break 2
10808 fi
10809 done
10810 done
10811
10812 fi
10813 fi
10814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10815 if test -n "$ac_ct_CC"; then
10816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10817 echo "${ECHO_T}$ac_ct_CC" >&6
10818 else
10819 echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6
10821 fi
10822
10823 test -n "$ac_ct_CC" && break
10824 done
10825
10826 CC=$ac_ct_CC
10827 fi
10828
10829 fi
10830
10831
10832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10833 See \`config.log' for more details." >&5
10834 echo "$as_me: error: no acceptable C compiler found in \$PATH
10835 See \`config.log' for more details." >&2;}
10836 { (exit 1); exit 1; }; }
10837
10838 # Provide some information about the compiler.
10839 echo "$as_me:$LINENO:" \
10840 "checking for C compiler version" >&5
10841 ac_compiler=`set X $ac_compile; echo $2`
10842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10843 (eval $ac_compiler --version </dev/null >&5) 2>&5
10844 ac_status=$?
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }
10847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10848 (eval $ac_compiler -v </dev/null >&5) 2>&5
10849 ac_status=$?
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }
10852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10853 (eval $ac_compiler -V </dev/null >&5) 2>&5
10854 ac_status=$?
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }
10857
10858 cat >conftest.$ac_ext <<_ACEOF
10859 /* confdefs.h. */
10860 _ACEOF
10861 cat confdefs.h >>conftest.$ac_ext
10862 cat >>conftest.$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10864
10865 int
10866 main ()
10867 {
10868
10869 ;
10870 return 0;
10871 }
10872 _ACEOF
10873 ac_clean_files_save=$ac_clean_files
10874 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10875 # Try to create an executable without -o first, disregard a.out.
10876 # It will help us diagnose broken compilers, and finding out an intuition
10877 # of exeext.
10878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10880 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10882 (eval $ac_link_default) 2>&5
10883 ac_status=$?
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; then
10886 # Find the output, starting from the most likely. This scheme is
10887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10888 # resort.
10889
10890 # Be careful to initialize this variable, since it used to be cached.
10891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10892 ac_cv_exeext=
10893 # b.out is created by i960 compilers.
10894 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10895 do
10896 test -f "$ac_file" || continue
10897 case $ac_file in
10898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10899 ;;
10900 conftest.$ac_ext )
10901 # This is the source file.
10902 ;;
10903 [ab].out )
10904 # We found the default executable, but exeext='' is most
10905 # certainly right.
10906 break;;
10907 *.* )
10908 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10909 # FIXME: I believe we export ac_cv_exeext for Libtool,
10910 # but it would be cool to find out if it's true. Does anybody
10911 # maintain Libtool? --akim.
10912 export ac_cv_exeext
10913 break;;
10914 * )
10915 break;;
10916 esac
10917 done
10918 else
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.$ac_ext >&5
10921
10922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10923 See \`config.log' for more details." >&5
10924 echo "$as_me: error: C compiler cannot create executables
10925 See \`config.log' for more details." >&2;}
10926 { (exit 77); exit 77; }; }
10927 fi
10928
10929 ac_exeext=$ac_cv_exeext
10930 echo "$as_me:$LINENO: result: $ac_file" >&5
10931 echo "${ECHO_T}$ac_file" >&6
10932
10933 # Check the compiler produces executables we can run. If not, either
10934 # the compiler is broken, or we cross compile.
10935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10938 # If not cross compiling, check that we can run a simple program.
10939 if test "$cross_compiling" != yes; then
10940 if { ac_try='./$ac_file'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10946 cross_compiling=no
10947 else
10948 if test "$cross_compiling" = maybe; then
10949 cross_compiling=yes
10950 else
10951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10952 If you meant to cross compile, use \`--host'.
10953 See \`config.log' for more details." >&5
10954 echo "$as_me: error: cannot run C compiled programs.
10955 If you meant to cross compile, use \`--host'.
10956 See \`config.log' for more details." >&2;}
10957 { (exit 1); exit 1; }; }
10958 fi
10959 fi
10960 fi
10961 echo "$as_me:$LINENO: result: yes" >&5
10962 echo "${ECHO_T}yes" >&6
10963
10964 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10965 ac_clean_files=$ac_clean_files_save
10966 # Check the compiler produces executables we can run. If not, either
10967 # the compiler is broken, or we cross compile.
10968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10971 echo "${ECHO_T}$cross_compiling" >&6
10972
10973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10976 (eval $ac_link) 2>&5
10977 ac_status=$?
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; then
10980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10982 # work properly (i.e., refer to `conftest.exe'), while it won't with
10983 # `rm'.
10984 for ac_file in conftest.exe conftest conftest.*; do
10985 test -f "$ac_file" || continue
10986 case $ac_file in
10987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10988 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10989 export ac_cv_exeext
10990 break;;
10991 * ) break;;
10992 esac
10993 done
10994 else
10995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10996 See \`config.log' for more details." >&5
10997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10998 See \`config.log' for more details." >&2;}
10999 { (exit 1); exit 1; }; }
11000 fi
11001
11002 rm -f conftest$ac_cv_exeext
11003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11004 echo "${ECHO_T}$ac_cv_exeext" >&6
11005
11006 rm -f conftest.$ac_ext
11007 EXEEXT=$ac_cv_exeext
11008 ac_exeext=$EXEEXT
11009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11011 if test "${ac_cv_objext+set}" = set; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11013 else
11014 cat >conftest.$ac_ext <<_ACEOF
11015 /* confdefs.h. */
11016 _ACEOF
11017 cat confdefs.h >>conftest.$ac_ext
11018 cat >>conftest.$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11020
11021 int
11022 main ()
11023 {
11024
11025 ;
11026 return 0;
11027 }
11028 _ACEOF
11029 rm -f conftest.o conftest.obj
11030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11031 (eval $ac_compile) 2>&5
11032 ac_status=$?
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; then
11035 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11036 case $ac_file in
11037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11038 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11039 break;;
11040 esac
11041 done
11042 else
11043 echo "$as_me: failed program was:" >&5
11044 sed 's/^/| /' conftest.$ac_ext >&5
11045
11046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11047 See \`config.log' for more details." >&5
11048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11049 See \`config.log' for more details." >&2;}
11050 { (exit 1); exit 1; }; }
11051 fi
11052
11053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11054 fi
11055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11056 echo "${ECHO_T}$ac_cv_objext" >&6
11057 OBJEXT=$ac_cv_objext
11058 ac_objext=$OBJEXT
11059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11063 else
11064 cat >conftest.$ac_ext <<_ACEOF
11065 /* confdefs.h. */
11066 _ACEOF
11067 cat confdefs.h >>conftest.$ac_ext
11068 cat >>conftest.$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11070
11071 int
11072 main ()
11073 {
11074 #ifndef __GNUC__
11075 choke me
11076 #endif
11077
11078 ;
11079 return 0;
11080 }
11081 _ACEOF
11082 rm -f conftest.$ac_objext
11083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11084 (eval $ac_compile) 2>conftest.er1
11085 ac_status=$?
11086 grep -v '^ *+' conftest.er1 >conftest.err
11087 rm -f conftest.er1
11088 cat conftest.err >&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } &&
11091 { ac_try='test -z "$ac_c_werror_flag"
11092 || test ! -s conftest.err'
11093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11094 (eval $ac_try) 2>&5
11095 ac_status=$?
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); }; } &&
11098 { ac_try='test -s conftest.$ac_objext'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11101 ac_status=$?
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11104 ac_compiler_gnu=yes
11105 else
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.$ac_ext >&5
11108
11109 ac_compiler_gnu=no
11110 fi
11111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11113
11114 fi
11115 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11116 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11117 GCC=`test $ac_compiler_gnu = yes && echo yes`
11118 ac_test_CFLAGS=${CFLAGS+set}
11119 ac_save_CFLAGS=$CFLAGS
11120 CFLAGS="-g"
11121 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11122 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11123 if test "${ac_cv_prog_cc_g+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 cat >conftest.$ac_ext <<_ACEOF
11127 /* confdefs.h. */
11128 _ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132
11133 int
11134 main ()
11135 {
11136
11137 ;
11138 return 0;
11139 }
11140 _ACEOF
11141 rm -f conftest.$ac_objext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11143 (eval $ac_compile) 2>conftest.er1
11144 ac_status=$?
11145 grep -v '^ *+' conftest.er1 >conftest.err
11146 rm -f conftest.er1
11147 cat conftest.err >&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -z "$ac_c_werror_flag"
11151 || test ! -s conftest.err'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; } &&
11157 { ac_try='test -s conftest.$ac_objext'
11158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11159 (eval $ac_try) 2>&5
11160 ac_status=$?
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); }; }; then
11163 ac_cv_prog_cc_g=yes
11164 else
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.$ac_ext >&5
11167
11168 ac_cv_prog_cc_g=no
11169 fi
11170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11171 fi
11172 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11173 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11174 if test "$ac_test_CFLAGS" = set; then
11175 CFLAGS=$ac_save_CFLAGS
11176 elif test $ac_cv_prog_cc_g = yes; then
11177 if test "$GCC" = yes; then
11178 CFLAGS="-g -O2"
11179 else
11180 CFLAGS="-g"
11181 fi
11182 else
11183 if test "$GCC" = yes; then
11184 CFLAGS="-O2"
11185 else
11186 CFLAGS=
11187 fi
11188 fi
11189 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11190 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11191 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 else
11194 ac_cv_prog_cc_stdc=no
11195 ac_save_CC=$CC
11196 cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h. */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <stdarg.h>
11203 #include <stdio.h>
11204 #include <sys/types.h>
11205 #include <sys/stat.h>
11206 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11207 struct buf { int x; };
11208 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11209 static char *e (p, i)
11210 char **p;
11211 int i;
11212 {
11213 return p[i];
11214 }
11215 static char *f (char * (*g) (char **, int), char **p, ...)
11216 {
11217 char *s;
11218 va_list v;
11219 va_start (v,p);
11220 s = g (p, va_arg (v,int));
11221 va_end (v);
11222 return s;
11223 }
11224
11225 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11226 function prototypes and stuff, but not '\xHH' hex character constants.
11227 These don't provoke an error unfortunately, instead are silently treated
11228 as 'x'. The following induces an error, until -std1 is added to get
11229 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11230 array size at least. It's necessary to write '\x00'==0 to get something
11231 that's true only with -std1. */
11232 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11233
11234 int test (int i, double x);
11235 struct s1 {int (*f) (int a);};
11236 struct s2 {int (*f) (double a);};
11237 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11238 int argc;
11239 char **argv;
11240 int
11241 main ()
11242 {
11243 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11244 ;
11245 return 0;
11246 }
11247 _ACEOF
11248 # Don't try gcc -ansi; that turns off useful extensions and
11249 # breaks some systems' header files.
11250 # AIX -qlanglvl=ansi
11251 # Ultrix and OSF/1 -std1
11252 # HP-UX 10.20 and later -Ae
11253 # HP-UX older versions -Aa -D_HPUX_SOURCE
11254 # SVR4 -Xc -D__EXTENSIONS__
11255 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11256 do
11257 CC="$ac_save_CC $ac_arg"
11258 rm -f conftest.$ac_objext
11259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11260 (eval $ac_compile) 2>conftest.er1
11261 ac_status=$?
11262 grep -v '^ *+' conftest.er1 >conftest.err
11263 rm -f conftest.er1
11264 cat conftest.err >&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } &&
11267 { ac_try='test -z "$ac_c_werror_flag"
11268 || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11271 ac_status=$?
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try='test -s conftest.$ac_objext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11277 ac_status=$?
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 ac_cv_prog_cc_stdc=$ac_arg
11281 break
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11285
11286 fi
11287 rm -f conftest.err conftest.$ac_objext
11288 done
11289 rm -f conftest.$ac_ext conftest.$ac_objext
11290 CC=$ac_save_CC
11291
11292 fi
11293
11294 case "x$ac_cv_prog_cc_stdc" in
11295 x|xno)
11296 echo "$as_me:$LINENO: result: none needed" >&5
11297 echo "${ECHO_T}none needed" >&6 ;;
11298 *)
11299 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11300 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11301 CC="$CC $ac_cv_prog_cc_stdc" ;;
11302 esac
11303
11304 # Some people use a C++ compiler to compile C. Since we use `exit',
11305 # in C++ we need to declare it. In case someone uses the same compiler
11306 # for both compiling C and C++ we need to have the C++ compiler decide
11307 # the declaration of exit, since it's the most demanding environment.
11308 cat >conftest.$ac_ext <<_ACEOF
11309 #ifndef __cplusplus
11310 choke me
11311 #endif
11312 _ACEOF
11313 rm -f conftest.$ac_objext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11315 (eval $ac_compile) 2>conftest.er1
11316 ac_status=$?
11317 grep -v '^ *+' conftest.er1 >conftest.err
11318 rm -f conftest.er1
11319 cat conftest.err >&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try='test -z "$ac_c_werror_flag"
11323 || test ! -s conftest.err'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11326 ac_status=$?
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; } &&
11329 { ac_try='test -s conftest.$ac_objext'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11332 ac_status=$?
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 for ac_declaration in \
11336 '' \
11337 'extern "C" void std::exit (int) throw (); using std::exit;' \
11338 'extern "C" void std::exit (int); using std::exit;' \
11339 'extern "C" void exit (int) throw ();' \
11340 'extern "C" void exit (int);' \
11341 'void exit (int);'
11342 do
11343 cat >conftest.$ac_ext <<_ACEOF
11344 /* confdefs.h. */
11345 _ACEOF
11346 cat confdefs.h >>conftest.$ac_ext
11347 cat >>conftest.$ac_ext <<_ACEOF
11348 /* end confdefs.h. */
11349 $ac_declaration
11350 #include <stdlib.h>
11351 int
11352 main ()
11353 {
11354 exit (42);
11355 ;
11356 return 0;
11357 }
11358 _ACEOF
11359 rm -f conftest.$ac_objext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11361 (eval $ac_compile) 2>conftest.er1
11362 ac_status=$?
11363 grep -v '^ *+' conftest.er1 >conftest.err
11364 rm -f conftest.er1
11365 cat conftest.err >&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } &&
11368 { ac_try='test -z "$ac_c_werror_flag"
11369 || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11372 ac_status=$?
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11378 ac_status=$?
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 :
11382 else
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11385
11386 continue
11387 fi
11388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11389 cat >conftest.$ac_ext <<_ACEOF
11390 /* confdefs.h. */
11391 _ACEOF
11392 cat confdefs.h >>conftest.$ac_ext
11393 cat >>conftest.$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 $ac_declaration
11396 int
11397 main ()
11398 {
11399 exit (42);
11400 ;
11401 return 0;
11402 }
11403 _ACEOF
11404 rm -f conftest.$ac_objext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11406 (eval $ac_compile) 2>conftest.er1
11407 ac_status=$?
11408 grep -v '^ *+' conftest.er1 >conftest.err
11409 rm -f conftest.er1
11410 cat conftest.err >&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } &&
11413 { ac_try='test -z "$ac_c_werror_flag"
11414 || test ! -s conftest.err'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11417 ac_status=$?
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; } &&
11420 { ac_try='test -s conftest.$ac_objext'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11423 ac_status=$?
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then
11426 break
11427 else
11428 echo "$as_me: failed program was:" >&5
11429 sed 's/^/| /' conftest.$ac_ext >&5
11430
11431 fi
11432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11433 done
11434 rm -f conftest*
11435 if test -n "$ac_declaration"; then
11436 echo '#ifdef __cplusplus' >>confdefs.h
11437 echo $ac_declaration >>confdefs.h
11438 echo '#endif' >>confdefs.h
11439 fi
11440
11441 else
11442 echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11444
11445 fi
11446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11447 ac_ext=c
11448 ac_cpp='$CPP $CPPFLAGS'
11449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11452
11453
11454 ac_ext=c
11455 ac_cpp='$CPP $CPPFLAGS'
11456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11459
11460 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11461 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11462 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11463 echo $ECHO_N "(cached) $ECHO_C" >&6
11464 else
11465 cat >conftest.$ac_ext <<_ACEOF
11466 /* confdefs.h. */
11467 _ACEOF
11468 cat confdefs.h >>conftest.$ac_ext
11469 cat >>conftest.$ac_ext <<_ACEOF
11470 /* end confdefs.h. */
11471
11472 int
11473 main ()
11474 {
11475 #ifndef __MWERKS__
11476 choke me
11477 #endif
11478
11479 ;
11480 return 0;
11481 }
11482 _ACEOF
11483 rm -f conftest.$ac_objext
11484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11485 (eval $ac_compile) 2>conftest.er1
11486 ac_status=$?
11487 grep -v '^ *+' conftest.er1 >conftest.err
11488 rm -f conftest.er1
11489 cat conftest.err >&5
11490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491 (exit $ac_status); } &&
11492 { ac_try='test -z "$ac_c_werror_flag"
11493 || test ! -s conftest.err'
11494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11495 (eval $ac_try) 2>&5
11496 ac_status=$?
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; } &&
11499 { ac_try='test -s conftest.$ac_objext'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11502 ac_status=$?
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; }; then
11505 bakefile_compiler_mwerks=yes
11506 else
11507 echo "$as_me: failed program was:" >&5
11508 sed 's/^/| /' conftest.$ac_ext >&5
11509
11510 bakefile_compiler_mwerks=no
11511 fi
11512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11513 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11514
11515 fi
11516 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11517 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11518
11519 MWCC=`test $bakefile_compiler_mwerks = yes && echo yes`
11520 ac_ext=c
11521 ac_cpp='$CPP $CPPFLAGS'
11522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11525
11526
11527
11528 ac_ext=c
11529 ac_cpp='$CPP $CPPFLAGS'
11530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11533 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11534 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11535 # On Suns, sometimes $CPP names a directory.
11536 if test -n "$CPP" && test -d "$CPP"; then
11537 CPP=
11538 fi
11539 if test -z "$CPP"; then
11540 if test "${ac_cv_prog_CPP+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 else
11543 # Double quotes because CPP needs to be expanded
11544 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11545 do
11546 ac_preproc_ok=false
11547 for ac_c_preproc_warn_flag in '' yes
11548 do
11549 # Use a header file that comes with gcc, so configuring glibc
11550 # with a fresh cross-compiler works.
11551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11552 # <limits.h> exists even on freestanding compilers.
11553 # On the NeXT, cc -E runs the code through the compiler's parser,
11554 # not just through cpp. "Syntax error" is here to catch this case.
11555 cat >conftest.$ac_ext <<_ACEOF
11556 /* confdefs.h. */
11557 _ACEOF
11558 cat confdefs.h >>conftest.$ac_ext
11559 cat >>conftest.$ac_ext <<_ACEOF
11560 /* end confdefs.h. */
11561 #ifdef __STDC__
11562 # include <limits.h>
11563 #else
11564 # include <assert.h>
11565 #endif
11566 Syntax error
11567 _ACEOF
11568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11570 ac_status=$?
11571 grep -v '^ *+' conftest.er1 >conftest.err
11572 rm -f conftest.er1
11573 cat conftest.err >&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); } >/dev/null; then
11576 if test -s conftest.err; then
11577 ac_cpp_err=$ac_c_preproc_warn_flag
11578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11579 else
11580 ac_cpp_err=
11581 fi
11582 else
11583 ac_cpp_err=yes
11584 fi
11585 if test -z "$ac_cpp_err"; then
11586 :
11587 else
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.$ac_ext >&5
11590
11591 # Broken: fails on valid input.
11592 continue
11593 fi
11594 rm -f conftest.err conftest.$ac_ext
11595
11596 # OK, works on sane cases. Now check whether non-existent headers
11597 # can be detected and how.
11598 cat >conftest.$ac_ext <<_ACEOF
11599 /* confdefs.h. */
11600 _ACEOF
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11604 #include <ac_nonexistent.h>
11605 _ACEOF
11606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11608 ac_status=$?
11609 grep -v '^ *+' conftest.er1 >conftest.err
11610 rm -f conftest.er1
11611 cat conftest.err >&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } >/dev/null; then
11614 if test -s conftest.err; then
11615 ac_cpp_err=$ac_c_preproc_warn_flag
11616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11617 else
11618 ac_cpp_err=
11619 fi
11620 else
11621 ac_cpp_err=yes
11622 fi
11623 if test -z "$ac_cpp_err"; then
11624 # Broken: success on invalid input.
11625 continue
11626 else
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11629
11630 # Passes both tests.
11631 ac_preproc_ok=:
11632 break
11633 fi
11634 rm -f conftest.err conftest.$ac_ext
11635
11636 done
11637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11638 rm -f conftest.err conftest.$ac_ext
11639 if $ac_preproc_ok; then
11640 break
11641 fi
11642
11643 done
11644 ac_cv_prog_CPP=$CPP
11645
11646 fi
11647 CPP=$ac_cv_prog_CPP
11648 else
11649 ac_cv_prog_CPP=$CPP
11650 fi
11651 echo "$as_me:$LINENO: result: $CPP" >&5
11652 echo "${ECHO_T}$CPP" >&6
11653 ac_preproc_ok=false
11654 for ac_c_preproc_warn_flag in '' yes
11655 do
11656 # Use a header file that comes with gcc, so configuring glibc
11657 # with a fresh cross-compiler works.
11658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11659 # <limits.h> exists even on freestanding compilers.
11660 # On the NeXT, cc -E runs the code through the compiler's parser,
11661 # not just through cpp. "Syntax error" is here to catch this case.
11662 cat >conftest.$ac_ext <<_ACEOF
11663 /* confdefs.h. */
11664 _ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 #ifdef __STDC__
11669 # include <limits.h>
11670 #else
11671 # include <assert.h>
11672 #endif
11673 Syntax error
11674 _ACEOF
11675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11677 ac_status=$?
11678 grep -v '^ *+' conftest.er1 >conftest.err
11679 rm -f conftest.er1
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } >/dev/null; then
11683 if test -s conftest.err; then
11684 ac_cpp_err=$ac_c_preproc_warn_flag
11685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11686 else
11687 ac_cpp_err=
11688 fi
11689 else
11690 ac_cpp_err=yes
11691 fi
11692 if test -z "$ac_cpp_err"; then
11693 :
11694 else
11695 echo "$as_me: failed program was:" >&5
11696 sed 's/^/| /' conftest.$ac_ext >&5
11697
11698 # Broken: fails on valid input.
11699 continue
11700 fi
11701 rm -f conftest.err conftest.$ac_ext
11702
11703 # OK, works on sane cases. Now check whether non-existent headers
11704 # can be detected and how.
11705 cat >conftest.$ac_ext <<_ACEOF
11706 /* confdefs.h. */
11707 _ACEOF
11708 cat confdefs.h >>conftest.$ac_ext
11709 cat >>conftest.$ac_ext <<_ACEOF
11710 /* end confdefs.h. */
11711 #include <ac_nonexistent.h>
11712 _ACEOF
11713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11715 ac_status=$?
11716 grep -v '^ *+' conftest.er1 >conftest.err
11717 rm -f conftest.er1
11718 cat conftest.err >&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } >/dev/null; then
11721 if test -s conftest.err; then
11722 ac_cpp_err=$ac_c_preproc_warn_flag
11723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11724 else
11725 ac_cpp_err=
11726 fi
11727 else
11728 ac_cpp_err=yes
11729 fi
11730 if test -z "$ac_cpp_err"; then
11731 # Broken: success on invalid input.
11732 continue
11733 else
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11736
11737 # Passes both tests.
11738 ac_preproc_ok=:
11739 break
11740 fi
11741 rm -f conftest.err conftest.$ac_ext
11742
11743 done
11744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11745 rm -f conftest.err conftest.$ac_ext
11746 if $ac_preproc_ok; then
11747 :
11748 else
11749 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11750 See \`config.log' for more details." >&5
11751 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11752 See \`config.log' for more details." >&2;}
11753 { (exit 1); exit 1; }; }
11754 fi
11755
11756 ac_ext=c
11757 ac_cpp='$CPP $CPPFLAGS'
11758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11761
11762
11763 echo "$as_me:$LINENO: checking for egrep" >&5
11764 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11765 if test "${ac_cv_prog_egrep+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 else
11768 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11769 then ac_cv_prog_egrep='grep -E'
11770 else ac_cv_prog_egrep='egrep'
11771 fi
11772 fi
11773 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11774 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11775 EGREP=$ac_cv_prog_egrep
11776
11777
11778 if test $ac_cv_c_compiler_gnu = yes; then
11779 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11780 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11781 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 else
11784 ac_pattern="Autoconf.*'x'"
11785 cat >conftest.$ac_ext <<_ACEOF
11786 /* confdefs.h. */
11787 _ACEOF
11788 cat confdefs.h >>conftest.$ac_ext
11789 cat >>conftest.$ac_ext <<_ACEOF
11790 /* end confdefs.h. */
11791 #include <sgtty.h>
11792 Autoconf TIOCGETP
11793 _ACEOF
11794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11795 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11796 ac_cv_prog_gcc_traditional=yes
11797 else
11798 ac_cv_prog_gcc_traditional=no
11799 fi
11800 rm -f conftest*
11801
11802
11803 if test $ac_cv_prog_gcc_traditional = no; then
11804 cat >conftest.$ac_ext <<_ACEOF
11805 /* confdefs.h. */
11806 _ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11810 #include <termio.h>
11811 Autoconf TCGETA
11812 _ACEOF
11813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11814 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11815 ac_cv_prog_gcc_traditional=yes
11816 fi
11817 rm -f conftest*
11818
11819 fi
11820 fi
11821 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11822 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11823 if test $ac_cv_prog_gcc_traditional = yes; then
11824 CC="$CC -traditional"
11825 fi
11826 fi
11827
11828
11829
11830
11831 ac_ext=cc
11832 ac_cpp='$CXXCPP $CPPFLAGS'
11833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11836
11837
11838 CXXFLAGS=${CXXFLAGS:=}
11839 ac_ext=cc
11840 ac_cpp='$CXXCPP $CPPFLAGS'
11841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11844 if test -n "$ac_tool_prefix"; then
11845 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11846 do
11847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11849 echo "$as_me:$LINENO: checking for $ac_word" >&5
11850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11851 if test "${ac_cv_prog_CXX+set}" = set; then
11852 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 else
11854 if test -n "$CXX"; then
11855 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11856 else
11857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858 for as_dir in $PATH
11859 do
11860 IFS=$as_save_IFS
11861 test -z "$as_dir" && as_dir=.
11862 for ac_exec_ext in '' $ac_executable_extensions; do
11863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11864 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11866 break 2
11867 fi
11868 done
11869 done
11870
11871 fi
11872 fi
11873 CXX=$ac_cv_prog_CXX
11874 if test -n "$CXX"; then
11875 echo "$as_me:$LINENO: result: $CXX" >&5
11876 echo "${ECHO_T}$CXX" >&6
11877 else
11878 echo "$as_me:$LINENO: result: no" >&5
11879 echo "${ECHO_T}no" >&6
11880 fi
11881
11882 test -n "$CXX" && break
11883 done
11884 fi
11885 if test -z "$CXX"; then
11886 ac_ct_CXX=$CXX
11887 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11888 do
11889 # Extract the first word of "$ac_prog", so it can be a program name with args.
11890 set dummy $ac_prog; ac_word=$2
11891 echo "$as_me:$LINENO: checking for $ac_word" >&5
11892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11893 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 else
11896 if test -n "$ac_ct_CXX"; then
11897 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11898 else
11899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11900 for as_dir in $PATH
11901 do
11902 IFS=$as_save_IFS
11903 test -z "$as_dir" && as_dir=.
11904 for ac_exec_ext in '' $ac_executable_extensions; do
11905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11906 ac_cv_prog_ac_ct_CXX="$ac_prog"
11907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11908 break 2
11909 fi
11910 done
11911 done
11912
11913 fi
11914 fi
11915 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11916 if test -n "$ac_ct_CXX"; then
11917 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11918 echo "${ECHO_T}$ac_ct_CXX" >&6
11919 else
11920 echo "$as_me:$LINENO: result: no" >&5
11921 echo "${ECHO_T}no" >&6
11922 fi
11923
11924 test -n "$ac_ct_CXX" && break
11925 done
11926 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11927
11928 CXX=$ac_ct_CXX
11929 fi
11930
11931
11932 # Provide some information about the compiler.
11933 echo "$as_me:$LINENO:" \
11934 "checking for C++ compiler version" >&5
11935 ac_compiler=`set X $ac_compile; echo $2`
11936 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11937 (eval $ac_compiler --version </dev/null >&5) 2>&5
11938 ac_status=$?
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }
11941 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11942 (eval $ac_compiler -v </dev/null >&5) 2>&5
11943 ac_status=$?
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }
11946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11947 (eval $ac_compiler -V </dev/null >&5) 2>&5
11948 ac_status=$?
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }
11951
11952 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11953 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11954 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 else
11957 cat >conftest.$ac_ext <<_ACEOF
11958 /* confdefs.h. */
11959 _ACEOF
11960 cat confdefs.h >>conftest.$ac_ext
11961 cat >>conftest.$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11963
11964 int
11965 main ()
11966 {
11967 #ifndef __GNUC__
11968 choke me
11969 #endif
11970
11971 ;
11972 return 0;
11973 }
11974 _ACEOF
11975 rm -f conftest.$ac_objext
11976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11977 (eval $ac_compile) 2>conftest.er1
11978 ac_status=$?
11979 grep -v '^ *+' conftest.er1 >conftest.err
11980 rm -f conftest.er1
11981 cat conftest.err >&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } &&
11984 { ac_try='test -z "$ac_cxx_werror_flag"
11985 || test ! -s conftest.err'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11988 ac_status=$?
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; } &&
11991 { ac_try='test -s conftest.$ac_objext'
11992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11993 (eval $ac_try) 2>&5
11994 ac_status=$?
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); }; }; then
11997 ac_compiler_gnu=yes
11998 else
11999 echo "$as_me: failed program was:" >&5
12000 sed 's/^/| /' conftest.$ac_ext >&5
12001
12002 ac_compiler_gnu=no
12003 fi
12004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12005 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12006
12007 fi
12008 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12009 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12010 GXX=`test $ac_compiler_gnu = yes && echo yes`
12011 ac_test_CXXFLAGS=${CXXFLAGS+set}
12012 ac_save_CXXFLAGS=$CXXFLAGS
12013 CXXFLAGS="-g"
12014 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12015 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12016 if test "${ac_cv_prog_cxx_g+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 else
12019 cat >conftest.$ac_ext <<_ACEOF
12020 /* confdefs.h. */
12021 _ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12025
12026 int
12027 main ()
12028 {
12029
12030 ;
12031 return 0;
12032 }
12033 _ACEOF
12034 rm -f conftest.$ac_objext
12035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12036 (eval $ac_compile) 2>conftest.er1
12037 ac_status=$?
12038 grep -v '^ *+' conftest.er1 >conftest.err
12039 rm -f conftest.er1
12040 cat conftest.err >&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); } &&
12043 { ac_try='test -z "$ac_cxx_werror_flag"
12044 || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12047 ac_status=$?
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } &&
12050 { ac_try='test -s conftest.$ac_objext'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12053 ac_status=$?
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then
12056 ac_cv_prog_cxx_g=yes
12057 else
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.$ac_ext >&5
12060
12061 ac_cv_prog_cxx_g=no
12062 fi
12063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12064 fi
12065 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12066 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12067 if test "$ac_test_CXXFLAGS" = set; then
12068 CXXFLAGS=$ac_save_CXXFLAGS
12069 elif test $ac_cv_prog_cxx_g = yes; then
12070 if test "$GXX" = yes; then
12071 CXXFLAGS="-g -O2"
12072 else
12073 CXXFLAGS="-g"
12074 fi
12075 else
12076 if test "$GXX" = yes; then
12077 CXXFLAGS="-O2"
12078 else
12079 CXXFLAGS=
12080 fi
12081 fi
12082 for ac_declaration in \
12083 '' \
12084 'extern "C" void std::exit (int) throw (); using std::exit;' \
12085 'extern "C" void std::exit (int); using std::exit;' \
12086 'extern "C" void exit (int) throw ();' \
12087 'extern "C" void exit (int);' \
12088 'void exit (int);'
12089 do
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 $ac_declaration
12097 #include <stdlib.h>
12098 int
12099 main ()
12100 {
12101 exit (42);
12102 ;
12103 return 0;
12104 }
12105 _ACEOF
12106 rm -f conftest.$ac_objext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12108 (eval $ac_compile) 2>conftest.er1
12109 ac_status=$?
12110 grep -v '^ *+' conftest.er1 >conftest.err
12111 rm -f conftest.er1
12112 cat conftest.err >&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } &&
12115 { ac_try='test -z "$ac_cxx_werror_flag"
12116 || test ! -s conftest.err'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; } &&
12122 { ac_try='test -s conftest.$ac_objext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12125 ac_status=$?
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 :
12129 else
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12132
12133 continue
12134 fi
12135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12136 cat >conftest.$ac_ext <<_ACEOF
12137 /* confdefs.h. */
12138 _ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 $ac_declaration
12143 int
12144 main ()
12145 {
12146 exit (42);
12147 ;
12148 return 0;
12149 }
12150 _ACEOF
12151 rm -f conftest.$ac_objext
12152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12153 (eval $ac_compile) 2>conftest.er1
12154 ac_status=$?
12155 grep -v '^ *+' conftest.er1 >conftest.err
12156 rm -f conftest.er1
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_cxx_werror_flag"
12161 || test ! -s conftest.err'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12164 ac_status=$?
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; } &&
12167 { ac_try='test -s conftest.$ac_objext'
12168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12169 (eval $ac_try) 2>&5
12170 ac_status=$?
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; }; then
12173 break
12174 else
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12177
12178 fi
12179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12180 done
12181 rm -f conftest*
12182 if test -n "$ac_declaration"; then
12183 echo '#ifdef __cplusplus' >>confdefs.h
12184 echo $ac_declaration >>confdefs.h
12185 echo '#endif' >>confdefs.h
12186 fi
12187
12188 ac_ext=cc
12189 ac_cpp='$CXXCPP $CPPFLAGS'
12190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12193
12194
12195 ac_ext=cc
12196 ac_cpp='$CXXCPP $CPPFLAGS'
12197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12200
12201 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12202 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12203 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12204 echo $ECHO_N "(cached) $ECHO_C" >&6
12205 else
12206 cat >conftest.$ac_ext <<_ACEOF
12207 /* confdefs.h. */
12208 _ACEOF
12209 cat confdefs.h >>conftest.$ac_ext
12210 cat >>conftest.$ac_ext <<_ACEOF
12211 /* end confdefs.h. */
12212
12213 int
12214 main ()
12215 {
12216 #ifndef __MWERKS__
12217 choke me
12218 #endif
12219
12220 ;
12221 return 0;
12222 }
12223 _ACEOF
12224 rm -f conftest.$ac_objext
12225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12226 (eval $ac_compile) 2>conftest.er1
12227 ac_status=$?
12228 grep -v '^ *+' conftest.er1 >conftest.err
12229 rm -f conftest.er1
12230 cat conftest.err >&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); } &&
12233 { ac_try='test -z "$ac_cxx_werror_flag"
12234 || test ! -s conftest.err'
12235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12236 (eval $ac_try) 2>&5
12237 ac_status=$?
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }; } &&
12240 { ac_try='test -s conftest.$ac_objext'
12241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12242 (eval $ac_try) 2>&5
12243 ac_status=$?
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); }; }; then
12246 bakefile_compiler_mwerks=yes
12247 else
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.$ac_ext >&5
12250
12251 bakefile_compiler_mwerks=no
12252 fi
12253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12254 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12255
12256 fi
12257 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12258 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12259
12260 MWCXX=`test $bakefile_compiler_mwerks = yes && echo yes`
12261 ac_ext=cc
12262 ac_cpp='$CXXCPP $CPPFLAGS'
12263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12266
12267
12268
12269 ac_ext=c
12270 ac_cpp='$CPP $CPPFLAGS'
12271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12274
12275
12276 if test -n "$ac_tool_prefix"; then
12277 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12278 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12279 echo "$as_me:$LINENO: checking for $ac_word" >&5
12280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12281 if test "${ac_cv_prog_RANLIB+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 else
12284 if test -n "$RANLIB"; then
12285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12286 else
12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12288 for as_dir in $PATH
12289 do
12290 IFS=$as_save_IFS
12291 test -z "$as_dir" && as_dir=.
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12296 break 2
12297 fi
12298 done
12299 done
12300
12301 fi
12302 fi
12303 RANLIB=$ac_cv_prog_RANLIB
12304 if test -n "$RANLIB"; then
12305 echo "$as_me:$LINENO: result: $RANLIB" >&5
12306 echo "${ECHO_T}$RANLIB" >&6
12307 else
12308 echo "$as_me:$LINENO: result: no" >&5
12309 echo "${ECHO_T}no" >&6
12310 fi
12311
12312 fi
12313 if test -z "$ac_cv_prog_RANLIB"; then
12314 ac_ct_RANLIB=$RANLIB
12315 # Extract the first word of "ranlib", so it can be a program name with args.
12316 set dummy ranlib; ac_word=$2
12317 echo "$as_me:$LINENO: checking for $ac_word" >&5
12318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12319 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12321 else
12322 if test -n "$ac_ct_RANLIB"; then
12323 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12324 else
12325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12326 for as_dir in $PATH
12327 do
12328 IFS=$as_save_IFS
12329 test -z "$as_dir" && as_dir=.
12330 for ac_exec_ext in '' $ac_executable_extensions; do
12331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12332 ac_cv_prog_ac_ct_RANLIB="ranlib"
12333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12334 break 2
12335 fi
12336 done
12337 done
12338
12339 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12340 fi
12341 fi
12342 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12343 if test -n "$ac_ct_RANLIB"; then
12344 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12345 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12346 else
12347 echo "$as_me:$LINENO: result: no" >&5
12348 echo "${ECHO_T}no" >&6
12349 fi
12350
12351 RANLIB=$ac_ct_RANLIB
12352 else
12353 RANLIB="$ac_cv_prog_RANLIB"
12354 fi
12355
12356
12357 # Extract the first word of "ar", so it can be a program name with args.
12358 set dummy ar; ac_word=$2
12359 echo "$as_me:$LINENO: checking for $ac_word" >&5
12360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12361 if test "${ac_cv_prog_AR+set}" = set; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 else
12364 if test -n "$AR"; then
12365 ac_cv_prog_AR="$AR" # Let the user override the test.
12366 else
12367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12368 for as_dir in $PATH
12369 do
12370 IFS=$as_save_IFS
12371 test -z "$as_dir" && as_dir=.
12372 for ac_exec_ext in '' $ac_executable_extensions; do
12373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12374 ac_cv_prog_AR="ar"
12375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12376 break 2
12377 fi
12378 done
12379 done
12380
12381 fi
12382 fi
12383 AR=$ac_cv_prog_AR
12384 if test -n "$AR"; then
12385 echo "$as_me:$LINENO: result: $AR" >&5
12386 echo "${ECHO_T}$AR" >&6
12387 else
12388 echo "$as_me:$LINENO: result: no" >&5
12389 echo "${ECHO_T}no" >&6
12390 fi
12391
12392 if test "x$AR" = "x" ; then
12393 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12394 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12395 { (exit 1); exit 1; }; }
12396 fi
12397
12398 # Find a good install program. We prefer a C program (faster),
12399 # so one script is as good as another. But avoid the broken or
12400 # incompatible versions:
12401 # SysV /etc/install, /usr/sbin/install
12402 # SunOS /usr/etc/install
12403 # IRIX /sbin/install
12404 # AIX /bin/install
12405 # AmigaOS /C/install, which installs bootblocks on floppy discs
12406 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12407 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12408 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12409 # OS/2's system install, which has a completely different semantic
12410 # ./install, which can be erroneously created by make from ./install.sh.
12411 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12412 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12413 if test -z "$INSTALL"; then
12414 if test "${ac_cv_path_install+set}" = set; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12416 else
12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12419 do
12420 IFS=$as_save_IFS
12421 test -z "$as_dir" && as_dir=.
12422 # Account for people who put trailing slashes in PATH elements.
12423 case $as_dir/ in
12424 ./ | .// | /cC/* | \
12425 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12426 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12427 /usr/ucb/* ) ;;
12428 *)
12429 # OSF1 and SCO ODT 3.0 have their own names for install.
12430 # Don't use installbsd from OSF since it installs stuff as root
12431 # by default.
12432 for ac_prog in ginstall scoinst install; do
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12435 if test $ac_prog = install &&
12436 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12437 # AIX install. It has an incompatible calling convention.
12438 :
12439 elif test $ac_prog = install &&
12440 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12441 # program-specific install script used by HP pwplus--don't use.
12442 :
12443 else
12444 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12445 break 3
12446 fi
12447 fi
12448 done
12449 done
12450 ;;
12451 esac
12452 done
12453
12454
12455 fi
12456 if test "${ac_cv_path_install+set}" = set; then
12457 INSTALL=$ac_cv_path_install
12458 else
12459 # As a last resort, use the slow shell script. We don't cache a
12460 # path for INSTALL within a source directory, because that will
12461 # break other packages using the cache if that directory is
12462 # removed, or if the path is relative.
12463 INSTALL=$ac_install_sh
12464 fi
12465 fi
12466 echo "$as_me:$LINENO: result: $INSTALL" >&5
12467 echo "${ECHO_T}$INSTALL" >&6
12468
12469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12470 # It thinks the first close brace ends the variable substitution.
12471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12472
12473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12474
12475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12476
12477
12478 case ${INSTALL} in
12479 /* ) # Absolute
12480 ;;
12481 ?:* ) # Drive letter, considered as absolute.
12482 ;;
12483 *)
12484 INSTALL=`pwd`/${INSTALL} ;;
12485 esac
12486
12487
12488 case "${host}" in
12489
12490 powerpc-*-darwin* )
12491 INSTALL_PROGRAM="cp -fp"
12492 INSTALL_DATA="cp -fp"
12493 ;;
12494 *)
12495 ;;
12496 esac
12497
12498 # Extract the first word of "strip", so it can be a program name with args.
12499 set dummy strip; ac_word=$2
12500 echo "$as_me:$LINENO: checking for $ac_word" >&5
12501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12502 if test "${ac_cv_prog_STRIP+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 else
12505 if test -n "$STRIP"; then
12506 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12507 else
12508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12509 for as_dir in $PATH
12510 do
12511 IFS=$as_save_IFS
12512 test -z "$as_dir" && as_dir=.
12513 for ac_exec_ext in '' $ac_executable_extensions; do
12514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12515 ac_cv_prog_STRIP="strip"
12516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12517 break 2
12518 fi
12519 done
12520 done
12521
12522 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12523 fi
12524 fi
12525 STRIP=$ac_cv_prog_STRIP
12526 if test -n "$STRIP"; then
12527 echo "$as_me:$LINENO: result: $STRIP" >&5
12528 echo "${ECHO_T}$STRIP" >&6
12529 else
12530 echo "$as_me:$LINENO: result: no" >&5
12531 echo "${ECHO_T}no" >&6
12532 fi
12533
12534
12535 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12536 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12537 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12538 echo $ECHO_N "(cached) $ECHO_C" >&6
12539 else
12540
12541 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12542 egrep -s GNU > /dev/null); then
12543 wx_cv_prog_makeisgnu="yes"
12544 else
12545 wx_cv_prog_makeisgnu="no"
12546 fi
12547
12548 fi
12549 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12550 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12551
12552 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12553 IF_GNU_MAKE=""
12554 else
12555 IF_GNU_MAKE="#"
12556 fi
12557
12558
12559
12560 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12561 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12562 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12563 if test "${wx_cv_prog_makevpath+set}" = set; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12565 else
12566
12567 cat - << EOF > confMake
12568 check : file
12569 cp \$? \$@
12570 cp \$? final_file
12571 EOF
12572
12573 if test ! -d sub ; then
12574 mkdir sub
12575 fi
12576 echo dummy > sub/file
12577 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12578 RESULT=$?
12579 rm -f sub/file check final_file confMake
12580 rmdir sub
12581 if test "$RESULT" = 0; then
12582 wx_cv_prog_makevpath="yes"
12583 else
12584 wx_cv_prog_makevpath="no"
12585 fi
12586
12587 fi
12588 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12589 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12590
12591 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12592 { { echo "$as_me:$LINENO: error:
12593 You need a make-utility that is able to use the variable
12594 VPATH correctly.
12595 If your version of make does not support VPATH correctly,
12596 please install GNU-make (possibly as gmake), and start
12597 configure with the following command:
12598 export MAKE=gmake; ./configure for sh-type shells
12599 setenv MAKE gmake; ./configure for csh-type shells
12600 Also please do remember to use gmake in this case every time
12601 you are trying to compile.
12602 " >&5
12603 echo "$as_me: error:
12604 You need a make-utility that is able to use the variable
12605 VPATH correctly.
12606 If your version of make does not support VPATH correctly,
12607 please install GNU-make (possibly as gmake), and start
12608 configure with the following command:
12609 export MAKE=gmake; ./configure for sh-type shells
12610 setenv MAKE gmake; ./configure for csh-type shells
12611 Also please do remember to use gmake in this case every time
12612 you are trying to compile.
12613 " >&2;}
12614 { (exit 1); exit 1; }; }
12615 fi fi
12616 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12617 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12618 LN_S=$as_ln_s
12619 if test "$LN_S" = "ln -s"; then
12620 echo "$as_me:$LINENO: result: yes" >&5
12621 echo "${ECHO_T}yes" >&6
12622 else
12623 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12624 echo "${ECHO_T}no, using $LN_S" >&6
12625 fi
12626
12627
12628
12629 case "${host}" in
12630 powerpc-*-darwin* )
12631 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
12632 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
12633 cat >conftest.$ac_ext <<_ACEOF
12634 /* confdefs.h. */
12635 _ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12639
12640 int
12641 main ()
12642 {
12643 #ifndef __POWERPC__
12644 choke me for lack of PowerPC
12645 #endif
12646
12647 ;
12648 return 0;
12649 }
12650 _ACEOF
12651 rm -f conftest.$ac_objext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12653 (eval $ac_compile) 2>conftest.er1
12654 ac_status=$?
12655 grep -v '^ *+' conftest.er1 >conftest.err
12656 rm -f conftest.er1
12657 cat conftest.err >&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); } &&
12660 { ac_try='test -z "$ac_c_werror_flag"
12661 || test ! -s conftest.err'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12664 ac_status=$?
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; } &&
12667 { ac_try='test -s conftest.$ac_objext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12670 ac_status=$?
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 echo "$as_me:$LINENO: result: yes" >&5
12674 echo "${ECHO_T}yes" >&6
12675 else
12676 echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.$ac_ext >&5
12678
12679 echo "$as_me:$LINENO: result: no" >&5
12680 echo "${ECHO_T}no" >&6
12681 cat >>confdefs.h <<\_ACEOF
12682 #define __POWERPC__ 1
12683 _ACEOF
12684
12685
12686 fi
12687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12688 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
12689 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
12690 cat >conftest.$ac_ext <<_ACEOF
12691 /* confdefs.h. */
12692 _ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 #include <CoreFoundation/CFBase.h>
12697
12698 int
12699 main ()
12700 {
12701
12702 ;
12703 return 0;
12704 }
12705 _ACEOF
12706 rm -f conftest.$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>conftest.er1
12709 ac_status=$?
12710 grep -v '^ *+' conftest.er1 >conftest.err
12711 rm -f conftest.er1
12712 cat conftest.err >&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try='test -z "$ac_c_werror_flag"
12716 || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12719 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12725 ac_status=$?
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 echo "$as_me:$LINENO: result: yes" >&5
12729 echo "${ECHO_T}yes" >&6
12730 else
12731 echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.$ac_ext >&5
12733
12734 echo "$as_me:$LINENO: result: no" >&5
12735 echo "${ECHO_T}no" >&6
12736 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
12737 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
12738 cat >conftest.$ac_ext <<_ACEOF
12739 /* confdefs.h. */
12740 _ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 #define __CF_USE_FRAMEWORK_INCLUDES__
12745 #include <CoreFoundation/CFBase.h>
12746
12747 int
12748 main ()
12749 {
12750
12751 ;
12752 return 0;
12753 }
12754 _ACEOF
12755 rm -f conftest.$ac_objext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>conftest.er1
12758 ac_status=$?
12759 grep -v '^ *+' conftest.er1 >conftest.err
12760 rm -f conftest.er1
12761 cat conftest.err >&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try='test -z "$ac_c_werror_flag"
12765 || test ! -s conftest.err'
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767 (eval $ac_try) 2>&5
12768 ac_status=$?
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }; } &&
12771 { ac_try='test -s conftest.$ac_objext'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12774 ac_status=$?
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; }; then
12777 echo "$as_me:$LINENO: result: yes" >&5
12778 echo "${ECHO_T}yes" >&6
12779 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
12780 else
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.$ac_ext >&5
12783
12784 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
12785 See \`config.log' for more details." >&5
12786 echo "$as_me: error: no. CoreFoundation not available.
12787 See \`config.log' for more details." >&2;}
12788 { (exit 1); exit 1; }; }
12789
12790 fi
12791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12792
12793
12794 fi
12795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12796 ;;
12797 esac
12798
12799 case "${host}" in
12800 *-pc-os2_emx | *-pc-os2-emx )
12801 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12802 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12803 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12804 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 else
12807 ac_check_lib_save_LIBS=$LIBS
12808 LIBS="-lcExt $LIBS"
12809 cat >conftest.$ac_ext <<_ACEOF
12810 /* confdefs.h. */
12811 _ACEOF
12812 cat confdefs.h >>conftest.$ac_ext
12813 cat >>conftest.$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815
12816 /* Override any gcc2 internal prototype to avoid an error. */
12817 #ifdef __cplusplus
12818 extern "C"
12819 #endif
12820 /* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12822 char drand48 ();
12823 int
12824 main ()
12825 {
12826 drand48 ();
12827 ;
12828 return 0;
12829 }
12830 _ACEOF
12831 rm -f conftest.$ac_objext conftest$ac_exeext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12833 (eval $ac_link) 2>conftest.er1
12834 ac_status=$?
12835 grep -v '^ *+' conftest.er1 >conftest.err
12836 rm -f conftest.er1
12837 cat conftest.err >&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try='test -z "$ac_c_werror_flag"
12841 || test ! -s conftest.err'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12844 ac_status=$?
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; } &&
12847 { ac_try='test -s conftest$ac_exeext'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12850 ac_status=$?
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; }; then
12853 ac_cv_lib_cExt_drand48=yes
12854 else
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.$ac_ext >&5
12857
12858 ac_cv_lib_cExt_drand48=no
12859 fi
12860 rm -f conftest.err conftest.$ac_objext \
12861 conftest$ac_exeext conftest.$ac_ext
12862 LIBS=$ac_check_lib_save_LIBS
12863 fi
12864 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12865 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12866 if test $ac_cv_lib_cExt_drand48 = yes; then
12867 LIBS="$LIBS -lcExt"
12868 fi
12869
12870 else
12871 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12872 fi
12873 echo "$as_me:$LINENO: checking for gcc version" >&5
12874 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12875 if test "${wx_cv_gccversion+set}" = set; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 else
12878
12879 if test "$cross_compiling" = yes; then
12880 wx_cv_gccversion="EMX2"
12881
12882 else
12883 cat >conftest.$ac_ext <<_ACEOF
12884 /* confdefs.h. */
12885 _ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889
12890 #include <stdio.h>
12891
12892 int main()
12893 {
12894 FILE *f=fopen("conftestval", "w");
12895 if (!f) exit(1);
12896 fprintf(f,
12897 #if (__GNUC__ < 3)
12898 "EMX2"
12899 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12900 "EMX3"
12901 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
12902 "Innotek5"
12903 #else
12904 "Innotek6"
12905 #endif
12906 );
12907 exit(0);
12908 }
12909
12910 _ACEOF
12911 rm -f conftest$ac_exeext
12912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12913 (eval $ac_link) 2>&5
12914 ac_status=$?
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12919 ac_status=$?
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 wx_cv_gccversion=`cat conftestval`
12923 else
12924 echo "$as_me: program exited with status $ac_status" >&5
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12927
12928 ( exit $ac_status )
12929 wx_cv_gccversion="EMX2"
12930 fi
12931 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12932 fi
12933
12934 fi
12935 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12936 echo "${ECHO_T}$wx_cv_gccversion" >&6
12937 if test "$wx_cv_gccversion" = "EMX2"; then
12938 LIBS="$LIBS -lstdcpp"
12939 LDFLAGS="$LDFLAGS -Zsysv-signals"
12940 else
12941 if test "$wx_cv_gccversion" = "EMX3"; then
12942 LIBS="$LIBS -lstdcxx"
12943 LDFLAGS="$LDFLAGS -Zsysv-signals"
12944 else
12945 LIBS="$LIBS -lstdc++"
12946 fi
12947 fi
12948 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
12949 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
12950 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
12951 wxUSE_OMF=yes
12952 fi
12953 if test "$wxUSE_OMF" = "yes"; then
12954 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12955 fi
12956 ;;
12957 *)
12958
12959
12960
12961 ac_ext=cc
12962 ac_cpp='$CXXCPP $CPPFLAGS'
12963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12966
12967
12968 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12969 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12970 if test "${ac_cv_string_strcasecmp+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 else
12973
12974 cat >conftest.$ac_ext <<_ACEOF
12975 /* confdefs.h. */
12976 _ACEOF
12977 cat confdefs.h >>conftest.$ac_ext
12978 cat >>conftest.$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980
12981 #include <string.h>
12982
12983 int
12984 main ()
12985 {
12986
12987 strcasecmp("foo", "bar");
12988
12989 ;
12990 return 0;
12991 }
12992 _ACEOF
12993 rm -f conftest.$ac_objext conftest$ac_exeext
12994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12995 (eval $ac_link) 2>conftest.er1
12996 ac_status=$?
12997 grep -v '^ *+' conftest.er1 >conftest.err
12998 rm -f conftest.er1
12999 cat conftest.err >&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } &&
13002 { ac_try='test -z "$ac_cxx_werror_flag"
13003 || test ! -s conftest.err'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13006 ac_status=$?
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; } &&
13009 { ac_try='test -s conftest$ac_exeext'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13012 ac_status=$?
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; }; then
13015 ac_cv_string_strcasecmp=yes
13016 else
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.$ac_ext >&5
13019
13020 ac_cv_string_strcasecmp=no
13021
13022 fi
13023 rm -f conftest.err conftest.$ac_objext \
13024 conftest$ac_exeext conftest.$ac_ext
13025
13026 fi
13027 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13028 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13029
13030 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13031 cat >>confdefs.h <<\_ACEOF
13032 #define HAVE_STRCASECMP_IN_STRING_H 1
13033 _ACEOF
13034
13035 else
13036 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13037 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13038 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13041
13042 cat >conftest.$ac_ext <<_ACEOF
13043 /* confdefs.h. */
13044 _ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13048
13049 #include <strings.h>
13050
13051 int
13052 main ()
13053 {
13054
13055 strcasecmp("foo", "bar");
13056
13057 ;
13058 return 0;
13059 }
13060 _ACEOF
13061 rm -f conftest.$ac_objext conftest$ac_exeext
13062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13063 (eval $ac_link) 2>conftest.er1
13064 ac_status=$?
13065 grep -v '^ *+' conftest.er1 >conftest.err
13066 rm -f conftest.er1
13067 cat conftest.err >&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } &&
13070 { ac_try='test -z "$ac_cxx_werror_flag"
13071 || test ! -s conftest.err'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; } &&
13077 { ac_try='test -s conftest$ac_exeext'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13080 ac_status=$?
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; }; then
13083 ac_cv_strings_strcasecmp=yes
13084 else
13085 echo "$as_me: failed program was:" >&5
13086 sed 's/^/| /' conftest.$ac_ext >&5
13087
13088 ac_cv_strings_strcasecmp=no
13089
13090 fi
13091 rm -f conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093
13094 fi
13095 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13096 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13097
13098 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13099 cat >>confdefs.h <<\_ACEOF
13100 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13101 _ACEOF
13102
13103 else
13104 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13105 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13106 { (exit 1); exit 1; }; }
13107 fi
13108 fi
13109
13110 ac_ext=c
13111 ac_cpp='$CPP $CPPFLAGS'
13112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13115
13116 ;;
13117 esac
13118
13119
13120 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13121 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13122 if test "${ac_cv_header_stdc+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 else
13125 cat >conftest.$ac_ext <<_ACEOF
13126 /* confdefs.h. */
13127 _ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 #include <stdlib.h>
13132 #include <stdarg.h>
13133 #include <string.h>
13134 #include <float.h>
13135
13136 int
13137 main ()
13138 {
13139
13140 ;
13141 return 0;
13142 }
13143 _ACEOF
13144 rm -f conftest.$ac_objext
13145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13146 (eval $ac_compile) 2>conftest.er1
13147 ac_status=$?
13148 grep -v '^ *+' conftest.er1 >conftest.err
13149 rm -f conftest.er1
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try='test -z "$ac_c_werror_flag"
13154 || test ! -s conftest.err'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13157 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; } &&
13160 { ac_try='test -s conftest.$ac_objext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 ac_cv_header_stdc=yes
13167 else
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.$ac_ext >&5
13170
13171 ac_cv_header_stdc=no
13172 fi
13173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13174
13175 if test $ac_cv_header_stdc = yes; then
13176 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13177 cat >conftest.$ac_ext <<_ACEOF
13178 /* confdefs.h. */
13179 _ACEOF
13180 cat confdefs.h >>conftest.$ac_ext
13181 cat >>conftest.$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13183 #include <string.h>
13184
13185 _ACEOF
13186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13187 $EGREP "memchr" >/dev/null 2>&1; then
13188 :
13189 else
13190 ac_cv_header_stdc=no
13191 fi
13192 rm -f conftest*
13193
13194 fi
13195
13196 if test $ac_cv_header_stdc = yes; then
13197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13198 cat >conftest.$ac_ext <<_ACEOF
13199 /* confdefs.h. */
13200 _ACEOF
13201 cat confdefs.h >>conftest.$ac_ext
13202 cat >>conftest.$ac_ext <<_ACEOF
13203 /* end confdefs.h. */
13204 #include <stdlib.h>
13205
13206 _ACEOF
13207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13208 $EGREP "free" >/dev/null 2>&1; then
13209 :
13210 else
13211 ac_cv_header_stdc=no
13212 fi
13213 rm -f conftest*
13214
13215 fi
13216
13217 if test $ac_cv_header_stdc = yes; then
13218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13219 if test "$cross_compiling" = yes; then
13220 :
13221 else
13222 cat >conftest.$ac_ext <<_ACEOF
13223 /* confdefs.h. */
13224 _ACEOF
13225 cat confdefs.h >>conftest.$ac_ext
13226 cat >>conftest.$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13228 #include <ctype.h>
13229 #if ((' ' & 0x0FF) == 0x020)
13230 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13231 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13232 #else
13233 # define ISLOWER(c) \
13234 (('a' <= (c) && (c) <= 'i') \
13235 || ('j' <= (c) && (c) <= 'r') \
13236 || ('s' <= (c) && (c) <= 'z'))
13237 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13238 #endif
13239
13240 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13241 int
13242 main ()
13243 {
13244 int i;
13245 for (i = 0; i < 256; i++)
13246 if (XOR (islower (i), ISLOWER (i))
13247 || toupper (i) != TOUPPER (i))
13248 exit(2);
13249 exit (0);
13250 }
13251 _ACEOF
13252 rm -f conftest$ac_exeext
13253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13254 (eval $ac_link) 2>&5
13255 ac_status=$?
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13260 ac_status=$?
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13263 :
13264 else
13265 echo "$as_me: program exited with status $ac_status" >&5
13266 echo "$as_me: failed program was:" >&5
13267 sed 's/^/| /' conftest.$ac_ext >&5
13268
13269 ( exit $ac_status )
13270 ac_cv_header_stdc=no
13271 fi
13272 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13273 fi
13274 fi
13275 fi
13276 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13277 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13278 if test $ac_cv_header_stdc = yes; then
13279
13280 cat >>confdefs.h <<\_ACEOF
13281 #define STDC_HEADERS 1
13282 _ACEOF
13283
13284 fi
13285
13286 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13297 inttypes.h stdint.h unistd.h
13298 do
13299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13300 echo "$as_me:$LINENO: checking for $ac_header" >&5
13301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13303 echo $ECHO_N "(cached) $ECHO_C" >&6
13304 else
13305 cat >conftest.$ac_ext <<_ACEOF
13306 /* confdefs.h. */
13307 _ACEOF
13308 cat confdefs.h >>conftest.$ac_ext
13309 cat >>conftest.$ac_ext <<_ACEOF
13310 /* end confdefs.h. */
13311 $ac_includes_default
13312
13313 #include <$ac_header>
13314 _ACEOF
13315 rm -f conftest.$ac_objext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13317 (eval $ac_compile) 2>conftest.er1
13318 ac_status=$?
13319 grep -v '^ *+' conftest.er1 >conftest.err
13320 rm -f conftest.er1
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try='test -z "$ac_c_werror_flag"
13325 || test ! -s conftest.err'
13326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327 (eval $ac_try) 2>&5
13328 ac_status=$?
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); }; } &&
13331 { ac_try='test -s conftest.$ac_objext'
13332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333 (eval $ac_try) 2>&5
13334 ac_status=$?
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; }; then
13337 eval "$as_ac_Header=yes"
13338 else
13339 echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.$ac_ext >&5
13341
13342 eval "$as_ac_Header=no"
13343 fi
13344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13345 fi
13346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13349 cat >>confdefs.h <<_ACEOF
13350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13351 _ACEOF
13352
13353 fi
13354
13355 done
13356
13357
13358
13359 for ac_header in stdlib.h
13360 do
13361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13363 echo "$as_me:$LINENO: checking for $ac_header" >&5
13364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 fi
13368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13370 else
13371 # Is the header compilable?
13372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13374 cat >conftest.$ac_ext <<_ACEOF
13375 /* confdefs.h. */
13376 _ACEOF
13377 cat confdefs.h >>conftest.$ac_ext
13378 cat >>conftest.$ac_ext <<_ACEOF
13379 /* end confdefs.h. */
13380 $ac_includes_default
13381 #include <$ac_header>
13382 _ACEOF
13383 rm -f conftest.$ac_objext
13384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13385 (eval $ac_compile) 2>conftest.er1
13386 ac_status=$?
13387 grep -v '^ *+' conftest.er1 >conftest.err
13388 rm -f conftest.er1
13389 cat conftest.err >&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); } &&
13392 { ac_try='test -z "$ac_c_werror_flag"
13393 || test ! -s conftest.err'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13396 ac_status=$?
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try='test -s conftest.$ac_objext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 ac_header_compiler=yes
13406 else
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13409
13410 ac_header_compiler=no
13411 fi
13412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13414 echo "${ECHO_T}$ac_header_compiler" >&6
13415
13416 # Is the header present?
13417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13419 cat >conftest.$ac_ext <<_ACEOF
13420 /* confdefs.h. */
13421 _ACEOF
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 #include <$ac_header>
13426 _ACEOF
13427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13429 ac_status=$?
13430 grep -v '^ *+' conftest.er1 >conftest.err
13431 rm -f conftest.er1
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } >/dev/null; then
13435 if test -s conftest.err; then
13436 ac_cpp_err=$ac_c_preproc_warn_flag
13437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13438 else
13439 ac_cpp_err=
13440 fi
13441 else
13442 ac_cpp_err=yes
13443 fi
13444 if test -z "$ac_cpp_err"; then
13445 ac_header_preproc=yes
13446 else
13447 echo "$as_me: failed program was:" >&5
13448 sed 's/^/| /' conftest.$ac_ext >&5
13449
13450 ac_header_preproc=no
13451 fi
13452 rm -f conftest.err conftest.$ac_ext
13453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13454 echo "${ECHO_T}$ac_header_preproc" >&6
13455
13456 # So? What about this header?
13457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13458 yes:no: )
13459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13463 ac_header_preproc=yes
13464 ;;
13465 no:yes:* )
13466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13478 (
13479 cat <<\_ASBOX
13480 ## ----------------------------------------- ##
13481 ## Report this to wx-dev@lists.wxwidgets.org ##
13482 ## ----------------------------------------- ##
13483 _ASBOX
13484 ) |
13485 sed "s/^/$as_me: WARNING: /" >&2
13486 ;;
13487 esac
13488 echo "$as_me:$LINENO: checking for $ac_header" >&5
13489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13491 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 else
13493 eval "$as_ac_Header=\$ac_header_preproc"
13494 fi
13495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13497
13498 fi
13499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13500 cat >>confdefs.h <<_ACEOF
13501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13502 _ACEOF
13503
13504 fi
13505
13506 done
13507
13508
13509 for ac_header in malloc.h
13510 do
13511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13513 echo "$as_me:$LINENO: checking for $ac_header" >&5
13514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13517 fi
13518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13520 else
13521 # Is the header compilable?
13522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13524 cat >conftest.$ac_ext <<_ACEOF
13525 /* confdefs.h. */
13526 _ACEOF
13527 cat confdefs.h >>conftest.$ac_ext
13528 cat >>conftest.$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13530 $ac_includes_default
13531 #include <$ac_header>
13532 _ACEOF
13533 rm -f conftest.$ac_objext
13534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13535 (eval $ac_compile) 2>conftest.er1
13536 ac_status=$?
13537 grep -v '^ *+' conftest.er1 >conftest.err
13538 rm -f conftest.er1
13539 cat conftest.err >&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try='test -z "$ac_c_werror_flag"
13543 || test ! -s conftest.err'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; } &&
13549 { ac_try='test -s conftest.$ac_objext'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13552 ac_status=$?
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; }; then
13555 ac_header_compiler=yes
13556 else
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13559
13560 ac_header_compiler=no
13561 fi
13562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13564 echo "${ECHO_T}$ac_header_compiler" >&6
13565
13566 # Is the header present?
13567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13569 cat >conftest.$ac_ext <<_ACEOF
13570 /* confdefs.h. */
13571 _ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <$ac_header>
13576 _ACEOF
13577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13579 ac_status=$?
13580 grep -v '^ *+' conftest.er1 >conftest.err
13581 rm -f conftest.er1
13582 cat conftest.err >&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } >/dev/null; then
13585 if test -s conftest.err; then
13586 ac_cpp_err=$ac_c_preproc_warn_flag
13587 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13588 else
13589 ac_cpp_err=
13590 fi
13591 else
13592 ac_cpp_err=yes
13593 fi
13594 if test -z "$ac_cpp_err"; then
13595 ac_header_preproc=yes
13596 else
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13599
13600 ac_header_preproc=no
13601 fi
13602 rm -f conftest.err conftest.$ac_ext
13603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13604 echo "${ECHO_T}$ac_header_preproc" >&6
13605
13606 # So? What about this header?
13607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13608 yes:no: )
13609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13613 ac_header_preproc=yes
13614 ;;
13615 no:yes:* )
13616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13628 (
13629 cat <<\_ASBOX
13630 ## ----------------------------------------- ##
13631 ## Report this to wx-dev@lists.wxwidgets.org ##
13632 ## ----------------------------------------- ##
13633 _ASBOX
13634 ) |
13635 sed "s/^/$as_me: WARNING: /" >&2
13636 ;;
13637 esac
13638 echo "$as_me:$LINENO: checking for $ac_header" >&5
13639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 else
13643 eval "$as_ac_Header=\$ac_header_preproc"
13644 fi
13645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13647
13648 fi
13649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13650 cat >>confdefs.h <<_ACEOF
13651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13652 _ACEOF
13653
13654 fi
13655
13656 done
13657
13658
13659 for ac_header in unistd.h
13660 do
13661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13663 echo "$as_me:$LINENO: checking for $ac_header" >&5
13664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 fi
13668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13670 else
13671 # Is the header compilable?
13672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13674 cat >conftest.$ac_ext <<_ACEOF
13675 /* confdefs.h. */
13676 _ACEOF
13677 cat confdefs.h >>conftest.$ac_ext
13678 cat >>conftest.$ac_ext <<_ACEOF
13679 /* end confdefs.h. */
13680 $ac_includes_default
13681 #include <$ac_header>
13682 _ACEOF
13683 rm -f conftest.$ac_objext
13684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13685 (eval $ac_compile) 2>conftest.er1
13686 ac_status=$?
13687 grep -v '^ *+' conftest.er1 >conftest.err
13688 rm -f conftest.er1
13689 cat conftest.err >&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } &&
13692 { ac_try='test -z "$ac_c_werror_flag"
13693 || test ! -s conftest.err'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13696 ac_status=$?
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; } &&
13699 { ac_try='test -s conftest.$ac_objext'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13702 ac_status=$?
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; }; then
13705 ac_header_compiler=yes
13706 else
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13709
13710 ac_header_compiler=no
13711 fi
13712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13714 echo "${ECHO_T}$ac_header_compiler" >&6
13715
13716 # Is the header present?
13717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13719 cat >conftest.$ac_ext <<_ACEOF
13720 /* confdefs.h. */
13721 _ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 #include <$ac_header>
13726 _ACEOF
13727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13729 ac_status=$?
13730 grep -v '^ *+' conftest.er1 >conftest.err
13731 rm -f conftest.er1
13732 cat conftest.err >&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } >/dev/null; then
13735 if test -s conftest.err; then
13736 ac_cpp_err=$ac_c_preproc_warn_flag
13737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13738 else
13739 ac_cpp_err=
13740 fi
13741 else
13742 ac_cpp_err=yes
13743 fi
13744 if test -z "$ac_cpp_err"; then
13745 ac_header_preproc=yes
13746 else
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13749
13750 ac_header_preproc=no
13751 fi
13752 rm -f conftest.err conftest.$ac_ext
13753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13754 echo "${ECHO_T}$ac_header_preproc" >&6
13755
13756 # So? What about this header?
13757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13758 yes:no: )
13759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13763 ac_header_preproc=yes
13764 ;;
13765 no:yes:* )
13766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13778 (
13779 cat <<\_ASBOX
13780 ## ----------------------------------------- ##
13781 ## Report this to wx-dev@lists.wxwidgets.org ##
13782 ## ----------------------------------------- ##
13783 _ASBOX
13784 ) |
13785 sed "s/^/$as_me: WARNING: /" >&2
13786 ;;
13787 esac
13788 echo "$as_me:$LINENO: checking for $ac_header" >&5
13789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6
13792 else
13793 eval "$as_ac_Header=\$ac_header_preproc"
13794 fi
13795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13797
13798 fi
13799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13800 cat >>confdefs.h <<_ACEOF
13801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13802 _ACEOF
13803
13804 fi
13805
13806 done
13807
13808
13809 for ac_header in wchar.h
13810 do
13811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13813 echo "$as_me:$LINENO: checking for $ac_header" >&5
13814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13817 fi
13818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13820 else
13821 # Is the header compilable?
13822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13824 cat >conftest.$ac_ext <<_ACEOF
13825 /* confdefs.h. */
13826 _ACEOF
13827 cat confdefs.h >>conftest.$ac_ext
13828 cat >>conftest.$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13830 $ac_includes_default
13831 #include <$ac_header>
13832 _ACEOF
13833 rm -f conftest.$ac_objext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13835 (eval $ac_compile) 2>conftest.er1
13836 ac_status=$?
13837 grep -v '^ *+' conftest.er1 >conftest.err
13838 rm -f conftest.er1
13839 cat conftest.err >&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try='test -z "$ac_c_werror_flag"
13843 || test ! -s conftest.err'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; } &&
13849 { ac_try='test -s conftest.$ac_objext'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13852 ac_status=$?
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; }; then
13855 ac_header_compiler=yes
13856 else
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13859
13860 ac_header_compiler=no
13861 fi
13862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13864 echo "${ECHO_T}$ac_header_compiler" >&6
13865
13866 # Is the header present?
13867 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13868 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13869 cat >conftest.$ac_ext <<_ACEOF
13870 /* confdefs.h. */
13871 _ACEOF
13872 cat confdefs.h >>conftest.$ac_ext
13873 cat >>conftest.$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13875 #include <$ac_header>
13876 _ACEOF
13877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } >/dev/null; then
13885 if test -s conftest.err; then
13886 ac_cpp_err=$ac_c_preproc_warn_flag
13887 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13888 else
13889 ac_cpp_err=
13890 fi
13891 else
13892 ac_cpp_err=yes
13893 fi
13894 if test -z "$ac_cpp_err"; then
13895 ac_header_preproc=yes
13896 else
13897 echo "$as_me: failed program was:" >&5
13898 sed 's/^/| /' conftest.$ac_ext >&5
13899
13900 ac_header_preproc=no
13901 fi
13902 rm -f conftest.err conftest.$ac_ext
13903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13904 echo "${ECHO_T}$ac_header_preproc" >&6
13905
13906 # So? What about this header?
13907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13908 yes:no: )
13909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13912 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13913 ac_header_preproc=yes
13914 ;;
13915 no:yes:* )
13916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13920 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13921 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13922 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13923 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13926 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13927 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13928 (
13929 cat <<\_ASBOX
13930 ## ----------------------------------------- ##
13931 ## Report this to wx-dev@lists.wxwidgets.org ##
13932 ## ----------------------------------------- ##
13933 _ASBOX
13934 ) |
13935 sed "s/^/$as_me: WARNING: /" >&2
13936 ;;
13937 esac
13938 echo "$as_me:$LINENO: checking for $ac_header" >&5
13939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 else
13943 eval "$as_ac_Header=\$ac_header_preproc"
13944 fi
13945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13947
13948 fi
13949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13950 cat >>confdefs.h <<_ACEOF
13951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13952 _ACEOF
13953
13954 fi
13955
13956 done
13957
13958
13959 if test "$ac_cv_header_wchar_h" != "yes"; then
13960
13961 for ac_header in wcstr.h
13962 do
13963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13965 echo "$as_me:$LINENO: checking for $ac_header" >&5
13966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13969 fi
13970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13972 else
13973 # Is the header compilable?
13974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13976 cat >conftest.$ac_ext <<_ACEOF
13977 /* confdefs.h. */
13978 _ACEOF
13979 cat confdefs.h >>conftest.$ac_ext
13980 cat >>conftest.$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13982 $ac_includes_default
13983 #include <$ac_header>
13984 _ACEOF
13985 rm -f conftest.$ac_objext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13987 (eval $ac_compile) 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag"
13995 || test ! -s conftest.err'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13998 ac_status=$?
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; } &&
14001 { ac_try='test -s conftest.$ac_objext'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14004 ac_status=$?
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; }; then
14007 ac_header_compiler=yes
14008 else
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.$ac_ext >&5
14011
14012 ac_header_compiler=no
14013 fi
14014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14016 echo "${ECHO_T}$ac_header_compiler" >&6
14017
14018 # Is the header present?
14019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14021 cat >conftest.$ac_ext <<_ACEOF
14022 /* confdefs.h. */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 #include <$ac_header>
14028 _ACEOF
14029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } >/dev/null; then
14037 if test -s conftest.err; then
14038 ac_cpp_err=$ac_c_preproc_warn_flag
14039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14040 else
14041 ac_cpp_err=
14042 fi
14043 else
14044 ac_cpp_err=yes
14045 fi
14046 if test -z "$ac_cpp_err"; then
14047 ac_header_preproc=yes
14048 else
14049 echo "$as_me: failed program was:" >&5
14050 sed 's/^/| /' conftest.$ac_ext >&5
14051
14052 ac_header_preproc=no
14053 fi
14054 rm -f conftest.err conftest.$ac_ext
14055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14056 echo "${ECHO_T}$ac_header_preproc" >&6
14057
14058 # So? What about this header?
14059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14060 yes:no: )
14061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14065 ac_header_preproc=yes
14066 ;;
14067 no:yes:* )
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14080 (
14081 cat <<\_ASBOX
14082 ## ----------------------------------------- ##
14083 ## Report this to wx-dev@lists.wxwidgets.org ##
14084 ## ----------------------------------------- ##
14085 _ASBOX
14086 ) |
14087 sed "s/^/$as_me: WARNING: /" >&2
14088 ;;
14089 esac
14090 echo "$as_me:$LINENO: checking for $ac_header" >&5
14091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 else
14095 eval "$as_ac_Header=\$ac_header_preproc"
14096 fi
14097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14099
14100 fi
14101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14102 cat >>confdefs.h <<_ACEOF
14103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14104 _ACEOF
14105
14106 fi
14107
14108 done
14109
14110 fi
14111
14112
14113 for ac_header in fnmatch.h
14114 do
14115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14117 echo "$as_me:$LINENO: checking for $ac_header" >&5
14118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 fi
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14124 else
14125 # Is the header compilable?
14126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14128 cat >conftest.$ac_ext <<_ACEOF
14129 /* confdefs.h. */
14130 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14135 #include <$ac_header>
14136 _ACEOF
14137 rm -f conftest.$ac_objext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>conftest.er1
14140 ac_status=$?
14141 grep -v '^ *+' conftest.er1 >conftest.err
14142 rm -f conftest.er1
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -z "$ac_c_werror_flag"
14147 || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14150 ac_status=$?
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14156 ac_status=$?
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_header_compiler=yes
14160 else
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.$ac_ext >&5
14163
14164 ac_header_compiler=no
14165 fi
14166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14168 echo "${ECHO_T}$ac_header_compiler" >&6
14169
14170 # Is the header present?
14171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14173 cat >conftest.$ac_ext <<_ACEOF
14174 /* confdefs.h. */
14175 _ACEOF
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179 #include <$ac_header>
14180 _ACEOF
14181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14183 ac_status=$?
14184 grep -v '^ *+' conftest.er1 >conftest.err
14185 rm -f conftest.er1
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } >/dev/null; then
14189 if test -s conftest.err; then
14190 ac_cpp_err=$ac_c_preproc_warn_flag
14191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14192 else
14193 ac_cpp_err=
14194 fi
14195 else
14196 ac_cpp_err=yes
14197 fi
14198 if test -z "$ac_cpp_err"; then
14199 ac_header_preproc=yes
14200 else
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.$ac_ext >&5
14203
14204 ac_header_preproc=no
14205 fi
14206 rm -f conftest.err conftest.$ac_ext
14207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14208 echo "${ECHO_T}$ac_header_preproc" >&6
14209
14210 # So? What about this header?
14211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14212 yes:no: )
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14217 ac_header_preproc=yes
14218 ;;
14219 no:yes:* )
14220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14232 (
14233 cat <<\_ASBOX
14234 ## ----------------------------------------- ##
14235 ## Report this to wx-dev@lists.wxwidgets.org ##
14236 ## ----------------------------------------- ##
14237 _ASBOX
14238 ) |
14239 sed "s/^/$as_me: WARNING: /" >&2
14240 ;;
14241 esac
14242 echo "$as_me:$LINENO: checking for $ac_header" >&5
14243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 else
14247 eval "$as_ac_Header=\$ac_header_preproc"
14248 fi
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14251
14252 fi
14253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14254 cat >>confdefs.h <<_ACEOF
14255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14256 _ACEOF
14257
14258 fi
14259
14260 done
14261
14262
14263 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14264
14265 for ac_func in fnmatch
14266 do
14267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14268 echo "$as_me:$LINENO: checking for $ac_func" >&5
14269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14270 if eval "test \"\${$as_ac_var+set}\" = set"; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 cat >conftest.$ac_ext <<_ACEOF
14274 /* confdefs.h. */
14275 _ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14281 #define $ac_func innocuous_$ac_func
14282
14283 /* System header to define __stub macros and hopefully few prototypes,
14284 which can conflict with char $ac_func (); below.
14285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14286 <limits.h> exists even on freestanding compilers. */
14287
14288 #ifdef __STDC__
14289 # include <limits.h>
14290 #else
14291 # include <assert.h>
14292 #endif
14293
14294 #undef $ac_func
14295
14296 /* Override any gcc2 internal prototype to avoid an error. */
14297 #ifdef __cplusplus
14298 extern "C"
14299 {
14300 #endif
14301 /* We use char because int might match the return type of a gcc2
14302 builtin and then its argument prototype would still apply. */
14303 char $ac_func ();
14304 /* The GNU C library defines this for functions which it implements
14305 to always fail with ENOSYS. Some functions are actually named
14306 something starting with __ and the normal name is an alias. */
14307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14308 choke me
14309 #else
14310 char (*f) () = $ac_func;
14311 #endif
14312 #ifdef __cplusplus
14313 }
14314 #endif
14315
14316 int
14317 main ()
14318 {
14319 return f != $ac_func;
14320 ;
14321 return 0;
14322 }
14323 _ACEOF
14324 rm -f conftest.$ac_objext conftest$ac_exeext
14325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14326 (eval $ac_link) 2>conftest.er1
14327 ac_status=$?
14328 grep -v '^ *+' conftest.er1 >conftest.err
14329 rm -f conftest.er1
14330 cat conftest.err >&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } &&
14333 { ac_try='test -z "$ac_c_werror_flag"
14334 || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14337 ac_status=$?
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try='test -s conftest$ac_exeext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14343 ac_status=$?
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14346 eval "$as_ac_var=yes"
14347 else
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.$ac_ext >&5
14350
14351 eval "$as_ac_var=no"
14352 fi
14353 rm -f conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 fi
14356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14358 if test `eval echo '${'$as_ac_var'}'` = yes; then
14359 cat >>confdefs.h <<_ACEOF
14360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14361 _ACEOF
14362
14363 fi
14364 done
14365
14366 fi
14367
14368
14369 for ac_header in langinfo.h
14370 do
14371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14373 echo "$as_me:$LINENO: checking for $ac_header" >&5
14374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14376 echo $ECHO_N "(cached) $ECHO_C" >&6
14377 fi
14378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14380 else
14381 # Is the header compilable?
14382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14384 cat >conftest.$ac_ext <<_ACEOF
14385 /* confdefs.h. */
14386 _ACEOF
14387 cat confdefs.h >>conftest.$ac_ext
14388 cat >>conftest.$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14390 $ac_includes_default
14391 #include <$ac_header>
14392 _ACEOF
14393 rm -f conftest.$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>conftest.er1
14396 ac_status=$?
14397 grep -v '^ *+' conftest.er1 >conftest.err
14398 rm -f conftest.er1
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } &&
14402 { ac_try='test -z "$ac_c_werror_flag"
14403 || test ! -s conftest.err'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14406 ac_status=$?
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; } &&
14409 { ac_try='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14412 ac_status=$?
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 ac_header_compiler=yes
14416 else
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14419
14420 ac_header_compiler=no
14421 fi
14422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14424 echo "${ECHO_T}$ac_header_compiler" >&6
14425
14426 # Is the header present?
14427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14429 cat >conftest.$ac_ext <<_ACEOF
14430 /* confdefs.h. */
14431 _ACEOF
14432 cat confdefs.h >>conftest.$ac_ext
14433 cat >>conftest.$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14435 #include <$ac_header>
14436 _ACEOF
14437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14439 ac_status=$?
14440 grep -v '^ *+' conftest.er1 >conftest.err
14441 rm -f conftest.er1
14442 cat conftest.err >&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } >/dev/null; then
14445 if test -s conftest.err; then
14446 ac_cpp_err=$ac_c_preproc_warn_flag
14447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14448 else
14449 ac_cpp_err=
14450 fi
14451 else
14452 ac_cpp_err=yes
14453 fi
14454 if test -z "$ac_cpp_err"; then
14455 ac_header_preproc=yes
14456 else
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14459
14460 ac_header_preproc=no
14461 fi
14462 rm -f conftest.err conftest.$ac_ext
14463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14464 echo "${ECHO_T}$ac_header_preproc" >&6
14465
14466 # So? What about this header?
14467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14468 yes:no: )
14469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14473 ac_header_preproc=yes
14474 ;;
14475 no:yes:* )
14476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14488 (
14489 cat <<\_ASBOX
14490 ## ----------------------------------------- ##
14491 ## Report this to wx-dev@lists.wxwidgets.org ##
14492 ## ----------------------------------------- ##
14493 _ASBOX
14494 ) |
14495 sed "s/^/$as_me: WARNING: /" >&2
14496 ;;
14497 esac
14498 echo "$as_me:$LINENO: checking for $ac_header" >&5
14499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14502 else
14503 eval "$as_ac_Header=\$ac_header_preproc"
14504 fi
14505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14507
14508 fi
14509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14510 cat >>confdefs.h <<_ACEOF
14511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14512 _ACEOF
14513
14514 fi
14515
14516 done
14517
14518
14519 case "${host}" in
14520 *-pc-os2_emx | *-pc-os2-emx )
14521 if test $ac_cv_header_langinfo_h = "yes" \
14522 -a \( "$wx_cv_gccversion" = "EMX2" \
14523 -o "$wx_cv_gccversion" = "EMX3" \
14524 -o "$wx_cv_gccversion" = "Innotek5" \); then
14525 LIBS="$LIBS -lintl"
14526 fi
14527 ;;
14528 esac
14529
14530 if test "$wxUSE_GUI" = "yes"; then
14531 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14532
14533 for ac_header in X11/Xlib.h
14534 do
14535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14537 echo "$as_me:$LINENO: checking for $ac_header" >&5
14538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 fi
14542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14544 else
14545 # Is the header compilable?
14546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14548 cat >conftest.$ac_ext <<_ACEOF
14549 /* confdefs.h. */
14550 _ACEOF
14551 cat confdefs.h >>conftest.$ac_ext
14552 cat >>conftest.$ac_ext <<_ACEOF
14553 /* end confdefs.h. */
14554 $ac_includes_default
14555 #include <$ac_header>
14556 _ACEOF
14557 rm -f conftest.$ac_objext
14558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14559 (eval $ac_compile) 2>conftest.er1
14560 ac_status=$?
14561 grep -v '^ *+' conftest.er1 >conftest.err
14562 rm -f conftest.er1
14563 cat conftest.err >&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try='test -z "$ac_c_werror_flag"
14567 || test ! -s conftest.err'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } &&
14573 { ac_try='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14576 ac_status=$?
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14579 ac_header_compiler=yes
14580 else
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14583
14584 ac_header_compiler=no
14585 fi
14586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14588 echo "${ECHO_T}$ac_header_compiler" >&6
14589
14590 # Is the header present?
14591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14593 cat >conftest.$ac_ext <<_ACEOF
14594 /* confdefs.h. */
14595 _ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 #include <$ac_header>
14600 _ACEOF
14601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14603 ac_status=$?
14604 grep -v '^ *+' conftest.er1 >conftest.err
14605 rm -f conftest.er1
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } >/dev/null; then
14609 if test -s conftest.err; then
14610 ac_cpp_err=$ac_c_preproc_warn_flag
14611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14612 else
14613 ac_cpp_err=
14614 fi
14615 else
14616 ac_cpp_err=yes
14617 fi
14618 if test -z "$ac_cpp_err"; then
14619 ac_header_preproc=yes
14620 else
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.$ac_ext >&5
14623
14624 ac_header_preproc=no
14625 fi
14626 rm -f conftest.err conftest.$ac_ext
14627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14628 echo "${ECHO_T}$ac_header_preproc" >&6
14629
14630 # So? What about this header?
14631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14632 yes:no: )
14633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14637 ac_header_preproc=yes
14638 ;;
14639 no:yes:* )
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14652 (
14653 cat <<\_ASBOX
14654 ## ----------------------------------------- ##
14655 ## Report this to wx-dev@lists.wxwidgets.org ##
14656 ## ----------------------------------------- ##
14657 _ASBOX
14658 ) |
14659 sed "s/^/$as_me: WARNING: /" >&2
14660 ;;
14661 esac
14662 echo "$as_me:$LINENO: checking for $ac_header" >&5
14663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 else
14667 eval "$as_ac_Header=\$ac_header_preproc"
14668 fi
14669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14671
14672 fi
14673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14674 cat >>confdefs.h <<_ACEOF
14675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14676 _ACEOF
14677
14678 fi
14679
14680 done
14681
14682
14683 for ac_header in X11/XKBlib.h
14684 do
14685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14686 echo "$as_me:$LINENO: checking for $ac_header" >&5
14687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14689 echo $ECHO_N "(cached) $ECHO_C" >&6
14690 else
14691 cat >conftest.$ac_ext <<_ACEOF
14692 /* confdefs.h. */
14693 _ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14697
14698 #if HAVE_X11_XLIB_H
14699 #include <X11/Xlib.h>
14700 #endif
14701
14702
14703 #include <$ac_header>
14704 _ACEOF
14705 rm -f conftest.$ac_objext
14706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>conftest.er1
14708 ac_status=$?
14709 grep -v '^ *+' conftest.er1 >conftest.err
14710 rm -f conftest.er1
14711 cat conftest.err >&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try='test -z "$ac_c_werror_flag"
14715 || test ! -s conftest.err'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14718 ac_status=$?
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try='test -s conftest.$ac_objext'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14724 ac_status=$?
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14727 eval "$as_ac_Header=yes"
14728 else
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.$ac_ext >&5
14731
14732 eval "$as_ac_Header=no"
14733 fi
14734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14735 fi
14736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14739 cat >>confdefs.h <<_ACEOF
14740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14741 _ACEOF
14742
14743 fi
14744
14745 done
14746
14747 fi
14748 fi
14749
14750
14751 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14752 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14753 if test "${ac_cv_c_const+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14755 else
14756 cat >conftest.$ac_ext <<_ACEOF
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762
14763 int
14764 main ()
14765 {
14766 /* FIXME: Include the comments suggested by Paul. */
14767 #ifndef __cplusplus
14768 /* Ultrix mips cc rejects this. */
14769 typedef int charset[2];
14770 const charset x;
14771 /* SunOS 4.1.1 cc rejects this. */
14772 char const *const *ccp;
14773 char **p;
14774 /* NEC SVR4.0.2 mips cc rejects this. */
14775 struct point {int x, y;};
14776 static struct point const zero = {0,0};
14777 /* AIX XL C 1.02.0.0 rejects this.
14778 It does not let you subtract one const X* pointer from another in
14779 an arm of an if-expression whose if-part is not a constant
14780 expression */
14781 const char *g = "string";
14782 ccp = &g + (g ? g-g : 0);
14783 /* HPUX 7.0 cc rejects these. */
14784 ++ccp;
14785 p = (char**) ccp;
14786 ccp = (char const *const *) p;
14787 { /* SCO 3.2v4 cc rejects this. */
14788 char *t;
14789 char const *s = 0 ? (char *) 0 : (char const *) 0;
14790
14791 *t++ = 0;
14792 }
14793 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14794 int x[] = {25, 17};
14795 const int *foo = &x[0];
14796 ++foo;
14797 }
14798 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14799 typedef const int *iptr;
14800 iptr p = 0;
14801 ++p;
14802 }
14803 { /* AIX XL C 1.02.0.0 rejects this saying
14804 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14805 struct s { int j; const int *ap[3]; };
14806 struct s *b; b->j = 5;
14807 }
14808 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14809 const int foo = 10;
14810 }
14811 #endif
14812
14813 ;
14814 return 0;
14815 }
14816 _ACEOF
14817 rm -f conftest.$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>conftest.er1
14820 ac_status=$?
14821 grep -v '^ *+' conftest.er1 >conftest.err
14822 rm -f conftest.er1
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } &&
14826 { ac_try='test -z "$ac_c_werror_flag"
14827 || test ! -s conftest.err'
14828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14830 ac_status=$?
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; } &&
14833 { ac_try='test -s conftest.$ac_objext'
14834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14835 (eval $ac_try) 2>&5
14836 ac_status=$?
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); }; }; then
14839 ac_cv_c_const=yes
14840 else
14841 echo "$as_me: failed program was:" >&5
14842 sed 's/^/| /' conftest.$ac_ext >&5
14843
14844 ac_cv_c_const=no
14845 fi
14846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14847 fi
14848 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14849 echo "${ECHO_T}$ac_cv_c_const" >&6
14850 if test $ac_cv_c_const = no; then
14851
14852 cat >>confdefs.h <<\_ACEOF
14853 #define const
14854 _ACEOF
14855
14856 fi
14857
14858 echo "$as_me:$LINENO: checking for inline" >&5
14859 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14860 if test "${ac_cv_c_inline+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 else
14863 ac_cv_c_inline=no
14864 for ac_kw in inline __inline__ __inline; do
14865 cat >conftest.$ac_ext <<_ACEOF
14866 /* confdefs.h. */
14867 _ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14871 #ifndef __cplusplus
14872 typedef int foo_t;
14873 static $ac_kw foo_t static_foo () {return 0; }
14874 $ac_kw foo_t foo () {return 0; }
14875 #endif
14876
14877 _ACEOF
14878 rm -f conftest.$ac_objext
14879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14880 (eval $ac_compile) 2>conftest.er1
14881 ac_status=$?
14882 grep -v '^ *+' conftest.er1 >conftest.err
14883 rm -f conftest.er1
14884 cat conftest.err >&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } &&
14887 { ac_try='test -z "$ac_c_werror_flag"
14888 || test ! -s conftest.err'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14891 ac_status=$?
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; } &&
14894 { ac_try='test -s conftest.$ac_objext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14897 ac_status=$?
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14900 ac_cv_c_inline=$ac_kw; break
14901 else
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14904
14905 fi
14906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14907 done
14908
14909 fi
14910 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14911 echo "${ECHO_T}$ac_cv_c_inline" >&6
14912
14913
14914 case $ac_cv_c_inline in
14915 inline | yes) ;;
14916 *)
14917 case $ac_cv_c_inline in
14918 no) ac_val=;;
14919 *) ac_val=$ac_cv_c_inline;;
14920 esac
14921 cat >>confdefs.h <<_ACEOF
14922 #ifndef __cplusplus
14923 #define inline $ac_val
14924 #endif
14925 _ACEOF
14926 ;;
14927 esac
14928
14929
14930 echo "$as_me:$LINENO: checking for char" >&5
14931 echo $ECHO_N "checking for char... $ECHO_C" >&6
14932 if test "${ac_cv_type_char+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 else
14935 cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 $ac_includes_default
14942 int
14943 main ()
14944 {
14945 if ((char *) 0)
14946 return 0;
14947 if (sizeof (char))
14948 return 0;
14949 ;
14950 return 0;
14951 }
14952 _ACEOF
14953 rm -f conftest.$ac_objext
14954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14955 (eval $ac_compile) 2>conftest.er1
14956 ac_status=$?
14957 grep -v '^ *+' conftest.er1 >conftest.err
14958 rm -f conftest.er1
14959 cat conftest.err >&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); } &&
14962 { ac_try='test -z "$ac_c_werror_flag"
14963 || test ! -s conftest.err'
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5
14966 ac_status=$?
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); }; } &&
14969 { ac_try='test -s conftest.$ac_objext'
14970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14971 (eval $ac_try) 2>&5
14972 ac_status=$?
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); }; }; then
14975 ac_cv_type_char=yes
14976 else
14977 echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.$ac_ext >&5
14979
14980 ac_cv_type_char=no
14981 fi
14982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14983 fi
14984 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14985 echo "${ECHO_T}$ac_cv_type_char" >&6
14986
14987 echo "$as_me:$LINENO: checking size of char" >&5
14988 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14989 if test "${ac_cv_sizeof_char+set}" = set; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 else
14992 if test "$ac_cv_type_char" = yes; then
14993 # The cast to unsigned long works around a bug in the HP C Compiler
14994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14996 # This bug is HP SR number 8606223364.
14997 if test "$cross_compiling" = yes; then
14998 # Depending upon the size, compute the lo and hi bounds.
14999 cat >conftest.$ac_ext <<_ACEOF
15000 /* confdefs.h. */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 $ac_includes_default
15006 int
15007 main ()
15008 {
15009 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15010 test_array [0] = 0
15011
15012 ;
15013 return 0;
15014 }
15015 _ACEOF
15016 rm -f conftest.$ac_objext
15017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15018 (eval $ac_compile) 2>conftest.er1
15019 ac_status=$?
15020 grep -v '^ *+' conftest.er1 >conftest.err
15021 rm -f conftest.er1
15022 cat conftest.err >&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } &&
15025 { ac_try='test -z "$ac_c_werror_flag"
15026 || test ! -s conftest.err'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15029 ac_status=$?
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; } &&
15032 { ac_try='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 ac_lo=0 ac_mid=0
15039 while :; do
15040 cat >conftest.$ac_ext <<_ACEOF
15041 /* confdefs.h. */
15042 _ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15046 $ac_includes_default
15047 int
15048 main ()
15049 {
15050 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15051 test_array [0] = 0
15052
15053 ;
15054 return 0;
15055 }
15056 _ACEOF
15057 rm -f conftest.$ac_objext
15058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15059 (eval $ac_compile) 2>conftest.er1
15060 ac_status=$?
15061 grep -v '^ *+' conftest.er1 >conftest.err
15062 rm -f conftest.er1
15063 cat conftest.err >&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); } &&
15066 { ac_try='test -z "$ac_c_werror_flag"
15067 || test ! -s conftest.err'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15070 ac_status=$?
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; } &&
15073 { ac_try='test -s conftest.$ac_objext'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; }; then
15079 ac_hi=$ac_mid; break
15080 else
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15083
15084 ac_lo=`expr $ac_mid + 1`
15085 if test $ac_lo -le $ac_mid; then
15086 ac_lo= ac_hi=
15087 break
15088 fi
15089 ac_mid=`expr 2 '*' $ac_mid + 1`
15090 fi
15091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15092 done
15093 else
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15096
15097 cat >conftest.$ac_ext <<_ACEOF
15098 /* confdefs.h. */
15099 _ACEOF
15100 cat confdefs.h >>conftest.$ac_ext
15101 cat >>conftest.$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 $ac_includes_default
15104 int
15105 main ()
15106 {
15107 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15108 test_array [0] = 0
15109
15110 ;
15111 return 0;
15112 }
15113 _ACEOF
15114 rm -f conftest.$ac_objext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>conftest.er1
15117 ac_status=$?
15118 grep -v '^ *+' conftest.er1 >conftest.err
15119 rm -f conftest.er1
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try='test -z "$ac_c_werror_flag"
15124 || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15133 ac_status=$?
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_hi=-1 ac_mid=-1
15137 while :; do
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144 $ac_includes_default
15145 int
15146 main ()
15147 {
15148 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15149 test_array [0] = 0
15150
15151 ;
15152 return 0;
15153 }
15154 _ACEOF
15155 rm -f conftest.$ac_objext
15156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15157 (eval $ac_compile) 2>conftest.er1
15158 ac_status=$?
15159 grep -v '^ *+' conftest.er1 >conftest.err
15160 rm -f conftest.er1
15161 cat conftest.err >&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } &&
15164 { ac_try='test -z "$ac_c_werror_flag"
15165 || test ! -s conftest.err'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15168 ac_status=$?
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; } &&
15171 { ac_try='test -s conftest.$ac_objext'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15174 ac_status=$?
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; }; then
15177 ac_lo=$ac_mid; break
15178 else
15179 echo "$as_me: failed program was:" >&5
15180 sed 's/^/| /' conftest.$ac_ext >&5
15181
15182 ac_hi=`expr '(' $ac_mid ')' - 1`
15183 if test $ac_mid -le $ac_hi; then
15184 ac_lo= ac_hi=
15185 break
15186 fi
15187 ac_mid=`expr 2 '*' $ac_mid`
15188 fi
15189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15190 done
15191 else
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15194
15195 ac_lo= ac_hi=
15196 fi
15197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15198 fi
15199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15200 # Binary search between lo and hi bounds.
15201 while test "x$ac_lo" != "x$ac_hi"; do
15202 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15203 cat >conftest.$ac_ext <<_ACEOF
15204 /* confdefs.h. */
15205 _ACEOF
15206 cat confdefs.h >>conftest.$ac_ext
15207 cat >>conftest.$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15209 $ac_includes_default
15210 int
15211 main ()
15212 {
15213 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15214 test_array [0] = 0
15215
15216 ;
15217 return 0;
15218 }
15219 _ACEOF
15220 rm -f conftest.$ac_objext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15222 (eval $ac_compile) 2>conftest.er1
15223 ac_status=$?
15224 grep -v '^ *+' conftest.er1 >conftest.err
15225 rm -f conftest.er1
15226 cat conftest.err >&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); } &&
15229 { ac_try='test -z "$ac_c_werror_flag"
15230 || test ! -s conftest.err'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15233 ac_status=$?
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; } &&
15236 { ac_try='test -s conftest.$ac_objext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15239 ac_status=$?
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15242 ac_hi=$ac_mid
15243 else
15244 echo "$as_me: failed program was:" >&5
15245 sed 's/^/| /' conftest.$ac_ext >&5
15246
15247 ac_lo=`expr '(' $ac_mid ')' + 1`
15248 fi
15249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15250 done
15251 case $ac_lo in
15252 ?*) ac_cv_sizeof_char=$ac_lo;;
15253 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15254 See \`config.log' for more details." >&5
15255 echo "$as_me: error: cannot compute sizeof (char), 77
15256 See \`config.log' for more details." >&2;}
15257 { (exit 1); exit 1; }; } ;;
15258 esac
15259 else
15260 if test "$cross_compiling" = yes; then
15261 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15262 See \`config.log' for more details." >&5
15263 echo "$as_me: error: cannot run test program while cross compiling
15264 See \`config.log' for more details." >&2;}
15265 { (exit 1); exit 1; }; }
15266 else
15267 cat >conftest.$ac_ext <<_ACEOF
15268 /* confdefs.h. */
15269 _ACEOF
15270 cat confdefs.h >>conftest.$ac_ext
15271 cat >>conftest.$ac_ext <<_ACEOF
15272 /* end confdefs.h. */
15273 $ac_includes_default
15274 long longval () { return (long) (sizeof (char)); }
15275 unsigned long ulongval () { return (long) (sizeof (char)); }
15276 #include <stdio.h>
15277 #include <stdlib.h>
15278 int
15279 main ()
15280 {
15281
15282 FILE *f = fopen ("conftest.val", "w");
15283 if (! f)
15284 exit (1);
15285 if (((long) (sizeof (char))) < 0)
15286 {
15287 long i = longval ();
15288 if (i != ((long) (sizeof (char))))
15289 exit (1);
15290 fprintf (f, "%ld\n", i);
15291 }
15292 else
15293 {
15294 unsigned long i = ulongval ();
15295 if (i != ((long) (sizeof (char))))
15296 exit (1);
15297 fprintf (f, "%lu\n", i);
15298 }
15299 exit (ferror (f) || fclose (f) != 0);
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest$ac_exeext
15306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15307 (eval $ac_link) 2>&5
15308 ac_status=$?
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; }; then
15316 ac_cv_sizeof_char=`cat conftest.val`
15317 else
15318 echo "$as_me: program exited with status $ac_status" >&5
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5
15321
15322 ( exit $ac_status )
15323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15324 See \`config.log' for more details." >&5
15325 echo "$as_me: error: cannot compute sizeof (char), 77
15326 See \`config.log' for more details." >&2;}
15327 { (exit 1); exit 1; }; }
15328 fi
15329 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15330 fi
15331 fi
15332 rm -f conftest.val
15333 else
15334 ac_cv_sizeof_char=0
15335 fi
15336 fi
15337 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15338 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15339 cat >>confdefs.h <<_ACEOF
15340 #define SIZEOF_CHAR $ac_cv_sizeof_char
15341 _ACEOF
15342
15343
15344 echo "$as_me:$LINENO: checking for short" >&5
15345 echo $ECHO_N "checking for short... $ECHO_C" >&6
15346 if test "${ac_cv_type_short+set}" = set; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 else
15349 cat >conftest.$ac_ext <<_ACEOF
15350 /* confdefs.h. */
15351 _ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15355 $ac_includes_default
15356 int
15357 main ()
15358 {
15359 if ((short *) 0)
15360 return 0;
15361 if (sizeof (short))
15362 return 0;
15363 ;
15364 return 0;
15365 }
15366 _ACEOF
15367 rm -f conftest.$ac_objext
15368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15369 (eval $ac_compile) 2>conftest.er1
15370 ac_status=$?
15371 grep -v '^ *+' conftest.er1 >conftest.err
15372 rm -f conftest.er1
15373 cat conftest.err >&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); } &&
15376 { ac_try='test -z "$ac_c_werror_flag"
15377 || test ! -s conftest.err'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15380 ac_status=$?
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; } &&
15383 { ac_try='test -s conftest.$ac_objext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15386 ac_status=$?
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 ac_cv_type_short=yes
15390 else
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15393
15394 ac_cv_type_short=no
15395 fi
15396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15397 fi
15398 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15399 echo "${ECHO_T}$ac_cv_type_short" >&6
15400
15401 echo "$as_me:$LINENO: checking size of short" >&5
15402 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15403 if test "${ac_cv_sizeof_short+set}" = set; then
15404 echo $ECHO_N "(cached) $ECHO_C" >&6
15405 else
15406 if test "$ac_cv_type_short" = yes; then
15407 # The cast to unsigned long works around a bug in the HP C Compiler
15408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15410 # This bug is HP SR number 8606223364.
15411 if test "$cross_compiling" = yes; then
15412 # Depending upon the size, compute the lo and hi bounds.
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419 $ac_includes_default
15420 int
15421 main ()
15422 {
15423 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15424 test_array [0] = 0
15425
15426 ;
15427 return 0;
15428 }
15429 _ACEOF
15430 rm -f conftest.$ac_objext
15431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15432 (eval $ac_compile) 2>conftest.er1
15433 ac_status=$?
15434 grep -v '^ *+' conftest.er1 >conftest.err
15435 rm -f conftest.er1
15436 cat conftest.err >&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); } &&
15439 { ac_try='test -z "$ac_c_werror_flag"
15440 || test ! -s conftest.err'
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); }; } &&
15446 { ac_try='test -s conftest.$ac_objext'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15449 ac_status=$?
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; }; then
15452 ac_lo=0 ac_mid=0
15453 while :; do
15454 cat >conftest.$ac_ext <<_ACEOF
15455 /* confdefs.h. */
15456 _ACEOF
15457 cat confdefs.h >>conftest.$ac_ext
15458 cat >>conftest.$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15460 $ac_includes_default
15461 int
15462 main ()
15463 {
15464 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15465 test_array [0] = 0
15466
15467 ;
15468 return 0;
15469 }
15470 _ACEOF
15471 rm -f conftest.$ac_objext
15472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15473 (eval $ac_compile) 2>conftest.er1
15474 ac_status=$?
15475 grep -v '^ *+' conftest.er1 >conftest.err
15476 rm -f conftest.er1
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try='test -z "$ac_c_werror_flag"
15481 || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try='test -s conftest.$ac_objext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 ac_hi=$ac_mid; break
15494 else
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15497
15498 ac_lo=`expr $ac_mid + 1`
15499 if test $ac_lo -le $ac_mid; then
15500 ac_lo= ac_hi=
15501 break
15502 fi
15503 ac_mid=`expr 2 '*' $ac_mid + 1`
15504 fi
15505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15506 done
15507 else
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15510
15511 cat >conftest.$ac_ext <<_ACEOF
15512 /* confdefs.h. */
15513 _ACEOF
15514 cat confdefs.h >>conftest.$ac_ext
15515 cat >>conftest.$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517 $ac_includes_default
15518 int
15519 main ()
15520 {
15521 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15522 test_array [0] = 0
15523
15524 ;
15525 return 0;
15526 }
15527 _ACEOF
15528 rm -f conftest.$ac_objext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15530 (eval $ac_compile) 2>conftest.er1
15531 ac_status=$?
15532 grep -v '^ *+' conftest.er1 >conftest.err
15533 rm -f conftest.er1
15534 cat conftest.err >&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -z "$ac_c_werror_flag"
15538 || test ! -s conftest.err'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15541 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; } &&
15544 { ac_try='test -s conftest.$ac_objext'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15547 ac_status=$?
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; }; then
15550 ac_hi=-1 ac_mid=-1
15551 while :; do
15552 cat >conftest.$ac_ext <<_ACEOF
15553 /* confdefs.h. */
15554 _ACEOF
15555 cat confdefs.h >>conftest.$ac_ext
15556 cat >>conftest.$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15558 $ac_includes_default
15559 int
15560 main ()
15561 {
15562 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15563 test_array [0] = 0
15564
15565 ;
15566 return 0;
15567 }
15568 _ACEOF
15569 rm -f conftest.$ac_objext
15570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15571 (eval $ac_compile) 2>conftest.er1
15572 ac_status=$?
15573 grep -v '^ *+' conftest.er1 >conftest.err
15574 rm -f conftest.er1
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -z "$ac_c_werror_flag"
15579 || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try='test -s conftest.$ac_objext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15591 ac_lo=$ac_mid; break
15592 else
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15595
15596 ac_hi=`expr '(' $ac_mid ')' - 1`
15597 if test $ac_mid -le $ac_hi; then
15598 ac_lo= ac_hi=
15599 break
15600 fi
15601 ac_mid=`expr 2 '*' $ac_mid`
15602 fi
15603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15604 done
15605 else
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5
15608
15609 ac_lo= ac_hi=
15610 fi
15611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15612 fi
15613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15614 # Binary search between lo and hi bounds.
15615 while test "x$ac_lo" != "x$ac_hi"; do
15616 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15617 cat >conftest.$ac_ext <<_ACEOF
15618 /* confdefs.h. */
15619 _ACEOF
15620 cat confdefs.h >>conftest.$ac_ext
15621 cat >>conftest.$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 $ac_includes_default
15624 int
15625 main ()
15626 {
15627 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15628 test_array [0] = 0
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext
15635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15636 (eval $ac_compile) 2>conftest.er1
15637 ac_status=$?
15638 grep -v '^ *+' conftest.er1 >conftest.err
15639 rm -f conftest.er1
15640 cat conftest.err >&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } &&
15643 { ac_try='test -z "$ac_c_werror_flag"
15644 || test ! -s conftest.err'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15647 ac_status=$?
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; } &&
15650 { ac_try='test -s conftest.$ac_objext'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15653 ac_status=$?
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; }; then
15656 ac_hi=$ac_mid
15657 else
15658 echo "$as_me: failed program was:" >&5
15659 sed 's/^/| /' conftest.$ac_ext >&5
15660
15661 ac_lo=`expr '(' $ac_mid ')' + 1`
15662 fi
15663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15664 done
15665 case $ac_lo in
15666 ?*) ac_cv_sizeof_short=$ac_lo;;
15667 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15668 See \`config.log' for more details." >&5
15669 echo "$as_me: error: cannot compute sizeof (short), 77
15670 See \`config.log' for more details." >&2;}
15671 { (exit 1); exit 1; }; } ;;
15672 esac
15673 else
15674 if test "$cross_compiling" = yes; then
15675 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15676 See \`config.log' for more details." >&5
15677 echo "$as_me: error: cannot run test program while cross compiling
15678 See \`config.log' for more details." >&2;}
15679 { (exit 1); exit 1; }; }
15680 else
15681 cat >conftest.$ac_ext <<_ACEOF
15682 /* confdefs.h. */
15683 _ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15687 $ac_includes_default
15688 long longval () { return (long) (sizeof (short)); }
15689 unsigned long ulongval () { return (long) (sizeof (short)); }
15690 #include <stdio.h>
15691 #include <stdlib.h>
15692 int
15693 main ()
15694 {
15695
15696 FILE *f = fopen ("conftest.val", "w");
15697 if (! f)
15698 exit (1);
15699 if (((long) (sizeof (short))) < 0)
15700 {
15701 long i = longval ();
15702 if (i != ((long) (sizeof (short))))
15703 exit (1);
15704 fprintf (f, "%ld\n", i);
15705 }
15706 else
15707 {
15708 unsigned long i = ulongval ();
15709 if (i != ((long) (sizeof (short))))
15710 exit (1);
15711 fprintf (f, "%lu\n", i);
15712 }
15713 exit (ferror (f) || fclose (f) != 0);
15714
15715 ;
15716 return 0;
15717 }
15718 _ACEOF
15719 rm -f conftest$ac_exeext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15721 (eval $ac_link) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15727 ac_status=$?
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15730 ac_cv_sizeof_short=`cat conftest.val`
15731 else
15732 echo "$as_me: program exited with status $ac_status" >&5
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736 ( exit $ac_status )
15737 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15738 See \`config.log' for more details." >&5
15739 echo "$as_me: error: cannot compute sizeof (short), 77
15740 See \`config.log' for more details." >&2;}
15741 { (exit 1); exit 1; }; }
15742 fi
15743 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15744 fi
15745 fi
15746 rm -f conftest.val
15747 else
15748 ac_cv_sizeof_short=0
15749 fi
15750 fi
15751 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15752 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15753 cat >>confdefs.h <<_ACEOF
15754 #define SIZEOF_SHORT $ac_cv_sizeof_short
15755 _ACEOF
15756
15757
15758 echo "$as_me:$LINENO: checking for void *" >&5
15759 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15760 if test "${ac_cv_type_void_p+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 else
15763 cat >conftest.$ac_ext <<_ACEOF
15764 /* confdefs.h. */
15765 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15769 $ac_includes_default
15770 int
15771 main ()
15772 {
15773 if ((void * *) 0)
15774 return 0;
15775 if (sizeof (void *))
15776 return 0;
15777 ;
15778 return 0;
15779 }
15780 _ACEOF
15781 rm -f conftest.$ac_objext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15783 (eval $ac_compile) 2>conftest.er1
15784 ac_status=$?
15785 grep -v '^ *+' conftest.er1 >conftest.err
15786 rm -f conftest.er1
15787 cat conftest.err >&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } &&
15790 { ac_try='test -z "$ac_c_werror_flag"
15791 || test ! -s conftest.err'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15794 ac_status=$?
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; } &&
15797 { ac_try='test -s conftest.$ac_objext'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15800 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 ac_cv_type_void_p=yes
15804 else
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15807
15808 ac_cv_type_void_p=no
15809 fi
15810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15811 fi
15812 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15813 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15814
15815 echo "$as_me:$LINENO: checking size of void *" >&5
15816 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15817 if test "${ac_cv_sizeof_void_p+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 else
15820 if test "$ac_cv_type_void_p" = yes; then
15821 # The cast to unsigned long works around a bug in the HP C Compiler
15822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15824 # This bug is HP SR number 8606223364.
15825 if test "$cross_compiling" = yes; then
15826 # Depending upon the size, compute the lo and hi bounds.
15827 cat >conftest.$ac_ext <<_ACEOF
15828 /* confdefs.h. */
15829 _ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833 $ac_includes_default
15834 int
15835 main ()
15836 {
15837 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15838 test_array [0] = 0
15839
15840 ;
15841 return 0;
15842 }
15843 _ACEOF
15844 rm -f conftest.$ac_objext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15846 (eval $ac_compile) 2>conftest.er1
15847 ac_status=$?
15848 grep -v '^ *+' conftest.er1 >conftest.err
15849 rm -f conftest.er1
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try='test -z "$ac_c_werror_flag"
15854 || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15857 ac_status=$?
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try='test -s conftest.$ac_objext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15863 ac_status=$?
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 ac_lo=0 ac_mid=0
15867 while :; do
15868 cat >conftest.$ac_ext <<_ACEOF
15869 /* confdefs.h. */
15870 _ACEOF
15871 cat confdefs.h >>conftest.$ac_ext
15872 cat >>conftest.$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 $ac_includes_default
15875 int
15876 main ()
15877 {
15878 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15879 test_array [0] = 0
15880
15881 ;
15882 return 0;
15883 }
15884 _ACEOF
15885 rm -f conftest.$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -z "$ac_c_werror_flag"
15895 || test ! -s conftest.err'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15898 ac_status=$?
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; } &&
15901 { ac_try='test -s conftest.$ac_objext'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15904 ac_status=$?
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; }; then
15907 ac_hi=$ac_mid; break
15908 else
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15911
15912 ac_lo=`expr $ac_mid + 1`
15913 if test $ac_lo -le $ac_mid; then
15914 ac_lo= ac_hi=
15915 break
15916 fi
15917 ac_mid=`expr 2 '*' $ac_mid + 1`
15918 fi
15919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15920 done
15921 else
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15924
15925 cat >conftest.$ac_ext <<_ACEOF
15926 /* confdefs.h. */
15927 _ACEOF
15928 cat confdefs.h >>conftest.$ac_ext
15929 cat >>conftest.$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 $ac_includes_default
15932 int
15933 main ()
15934 {
15935 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15936 test_array [0] = 0
15937
15938 ;
15939 return 0;
15940 }
15941 _ACEOF
15942 rm -f conftest.$ac_objext
15943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15944 (eval $ac_compile) 2>conftest.er1
15945 ac_status=$?
15946 grep -v '^ *+' conftest.er1 >conftest.err
15947 rm -f conftest.er1
15948 cat conftest.err >&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } &&
15951 { ac_try='test -z "$ac_c_werror_flag"
15952 || test ! -s conftest.err'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; } &&
15958 { ac_try='test -s conftest.$ac_objext'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15961 ac_status=$?
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15964 ac_hi=-1 ac_mid=-1
15965 while :; do
15966 cat >conftest.$ac_ext <<_ACEOF
15967 /* confdefs.h. */
15968 _ACEOF
15969 cat confdefs.h >>conftest.$ac_ext
15970 cat >>conftest.$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 $ac_includes_default
15973 int
15974 main ()
15975 {
15976 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15977 test_array [0] = 0
15978
15979 ;
15980 return 0;
15981 }
15982 _ACEOF
15983 rm -f conftest.$ac_objext
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>conftest.er1
15986 ac_status=$?
15987 grep -v '^ *+' conftest.er1 >conftest.err
15988 rm -f conftest.er1
15989 cat conftest.err >&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } &&
15992 { ac_try='test -z "$ac_c_werror_flag"
15993 || test ! -s conftest.err'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; } &&
15999 { ac_try='test -s conftest.$ac_objext'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16002 ac_status=$?
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; }; then
16005 ac_lo=$ac_mid; break
16006 else
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16009
16010 ac_hi=`expr '(' $ac_mid ')' - 1`
16011 if test $ac_mid -le $ac_hi; then
16012 ac_lo= ac_hi=
16013 break
16014 fi
16015 ac_mid=`expr 2 '*' $ac_mid`
16016 fi
16017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16018 done
16019 else
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16022
16023 ac_lo= ac_hi=
16024 fi
16025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16026 fi
16027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16028 # Binary search between lo and hi bounds.
16029 while test "x$ac_lo" != "x$ac_hi"; do
16030 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16031 cat >conftest.$ac_ext <<_ACEOF
16032 /* confdefs.h. */
16033 _ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 $ac_includes_default
16038 int
16039 main ()
16040 {
16041 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16042 test_array [0] = 0
16043
16044 ;
16045 return 0;
16046 }
16047 _ACEOF
16048 rm -f conftest.$ac_objext
16049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16050 (eval $ac_compile) 2>conftest.er1
16051 ac_status=$?
16052 grep -v '^ *+' conftest.er1 >conftest.err
16053 rm -f conftest.er1
16054 cat conftest.err >&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); } &&
16057 { ac_try='test -z "$ac_c_werror_flag"
16058 || test ! -s conftest.err'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16061 ac_status=$?
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; } &&
16064 { ac_try='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16067 ac_status=$?
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_hi=$ac_mid
16071 else
16072 echo "$as_me: failed program was:" >&5
16073 sed 's/^/| /' conftest.$ac_ext >&5
16074
16075 ac_lo=`expr '(' $ac_mid ')' + 1`
16076 fi
16077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16078 done
16079 case $ac_lo in
16080 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16081 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16082 See \`config.log' for more details." >&5
16083 echo "$as_me: error: cannot compute sizeof (void *), 77
16084 See \`config.log' for more details." >&2;}
16085 { (exit 1); exit 1; }; } ;;
16086 esac
16087 else
16088 if test "$cross_compiling" = yes; then
16089 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16090 See \`config.log' for more details." >&5
16091 echo "$as_me: error: cannot run test program while cross compiling
16092 See \`config.log' for more details." >&2;}
16093 { (exit 1); exit 1; }; }
16094 else
16095 cat >conftest.$ac_ext <<_ACEOF
16096 /* confdefs.h. */
16097 _ACEOF
16098 cat confdefs.h >>conftest.$ac_ext
16099 cat >>conftest.$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 $ac_includes_default
16102 long longval () { return (long) (sizeof (void *)); }
16103 unsigned long ulongval () { return (long) (sizeof (void *)); }
16104 #include <stdio.h>
16105 #include <stdlib.h>
16106 int
16107 main ()
16108 {
16109
16110 FILE *f = fopen ("conftest.val", "w");
16111 if (! f)
16112 exit (1);
16113 if (((long) (sizeof (void *))) < 0)
16114 {
16115 long i = longval ();
16116 if (i != ((long) (sizeof (void *))))
16117 exit (1);
16118 fprintf (f, "%ld\n", i);
16119 }
16120 else
16121 {
16122 unsigned long i = ulongval ();
16123 if (i != ((long) (sizeof (void *))))
16124 exit (1);
16125 fprintf (f, "%lu\n", i);
16126 }
16127 exit (ferror (f) || fclose (f) != 0);
16128
16129 ;
16130 return 0;
16131 }
16132 _ACEOF
16133 rm -f conftest$ac_exeext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16135 (eval $ac_link) 2>&5
16136 ac_status=$?
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_cv_sizeof_void_p=`cat conftest.val`
16145 else
16146 echo "$as_me: program exited with status $ac_status" >&5
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.$ac_ext >&5
16149
16150 ( exit $ac_status )
16151 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16152 See \`config.log' for more details." >&5
16153 echo "$as_me: error: cannot compute sizeof (void *), 77
16154 See \`config.log' for more details." >&2;}
16155 { (exit 1); exit 1; }; }
16156 fi
16157 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16158 fi
16159 fi
16160 rm -f conftest.val
16161 else
16162 ac_cv_sizeof_void_p=0
16163 fi
16164 fi
16165 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16166 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16167 cat >>confdefs.h <<_ACEOF
16168 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16169 _ACEOF
16170
16171
16172 echo "$as_me:$LINENO: checking for int" >&5
16173 echo $ECHO_N "checking for int... $ECHO_C" >&6
16174 if test "${ac_cv_type_int+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177 cat >conftest.$ac_ext <<_ACEOF
16178 /* confdefs.h. */
16179 _ACEOF
16180 cat confdefs.h >>conftest.$ac_ext
16181 cat >>conftest.$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16183 $ac_includes_default
16184 int
16185 main ()
16186 {
16187 if ((int *) 0)
16188 return 0;
16189 if (sizeof (int))
16190 return 0;
16191 ;
16192 return 0;
16193 }
16194 _ACEOF
16195 rm -f conftest.$ac_objext
16196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>conftest.er1
16198 ac_status=$?
16199 grep -v '^ *+' conftest.er1 >conftest.err
16200 rm -f conftest.er1
16201 cat conftest.err >&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } &&
16204 { ac_try='test -z "$ac_c_werror_flag"
16205 || test ! -s conftest.err'
16206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16207 (eval $ac_try) 2>&5
16208 ac_status=$?
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }; } &&
16211 { ac_try='test -s conftest.$ac_objext'
16212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16213 (eval $ac_try) 2>&5
16214 ac_status=$?
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); }; }; then
16217 ac_cv_type_int=yes
16218 else
16219 echo "$as_me: failed program was:" >&5
16220 sed 's/^/| /' conftest.$ac_ext >&5
16221
16222 ac_cv_type_int=no
16223 fi
16224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16225 fi
16226 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16227 echo "${ECHO_T}$ac_cv_type_int" >&6
16228
16229 echo "$as_me:$LINENO: checking size of int" >&5
16230 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16231 if test "${ac_cv_sizeof_int+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 else
16234 if test "$ac_cv_type_int" = yes; then
16235 # The cast to unsigned long works around a bug in the HP C Compiler
16236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16238 # This bug is HP SR number 8606223364.
16239 if test "$cross_compiling" = yes; then
16240 # Depending upon the size, compute the lo and hi bounds.
16241 cat >conftest.$ac_ext <<_ACEOF
16242 /* confdefs.h. */
16243 _ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16247 $ac_includes_default
16248 int
16249 main ()
16250 {
16251 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16252 test_array [0] = 0
16253
16254 ;
16255 return 0;
16256 }
16257 _ACEOF
16258 rm -f conftest.$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try='test -z "$ac_c_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try='test -s conftest.$ac_objext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16277 ac_status=$?
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 ac_lo=0 ac_mid=0
16281 while :; do
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 (int))) <= $ac_mid)];
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"
16309 || test ! -s conftest.err'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16312 ac_status=$?
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; } &&
16315 { ac_try='test -s conftest.$ac_objext'
16316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16317 (eval $ac_try) 2>&5
16318 ac_status=$?
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); }; }; then
16321 ac_hi=$ac_mid; break
16322 else
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16325
16326 ac_lo=`expr $ac_mid + 1`
16327 if test $ac_lo -le $ac_mid; then
16328 ac_lo= ac_hi=
16329 break
16330 fi
16331 ac_mid=`expr 2 '*' $ac_mid + 1`
16332 fi
16333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16334 done
16335 else
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 cat >conftest.$ac_ext <<_ACEOF
16340 /* confdefs.h. */
16341 _ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16346 int
16347 main ()
16348 {
16349 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16350 test_array [0] = 0
16351
16352 ;
16353 return 0;
16354 }
16355 _ACEOF
16356 rm -f conftest.$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>conftest.er1
16359 ac_status=$?
16360 grep -v '^ *+' conftest.er1 >conftest.err
16361 rm -f conftest.er1
16362 cat conftest.err >&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try='test -z "$ac_c_werror_flag"
16366 || test ! -s conftest.err'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16369 ac_status=$?
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; } &&
16372 { ac_try='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16375 ac_status=$?
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 ac_hi=-1 ac_mid=-1
16379 while :; do
16380 cat >conftest.$ac_ext <<_ACEOF
16381 /* confdefs.h. */
16382 _ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16387 int
16388 main ()
16389 {
16390 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16391 test_array [0] = 0
16392
16393 ;
16394 return 0;
16395 }
16396 _ACEOF
16397 rm -f conftest.$ac_objext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16399 (eval $ac_compile) 2>conftest.er1
16400 ac_status=$?
16401 grep -v '^ *+' conftest.er1 >conftest.err
16402 rm -f conftest.er1
16403 cat conftest.err >&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -z "$ac_c_werror_flag"
16407 || test ! -s conftest.err'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16410 ac_status=$?
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; } &&
16413 { ac_try='test -s conftest.$ac_objext'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16416 ac_status=$?
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 ac_lo=$ac_mid; break
16420 else
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16423
16424 ac_hi=`expr '(' $ac_mid ')' - 1`
16425 if test $ac_mid -le $ac_hi; then
16426 ac_lo= ac_hi=
16427 break
16428 fi
16429 ac_mid=`expr 2 '*' $ac_mid`
16430 fi
16431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16432 done
16433 else
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16436
16437 ac_lo= ac_hi=
16438 fi
16439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16440 fi
16441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16442 # Binary search between lo and hi bounds.
16443 while test "x$ac_lo" != "x$ac_hi"; do
16444 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16445 cat >conftest.$ac_ext <<_ACEOF
16446 /* confdefs.h. */
16447 _ACEOF
16448 cat confdefs.h >>conftest.$ac_ext
16449 cat >>conftest.$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16452 int
16453 main ()
16454 {
16455 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16456 test_array [0] = 0
16457
16458 ;
16459 return 0;
16460 }
16461 _ACEOF
16462 rm -f conftest.$ac_objext
16463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16464 (eval $ac_compile) 2>conftest.er1
16465 ac_status=$?
16466 grep -v '^ *+' conftest.er1 >conftest.err
16467 rm -f conftest.er1
16468 cat conftest.err >&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } &&
16471 { ac_try='test -z "$ac_c_werror_flag"
16472 || test ! -s conftest.err'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; } &&
16478 { ac_try='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16481 ac_status=$?
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_hi=$ac_mid
16485 else
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16488
16489 ac_lo=`expr '(' $ac_mid ')' + 1`
16490 fi
16491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16492 done
16493 case $ac_lo in
16494 ?*) ac_cv_sizeof_int=$ac_lo;;
16495 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16496 See \`config.log' for more details." >&5
16497 echo "$as_me: error: cannot compute sizeof (int), 77
16498 See \`config.log' for more details." >&2;}
16499 { (exit 1); exit 1; }; } ;;
16500 esac
16501 else
16502 if test "$cross_compiling" = yes; then
16503 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16504 See \`config.log' for more details." >&5
16505 echo "$as_me: error: cannot run test program while cross compiling
16506 See \`config.log' for more details." >&2;}
16507 { (exit 1); exit 1; }; }
16508 else
16509 cat >conftest.$ac_ext <<_ACEOF
16510 /* confdefs.h. */
16511 _ACEOF
16512 cat confdefs.h >>conftest.$ac_ext
16513 cat >>conftest.$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 $ac_includes_default
16516 long longval () { return (long) (sizeof (int)); }
16517 unsigned long ulongval () { return (long) (sizeof (int)); }
16518 #include <stdio.h>
16519 #include <stdlib.h>
16520 int
16521 main ()
16522 {
16523
16524 FILE *f = fopen ("conftest.val", "w");
16525 if (! f)
16526 exit (1);
16527 if (((long) (sizeof (int))) < 0)
16528 {
16529 long i = longval ();
16530 if (i != ((long) (sizeof (int))))
16531 exit (1);
16532 fprintf (f, "%ld\n", i);
16533 }
16534 else
16535 {
16536 unsigned long i = ulongval ();
16537 if (i != ((long) (sizeof (int))))
16538 exit (1);
16539 fprintf (f, "%lu\n", i);
16540 }
16541 exit (ferror (f) || fclose (f) != 0);
16542
16543 ;
16544 return 0;
16545 }
16546 _ACEOF
16547 rm -f conftest$ac_exeext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16549 (eval $ac_link) 2>&5
16550 ac_status=$?
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16555 ac_status=$?
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; }; then
16558 ac_cv_sizeof_int=`cat conftest.val`
16559 else
16560 echo "$as_me: program exited with status $ac_status" >&5
16561 echo "$as_me: failed program was:" >&5
16562 sed 's/^/| /' conftest.$ac_ext >&5
16563
16564 ( exit $ac_status )
16565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16566 See \`config.log' for more details." >&5
16567 echo "$as_me: error: cannot compute sizeof (int), 77
16568 See \`config.log' for more details." >&2;}
16569 { (exit 1); exit 1; }; }
16570 fi
16571 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16572 fi
16573 fi
16574 rm -f conftest.val
16575 else
16576 ac_cv_sizeof_int=0
16577 fi
16578 fi
16579 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16580 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16581 cat >>confdefs.h <<_ACEOF
16582 #define SIZEOF_INT $ac_cv_sizeof_int
16583 _ACEOF
16584
16585
16586 echo "$as_me:$LINENO: checking for long" >&5
16587 echo $ECHO_N "checking for long... $ECHO_C" >&6
16588 if test "${ac_cv_type_long+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16591 cat >conftest.$ac_ext <<_ACEOF
16592 /* confdefs.h. */
16593 _ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 $ac_includes_default
16598 int
16599 main ()
16600 {
16601 if ((long *) 0)
16602 return 0;
16603 if (sizeof (long))
16604 return 0;
16605 ;
16606 return 0;
16607 }
16608 _ACEOF
16609 rm -f conftest.$ac_objext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16611 (eval $ac_compile) 2>conftest.er1
16612 ac_status=$?
16613 grep -v '^ *+' conftest.er1 >conftest.err
16614 rm -f conftest.er1
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try='test -z "$ac_c_werror_flag"
16619 || test ! -s conftest.err'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16622 ac_status=$?
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; } &&
16625 { ac_try='test -s conftest.$ac_objext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16628 ac_status=$?
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 ac_cv_type_long=yes
16632 else
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16635
16636 ac_cv_type_long=no
16637 fi
16638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16639 fi
16640 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16641 echo "${ECHO_T}$ac_cv_type_long" >&6
16642
16643 echo "$as_me:$LINENO: checking size of long" >&5
16644 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16645 if test "${ac_cv_sizeof_long+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648 if test "$ac_cv_type_long" = yes; then
16649 # The cast to unsigned long works around a bug in the HP C Compiler
16650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16652 # This bug is HP SR number 8606223364.
16653 if test "$cross_compiling" = yes; then
16654 # Depending upon the size, compute the lo and hi bounds.
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h. */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661 $ac_includes_default
16662 int
16663 main ()
16664 {
16665 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16666 test_array [0] = 0
16667
16668 ;
16669 return 0;
16670 }
16671 _ACEOF
16672 rm -f conftest.$ac_objext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>conftest.er1
16675 ac_status=$?
16676 grep -v '^ *+' conftest.er1 >conftest.err
16677 rm -f conftest.er1
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -z "$ac_c_werror_flag"
16682 || test ! -s conftest.err'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16685 ac_status=$?
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; } &&
16688 { ac_try='test -s conftest.$ac_objext'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16691 ac_status=$?
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; }; then
16694 ac_lo=0 ac_mid=0
16695 while :; do
16696 cat >conftest.$ac_ext <<_ACEOF
16697 /* confdefs.h. */
16698 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 $ac_includes_default
16703 int
16704 main ()
16705 {
16706 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16707 test_array [0] = 0
16708
16709 ;
16710 return 0;
16711 }
16712 _ACEOF
16713 rm -f conftest.$ac_objext
16714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16715 (eval $ac_compile) 2>conftest.er1
16716 ac_status=$?
16717 grep -v '^ *+' conftest.er1 >conftest.err
16718 rm -f conftest.er1
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } &&
16722 { ac_try='test -z "$ac_c_werror_flag"
16723 || test ! -s conftest.err'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16726 ac_status=$?
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; } &&
16729 { ac_try='test -s conftest.$ac_objext'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16732 ac_status=$?
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16735 ac_hi=$ac_mid; break
16736 else
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.$ac_ext >&5
16739
16740 ac_lo=`expr $ac_mid + 1`
16741 if test $ac_lo -le $ac_mid; then
16742 ac_lo= ac_hi=
16743 break
16744 fi
16745 ac_mid=`expr 2 '*' $ac_mid + 1`
16746 fi
16747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16748 done
16749 else
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.$ac_ext >&5
16752
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 int
16761 main ()
16762 {
16763 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16764 test_array [0] = 0
16765
16766 ;
16767 return 0;
16768 }
16769 _ACEOF
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16773 ac_status=$?
16774 grep -v '^ *+' conftest.er1 >conftest.err
16775 rm -f conftest.er1
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try='test -z "$ac_c_werror_flag"
16780 || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 ac_hi=-1 ac_mid=-1
16793 while :; do
16794 cat >conftest.$ac_ext <<_ACEOF
16795 /* confdefs.h. */
16796 _ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800 $ac_includes_default
16801 int
16802 main ()
16803 {
16804 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16805 test_array [0] = 0
16806
16807 ;
16808 return 0;
16809 }
16810 _ACEOF
16811 rm -f conftest.$ac_objext
16812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16813 (eval $ac_compile) 2>conftest.er1
16814 ac_status=$?
16815 grep -v '^ *+' conftest.er1 >conftest.err
16816 rm -f conftest.er1
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } &&
16820 { ac_try='test -z "$ac_c_werror_flag"
16821 || test ! -s conftest.err'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; } &&
16827 { ac_try='test -s conftest.$ac_objext'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16830 ac_status=$?
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; }; then
16833 ac_lo=$ac_mid; break
16834 else
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16837
16838 ac_hi=`expr '(' $ac_mid ')' - 1`
16839 if test $ac_mid -le $ac_hi; then
16840 ac_lo= ac_hi=
16841 break
16842 fi
16843 ac_mid=`expr 2 '*' $ac_mid`
16844 fi
16845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16846 done
16847 else
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 ac_lo= ac_hi=
16852 fi
16853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16854 fi
16855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16856 # Binary search between lo and hi bounds.
16857 while test "x$ac_lo" != "x$ac_hi"; do
16858 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16859 cat >conftest.$ac_ext <<_ACEOF
16860 /* confdefs.h. */
16861 _ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 $ac_includes_default
16866 int
16867 main ()
16868 {
16869 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16870 test_array [0] = 0
16871
16872 ;
16873 return 0;
16874 }
16875 _ACEOF
16876 rm -f conftest.$ac_objext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16878 (eval $ac_compile) 2>conftest.er1
16879 ac_status=$?
16880 grep -v '^ *+' conftest.er1 >conftest.err
16881 rm -f conftest.er1
16882 cat conftest.err >&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } &&
16885 { ac_try='test -z "$ac_c_werror_flag"
16886 || test ! -s conftest.err'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16889 ac_status=$?
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; } &&
16892 { ac_try='test -s conftest.$ac_objext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16898 ac_hi=$ac_mid
16899 else
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16902
16903 ac_lo=`expr '(' $ac_mid ')' + 1`
16904 fi
16905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16906 done
16907 case $ac_lo in
16908 ?*) ac_cv_sizeof_long=$ac_lo;;
16909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16910 See \`config.log' for more details." >&5
16911 echo "$as_me: error: cannot compute sizeof (long), 77
16912 See \`config.log' for more details." >&2;}
16913 { (exit 1); exit 1; }; } ;;
16914 esac
16915 else
16916 if test "$cross_compiling" = yes; then
16917 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16918 See \`config.log' for more details." >&5
16919 echo "$as_me: error: cannot run test program while cross compiling
16920 See \`config.log' for more details." >&2;}
16921 { (exit 1); exit 1; }; }
16922 else
16923 cat >conftest.$ac_ext <<_ACEOF
16924 /* confdefs.h. */
16925 _ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16930 long longval () { return (long) (sizeof (long)); }
16931 unsigned long ulongval () { return (long) (sizeof (long)); }
16932 #include <stdio.h>
16933 #include <stdlib.h>
16934 int
16935 main ()
16936 {
16937
16938 FILE *f = fopen ("conftest.val", "w");
16939 if (! f)
16940 exit (1);
16941 if (((long) (sizeof (long))) < 0)
16942 {
16943 long i = longval ();
16944 if (i != ((long) (sizeof (long))))
16945 exit (1);
16946 fprintf (f, "%ld\n", i);
16947 }
16948 else
16949 {
16950 unsigned long i = ulongval ();
16951 if (i != ((long) (sizeof (long))))
16952 exit (1);
16953 fprintf (f, "%lu\n", i);
16954 }
16955 exit (ferror (f) || fclose (f) != 0);
16956
16957 ;
16958 return 0;
16959 }
16960 _ACEOF
16961 rm -f conftest$ac_exeext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16963 (eval $ac_link) 2>&5
16964 ac_status=$?
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; }; then
16972 ac_cv_sizeof_long=`cat conftest.val`
16973 else
16974 echo "$as_me: program exited with status $ac_status" >&5
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.$ac_ext >&5
16977
16978 ( exit $ac_status )
16979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16980 See \`config.log' for more details." >&5
16981 echo "$as_me: error: cannot compute sizeof (long), 77
16982 See \`config.log' for more details." >&2;}
16983 { (exit 1); exit 1; }; }
16984 fi
16985 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16986 fi
16987 fi
16988 rm -f conftest.val
16989 else
16990 ac_cv_sizeof_long=0
16991 fi
16992 fi
16993 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16994 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16995 cat >>confdefs.h <<_ACEOF
16996 #define SIZEOF_LONG $ac_cv_sizeof_long
16997 _ACEOF
16998
16999
17000 echo "$as_me:$LINENO: checking for size_t" >&5
17001 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17002 if test "${ac_cv_type_size_t+set}" = set; then
17003 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 else
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 int
17013 main ()
17014 {
17015 if ((size_t *) 0)
17016 return 0;
17017 if (sizeof (size_t))
17018 return 0;
17019 ;
17020 return 0;
17021 }
17022 _ACEOF
17023 rm -f conftest.$ac_objext
17024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17025 (eval $ac_compile) 2>conftest.er1
17026 ac_status=$?
17027 grep -v '^ *+' conftest.er1 >conftest.err
17028 rm -f conftest.er1
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } &&
17032 { ac_try='test -z "$ac_c_werror_flag"
17033 || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17036 ac_status=$?
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17042 ac_status=$?
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17045 ac_cv_type_size_t=yes
17046 else
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.$ac_ext >&5
17049
17050 ac_cv_type_size_t=no
17051 fi
17052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17053 fi
17054 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17055 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17056
17057 echo "$as_me:$LINENO: checking size of size_t" >&5
17058 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17059 if test "${ac_cv_sizeof_size_t+set}" = set; then
17060 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 else
17062 if test "$ac_cv_type_size_t" = yes; then
17063 # The cast to unsigned long works around a bug in the HP C Compiler
17064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17066 # This bug is HP SR number 8606223364.
17067 if test "$cross_compiling" = yes; then
17068 # Depending upon the size, compute the lo and hi bounds.
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17076 int
17077 main ()
17078 {
17079 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17080 test_array [0] = 0
17081
17082 ;
17083 return 0;
17084 }
17085 _ACEOF
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17089 ac_status=$?
17090 grep -v '^ *+' conftest.er1 >conftest.err
17091 rm -f conftest.er1
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -z "$ac_c_werror_flag"
17096 || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17099 ac_status=$?
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try='test -s conftest.$ac_objext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17105 ac_status=$?
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_lo=0 ac_mid=0
17109 while :; do
17110 cat >conftest.$ac_ext <<_ACEOF
17111 /* confdefs.h. */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116 $ac_includes_default
17117 int
17118 main ()
17119 {
17120 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17121 test_array [0] = 0
17122
17123 ;
17124 return 0;
17125 }
17126 _ACEOF
17127 rm -f conftest.$ac_objext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17129 (eval $ac_compile) 2>conftest.er1
17130 ac_status=$?
17131 grep -v '^ *+' conftest.er1 >conftest.err
17132 rm -f conftest.er1
17133 cat conftest.err >&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } &&
17136 { ac_try='test -z "$ac_c_werror_flag"
17137 || test ! -s conftest.err'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17140 ac_status=$?
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; } &&
17143 { ac_try='test -s conftest.$ac_objext'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17146 ac_status=$?
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; }; then
17149 ac_hi=$ac_mid; break
17150 else
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17153
17154 ac_lo=`expr $ac_mid + 1`
17155 if test $ac_lo -le $ac_mid; then
17156 ac_lo= ac_hi=
17157 break
17158 fi
17159 ac_mid=`expr 2 '*' $ac_mid + 1`
17160 fi
17161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17162 done
17163 else
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17166
17167 cat >conftest.$ac_ext <<_ACEOF
17168 /* confdefs.h. */
17169 _ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17174 int
17175 main ()
17176 {
17177 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17178 test_array [0] = 0
17179
17180 ;
17181 return 0;
17182 }
17183 _ACEOF
17184 rm -f conftest.$ac_objext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17186 (eval $ac_compile) 2>conftest.er1
17187 ac_status=$?
17188 grep -v '^ *+' conftest.er1 >conftest.err
17189 rm -f conftest.er1
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try='test -z "$ac_c_werror_flag"
17194 || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest.$ac_objext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_hi=-1 ac_mid=-1
17207 while :; do
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 $ac_includes_default
17215 int
17216 main ()
17217 {
17218 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17219 test_array [0] = 0
17220
17221 ;
17222 return 0;
17223 }
17224 _ACEOF
17225 rm -f conftest.$ac_objext
17226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17227 (eval $ac_compile) 2>conftest.er1
17228 ac_status=$?
17229 grep -v '^ *+' conftest.er1 >conftest.err
17230 rm -f conftest.er1
17231 cat conftest.err >&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } &&
17234 { ac_try='test -z "$ac_c_werror_flag"
17235 || test ! -s conftest.err'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17238 ac_status=$?
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; } &&
17241 { ac_try='test -s conftest.$ac_objext'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17244 ac_status=$?
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; }; then
17247 ac_lo=$ac_mid; break
17248 else
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17251
17252 ac_hi=`expr '(' $ac_mid ')' - 1`
17253 if test $ac_mid -le $ac_hi; then
17254 ac_lo= ac_hi=
17255 break
17256 fi
17257 ac_mid=`expr 2 '*' $ac_mid`
17258 fi
17259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17260 done
17261 else
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17264
17265 ac_lo= ac_hi=
17266 fi
17267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17268 fi
17269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17270 # Binary search between lo and hi bounds.
17271 while test "x$ac_lo" != "x$ac_hi"; do
17272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17273 cat >conftest.$ac_ext <<_ACEOF
17274 /* confdefs.h. */
17275 _ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279 $ac_includes_default
17280 int
17281 main ()
17282 {
17283 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17284 test_array [0] = 0
17285
17286 ;
17287 return 0;
17288 }
17289 _ACEOF
17290 rm -f conftest.$ac_objext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17292 (eval $ac_compile) 2>conftest.er1
17293 ac_status=$?
17294 grep -v '^ *+' conftest.er1 >conftest.err
17295 rm -f conftest.er1
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } &&
17299 { ac_try='test -z "$ac_c_werror_flag"
17300 || test ! -s conftest.err'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17303 ac_status=$?
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; } &&
17306 { ac_try='test -s conftest.$ac_objext'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17309 ac_status=$?
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; }; then
17312 ac_hi=$ac_mid
17313 else
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17316
17317 ac_lo=`expr '(' $ac_mid ')' + 1`
17318 fi
17319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17320 done
17321 case $ac_lo in
17322 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17324 See \`config.log' for more details." >&5
17325 echo "$as_me: error: cannot compute sizeof (size_t), 77
17326 See \`config.log' for more details." >&2;}
17327 { (exit 1); exit 1; }; } ;;
17328 esac
17329 else
17330 if test "$cross_compiling" = yes; then
17331 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17332 See \`config.log' for more details." >&5
17333 echo "$as_me: error: cannot run test program while cross compiling
17334 See \`config.log' for more details." >&2;}
17335 { (exit 1); exit 1; }; }
17336 else
17337 cat >conftest.$ac_ext <<_ACEOF
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17344 long longval () { return (long) (sizeof (size_t)); }
17345 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17346 #include <stdio.h>
17347 #include <stdlib.h>
17348 int
17349 main ()
17350 {
17351
17352 FILE *f = fopen ("conftest.val", "w");
17353 if (! f)
17354 exit (1);
17355 if (((long) (sizeof (size_t))) < 0)
17356 {
17357 long i = longval ();
17358 if (i != ((long) (sizeof (size_t))))
17359 exit (1);
17360 fprintf (f, "%ld\n", i);
17361 }
17362 else
17363 {
17364 unsigned long i = ulongval ();
17365 if (i != ((long) (sizeof (size_t))))
17366 exit (1);
17367 fprintf (f, "%lu\n", i);
17368 }
17369 exit (ferror (f) || fclose (f) != 0);
17370
17371 ;
17372 return 0;
17373 }
17374 _ACEOF
17375 rm -f conftest$ac_exeext
17376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17377 (eval $ac_link) 2>&5
17378 ac_status=$?
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_cv_sizeof_size_t=`cat conftest.val`
17387 else
17388 echo "$as_me: program exited with status $ac_status" >&5
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.$ac_ext >&5
17391
17392 ( exit $ac_status )
17393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17394 See \`config.log' for more details." >&5
17395 echo "$as_me: error: cannot compute sizeof (size_t), 77
17396 See \`config.log' for more details." >&2;}
17397 { (exit 1); exit 1; }; }
17398 fi
17399 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17400 fi
17401 fi
17402 rm -f conftest.val
17403 else
17404 ac_cv_sizeof_size_t=0
17405 fi
17406 fi
17407 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17408 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17409 cat >>confdefs.h <<_ACEOF
17410 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17411 _ACEOF
17412
17413
17414
17415 case "${host}" in
17416 arm-*-linux* )
17417 echo "$as_me:$LINENO: checking for long long" >&5
17418 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17419 if test "${ac_cv_type_long_long+set}" = set; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 else
17422 cat >conftest.$ac_ext <<_ACEOF
17423 /* confdefs.h. */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428 $ac_includes_default
17429 int
17430 main ()
17431 {
17432 if ((long long *) 0)
17433 return 0;
17434 if (sizeof (long long))
17435 return 0;
17436 ;
17437 return 0;
17438 }
17439 _ACEOF
17440 rm -f conftest.$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17443 ac_status=$?
17444 grep -v '^ *+' conftest.er1 >conftest.err
17445 rm -f conftest.er1
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try='test -z "$ac_c_werror_flag"
17450 || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17453 ac_status=$?
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17459 ac_status=$?
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 ac_cv_type_long_long=yes
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17466
17467 ac_cv_type_long_long=no
17468 fi
17469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17470 fi
17471 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17472 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17473
17474 echo "$as_me:$LINENO: checking size of long long" >&5
17475 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17476 if test "${ac_cv_sizeof_long_long+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 else
17479 if test "$ac_cv_type_long_long" = yes; then
17480 # The cast to unsigned long works around a bug in the HP C Compiler
17481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17483 # This bug is HP SR number 8606223364.
17484 if test "$cross_compiling" = yes; then
17485 # Depending upon the size, compute the lo and hi bounds.
17486 cat >conftest.$ac_ext <<_ACEOF
17487 /* confdefs.h. */
17488 _ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492 $ac_includes_default
17493 int
17494 main ()
17495 {
17496 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17497 test_array [0] = 0
17498
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 rm -f conftest.$ac_objext
17504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17505 (eval $ac_compile) 2>conftest.er1
17506 ac_status=$?
17507 grep -v '^ *+' conftest.er1 >conftest.err
17508 rm -f conftest.er1
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try='test -z "$ac_c_werror_flag"
17513 || test ! -s conftest.err'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17516 ac_status=$?
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; } &&
17519 { ac_try='test -s conftest.$ac_objext'
17520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521 (eval $ac_try) 2>&5
17522 ac_status=$?
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; }; then
17525 ac_lo=0 ac_mid=0
17526 while :; do
17527 cat >conftest.$ac_ext <<_ACEOF
17528 /* confdefs.h. */
17529 _ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17533 $ac_includes_default
17534 int
17535 main ()
17536 {
17537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17538 test_array [0] = 0
17539
17540 ;
17541 return 0;
17542 }
17543 _ACEOF
17544 rm -f conftest.$ac_objext
17545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17546 (eval $ac_compile) 2>conftest.er1
17547 ac_status=$?
17548 grep -v '^ *+' conftest.er1 >conftest.err
17549 rm -f conftest.er1
17550 cat conftest.err >&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } &&
17553 { ac_try='test -z "$ac_c_werror_flag"
17554 || test ! -s conftest.err'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17557 ac_status=$?
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; } &&
17560 { ac_try='test -s conftest.$ac_objext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17563 ac_status=$?
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_hi=$ac_mid; break
17567 else
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.$ac_ext >&5
17570
17571 ac_lo=`expr $ac_mid + 1`
17572 if test $ac_lo -le $ac_mid; then
17573 ac_lo= ac_hi=
17574 break
17575 fi
17576 ac_mid=`expr 2 '*' $ac_mid + 1`
17577 fi
17578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17579 done
17580 else
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17583
17584 cat >conftest.$ac_ext <<_ACEOF
17585 /* confdefs.h. */
17586 _ACEOF
17587 cat confdefs.h >>conftest.$ac_ext
17588 cat >>conftest.$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590 $ac_includes_default
17591 int
17592 main ()
17593 {
17594 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17595 test_array [0] = 0
17596
17597 ;
17598 return 0;
17599 }
17600 _ACEOF
17601 rm -f conftest.$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_c_werror_flag"
17611 || test ! -s conftest.err'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; } &&
17617 { ac_try='test -s conftest.$ac_objext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17620 ac_status=$?
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 ac_hi=-1 ac_mid=-1
17624 while :; do
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 $ac_includes_default
17632 int
17633 main ()
17634 {
17635 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17636 test_array [0] = 0
17637
17638 ;
17639 return 0;
17640 }
17641 _ACEOF
17642 rm -f conftest.$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try='test -z "$ac_c_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_lo=$ac_mid; break
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17668
17669 ac_hi=`expr '(' $ac_mid ')' - 1`
17670 if test $ac_mid -le $ac_hi; then
17671 ac_lo= ac_hi=
17672 break
17673 fi
17674 ac_mid=`expr 2 '*' $ac_mid`
17675 fi
17676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17677 done
17678 else
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.$ac_ext >&5
17681
17682 ac_lo= ac_hi=
17683 fi
17684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17685 fi
17686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17687 # Binary search between lo and hi bounds.
17688 while test "x$ac_lo" != "x$ac_hi"; do
17689 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 $ac_includes_default
17697 int
17698 main ()
17699 {
17700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17701 test_array [0] = 0
17702
17703 ;
17704 return 0;
17705 }
17706 _ACEOF
17707 rm -f conftest.$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709 (eval $ac_compile) 2>conftest.er1
17710 ac_status=$?
17711 grep -v '^ *+' conftest.er1 >conftest.err
17712 rm -f conftest.er1
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try='test -z "$ac_c_werror_flag"
17717 || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17720 ac_status=$?
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try='test -s conftest.$ac_objext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17726 ac_status=$?
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17729 ac_hi=$ac_mid
17730 else
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17733
17734 ac_lo=`expr '(' $ac_mid ')' + 1`
17735 fi
17736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17737 done
17738 case $ac_lo in
17739 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17740 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17741 See \`config.log' for more details." >&5
17742 echo "$as_me: error: cannot compute sizeof (long long), 77
17743 See \`config.log' for more details." >&2;}
17744 { (exit 1); exit 1; }; } ;;
17745 esac
17746 else
17747 if test "$cross_compiling" = yes; then
17748 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17749 See \`config.log' for more details." >&5
17750 echo "$as_me: error: cannot run test program while cross compiling
17751 See \`config.log' for more details." >&2;}
17752 { (exit 1); exit 1; }; }
17753 else
17754 cat >conftest.$ac_ext <<_ACEOF
17755 /* confdefs.h. */
17756 _ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 $ac_includes_default
17761 long longval () { return (long) (sizeof (long long)); }
17762 unsigned long ulongval () { return (long) (sizeof (long long)); }
17763 #include <stdio.h>
17764 #include <stdlib.h>
17765 int
17766 main ()
17767 {
17768
17769 FILE *f = fopen ("conftest.val", "w");
17770 if (! f)
17771 exit (1);
17772 if (((long) (sizeof (long long))) < 0)
17773 {
17774 long i = longval ();
17775 if (i != ((long) (sizeof (long long))))
17776 exit (1);
17777 fprintf (f, "%ld\n", i);
17778 }
17779 else
17780 {
17781 unsigned long i = ulongval ();
17782 if (i != ((long) (sizeof (long long))))
17783 exit (1);
17784 fprintf (f, "%lu\n", i);
17785 }
17786 exit (ferror (f) || fclose (f) != 0);
17787
17788 ;
17789 return 0;
17790 }
17791 _ACEOF
17792 rm -f conftest$ac_exeext
17793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17794 (eval $ac_link) 2>&5
17795 ac_status=$?
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17799 (eval $ac_try) 2>&5
17800 ac_status=$?
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; }; then
17803 ac_cv_sizeof_long_long=`cat conftest.val`
17804 else
17805 echo "$as_me: program exited with status $ac_status" >&5
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17808
17809 ( exit $ac_status )
17810 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17811 See \`config.log' for more details." >&5
17812 echo "$as_me: error: cannot compute sizeof (long long), 77
17813 See \`config.log' for more details." >&2;}
17814 { (exit 1); exit 1; }; }
17815 fi
17816 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17817 fi
17818 fi
17819 rm -f conftest.val
17820 else
17821 ac_cv_sizeof_long_long=0
17822 fi
17823 fi
17824 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17825 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17826 cat >>confdefs.h <<_ACEOF
17827 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17828 _ACEOF
17829
17830
17831 ;;
17832 *-hp-hpux* )
17833 echo "$as_me:$LINENO: checking for long long" >&5
17834 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17835 if test "${ac_cv_type_long_long+set}" = set; then
17836 echo $ECHO_N "(cached) $ECHO_C" >&6
17837 else
17838 cat >conftest.$ac_ext <<_ACEOF
17839 /* confdefs.h. */
17840 _ACEOF
17841 cat confdefs.h >>conftest.$ac_ext
17842 cat >>conftest.$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17845 int
17846 main ()
17847 {
17848 if ((long long *) 0)
17849 return 0;
17850 if (sizeof (long long))
17851 return 0;
17852 ;
17853 return 0;
17854 }
17855 _ACEOF
17856 rm -f conftest.$ac_objext
17857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17858 (eval $ac_compile) 2>conftest.er1
17859 ac_status=$?
17860 grep -v '^ *+' conftest.er1 >conftest.err
17861 rm -f conftest.er1
17862 cat conftest.err >&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } &&
17865 { ac_try='test -z "$ac_c_werror_flag"
17866 || test ! -s conftest.err'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17869 ac_status=$?
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; } &&
17872 { ac_try='test -s conftest.$ac_objext'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17875 ac_status=$?
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 ac_cv_type_long_long=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 ac_cv_type_long_long=no
17884 fi
17885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17886 fi
17887 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17888 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17889
17890 echo "$as_me:$LINENO: checking size of long long" >&5
17891 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17892 if test "${ac_cv_sizeof_long_long+set}" = set; then
17893 echo $ECHO_N "(cached) $ECHO_C" >&6
17894 else
17895 if test "$ac_cv_type_long_long" = yes; then
17896 # The cast to unsigned long works around a bug in the HP C Compiler
17897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17899 # This bug is HP SR number 8606223364.
17900 if test "$cross_compiling" = yes; then
17901 # Depending upon the size, compute the lo and hi bounds.
17902 cat >conftest.$ac_ext <<_ACEOF
17903 /* confdefs.h. */
17904 _ACEOF
17905 cat confdefs.h >>conftest.$ac_ext
17906 cat >>conftest.$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17909 int
17910 main ()
17911 {
17912 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17913 test_array [0] = 0
17914
17915 ;
17916 return 0;
17917 }
17918 _ACEOF
17919 rm -f conftest.$ac_objext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921 (eval $ac_compile) 2>conftest.er1
17922 ac_status=$?
17923 grep -v '^ *+' conftest.er1 >conftest.err
17924 rm -f conftest.er1
17925 cat conftest.err >&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try='test -z "$ac_c_werror_flag"
17929 || test ! -s conftest.err'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17932 ac_status=$?
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17941 ac_lo=0 ac_mid=0
17942 while :; do
17943 cat >conftest.$ac_ext <<_ACEOF
17944 /* confdefs.h. */
17945 _ACEOF
17946 cat confdefs.h >>conftest.$ac_ext
17947 cat >>conftest.$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17950 int
17951 main ()
17952 {
17953 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17954 test_array [0] = 0
17955
17956 ;
17957 return 0;
17958 }
17959 _ACEOF
17960 rm -f conftest.$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17963 ac_status=$?
17964 grep -v '^ *+' conftest.er1 >conftest.err
17965 rm -f conftest.er1
17966 cat conftest.err >&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try='test -z "$ac_c_werror_flag"
17970 || test ! -s conftest.err'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17973 ac_status=$?
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try='test -s conftest.$ac_objext'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17979 ac_status=$?
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; }; then
17982 ac_hi=$ac_mid; break
17983 else
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.$ac_ext >&5
17986
17987 ac_lo=`expr $ac_mid + 1`
17988 if test $ac_lo -le $ac_mid; then
17989 ac_lo= ac_hi=
17990 break
17991 fi
17992 ac_mid=`expr 2 '*' $ac_mid + 1`
17993 fi
17994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17995 done
17996 else
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
17999
18000 cat >conftest.$ac_ext <<_ACEOF
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18007 int
18008 main ()
18009 {
18010 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18011 test_array [0] = 0
18012
18013 ;
18014 return 0;
18015 }
18016 _ACEOF
18017 rm -f conftest.$ac_objext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18019 (eval $ac_compile) 2>conftest.er1
18020 ac_status=$?
18021 grep -v '^ *+' conftest.er1 >conftest.err
18022 rm -f conftest.er1
18023 cat conftest.err >&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try='test -z "$ac_c_werror_flag"
18027 || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18039 ac_hi=-1 ac_mid=-1
18040 while :; do
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h. */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18048 int
18049 main ()
18050 {
18051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18052 test_array [0] = 0
18053
18054 ;
18055 return 0;
18056 }
18057 _ACEOF
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18061 ac_status=$?
18062 grep -v '^ *+' conftest.er1 >conftest.err
18063 rm -f conftest.er1
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try='test -z "$ac_c_werror_flag"
18068 || test ! -s conftest.err'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18071 ac_status=$?
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try='test -s conftest.$ac_objext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18077 ac_status=$?
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_lo=$ac_mid; break
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18084
18085 ac_hi=`expr '(' $ac_mid ')' - 1`
18086 if test $ac_mid -le $ac_hi; then
18087 ac_lo= ac_hi=
18088 break
18089 fi
18090 ac_mid=`expr 2 '*' $ac_mid`
18091 fi
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18093 done
18094 else
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18097
18098 ac_lo= ac_hi=
18099 fi
18100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18101 fi
18102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18103 # Binary search between lo and hi bounds.
18104 while test "x$ac_lo" != "x$ac_hi"; do
18105 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18106 cat >conftest.$ac_ext <<_ACEOF
18107 /* confdefs.h. */
18108 _ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 $ac_includes_default
18113 int
18114 main ()
18115 {
18116 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18117 test_array [0] = 0
18118
18119 ;
18120 return 0;
18121 }
18122 _ACEOF
18123 rm -f conftest.$ac_objext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18125 (eval $ac_compile) 2>conftest.er1
18126 ac_status=$?
18127 grep -v '^ *+' conftest.er1 >conftest.err
18128 rm -f conftest.er1
18129 cat conftest.err >&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try='test -z "$ac_c_werror_flag"
18133 || test ! -s conftest.err'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; } &&
18139 { ac_try='test -s conftest.$ac_objext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18142 ac_status=$?
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18145 ac_hi=$ac_mid
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18149
18150 ac_lo=`expr '(' $ac_mid ')' + 1`
18151 fi
18152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18153 done
18154 case $ac_lo in
18155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18156 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18157 See \`config.log' for more details." >&5
18158 echo "$as_me: error: cannot compute sizeof (long long), 77
18159 See \`config.log' for more details." >&2;}
18160 { (exit 1); exit 1; }; } ;;
18161 esac
18162 else
18163 if test "$cross_compiling" = yes; then
18164 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18165 See \`config.log' for more details." >&5
18166 echo "$as_me: error: cannot run test program while cross compiling
18167 See \`config.log' for more details." >&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 if test "$ac_cv_sizeof_long_long" != "0"; then
18248 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18249 fi
18250 ;;
18251 * )
18252 echo "$as_me:$LINENO: checking for long long" >&5
18253 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18254 if test "${ac_cv_type_long_long+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 else
18257 cat >conftest.$ac_ext <<_ACEOF
18258 /* confdefs.h. */
18259 _ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 $ac_includes_default
18264 int
18265 main ()
18266 {
18267 if ((long long *) 0)
18268 return 0;
18269 if (sizeof (long long))
18270 return 0;
18271 ;
18272 return 0;
18273 }
18274 _ACEOF
18275 rm -f conftest.$ac_objext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18277 (eval $ac_compile) 2>conftest.er1
18278 ac_status=$?
18279 grep -v '^ *+' conftest.er1 >conftest.err
18280 rm -f conftest.er1
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try='test -z "$ac_c_werror_flag"
18285 || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18288 ac_status=$?
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try='test -s conftest.$ac_objext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18294 ac_status=$?
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 ac_cv_type_long_long=yes
18298 else
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18301
18302 ac_cv_type_long_long=no
18303 fi
18304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18305 fi
18306 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18307 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18308
18309 echo "$as_me:$LINENO: checking size of long long" >&5
18310 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18311 if test "${ac_cv_sizeof_long_long+set}" = set; then
18312 echo $ECHO_N "(cached) $ECHO_C" >&6
18313 else
18314 if test "$ac_cv_type_long_long" = yes; then
18315 # The cast to unsigned long works around a bug in the HP C Compiler
18316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18318 # This bug is HP SR number 8606223364.
18319 if test "$cross_compiling" = yes; then
18320 # Depending upon the size, compute the lo and hi bounds.
18321 cat >conftest.$ac_ext <<_ACEOF
18322 /* confdefs.h. */
18323 _ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 $ac_includes_default
18328 int
18329 main ()
18330 {
18331 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18332 test_array [0] = 0
18333
18334 ;
18335 return 0;
18336 }
18337 _ACEOF
18338 rm -f conftest.$ac_objext
18339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18340 (eval $ac_compile) 2>conftest.er1
18341 ac_status=$?
18342 grep -v '^ *+' conftest.er1 >conftest.err
18343 rm -f conftest.er1
18344 cat conftest.err >&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } &&
18347 { ac_try='test -z "$ac_c_werror_flag"
18348 || test ! -s conftest.err'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18351 ac_status=$?
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; } &&
18354 { ac_try='test -s conftest.$ac_objext'
18355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356 (eval $ac_try) 2>&5
18357 ac_status=$?
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; }; then
18360 ac_lo=0 ac_mid=0
18361 while :; do
18362 cat >conftest.$ac_ext <<_ACEOF
18363 /* confdefs.h. */
18364 _ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368 $ac_includes_default
18369 int
18370 main ()
18371 {
18372 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18373 test_array [0] = 0
18374
18375 ;
18376 return 0;
18377 }
18378 _ACEOF
18379 rm -f conftest.$ac_objext
18380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18381 (eval $ac_compile) 2>conftest.er1
18382 ac_status=$?
18383 grep -v '^ *+' conftest.er1 >conftest.err
18384 rm -f conftest.er1
18385 cat conftest.err >&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); } &&
18388 { ac_try='test -z "$ac_c_werror_flag"
18389 || test ! -s conftest.err'
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); }; } &&
18395 { ac_try='test -s conftest.$ac_objext'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18398 ac_status=$?
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; }; then
18401 ac_hi=$ac_mid; break
18402 else
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.$ac_ext >&5
18405
18406 ac_lo=`expr $ac_mid + 1`
18407 if test $ac_lo -le $ac_mid; then
18408 ac_lo= ac_hi=
18409 break
18410 fi
18411 ac_mid=`expr 2 '*' $ac_mid + 1`
18412 fi
18413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18414 done
18415 else
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.$ac_ext >&5
18418
18419 cat >conftest.$ac_ext <<_ACEOF
18420 /* confdefs.h. */
18421 _ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 $ac_includes_default
18426 int
18427 main ()
18428 {
18429 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18430 test_array [0] = 0
18431
18432 ;
18433 return 0;
18434 }
18435 _ACEOF
18436 rm -f conftest.$ac_objext
18437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18438 (eval $ac_compile) 2>conftest.er1
18439 ac_status=$?
18440 grep -v '^ *+' conftest.er1 >conftest.err
18441 rm -f conftest.er1
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } &&
18445 { ac_try='test -z "$ac_c_werror_flag"
18446 || test ! -s conftest.err'
18447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18448 (eval $ac_try) 2>&5
18449 ac_status=$?
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); }; } &&
18452 { ac_try='test -s conftest.$ac_objext'
18453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454 (eval $ac_try) 2>&5
18455 ac_status=$?
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; }; then
18458 ac_hi=-1 ac_mid=-1
18459 while :; do
18460 cat >conftest.$ac_ext <<_ACEOF
18461 /* confdefs.h. */
18462 _ACEOF
18463 cat confdefs.h >>conftest.$ac_ext
18464 cat >>conftest.$ac_ext <<_ACEOF
18465 /* end confdefs.h. */
18466 $ac_includes_default
18467 int
18468 main ()
18469 {
18470 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18471 test_array [0] = 0
18472
18473 ;
18474 return 0;
18475 }
18476 _ACEOF
18477 rm -f conftest.$ac_objext
18478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18479 (eval $ac_compile) 2>conftest.er1
18480 ac_status=$?
18481 grep -v '^ *+' conftest.er1 >conftest.err
18482 rm -f conftest.er1
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -z "$ac_c_werror_flag"
18487 || test ! -s conftest.err'
18488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18489 (eval $ac_try) 2>&5
18490 ac_status=$?
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; } &&
18493 { ac_try='test -s conftest.$ac_objext'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18496 ac_status=$?
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; }; then
18499 ac_lo=$ac_mid; break
18500 else
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18503
18504 ac_hi=`expr '(' $ac_mid ')' - 1`
18505 if test $ac_mid -le $ac_hi; then
18506 ac_lo= ac_hi=
18507 break
18508 fi
18509 ac_mid=`expr 2 '*' $ac_mid`
18510 fi
18511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18512 done
18513 else
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.$ac_ext >&5
18516
18517 ac_lo= ac_hi=
18518 fi
18519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18520 fi
18521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18522 # Binary search between lo and hi bounds.
18523 while test "x$ac_lo" != "x$ac_hi"; do
18524 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18525 cat >conftest.$ac_ext <<_ACEOF
18526 /* confdefs.h. */
18527 _ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 $ac_includes_default
18532 int
18533 main ()
18534 {
18535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18536 test_array [0] = 0
18537
18538 ;
18539 return 0;
18540 }
18541 _ACEOF
18542 rm -f conftest.$ac_objext
18543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18544 (eval $ac_compile) 2>conftest.er1
18545 ac_status=$?
18546 grep -v '^ *+' conftest.er1 >conftest.err
18547 rm -f conftest.er1
18548 cat conftest.err >&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); } &&
18551 { ac_try='test -z "$ac_c_werror_flag"
18552 || test ! -s conftest.err'
18553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 (eval $ac_try) 2>&5
18555 ac_status=$?
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); }; } &&
18558 { ac_try='test -s conftest.$ac_objext'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18561 ac_status=$?
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; }; then
18564 ac_hi=$ac_mid
18565 else
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18568
18569 ac_lo=`expr '(' $ac_mid ')' + 1`
18570 fi
18571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18572 done
18573 case $ac_lo in
18574 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18576 See \`config.log' for more details." >&5
18577 echo "$as_me: error: cannot compute sizeof (long long), 77
18578 See \`config.log' for more details." >&2;}
18579 { (exit 1); exit 1; }; } ;;
18580 esac
18581 else
18582 if test "$cross_compiling" = yes; then
18583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18584 See \`config.log' for more details." >&5
18585 echo "$as_me: error: cannot run test program while cross compiling
18586 See \`config.log' for more details." >&2;}
18587 { (exit 1); exit 1; }; }
18588 else
18589 cat >conftest.$ac_ext <<_ACEOF
18590 /* confdefs.h. */
18591 _ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595 $ac_includes_default
18596 long longval () { return (long) (sizeof (long long)); }
18597 unsigned long ulongval () { return (long) (sizeof (long long)); }
18598 #include <stdio.h>
18599 #include <stdlib.h>
18600 int
18601 main ()
18602 {
18603
18604 FILE *f = fopen ("conftest.val", "w");
18605 if (! f)
18606 exit (1);
18607 if (((long) (sizeof (long long))) < 0)
18608 {
18609 long i = longval ();
18610 if (i != ((long) (sizeof (long long))))
18611 exit (1);
18612 fprintf (f, "%ld\n", i);
18613 }
18614 else
18615 {
18616 unsigned long i = ulongval ();
18617 if (i != ((long) (sizeof (long long))))
18618 exit (1);
18619 fprintf (f, "%lu\n", i);
18620 }
18621 exit (ferror (f) || fclose (f) != 0);
18622
18623 ;
18624 return 0;
18625 }
18626 _ACEOF
18627 rm -f conftest$ac_exeext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18629 (eval $ac_link) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18635 ac_status=$?
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; }; then
18638 ac_cv_sizeof_long_long=`cat conftest.val`
18639 else
18640 echo "$as_me: program exited with status $ac_status" >&5
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18643
18644 ( exit $ac_status )
18645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18646 See \`config.log' for more details." >&5
18647 echo "$as_me: error: cannot compute sizeof (long long), 77
18648 See \`config.log' for more details." >&2;}
18649 { (exit 1); exit 1; }; }
18650 fi
18651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18652 fi
18653 fi
18654 rm -f conftest.val
18655 else
18656 ac_cv_sizeof_long_long=0
18657 fi
18658 fi
18659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18660 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18661 cat >>confdefs.h <<_ACEOF
18662 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18663 _ACEOF
18664
18665
18666 esac
18667
18668 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18669 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18670 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 else
18673
18674 if test "$cross_compiling" = yes; then
18675
18676 case "${host}" in
18677 *-pc-msdosdjgpp )
18678 wx_cv_sizeof_wchar_t=0
18679 ;;
18680 * )
18681 wx_cv_sizeof_wchar_t=4
18682 ;;
18683 esac
18684
18685
18686 else
18687 cat >conftest.$ac_ext <<_ACEOF
18688 /* confdefs.h. */
18689 _ACEOF
18690 cat confdefs.h >>conftest.$ac_ext
18691 cat >>conftest.$ac_ext <<_ACEOF
18692 /* end confdefs.h. */
18693
18694 /* DJGPP only has fake wchar_t: */
18695 #ifdef __DJGPP__
18696 # error "fake wchar_t"
18697 #endif
18698 #ifdef HAVE_WCHAR_H
18699 # ifdef __CYGWIN__
18700 # include <stddef.h>
18701 # endif
18702 # include <wchar.h>
18703 #endif
18704 #ifdef HAVE_STDLIB_H
18705 # include <stdlib.h>
18706 #endif
18707 #include <stdio.h>
18708 int main()
18709 {
18710 FILE *f=fopen("conftestval", "w");
18711 if (!f) exit(1);
18712 fprintf(f, "%i", sizeof(wchar_t));
18713 exit(0);
18714 }
18715
18716 _ACEOF
18717 rm -f conftest$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719 (eval $ac_link) 2>&5
18720 ac_status=$?
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18725 ac_status=$?
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; }; then
18728 wx_cv_sizeof_wchar_t=`cat conftestval`
18729 else
18730 echo "$as_me: program exited with status $ac_status" >&5
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18733
18734 ( exit $ac_status )
18735 wx_cv_sizeof_wchar_t=0
18736 fi
18737 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18738 fi
18739
18740 fi
18741 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18742 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18743
18744 cat >>confdefs.h <<_ACEOF
18745 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18746 _ACEOF
18747
18748
18749 echo "$as_me:$LINENO: checking for va_copy" >&5
18750 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18751 if test "${wx_cv_func_va_copy+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 else
18754
18755 cat >conftest.$ac_ext <<_ACEOF
18756
18757 #include <stdarg.h>
18758 void foo(char *f, ...)
18759 {
18760 va_list ap1, ap2;
18761 va_start(ap1, f);
18762 va_copy(ap2, ap1);
18763 va_end(ap2);
18764 va_end(ap1);
18765 }
18766 int main()
18767 {
18768 foo("hi", 17);
18769 return 0;
18770 }
18771 _ACEOF
18772 rm -f conftest.$ac_objext conftest$ac_exeext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18774 (eval $ac_link) 2>conftest.er1
18775 ac_status=$?
18776 grep -v '^ *+' conftest.er1 >conftest.err
18777 rm -f conftest.er1
18778 cat conftest.err >&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try='test -z "$ac_c_werror_flag"
18782 || test ! -s conftest.err'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18785 ac_status=$?
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; } &&
18788 { ac_try='test -s conftest$ac_exeext'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 wx_cv_func_va_copy=yes
18795 else
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18798
18799 wx_cv_func_va_copy=no
18800
18801 fi
18802 rm -f conftest.err conftest.$ac_objext \
18803 conftest$ac_exeext conftest.$ac_ext
18804
18805
18806 fi
18807 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18808 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18809
18810 if test $wx_cv_func_va_copy = "yes"; then
18811 cat >>confdefs.h <<\_ACEOF
18812 #define HAVE_VA_COPY 1
18813 _ACEOF
18814
18815 else
18816 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18817 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18818 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 else
18821
18822 if test "$cross_compiling" = yes; then
18823 wx_cv_type_va_list_lvalue=yes
18824
18825 else
18826 cat >conftest.$ac_ext <<_ACEOF
18827
18828 #include <stdarg.h>
18829 int foo(char *f, ...)
18830 {
18831 va_list ap1, ap2;
18832 va_start(ap1, f);
18833 ap2 = ap1;
18834 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18835 return 1;
18836 va_end(ap2);
18837 va_end(ap1);
18838 return 0;
18839 }
18840 int main()
18841 {
18842 return foo("hi", 17);
18843 }
18844 _ACEOF
18845 rm -f conftest$ac_exeext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18847 (eval $ac_link) 2>&5
18848 ac_status=$?
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
18856 wx_cv_type_va_list_lvalue=yes
18857 else
18858 echo "$as_me: program exited with status $ac_status" >&5
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18861
18862 ( exit $ac_status )
18863 wx_cv_type_va_list_lvalue=no
18864 fi
18865 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18866 fi
18867
18868
18869 fi
18870 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18871 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18872
18873 if test $wx_cv_type_va_list_lvalue != "yes"; then
18874 cat >>confdefs.h <<\_ACEOF
18875 #define VA_LIST_IS_ARRAY 1
18876 _ACEOF
18877
18878 fi
18879 fi
18880
18881 # Check whether --enable-largefile or --disable-largefile was given.
18882 if test "${enable_largefile+set}" = set; then
18883 enableval="$enable_largefile"
18884
18885 fi;
18886 if test "$enable_largefile" != no; then
18887 wx_largefile=no
18888
18889 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18890 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18891 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 else
18894
18895 cat >conftest.$ac_ext <<_ACEOF
18896 /* confdefs.h. */
18897 _ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 #define _FILE_OFFSET_BITS 64
18902 #include <sys/types.h>
18903 int
18904 main ()
18905 {
18906 typedef struct {
18907 unsigned int field: sizeof(off_t) == 8;
18908 } wxlf;
18909
18910 ;
18911 return 0;
18912 }
18913 _ACEOF
18914 rm -f conftest.$ac_objext
18915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18916 (eval $ac_compile) 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } &&
18923 { ac_try='test -z "$ac_c_werror_flag"
18924 || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_cv_sys_file_offset_bits=64
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18940
18941 ac_cv_sys_file_offset_bits=no
18942 fi
18943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18944
18945
18946 fi
18947 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18948 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18949
18950 if test "$ac_cv_sys_file_offset_bits" != no; then
18951 wx_largefile=yes
18952 cat >>confdefs.h <<_ACEOF
18953 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18954 _ACEOF
18955
18956 fi
18957
18958 if test "x$wx_largefile" != "xyes"; then
18959
18960 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18961 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18962 if test "${ac_cv_sys_large_files+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18964 else
18965
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 #define _LARGE_FILES 1
18973 #include <sys/types.h>
18974 int
18975 main ()
18976 {
18977 typedef struct {
18978 unsigned int field: sizeof(off_t) == 8;
18979 } wxlf;
18980
18981 ;
18982 return 0;
18983 }
18984 _ACEOF
18985 rm -f conftest.$ac_objext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18987 (eval $ac_compile) 2>conftest.er1
18988 ac_status=$?
18989 grep -v '^ *+' conftest.er1 >conftest.err
18990 rm -f conftest.er1
18991 cat conftest.err >&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try='test -z "$ac_c_werror_flag"
18995 || test ! -s conftest.err'
18996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997 (eval $ac_try) 2>&5
18998 ac_status=$?
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; } &&
19001 { ac_try='test -s conftest.$ac_objext'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19004 ac_status=$?
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; }; then
19007 ac_cv_sys_large_files=1
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19011
19012 ac_cv_sys_large_files=no
19013 fi
19014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19015
19016
19017 fi
19018 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19019 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19020
19021 if test "$ac_cv_sys_large_files" != no; then
19022 wx_largefile=yes
19023 cat >>confdefs.h <<_ACEOF
19024 #define _LARGE_FILES $ac_cv_sys_large_files
19025 _ACEOF
19026
19027 fi
19028
19029 fi
19030
19031 echo "$as_me:$LINENO: checking if large file support is available" >&5
19032 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19033 if test "x$wx_largefile" = "xyes"; then
19034 cat >>confdefs.h <<\_ACEOF
19035 #define HAVE_LARGEFILE_SUPPORT 1
19036 _ACEOF
19037
19038 fi
19039 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19040 echo "${ECHO_T}$wx_largefile" >&6
19041 fi
19042
19043
19044 if test "x$wx_largefile" = "xyes"; then
19045 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19046 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19047 else
19048 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
19049 fi
19050 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19051 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19052 if test "${ac_cv_sys_largefile_source+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 else
19055 while :; do
19056 ac_cv_sys_largefile_source=no
19057 cat >conftest.$ac_ext <<_ACEOF
19058 /* confdefs.h. */
19059 _ACEOF
19060 cat confdefs.h >>conftest.$ac_ext
19061 cat >>conftest.$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19063 #include <stdio.h>
19064 int
19065 main ()
19066 {
19067 return !fseeko;
19068 ;
19069 return 0;
19070 }
19071 _ACEOF
19072 rm -f conftest.$ac_objext
19073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19074 (eval $ac_compile) 2>conftest.er1
19075 ac_status=$?
19076 grep -v '^ *+' conftest.er1 >conftest.err
19077 rm -f conftest.er1
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } &&
19081 { ac_try='test -z "$ac_c_werror_flag"
19082 || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19091 ac_status=$?
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 break
19095 else
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.$ac_ext >&5
19098
19099 fi
19100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 cat >conftest.$ac_ext <<_ACEOF
19102 /* confdefs.h. */
19103 _ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 #define _LARGEFILE_SOURCE 1
19108 #include <stdio.h>
19109 int
19110 main ()
19111 {
19112 return !fseeko;
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try='test -z "$ac_c_werror_flag"
19127 || test ! -s conftest.err'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19130 ac_status=$?
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; } &&
19133 { ac_try='test -s conftest.$ac_objext'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19136 ac_status=$?
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; }; then
19139 ac_cv_sys_largefile_source=1; break
19140 else
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 fi
19145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19146 break
19147 done
19148 fi
19149 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19150 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19151 if test "$ac_cv_sys_largefile_source" != no; then
19152
19153 cat >>confdefs.h <<_ACEOF
19154 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19155 _ACEOF
19156
19157 fi
19158 rm -f conftest*
19159
19160 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19161 # in glibc 2.1.3, but that breaks too many other things.
19162 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19163 echo "$as_me:$LINENO: checking for fseeko" >&5
19164 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
19165 if test "${ac_cv_func_fseeko+set}" = set; then
19166 echo $ECHO_N "(cached) $ECHO_C" >&6
19167 else
19168 cat >conftest.$ac_ext <<_ACEOF
19169 /* confdefs.h. */
19170 _ACEOF
19171 cat confdefs.h >>conftest.$ac_ext
19172 cat >>conftest.$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19174 #include <stdio.h>
19175 int
19176 main ()
19177 {
19178 return fseeko && fseeko (stdin, 0, 0);
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>conftest.er1
19186 ac_status=$?
19187 grep -v '^ *+' conftest.er1 >conftest.err
19188 rm -f conftest.er1
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try='test -z "$ac_c_werror_flag"
19193 || test ! -s conftest.err'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; } &&
19199 { ac_try='test -s conftest$ac_exeext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_cv_func_fseeko=yes
19206 else
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19209
19210 ac_cv_func_fseeko=no
19211 fi
19212 rm -f conftest.err conftest.$ac_objext \
19213 conftest$ac_exeext conftest.$ac_ext
19214 fi
19215 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
19216 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
19217 if test $ac_cv_func_fseeko = yes; then
19218
19219 cat >>confdefs.h <<\_ACEOF
19220 #define HAVE_FSEEKO 1
19221 _ACEOF
19222
19223 fi
19224
19225 if test "$ac_cv_sys_largefile_source" != no; then
19226 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
19227 fi
19228 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
19229 fi
19230
19231 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19232 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19233 if test "${ac_cv_c_bigendian+set}" = set; then
19234 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 else
19236 ac_cv_c_bigendian=unknown
19237 # See if sys/param.h defines the BYTE_ORDER macro.
19238 cat >conftest.$ac_ext <<_ACEOF
19239 /* confdefs.h. */
19240 _ACEOF
19241 cat confdefs.h >>conftest.$ac_ext
19242 cat >>conftest.$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19244 #include <sys/types.h>
19245 #include <sys/param.h>
19246 int
19247 main ()
19248 {
19249
19250 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19251 bogus endian macros
19252 #endif
19253 ;
19254 return 0;
19255 }
19256 _ACEOF
19257 rm -f conftest.$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19260 ac_status=$?
19261 grep -v '^ *+' conftest.er1 >conftest.err
19262 rm -f conftest.er1
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try='test -z "$ac_c_werror_flag"
19267 || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19270 ac_status=$?
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19276 ac_status=$?
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19279 # It does; now see whether it defined to BIG_ENDIAN or not.
19280 cat >conftest.$ac_ext <<_ACEOF
19281 /* confdefs.h. */
19282 _ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 #include <sys/types.h>
19287 #include <sys/param.h>
19288 int
19289 main ()
19290 {
19291
19292 #if BYTE_ORDER != BIG_ENDIAN
19293 not big endian
19294 #endif
19295 ;
19296 return 0;
19297 }
19298 _ACEOF
19299 rm -f conftest.$ac_objext
19300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19301 (eval $ac_compile) 2>conftest.er1
19302 ac_status=$?
19303 grep -v '^ *+' conftest.er1 >conftest.err
19304 rm -f conftest.er1
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } &&
19308 { ac_try='test -z "$ac_c_werror_flag"
19309 || test ! -s conftest.err'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; } &&
19315 { ac_try='test -s conftest.$ac_objext'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19318 ac_status=$?
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; }; then
19321 ac_cv_c_bigendian=yes
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19325
19326 ac_cv_c_bigendian=no
19327 fi
19328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19329 else
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19332
19333 fi
19334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19335 if test $ac_cv_c_bigendian = unknown; then
19336 if test "$cross_compiling" = yes; then
19337 ac_cv_c_bigendian=unknown
19338 else
19339 cat >conftest.$ac_ext <<_ACEOF
19340 /* confdefs.h. */
19341 _ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 main () {
19346 /* Are we little or big endian? From Harbison&Steele. */
19347 union
19348 {
19349 long l;
19350 char c[sizeof (long)];
19351 } u;
19352 u.l = 1;
19353 exit (u.c[sizeof (long) - 1] == 1);
19354 }
19355 _ACEOF
19356 rm -f conftest$ac_exeext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19358 (eval $ac_link) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19364 ac_status=$?
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_c_bigendian=no
19368 else
19369 echo "$as_me: program exited with status $ac_status" >&5
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19372
19373 ( exit $ac_status )
19374 ac_cv_c_bigendian=yes
19375 fi
19376 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19377 fi
19378 fi
19379 fi
19380 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19381 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19382 if test $ac_cv_c_bigendian = unknown; then
19383 { 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
19384 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;}
19385 fi
19386 if test $ac_cv_c_bigendian = yes; then
19387 cat >>confdefs.h <<\_ACEOF
19388 #define WORDS_BIGENDIAN 1
19389 _ACEOF
19390
19391 fi
19392
19393
19394 ac_ext=cc
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19400 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19401 if test -z "$CXXCPP"; then
19402 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19404 else
19405 # Double quotes because CXXCPP needs to be expanded
19406 for CXXCPP in "$CXX -E" "/lib/cpp"
19407 do
19408 ac_preproc_ok=false
19409 for ac_cxx_preproc_warn_flag in '' yes
19410 do
19411 # Use a header file that comes with gcc, so configuring glibc
19412 # with a fresh cross-compiler works.
19413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19414 # <limits.h> exists even on freestanding compilers.
19415 # On the NeXT, cc -E runs the code through the compiler's parser,
19416 # not just through cpp. "Syntax error" is here to catch this case.
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #ifdef __STDC__
19424 # include <limits.h>
19425 #else
19426 # include <assert.h>
19427 #endif
19428 Syntax error
19429 _ACEOF
19430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19432 ac_status=$?
19433 grep -v '^ *+' conftest.er1 >conftest.err
19434 rm -f conftest.er1
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } >/dev/null; then
19438 if test -s conftest.err; then
19439 ac_cpp_err=$ac_cxx_preproc_warn_flag
19440 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19441 else
19442 ac_cpp_err=
19443 fi
19444 else
19445 ac_cpp_err=yes
19446 fi
19447 if test -z "$ac_cpp_err"; then
19448 :
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19452
19453 # Broken: fails on valid input.
19454 continue
19455 fi
19456 rm -f conftest.err conftest.$ac_ext
19457
19458 # OK, works on sane cases. Now check whether non-existent headers
19459 # can be detected and how.
19460 cat >conftest.$ac_ext <<_ACEOF
19461 /* confdefs.h. */
19462 _ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 #include <ac_nonexistent.h>
19467 _ACEOF
19468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19470 ac_status=$?
19471 grep -v '^ *+' conftest.er1 >conftest.err
19472 rm -f conftest.er1
19473 cat conftest.err >&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } >/dev/null; then
19476 if test -s conftest.err; then
19477 ac_cpp_err=$ac_cxx_preproc_warn_flag
19478 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19479 else
19480 ac_cpp_err=
19481 fi
19482 else
19483 ac_cpp_err=yes
19484 fi
19485 if test -z "$ac_cpp_err"; then
19486 # Broken: success on invalid input.
19487 continue
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 # Passes both tests.
19493 ac_preproc_ok=:
19494 break
19495 fi
19496 rm -f conftest.err conftest.$ac_ext
19497
19498 done
19499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19500 rm -f conftest.err conftest.$ac_ext
19501 if $ac_preproc_ok; then
19502 break
19503 fi
19504
19505 done
19506 ac_cv_prog_CXXCPP=$CXXCPP
19507
19508 fi
19509 CXXCPP=$ac_cv_prog_CXXCPP
19510 else
19511 ac_cv_prog_CXXCPP=$CXXCPP
19512 fi
19513 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19514 echo "${ECHO_T}$CXXCPP" >&6
19515 ac_preproc_ok=false
19516 for ac_cxx_preproc_warn_flag in '' yes
19517 do
19518 # Use a header file that comes with gcc, so configuring glibc
19519 # with a fresh cross-compiler works.
19520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19521 # <limits.h> exists even on freestanding compilers.
19522 # On the NeXT, cc -E runs the code through the compiler's parser,
19523 # not just through cpp. "Syntax error" is here to catch this case.
19524 cat >conftest.$ac_ext <<_ACEOF
19525 /* confdefs.h. */
19526 _ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 #ifdef __STDC__
19531 # include <limits.h>
19532 #else
19533 # include <assert.h>
19534 #endif
19535 Syntax error
19536 _ACEOF
19537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19539 ac_status=$?
19540 grep -v '^ *+' conftest.er1 >conftest.err
19541 rm -f conftest.er1
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } >/dev/null; then
19545 if test -s conftest.err; then
19546 ac_cpp_err=$ac_cxx_preproc_warn_flag
19547 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19548 else
19549 ac_cpp_err=
19550 fi
19551 else
19552 ac_cpp_err=yes
19553 fi
19554 if test -z "$ac_cpp_err"; then
19555 :
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 # Broken: fails on valid input.
19561 continue
19562 fi
19563 rm -f conftest.err conftest.$ac_ext
19564
19565 # OK, works on sane cases. Now check whether non-existent headers
19566 # can be detected and how.
19567 cat >conftest.$ac_ext <<_ACEOF
19568 /* confdefs.h. */
19569 _ACEOF
19570 cat confdefs.h >>conftest.$ac_ext
19571 cat >>conftest.$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19573 #include <ac_nonexistent.h>
19574 _ACEOF
19575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19577 ac_status=$?
19578 grep -v '^ *+' conftest.er1 >conftest.err
19579 rm -f conftest.er1
19580 cat conftest.err >&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } >/dev/null; then
19583 if test -s conftest.err; then
19584 ac_cpp_err=$ac_cxx_preproc_warn_flag
19585 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19586 else
19587 ac_cpp_err=
19588 fi
19589 else
19590 ac_cpp_err=yes
19591 fi
19592 if test -z "$ac_cpp_err"; then
19593 # Broken: success on invalid input.
19594 continue
19595 else
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19598
19599 # Passes both tests.
19600 ac_preproc_ok=:
19601 break
19602 fi
19603 rm -f conftest.err conftest.$ac_ext
19604
19605 done
19606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19607 rm -f conftest.err conftest.$ac_ext
19608 if $ac_preproc_ok; then
19609 :
19610 else
19611 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19612 See \`config.log' for more details." >&5
19613 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19614 See \`config.log' for more details." >&2;}
19615 { (exit 1); exit 1; }; }
19616 fi
19617
19618 ac_ext=cc
19619 ac_cpp='$CXXCPP $CPPFLAGS'
19620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19623
19624
19625
19626
19627
19628 ac_ext=cc
19629 ac_cpp='$CXXCPP $CPPFLAGS'
19630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19633
19634
19635
19636 for ac_header in iostream
19637 do
19638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19640 echo "$as_me:$LINENO: checking for $ac_header" >&5
19641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19644 fi
19645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19647 else
19648 # Is the header compilable?
19649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19651 cat >conftest.$ac_ext <<_ACEOF
19652 /* confdefs.h. */
19653 _ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19658 #include <$ac_header>
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_cxx_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_header_compiler=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ac_header_compiler=no
19688 fi
19689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19691 echo "${ECHO_T}$ac_header_compiler" >&6
19692
19693 # Is the header present?
19694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19696 cat >conftest.$ac_ext <<_ACEOF
19697 /* confdefs.h. */
19698 _ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <$ac_header>
19703 _ACEOF
19704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19705 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } >/dev/null; then
19712 if test -s conftest.err; then
19713 ac_cpp_err=$ac_cxx_preproc_warn_flag
19714 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19715 else
19716 ac_cpp_err=
19717 fi
19718 else
19719 ac_cpp_err=yes
19720 fi
19721 if test -z "$ac_cpp_err"; then
19722 ac_header_preproc=yes
19723 else
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19726
19727 ac_header_preproc=no
19728 fi
19729 rm -f conftest.err conftest.$ac_ext
19730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19731 echo "${ECHO_T}$ac_header_preproc" >&6
19732
19733 # So? What about this header?
19734 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19735 yes:no: )
19736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19740 ac_header_preproc=yes
19741 ;;
19742 no:yes:* )
19743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19755 (
19756 cat <<\_ASBOX
19757 ## ----------------------------------------- ##
19758 ## Report this to wx-dev@lists.wxwidgets.org ##
19759 ## ----------------------------------------- ##
19760 _ASBOX
19761 ) |
19762 sed "s/^/$as_me: WARNING: /" >&2
19763 ;;
19764 esac
19765 echo "$as_me:$LINENO: checking for $ac_header" >&5
19766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else
19770 eval "$as_ac_Header=\$ac_header_preproc"
19771 fi
19772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19774
19775 fi
19776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19777 cat >>confdefs.h <<_ACEOF
19778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19779 _ACEOF
19780
19781 fi
19782
19783 done
19784
19785
19786 if test "$ac_cv_header_iostream" = "yes" ; then
19787 :
19788 else
19789 cat >>confdefs.h <<\_ACEOF
19790 #define wxUSE_IOSTREAMH 1
19791 _ACEOF
19792
19793 fi
19794
19795 ac_ext=c
19796 ac_cpp='$CPP $CPPFLAGS'
19797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19800
19801
19802
19803
19804 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19805 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19806 if test "${wx_cv_cpp_bool+set}" = set; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 else
19809
19810
19811
19812 ac_ext=cc
19813 ac_cpp='$CXXCPP $CPPFLAGS'
19814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19817
19818
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h. */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825
19826
19827 int
19828 main ()
19829 {
19830
19831 bool b = true;
19832
19833 return 0;
19834
19835 ;
19836 return 0;
19837 }
19838 _ACEOF
19839 rm -f conftest.$ac_objext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>conftest.er1
19842 ac_status=$?
19843 grep -v '^ *+' conftest.er1 >conftest.err
19844 rm -f conftest.er1
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try='test -z "$ac_cxx_werror_flag"
19849 || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19852 ac_status=$?
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19858 ac_status=$?
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861
19862 wx_cv_cpp_bool=yes
19863
19864 else
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19867
19868
19869 wx_cv_cpp_bool=no
19870
19871
19872 fi
19873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19874
19875 ac_ext=c
19876 ac_cpp='$CPP $CPPFLAGS'
19877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19880
19881
19882 fi
19883 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19884 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19885
19886 if test "$wx_cv_cpp_bool" = "yes"; then
19887 cat >>confdefs.h <<\_ACEOF
19888 #define HAVE_BOOL 1
19889 _ACEOF
19890
19891 fi
19892
19893
19894
19895 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19896 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19897 if test "${wx_cv_explicit+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19899 else
19900
19901
19902
19903 ac_ext=cc
19904 ac_cpp='$CXXCPP $CPPFLAGS'
19905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19908
19909
19910 cat >conftest.$ac_ext <<_ACEOF
19911 /* confdefs.h. */
19912 _ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19916
19917 class Foo { public: explicit Foo(int) {} };
19918
19919 int
19920 main ()
19921 {
19922
19923 return 0;
19924
19925 ;
19926 return 0;
19927 }
19928 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19932 ac_status=$?
19933 grep -v '^ *+' conftest.er1 >conftest.err
19934 rm -f conftest.er1
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951
19952 cat >conftest.$ac_ext <<_ACEOF
19953 /* confdefs.h. */
19954 _ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958
19959 class Foo { public: explicit Foo(int) {} };
19960 static void TakeFoo(const Foo& foo) { }
19961
19962 int
19963 main ()
19964 {
19965
19966 TakeFoo(17);
19967 return 0;
19968
19969 ;
19970 return 0;
19971 }
19972 _ACEOF
19973 rm -f conftest.$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19976 ac_status=$?
19977 grep -v '^ *+' conftest.er1 >conftest.err
19978 rm -f conftest.er1
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_cxx_werror_flag"
19983 || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19986 ac_status=$?
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19992 ac_status=$?
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19995 wx_cv_explicit=no
19996 else
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
19999
20000 wx_cv_explicit=yes
20001
20002 fi
20003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20004
20005 else
20006 echo "$as_me: failed program was:" >&5
20007 sed 's/^/| /' conftest.$ac_ext >&5
20008
20009 wx_cv_explicit=no
20010
20011 fi
20012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20013
20014 ac_ext=c
20015 ac_cpp='$CPP $CPPFLAGS'
20016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20019
20020
20021 fi
20022 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20023 echo "${ECHO_T}$wx_cv_explicit" >&6
20024
20025 if test "$wx_cv_explicit" = "yes"; then
20026 cat >>confdefs.h <<\_ACEOF
20027 #define HAVE_EXPLICIT 1
20028 _ACEOF
20029
20030 fi
20031
20032
20033 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20034 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20035 if test "${ac_cv_cxx_const_cast+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 else
20038
20039
20040 ac_ext=cc
20041 ac_cpp='$CXXCPP $CPPFLAGS'
20042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20045
20046 cat >conftest.$ac_ext <<_ACEOF
20047 /* confdefs.h. */
20048 _ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052
20053 int
20054 main ()
20055 {
20056 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20057 ;
20058 return 0;
20059 }
20060 _ACEOF
20061 rm -f conftest.$ac_objext
20062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20063 (eval $ac_compile) 2>conftest.er1
20064 ac_status=$?
20065 grep -v '^ *+' conftest.er1 >conftest.err
20066 rm -f conftest.er1
20067 cat conftest.err >&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } &&
20070 { ac_try='test -z "$ac_cxx_werror_flag"
20071 || test ! -s conftest.err'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20074 ac_status=$?
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083 ac_cv_cxx_const_cast=yes
20084 else
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20087
20088 ac_cv_cxx_const_cast=no
20089 fi
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20091 ac_ext=c
20092 ac_cpp='$CPP $CPPFLAGS'
20093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20096
20097
20098 fi
20099 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20100 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20101 if test "$ac_cv_cxx_const_cast" = yes; then
20102
20103 cat >>confdefs.h <<\_ACEOF
20104 #define HAVE_CONST_CAST
20105 _ACEOF
20106
20107 fi
20108
20109 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20110 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20111 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114
20115
20116 ac_ext=cc
20117 ac_cpp='$CXXCPP $CPPFLAGS'
20118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20121
20122 cat >conftest.$ac_ext <<_ACEOF
20123 /* confdefs.h. */
20124 _ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 #include <typeinfo>
20129 class Base { public : Base () {} virtual void f () = 0;};
20130 class Derived : public Base { public : Derived () {} virtual void f () {} };
20131 class Unrelated { public : Unrelated () {} };
20132 int g (Unrelated&) { return 0; }
20133 int
20134 main ()
20135 {
20136
20137 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20138 ;
20139 return 0;
20140 }
20141 _ACEOF
20142 rm -f conftest.$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_cxx_werror_flag"
20152 || test ! -s conftest.err'
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); }; } &&
20158 { ac_try='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_cxx_reinterpret_cast=yes
20165 else
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20168
20169 ac_cv_cxx_reinterpret_cast=no
20170 fi
20171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20172 ac_ext=c
20173 ac_cpp='$CPP $CPPFLAGS'
20174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20177
20178
20179 fi
20180 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20181 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20182 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20183
20184 cat >>confdefs.h <<\_ACEOF
20185 #define HAVE_REINTERPRET_CAST
20186 _ACEOF
20187
20188 fi
20189
20190 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20191 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20192 if test "${ac_cv_cxx_static_cast+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 else
20195
20196
20197 ac_ext=cc
20198 ac_cpp='$CXXCPP $CPPFLAGS'
20199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20202
20203 cat >conftest.$ac_ext <<_ACEOF
20204 /* confdefs.h. */
20205 _ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 #include <typeinfo>
20210 class Base { public : Base () {} virtual void f () = 0; };
20211 class Derived : public Base { public : Derived () {} virtual void f () {} };
20212 int g (Derived&) { return 0; }
20213 int
20214 main ()
20215 {
20216
20217 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
20218 ;
20219 return 0;
20220 }
20221 _ACEOF
20222 rm -f conftest.$ac_objext
20223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20224 (eval $ac_compile) 2>conftest.er1
20225 ac_status=$?
20226 grep -v '^ *+' conftest.er1 >conftest.err
20227 rm -f conftest.er1
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } &&
20231 { ac_try='test -z "$ac_cxx_werror_flag"
20232 || test ! -s conftest.err'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20235 ac_status=$?
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; } &&
20238 { ac_try='test -s conftest.$ac_objext'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20241 ac_status=$?
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; }; then
20244 ac_cv_cxx_static_cast=yes
20245 else
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20248
20249 ac_cv_cxx_static_cast=no
20250 fi
20251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20252 ac_ext=c
20253 ac_cpp='$CPP $CPPFLAGS'
20254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20257
20258
20259 fi
20260 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
20261 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
20262 if test "$ac_cv_cxx_static_cast" = yes; then
20263
20264 cat >>confdefs.h <<\_ACEOF
20265 #define HAVE_STATIC_CAST
20266 _ACEOF
20267
20268 fi
20269
20270
20271 if test "$wxUSE_STL" = "yes"; then
20272 ac_ext=cc
20273 ac_cpp='$CXXCPP $CPPFLAGS'
20274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20277
20278
20279 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
20280 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
20281 cat >conftest.$ac_ext <<_ACEOF
20282 /* confdefs.h. */
20283 _ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287 #include <string>
20288 #include <functional>
20289 #include <algorithm>
20290 #include <vector>
20291 #include <list>
20292 int
20293 main ()
20294 {
20295 std::vector<int> moo;
20296 std::list<int> foo;
20297 std::vector<int>::iterator it =
20298 std::find_if(moo.begin(), moo.end(),
20299 std::bind2nd(std::less<int>(), 3));
20300 ;
20301 return 0;
20302 }
20303 _ACEOF
20304 rm -f conftest.$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306 (eval $ac_compile) 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); } &&
20313 { ac_try='test -z "$ac_cxx_werror_flag"
20314 || test ! -s conftest.err'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20317 ac_status=$?
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try='test -s conftest.$ac_objext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20323 ac_status=$?
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 echo "$as_me:$LINENO: result: yes" >&5
20327 echo "${ECHO_T}yes" >&6
20328 else
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20331
20332 echo "$as_me:$LINENO: result: no" >&5
20333 echo "${ECHO_T}no" >&6
20334 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20335 echo "$as_me: error: Basic STL functionality missing" >&2;}
20336 { (exit 1); exit 1; }; }
20337 fi
20338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20339
20340 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20341 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20342 cat >conftest.$ac_ext <<_ACEOF
20343 /* confdefs.h. */
20344 _ACEOF
20345 cat confdefs.h >>conftest.$ac_ext
20346 cat >>conftest.$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20348 #include <string>
20349 int
20350 main ()
20351 {
20352 std::wstring foo;
20353 ;
20354 return 0;
20355 }
20356 _ACEOF
20357 rm -f conftest.$ac_objext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20359 (eval $ac_compile) 2>conftest.er1
20360 ac_status=$?
20361 grep -v '^ *+' conftest.er1 >conftest.err
20362 rm -f conftest.er1
20363 cat conftest.err >&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } &&
20366 { ac_try='test -z "$ac_cxx_werror_flag"
20367 || test ! -s conftest.err'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20370 ac_status=$?
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; } &&
20373 { ac_try='test -s conftest.$ac_objext'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20376 ac_status=$?
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; }; then
20379 echo "$as_me:$LINENO: result: yes" >&5
20380 echo "${ECHO_T}yes" >&6
20381 cat >>confdefs.h <<\_ACEOF
20382 #define HAVE_STD_WSTRING 1
20383 _ACEOF
20384
20385 else
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20388
20389 echo "$as_me:$LINENO: result: no" >&5
20390 echo "${ECHO_T}no" >&6
20391 fi
20392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20393
20394 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20395 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20396 cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 #include <string>
20403 int
20404 main ()
20405 {
20406 std::string foo, bar;
20407 foo.compare(bar);
20408 foo.compare(1, 1, bar);
20409 foo.compare(1, 1, bar, 1, 1);
20410 foo.compare("");
20411 foo.compare(1, 1, "");
20412 foo.compare(1, 1, "", 2);
20413 ;
20414 return 0;
20415 }
20416 _ACEOF
20417 rm -f conftest.$ac_objext
20418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20419 (eval $ac_compile) 2>conftest.er1
20420 ac_status=$?
20421 grep -v '^ *+' conftest.er1 >conftest.err
20422 rm -f conftest.er1
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } &&
20426 { ac_try='test -z "$ac_cxx_werror_flag"
20427 || test ! -s conftest.err'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20430 ac_status=$?
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; } &&
20433 { ac_try='test -s conftest.$ac_objext'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20436 ac_status=$?
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; }; then
20439 echo "$as_me:$LINENO: result: yes" >&5
20440 echo "${ECHO_T}yes" >&6
20441 cat >>confdefs.h <<\_ACEOF
20442 #define HAVE_STD_STRING_COMPARE 1
20443 _ACEOF
20444
20445 else
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20448
20449 echo "$as_me:$LINENO: result: no" >&5
20450 echo "${ECHO_T}no" >&6
20451 fi
20452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20453
20454 if test "${ac_cv_header_hash_map+set}" = set; then
20455 echo "$as_me:$LINENO: checking for hash_map" >&5
20456 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20457 if test "${ac_cv_header_hash_map+set}" = set; then
20458 echo $ECHO_N "(cached) $ECHO_C" >&6
20459 fi
20460 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20461 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20462 else
20463 # Is the header compilable?
20464 echo "$as_me:$LINENO: checking hash_map usability" >&5
20465 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20466 cat >conftest.$ac_ext <<_ACEOF
20467 /* confdefs.h. */
20468 _ACEOF
20469 cat confdefs.h >>conftest.$ac_ext
20470 cat >>conftest.$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20472 $ac_includes_default
20473 #include <hash_map>
20474 _ACEOF
20475 rm -f conftest.$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -z "$ac_cxx_werror_flag"
20485 || test ! -s conftest.err'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; } &&
20491 { ac_try='test -s conftest.$ac_objext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_header_compiler=yes
20498 else
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ac_header_compiler=no
20503 fi
20504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20506 echo "${ECHO_T}$ac_header_compiler" >&6
20507
20508 # Is the header present?
20509 echo "$as_me:$LINENO: checking hash_map presence" >&5
20510 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20511 cat >conftest.$ac_ext <<_ACEOF
20512 /* confdefs.h. */
20513 _ACEOF
20514 cat confdefs.h >>conftest.$ac_ext
20515 cat >>conftest.$ac_ext <<_ACEOF
20516 /* end confdefs.h. */
20517 #include <hash_map>
20518 _ACEOF
20519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20521 ac_status=$?
20522 grep -v '^ *+' conftest.er1 >conftest.err
20523 rm -f conftest.er1
20524 cat conftest.err >&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } >/dev/null; then
20527 if test -s conftest.err; then
20528 ac_cpp_err=$ac_cxx_preproc_warn_flag
20529 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20530 else
20531 ac_cpp_err=
20532 fi
20533 else
20534 ac_cpp_err=yes
20535 fi
20536 if test -z "$ac_cpp_err"; then
20537 ac_header_preproc=yes
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542 ac_header_preproc=no
20543 fi
20544 rm -f conftest.err conftest.$ac_ext
20545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20546 echo "${ECHO_T}$ac_header_preproc" >&6
20547
20548 # So? What about this header?
20549 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20550 yes:no: )
20551 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20552 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20553 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20554 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20555 ac_header_preproc=yes
20556 ;;
20557 no:yes:* )
20558 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20559 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20560 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20561 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20562 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20563 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20564 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20565 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20566 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20567 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20568 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20569 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20570 (
20571 cat <<\_ASBOX
20572 ## ----------------------------------------- ##
20573 ## Report this to wx-dev@lists.wxwidgets.org ##
20574 ## ----------------------------------------- ##
20575 _ASBOX
20576 ) |
20577 sed "s/^/$as_me: WARNING: /" >&2
20578 ;;
20579 esac
20580 echo "$as_me:$LINENO: checking for hash_map" >&5
20581 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20582 if test "${ac_cv_header_hash_map+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 else
20585 ac_cv_header_hash_map=$ac_header_preproc
20586 fi
20587 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20588 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20589
20590 fi
20591 if test $ac_cv_header_hash_map = yes; then
20592 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20593 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 #include <hash_map>
20601 #include <hash_set>
20602 int
20603 main ()
20604 {
20605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20607 ;
20608 return 0;
20609 }
20610 _ACEOF
20611 rm -f conftest.$ac_objext
20612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20613 (eval $ac_compile) 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } &&
20620 { ac_try='test -z "$ac_cxx_werror_flag"
20621 || test ! -s conftest.err'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; } &&
20627 { ac_try='test -s conftest.$ac_objext'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20630 ac_status=$?
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; }; then
20633 echo "$as_me:$LINENO: result: yes" >&5
20634 echo "${ECHO_T}yes" >&6
20635 cat >>confdefs.h <<\_ACEOF
20636 #define HAVE_HASH_MAP 1
20637 _ACEOF
20638
20639 cat >>confdefs.h <<\_ACEOF
20640 #define HAVE_STD_HASH_MAP 1
20641 _ACEOF
20642
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20646
20647 echo "$as_me:$LINENO: result: no" >&5
20648 echo "${ECHO_T}no" >&6
20649 fi
20650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20651
20652 fi
20653
20654
20655
20656 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20657 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20660 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 fi
20662 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20663 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20664 else
20665 # Is the header compilable?
20666 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20667 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 #include <ext/hash_map>
20676 _ACEOF
20677 rm -f conftest.$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20680 ac_status=$?
20681 grep -v '^ *+' conftest.er1 >conftest.err
20682 rm -f conftest.er1
20683 cat conftest.err >&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try='test -z "$ac_cxx_werror_flag"
20687 || test ! -s conftest.err'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20690 ac_status=$?
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; } &&
20693 { ac_try='test -s conftest.$ac_objext'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20696 ac_status=$?
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; }; then
20699 ac_header_compiler=yes
20700 else
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20703
20704 ac_header_compiler=no
20705 fi
20706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20708 echo "${ECHO_T}$ac_header_compiler" >&6
20709
20710 # Is the header present?
20711 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20712 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20713 cat >conftest.$ac_ext <<_ACEOF
20714 /* confdefs.h. */
20715 _ACEOF
20716 cat confdefs.h >>conftest.$ac_ext
20717 cat >>conftest.$ac_ext <<_ACEOF
20718 /* end confdefs.h. */
20719 #include <ext/hash_map>
20720 _ACEOF
20721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20723 ac_status=$?
20724 grep -v '^ *+' conftest.er1 >conftest.err
20725 rm -f conftest.er1
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } >/dev/null; then
20729 if test -s conftest.err; then
20730 ac_cpp_err=$ac_cxx_preproc_warn_flag
20731 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20732 else
20733 ac_cpp_err=
20734 fi
20735 else
20736 ac_cpp_err=yes
20737 fi
20738 if test -z "$ac_cpp_err"; then
20739 ac_header_preproc=yes
20740 else
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20743
20744 ac_header_preproc=no
20745 fi
20746 rm -f conftest.err conftest.$ac_ext
20747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20748 echo "${ECHO_T}$ac_header_preproc" >&6
20749
20750 # So? What about this header?
20751 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20752 yes:no: )
20753 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20754 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20755 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20756 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20757 ac_header_preproc=yes
20758 ;;
20759 no:yes:* )
20760 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20761 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20762 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20763 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20764 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20765 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20766 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20767 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20768 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20769 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20770 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20771 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20772 (
20773 cat <<\_ASBOX
20774 ## ----------------------------------------- ##
20775 ## Report this to wx-dev@lists.wxwidgets.org ##
20776 ## ----------------------------------------- ##
20777 _ASBOX
20778 ) |
20779 sed "s/^/$as_me: WARNING: /" >&2
20780 ;;
20781 esac
20782 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20783 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20784 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20785 echo $ECHO_N "(cached) $ECHO_C" >&6
20786 else
20787 ac_cv_header_ext_hash_map=$ac_header_preproc
20788 fi
20789 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20790 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20791
20792 fi
20793 if test $ac_cv_header_ext_hash_map = yes; then
20794 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20795 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 #include <ext/hash_map>
20803 #include <ext/hash_set>
20804 int
20805 main ()
20806 {
20807 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20808 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20809 ;
20810 return 0;
20811 }
20812 _ACEOF
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try='test -z "$ac_cxx_werror_flag"
20823 || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20826 ac_status=$?
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20832 ac_status=$?
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 echo "$as_me:$LINENO: result: yes" >&5
20836 echo "${ECHO_T}yes" >&6
20837 cat >>confdefs.h <<\_ACEOF
20838 #define HAVE_EXT_HASH_MAP 1
20839 _ACEOF
20840
20841 cat >>confdefs.h <<\_ACEOF
20842 #define HAVE_GNU_CXX_HASH_MAP 1
20843 _ACEOF
20844
20845 else
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20848
20849 echo "$as_me:$LINENO: result: no" >&5
20850 echo "${ECHO_T}no" >&6
20851 fi
20852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20853
20854 fi
20855
20856
20857
20858 ac_ext=c
20859 ac_cpp='$CPP $CPPFLAGS'
20860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20863
20864 fi
20865
20866
20867 SEARCH_INCLUDE="\
20868 /usr/local/include \
20869 \
20870 /usr/Motif-2.1/include \
20871 /usr/Motif-1.2/include \
20872 /usr/include/Motif1.2 \
20873 /opt/xpm/include/X11 \
20874 /opt/GBxpm/include/ \
20875 /opt/GBxpm/X11/include/ \
20876 \
20877 /usr/dt/include \
20878 /usr/openwin/include \
20879 \
20880 /usr/include/Xm \
20881 \
20882 /usr/X11R6/include \
20883 /usr/X11R6.4/include \
20884 /usr/X11R5/include \
20885 /usr/X11R4/include \
20886 \
20887 /usr/include/X11R6 \
20888 /usr/include/X11R5 \
20889 /usr/include/X11R4 \
20890 \
20891 /usr/local/X11R6/include \
20892 /usr/local/X11R5/include \
20893 /usr/local/X11R4/include \
20894 \
20895 /usr/local/include/X11R6 \
20896 /usr/local/include/X11R5 \
20897 /usr/local/include/X11R4 \
20898 \
20899 /usr/X11/include \
20900 /usr/include/X11 \
20901 /usr/local/X11/include \
20902 /usr/local/include/X11 \
20903 \
20904 /usr/X386/include \
20905 /usr/x386/include \
20906 /usr/XFree86/include/X11 \
20907 \
20908 X:/XFree86/include \
20909 X:/XFree86/include/X11 \
20910 \
20911 /usr/include/gtk \
20912 /usr/local/include/gtk \
20913 /usr/include/glib \
20914 /usr/local/include/glib \
20915 \
20916 /usr/include/qt \
20917 /usr/local/include/qt \
20918 \
20919 /usr/local/arm/3.3.2/include \
20920 \
20921 /usr/include/windows \
20922 /usr/include/wine \
20923 /usr/local/include/wine \
20924 \
20925 /usr/unsupported/include \
20926 /usr/athena/include \
20927 /usr/local/x11r5/include \
20928 /usr/lpp/Xamples/include \
20929 \
20930 /usr/openwin/share/include"
20931
20932 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20933
20934
20935 cat >confcache <<\_ACEOF
20936 # This file is a shell script that caches the results of configure
20937 # tests run on this system so they can be shared between configure
20938 # scripts and configure runs, see configure's option --config-cache.
20939 # It is not useful on other systems. If it contains results you don't
20940 # want to keep, you may remove or edit it.
20941 #
20942 # config.status only pays attention to the cache file if you give it
20943 # the --recheck option to rerun configure.
20944 #
20945 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20946 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20947 # following values.
20948
20949 _ACEOF
20950
20951 # The following way of writing the cache mishandles newlines in values,
20952 # but we know of no workaround that is simple, portable, and efficient.
20953 # So, don't put newlines in cache variables' values.
20954 # Ultrix sh set writes to stderr and can't be redirected directly,
20955 # and sets the high bit in the cache file unless we assign to the vars.
20956 {
20957 (set) 2>&1 |
20958 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20959 *ac_space=\ *)
20960 # `set' does not quote correctly, so add quotes (double-quote
20961 # substitution turns \\\\ into \\, and sed turns \\ into \).
20962 sed -n \
20963 "s/'/'\\\\''/g;
20964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20965 ;;
20966 *)
20967 # `set' quotes correctly as required by POSIX, so do not add quotes.
20968 sed -n \
20969 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20970 ;;
20971 esac;
20972 } |
20973 sed '
20974 t clear
20975 : clear
20976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20977 t end
20978 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20979 : end' >>confcache
20980 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20981 if test -w $cache_file; then
20982 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20983 cat confcache >$cache_file
20984 else
20985 echo "not updating unwritable cache $cache_file"
20986 fi
20987 fi
20988 rm -f confcache
20989
20990 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20991 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20992 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20993 if test "${wx_cv_lib_glibc21+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20995 else
20996
20997 cat >conftest.$ac_ext <<_ACEOF
20998 /* confdefs.h. */
20999 _ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 #include <features.h>
21004 int
21005 main ()
21006 {
21007
21008 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21009 #error not glibc2.1
21010 #endif
21011
21012 ;
21013 return 0;
21014 }
21015 _ACEOF
21016 rm -f conftest.$ac_objext
21017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21018 (eval $ac_compile) 2>conftest.er1
21019 ac_status=$?
21020 grep -v '^ *+' conftest.er1 >conftest.err
21021 rm -f conftest.er1
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } &&
21025 { ac_try='test -z "$ac_c_werror_flag"
21026 || test ! -s conftest.err'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; } &&
21032 { ac_try='test -s conftest.$ac_objext'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21038
21039 wx_cv_lib_glibc21=yes
21040
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21044
21045
21046 wx_cv_lib_glibc21=no
21047
21048
21049 fi
21050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21051
21052 fi
21053 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21054 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21055 if test "$wx_cv_lib_glibc21" = "yes"; then
21056 cat >>confdefs.h <<\_ACEOF
21057 #define wxHAVE_GLIBC2 1
21058 _ACEOF
21059
21060 fi
21061 fi
21062
21063 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21064 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21065 cat >>confdefs.h <<\_ACEOF
21066 #define _GNU_SOURCE 1
21067 _ACEOF
21068
21069 fi
21070 fi
21071
21072
21073
21074 if test "$wxUSE_REGEX" != "no"; then
21075 cat >>confdefs.h <<\_ACEOF
21076 #define wxUSE_REGEX 1
21077 _ACEOF
21078
21079
21080 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21081 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21082 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21083 wxUSE_REGEX=builtin
21084 fi
21085
21086 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21087 if test "${ac_cv_header_regex_h+set}" = set; then
21088 echo "$as_me:$LINENO: checking for regex.h" >&5
21089 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21090 if test "${ac_cv_header_regex_h+set}" = set; then
21091 echo $ECHO_N "(cached) $ECHO_C" >&6
21092 fi
21093 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21094 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21095 else
21096 # Is the header compilable?
21097 echo "$as_me:$LINENO: checking regex.h usability" >&5
21098 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h. */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21106 #include <regex.h>
21107 _ACEOF
21108 rm -f conftest.$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_c_werror_flag"
21118 || test ! -s conftest.err'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21121 ac_status=$?
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; } &&
21124 { ac_try='test -s conftest.$ac_objext'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21127 ac_status=$?
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 ac_header_compiler=yes
21131 else
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.$ac_ext >&5
21134
21135 ac_header_compiler=no
21136 fi
21137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21139 echo "${ECHO_T}$ac_header_compiler" >&6
21140
21141 # Is the header present?
21142 echo "$as_me:$LINENO: checking regex.h presence" >&5
21143 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21144 cat >conftest.$ac_ext <<_ACEOF
21145 /* confdefs.h. */
21146 _ACEOF
21147 cat confdefs.h >>conftest.$ac_ext
21148 cat >>conftest.$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21150 #include <regex.h>
21151 _ACEOF
21152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21154 ac_status=$?
21155 grep -v '^ *+' conftest.er1 >conftest.err
21156 rm -f conftest.er1
21157 cat conftest.err >&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } >/dev/null; then
21160 if test -s conftest.err; then
21161 ac_cpp_err=$ac_c_preproc_warn_flag
21162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21163 else
21164 ac_cpp_err=
21165 fi
21166 else
21167 ac_cpp_err=yes
21168 fi
21169 if test -z "$ac_cpp_err"; then
21170 ac_header_preproc=yes
21171 else
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21174
21175 ac_header_preproc=no
21176 fi
21177 rm -f conftest.err conftest.$ac_ext
21178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21179 echo "${ECHO_T}$ac_header_preproc" >&6
21180
21181 # So? What about this header?
21182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21183 yes:no: )
21184 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21185 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21186 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21187 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21188 ac_header_preproc=yes
21189 ;;
21190 no:yes:* )
21191 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21192 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21193 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21194 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21196 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21197 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21198 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21199 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21200 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21201 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21202 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21203 (
21204 cat <<\_ASBOX
21205 ## ----------------------------------------- ##
21206 ## Report this to wx-dev@lists.wxwidgets.org ##
21207 ## ----------------------------------------- ##
21208 _ASBOX
21209 ) |
21210 sed "s/^/$as_me: WARNING: /" >&2
21211 ;;
21212 esac
21213 echo "$as_me:$LINENO: checking for regex.h" >&5
21214 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21215 if test "${ac_cv_header_regex_h+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 else
21218 ac_cv_header_regex_h=$ac_header_preproc
21219 fi
21220 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21221 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21222
21223 fi
21224 if test $ac_cv_header_regex_h = yes; then
21225
21226 for ac_func in regcomp
21227 do
21228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21229 echo "$as_me:$LINENO: checking for $ac_func" >&5
21230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21231 if eval "test \"\${$as_ac_var+set}\" = set"; then
21232 echo $ECHO_N "(cached) $ECHO_C" >&6
21233 else
21234 cat >conftest.$ac_ext <<_ACEOF
21235 /* confdefs.h. */
21236 _ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21242 #define $ac_func innocuous_$ac_func
21243
21244 /* System header to define __stub macros and hopefully few prototypes,
21245 which can conflict with char $ac_func (); below.
21246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21247 <limits.h> exists even on freestanding compilers. */
21248
21249 #ifdef __STDC__
21250 # include <limits.h>
21251 #else
21252 # include <assert.h>
21253 #endif
21254
21255 #undef $ac_func
21256
21257 /* Override any gcc2 internal prototype to avoid an error. */
21258 #ifdef __cplusplus
21259 extern "C"
21260 {
21261 #endif
21262 /* We use char because int might match the return type of a gcc2
21263 builtin and then its argument prototype would still apply. */
21264 char $ac_func ();
21265 /* The GNU C library defines this for functions which it implements
21266 to always fail with ENOSYS. Some functions are actually named
21267 something starting with __ and the normal name is an alias. */
21268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21269 choke me
21270 #else
21271 char (*f) () = $ac_func;
21272 #endif
21273 #ifdef __cplusplus
21274 }
21275 #endif
21276
21277 int
21278 main ()
21279 {
21280 return f != $ac_func;
21281 ;
21282 return 0;
21283 }
21284 _ACEOF
21285 rm -f conftest.$ac_objext conftest$ac_exeext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21287 (eval $ac_link) 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try='test -z "$ac_c_werror_flag"
21295 || test ! -s conftest.err'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21298 ac_status=$?
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; } &&
21301 { ac_try='test -s conftest$ac_exeext'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; }; then
21307 eval "$as_ac_var=yes"
21308 else
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.$ac_ext >&5
21311
21312 eval "$as_ac_var=no"
21313 fi
21314 rm -f conftest.err conftest.$ac_objext \
21315 conftest$ac_exeext conftest.$ac_ext
21316 fi
21317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21319 if test `eval echo '${'$as_ac_var'}'` = yes; then
21320 cat >>confdefs.h <<_ACEOF
21321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21322 _ACEOF
21323
21324 fi
21325 done
21326
21327 fi
21328
21329
21330
21331 if test "x$ac_cv_func_regcomp" != "xyes"; then
21332 if test "$wxUSE_REGEX" = "sys" ; then
21333 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21334 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21335 { (exit 1); exit 1; }; }
21336 else
21337 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21338 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21339 wxUSE_REGEX=builtin
21340 fi
21341 else
21342 wxUSE_REGEX=sys
21343 cat >>confdefs.h <<\_ACEOF
21344 #define WX_NO_REGEX_ADVANCED 1
21345 _ACEOF
21346
21347 fi
21348 fi
21349 fi
21350
21351
21352 ZLIB_LINK=
21353 if test "$wxUSE_ZLIB" != "no" ; then
21354 cat >>confdefs.h <<\_ACEOF
21355 #define wxUSE_ZLIB 1
21356 _ACEOF
21357
21358
21359 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21360 if test "$USE_DARWIN" = 1; then
21361 system_zlib_h_ok="yes"
21362 else
21363 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21364 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21365 if test "${ac_cv_header_zlib_h+set}" = set; then
21366 echo $ECHO_N "(cached) $ECHO_C" >&6
21367 else
21368 if test "$cross_compiling" = yes; then
21369 unset ac_cv_header_zlib_h
21370
21371 else
21372 cat >conftest.$ac_ext <<_ACEOF
21373 /* confdefs.h. */
21374 _ACEOF
21375 cat confdefs.h >>conftest.$ac_ext
21376 cat >>conftest.$ac_ext <<_ACEOF
21377 /* end confdefs.h. */
21378
21379 #include <zlib.h>
21380 #include <stdio.h>
21381
21382 int main()
21383 {
21384 FILE *f=fopen("conftestval", "w");
21385 if (!f) exit(1);
21386 fprintf(f, "%s",
21387 ZLIB_VERSION[0] == '1' &&
21388 (ZLIB_VERSION[2] > '1' ||
21389 (ZLIB_VERSION[2] == '1' &&
21390 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21391 exit(0);
21392 }
21393
21394 _ACEOF
21395 rm -f conftest$ac_exeext
21396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21397 (eval $ac_link) 2>&5
21398 ac_status=$?
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 ac_cv_header_zlib_h=`cat conftestval`
21407 else
21408 echo "$as_me: program exited with status $ac_status" >&5
21409 echo "$as_me: failed program was:" >&5
21410 sed 's/^/| /' conftest.$ac_ext >&5
21411
21412 ( exit $ac_status )
21413 ac_cv_header_zlib_h=no
21414 fi
21415 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21416 fi
21417
21418 fi
21419 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21420 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21421 if test "${ac_cv_header_zlib_h+set}" = set; then
21422 echo "$as_me:$LINENO: checking for zlib.h" >&5
21423 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21424 if test "${ac_cv_header_zlib_h+set}" = set; then
21425 echo $ECHO_N "(cached) $ECHO_C" >&6
21426 fi
21427 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21428 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21429 else
21430 # Is the header compilable?
21431 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21432 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21433 cat >conftest.$ac_ext <<_ACEOF
21434 /* confdefs.h. */
21435 _ACEOF
21436 cat confdefs.h >>conftest.$ac_ext
21437 cat >>conftest.$ac_ext <<_ACEOF
21438 /* end confdefs.h. */
21439 $ac_includes_default
21440 #include <zlib.h>
21441 _ACEOF
21442 rm -f conftest.$ac_objext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21444 (eval $ac_compile) 2>conftest.er1
21445 ac_status=$?
21446 grep -v '^ *+' conftest.er1 >conftest.err
21447 rm -f conftest.er1
21448 cat conftest.err >&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -z "$ac_c_werror_flag"
21452 || test ! -s conftest.err'
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); }; } &&
21458 { ac_try='test -s conftest.$ac_objext'
21459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21460 (eval $ac_try) 2>&5
21461 ac_status=$?
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); }; }; then
21464 ac_header_compiler=yes
21465 else
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21468
21469 ac_header_compiler=no
21470 fi
21471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21473 echo "${ECHO_T}$ac_header_compiler" >&6
21474
21475 # Is the header present?
21476 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21477 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21478 cat >conftest.$ac_ext <<_ACEOF
21479 /* confdefs.h. */
21480 _ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21484 #include <zlib.h>
21485 _ACEOF
21486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21488 ac_status=$?
21489 grep -v '^ *+' conftest.er1 >conftest.err
21490 rm -f conftest.er1
21491 cat conftest.err >&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } >/dev/null; then
21494 if test -s conftest.err; then
21495 ac_cpp_err=$ac_c_preproc_warn_flag
21496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21497 else
21498 ac_cpp_err=
21499 fi
21500 else
21501 ac_cpp_err=yes
21502 fi
21503 if test -z "$ac_cpp_err"; then
21504 ac_header_preproc=yes
21505 else
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.$ac_ext >&5
21508
21509 ac_header_preproc=no
21510 fi
21511 rm -f conftest.err conftest.$ac_ext
21512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21513 echo "${ECHO_T}$ac_header_preproc" >&6
21514
21515 # So? What about this header?
21516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21517 yes:no: )
21518 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21519 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21520 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21521 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21522 ac_header_preproc=yes
21523 ;;
21524 no:yes:* )
21525 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21526 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21527 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21528 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21529 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21530 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21531 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21532 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21533 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21534 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21535 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21536 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21537 (
21538 cat <<\_ASBOX
21539 ## ----------------------------------------- ##
21540 ## Report this to wx-dev@lists.wxwidgets.org ##
21541 ## ----------------------------------------- ##
21542 _ASBOX
21543 ) |
21544 sed "s/^/$as_me: WARNING: /" >&2
21545 ;;
21546 esac
21547 echo "$as_me:$LINENO: checking for zlib.h" >&5
21548 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21549 if test "${ac_cv_header_zlib_h+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 else
21552 ac_cv_header_zlib_h=$ac_header_preproc
21553 fi
21554 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21555 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21556
21557 fi
21558
21559
21560
21561 system_zlib_h_ok=$ac_cv_header_zlib_h
21562 fi
21563
21564 if test "$system_zlib_h_ok" = "yes"; then
21565 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21566 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21567 if test "${ac_cv_lib_z_deflate+set}" = set; then
21568 echo $ECHO_N "(cached) $ECHO_C" >&6
21569 else
21570 ac_check_lib_save_LIBS=$LIBS
21571 LIBS="-lz $LIBS"
21572 cat >conftest.$ac_ext <<_ACEOF
21573 /* confdefs.h. */
21574 _ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578
21579 /* Override any gcc2 internal prototype to avoid an error. */
21580 #ifdef __cplusplus
21581 extern "C"
21582 #endif
21583 /* We use char because int might match the return type of a gcc2
21584 builtin and then its argument prototype would still apply. */
21585 char deflate ();
21586 int
21587 main ()
21588 {
21589 deflate ();
21590 ;
21591 return 0;
21592 }
21593 _ACEOF
21594 rm -f conftest.$ac_objext conftest$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>conftest.er1
21597 ac_status=$?
21598 grep -v '^ *+' conftest.er1 >conftest.err
21599 rm -f conftest.er1
21600 cat conftest.err >&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } &&
21603 { ac_try='test -z "$ac_c_werror_flag"
21604 || test ! -s conftest.err'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21607 ac_status=$?
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; } &&
21610 { ac_try='test -s conftest$ac_exeext'
21611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21612 (eval $ac_try) 2>&5
21613 ac_status=$?
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); }; }; then
21616 ac_cv_lib_z_deflate=yes
21617 else
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.$ac_ext >&5
21620
21621 ac_cv_lib_z_deflate=no
21622 fi
21623 rm -f conftest.err conftest.$ac_objext \
21624 conftest$ac_exeext conftest.$ac_ext
21625 LIBS=$ac_check_lib_save_LIBS
21626 fi
21627 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21628 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21629 if test $ac_cv_lib_z_deflate = yes; then
21630 ZLIB_LINK=" -lz"
21631 fi
21632
21633 fi
21634
21635 if test "x$ZLIB_LINK" = "x" ; then
21636 if test "$wxUSE_ZLIB" = "sys" ; then
21637 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21638 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21639 { (exit 1); exit 1; }; }
21640 else
21641 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21642 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21643 wxUSE_ZLIB=builtin
21644 fi
21645 else
21646 wxUSE_ZLIB=sys
21647 fi
21648 fi
21649 fi
21650
21651
21652 PNG_LINK=
21653 if test "$wxUSE_LIBPNG" != "no" ; then
21654 cat >>confdefs.h <<\_ACEOF
21655 #define wxUSE_LIBPNG 1
21656 _ACEOF
21657
21658
21659 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21660 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21661 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21662 wxUSE_LIBPNG=sys
21663 fi
21664
21665 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21666 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21667 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21668 wxUSE_LIBPNG=builtin
21669 fi
21670
21671 if test "$wxUSE_MGL" != 1 ; then
21672 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21673 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21674 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21675 if test "${ac_cv_header_png_h+set}" = set; then
21676 echo $ECHO_N "(cached) $ECHO_C" >&6
21677 else
21678 if test "$cross_compiling" = yes; then
21679 unset ac_cv_header_png_h
21680
21681 else
21682 cat >conftest.$ac_ext <<_ACEOF
21683 /* confdefs.h. */
21684 _ACEOF
21685 cat confdefs.h >>conftest.$ac_ext
21686 cat >>conftest.$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21688
21689 #include <png.h>
21690 #include <stdio.h>
21691
21692 int main()
21693 {
21694 FILE *f=fopen("conftestval", "w");
21695 if (!f) exit(1);
21696 fprintf(f, "%s",
21697 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21698 exit(0);
21699 }
21700
21701 _ACEOF
21702 rm -f conftest$ac_exeext
21703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21704 (eval $ac_link) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21710 ac_status=$?
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_cv_header_png_h=`cat conftestval`
21714 else
21715 echo "$as_me: program exited with status $ac_status" >&5
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21718
21719 ( exit $ac_status )
21720 ac_cv_header_png_h=no
21721 fi
21722 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21723 fi
21724
21725 fi
21726 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21727 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21728 if test "${ac_cv_header_png_h+set}" = set; then
21729 echo "$as_me:$LINENO: checking for png.h" >&5
21730 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21731 if test "${ac_cv_header_png_h+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 fi
21734 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21735 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21736 else
21737 # Is the header compilable?
21738 echo "$as_me:$LINENO: checking png.h usability" >&5
21739 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21747 #include <png.h>
21748 _ACEOF
21749 rm -f conftest.$ac_objext
21750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21751 (eval $ac_compile) 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try='test -z "$ac_c_werror_flag"
21759 || test ! -s conftest.err'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21762 ac_status=$?
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try='test -s conftest.$ac_objext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21768 ac_status=$?
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 ac_header_compiler=yes
21772 else
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21775
21776 ac_header_compiler=no
21777 fi
21778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21780 echo "${ECHO_T}$ac_header_compiler" >&6
21781
21782 # Is the header present?
21783 echo "$as_me:$LINENO: checking png.h presence" >&5
21784 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 #include <png.h>
21792 _ACEOF
21793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21795 ac_status=$?
21796 grep -v '^ *+' conftest.er1 >conftest.err
21797 rm -f conftest.er1
21798 cat conftest.err >&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } >/dev/null; then
21801 if test -s conftest.err; then
21802 ac_cpp_err=$ac_c_preproc_warn_flag
21803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21804 else
21805 ac_cpp_err=
21806 fi
21807 else
21808 ac_cpp_err=yes
21809 fi
21810 if test -z "$ac_cpp_err"; then
21811 ac_header_preproc=yes
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 ac_header_preproc=no
21817 fi
21818 rm -f conftest.err conftest.$ac_ext
21819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21820 echo "${ECHO_T}$ac_header_preproc" >&6
21821
21822 # So? What about this header?
21823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21824 yes:no: )
21825 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21826 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21827 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21828 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21829 ac_header_preproc=yes
21830 ;;
21831 no:yes:* )
21832 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21833 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21834 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21835 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21836 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21837 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21838 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21839 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21840 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21841 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21842 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21843 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21844 (
21845 cat <<\_ASBOX
21846 ## ----------------------------------------- ##
21847 ## Report this to wx-dev@lists.wxwidgets.org ##
21848 ## ----------------------------------------- ##
21849 _ASBOX
21850 ) |
21851 sed "s/^/$as_me: WARNING: /" >&2
21852 ;;
21853 esac
21854 echo "$as_me:$LINENO: checking for png.h" >&5
21855 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21856 if test "${ac_cv_header_png_h+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 else
21859 ac_cv_header_png_h=$ac_header_preproc
21860 fi
21861 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21862 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21863
21864 fi
21865
21866
21867
21868 if test "$ac_cv_header_png_h" = "yes"; then
21869 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21870 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21871 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21872 echo $ECHO_N "(cached) $ECHO_C" >&6
21873 else
21874 ac_check_lib_save_LIBS=$LIBS
21875 LIBS="-lpng -lz -lm $LIBS"
21876 cat >conftest.$ac_ext <<_ACEOF
21877 /* confdefs.h. */
21878 _ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882
21883 /* Override any gcc2 internal prototype to avoid an error. */
21884 #ifdef __cplusplus
21885 extern "C"
21886 #endif
21887 /* We use char because int might match the return type of a gcc2
21888 builtin and then its argument prototype would still apply. */
21889 char png_check_sig ();
21890 int
21891 main ()
21892 {
21893 png_check_sig ();
21894 ;
21895 return 0;
21896 }
21897 _ACEOF
21898 rm -f conftest.$ac_objext conftest$ac_exeext
21899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21900 (eval $ac_link) 2>conftest.er1
21901 ac_status=$?
21902 grep -v '^ *+' conftest.er1 >conftest.err
21903 rm -f conftest.er1
21904 cat conftest.err >&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } &&
21907 { ac_try='test -z "$ac_c_werror_flag"
21908 || test ! -s conftest.err'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21911 ac_status=$?
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; } &&
21914 { ac_try='test -s conftest$ac_exeext'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; }; then
21920 ac_cv_lib_png_png_check_sig=yes
21921 else
21922 echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.$ac_ext >&5
21924
21925 ac_cv_lib_png_png_check_sig=no
21926 fi
21927 rm -f conftest.err conftest.$ac_objext \
21928 conftest$ac_exeext conftest.$ac_ext
21929 LIBS=$ac_check_lib_save_LIBS
21930 fi
21931 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21932 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21933 if test $ac_cv_lib_png_png_check_sig = yes; then
21934 PNG_LINK=" -lpng -lz"
21935 fi
21936
21937 fi
21938
21939 if test "x$PNG_LINK" = "x" ; then
21940 if test "$wxUSE_LIBPNG" = "sys" ; then
21941 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21942 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21943 { (exit 1); exit 1; }; }
21944 else
21945 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21946 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21947 wxUSE_LIBPNG=builtin
21948 fi
21949 else
21950 wxUSE_LIBPNG=sys
21951 fi
21952 fi
21953 fi
21954
21955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21956 fi
21957
21958
21959 JPEG_LINK=
21960 if test "$wxUSE_LIBJPEG" != "no" ; then
21961 cat >>confdefs.h <<\_ACEOF
21962 #define wxUSE_LIBJPEG 1
21963 _ACEOF
21964
21965
21966 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21967 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21968 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21969 wxUSE_LIBJPEG=sys
21970 fi
21971
21972 if test "$wxUSE_MGL" != 1 ; then
21973 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21974 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21975 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21976 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 else
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985
21986 #undef HAVE_STDLIB_H
21987 #include <stdio.h>
21988 #include <jpeglib.h>
21989
21990 int
21991 main ()
21992 {
21993
21994
21995 ;
21996 return 0;
21997 }
21998 _ACEOF
21999 rm -f conftest.$ac_objext
22000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22001 (eval $ac_compile) 2>conftest.er1
22002 ac_status=$?
22003 grep -v '^ *+' conftest.er1 >conftest.err
22004 rm -f conftest.er1
22005 cat conftest.err >&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } &&
22008 { ac_try='test -z "$ac_c_werror_flag"
22009 || test ! -s conftest.err'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22012 ac_status=$?
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; } &&
22015 { ac_try='test -s conftest.$ac_objext'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22018 ac_status=$?
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; }; then
22021 ac_cv_header_jpeglib_h=yes
22022 else
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22025
22026 ac_cv_header_jpeglib_h=no
22027
22028 fi
22029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22030
22031 fi
22032
22033 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22034 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22035
22036 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22037 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22038 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22039 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22040 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 else
22042 ac_check_lib_save_LIBS=$LIBS
22043 LIBS="-ljpeg $LIBS"
22044 cat >conftest.$ac_ext <<_ACEOF
22045 /* confdefs.h. */
22046 _ACEOF
22047 cat confdefs.h >>conftest.$ac_ext
22048 cat >>conftest.$ac_ext <<_ACEOF
22049 /* end confdefs.h. */
22050
22051 /* Override any gcc2 internal prototype to avoid an error. */
22052 #ifdef __cplusplus
22053 extern "C"
22054 #endif
22055 /* We use char because int might match the return type of a gcc2
22056 builtin and then its argument prototype would still apply. */
22057 char jpeg_read_header ();
22058 int
22059 main ()
22060 {
22061 jpeg_read_header ();
22062 ;
22063 return 0;
22064 }
22065 _ACEOF
22066 rm -f conftest.$ac_objext conftest$ac_exeext
22067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22068 (eval $ac_link) 2>conftest.er1
22069 ac_status=$?
22070 grep -v '^ *+' conftest.er1 >conftest.err
22071 rm -f conftest.er1
22072 cat conftest.err >&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); } &&
22075 { ac_try='test -z "$ac_c_werror_flag"
22076 || test ! -s conftest.err'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22079 ac_status=$?
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; } &&
22082 { ac_try='test -s conftest$ac_exeext'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22085 ac_status=$?
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; }; then
22088 ac_cv_lib_jpeg_jpeg_read_header=yes
22089 else
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.$ac_ext >&5
22092
22093 ac_cv_lib_jpeg_jpeg_read_header=no
22094 fi
22095 rm -f conftest.err conftest.$ac_objext \
22096 conftest$ac_exeext conftest.$ac_ext
22097 LIBS=$ac_check_lib_save_LIBS
22098 fi
22099 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22100 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22101 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22102 JPEG_LINK=" -ljpeg"
22103 fi
22104
22105 fi
22106
22107 if test "x$JPEG_LINK" = "x" ; then
22108 if test "$wxUSE_LIBJPEG" = "sys" ; then
22109 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22110 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22111 { (exit 1); exit 1; }; }
22112 else
22113 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22114 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22115 wxUSE_LIBJPEG=builtin
22116 fi
22117 else
22118 wxUSE_LIBJPEG=sys
22119 fi
22120 fi
22121 fi
22122 fi
22123
22124
22125 TIFF_LINK=
22126 TIFF_PREREQ_LINKS=-lm
22127 if test "$wxUSE_LIBTIFF" != "no" ; then
22128 cat >>confdefs.h <<\_ACEOF
22129 #define wxUSE_LIBTIFF 1
22130 _ACEOF
22131
22132
22133 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22134 if test "$wxUSE_LIBJPEG" = "sys"; then
22135 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22136 fi
22137 if test "$wxUSE_ZLIB" = "sys"; then
22138 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22139 fi
22140 if test "${ac_cv_header_tiffio_h+set}" = set; then
22141 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22142 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22143 if test "${ac_cv_header_tiffio_h+set}" = set; then
22144 echo $ECHO_N "(cached) $ECHO_C" >&6
22145 fi
22146 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22147 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22148 else
22149 # Is the header compilable?
22150 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22151 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22152 cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h. */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 $ac_includes_default
22159 #include <tiffio.h>
22160 _ACEOF
22161 rm -f conftest.$ac_objext
22162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22163 (eval $ac_compile) 2>conftest.er1
22164 ac_status=$?
22165 grep -v '^ *+' conftest.er1 >conftest.err
22166 rm -f conftest.er1
22167 cat conftest.err >&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } &&
22170 { ac_try='test -z "$ac_c_werror_flag"
22171 || test ! -s conftest.err'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; } &&
22177 { ac_try='test -s conftest.$ac_objext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22183 ac_header_compiler=yes
22184 else
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22187
22188 ac_header_compiler=no
22189 fi
22190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22192 echo "${ECHO_T}$ac_header_compiler" >&6
22193
22194 # Is the header present?
22195 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22196 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22197 cat >conftest.$ac_ext <<_ACEOF
22198 /* confdefs.h. */
22199 _ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 #include <tiffio.h>
22204 _ACEOF
22205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22207 ac_status=$?
22208 grep -v '^ *+' conftest.er1 >conftest.err
22209 rm -f conftest.er1
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } >/dev/null; then
22213 if test -s conftest.err; then
22214 ac_cpp_err=$ac_c_preproc_warn_flag
22215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22216 else
22217 ac_cpp_err=
22218 fi
22219 else
22220 ac_cpp_err=yes
22221 fi
22222 if test -z "$ac_cpp_err"; then
22223 ac_header_preproc=yes
22224 else
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22227
22228 ac_header_preproc=no
22229 fi
22230 rm -f conftest.err conftest.$ac_ext
22231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22232 echo "${ECHO_T}$ac_header_preproc" >&6
22233
22234 # So? What about this header?
22235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22236 yes:no: )
22237 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
22238 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
22240 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
22241 ac_header_preproc=yes
22242 ;;
22243 no:yes:* )
22244 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
22245 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
22246 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
22247 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
22248 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
22249 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
22250 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
22251 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
22252 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
22253 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
22254 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
22255 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
22256 (
22257 cat <<\_ASBOX
22258 ## ----------------------------------------- ##
22259 ## Report this to wx-dev@lists.wxwidgets.org ##
22260 ## ----------------------------------------- ##
22261 _ASBOX
22262 ) |
22263 sed "s/^/$as_me: WARNING: /" >&2
22264 ;;
22265 esac
22266 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22267 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22268 if test "${ac_cv_header_tiffio_h+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 else
22271 ac_cv_header_tiffio_h=$ac_header_preproc
22272 fi
22273 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22274 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22275
22276 fi
22277 if test $ac_cv_header_tiffio_h = yes; then
22278
22279 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
22280 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
22281 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22283 else
22284 ac_check_lib_save_LIBS=$LIBS
22285 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22286 cat >conftest.$ac_ext <<_ACEOF
22287 /* confdefs.h. */
22288 _ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292
22293 /* Override any gcc2 internal prototype to avoid an error. */
22294 #ifdef __cplusplus
22295 extern "C"
22296 #endif
22297 /* We use char because int might match the return type of a gcc2
22298 builtin and then its argument prototype would still apply. */
22299 char TIFFError ();
22300 int
22301 main ()
22302 {
22303 TIFFError ();
22304 ;
22305 return 0;
22306 }
22307 _ACEOF
22308 rm -f conftest.$ac_objext conftest$ac_exeext
22309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22310 (eval $ac_link) 2>conftest.er1
22311 ac_status=$?
22312 grep -v '^ *+' conftest.er1 >conftest.err
22313 rm -f conftest.er1
22314 cat conftest.err >&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } &&
22317 { ac_try='test -z "$ac_c_werror_flag"
22318 || test ! -s conftest.err'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22321 ac_status=$?
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; } &&
22324 { ac_try='test -s conftest$ac_exeext'
22325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22326 (eval $ac_try) 2>&5
22327 ac_status=$?
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); }; }; then
22330 ac_cv_lib_tiff_TIFFError=yes
22331 else
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.$ac_ext >&5
22334
22335 ac_cv_lib_tiff_TIFFError=no
22336 fi
22337 rm -f conftest.err conftest.$ac_objext \
22338 conftest$ac_exeext conftest.$ac_ext
22339 LIBS=$ac_check_lib_save_LIBS
22340 fi
22341 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22342 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22343 if test $ac_cv_lib_tiff_TIFFError = yes; then
22344 TIFF_LINK=" -ltiff"
22345 fi
22346
22347
22348
22349 fi
22350
22351
22352
22353 if test "x$TIFF_LINK" = "x" ; then
22354 if test "$wxUSE_LIBTIFF" = "sys" ; then
22355 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22356 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22357 { (exit 1); exit 1; }; }
22358 else
22359 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22360 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22361 wxUSE_LIBTIFF=builtin
22362 fi
22363 else
22364 wxUSE_LIBTIFF=sys
22365 fi
22366 fi
22367 fi
22368
22369
22370 if test "$wxUSE_EXPAT" != "no"; then
22371 wxUSE_XML=yes
22372 cat >>confdefs.h <<\_ACEOF
22373 #define wxUSE_EXPAT 1
22374 _ACEOF
22375
22376 cat >>confdefs.h <<\_ACEOF
22377 #define wxUSE_XML 1
22378 _ACEOF
22379
22380
22381 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22382 if test "${ac_cv_header_expat_h+set}" = set; then
22383 echo "$as_me:$LINENO: checking for expat.h" >&5
22384 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22385 if test "${ac_cv_header_expat_h+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22387 fi
22388 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22389 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22390 else
22391 # Is the header compilable?
22392 echo "$as_me:$LINENO: checking expat.h usability" >&5
22393 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22394 cat >conftest.$ac_ext <<_ACEOF
22395 /* confdefs.h. */
22396 _ACEOF
22397 cat confdefs.h >>conftest.$ac_ext
22398 cat >>conftest.$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 $ac_includes_default
22401 #include <expat.h>
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22405 (eval $ac_compile) 2>conftest.er1
22406 ac_status=$?
22407 grep -v '^ *+' conftest.er1 >conftest.err
22408 rm -f conftest.er1
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try='test -z "$ac_c_werror_flag"
22413 || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try='test -s conftest.$ac_objext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 ac_header_compiler=yes
22426 else
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22429
22430 ac_header_compiler=no
22431 fi
22432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22434 echo "${ECHO_T}$ac_header_compiler" >&6
22435
22436 # Is the header present?
22437 echo "$as_me:$LINENO: checking expat.h presence" >&5
22438 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22439 cat >conftest.$ac_ext <<_ACEOF
22440 /* confdefs.h. */
22441 _ACEOF
22442 cat confdefs.h >>conftest.$ac_ext
22443 cat >>conftest.$ac_ext <<_ACEOF
22444 /* end confdefs.h. */
22445 #include <expat.h>
22446 _ACEOF
22447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22449 ac_status=$?
22450 grep -v '^ *+' conftest.er1 >conftest.err
22451 rm -f conftest.er1
22452 cat conftest.err >&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } >/dev/null; then
22455 if test -s conftest.err; then
22456 ac_cpp_err=$ac_c_preproc_warn_flag
22457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22458 else
22459 ac_cpp_err=
22460 fi
22461 else
22462 ac_cpp_err=yes
22463 fi
22464 if test -z "$ac_cpp_err"; then
22465 ac_header_preproc=yes
22466 else
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22469
22470 ac_header_preproc=no
22471 fi
22472 rm -f conftest.err conftest.$ac_ext
22473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22474 echo "${ECHO_T}$ac_header_preproc" >&6
22475
22476 # So? What about this header?
22477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22478 yes:no: )
22479 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22480 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22481 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22482 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22483 ac_header_preproc=yes
22484 ;;
22485 no:yes:* )
22486 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22487 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22488 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22489 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22490 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22491 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22492 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22493 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22494 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22495 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22496 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22497 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22498 (
22499 cat <<\_ASBOX
22500 ## ----------------------------------------- ##
22501 ## Report this to wx-dev@lists.wxwidgets.org ##
22502 ## ----------------------------------------- ##
22503 _ASBOX
22504 ) |
22505 sed "s/^/$as_me: WARNING: /" >&2
22506 ;;
22507 esac
22508 echo "$as_me:$LINENO: checking for expat.h" >&5
22509 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22510 if test "${ac_cv_header_expat_h+set}" = set; then
22511 echo $ECHO_N "(cached) $ECHO_C" >&6
22512 else
22513 ac_cv_header_expat_h=$ac_header_preproc
22514 fi
22515 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22516 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22517
22518 fi
22519 if test $ac_cv_header_expat_h = yes; then
22520 found_expat_h=1
22521 fi
22522
22523
22524 if test "x$found_expat_h" = "x1"; then
22525 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22526 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22527 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22528 echo $ECHO_N "(cached) $ECHO_C" >&6
22529 else
22530
22531
22532
22533 ac_ext=cc
22534 ac_cpp='$CXXCPP $CPPFLAGS'
22535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22538
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 #include <expat.h>
22546 int
22547 main ()
22548 {
22549
22550 ;
22551 return 0;
22552 }
22553 _ACEOF
22554 rm -f conftest.$ac_objext
22555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22556 (eval $ac_compile) 2>conftest.er1
22557 ac_status=$?
22558 grep -v '^ *+' conftest.er1 >conftest.err
22559 rm -f conftest.er1
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } &&
22563 { ac_try='test -z "$ac_cxx_werror_flag"
22564 || test ! -s conftest.err'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22567 ac_status=$?
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; } &&
22570 { ac_try='test -s conftest.$ac_objext'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22573 ac_status=$?
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; }; then
22576 wx_cv_expat_is_not_broken=yes
22577 else
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22580
22581 wx_cv_expat_is_not_broken=no
22582
22583 fi
22584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22585 ac_ext=c
22586 ac_cpp='$CPP $CPPFLAGS'
22587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22590
22591
22592
22593 fi
22594 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22595 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22596 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22597 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22598 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22599 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22600 echo $ECHO_N "(cached) $ECHO_C" >&6
22601 else
22602 ac_check_lib_save_LIBS=$LIBS
22603 LIBS="-lexpat $LIBS"
22604 cat >conftest.$ac_ext <<_ACEOF
22605 /* confdefs.h. */
22606 _ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610
22611 /* Override any gcc2 internal prototype to avoid an error. */
22612 #ifdef __cplusplus
22613 extern "C"
22614 #endif
22615 /* We use char because int might match the return type of a gcc2
22616 builtin and then its argument prototype would still apply. */
22617 char XML_ParserCreate ();
22618 int
22619 main ()
22620 {
22621 XML_ParserCreate ();
22622 ;
22623 return 0;
22624 }
22625 _ACEOF
22626 rm -f conftest.$ac_objext conftest$ac_exeext
22627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22628 (eval $ac_link) 2>conftest.er1
22629 ac_status=$?
22630 grep -v '^ *+' conftest.er1 >conftest.err
22631 rm -f conftest.er1
22632 cat conftest.err >&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } &&
22635 { ac_try='test -z "$ac_c_werror_flag"
22636 || test ! -s conftest.err'
22637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22638 (eval $ac_try) 2>&5
22639 ac_status=$?
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); }; } &&
22642 { ac_try='test -s conftest$ac_exeext'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22645 ac_status=$?
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; }; then
22648 ac_cv_lib_expat_XML_ParserCreate=yes
22649 else
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22652
22653 ac_cv_lib_expat_XML_ParserCreate=no
22654 fi
22655 rm -f conftest.err conftest.$ac_objext \
22656 conftest$ac_exeext conftest.$ac_ext
22657 LIBS=$ac_check_lib_save_LIBS
22658 fi
22659 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22660 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22661 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22662 EXPAT_LINK=" -lexpat"
22663 fi
22664
22665 fi
22666 fi
22667 if test "x$EXPAT_LINK" = "x" ; then
22668 if test "$wxUSE_EXPAT" = "sys" ; then
22669 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22670 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22671 { (exit 1); exit 1; }; }
22672 else
22673 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22674 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22675 wxUSE_EXPAT=builtin
22676 fi
22677 else
22678 wxUSE_EXPAT=sys
22679 fi
22680 fi
22681 if test "$wxUSE_EXPAT" = "builtin" ; then
22682
22683
22684 subdirs="$subdirs src/expat"
22685
22686 fi
22687 fi
22688
22689
22690
22691 if test "$wxUSE_LIBMSPACK" != "no"; then
22692 if test "${ac_cv_header_mspack_h+set}" = set; then
22693 echo "$as_me:$LINENO: checking for mspack.h" >&5
22694 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22695 if test "${ac_cv_header_mspack_h+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22697 fi
22698 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22699 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22700 else
22701 # Is the header compilable?
22702 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22703 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22704 cat >conftest.$ac_ext <<_ACEOF
22705 /* confdefs.h. */
22706 _ACEOF
22707 cat confdefs.h >>conftest.$ac_ext
22708 cat >>conftest.$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22710 $ac_includes_default
22711 #include <mspack.h>
22712 _ACEOF
22713 rm -f conftest.$ac_objext
22714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22715 (eval $ac_compile) 2>conftest.er1
22716 ac_status=$?
22717 grep -v '^ *+' conftest.er1 >conftest.err
22718 rm -f conftest.er1
22719 cat conftest.err >&5
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); } &&
22722 { ac_try='test -z "$ac_c_werror_flag"
22723 || test ! -s conftest.err'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22726 ac_status=$?
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; } &&
22729 { ac_try='test -s conftest.$ac_objext'
22730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22731 (eval $ac_try) 2>&5
22732 ac_status=$?
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); }; }; then
22735 ac_header_compiler=yes
22736 else
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.$ac_ext >&5
22739
22740 ac_header_compiler=no
22741 fi
22742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22744 echo "${ECHO_T}$ac_header_compiler" >&6
22745
22746 # Is the header present?
22747 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22748 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22749 cat >conftest.$ac_ext <<_ACEOF
22750 /* confdefs.h. */
22751 _ACEOF
22752 cat confdefs.h >>conftest.$ac_ext
22753 cat >>conftest.$ac_ext <<_ACEOF
22754 /* end confdefs.h. */
22755 #include <mspack.h>
22756 _ACEOF
22757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22759 ac_status=$?
22760 grep -v '^ *+' conftest.er1 >conftest.err
22761 rm -f conftest.er1
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } >/dev/null; then
22765 if test -s conftest.err; then
22766 ac_cpp_err=$ac_c_preproc_warn_flag
22767 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22768 else
22769 ac_cpp_err=
22770 fi
22771 else
22772 ac_cpp_err=yes
22773 fi
22774 if test -z "$ac_cpp_err"; then
22775 ac_header_preproc=yes
22776 else
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.$ac_ext >&5
22779
22780 ac_header_preproc=no
22781 fi
22782 rm -f conftest.err conftest.$ac_ext
22783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22784 echo "${ECHO_T}$ac_header_preproc" >&6
22785
22786 # So? What about this header?
22787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22788 yes:no: )
22789 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22790 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22791 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22792 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22793 ac_header_preproc=yes
22794 ;;
22795 no:yes:* )
22796 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22797 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22798 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22799 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22800 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22801 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22802 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22803 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22804 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22805 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22806 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22807 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22808 (
22809 cat <<\_ASBOX
22810 ## ----------------------------------------- ##
22811 ## Report this to wx-dev@lists.wxwidgets.org ##
22812 ## ----------------------------------------- ##
22813 _ASBOX
22814 ) |
22815 sed "s/^/$as_me: WARNING: /" >&2
22816 ;;
22817 esac
22818 echo "$as_me:$LINENO: checking for mspack.h" >&5
22819 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22820 if test "${ac_cv_header_mspack_h+set}" = set; then
22821 echo $ECHO_N "(cached) $ECHO_C" >&6
22822 else
22823 ac_cv_header_mspack_h=$ac_header_preproc
22824 fi
22825 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22826 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22827
22828 fi
22829 if test $ac_cv_header_mspack_h = yes; then
22830 found_mspack_h=1
22831 fi
22832
22833
22834 if test "x$found_mspack_h" = "x1"; then
22835 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22836 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22837 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22839 else
22840 ac_check_lib_save_LIBS=$LIBS
22841 LIBS="-lmspack $LIBS"
22842 cat >conftest.$ac_ext <<_ACEOF
22843 /* confdefs.h. */
22844 _ACEOF
22845 cat confdefs.h >>conftest.$ac_ext
22846 cat >>conftest.$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22848
22849 /* Override any gcc2 internal prototype to avoid an error. */
22850 #ifdef __cplusplus
22851 extern "C"
22852 #endif
22853 /* We use char because int might match the return type of a gcc2
22854 builtin and then its argument prototype would still apply. */
22855 char mspack_create_chm_decompressor ();
22856 int
22857 main ()
22858 {
22859 mspack_create_chm_decompressor ();
22860 ;
22861 return 0;
22862 }
22863 _ACEOF
22864 rm -f conftest.$ac_objext conftest$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866 (eval $ac_link) 2>conftest.er1
22867 ac_status=$?
22868 grep -v '^ *+' conftest.er1 >conftest.err
22869 rm -f conftest.er1
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } &&
22873 { ac_try='test -z "$ac_c_werror_flag"
22874 || test ! -s conftest.err'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22877 ac_status=$?
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; } &&
22880 { ac_try='test -s conftest$ac_exeext'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22883 ac_status=$?
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; }; then
22886 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22887 else
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22890
22891 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22892 fi
22893 rm -f conftest.err conftest.$ac_objext \
22894 conftest$ac_exeext conftest.$ac_ext
22895 LIBS=$ac_check_lib_save_LIBS
22896 fi
22897 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22898 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22899 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22900 MSPACK_LINK=" -lmspack"
22901 fi
22902
22903 fi
22904 if test "x$MSPACK_LINK" = "x" ; then
22905 wxUSE_LIBMSPACK=no
22906 fi
22907 fi
22908
22909 if test "$wxUSE_LIBMSPACK" != "no"; then
22910 cat >>confdefs.h <<\_ACEOF
22911 #define wxUSE_LIBMSPACK 1
22912 _ACEOF
22913
22914 fi
22915
22916
22917
22918 AFMINSTALL=
22919 WIN32INSTALL=
22920
22921 TOOLKIT=
22922 TOOLKIT_INCLUDE=
22923 WIDGET_SET=
22924
22925 if test "$USE_WIN32" = 1 ; then
22926
22927 for ac_header in w32api.h
22928 do
22929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22931 echo "$as_me:$LINENO: checking for $ac_header" >&5
22932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22934 echo $ECHO_N "(cached) $ECHO_C" >&6
22935 fi
22936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22938 else
22939 # Is the header compilable?
22940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22942 cat >conftest.$ac_ext <<_ACEOF
22943 /* confdefs.h. */
22944 _ACEOF
22945 cat confdefs.h >>conftest.$ac_ext
22946 cat >>conftest.$ac_ext <<_ACEOF
22947 /* end confdefs.h. */
22948 $ac_includes_default
22949 #include <$ac_header>
22950 _ACEOF
22951 rm -f conftest.$ac_objext
22952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22953 (eval $ac_compile) 2>conftest.er1
22954 ac_status=$?
22955 grep -v '^ *+' conftest.er1 >conftest.err
22956 rm -f conftest.er1
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } &&
22960 { ac_try='test -z "$ac_c_werror_flag"
22961 || test ! -s conftest.err'
22962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22963 (eval $ac_try) 2>&5
22964 ac_status=$?
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); }; } &&
22967 { ac_try='test -s conftest.$ac_objext'
22968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22969 (eval $ac_try) 2>&5
22970 ac_status=$?
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); }; }; then
22973 ac_header_compiler=yes
22974 else
22975 echo "$as_me: failed program was:" >&5
22976 sed 's/^/| /' conftest.$ac_ext >&5
22977
22978 ac_header_compiler=no
22979 fi
22980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22982 echo "${ECHO_T}$ac_header_compiler" >&6
22983
22984 # Is the header present?
22985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22987 cat >conftest.$ac_ext <<_ACEOF
22988 /* confdefs.h. */
22989 _ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 #include <$ac_header>
22994 _ACEOF
22995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22997 ac_status=$?
22998 grep -v '^ *+' conftest.er1 >conftest.err
22999 rm -f conftest.er1
23000 cat conftest.err >&5
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } >/dev/null; then
23003 if test -s conftest.err; then
23004 ac_cpp_err=$ac_c_preproc_warn_flag
23005 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23006 else
23007 ac_cpp_err=
23008 fi
23009 else
23010 ac_cpp_err=yes
23011 fi
23012 if test -z "$ac_cpp_err"; then
23013 ac_header_preproc=yes
23014 else
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23017
23018 ac_header_preproc=no
23019 fi
23020 rm -f conftest.err conftest.$ac_ext
23021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23022 echo "${ECHO_T}$ac_header_preproc" >&6
23023
23024 # So? What about this header?
23025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23026 yes:no: )
23027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23031 ac_header_preproc=yes
23032 ;;
23033 no:yes:* )
23034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23046 (
23047 cat <<\_ASBOX
23048 ## ----------------------------------------- ##
23049 ## Report this to wx-dev@lists.wxwidgets.org ##
23050 ## ----------------------------------------- ##
23051 _ASBOX
23052 ) |
23053 sed "s/^/$as_me: WARNING: /" >&2
23054 ;;
23055 esac
23056 echo "$as_me:$LINENO: checking for $ac_header" >&5
23057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 else
23061 eval "$as_ac_Header=\$ac_header_preproc"
23062 fi
23063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23065
23066 fi
23067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23068 cat >>confdefs.h <<_ACEOF
23069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23070 _ACEOF
23071
23072 fi
23073
23074 done
23075
23076 if test "${ac_cv_header_windows_h+set}" = set; then
23077 echo "$as_me:$LINENO: checking for windows.h" >&5
23078 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23079 if test "${ac_cv_header_windows_h+set}" = set; then
23080 echo $ECHO_N "(cached) $ECHO_C" >&6
23081 fi
23082 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23083 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23084 else
23085 # Is the header compilable?
23086 echo "$as_me:$LINENO: checking windows.h usability" >&5
23087 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23088 cat >conftest.$ac_ext <<_ACEOF
23089 /* confdefs.h. */
23090 _ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 #include <windows.h>
23096 _ACEOF
23097 rm -f conftest.$ac_objext
23098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23099 (eval $ac_compile) 2>conftest.er1
23100 ac_status=$?
23101 grep -v '^ *+' conftest.er1 >conftest.err
23102 rm -f conftest.er1
23103 cat conftest.err >&5
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); } &&
23106 { ac_try='test -z "$ac_c_werror_flag"
23107 || test ! -s conftest.err'
23108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109 (eval $ac_try) 2>&5
23110 ac_status=$?
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; } &&
23113 { ac_try='test -s conftest.$ac_objext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23116 ac_status=$?
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23119 ac_header_compiler=yes
23120 else
23121 echo "$as_me: failed program was:" >&5
23122 sed 's/^/| /' conftest.$ac_ext >&5
23123
23124 ac_header_compiler=no
23125 fi
23126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23128 echo "${ECHO_T}$ac_header_compiler" >&6
23129
23130 # Is the header present?
23131 echo "$as_me:$LINENO: checking windows.h presence" >&5
23132 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23133 cat >conftest.$ac_ext <<_ACEOF
23134 /* confdefs.h. */
23135 _ACEOF
23136 cat confdefs.h >>conftest.$ac_ext
23137 cat >>conftest.$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139 #include <windows.h>
23140 _ACEOF
23141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23143 ac_status=$?
23144 grep -v '^ *+' conftest.er1 >conftest.err
23145 rm -f conftest.er1
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } >/dev/null; then
23149 if test -s conftest.err; then
23150 ac_cpp_err=$ac_c_preproc_warn_flag
23151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23152 else
23153 ac_cpp_err=
23154 fi
23155 else
23156 ac_cpp_err=yes
23157 fi
23158 if test -z "$ac_cpp_err"; then
23159 ac_header_preproc=yes
23160 else
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.$ac_ext >&5
23163
23164 ac_header_preproc=no
23165 fi
23166 rm -f conftest.err conftest.$ac_ext
23167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23168 echo "${ECHO_T}$ac_header_preproc" >&6
23169
23170 # So? What about this header?
23171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23172 yes:no: )
23173 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23174 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23175 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23176 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23177 ac_header_preproc=yes
23178 ;;
23179 no:yes:* )
23180 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23181 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23182 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23183 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23184 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23185 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23186 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23187 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23188 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23189 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23190 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23191 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23192 (
23193 cat <<\_ASBOX
23194 ## ----------------------------------------- ##
23195 ## Report this to wx-dev@lists.wxwidgets.org ##
23196 ## ----------------------------------------- ##
23197 _ASBOX
23198 ) |
23199 sed "s/^/$as_me: WARNING: /" >&2
23200 ;;
23201 esac
23202 echo "$as_me:$LINENO: checking for windows.h" >&5
23203 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23204 if test "${ac_cv_header_windows_h+set}" = set; then
23205 echo $ECHO_N "(cached) $ECHO_C" >&6
23206 else
23207 ac_cv_header_windows_h=$ac_header_preproc
23208 fi
23209 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23210 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23211
23212 fi
23213 if test $ac_cv_header_windows_h = yes; then
23214 :
23215 else
23216
23217 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23218 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23219 { (exit 1); exit 1; }; }
23220
23221 fi
23222
23223
23224
23225 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23226
23227 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23228 LIBS="$LIBS -loleacc"
23229 fi
23230
23231 case "${host}" in
23232 *-*-cygwin* )
23233 LIBS="$LIBS -lkernel32 -luser32"
23234 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
23235 esac
23236
23237 if test "$wxUSE_ODBC" = "sys" ; then
23238 wxUSE_ODBC = "yes"
23239 fi
23240 if test "$wxUSE_ODBC" = "yes" ; then
23241 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
23242 cat >>confdefs.h <<\_ACEOF
23243 #define wxUSE_ODBC 1
23244 _ACEOF
23245
23246 fi
23247
23248 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
23249 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23250
23251 WIN32INSTALL=win32install
23252 fi
23253
23254 if test "$wxUSE_GUI" = "yes"; then
23255 USE_GUI=1
23256
23257 GUI_TK_LIBRARY=
23258
23259 WXGTK12=
23260 WXGTK127=
23261 WXGTK20=
23262 WXGPE=
23263
23264 if test "$wxUSE_COCOA" = 1 ; then
23265 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23266 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23267 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23268 wxUSE_PRINTING_ARCHITECTURE=no
23269 fi
23270 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23271 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23272 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23273 wxUSE_DRAG_AND_DROP=no
23274 fi
23275 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23276 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
23277 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
23278 wxUSE_DRAGIMAGE=no
23279 fi
23280 fi
23281
23282 if test "$wxUSE_MSW" = 1 ; then
23283 TOOLKIT=MSW
23284 GUIDIST=MSW_DIST
23285
23286 case "${host}" in
23287 *-*-mingw32* )
23288 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23289 esac
23290 fi
23291
23292 if test "$wxUSE_GTK" = 1; then
23293 echo "$as_me:$LINENO: checking for GTK+ version" >&5
23294 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
23295
23296 gtk_version_cached=1
23297 if test "${wx_cv_lib_gtk+set}" = set; then
23298 echo $ECHO_N "(cached) $ECHO_C" >&6
23299 else
23300
23301 gtk_version_cached=0
23302 echo "$as_me:$LINENO: result: " >&5
23303 echo "${ECHO_T}" >&6
23304
23305 GTK_MODULES=
23306 if test "$wxUSE_THREADS" = "yes"; then
23307 GTK_MODULES=gthread
23308 fi
23309
23310 wx_cv_lib_gtk=
23311 if test "x$wxUSE_GTK2" = "xyes"; then
23312 # Check whether --enable-gtktest or --disable-gtktest was given.
23313 if test "${enable_gtktest+set}" = set; then
23314 enableval="$enable_gtktest"
23315
23316 else
23317 enable_gtktest=yes
23318 fi;
23319
23320 pkg_config_args=gtk+-2.0
23321 for module in . $GTK_MODULES
23322 do
23323 case "$module" in
23324 gthread)
23325 pkg_config_args="$pkg_config_args gthread-2.0"
23326 ;;
23327 esac
23328 done
23329
23330 no_gtk=""
23331
23332 # Extract the first word of "pkg-config", so it can be a program name with args.
23333 set dummy pkg-config; ac_word=$2
23334 echo "$as_me:$LINENO: checking for $ac_word" >&5
23335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23336 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23337 echo $ECHO_N "(cached) $ECHO_C" >&6
23338 else
23339 case $PKG_CONFIG in
23340 [\\/]* | ?:[\\/]*)
23341 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23342 ;;
23343 *)
23344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23345 for as_dir in $PATH
23346 do
23347 IFS=$as_save_IFS
23348 test -z "$as_dir" && as_dir=.
23349 for ac_exec_ext in '' $ac_executable_extensions; do
23350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23351 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23353 break 2
23354 fi
23355 done
23356 done
23357
23358 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23359 ;;
23360 esac
23361 fi
23362 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23363
23364 if test -n "$PKG_CONFIG"; then
23365 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23366 echo "${ECHO_T}$PKG_CONFIG" >&6
23367 else
23368 echo "$as_me:$LINENO: result: no" >&5
23369 echo "${ECHO_T}no" >&6
23370 fi
23371
23372
23373 if test x$PKG_CONFIG != xno ; then
23374 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23375 :
23376 else
23377 echo "*** pkg-config too old; version 0.7 or better required."
23378 no_gtk=yes
23379 PKG_CONFIG=no
23380 fi
23381 else
23382 no_gtk=yes
23383 fi
23384
23385 min_gtk_version=2.0.0
23386 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23387 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23388
23389 if test x$PKG_CONFIG != xno ; then
23390 ## don't try to run the test against uninstalled libtool libs
23391 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23392 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23393 enable_gtktest=no
23394 fi
23395
23396 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23397 :
23398 else
23399 no_gtk=yes
23400 fi
23401 fi
23402
23403 if test x"$no_gtk" = x ; then
23404 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23405 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23406 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23407 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23408 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23409 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23410 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23411 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23412 if test "x$enable_gtktest" = "xyes" ; then
23413 ac_save_CFLAGS="$CFLAGS"
23414 ac_save_LIBS="$LIBS"
23415 CFLAGS="$CFLAGS $GTK_CFLAGS"
23416 LIBS="$GTK_LIBS $LIBS"
23417 rm -f conf.gtktest
23418 if test "$cross_compiling" = yes; then
23419 echo $ac_n "cross compiling; assumed OK... $ac_c"
23420 else
23421 cat >conftest.$ac_ext <<_ACEOF
23422 /* confdefs.h. */
23423 _ACEOF
23424 cat confdefs.h >>conftest.$ac_ext
23425 cat >>conftest.$ac_ext <<_ACEOF
23426 /* end confdefs.h. */
23427
23428 #include <gtk/gtk.h>
23429 #include <stdio.h>
23430 #include <stdlib.h>
23431
23432 int
23433 main ()
23434 {
23435 int major, minor, micro;
23436 char *tmp_version;
23437
23438 system ("touch conf.gtktest");
23439
23440 /* HP/UX 9 (%@#!) writes to sscanf strings */
23441 tmp_version = g_strdup("$min_gtk_version");
23442 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23443 printf("%s, bad version string\n", "$min_gtk_version");
23444 exit(1);
23445 }
23446
23447 if ((gtk_major_version != $gtk_config_major_version) ||
23448 (gtk_minor_version != $gtk_config_minor_version) ||
23449 (gtk_micro_version != $gtk_config_micro_version))
23450 {
23451 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23452 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23453 gtk_major_version, gtk_minor_version, gtk_micro_version);
23454 printf ("*** was found! If pkg-config was correct, then it is best\n");
23455 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23456 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23457 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23458 printf("*** required on your system.\n");
23459 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23460 printf("*** to point to the correct configuration files\n");
23461 }
23462 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23463 (gtk_minor_version != GTK_MINOR_VERSION) ||
23464 (gtk_micro_version != GTK_MICRO_VERSION))
23465 {
23466 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23467 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23468 printf("*** library (version %d.%d.%d)\n",
23469 gtk_major_version, gtk_minor_version, gtk_micro_version);
23470 }
23471 else
23472 {
23473 if ((gtk_major_version > major) ||
23474 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23475 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23476 {
23477 return 0;
23478 }
23479 else
23480 {
23481 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23482 gtk_major_version, gtk_minor_version, gtk_micro_version);
23483 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23484 major, minor, micro);
23485 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23486 printf("***\n");
23487 printf("*** If you have already installed a sufficiently new version, this error\n");
23488 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23489 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23490 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23491 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23492 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23493 printf("*** so that the correct libraries are found at run-time))\n");
23494 }
23495 }
23496 return 1;
23497 }
23498
23499 _ACEOF
23500 rm -f conftest$ac_exeext
23501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23502 (eval $ac_link) 2>&5
23503 ac_status=$?
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23507 (eval $ac_try) 2>&5
23508 ac_status=$?
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); }; }; then
23511 :
23512 else
23513 echo "$as_me: program exited with status $ac_status" >&5
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23516
23517 ( exit $ac_status )
23518 no_gtk=yes
23519 fi
23520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23521 fi
23522 CFLAGS="$ac_save_CFLAGS"
23523 LIBS="$ac_save_LIBS"
23524 fi
23525 fi
23526 if test "x$no_gtk" = x ; then
23527 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23528 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23529 wx_cv_lib_gtk=2.0
23530 else
23531 echo "$as_me:$LINENO: result: no" >&5
23532 echo "${ECHO_T}no" >&6
23533 if test "$PKG_CONFIG" = "no" ; then
23534 echo "*** A new enough version of pkg-config was not found."
23535 echo "*** See http://pkgconfig.sourceforge.net"
23536 else
23537 if test -f conf.gtktest ; then
23538 :
23539 else
23540 echo "*** Could not run GTK+ test program, checking why..."
23541 ac_save_CFLAGS="$CFLAGS"
23542 ac_save_LIBS="$LIBS"
23543 CFLAGS="$CFLAGS $GTK_CFLAGS"
23544 LIBS="$LIBS $GTK_LIBS"
23545 cat >conftest.$ac_ext <<_ACEOF
23546 /* confdefs.h. */
23547 _ACEOF
23548 cat confdefs.h >>conftest.$ac_ext
23549 cat >>conftest.$ac_ext <<_ACEOF
23550 /* end confdefs.h. */
23551
23552 #include <gtk/gtk.h>
23553 #include <stdio.h>
23554
23555 int
23556 main ()
23557 {
23558 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23559 ;
23560 return 0;
23561 }
23562 _ACEOF
23563 rm -f conftest.$ac_objext conftest$ac_exeext
23564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23565 (eval $ac_link) 2>conftest.er1
23566 ac_status=$?
23567 grep -v '^ *+' conftest.er1 >conftest.err
23568 rm -f conftest.er1
23569 cat conftest.err >&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); } &&
23572 { ac_try='test -z "$ac_c_werror_flag"
23573 || test ! -s conftest.err'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23576 ac_status=$?
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; } &&
23579 { ac_try='test -s conftest$ac_exeext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23582 ac_status=$?
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 echo "*** The test program compiled, but did not run. This usually means"
23586 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23587 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23588 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23589 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23590 echo "*** is required on your system"
23591 echo "***"
23592 echo "*** If you have an old version installed, it is best to remove it, although"
23593 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23594 else
23595 echo "$as_me: failed program was:" >&5
23596 sed 's/^/| /' conftest.$ac_ext >&5
23597
23598 echo "*** The test program failed to compile or link. See the file config.log for the"
23599 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23600 fi
23601 rm -f conftest.err conftest.$ac_objext \
23602 conftest$ac_exeext conftest.$ac_ext
23603 CFLAGS="$ac_save_CFLAGS"
23604 LIBS="$ac_save_LIBS"
23605 fi
23606 fi
23607 GTK_CFLAGS=""
23608 GTK_LIBS=""
23609 :
23610 fi
23611
23612
23613 rm -f conf.gtktest
23614
23615 else
23616
23617 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23618 if test "${with_gtk_prefix+set}" = set; then
23619 withval="$with_gtk_prefix"
23620 gtk_config_prefix="$withval"
23621 else
23622 gtk_config_prefix=""
23623 fi;
23624
23625 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23626 if test "${with_gtk_exec_prefix+set}" = set; then
23627 withval="$with_gtk_exec_prefix"
23628 gtk_config_exec_prefix="$withval"
23629 else
23630 gtk_config_exec_prefix=""
23631 fi;
23632 # Check whether --enable-gtktest or --disable-gtktest was given.
23633 if test "${enable_gtktest+set}" = set; then
23634 enableval="$enable_gtktest"
23635
23636 else
23637 enable_gtktest=yes
23638 fi;
23639
23640 for module in . $GTK_MODULES
23641 do
23642 case "$module" in
23643 gthread)
23644 gtk_config_args="$gtk_config_args gthread"
23645 ;;
23646 esac
23647 done
23648
23649 if test x$gtk_config_exec_prefix != x ; then
23650 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23651 if test x${GTK_CONFIG+set} != xset ; then
23652 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23653 fi
23654 fi
23655 if test x$gtk_config_prefix != x ; then
23656 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23657 if test x${GTK_CONFIG+set} != xset ; then
23658 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23659 fi
23660 fi
23661
23662 # Extract the first word of "gtk-config", so it can be a program name with args.
23663 set dummy gtk-config; ac_word=$2
23664 echo "$as_me:$LINENO: checking for $ac_word" >&5
23665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23666 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23667 echo $ECHO_N "(cached) $ECHO_C" >&6
23668 else
23669 case $GTK_CONFIG in
23670 [\\/]* | ?:[\\/]*)
23671 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23672 ;;
23673 *)
23674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23675 for as_dir in $PATH
23676 do
23677 IFS=$as_save_IFS
23678 test -z "$as_dir" && as_dir=.
23679 for ac_exec_ext in '' $ac_executable_extensions; do
23680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23681 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23683 break 2
23684 fi
23685 done
23686 done
23687
23688 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23689 ;;
23690 esac
23691 fi
23692 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23693
23694 if test -n "$GTK_CONFIG"; then
23695 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23696 echo "${ECHO_T}$GTK_CONFIG" >&6
23697 else
23698 echo "$as_me:$LINENO: result: no" >&5
23699 echo "${ECHO_T}no" >&6
23700 fi
23701
23702 min_gtk_version=1.2.7
23703 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23704 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23705 no_gtk=""
23706 if test "$GTK_CONFIG" = "no" ; then
23707 no_gtk=yes
23708 else
23709 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23710 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23711 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23713 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23715 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23717 if test "x$enable_gtktest" = "xyes" ; then
23718 ac_save_CFLAGS="$CFLAGS"
23719 ac_save_LIBS="$LIBS"
23720 CFLAGS="$CFLAGS $GTK_CFLAGS"
23721 LIBS="$GTK_LIBS $LIBS"
23722 rm -f conf.gtktest
23723 if test "$cross_compiling" = yes; then
23724 echo $ac_n "cross compiling; assumed OK... $ac_c"
23725 else
23726 cat >conftest.$ac_ext <<_ACEOF
23727 /* confdefs.h. */
23728 _ACEOF
23729 cat confdefs.h >>conftest.$ac_ext
23730 cat >>conftest.$ac_ext <<_ACEOF
23731 /* end confdefs.h. */
23732
23733 #include <gtk/gtk.h>
23734 #include <stdio.h>
23735 #include <stdlib.h>
23736
23737 int
23738 main ()
23739 {
23740 int major, minor, micro;
23741 char *tmp_version;
23742
23743 system ("touch conf.gtktest");
23744
23745 /* HP/UX 9 (%@#!) writes to sscanf strings */
23746 tmp_version = g_strdup("$min_gtk_version");
23747 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23748 printf("%s, bad version string\n", "$min_gtk_version");
23749 exit(1);
23750 }
23751
23752 if ((gtk_major_version != $gtk_config_major_version) ||
23753 (gtk_minor_version != $gtk_config_minor_version) ||
23754 (gtk_micro_version != $gtk_config_micro_version))
23755 {
23756 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23757 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23758 gtk_major_version, gtk_minor_version, gtk_micro_version);
23759 printf ("*** was found! If gtk-config was correct, then it is best\n");
23760 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23761 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23762 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23763 printf("*** required on your system.\n");
23764 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23765 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23766 printf("*** before re-running configure\n");
23767 }
23768 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23769 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23770 (gtk_minor_version != GTK_MINOR_VERSION) ||
23771 (gtk_micro_version != GTK_MICRO_VERSION))
23772 {
23773 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23774 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23775 printf("*** library (version %d.%d.%d)\n",
23776 gtk_major_version, gtk_minor_version, gtk_micro_version);
23777 }
23778 #endif /* defined (GTK_MAJOR_VERSION) ... */
23779 else
23780 {
23781 if ((gtk_major_version > major) ||
23782 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23783 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23784 {
23785 return 0;
23786 }
23787 else
23788 {
23789 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23790 gtk_major_version, gtk_minor_version, gtk_micro_version);
23791 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23792 major, minor, micro);
23793 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23794 printf("***\n");
23795 printf("*** If you have already installed a sufficiently new version, this error\n");
23796 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23797 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23798 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23799 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23800 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23801 printf("*** so that the correct libraries are found at run-time))\n");
23802 }
23803 }
23804 return 1;
23805 }
23806
23807 _ACEOF
23808 rm -f conftest$ac_exeext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23810 (eval $ac_link) 2>&5
23811 ac_status=$?
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23815 (eval $ac_try) 2>&5
23816 ac_status=$?
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); }; }; then
23819 :
23820 else
23821 echo "$as_me: program exited with status $ac_status" >&5
23822 echo "$as_me: failed program was:" >&5
23823 sed 's/^/| /' conftest.$ac_ext >&5
23824
23825 ( exit $ac_status )
23826 no_gtk=yes
23827 fi
23828 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23829 fi
23830 CFLAGS="$ac_save_CFLAGS"
23831 LIBS="$ac_save_LIBS"
23832 fi
23833 fi
23834 if test "x$no_gtk" = x ; then
23835 echo "$as_me:$LINENO: result: yes" >&5
23836 echo "${ECHO_T}yes" >&6
23837 wx_cv_lib_gtk=1.2.7
23838 else
23839 echo "$as_me:$LINENO: result: no" >&5
23840 echo "${ECHO_T}no" >&6
23841 if test "$GTK_CONFIG" = "no" ; then
23842 echo "*** The gtk-config script installed by GTK could not be found"
23843 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23844 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23845 echo "*** full path to gtk-config."
23846 else
23847 if test -f conf.gtktest ; then
23848 :
23849 else
23850 echo "*** Could not run GTK test program, checking why..."
23851 CFLAGS="$CFLAGS $GTK_CFLAGS"
23852 LIBS="$LIBS $GTK_LIBS"
23853 cat >conftest.$ac_ext <<_ACEOF
23854 /* confdefs.h. */
23855 _ACEOF
23856 cat confdefs.h >>conftest.$ac_ext
23857 cat >>conftest.$ac_ext <<_ACEOF
23858 /* end confdefs.h. */
23859
23860 #include <gtk/gtk.h>
23861 #include <stdio.h>
23862
23863 int
23864 main ()
23865 {
23866 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23867 ;
23868 return 0;
23869 }
23870 _ACEOF
23871 rm -f conftest.$ac_objext conftest$ac_exeext
23872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23873 (eval $ac_link) 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try='test -z "$ac_c_werror_flag"
23881 || test ! -s conftest.err'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; } &&
23887 { ac_try='test -s conftest$ac_exeext'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23890 ac_status=$?
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 echo "*** The test program compiled, but did not run. This usually means"
23894 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23895 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23896 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23897 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23898 echo "*** is required on your system"
23899 echo "***"
23900 echo "*** If you have an old version installed, it is best to remove it, although"
23901 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23902 echo "***"
23903 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23904 echo "*** came with the system with the command"
23905 echo "***"
23906 echo "*** rpm --erase --nodeps gtk gtk-devel"
23907 else
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.$ac_ext >&5
23910
23911 echo "*** The test program failed to compile or link. See the file config.log for the"
23912 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23913 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23914 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23915 fi
23916 rm -f conftest.err conftest.$ac_objext \
23917 conftest$ac_exeext conftest.$ac_ext
23918 CFLAGS="$ac_save_CFLAGS"
23919 LIBS="$ac_save_LIBS"
23920 fi
23921 fi
23922 GTK_CFLAGS=""
23923 GTK_LIBS=""
23924 :
23925 fi
23926
23927
23928 rm -f conf.gtktest
23929
23930
23931 if test -z "$wx_cv_lib_gtk"; then
23932
23933 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23934 if test "${with_gtk_prefix+set}" = set; then
23935 withval="$with_gtk_prefix"
23936 gtk_config_prefix="$withval"
23937 else
23938 gtk_config_prefix=""
23939 fi;
23940
23941 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23942 if test "${with_gtk_exec_prefix+set}" = set; then
23943 withval="$with_gtk_exec_prefix"
23944 gtk_config_exec_prefix="$withval"
23945 else
23946 gtk_config_exec_prefix=""
23947 fi;
23948 # Check whether --enable-gtktest or --disable-gtktest was given.
23949 if test "${enable_gtktest+set}" = set; then
23950 enableval="$enable_gtktest"
23951
23952 else
23953 enable_gtktest=yes
23954 fi;
23955
23956 for module in . $GTK_MODULES
23957 do
23958 case "$module" in
23959 gthread)
23960 gtk_config_args="$gtk_config_args gthread"
23961 ;;
23962 esac
23963 done
23964
23965 if test x$gtk_config_exec_prefix != x ; then
23966 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23967 if test x${GTK_CONFIG+set} != xset ; then
23968 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23969 fi
23970 fi
23971 if test x$gtk_config_prefix != x ; then
23972 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23973 if test x${GTK_CONFIG+set} != xset ; then
23974 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23975 fi
23976 fi
23977
23978 # Extract the first word of "gtk-config", so it can be a program name with args.
23979 set dummy gtk-config; ac_word=$2
23980 echo "$as_me:$LINENO: checking for $ac_word" >&5
23981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23982 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23984 else
23985 case $GTK_CONFIG in
23986 [\\/]* | ?:[\\/]*)
23987 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23988 ;;
23989 *)
23990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23991 for as_dir in $PATH
23992 do
23993 IFS=$as_save_IFS
23994 test -z "$as_dir" && as_dir=.
23995 for ac_exec_ext in '' $ac_executable_extensions; do
23996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23997 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23999 break 2
24000 fi
24001 done
24002 done
24003
24004 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24005 ;;
24006 esac
24007 fi
24008 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24009
24010 if test -n "$GTK_CONFIG"; then
24011 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24012 echo "${ECHO_T}$GTK_CONFIG" >&6
24013 else
24014 echo "$as_me:$LINENO: result: no" >&5
24015 echo "${ECHO_T}no" >&6
24016 fi
24017
24018 min_gtk_version=1.2.3
24019 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24020 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24021 no_gtk=""
24022 if test "$GTK_CONFIG" = "no" ; then
24023 no_gtk=yes
24024 else
24025 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24026 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24027 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24029 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24031 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24033 if test "x$enable_gtktest" = "xyes" ; then
24034 ac_save_CFLAGS="$CFLAGS"
24035 ac_save_LIBS="$LIBS"
24036 CFLAGS="$CFLAGS $GTK_CFLAGS"
24037 LIBS="$GTK_LIBS $LIBS"
24038 rm -f conf.gtktest
24039 if test "$cross_compiling" = yes; then
24040 echo $ac_n "cross compiling; assumed OK... $ac_c"
24041 else
24042 cat >conftest.$ac_ext <<_ACEOF
24043 /* confdefs.h. */
24044 _ACEOF
24045 cat confdefs.h >>conftest.$ac_ext
24046 cat >>conftest.$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24048
24049 #include <gtk/gtk.h>
24050 #include <stdio.h>
24051 #include <stdlib.h>
24052
24053 int
24054 main ()
24055 {
24056 int major, minor, micro;
24057 char *tmp_version;
24058
24059 system ("touch conf.gtktest");
24060
24061 /* HP/UX 9 (%@#!) writes to sscanf strings */
24062 tmp_version = g_strdup("$min_gtk_version");
24063 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24064 printf("%s, bad version string\n", "$min_gtk_version");
24065 exit(1);
24066 }
24067
24068 if ((gtk_major_version != $gtk_config_major_version) ||
24069 (gtk_minor_version != $gtk_config_minor_version) ||
24070 (gtk_micro_version != $gtk_config_micro_version))
24071 {
24072 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24073 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24074 gtk_major_version, gtk_minor_version, gtk_micro_version);
24075 printf ("*** was found! If gtk-config was correct, then it is best\n");
24076 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24077 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24078 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24079 printf("*** required on your system.\n");
24080 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24081 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24082 printf("*** before re-running configure\n");
24083 }
24084 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24085 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24086 (gtk_minor_version != GTK_MINOR_VERSION) ||
24087 (gtk_micro_version != GTK_MICRO_VERSION))
24088 {
24089 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24090 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24091 printf("*** library (version %d.%d.%d)\n",
24092 gtk_major_version, gtk_minor_version, gtk_micro_version);
24093 }
24094 #endif /* defined (GTK_MAJOR_VERSION) ... */
24095 else
24096 {
24097 if ((gtk_major_version > major) ||
24098 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24099 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24100 {
24101 return 0;
24102 }
24103 else
24104 {
24105 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24106 gtk_major_version, gtk_minor_version, gtk_micro_version);
24107 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24108 major, minor, micro);
24109 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24110 printf("***\n");
24111 printf("*** If you have already installed a sufficiently new version, this error\n");
24112 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24113 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24114 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24115 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24116 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24117 printf("*** so that the correct libraries are found at run-time))\n");
24118 }
24119 }
24120 return 1;
24121 }
24122
24123 _ACEOF
24124 rm -f conftest$ac_exeext
24125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24126 (eval $ac_link) 2>&5
24127 ac_status=$?
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24132 ac_status=$?
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; }; then
24135 :
24136 else
24137 echo "$as_me: program exited with status $ac_status" >&5
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.$ac_ext >&5
24140
24141 ( exit $ac_status )
24142 no_gtk=yes
24143 fi
24144 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24145 fi
24146 CFLAGS="$ac_save_CFLAGS"
24147 LIBS="$ac_save_LIBS"
24148 fi
24149 fi
24150 if test "x$no_gtk" = x ; then
24151 echo "$as_me:$LINENO: result: yes" >&5
24152 echo "${ECHO_T}yes" >&6
24153 wx_cv_lib_gtk=1.2.3
24154 else
24155 echo "$as_me:$LINENO: result: no" >&5
24156 echo "${ECHO_T}no" >&6
24157 if test "$GTK_CONFIG" = "no" ; then
24158 echo "*** The gtk-config script installed by GTK could not be found"
24159 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24160 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24161 echo "*** full path to gtk-config."
24162 else
24163 if test -f conf.gtktest ; then
24164 :
24165 else
24166 echo "*** Could not run GTK test program, checking why..."
24167 CFLAGS="$CFLAGS $GTK_CFLAGS"
24168 LIBS="$LIBS $GTK_LIBS"
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175
24176 #include <gtk/gtk.h>
24177 #include <stdio.h>
24178
24179 int
24180 main ()
24181 {
24182 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24183 ;
24184 return 0;
24185 }
24186 _ACEOF
24187 rm -f conftest.$ac_objext conftest$ac_exeext
24188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>conftest.er1
24190 ac_status=$?
24191 grep -v '^ *+' conftest.er1 >conftest.err
24192 rm -f conftest.er1
24193 cat conftest.err >&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } &&
24196 { ac_try='test -z "$ac_c_werror_flag"
24197 || test ! -s conftest.err'
24198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24199 (eval $ac_try) 2>&5
24200 ac_status=$?
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); }; } &&
24203 { ac_try='test -s conftest$ac_exeext'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24206 ac_status=$?
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; }; then
24209 echo "*** The test program compiled, but did not run. This usually means"
24210 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24211 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24212 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24213 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24214 echo "*** is required on your system"
24215 echo "***"
24216 echo "*** If you have an old version installed, it is best to remove it, although"
24217 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24218 echo "***"
24219 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24220 echo "*** came with the system with the command"
24221 echo "***"
24222 echo "*** rpm --erase --nodeps gtk gtk-devel"
24223 else
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24226
24227 echo "*** The test program failed to compile or link. See the file config.log for the"
24228 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24229 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24230 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24231 fi
24232 rm -f conftest.err conftest.$ac_objext \
24233 conftest$ac_exeext conftest.$ac_ext
24234 CFLAGS="$ac_save_CFLAGS"
24235 LIBS="$ac_save_LIBS"
24236 fi
24237 fi
24238 GTK_CFLAGS=""
24239 GTK_LIBS=""
24240 :
24241 fi
24242
24243
24244 rm -f conf.gtktest
24245
24246 fi
24247 fi
24248
24249 if test -z "$wx_cv_lib_gtk"; then
24250 wx_cv_lib_gtk=none
24251 else
24252 wx_cv_cflags_gtk=$GTK_CFLAGS
24253 wx_cv_libs_gtk=$GTK_LIBS
24254 fi
24255
24256
24257 fi
24258
24259
24260 if test "$gtk_version_cached" = 1; then
24261 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
24262 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
24263 fi
24264
24265 case "$wx_cv_lib_gtk" in
24266 2.0) WXGTK20=1
24267 TOOLKIT_VERSION=2
24268 ;;
24269 1.2.7) WXGTK127=1
24270 WXGTK12=1
24271 ;;
24272 1.2.3) WXGTK12=1
24273 ;;
24274 *) { { echo "$as_me:$LINENO: error:
24275 Please check that gtk-config is in path, the directory
24276 where GTK+ libraries are installed (returned by
24277 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24278 equivalent variable and GTK+ is version 1.2.3 or above.
24279 " >&5
24280 echo "$as_me: error:
24281 Please check that gtk-config is in path, the directory
24282 where GTK+ libraries are installed (returned by
24283 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24284 equivalent variable and GTK+ is version 1.2.3 or above.
24285 " >&2;}
24286 { (exit 1); exit 1; }; }
24287 ;;
24288 esac
24289
24290 if test "$WXGTK20" = 1; then
24291 save_CFLAGS="$CFLAGS"
24292 save_LIBS="$LIBS"
24293 CFLAGS="$CFLAGS $GTK_CFLAGS"
24294 LIBS="$LIBS $GTK_LIBS"
24295
24296
24297 for ac_func in pango_font_family_is_monospace
24298 do
24299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24300 echo "$as_me:$LINENO: checking for $ac_func" >&5
24301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24302 if eval "test \"\${$as_ac_var+set}\" = set"; then
24303 echo $ECHO_N "(cached) $ECHO_C" >&6
24304 else
24305 cat >conftest.$ac_ext <<_ACEOF
24306 /* confdefs.h. */
24307 _ACEOF
24308 cat confdefs.h >>conftest.$ac_ext
24309 cat >>conftest.$ac_ext <<_ACEOF
24310 /* end confdefs.h. */
24311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24313 #define $ac_func innocuous_$ac_func
24314
24315 /* System header to define __stub macros and hopefully few prototypes,
24316 which can conflict with char $ac_func (); below.
24317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24318 <limits.h> exists even on freestanding compilers. */
24319
24320 #ifdef __STDC__
24321 # include <limits.h>
24322 #else
24323 # include <assert.h>
24324 #endif
24325
24326 #undef $ac_func
24327
24328 /* Override any gcc2 internal prototype to avoid an error. */
24329 #ifdef __cplusplus
24330 extern "C"
24331 {
24332 #endif
24333 /* We use char because int might match the return type of a gcc2
24334 builtin and then its argument prototype would still apply. */
24335 char $ac_func ();
24336 /* The GNU C library defines this for functions which it implements
24337 to always fail with ENOSYS. Some functions are actually named
24338 something starting with __ and the normal name is an alias. */
24339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24340 choke me
24341 #else
24342 char (*f) () = $ac_func;
24343 #endif
24344 #ifdef __cplusplus
24345 }
24346 #endif
24347
24348 int
24349 main ()
24350 {
24351 return f != $ac_func;
24352 ;
24353 return 0;
24354 }
24355 _ACEOF
24356 rm -f conftest.$ac_objext conftest$ac_exeext
24357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24358 (eval $ac_link) 2>conftest.er1
24359 ac_status=$?
24360 grep -v '^ *+' conftest.er1 >conftest.err
24361 rm -f conftest.er1
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } &&
24365 { ac_try='test -z "$ac_c_werror_flag"
24366 || test ! -s conftest.err'
24367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24368 (eval $ac_try) 2>&5
24369 ac_status=$?
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); }; } &&
24372 { ac_try='test -s conftest$ac_exeext'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24375 ac_status=$?
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; }; then
24378 eval "$as_ac_var=yes"
24379 else
24380 echo "$as_me: failed program was:" >&5
24381 sed 's/^/| /' conftest.$ac_ext >&5
24382
24383 eval "$as_ac_var=no"
24384 fi
24385 rm -f conftest.err conftest.$ac_objext \
24386 conftest$ac_exeext conftest.$ac_ext
24387 fi
24388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24390 if test `eval echo '${'$as_ac_var'}'` = yes; then
24391 cat >>confdefs.h <<_ACEOF
24392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24393 _ACEOF
24394
24395 fi
24396 done
24397
24398
24399 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24400 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24401 cat >conftest.$ac_ext <<_ACEOF
24402 /* confdefs.h. */
24403 _ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407
24408 #include <gtk/gtk.h>
24409
24410 int
24411 main ()
24412 {
24413
24414 #if !GTK_CHECK_VERSION(2,4,0)
24415 #error "Not GTK+ 2.4"
24416 #endif
24417
24418 ;
24419 return 0;
24420 }
24421 _ACEOF
24422 rm -f conftest.$ac_objext
24423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24424 (eval $ac_compile) 2>conftest.er1
24425 ac_status=$?
24426 grep -v '^ *+' conftest.er1 >conftest.err
24427 rm -f conftest.er1
24428 cat conftest.err >&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); } &&
24431 { ac_try='test -z "$ac_c_werror_flag"
24432 || test ! -s conftest.err'
24433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24434 (eval $ac_try) 2>&5
24435 ac_status=$?
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); }; } &&
24438 { ac_try='test -s conftest.$ac_objext'
24439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440 (eval $ac_try) 2>&5
24441 ac_status=$?
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; }; then
24444
24445 cat >>confdefs.h <<\_ACEOF
24446 #define __WXGTK24__ 1
24447 _ACEOF
24448
24449 echo "$as_me:$LINENO: result: yes" >&5
24450 echo "${ECHO_T}yes" >&6
24451
24452 else
24453 echo "$as_me: failed program was:" >&5
24454 sed 's/^/| /' conftest.$ac_ext >&5
24455
24456
24457 echo "$as_me:$LINENO: result: no" >&5
24458 echo "${ECHO_T}no" >&6
24459
24460 fi
24461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24462
24463 CFLAGS="$save_CFLAGS"
24464 LIBS="$save_LIBS"
24465 else
24466 if test "$wxUSE_UNICODE" = "yes"; then
24467 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24468 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24469 wxUSE_UNICODE=no
24470 fi
24471 fi
24472
24473 if test "$USE_DARWIN" != 1; then
24474
24475 for ac_func in poll
24476 do
24477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24478 echo "$as_me:$LINENO: checking for $ac_func" >&5
24479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24480 if eval "test \"\${$as_ac_var+set}\" = set"; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 else
24483 cat >conftest.$ac_ext <<_ACEOF
24484 /* confdefs.h. */
24485 _ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24491 #define $ac_func innocuous_$ac_func
24492
24493 /* System header to define __stub macros and hopefully few prototypes,
24494 which can conflict with char $ac_func (); below.
24495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24496 <limits.h> exists even on freestanding compilers. */
24497
24498 #ifdef __STDC__
24499 # include <limits.h>
24500 #else
24501 # include <assert.h>
24502 #endif
24503
24504 #undef $ac_func
24505
24506 /* Override any gcc2 internal prototype to avoid an error. */
24507 #ifdef __cplusplus
24508 extern "C"
24509 {
24510 #endif
24511 /* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24513 char $ac_func ();
24514 /* The GNU C library defines this for functions which it implements
24515 to always fail with ENOSYS. Some functions are actually named
24516 something starting with __ and the normal name is an alias. */
24517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24518 choke me
24519 #else
24520 char (*f) () = $ac_func;
24521 #endif
24522 #ifdef __cplusplus
24523 }
24524 #endif
24525
24526 int
24527 main ()
24528 {
24529 return f != $ac_func;
24530 ;
24531 return 0;
24532 }
24533 _ACEOF
24534 rm -f conftest.$ac_objext conftest$ac_exeext
24535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24536 (eval $ac_link) 2>conftest.er1
24537 ac_status=$?
24538 grep -v '^ *+' conftest.er1 >conftest.err
24539 rm -f conftest.er1
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } &&
24543 { ac_try='test -z "$ac_c_werror_flag"
24544 || test ! -s conftest.err'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24547 ac_status=$?
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; } &&
24550 { ac_try='test -s conftest$ac_exeext'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; }; then
24556 eval "$as_ac_var=yes"
24557 else
24558 echo "$as_me: failed program was:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24560
24561 eval "$as_ac_var=no"
24562 fi
24563 rm -f conftest.err conftest.$ac_objext \
24564 conftest$ac_exeext conftest.$ac_ext
24565 fi
24566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24568 if test `eval echo '${'$as_ac_var'}'` = yes; then
24569 cat >>confdefs.h <<_ACEOF
24570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24571 _ACEOF
24572
24573 fi
24574 done
24575
24576 fi
24577
24578 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24579 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24580
24581 AFMINSTALL=afminstall
24582 TOOLKIT=GTK
24583 GUIDIST=GTK_DIST
24584
24585 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24586 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24587 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 else
24590 ac_check_lib_save_LIBS=$LIBS
24591 LIBS="-lgdk $LIBS"
24592 cat >conftest.$ac_ext <<_ACEOF
24593 /* confdefs.h. */
24594 _ACEOF
24595 cat confdefs.h >>conftest.$ac_ext
24596 cat >>conftest.$ac_ext <<_ACEOF
24597 /* end confdefs.h. */
24598
24599 /* Override any gcc2 internal prototype to avoid an error. */
24600 #ifdef __cplusplus
24601 extern "C"
24602 #endif
24603 /* We use char because int might match the return type of a gcc2
24604 builtin and then its argument prototype would still apply. */
24605 char gdk_im_open ();
24606 int
24607 main ()
24608 {
24609 gdk_im_open ();
24610 ;
24611 return 0;
24612 }
24613 _ACEOF
24614 rm -f conftest.$ac_objext conftest$ac_exeext
24615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24616 (eval $ac_link) 2>conftest.er1
24617 ac_status=$?
24618 grep -v '^ *+' conftest.er1 >conftest.err
24619 rm -f conftest.er1
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); } &&
24623 { ac_try='test -z "$ac_c_werror_flag"
24624 || test ! -s conftest.err'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24627 ac_status=$?
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; } &&
24630 { ac_try='test -s conftest$ac_exeext'
24631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24632 (eval $ac_try) 2>&5
24633 ac_status=$?
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); }; }; then
24636 ac_cv_lib_gdk_gdk_im_open=yes
24637 else
24638 echo "$as_me: failed program was:" >&5
24639 sed 's/^/| /' conftest.$ac_ext >&5
24640
24641 ac_cv_lib_gdk_gdk_im_open=no
24642 fi
24643 rm -f conftest.err conftest.$ac_objext \
24644 conftest$ac_exeext conftest.$ac_ext
24645 LIBS=$ac_check_lib_save_LIBS
24646 fi
24647 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24648 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24649 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24650 cat >>confdefs.h <<\_ACEOF
24651 #define HAVE_XIM 1
24652 _ACEOF
24653
24654 fi
24655
24656
24657
24658 if test "$wxUSE_GPE" = "yes"; then
24659 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24660 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24661
24662 ac_find_libraries=
24663 for ac_dir in $SEARCH_LIB /usr/lib;
24664 do
24665 for ac_extension in a so sl dylib; do
24666 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24667 ac_find_libraries=$ac_dir
24668 break 2
24669 fi
24670 done
24671 done
24672
24673 if test "$ac_find_libraries" != "" ; then
24674
24675 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24676 result=$?
24677 if test $result = 0; then
24678 ac_path_to_link=""
24679 else
24680 ac_path_to_link=" -L$ac_find_libraries"
24681 fi
24682
24683 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24684 WXGPE=1
24685 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24686 echo "${ECHO_T}found at $ac_find_libraries" >&6
24687 else
24688 echo "$as_me:$LINENO: result: not found" >&5
24689 echo "${ECHO_T}not found" >&6
24690 fi
24691
24692 fi
24693 fi
24694
24695 if test "$wxUSE_MGL" = 1; then
24696 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24697 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24698 if test "x$MGL_ROOT" = x ; then
24699 echo "$as_me:$LINENO: result: not found" >&5
24700 echo "${ECHO_T}not found" >&6
24701 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24702 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24703 { (exit 1); exit 1; }; }
24704 else
24705 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24706 echo "${ECHO_T}$MGL_ROOT" >&6
24707 fi
24708
24709 echo "$as_me:$LINENO: checking for libmgl location" >&5
24710 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24711 case "${host}" in
24712 *-*-linux* )
24713 if test "x$wxUSE_SHARED" = xyes ; then
24714 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24715 else
24716 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24717 fi
24718 ;;
24719 *-pc-msdosdjgpp )
24720 mgl_os_candidates="dos32/dj2"
24721 ;;
24722 *)
24723 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24724 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24725 { (exit 1); exit 1; }; }
24726 esac
24727
24728 mgl_lib_type=""
24729 mgl_os=""
24730
24731 for mgl_os_i in $mgl_os_candidates ; do
24732 if test "x$mgl_os" = x ; then
24733 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24734 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24735 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24736 mgl_lib_type=debug
24737 mgl_os=$mgl_os_i
24738 fi
24739 fi
24740 if test "x$mgl_lib_type" = x ; then
24741 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24742 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24743 mgl_lib_type=release
24744 mgl_os=$mgl_os_i
24745 fi
24746 fi
24747 fi
24748 done
24749
24750 if test "x$mgl_os" = x ; then
24751 echo "$as_me:$LINENO: result: not found" >&5
24752 echo "${ECHO_T}not found" >&6
24753 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24754 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24755 { (exit 1); exit 1; }; }
24756 fi
24757 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24758 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24759
24760 wxUSE_UNIVERSAL="yes"
24761
24762 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24763 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24764
24765 AFMINSTALL=afminstall
24766 TOOLKIT=MGL
24767 GUIDIST=MGL_DIST
24768 fi
24769
24770 if test "$wxUSE_MICROWIN" = 1; then
24771 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24772 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24773 if test "x$MICROWINDOWS" = x ; then
24774 echo "$as_me:$LINENO: result: not found" >&5
24775 echo "${ECHO_T}not found" >&6
24776 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24777 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24778 { (exit 1); exit 1; }; }
24779 else
24780 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24781 echo "${ECHO_T}$MICROWINDOWS" >&6
24782 fi
24783
24784 if test -f $MICROWINDOWS/lib/libmwin.a; then
24785 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24786 echo "${ECHO_T}MicroWindows' libraries found." >&6
24787 else
24788 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24789 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24790 { (exit 1); exit 1; }; }
24791 fi
24792
24793 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24794 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24795
24796 wxUSE_UNIVERSAL="yes"
24797
24798 AFMINSTALL=afminstall
24799 TOOLKIT=MICROWIN
24800 GUIDIST=MICROWIN_DIST
24801
24802 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24803 fi
24804
24805 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24806 echo "$as_me:$LINENO: checking for X" >&5
24807 echo $ECHO_N "checking for X... $ECHO_C" >&6
24808
24809
24810 # Check whether --with-x or --without-x was given.
24811 if test "${with_x+set}" = set; then
24812 withval="$with_x"
24813
24814 fi;
24815 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24816 if test "x$with_x" = xno; then
24817 # The user explicitly disabled X.
24818 have_x=disabled
24819 else
24820 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24821 # Both variables are already set.
24822 have_x=yes
24823 else
24824 if test "${ac_cv_have_x+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24826 else
24827 # One or both of the vars are not set, and there is no cached value.
24828 ac_x_includes=no ac_x_libraries=no
24829 rm -fr conftest.dir
24830 if mkdir conftest.dir; then
24831 cd conftest.dir
24832 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24833 cat >Imakefile <<'_ACEOF'
24834 acfindx:
24835 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24836 _ACEOF
24837 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24838 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24839 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24840 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24841 for ac_extension in a so sl; do
24842 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24843 test -f $ac_im_libdir/libX11.$ac_extension; then
24844 ac_im_usrlibdir=$ac_im_libdir; break
24845 fi
24846 done
24847 # Screen out bogus values from the imake configuration. They are
24848 # bogus both because they are the default anyway, and because
24849 # using them would break gcc on systems where it needs fixed includes.
24850 case $ac_im_incroot in
24851 /usr/include) ;;
24852 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24853 esac
24854 case $ac_im_usrlibdir in
24855 /usr/lib | /lib) ;;
24856 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24857 esac
24858 fi
24859 cd ..
24860 rm -fr conftest.dir
24861 fi
24862
24863 # Standard set of common directories for X headers.
24864 # Check X11 before X11Rn because it is often a symlink to the current release.
24865 ac_x_header_dirs='
24866 /usr/X11/include
24867 /usr/X11R6/include
24868 /usr/X11R5/include
24869 /usr/X11R4/include
24870
24871 /usr/include/X11
24872 /usr/include/X11R6
24873 /usr/include/X11R5
24874 /usr/include/X11R4
24875
24876 /usr/local/X11/include
24877 /usr/local/X11R6/include
24878 /usr/local/X11R5/include
24879 /usr/local/X11R4/include
24880
24881 /usr/local/include/X11
24882 /usr/local/include/X11R6
24883 /usr/local/include/X11R5
24884 /usr/local/include/X11R4
24885
24886 /usr/X386/include
24887 /usr/x386/include
24888 /usr/XFree86/include/X11
24889
24890 /usr/include
24891 /usr/local/include
24892 /usr/unsupported/include
24893 /usr/athena/include
24894 /usr/local/x11r5/include
24895 /usr/lpp/Xamples/include
24896
24897 /usr/openwin/include
24898 /usr/openwin/share/include'
24899
24900 if test "$ac_x_includes" = no; then
24901 # Guess where to find include files, by looking for Intrinsic.h.
24902 # First, try using that file with no special directory specified.
24903 cat >conftest.$ac_ext <<_ACEOF
24904 /* confdefs.h. */
24905 _ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909 #include <X11/Intrinsic.h>
24910 _ACEOF
24911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24913 ac_status=$?
24914 grep -v '^ *+' conftest.er1 >conftest.err
24915 rm -f conftest.er1
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } >/dev/null; then
24919 if test -s conftest.err; then
24920 ac_cpp_err=$ac_c_preproc_warn_flag
24921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24922 else
24923 ac_cpp_err=
24924 fi
24925 else
24926 ac_cpp_err=yes
24927 fi
24928 if test -z "$ac_cpp_err"; then
24929 # We can compile using X headers with no special include directory.
24930 ac_x_includes=
24931 else
24932 echo "$as_me: failed program was:" >&5
24933 sed 's/^/| /' conftest.$ac_ext >&5
24934
24935 for ac_dir in $ac_x_header_dirs; do
24936 if test -r "$ac_dir/X11/Intrinsic.h"; then
24937 ac_x_includes=$ac_dir
24938 break
24939 fi
24940 done
24941 fi
24942 rm -f conftest.err conftest.$ac_ext
24943 fi # $ac_x_includes = no
24944
24945 if test "$ac_x_libraries" = no; then
24946 # Check for the libraries.
24947 # See if we find them without any special options.
24948 # Don't add to $LIBS permanently.
24949 ac_save_LIBS=$LIBS
24950 LIBS="-lXt $LIBS"
24951 cat >conftest.$ac_ext <<_ACEOF
24952 /* confdefs.h. */
24953 _ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24957 #include <X11/Intrinsic.h>
24958 int
24959 main ()
24960 {
24961 XtMalloc (0)
24962 ;
24963 return 0;
24964 }
24965 _ACEOF
24966 rm -f conftest.$ac_objext conftest$ac_exeext
24967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24968 (eval $ac_link) 2>conftest.er1
24969 ac_status=$?
24970 grep -v '^ *+' conftest.er1 >conftest.err
24971 rm -f conftest.er1
24972 cat conftest.err >&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); } &&
24975 { ac_try='test -z "$ac_c_werror_flag"
24976 || test ! -s conftest.err'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24979 ac_status=$?
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; } &&
24982 { ac_try='test -s conftest$ac_exeext'
24983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24984 (eval $ac_try) 2>&5
24985 ac_status=$?
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987 (exit $ac_status); }; }; then
24988 LIBS=$ac_save_LIBS
24989 # We can link X programs with no special library path.
24990 ac_x_libraries=
24991 else
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24994
24995 LIBS=$ac_save_LIBS
24996 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24997 do
24998 # Don't even attempt the hair of trying to link an X program!
24999 for ac_extension in a so sl; do
25000 if test -r $ac_dir/libXt.$ac_extension; then
25001 ac_x_libraries=$ac_dir
25002 break 2
25003 fi
25004 done
25005 done
25006 fi
25007 rm -f conftest.err conftest.$ac_objext \
25008 conftest$ac_exeext conftest.$ac_ext
25009 fi # $ac_x_libraries = no
25010
25011 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25012 # Didn't find X anywhere. Cache the known absence of X.
25013 ac_cv_have_x="have_x=no"
25014 else
25015 # Record where we found X for the cache.
25016 ac_cv_have_x="have_x=yes \
25017 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25018 fi
25019 fi
25020
25021 fi
25022 eval "$ac_cv_have_x"
25023 fi # $with_x != no
25024
25025 if test "$have_x" != yes; then
25026 echo "$as_me:$LINENO: result: $have_x" >&5
25027 echo "${ECHO_T}$have_x" >&6
25028 no_x=yes
25029 else
25030 # If each of the values was on the command line, it overrides each guess.
25031 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25032 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25033 # Update the cache value to reflect the command line values.
25034 ac_cv_have_x="have_x=yes \
25035 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25036 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
25037 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25038 fi
25039
25040 if test "$no_x" = yes; then
25041 # Not all programs may use this symbol, but it does not hurt to define it.
25042
25043 cat >>confdefs.h <<\_ACEOF
25044 #define X_DISPLAY_MISSING 1
25045 _ACEOF
25046
25047 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25048 else
25049 if test -n "$x_includes"; then
25050 X_CFLAGS="$X_CFLAGS -I$x_includes"
25051 fi
25052
25053 # It would also be nice to do this for all -L options, not just this one.
25054 if test -n "$x_libraries"; then
25055 X_LIBS="$X_LIBS -L$x_libraries"
25056 # For Solaris; some versions of Sun CC require a space after -R and
25057 # others require no space. Words are not sufficient . . . .
25058 case `(uname -sr) 2>/dev/null` in
25059 "SunOS 5"*)
25060 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25061 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25062 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25063 cat >conftest.$ac_ext <<_ACEOF
25064 /* confdefs.h. */
25065 _ACEOF
25066 cat confdefs.h >>conftest.$ac_ext
25067 cat >>conftest.$ac_ext <<_ACEOF
25068 /* end confdefs.h. */
25069
25070 int
25071 main ()
25072 {
25073
25074 ;
25075 return 0;
25076 }
25077 _ACEOF
25078 rm -f conftest.$ac_objext conftest$ac_exeext
25079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25080 (eval $ac_link) 2>conftest.er1
25081 ac_status=$?
25082 grep -v '^ *+' conftest.er1 >conftest.err
25083 rm -f conftest.er1
25084 cat conftest.err >&5
25085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086 (exit $ac_status); } &&
25087 { ac_try='test -z "$ac_c_werror_flag"
25088 || test ! -s conftest.err'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25091 ac_status=$?
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; } &&
25094 { ac_try='test -s conftest$ac_exeext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25097 ac_status=$?
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25100 ac_R_nospace=yes
25101 else
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.$ac_ext >&5
25104
25105 ac_R_nospace=no
25106 fi
25107 rm -f conftest.err conftest.$ac_objext \
25108 conftest$ac_exeext conftest.$ac_ext
25109 if test $ac_R_nospace = yes; then
25110 echo "$as_me:$LINENO: result: no" >&5
25111 echo "${ECHO_T}no" >&6
25112 X_LIBS="$X_LIBS -R$x_libraries"
25113 else
25114 LIBS="$ac_xsave_LIBS -R $x_libraries"
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121
25122 int
25123 main ()
25124 {
25125
25126 ;
25127 return 0;
25128 }
25129 _ACEOF
25130 rm -f conftest.$ac_objext conftest$ac_exeext
25131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25132 (eval $ac_link) 2>conftest.er1
25133 ac_status=$?
25134 grep -v '^ *+' conftest.er1 >conftest.err
25135 rm -f conftest.er1
25136 cat conftest.err >&5
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); } &&
25139 { ac_try='test -z "$ac_c_werror_flag"
25140 || test ! -s conftest.err'
25141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25142 (eval $ac_try) 2>&5
25143 ac_status=$?
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); }; } &&
25146 { ac_try='test -s conftest$ac_exeext'
25147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148 (eval $ac_try) 2>&5
25149 ac_status=$?
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); }; }; then
25152 ac_R_space=yes
25153 else
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25156
25157 ac_R_space=no
25158 fi
25159 rm -f conftest.err conftest.$ac_objext \
25160 conftest$ac_exeext conftest.$ac_ext
25161 if test $ac_R_space = yes; then
25162 echo "$as_me:$LINENO: result: yes" >&5
25163 echo "${ECHO_T}yes" >&6
25164 X_LIBS="$X_LIBS -R $x_libraries"
25165 else
25166 echo "$as_me:$LINENO: result: neither works" >&5
25167 echo "${ECHO_T}neither works" >&6
25168 fi
25169 fi
25170 LIBS=$ac_xsave_LIBS
25171 esac
25172 fi
25173
25174 # Check for system-dependent libraries X programs must link with.
25175 # Do this before checking for the system-independent R6 libraries
25176 # (-lICE), since we may need -lsocket or whatever for X linking.
25177
25178 if test "$ISC" = yes; then
25179 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25180 else
25181 # Martyn Johnson says this is needed for Ultrix, if the X
25182 # libraries were built with DECnet support. And Karl Berry says
25183 # the Alpha needs dnet_stub (dnet does not exist).
25184 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191
25192 /* Override any gcc2 internal prototype to avoid an error. */
25193 #ifdef __cplusplus
25194 extern "C"
25195 #endif
25196 /* We use char because int might match the return type of a gcc2
25197 builtin and then its argument prototype would still apply. */
25198 char XOpenDisplay ();
25199 int
25200 main ()
25201 {
25202 XOpenDisplay ();
25203 ;
25204 return 0;
25205 }
25206 _ACEOF
25207 rm -f conftest.$ac_objext conftest$ac_exeext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25209 (eval $ac_link) 2>conftest.er1
25210 ac_status=$?
25211 grep -v '^ *+' conftest.er1 >conftest.err
25212 rm -f conftest.er1
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } &&
25216 { ac_try='test -z "$ac_c_werror_flag"
25217 || test ! -s conftest.err'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25220 ac_status=$?
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; } &&
25223 { ac_try='test -s conftest$ac_exeext'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; }; then
25229 :
25230 else
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25233
25234 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25235 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25236 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 else
25239 ac_check_lib_save_LIBS=$LIBS
25240 LIBS="-ldnet $LIBS"
25241 cat >conftest.$ac_ext <<_ACEOF
25242 /* confdefs.h. */
25243 _ACEOF
25244 cat confdefs.h >>conftest.$ac_ext
25245 cat >>conftest.$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25247
25248 /* Override any gcc2 internal prototype to avoid an error. */
25249 #ifdef __cplusplus
25250 extern "C"
25251 #endif
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25254 char dnet_ntoa ();
25255 int
25256 main ()
25257 {
25258 dnet_ntoa ();
25259 ;
25260 return 0;
25261 }
25262 _ACEOF
25263 rm -f conftest.$ac_objext conftest$ac_exeext
25264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25265 (eval $ac_link) 2>conftest.er1
25266 ac_status=$?
25267 grep -v '^ *+' conftest.er1 >conftest.err
25268 rm -f conftest.er1
25269 cat conftest.err >&5
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); } &&
25272 { ac_try='test -z "$ac_c_werror_flag"
25273 || test ! -s conftest.err'
25274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25275 (eval $ac_try) 2>&5
25276 ac_status=$?
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); }; } &&
25279 { ac_try='test -s conftest$ac_exeext'
25280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25281 (eval $ac_try) 2>&5
25282 ac_status=$?
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); }; }; then
25285 ac_cv_lib_dnet_dnet_ntoa=yes
25286 else
25287 echo "$as_me: failed program was:" >&5
25288 sed 's/^/| /' conftest.$ac_ext >&5
25289
25290 ac_cv_lib_dnet_dnet_ntoa=no
25291 fi
25292 rm -f conftest.err conftest.$ac_objext \
25293 conftest$ac_exeext conftest.$ac_ext
25294 LIBS=$ac_check_lib_save_LIBS
25295 fi
25296 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25297 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25298 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25299 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25300 fi
25301
25302 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25303 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25304 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25305 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25307 else
25308 ac_check_lib_save_LIBS=$LIBS
25309 LIBS="-ldnet_stub $LIBS"
25310 cat >conftest.$ac_ext <<_ACEOF
25311 /* confdefs.h. */
25312 _ACEOF
25313 cat confdefs.h >>conftest.$ac_ext
25314 cat >>conftest.$ac_ext <<_ACEOF
25315 /* end confdefs.h. */
25316
25317 /* Override any gcc2 internal prototype to avoid an error. */
25318 #ifdef __cplusplus
25319 extern "C"
25320 #endif
25321 /* We use char because int might match the return type of a gcc2
25322 builtin and then its argument prototype would still apply. */
25323 char dnet_ntoa ();
25324 int
25325 main ()
25326 {
25327 dnet_ntoa ();
25328 ;
25329 return 0;
25330 }
25331 _ACEOF
25332 rm -f conftest.$ac_objext conftest$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334 (eval $ac_link) 2>conftest.er1
25335 ac_status=$?
25336 grep -v '^ *+' conftest.er1 >conftest.err
25337 rm -f conftest.er1
25338 cat conftest.err >&5
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); } &&
25341 { ac_try='test -z "$ac_c_werror_flag"
25342 || test ! -s conftest.err'
25343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344 (eval $ac_try) 2>&5
25345 ac_status=$?
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); }; } &&
25348 { ac_try='test -s conftest$ac_exeext'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25351 ac_status=$?
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25354 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25355 else
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.$ac_ext >&5
25358
25359 ac_cv_lib_dnet_stub_dnet_ntoa=no
25360 fi
25361 rm -f conftest.err conftest.$ac_objext \
25362 conftest$ac_exeext conftest.$ac_ext
25363 LIBS=$ac_check_lib_save_LIBS
25364 fi
25365 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25366 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25367 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25368 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25369 fi
25370
25371 fi
25372 fi
25373 rm -f conftest.err conftest.$ac_objext \
25374 conftest$ac_exeext conftest.$ac_ext
25375 LIBS="$ac_xsave_LIBS"
25376
25377 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25378 # to get the SysV transport functions.
25379 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25380 # needs -lnsl.
25381 # The nsl library prevents programs from opening the X display
25382 # on Irix 5.2, according to T.E. Dickey.
25383 # The functions gethostbyname, getservbyname, and inet_addr are
25384 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25385 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25386 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25387 if test "${ac_cv_func_gethostbyname+set}" = set; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25389 else
25390 cat >conftest.$ac_ext <<_ACEOF
25391 /* confdefs.h. */
25392 _ACEOF
25393 cat confdefs.h >>conftest.$ac_ext
25394 cat >>conftest.$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25396 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25398 #define gethostbyname innocuous_gethostbyname
25399
25400 /* System header to define __stub macros and hopefully few prototypes,
25401 which can conflict with char gethostbyname (); below.
25402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25403 <limits.h> exists even on freestanding compilers. */
25404
25405 #ifdef __STDC__
25406 # include <limits.h>
25407 #else
25408 # include <assert.h>
25409 #endif
25410
25411 #undef gethostbyname
25412
25413 /* Override any gcc2 internal prototype to avoid an error. */
25414 #ifdef __cplusplus
25415 extern "C"
25416 {
25417 #endif
25418 /* We use char because int might match the return type of a gcc2
25419 builtin and then its argument prototype would still apply. */
25420 char gethostbyname ();
25421 /* The GNU C library defines this for functions which it implements
25422 to always fail with ENOSYS. Some functions are actually named
25423 something starting with __ and the normal name is an alias. */
25424 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25425 choke me
25426 #else
25427 char (*f) () = gethostbyname;
25428 #endif
25429 #ifdef __cplusplus
25430 }
25431 #endif
25432
25433 int
25434 main ()
25435 {
25436 return f != gethostbyname;
25437 ;
25438 return 0;
25439 }
25440 _ACEOF
25441 rm -f conftest.$ac_objext conftest$ac_exeext
25442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25443 (eval $ac_link) 2>conftest.er1
25444 ac_status=$?
25445 grep -v '^ *+' conftest.er1 >conftest.err
25446 rm -f conftest.er1
25447 cat conftest.err >&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } &&
25450 { ac_try='test -z "$ac_c_werror_flag"
25451 || test ! -s conftest.err'
25452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453 (eval $ac_try) 2>&5
25454 ac_status=$?
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); }; } &&
25457 { ac_try='test -s conftest$ac_exeext'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25460 ac_status=$?
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; }; then
25463 ac_cv_func_gethostbyname=yes
25464 else
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25467
25468 ac_cv_func_gethostbyname=no
25469 fi
25470 rm -f conftest.err conftest.$ac_objext \
25471 conftest$ac_exeext conftest.$ac_ext
25472 fi
25473 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25474 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25475
25476 if test $ac_cv_func_gethostbyname = no; then
25477 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25478 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25479 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 else
25482 ac_check_lib_save_LIBS=$LIBS
25483 LIBS="-lnsl $LIBS"
25484 cat >conftest.$ac_ext <<_ACEOF
25485 /* confdefs.h. */
25486 _ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25490
25491 /* Override any gcc2 internal prototype to avoid an error. */
25492 #ifdef __cplusplus
25493 extern "C"
25494 #endif
25495 /* We use char because int might match the return type of a gcc2
25496 builtin and then its argument prototype would still apply. */
25497 char gethostbyname ();
25498 int
25499 main ()
25500 {
25501 gethostbyname ();
25502 ;
25503 return 0;
25504 }
25505 _ACEOF
25506 rm -f conftest.$ac_objext conftest$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508 (eval $ac_link) 2>conftest.er1
25509 ac_status=$?
25510 grep -v '^ *+' conftest.er1 >conftest.err
25511 rm -f conftest.er1
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try='test -z "$ac_c_werror_flag"
25516 || test ! -s conftest.err'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25519 ac_status=$?
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; } &&
25522 { ac_try='test -s conftest$ac_exeext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25525 ac_status=$?
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528 ac_cv_lib_nsl_gethostbyname=yes
25529 else
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.$ac_ext >&5
25532
25533 ac_cv_lib_nsl_gethostbyname=no
25534 fi
25535 rm -f conftest.err conftest.$ac_objext \
25536 conftest$ac_exeext conftest.$ac_ext
25537 LIBS=$ac_check_lib_save_LIBS
25538 fi
25539 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25540 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25541 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25542 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25543 fi
25544
25545 if test $ac_cv_lib_nsl_gethostbyname = no; then
25546 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25547 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25548 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25550 else
25551 ac_check_lib_save_LIBS=$LIBS
25552 LIBS="-lbsd $LIBS"
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h. */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25559
25560 /* Override any gcc2 internal prototype to avoid an error. */
25561 #ifdef __cplusplus
25562 extern "C"
25563 #endif
25564 /* We use char because int might match the return type of a gcc2
25565 builtin and then its argument prototype would still apply. */
25566 char gethostbyname ();
25567 int
25568 main ()
25569 {
25570 gethostbyname ();
25571 ;
25572 return 0;
25573 }
25574 _ACEOF
25575 rm -f conftest.$ac_objext conftest$ac_exeext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25577 (eval $ac_link) 2>conftest.er1
25578 ac_status=$?
25579 grep -v '^ *+' conftest.er1 >conftest.err
25580 rm -f conftest.er1
25581 cat conftest.err >&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try='test -z "$ac_c_werror_flag"
25585 || test ! -s conftest.err'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25588 ac_status=$?
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; } &&
25591 { ac_try='test -s conftest$ac_exeext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25594 ac_status=$?
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25597 ac_cv_lib_bsd_gethostbyname=yes
25598 else
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.$ac_ext >&5
25601
25602 ac_cv_lib_bsd_gethostbyname=no
25603 fi
25604 rm -f conftest.err conftest.$ac_objext \
25605 conftest$ac_exeext conftest.$ac_ext
25606 LIBS=$ac_check_lib_save_LIBS
25607 fi
25608 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25609 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25610 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25611 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25612 fi
25613
25614 fi
25615 fi
25616
25617 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25618 # socket/setsockopt and other routines are undefined under SCO ODT
25619 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25620 # on later versions), says Simon Leinen: it contains gethostby*
25621 # variants that don't use the name server (or something). -lsocket
25622 # must be given before -lnsl if both are needed. We assume that
25623 # if connect needs -lnsl, so does gethostbyname.
25624 echo "$as_me:$LINENO: checking for connect" >&5
25625 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25626 if test "${ac_cv_func_connect+set}" = set; then
25627 echo $ECHO_N "(cached) $ECHO_C" >&6
25628 else
25629 cat >conftest.$ac_ext <<_ACEOF
25630 /* confdefs.h. */
25631 _ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25637 #define connect innocuous_connect
25638
25639 /* System header to define __stub macros and hopefully few prototypes,
25640 which can conflict with char connect (); below.
25641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25642 <limits.h> exists even on freestanding compilers. */
25643
25644 #ifdef __STDC__
25645 # include <limits.h>
25646 #else
25647 # include <assert.h>
25648 #endif
25649
25650 #undef connect
25651
25652 /* Override any gcc2 internal prototype to avoid an error. */
25653 #ifdef __cplusplus
25654 extern "C"
25655 {
25656 #endif
25657 /* We use char because int might match the return type of a gcc2
25658 builtin and then its argument prototype would still apply. */
25659 char connect ();
25660 /* The GNU C library defines this for functions which it implements
25661 to always fail with ENOSYS. Some functions are actually named
25662 something starting with __ and the normal name is an alias. */
25663 #if defined (__stub_connect) || defined (__stub___connect)
25664 choke me
25665 #else
25666 char (*f) () = connect;
25667 #endif
25668 #ifdef __cplusplus
25669 }
25670 #endif
25671
25672 int
25673 main ()
25674 {
25675 return f != connect;
25676 ;
25677 return 0;
25678 }
25679 _ACEOF
25680 rm -f conftest.$ac_objext conftest$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25683 ac_status=$?
25684 grep -v '^ *+' conftest.er1 >conftest.err
25685 rm -f conftest.er1
25686 cat conftest.err >&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try='test -z "$ac_c_werror_flag"
25690 || test ! -s conftest.err'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25693 ac_status=$?
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; } &&
25696 { ac_try='test -s conftest$ac_exeext'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; }; then
25702 ac_cv_func_connect=yes
25703 else
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
25707 ac_cv_func_connect=no
25708 fi
25709 rm -f conftest.err conftest.$ac_objext \
25710 conftest$ac_exeext conftest.$ac_ext
25711 fi
25712 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25713 echo "${ECHO_T}$ac_cv_func_connect" >&6
25714
25715 if test $ac_cv_func_connect = no; then
25716 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25717 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25718 if test "${ac_cv_lib_socket_connect+set}" = set; then
25719 echo $ECHO_N "(cached) $ECHO_C" >&6
25720 else
25721 ac_check_lib_save_LIBS=$LIBS
25722 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25723 cat >conftest.$ac_ext <<_ACEOF
25724 /* confdefs.h. */
25725 _ACEOF
25726 cat confdefs.h >>conftest.$ac_ext
25727 cat >>conftest.$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25729
25730 /* Override any gcc2 internal prototype to avoid an error. */
25731 #ifdef __cplusplus
25732 extern "C"
25733 #endif
25734 /* We use char because int might match the return type of a gcc2
25735 builtin and then its argument prototype would still apply. */
25736 char connect ();
25737 int
25738 main ()
25739 {
25740 connect ();
25741 ;
25742 return 0;
25743 }
25744 _ACEOF
25745 rm -f conftest.$ac_objext conftest$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25748 ac_status=$?
25749 grep -v '^ *+' conftest.er1 >conftest.err
25750 rm -f conftest.er1
25751 cat conftest.err >&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25758 ac_status=$?
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25764 ac_status=$?
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 ac_cv_lib_socket_connect=yes
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25771
25772 ac_cv_lib_socket_connect=no
25773 fi
25774 rm -f conftest.err conftest.$ac_objext \
25775 conftest$ac_exeext conftest.$ac_ext
25776 LIBS=$ac_check_lib_save_LIBS
25777 fi
25778 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25779 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25780 if test $ac_cv_lib_socket_connect = yes; then
25781 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25782 fi
25783
25784 fi
25785
25786 # Guillermo Gomez says -lposix is necessary on A/UX.
25787 echo "$as_me:$LINENO: checking for remove" >&5
25788 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25789 if test "${ac_cv_func_remove+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 else
25792 cat >conftest.$ac_ext <<_ACEOF
25793 /* confdefs.h. */
25794 _ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25800 #define remove innocuous_remove
25801
25802 /* System header to define __stub macros and hopefully few prototypes,
25803 which can conflict with char remove (); below.
25804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25805 <limits.h> exists even on freestanding compilers. */
25806
25807 #ifdef __STDC__
25808 # include <limits.h>
25809 #else
25810 # include <assert.h>
25811 #endif
25812
25813 #undef remove
25814
25815 /* Override any gcc2 internal prototype to avoid an error. */
25816 #ifdef __cplusplus
25817 extern "C"
25818 {
25819 #endif
25820 /* We use char because int might match the return type of a gcc2
25821 builtin and then its argument prototype would still apply. */
25822 char remove ();
25823 /* The GNU C library defines this for functions which it implements
25824 to always fail with ENOSYS. Some functions are actually named
25825 something starting with __ and the normal name is an alias. */
25826 #if defined (__stub_remove) || defined (__stub___remove)
25827 choke me
25828 #else
25829 char (*f) () = remove;
25830 #endif
25831 #ifdef __cplusplus
25832 }
25833 #endif
25834
25835 int
25836 main ()
25837 {
25838 return f != remove;
25839 ;
25840 return 0;
25841 }
25842 _ACEOF
25843 rm -f conftest.$ac_objext conftest$ac_exeext
25844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25845 (eval $ac_link) 2>conftest.er1
25846 ac_status=$?
25847 grep -v '^ *+' conftest.er1 >conftest.err
25848 rm -f conftest.er1
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } &&
25852 { ac_try='test -z "$ac_c_werror_flag"
25853 || test ! -s conftest.err'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25856 ac_status=$?
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; } &&
25859 { ac_try='test -s conftest$ac_exeext'
25860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25861 (eval $ac_try) 2>&5
25862 ac_status=$?
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); }; }; then
25865 ac_cv_func_remove=yes
25866 else
25867 echo "$as_me: failed program was:" >&5
25868 sed 's/^/| /' conftest.$ac_ext >&5
25869
25870 ac_cv_func_remove=no
25871 fi
25872 rm -f conftest.err conftest.$ac_objext \
25873 conftest$ac_exeext conftest.$ac_ext
25874 fi
25875 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25876 echo "${ECHO_T}$ac_cv_func_remove" >&6
25877
25878 if test $ac_cv_func_remove = no; then
25879 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25880 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25881 if test "${ac_cv_lib_posix_remove+set}" = set; then
25882 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 else
25884 ac_check_lib_save_LIBS=$LIBS
25885 LIBS="-lposix $LIBS"
25886 cat >conftest.$ac_ext <<_ACEOF
25887 /* confdefs.h. */
25888 _ACEOF
25889 cat confdefs.h >>conftest.$ac_ext
25890 cat >>conftest.$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892
25893 /* Override any gcc2 internal prototype to avoid an error. */
25894 #ifdef __cplusplus
25895 extern "C"
25896 #endif
25897 /* We use char because int might match the return type of a gcc2
25898 builtin and then its argument prototype would still apply. */
25899 char remove ();
25900 int
25901 main ()
25902 {
25903 remove ();
25904 ;
25905 return 0;
25906 }
25907 _ACEOF
25908 rm -f conftest.$ac_objext conftest$ac_exeext
25909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25910 (eval $ac_link) 2>conftest.er1
25911 ac_status=$?
25912 grep -v '^ *+' conftest.er1 >conftest.err
25913 rm -f conftest.er1
25914 cat conftest.err >&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } &&
25917 { ac_try='test -z "$ac_c_werror_flag"
25918 || test ! -s conftest.err'
25919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25920 (eval $ac_try) 2>&5
25921 ac_status=$?
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); }; } &&
25924 { ac_try='test -s conftest$ac_exeext'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25927 ac_status=$?
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; }; then
25930 ac_cv_lib_posix_remove=yes
25931 else
25932 echo "$as_me: failed program was:" >&5
25933 sed 's/^/| /' conftest.$ac_ext >&5
25934
25935 ac_cv_lib_posix_remove=no
25936 fi
25937 rm -f conftest.err conftest.$ac_objext \
25938 conftest$ac_exeext conftest.$ac_ext
25939 LIBS=$ac_check_lib_save_LIBS
25940 fi
25941 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25942 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25943 if test $ac_cv_lib_posix_remove = yes; then
25944 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25945 fi
25946
25947 fi
25948
25949 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25950 echo "$as_me:$LINENO: checking for shmat" >&5
25951 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25952 if test "${ac_cv_func_shmat+set}" = set; then
25953 echo $ECHO_N "(cached) $ECHO_C" >&6
25954 else
25955 cat >conftest.$ac_ext <<_ACEOF
25956 /* confdefs.h. */
25957 _ACEOF
25958 cat confdefs.h >>conftest.$ac_ext
25959 cat >>conftest.$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25963 #define shmat innocuous_shmat
25964
25965 /* System header to define __stub macros and hopefully few prototypes,
25966 which can conflict with char shmat (); below.
25967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25968 <limits.h> exists even on freestanding compilers. */
25969
25970 #ifdef __STDC__
25971 # include <limits.h>
25972 #else
25973 # include <assert.h>
25974 #endif
25975
25976 #undef shmat
25977
25978 /* Override any gcc2 internal prototype to avoid an error. */
25979 #ifdef __cplusplus
25980 extern "C"
25981 {
25982 #endif
25983 /* We use char because int might match the return type of a gcc2
25984 builtin and then its argument prototype would still apply. */
25985 char shmat ();
25986 /* The GNU C library defines this for functions which it implements
25987 to always fail with ENOSYS. Some functions are actually named
25988 something starting with __ and the normal name is an alias. */
25989 #if defined (__stub_shmat) || defined (__stub___shmat)
25990 choke me
25991 #else
25992 char (*f) () = shmat;
25993 #endif
25994 #ifdef __cplusplus
25995 }
25996 #endif
25997
25998 int
25999 main ()
26000 {
26001 return f != shmat;
26002 ;
26003 return 0;
26004 }
26005 _ACEOF
26006 rm -f conftest.$ac_objext conftest$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26009 ac_status=$?
26010 grep -v '^ *+' conftest.er1 >conftest.err
26011 rm -f conftest.er1
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try='test -z "$ac_c_werror_flag"
26016 || test ! -s conftest.err'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26019 ac_status=$?
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; } &&
26022 { ac_try='test -s conftest$ac_exeext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_func_shmat=yes
26029 else
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.$ac_ext >&5
26032
26033 ac_cv_func_shmat=no
26034 fi
26035 rm -f conftest.err conftest.$ac_objext \
26036 conftest$ac_exeext conftest.$ac_ext
26037 fi
26038 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26039 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26040
26041 if test $ac_cv_func_shmat = no; then
26042 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26043 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26044 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047 ac_check_lib_save_LIBS=$LIBS
26048 LIBS="-lipc $LIBS"
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055
26056 /* Override any gcc2 internal prototype to avoid an error. */
26057 #ifdef __cplusplus
26058 extern "C"
26059 #endif
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char shmat ();
26063 int
26064 main ()
26065 {
26066 shmat ();
26067 ;
26068 return 0;
26069 }
26070 _ACEOF
26071 rm -f conftest.$ac_objext conftest$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26074 ac_status=$?
26075 grep -v '^ *+' conftest.er1 >conftest.err
26076 rm -f conftest.er1
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try='test -z "$ac_c_werror_flag"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26084 ac_status=$?
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26090 ac_status=$?
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 ac_cv_lib_ipc_shmat=yes
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26097
26098 ac_cv_lib_ipc_shmat=no
26099 fi
26100 rm -f conftest.err conftest.$ac_objext \
26101 conftest$ac_exeext conftest.$ac_ext
26102 LIBS=$ac_check_lib_save_LIBS
26103 fi
26104 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26105 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26106 if test $ac_cv_lib_ipc_shmat = yes; then
26107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26108 fi
26109
26110 fi
26111 fi
26112
26113 # Check for libraries that X11R6 Xt/Xaw programs need.
26114 ac_save_LDFLAGS=$LDFLAGS
26115 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26116 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26117 # check for ICE first), but we must link in the order -lSM -lICE or
26118 # we get undefined symbols. So assume we have SM if we have ICE.
26119 # These have to be linked with before -lX11, unlike the other
26120 # libraries we check for below, so use a different variable.
26121 # John Interrante, Karl Berry
26122 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26123 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26124 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26126 else
26127 ac_check_lib_save_LIBS=$LIBS
26128 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26129 cat >conftest.$ac_ext <<_ACEOF
26130 /* confdefs.h. */
26131 _ACEOF
26132 cat confdefs.h >>conftest.$ac_ext
26133 cat >>conftest.$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26135
26136 /* Override any gcc2 internal prototype to avoid an error. */
26137 #ifdef __cplusplus
26138 extern "C"
26139 #endif
26140 /* We use char because int might match the return type of a gcc2
26141 builtin and then its argument prototype would still apply. */
26142 char IceConnectionNumber ();
26143 int
26144 main ()
26145 {
26146 IceConnectionNumber ();
26147 ;
26148 return 0;
26149 }
26150 _ACEOF
26151 rm -f conftest.$ac_objext conftest$ac_exeext
26152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26153 (eval $ac_link) 2>conftest.er1
26154 ac_status=$?
26155 grep -v '^ *+' conftest.er1 >conftest.err
26156 rm -f conftest.er1
26157 cat conftest.err >&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } &&
26160 { ac_try='test -z "$ac_c_werror_flag"
26161 || test ! -s conftest.err'
26162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26163 (eval $ac_try) 2>&5
26164 ac_status=$?
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); }; } &&
26167 { ac_try='test -s conftest$ac_exeext'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26170 ac_status=$?
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; }; then
26173 ac_cv_lib_ICE_IceConnectionNumber=yes
26174 else
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.$ac_ext >&5
26177
26178 ac_cv_lib_ICE_IceConnectionNumber=no
26179 fi
26180 rm -f conftest.err conftest.$ac_objext \
26181 conftest$ac_exeext conftest.$ac_ext
26182 LIBS=$ac_check_lib_save_LIBS
26183 fi
26184 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26185 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26186 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26187 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26188 fi
26189
26190 LDFLAGS=$ac_save_LDFLAGS
26191
26192 fi
26193
26194
26195 if test "$no_x" = "yes"; then
26196 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26197 echo "$as_me: error: X11 not found" >&2;}
26198 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26199 fi
26200
26201 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26202 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26203 AFMINSTALL=afminstall
26204 COMPILED_X_PROGRAM=0
26205
26206 fi
26207
26208 if test "$wxUSE_X11" = 1; then
26209 if test "$wxUSE_NANOX" = "yes"; then
26210 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26211 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26212 if test "x$MICROWIN" = x ; then
26213 echo "$as_me:$LINENO: result: not found" >&5
26214 echo "${ECHO_T}not found" >&6
26215 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26216 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26217 { (exit 1); exit 1; }; }
26218 else
26219 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26220 echo "${ECHO_T}$MICROWIN" >&6
26221 cat >>confdefs.h <<\_ACEOF
26222 #define wxUSE_NANOX 1
26223 _ACEOF
26224
26225 fi
26226 fi
26227
26228 if test "$wxUSE_UNICODE" = "yes"; then
26229
26230 succeeded=no
26231
26232 if test -z "$PKG_CONFIG"; then
26233 # Extract the first word of "pkg-config", so it can be a program name with args.
26234 set dummy pkg-config; ac_word=$2
26235 echo "$as_me:$LINENO: checking for $ac_word" >&5
26236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26239 else
26240 case $PKG_CONFIG in
26241 [\\/]* | ?:[\\/]*)
26242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26243 ;;
26244 *)
26245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26246 for as_dir in $PATH
26247 do
26248 IFS=$as_save_IFS
26249 test -z "$as_dir" && as_dir=.
26250 for ac_exec_ext in '' $ac_executable_extensions; do
26251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26254 break 2
26255 fi
26256 done
26257 done
26258
26259 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26260 ;;
26261 esac
26262 fi
26263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26264
26265 if test -n "$PKG_CONFIG"; then
26266 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26267 echo "${ECHO_T}$PKG_CONFIG" >&6
26268 else
26269 echo "$as_me:$LINENO: result: no" >&5
26270 echo "${ECHO_T}no" >&6
26271 fi
26272
26273 fi
26274
26275 if test "$PKG_CONFIG" = "no" ; then
26276 echo "*** The pkg-config script could not be found. Make sure it is"
26277 echo "*** in your path, or set the PKG_CONFIG environment variable"
26278 echo "*** to the full path to pkg-config."
26279 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26280 else
26281 PKG_CONFIG_MIN_VERSION=0.9.0
26282 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26283 echo "$as_me:$LINENO: checking for pangox" >&5
26284 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
26285
26286 if $PKG_CONFIG --exists "pangox" ; then
26287 echo "$as_me:$LINENO: result: yes" >&5
26288 echo "${ECHO_T}yes" >&6
26289 succeeded=yes
26290
26291 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
26292 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
26293 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
26294 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
26295 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
26296
26297 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
26298 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
26299 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
26300 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
26301 echo "${ECHO_T}$PANGOX_LIBS" >&6
26302 else
26303 PANGOX_CFLAGS=""
26304 PANGOX_LIBS=""
26305 ## If we have a custom action on failure, don't print errors, but
26306 ## do set a variable so people can do so.
26307 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
26308
26309 fi
26310
26311
26312
26313 else
26314 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26315 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26316 fi
26317 fi
26318
26319 if test $succeeded = yes; then
26320
26321 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
26322 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
26323
26324 else
26325
26326 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26327 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26328 { (exit 1); exit 1; }; }
26329
26330
26331 fi
26332
26333
26334 succeeded=no
26335
26336 if test -z "$PKG_CONFIG"; then
26337 # Extract the first word of "pkg-config", so it can be a program name with args.
26338 set dummy pkg-config; ac_word=$2
26339 echo "$as_me:$LINENO: checking for $ac_word" >&5
26340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26343 else
26344 case $PKG_CONFIG in
26345 [\\/]* | ?:[\\/]*)
26346 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26347 ;;
26348 *)
26349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26350 for as_dir in $PATH
26351 do
26352 IFS=$as_save_IFS
26353 test -z "$as_dir" && as_dir=.
26354 for ac_exec_ext in '' $ac_executable_extensions; do
26355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26356 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26358 break 2
26359 fi
26360 done
26361 done
26362
26363 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26364 ;;
26365 esac
26366 fi
26367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26368
26369 if test -n "$PKG_CONFIG"; then
26370 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26371 echo "${ECHO_T}$PKG_CONFIG" >&6
26372 else
26373 echo "$as_me:$LINENO: result: no" >&5
26374 echo "${ECHO_T}no" >&6
26375 fi
26376
26377 fi
26378
26379 if test "$PKG_CONFIG" = "no" ; then
26380 echo "*** The pkg-config script could not be found. Make sure it is"
26381 echo "*** in your path, or set the PKG_CONFIG environment variable"
26382 echo "*** to the full path to pkg-config."
26383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26384 else
26385 PKG_CONFIG_MIN_VERSION=0.9.0
26386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26387 echo "$as_me:$LINENO: checking for pangoft2" >&5
26388 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26389
26390 if $PKG_CONFIG --exists "pangoft2" ; then
26391 echo "$as_me:$LINENO: result: yes" >&5
26392 echo "${ECHO_T}yes" >&6
26393 succeeded=yes
26394
26395 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26396 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26397 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
26398 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26399 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26400
26401 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26402 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26403 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
26404 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26405 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26406 else
26407 PANGOFT2_CFLAGS=""
26408 PANGOFT2_LIBS=""
26409 ## If we have a custom action on failure, don't print errors, but
26410 ## do set a variable so people can do so.
26411 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26412
26413 fi
26414
26415
26416
26417 else
26418 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26419 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26420 fi
26421 fi
26422
26423 if test $succeeded = yes; then
26424
26425 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
26426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26427
26428 else
26429
26430 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26431 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26432 wxUSE_PRINTING_ARCHITECTURE="no"
26433
26434
26435 fi
26436
26437
26438 succeeded=no
26439
26440 if test -z "$PKG_CONFIG"; then
26441 # Extract the first word of "pkg-config", so it can be a program name with args.
26442 set dummy pkg-config; ac_word=$2
26443 echo "$as_me:$LINENO: checking for $ac_word" >&5
26444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26445 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26447 else
26448 case $PKG_CONFIG in
26449 [\\/]* | ?:[\\/]*)
26450 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26451 ;;
26452 *)
26453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26454 for as_dir in $PATH
26455 do
26456 IFS=$as_save_IFS
26457 test -z "$as_dir" && as_dir=.
26458 for ac_exec_ext in '' $ac_executable_extensions; do
26459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26460 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26462 break 2
26463 fi
26464 done
26465 done
26466
26467 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26468 ;;
26469 esac
26470 fi
26471 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26472
26473 if test -n "$PKG_CONFIG"; then
26474 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26475 echo "${ECHO_T}$PKG_CONFIG" >&6
26476 else
26477 echo "$as_me:$LINENO: result: no" >&5
26478 echo "${ECHO_T}no" >&6
26479 fi
26480
26481 fi
26482
26483 if test "$PKG_CONFIG" = "no" ; then
26484 echo "*** The pkg-config script could not be found. Make sure it is"
26485 echo "*** in your path, or set the PKG_CONFIG environment variable"
26486 echo "*** to the full path to pkg-config."
26487 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26488 else
26489 PKG_CONFIG_MIN_VERSION=0.9.0
26490 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26491 echo "$as_me:$LINENO: checking for pangoxft" >&5
26492 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26493
26494 if $PKG_CONFIG --exists "pangoxft" ; then
26495 echo "$as_me:$LINENO: result: yes" >&5
26496 echo "${ECHO_T}yes" >&6
26497 succeeded=yes
26498
26499 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26500 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26501 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
26502 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26503 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26504
26505 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26506 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26507 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
26508 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26509 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26510 else
26511 PANGOXFT_CFLAGS=""
26512 PANGOXFT_LIBS=""
26513 ## If we have a custom action on failure, don't print errors, but
26514 ## do set a variable so people can do so.
26515 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26516
26517 fi
26518
26519
26520
26521 else
26522 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26523 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26524 fi
26525 fi
26526
26527 if test $succeeded = yes; then
26528
26529 cat >>confdefs.h <<\_ACEOF
26530 #define HAVE_PANGO_XFT 1
26531 _ACEOF
26532
26533 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
26534 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26535
26536 else
26537
26538 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26539 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26540
26541
26542 fi
26543
26544 save_CFLAGS="$CFLAGS"
26545 save_LIBS="$LIBS"
26546 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
26547 LIBS="$LIBS $PANGOX_LIBS"
26548
26549 for ac_func in pango_font_family_is_monospace
26550 do
26551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26552 echo "$as_me:$LINENO: checking for $ac_func" >&5
26553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26554 if eval "test \"\${$as_ac_var+set}\" = set"; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 else
26557 cat >conftest.$ac_ext <<_ACEOF
26558 /* confdefs.h. */
26559 _ACEOF
26560 cat confdefs.h >>conftest.$ac_ext
26561 cat >>conftest.$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26565 #define $ac_func innocuous_$ac_func
26566
26567 /* System header to define __stub macros and hopefully few prototypes,
26568 which can conflict with char $ac_func (); below.
26569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26570 <limits.h> exists even on freestanding compilers. */
26571
26572 #ifdef __STDC__
26573 # include <limits.h>
26574 #else
26575 # include <assert.h>
26576 #endif
26577
26578 #undef $ac_func
26579
26580 /* Override any gcc2 internal prototype to avoid an error. */
26581 #ifdef __cplusplus
26582 extern "C"
26583 {
26584 #endif
26585 /* We use char because int might match the return type of a gcc2
26586 builtin and then its argument prototype would still apply. */
26587 char $ac_func ();
26588 /* The GNU C library defines this for functions which it implements
26589 to always fail with ENOSYS. Some functions are actually named
26590 something starting with __ and the normal name is an alias. */
26591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26592 choke me
26593 #else
26594 char (*f) () = $ac_func;
26595 #endif
26596 #ifdef __cplusplus
26597 }
26598 #endif
26599
26600 int
26601 main ()
26602 {
26603 return f != $ac_func;
26604 ;
26605 return 0;
26606 }
26607 _ACEOF
26608 rm -f conftest.$ac_objext conftest$ac_exeext
26609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26610 (eval $ac_link) 2>conftest.er1
26611 ac_status=$?
26612 grep -v '^ *+' conftest.er1 >conftest.err
26613 rm -f conftest.er1
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } &&
26617 { ac_try='test -z "$ac_c_werror_flag"
26618 || test ! -s conftest.err'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; } &&
26624 { ac_try='test -s conftest$ac_exeext'
26625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26626 (eval $ac_try) 2>&5
26627 ac_status=$?
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); }; }; then
26630 eval "$as_ac_var=yes"
26631 else
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.$ac_ext >&5
26634
26635 eval "$as_ac_var=no"
26636 fi
26637 rm -f conftest.err conftest.$ac_objext \
26638 conftest$ac_exeext conftest.$ac_ext
26639 fi
26640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26642 if test `eval echo '${'$as_ac_var'}'` = yes; then
26643 cat >>confdefs.h <<_ACEOF
26644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26645 _ACEOF
26646
26647 fi
26648 done
26649
26650 CFLAGS="$save_CFLAGS"
26651 LIBS="$save_LIBS"
26652 fi
26653
26654 wxUSE_UNIVERSAL="yes"
26655
26656 if test "$wxUSE_NANOX" = "yes"; then
26657 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26658 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"
26659 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26660 else
26661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26662 fi
26663
26664 TOOLKIT=X11
26665 GUIDIST=X11_DIST
26666 fi
26667
26668 if test "$wxUSE_MOTIF" = 1; then
26669 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26670 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26671
26672 ac_find_includes=
26673 for ac_dir in $SEARCH_INCLUDE /usr/include;
26674 do
26675 if test -f "$ac_dir/Xm/Xm.h"; then
26676 ac_find_includes=$ac_dir
26677 break
26678 fi
26679 done
26680
26681 if test "$ac_find_includes" != "" ; then
26682 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26683 echo "${ECHO_T}found in $ac_find_includes" >&6
26684
26685 if test "x$ac_find_includes" = "x/usr/include"; then
26686 ac_path_to_include=""
26687 else
26688 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26689 result=$?
26690 if test $result = 0; then
26691 ac_path_to_include=""
26692 else
26693 ac_path_to_include=" -I$ac_find_includes"
26694 fi
26695 fi
26696
26697 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26698 else
26699 cat >conftest.$ac_ext <<_ACEOF
26700 /* confdefs.h. */
26701 _ACEOF
26702 cat confdefs.h >>conftest.$ac_ext
26703 cat >>conftest.$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26705
26706 #include <Xm/Xm.h>
26707
26708 int
26709 main ()
26710 {
26711
26712 int version;
26713 version = xmUseVersion;
26714
26715 ;
26716 return 0;
26717 }
26718 _ACEOF
26719 rm -f conftest.$ac_objext
26720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26721 (eval $ac_compile) 2>conftest.er1
26722 ac_status=$?
26723 grep -v '^ *+' conftest.er1 >conftest.err
26724 rm -f conftest.er1
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } &&
26728 { ac_try='test -z "$ac_c_werror_flag"
26729 || test ! -s conftest.err'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; } &&
26735 { ac_try='test -s conftest.$ac_objext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26738 ac_status=$?
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26741
26742 echo "$as_me:$LINENO: result: found in default search path" >&5
26743 echo "${ECHO_T}found in default search path" >&6
26744 COMPILED_X_PROGRAM=1
26745
26746 else
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.$ac_ext >&5
26749
26750
26751 echo "$as_me:$LINENO: result: no" >&5
26752 echo "${ECHO_T}no" >&6
26753 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26754 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26755 { (exit 1); exit 1; }; }
26756
26757
26758 fi
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26760 fi
26761
26762 if test "$COMPILED_X_PROGRAM" = 0; then
26763 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26764 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26765
26766 ac_find_libraries=
26767 for ac_dir in $SEARCH_LIB /usr/lib;
26768 do
26769 for ac_extension in a so sl dylib; do
26770 if test -f "$ac_dir/libXm.$ac_extension"; then
26771 ac_find_libraries=$ac_dir
26772 break 2
26773 fi
26774 done
26775 done
26776
26777 if test "$ac_find_libraries" != "" ; then
26778 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26779 echo "${ECHO_T}found at $ac_find_libraries" >&6
26780
26781
26782 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26783 result=$?
26784 if test $result = 0; then
26785 ac_path_to_link=""
26786 else
26787 ac_path_to_link=" -L$ac_find_libraries"
26788 fi
26789
26790 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26791 else
26792 save_CFLAGS=$CFLAGS
26793 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26794
26795 cat >conftest.$ac_ext <<_ACEOF
26796 /* confdefs.h. */
26797 _ACEOF
26798 cat confdefs.h >>conftest.$ac_ext
26799 cat >>conftest.$ac_ext <<_ACEOF
26800 /* end confdefs.h. */
26801
26802 #include <Xm/Xm.h>
26803
26804 int
26805 main ()
26806 {
26807
26808 int version;
26809 version = xmUseVersion;
26810
26811 ;
26812 return 0;
26813 }
26814 _ACEOF
26815 rm -f conftest.$ac_objext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26817 (eval $ac_compile) 2>conftest.er1
26818 ac_status=$?
26819 grep -v '^ *+' conftest.er1 >conftest.err
26820 rm -f conftest.er1
26821 cat conftest.err >&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try='test -z "$ac_c_werror_flag"
26825 || test ! -s conftest.err'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26828 ac_status=$?
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; } &&
26831 { ac_try='test -s conftest.$ac_objext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26834 ac_status=$?
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26837
26838 echo "$as_me:$LINENO: result: found in default search path" >&5
26839 echo "${ECHO_T}found in default search path" >&6
26840 COMPILED_X_PROGRAM=1
26841
26842 else
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26845
26846
26847 echo "$as_me:$LINENO: result: no" >&5
26848 echo "${ECHO_T}no" >&6
26849 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26850 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26851 { (exit 1); exit 1; }; }
26852
26853
26854 fi
26855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26856
26857 CFLAGS=$save_CFLAGS
26858 fi
26859 fi
26860
26861 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26862 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26863 libp_link=""
26864 libsm_ice_link=""
26865 libs_found=0
26866 for libp in "" " -lXp"; do
26867 if test "$libs_found" = "0"; then
26868 for libsm_ice in "" " -lSM -lICE"; do
26869 if test "$libs_found" = "0"; then
26870 save_LIBS="$LIBS"
26871 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26872 save_CFLAGS=$CFLAGS
26873 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26874
26875 cat >conftest.$ac_ext <<_ACEOF
26876 /* confdefs.h. */
26877 _ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26881
26882 #include <Xm/Xm.h>
26883 #include <Xm/List.h>
26884
26885 int
26886 main ()
26887 {
26888
26889 XmString string = NULL;
26890 Widget w = NULL;
26891 int position = 0;
26892 XmListAddItem(w, string, position);
26893
26894 ;
26895 return 0;
26896 }
26897 _ACEOF
26898 rm -f conftest.$ac_objext conftest$ac_exeext
26899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26900 (eval $ac_link) 2>conftest.er1
26901 ac_status=$?
26902 grep -v '^ *+' conftest.er1 >conftest.err
26903 rm -f conftest.er1
26904 cat conftest.err >&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } &&
26907 { ac_try='test -z "$ac_c_werror_flag"
26908 || test ! -s conftest.err'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26911 ac_status=$?
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; } &&
26914 { ac_try='test -s conftest$ac_exeext'
26915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26916 (eval $ac_try) 2>&5
26917 ac_status=$?
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); }; }; then
26920
26921 libp_link="$libp"
26922 libsm_ice_link="$libsm_ice"
26923 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26924 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26925 libs_found=1
26926
26927 else
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.$ac_ext >&5
26930
26931
26932
26933 fi
26934 rm -f conftest.err conftest.$ac_objext \
26935 conftest$ac_exeext conftest.$ac_ext
26936
26937 LIBS="$save_LIBS"
26938 CFLAGS=$save_CFLAGS
26939 fi
26940 done
26941 fi
26942 done
26943
26944 if test "$libs_found" = "0"; then
26945 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26946 echo "${ECHO_T}can't find the right libraries" >&6
26947 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26948 echo "$as_me: error: can't link a simple motif program" >&2;}
26949 { (exit 1); exit 1; }; }
26950 fi
26951
26952 save_CFLAGS=$CFLAGS
26953 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26954 echo "$as_me:$LINENO: checking for Motif 2" >&5
26955 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26956 cat >conftest.$ac_ext <<_ACEOF
26957 /* confdefs.h. */
26958 _ACEOF
26959 cat confdefs.h >>conftest.$ac_ext
26960 cat >>conftest.$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26962
26963 #include <Xm/Xm.h>
26964
26965 int
26966 main ()
26967 {
26968
26969 #if XmVersion < 2000
26970 #error "Not Motif 2"
26971 #endif
26972
26973 ;
26974 return 0;
26975 }
26976 _ACEOF
26977 rm -f conftest.$ac_objext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26979 (eval $ac_compile) 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try='test -s conftest.$ac_objext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999
27000 cat >>confdefs.h <<\_ACEOF
27001 #define __WXMOTIF20__ 1
27002 _ACEOF
27003
27004 echo "$as_me:$LINENO: result: found" >&5
27005 echo "${ECHO_T}found" >&6
27006
27007 else
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011
27012 cat >>confdefs.h <<\_ACEOF
27013 #define __WXMOTIF20__ 0
27014 _ACEOF
27015
27016 echo "$as_me:$LINENO: result: not found" >&5
27017 echo "${ECHO_T}not found" >&6
27018
27019 fi
27020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27021 CFLAGS=$save_CFLAGS
27022
27023 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27024 TOOLKIT=MOTIF
27025 GUIDIST=MOTIF_DIST
27026 fi
27027
27028 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27029 if test "$wxUSE_LIBXPM" = "sys"; then
27030 echo "$as_me:$LINENO: checking for Xpm library" >&5
27031 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27032
27033 ac_find_libraries=
27034 for ac_dir in $SEARCH_LIB /usr/lib;
27035 do
27036 for ac_extension in a so sl dylib; do
27037 if test -f "$ac_dir/libXpm.$ac_extension"; then
27038 ac_find_libraries=$ac_dir
27039 break 2
27040 fi
27041 done
27042 done
27043
27044 if test "$ac_find_libraries" != "" ; then
27045
27046 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27047 result=$?
27048 if test $result = 0; then
27049 ac_path_to_link=""
27050 else
27051 ac_path_to_link=" -L$ac_find_libraries"
27052 fi
27053
27054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27055 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27056 echo "${ECHO_T}found at $ac_find_libraries" >&6
27057
27058 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27059 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27060 if test "${wx_cv_x11_xpm_h+set}" = set; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6
27062 else
27063
27064 save_CFLAGS=$CFLAGS
27065 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27066
27067 cat >conftest.$ac_ext <<_ACEOF
27068 /* confdefs.h. */
27069 _ACEOF
27070 cat confdefs.h >>conftest.$ac_ext
27071 cat >>conftest.$ac_ext <<_ACEOF
27072 /* end confdefs.h. */
27073
27074 #include <X11/xpm.h>
27075
27076 int
27077 main ()
27078 {
27079
27080 int version;
27081 version = XpmLibraryVersion();
27082
27083 ;
27084 return 0;
27085 }
27086 _ACEOF
27087 rm -f conftest.$ac_objext
27088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27089 (eval $ac_compile) 2>conftest.er1
27090 ac_status=$?
27091 grep -v '^ *+' conftest.er1 >conftest.err
27092 rm -f conftest.er1
27093 cat conftest.err >&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } &&
27096 { ac_try='test -z "$ac_c_werror_flag"
27097 || test ! -s conftest.err'
27098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27099 (eval $ac_try) 2>&5
27100 ac_status=$?
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); }; } &&
27103 { ac_try='test -s conftest.$ac_objext'
27104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105 (eval $ac_try) 2>&5
27106 ac_status=$?
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); }; }; then
27109 wx_cv_x11_xpm_h=yes
27110 else
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.$ac_ext >&5
27113
27114 wx_cv_x11_xpm_h=no
27115
27116 fi
27117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27118
27119 CFLAGS=$save_CFLAGS
27120
27121
27122 fi
27123 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27124 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27125
27126 if test $wx_cv_x11_xpm_h = "yes"; then
27127 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
27128 cat >>confdefs.h <<\_ACEOF
27129 #define wxHAVE_LIB_XPM 1
27130 _ACEOF
27131
27132 else
27133 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27134 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27135 fi
27136 fi
27137
27138 fi
27139
27140 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27141 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27142 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27143 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 else
27145 ac_check_lib_save_LIBS=$LIBS
27146 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27147 cat >conftest.$ac_ext <<_ACEOF
27148 /* confdefs.h. */
27149 _ACEOF
27150 cat confdefs.h >>conftest.$ac_ext
27151 cat >>conftest.$ac_ext <<_ACEOF
27152 /* end confdefs.h. */
27153
27154 /* Override any gcc2 internal prototype to avoid an error. */
27155 #ifdef __cplusplus
27156 extern "C"
27157 #endif
27158 /* We use char because int might match the return type of a gcc2
27159 builtin and then its argument prototype would still apply. */
27160 char XShapeQueryExtension ();
27161 int
27162 main ()
27163 {
27164 XShapeQueryExtension ();
27165 ;
27166 return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest.$ac_objext conftest$ac_exeext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27171 (eval $ac_link) 2>conftest.er1
27172 ac_status=$?
27173 grep -v '^ *+' conftest.er1 >conftest.err
27174 rm -f conftest.er1
27175 cat conftest.err >&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try='test -z "$ac_c_werror_flag"
27179 || test ! -s conftest.err'
27180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27181 (eval $ac_try) 2>&5
27182 ac_status=$?
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; } &&
27185 { ac_try='test -s conftest$ac_exeext'
27186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27187 (eval $ac_try) 2>&5
27188 ac_status=$?
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); }; }; then
27191 ac_cv_lib_Xext_XShapeQueryExtension=yes
27192 else
27193 echo "$as_me: failed program was:" >&5
27194 sed 's/^/| /' conftest.$ac_ext >&5
27195
27196 ac_cv_lib_Xext_XShapeQueryExtension=no
27197 fi
27198 rm -f conftest.err conftest.$ac_objext \
27199 conftest$ac_exeext conftest.$ac_ext
27200 LIBS=$ac_check_lib_save_LIBS
27201 fi
27202 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27203 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27204 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27205
27206 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27207 wxHAVE_XEXT_LIB=1
27208
27209 fi
27210
27211
27212 if test "$wxHAVE_XEXT_LIB" = 1; then
27213 save_CFLAGS="$CFLAGS"
27214 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27215
27216 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27217 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27218 cat >conftest.$ac_ext <<_ACEOF
27219 /* confdefs.h. */
27220 _ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224
27225 #include <X11/Xlib.h>
27226 #include <X11/extensions/shape.h>
27227
27228 int
27229 main ()
27230 {
27231
27232 int dummy1, dummy2;
27233 XShapeQueryExtension((Display*)NULL,
27234 (int*)NULL, (int*)NULL);
27235
27236 ;
27237 return 0;
27238 }
27239 _ACEOF
27240 rm -f conftest.$ac_objext
27241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27242 (eval $ac_compile) 2>conftest.er1
27243 ac_status=$?
27244 grep -v '^ *+' conftest.er1 >conftest.err
27245 rm -f conftest.er1
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } &&
27249 { ac_try='test -z "$ac_c_werror_flag"
27250 || test ! -s conftest.err'
27251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 (eval $ac_try) 2>&5
27253 ac_status=$?
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); }; } &&
27256 { ac_try='test -s conftest.$ac_objext'
27257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27258 (eval $ac_try) 2>&5
27259 ac_status=$?
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; }; then
27262
27263 cat >>confdefs.h <<\_ACEOF
27264 #define HAVE_XSHAPE 1
27265 _ACEOF
27266
27267 echo "$as_me:$LINENO: result: found" >&5
27268 echo "${ECHO_T}found" >&6
27269
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274
27275 echo "$as_me:$LINENO: result: not found" >&5
27276 echo "${ECHO_T}not found" >&6
27277
27278 fi
27279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27280 CFLAGS="$save_CFLAGS"
27281
27282 fi
27283 fi
27284
27285 if test "$wxUSE_MAC" = 1; then
27286 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27287 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27288 if test "$GCC" = yes; then
27289 echo "$as_me:$LINENO: result: gcc" >&5
27290 echo "${ECHO_T}gcc" >&6
27291 CPPFLAGS_PASCAL="-fpascal-strings"
27292 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27293 echo "$as_me:$LINENO: result: xlc" >&5
27294 echo "${ECHO_T}xlc" >&6
27295 CPPFLAGS_PASCAL="-qmacpstr"
27296 else
27297 echo "$as_me:$LINENO: result: none" >&5
27298 echo "${ECHO_T}none" >&6
27299 fi
27300
27301 if test "x$wxUSE_UNIX" = "xyes"; then
27302 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27303 else
27304 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
27305 fi
27306
27307 TOOLKIT=MAC
27308 GUIDIST=MACX_DIST
27309 WXBASEPORT="_carbon"
27310 fi
27311
27312 if test "$wxUSE_COCOA" = 1; then
27313 TOOLKIT=COCOA
27314 GUIDIST=COCOA_DIST
27315 fi
27316
27317 if test "$wxUSE_PM" = 1; then
27318 TOOLKIT=PM
27319 GUIDIST=PM_DIST
27320 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27321 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27322 if test "${wx_cv_spbcdata+set}" = set; then
27323 echo $ECHO_N "(cached) $ECHO_C" >&6
27324 else
27325
27326 cat >conftest.$ac_ext <<_ACEOF
27327 /* confdefs.h. */
27328 _ACEOF
27329 cat confdefs.h >>conftest.$ac_ext
27330 cat >>conftest.$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27332
27333 #define INCL_PM
27334 #include <os2.h>
27335
27336 int
27337 main ()
27338 {
27339
27340 SPBCDATA test;
27341
27342 ;
27343 return 0;
27344 }
27345 _ACEOF
27346 rm -f conftest.$ac_objext
27347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27348 (eval $ac_compile) 2>conftest.er1
27349 ac_status=$?
27350 grep -v '^ *+' conftest.er1 >conftest.err
27351 rm -f conftest.er1
27352 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try='test -z "$ac_c_werror_flag"
27356 || test ! -s conftest.err'
27357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27358 (eval $ac_try) 2>&5
27359 ac_status=$?
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); }; } &&
27362 { ac_try='test -s conftest.$ac_objext'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27365 ac_status=$?
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27368 wx_cv_spbcdata=yes
27369 else
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27372
27373 wx_cv_spbcdata=no
27374
27375 fi
27376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27377
27378
27379 fi
27380 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27381 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27382
27383 if test $wx_cv_spbcdata = "yes"; then
27384 cat >>confdefs.h <<\_ACEOF
27385 #define HAVE_SPBCDATA 1
27386 _ACEOF
27387
27388 fi
27389 fi
27390
27391 if test "$TOOLKIT" = "PM" ; then
27392 TOOLKIT_DIR="os2"
27393 else
27394 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27395 fi
27396
27397 if test "$wxUSE_UNIVERSAL" = "yes"; then
27398 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27399 WIDGET_SET=univ
27400 fi
27401
27402 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27403 DISTDIR="wx\$(TOOLKIT)"
27404 else
27405 USE_GUI=0
27406
27407 TOOLKIT_DIR="base"
27408
27409 if test "$USE_WIN32" = 1 ; then
27410 TOOLKIT="MSW"
27411 fi
27412
27413 GUIDIST="BASE_DIST"
27414 DISTDIR="wxBase"
27415 fi
27416
27417
27418
27419
27420 IODBC_C_SRC=""
27421
27422
27423 if test "$TOOLKIT" != "MSW" ; then
27424
27425 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27426
27427 if test "${ac_cv_header_sql_h+set}" = set; then
27428 echo "$as_me:$LINENO: checking for sql.h" >&5
27429 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27430 if test "${ac_cv_header_sql_h+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27432 fi
27433 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27434 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27435 else
27436 # Is the header compilable?
27437 echo "$as_me:$LINENO: checking sql.h usability" >&5
27438 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27439 cat >conftest.$ac_ext <<_ACEOF
27440 /* confdefs.h. */
27441 _ACEOF
27442 cat confdefs.h >>conftest.$ac_ext
27443 cat >>conftest.$ac_ext <<_ACEOF
27444 /* end confdefs.h. */
27445 $ac_includes_default
27446 #include <sql.h>
27447 _ACEOF
27448 rm -f conftest.$ac_objext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27450 (eval $ac_compile) 2>conftest.er1
27451 ac_status=$?
27452 grep -v '^ *+' conftest.er1 >conftest.err
27453 rm -f conftest.er1
27454 cat conftest.err >&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } &&
27457 { ac_try='test -z "$ac_c_werror_flag"
27458 || test ! -s conftest.err'
27459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27460 (eval $ac_try) 2>&5
27461 ac_status=$?
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; } &&
27464 { ac_try='test -s conftest.$ac_objext'
27465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27466 (eval $ac_try) 2>&5
27467 ac_status=$?
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); }; }; then
27470 ac_header_compiler=yes
27471 else
27472 echo "$as_me: failed program was:" >&5
27473 sed 's/^/| /' conftest.$ac_ext >&5
27474
27475 ac_header_compiler=no
27476 fi
27477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27479 echo "${ECHO_T}$ac_header_compiler" >&6
27480
27481 # Is the header present?
27482 echo "$as_me:$LINENO: checking sql.h presence" >&5
27483 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27484 cat >conftest.$ac_ext <<_ACEOF
27485 /* confdefs.h. */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27490 #include <sql.h>
27491 _ACEOF
27492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27494 ac_status=$?
27495 grep -v '^ *+' conftest.er1 >conftest.err
27496 rm -f conftest.er1
27497 cat conftest.err >&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); } >/dev/null; then
27500 if test -s conftest.err; then
27501 ac_cpp_err=$ac_c_preproc_warn_flag
27502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27503 else
27504 ac_cpp_err=
27505 fi
27506 else
27507 ac_cpp_err=yes
27508 fi
27509 if test -z "$ac_cpp_err"; then
27510 ac_header_preproc=yes
27511 else
27512 echo "$as_me: failed program was:" >&5
27513 sed 's/^/| /' conftest.$ac_ext >&5
27514
27515 ac_header_preproc=no
27516 fi
27517 rm -f conftest.err conftest.$ac_ext
27518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27519 echo "${ECHO_T}$ac_header_preproc" >&6
27520
27521 # So? What about this header?
27522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27523 yes:no: )
27524 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27525 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27526 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27527 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27528 ac_header_preproc=yes
27529 ;;
27530 no:yes:* )
27531 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27532 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27533 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27534 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27535 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27536 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27537 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27538 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27539 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27540 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27541 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27542 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27543 (
27544 cat <<\_ASBOX
27545 ## ----------------------------------------- ##
27546 ## Report this to wx-dev@lists.wxwidgets.org ##
27547 ## ----------------------------------------- ##
27548 _ASBOX
27549 ) |
27550 sed "s/^/$as_me: WARNING: /" >&2
27551 ;;
27552 esac
27553 echo "$as_me:$LINENO: checking for sql.h" >&5
27554 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27555 if test "${ac_cv_header_sql_h+set}" = set; then
27556 echo $ECHO_N "(cached) $ECHO_C" >&6
27557 else
27558 ac_cv_header_sql_h=$ac_header_preproc
27559 fi
27560 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27561 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27562
27563 fi
27564 if test $ac_cv_header_sql_h = yes; then
27565 found_sql_h=1
27566 fi
27567
27568
27569 if test "x$found_sql_h" = "x1" ; then
27570 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27571 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27572 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 else
27575 ac_check_lib_save_LIBS=$LIBS
27576 LIBS="-liodbc $LIBS"
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583
27584 /* Override any gcc2 internal prototype to avoid an error. */
27585 #ifdef __cplusplus
27586 extern "C"
27587 #endif
27588 /* We use char because int might match the return type of a gcc2
27589 builtin and then its argument prototype would still apply. */
27590 char SQLAllocEnv ();
27591 int
27592 main ()
27593 {
27594 SQLAllocEnv ();
27595 ;
27596 return 0;
27597 }
27598 _ACEOF
27599 rm -f conftest.$ac_objext conftest$ac_exeext
27600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27601 (eval $ac_link) 2>conftest.er1
27602 ac_status=$?
27603 grep -v '^ *+' conftest.er1 >conftest.err
27604 rm -f conftest.er1
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } &&
27608 { ac_try='test -z "$ac_c_werror_flag"
27609 || test ! -s conftest.err'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27612 ac_status=$?
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; } &&
27615 { ac_try='test -s conftest$ac_exeext'
27616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27617 (eval $ac_try) 2>&5
27618 ac_status=$?
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); }; }; then
27621 ac_cv_lib_iodbc_SQLAllocEnv=yes
27622 else
27623 echo "$as_me: failed program was:" >&5
27624 sed 's/^/| /' conftest.$ac_ext >&5
27625
27626 ac_cv_lib_iodbc_SQLAllocEnv=no
27627 fi
27628 rm -f conftest.err conftest.$ac_objext \
27629 conftest$ac_exeext conftest.$ac_ext
27630 LIBS=$ac_check_lib_save_LIBS
27631 fi
27632 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27633 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27634 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27635 ODBC_LINK=" -liodbc"
27636 else
27637
27638 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27639 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27640 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27641 echo $ECHO_N "(cached) $ECHO_C" >&6
27642 else
27643 ac_check_lib_save_LIBS=$LIBS
27644 LIBS="-lunixodbc $LIBS"
27645 cat >conftest.$ac_ext <<_ACEOF
27646 /* confdefs.h. */
27647 _ACEOF
27648 cat confdefs.h >>conftest.$ac_ext
27649 cat >>conftest.$ac_ext <<_ACEOF
27650 /* end confdefs.h. */
27651
27652 /* Override any gcc2 internal prototype to avoid an error. */
27653 #ifdef __cplusplus
27654 extern "C"
27655 #endif
27656 /* We use char because int might match the return type of a gcc2
27657 builtin and then its argument prototype would still apply. */
27658 char SQLAllocEnv ();
27659 int
27660 main ()
27661 {
27662 SQLAllocEnv ();
27663 ;
27664 return 0;
27665 }
27666 _ACEOF
27667 rm -f conftest.$ac_objext conftest$ac_exeext
27668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27669 (eval $ac_link) 2>conftest.er1
27670 ac_status=$?
27671 grep -v '^ *+' conftest.er1 >conftest.err
27672 rm -f conftest.er1
27673 cat conftest.err >&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); } &&
27676 { ac_try='test -z "$ac_c_werror_flag"
27677 || test ! -s conftest.err'
27678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27679 (eval $ac_try) 2>&5
27680 ac_status=$?
27681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27682 (exit $ac_status); }; } &&
27683 { ac_try='test -s conftest$ac_exeext'
27684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27685 (eval $ac_try) 2>&5
27686 ac_status=$?
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); }; }; then
27689 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27690 else
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.$ac_ext >&5
27693
27694 ac_cv_lib_unixodbc_SQLAllocEnv=no
27695 fi
27696 rm -f conftest.err conftest.$ac_objext \
27697 conftest$ac_exeext conftest.$ac_ext
27698 LIBS=$ac_check_lib_save_LIBS
27699 fi
27700 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27701 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27702 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27703 ODBC_LINK=" -lunixodbc"
27704 else
27705
27706 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27707 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27708 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27709 echo $ECHO_N "(cached) $ECHO_C" >&6
27710 else
27711 ac_check_lib_save_LIBS=$LIBS
27712 LIBS="-lodbc $LIBS"
27713 cat >conftest.$ac_ext <<_ACEOF
27714 /* confdefs.h. */
27715 _ACEOF
27716 cat confdefs.h >>conftest.$ac_ext
27717 cat >>conftest.$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27719
27720 /* Override any gcc2 internal prototype to avoid an error. */
27721 #ifdef __cplusplus
27722 extern "C"
27723 #endif
27724 /* We use char because int might match the return type of a gcc2
27725 builtin and then its argument prototype would still apply. */
27726 char SQLAllocEnv ();
27727 int
27728 main ()
27729 {
27730 SQLAllocEnv ();
27731 ;
27732 return 0;
27733 }
27734 _ACEOF
27735 rm -f conftest.$ac_objext conftest$ac_exeext
27736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27737 (eval $ac_link) 2>conftest.er1
27738 ac_status=$?
27739 grep -v '^ *+' conftest.er1 >conftest.err
27740 rm -f conftest.er1
27741 cat conftest.err >&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); } &&
27744 { ac_try='test -z "$ac_c_werror_flag"
27745 || test ! -s conftest.err'
27746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27747 (eval $ac_try) 2>&5
27748 ac_status=$?
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); }; } &&
27751 { ac_try='test -s conftest$ac_exeext'
27752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27753 (eval $ac_try) 2>&5
27754 ac_status=$?
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); }; }; then
27757 ac_cv_lib_odbc_SQLAllocEnv=yes
27758 else
27759 echo "$as_me: failed program was:" >&5
27760 sed 's/^/| /' conftest.$ac_ext >&5
27761
27762 ac_cv_lib_odbc_SQLAllocEnv=no
27763 fi
27764 rm -f conftest.err conftest.$ac_objext \
27765 conftest$ac_exeext conftest.$ac_ext
27766 LIBS=$ac_check_lib_save_LIBS
27767 fi
27768 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27769 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27770 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27771 ODBC_LINK=" -lodbc"
27772 fi
27773
27774
27775 fi
27776
27777
27778 fi
27779
27780 fi
27781 if test "x$ODBC_LINK" = "x" ; then
27782 if test "$wxUSE_ODBC" = "sys" ; then
27783 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27784 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27785 { (exit 1); exit 1; }; }
27786 else
27787 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27788 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27789 wxUSE_ODBC=builtin
27790 fi
27791 else
27792 wxUSE_ODBC=sys
27793 fi
27794 fi
27795 if test "$wxUSE_ODBC" != "no" ; then
27796 cat >>confdefs.h <<\_ACEOF
27797 #define wxUSE_ODBC 1
27798 _ACEOF
27799
27800 if test "$wxUSE_ODBC" = "builtin" ; then
27801 cat >>confdefs.h <<\_ACEOF
27802 #define wxUSE_BUILTIN_IODBC 1
27803 _ACEOF
27804
27805 fi
27806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27807
27808 WXODBCFLAG="-D_IODBC_"
27809 fi
27810 fi
27811
27812
27813
27814 if test "$wxUSE_DISPLAY" = "yes"; then
27815 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27816 echo "$as_me:$LINENO: checking for Xinerama" >&5
27817 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27818
27819 ac_find_libraries=
27820 for ac_dir in $SEARCH_LIB /usr/lib;
27821 do
27822 for ac_extension in a so sl dylib; do
27823 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27824 ac_find_libraries=$ac_dir
27825 break 2
27826 fi
27827 done
27828 done
27829
27830 if test "$ac_find_libraries" != "" ; then
27831
27832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27833 result=$?
27834 if test $result = 0; then
27835 ac_path_to_link=""
27836 else
27837 ac_path_to_link=" -L$ac_find_libraries"
27838 fi
27839
27840 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27841 LDFLAGS="$LDFLAGS $ac_path_to_link"
27842 fi
27843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27844 echo "$as_me:$LINENO: result: yes" >&5
27845 echo "${ECHO_T}yes" >&6
27846
27847 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27848 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27849
27850 ac_find_libraries=
27851 for ac_dir in $SEARCH_LIB /usr/lib;
27852 do
27853 for ac_extension in a so sl dylib; do
27854 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27855 ac_find_libraries=$ac_dir
27856 break 2
27857 fi
27858 done
27859 done
27860
27861 if test "$ac_find_libraries" != "" ; then
27862 echo "$as_me:$LINENO: result: yes" >&5
27863 echo "${ECHO_T}yes" >&6
27864
27865 for ac_header in X11/extensions/xf86vmode.h
27866 do
27867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27868 echo "$as_me:$LINENO: checking for $ac_header" >&5
27869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27871 echo $ECHO_N "(cached) $ECHO_C" >&6
27872 else
27873 cat >conftest.$ac_ext <<_ACEOF
27874 /* confdefs.h. */
27875 _ACEOF
27876 cat confdefs.h >>conftest.$ac_ext
27877 cat >>conftest.$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27879
27880 #if HAVE_X11_XLIB_H
27881 #include <X11/Xlib.h>
27882 #endif
27883
27884
27885 #include <$ac_header>
27886 _ACEOF
27887 rm -f conftest.$ac_objext
27888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27889 (eval $ac_compile) 2>conftest.er1
27890 ac_status=$?
27891 grep -v '^ *+' conftest.er1 >conftest.err
27892 rm -f conftest.er1
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -z "$ac_c_werror_flag"
27897 || test ! -s conftest.err'
27898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27899 (eval $ac_try) 2>&5
27900 ac_status=$?
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); }; } &&
27903 { ac_try='test -s conftest.$ac_objext'
27904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905 (eval $ac_try) 2>&5
27906 ac_status=$?
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); }; }; then
27909 eval "$as_ac_Header=yes"
27910 else
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.$ac_ext >&5
27913
27914 eval "$as_ac_Header=no"
27915 fi
27916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27917 fi
27918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27921 cat >>confdefs.h <<_ACEOF
27922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27923 _ACEOF
27924
27925 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27926
27927 fi
27928
27929 done
27930
27931 else
27932 echo "$as_me:$LINENO: result: no" >&5
27933 echo "${ECHO_T}no" >&6
27934 fi
27935
27936 else
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27939 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27940 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27941 wxUSE_DISPLAY="no"
27942 fi
27943 elif test "$wxUSE_MSW" = 1; then
27944
27945
27946 for ac_header in multimon.h ddraw.h
27947 do
27948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27949 echo "$as_me:$LINENO: checking for $ac_header" >&5
27950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27953 else
27954 cat >conftest.$ac_ext <<_ACEOF
27955 /* confdefs.h. */
27956 _ACEOF
27957 cat confdefs.h >>conftest.$ac_ext
27958 cat >>conftest.$ac_ext <<_ACEOF
27959 /* end confdefs.h. */
27960 #include <windows.h>
27961
27962 #include <$ac_header>
27963 _ACEOF
27964 rm -f conftest.$ac_objext
27965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27966 (eval $ac_compile) 2>conftest.er1
27967 ac_status=$?
27968 grep -v '^ *+' conftest.er1 >conftest.err
27969 rm -f conftest.er1
27970 cat conftest.err >&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); } &&
27973 { ac_try='test -z "$ac_c_werror_flag"
27974 || test ! -s conftest.err'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27977 ac_status=$?
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; } &&
27980 { ac_try='test -s conftest.$ac_objext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27983 ac_status=$?
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27986 eval "$as_ac_Header=yes"
27987 else
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27990
27991 eval "$as_ac_Header=no"
27992 fi
27993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27994 fi
27995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27998 cat >>confdefs.h <<_ACEOF
27999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28000 _ACEOF
28001
28002 else
28003
28004 wxUSE_DISPLAY="no"
28005 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28006 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28007
28008 fi
28009
28010 done
28011
28012 fi
28013 fi
28014
28015
28016 USE_OPENGL=0
28017 if test "$wxUSE_OPENGL" = "yes"; then
28018 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28019 OPENGL_LIBS="-framework OpenGL -framework AGL"
28020 elif test "$wxUSE_MSW" = 1; then
28021 OPENGL_LIBS="-lopengl32 -lglu32"
28022 else
28023
28024
28025 ac_find_includes=
28026 for ac_dir in $SEARCH_INCLUDE /usr/include;
28027 do
28028 if test -f "$ac_dir/GL/gl.h"; then
28029 ac_find_includes=$ac_dir
28030 break
28031 fi
28032 done
28033
28034 if test "$ac_find_includes" != "" ; then
28035 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28036 echo "${ECHO_T}found in $ac_find_includes" >&6
28037
28038 if test "x$ac_find_includes" = "x/usr/include"; then
28039 ac_path_to_include=""
28040 else
28041 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
28042 result=$?
28043 if test $result = 0; then
28044 ac_path_to_include=""
28045 else
28046 ac_path_to_include=" -I$ac_find_includes"
28047 fi
28048 fi
28049
28050 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
28051 fi
28052
28053 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28054 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28055 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28056 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 fi
28059 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28060 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28061 else
28062 # Is the header compilable?
28063 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28064 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28065 cat >conftest.$ac_ext <<_ACEOF
28066 /* confdefs.h. */
28067 _ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28071 $ac_includes_default
28072 #include <GL/gl.h>
28073 _ACEOF
28074 rm -f conftest.$ac_objext
28075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28076 (eval $ac_compile) 2>conftest.er1
28077 ac_status=$?
28078 grep -v '^ *+' conftest.er1 >conftest.err
28079 rm -f conftest.er1
28080 cat conftest.err >&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); } &&
28083 { ac_try='test -z "$ac_c_werror_flag"
28084 || test ! -s conftest.err'
28085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086 (eval $ac_try) 2>&5
28087 ac_status=$?
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; } &&
28090 { ac_try='test -s conftest.$ac_objext'
28091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28092 (eval $ac_try) 2>&5
28093 ac_status=$?
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); }; }; then
28096 ac_header_compiler=yes
28097 else
28098 echo "$as_me: failed program was:" >&5
28099 sed 's/^/| /' conftest.$ac_ext >&5
28100
28101 ac_header_compiler=no
28102 fi
28103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28105 echo "${ECHO_T}$ac_header_compiler" >&6
28106
28107 # Is the header present?
28108 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28109 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28110 cat >conftest.$ac_ext <<_ACEOF
28111 /* confdefs.h. */
28112 _ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28116 #include <GL/gl.h>
28117 _ACEOF
28118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28120 ac_status=$?
28121 grep -v '^ *+' conftest.er1 >conftest.err
28122 rm -f conftest.er1
28123 cat conftest.err >&5
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); } >/dev/null; then
28126 if test -s conftest.err; then
28127 ac_cpp_err=$ac_c_preproc_warn_flag
28128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28129 else
28130 ac_cpp_err=
28131 fi
28132 else
28133 ac_cpp_err=yes
28134 fi
28135 if test -z "$ac_cpp_err"; then
28136 ac_header_preproc=yes
28137 else
28138 echo "$as_me: failed program was:" >&5
28139 sed 's/^/| /' conftest.$ac_ext >&5
28140
28141 ac_header_preproc=no
28142 fi
28143 rm -f conftest.err conftest.$ac_ext
28144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28145 echo "${ECHO_T}$ac_header_preproc" >&6
28146
28147 # So? What about this header?
28148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28149 yes:no: )
28150 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28151 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28152 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28153 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28154 ac_header_preproc=yes
28155 ;;
28156 no:yes:* )
28157 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28158 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28159 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28160 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28161 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28162 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28163 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28164 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28165 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28166 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28167 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28168 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28169 (
28170 cat <<\_ASBOX
28171 ## ----------------------------------------- ##
28172 ## Report this to wx-dev@lists.wxwidgets.org ##
28173 ## ----------------------------------------- ##
28174 _ASBOX
28175 ) |
28176 sed "s/^/$as_me: WARNING: /" >&2
28177 ;;
28178 esac
28179 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28180 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28181 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28182 echo $ECHO_N "(cached) $ECHO_C" >&6
28183 else
28184 ac_cv_header_GL_gl_h=$ac_header_preproc
28185 fi
28186 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28187 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28188
28189 fi
28190 if test $ac_cv_header_GL_gl_h = yes; then
28191
28192 found_gl=0
28193
28194 echo "$as_me:$LINENO: checking for -lGL" >&5
28195 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28196
28197 ac_find_libraries=
28198 for ac_dir in $SEARCH_LIB /usr/lib;
28199 do
28200 for ac_extension in a so sl dylib; do
28201 if test -f "$ac_dir/libGL.$ac_extension"; then
28202 ac_find_libraries=$ac_dir
28203 break 2
28204 fi
28205 done
28206 done
28207
28208 if test "$ac_find_libraries" != "" ; then
28209
28210 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28211 result=$?
28212 if test $result = 0; then
28213 ac_path_to_link=""
28214 else
28215 ac_path_to_link=" -L$ac_find_libraries"
28216 fi
28217
28218 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28219 LDFLAGS_GL="$ac_path_to_link"
28220 fi
28221
28222
28223 ac_find_libraries=
28224 for ac_dir in $SEARCH_LIB /usr/lib;
28225 do
28226 for ac_extension in a so sl dylib; do
28227 if test -f "$ac_dir/libGLU.$ac_extension"; then
28228 ac_find_libraries=$ac_dir
28229 break 2
28230 fi
28231 done
28232 done
28233
28234 if test "$ac_find_libraries" != "" ; then
28235
28236 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28237 result=$?
28238 if test $result = 0; then
28239 ac_path_to_link=""
28240 else
28241 ac_path_to_link=" -L$ac_find_libraries"
28242 fi
28243
28244 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28245 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28246 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28247 fi
28248
28249 found_gl=1
28250 OPENGL_LIBS="-lGL -lGLU"
28251 echo "$as_me:$LINENO: result: yes" >&5
28252 echo "${ECHO_T}yes" >&6
28253 fi
28254 fi
28255
28256 if test "$found_gl" != 1; then
28257 echo "$as_me:$LINENO: result: no" >&5
28258 echo "${ECHO_T}no" >&6
28259 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28260 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28261
28262 ac_find_libraries=
28263 for ac_dir in $SEARCH_LIB /usr/lib;
28264 do
28265 for ac_extension in a so sl dylib; do
28266 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28267 ac_find_libraries=$ac_dir
28268 break 2
28269 fi
28270 done
28271 done
28272
28273 if test "$ac_find_libraries" != "" ; then
28274
28275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28276 result=$?
28277 if test $result = 0; then
28278 ac_path_to_link=""
28279 else
28280 ac_path_to_link=" -L$ac_find_libraries"
28281 fi
28282
28283 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
28284 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28285 echo "$as_me:$LINENO: result: yes" >&5
28286 echo "${ECHO_T}yes" >&6
28287 else
28288 echo "$as_me:$LINENO: result: no" >&5
28289 echo "${ECHO_T}no" >&6
28290 fi
28291 fi
28292
28293 fi
28294
28295
28296
28297 if test "x$OPENGL_LIBS" = "x"; then
28298 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28299 echo "$as_me: error: OpenGL libraries not available" >&2;}
28300 { (exit 1); exit 1; }; }
28301 fi
28302 fi
28303
28304 if test "$wxUSE_OPENGL" = "yes"; then
28305 USE_OPENGL=1
28306 cat >>confdefs.h <<\_ACEOF
28307 #define wxUSE_OPENGL 1
28308 _ACEOF
28309
28310 cat >>confdefs.h <<\_ACEOF
28311 #define wxUSE_GLCANVAS 1
28312 _ACEOF
28313
28314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28315 fi
28316 fi
28317
28318
28319 if test -n "$TOOLKIT" ; then
28320 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28321 fi
28322
28323
28324
28325 if test "$wxUSE_SHARED" = "yes"; then
28326 case "${host}" in
28327 *-pc-msdosdjgpp )
28328 wxUSE_SHARED=no
28329 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28330 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28331 ;;
28332 esac
28333 fi
28334
28335 if test "$wxUSE_SHARED" = "yes"; then
28336
28337
28338 found_versioning=no
28339
28340
28341 if test $found_versioning = no ; then
28342 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28343 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28344 if test "${wx_cv_version_script+set}" = set; then
28345 echo $ECHO_N "(cached) $ECHO_C" >&6
28346 else
28347
28348 echo "VER_1 { *; };" >conftest.sym
28349 echo "int main() { return 0; }" >conftest.cpp
28350
28351 if { ac_try='
28352 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28353 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28356 ac_status=$?
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; } ; then
28359 if test -s conftest.stderr ; then
28360 wx_cv_version_script=no
28361 else
28362 wx_cv_version_script=yes
28363 fi
28364 else
28365 wx_cv_version_script=no
28366 fi
28367 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28368
28369 fi
28370 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28371 echo "${ECHO_T}$wx_cv_version_script" >&6
28372 if test $wx_cv_version_script = yes ; then
28373 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
28374 fi
28375 fi
28376
28377
28378 case "${host}" in
28379 *-*-linux* | *-*-gnu* )
28380 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28381 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28382 ;;
28383
28384 *-*-solaris2* )
28385 if test "$GCC" = yes ; then
28386 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
28387
28388 saveLdflags="$LDFLAGS"
28389 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28390 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28391 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28392 cat >conftest.$ac_ext <<_ACEOF
28393 /* confdefs.h. */
28394 _ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28398
28399 int
28400 main ()
28401 {
28402
28403 ;
28404 return 0;
28405 }
28406 _ACEOF
28407 rm -f conftest.$ac_objext conftest$ac_exeext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28409 (eval $ac_link) 2>conftest.er1
28410 ac_status=$?
28411 grep -v '^ *+' conftest.er1 >conftest.err
28412 rm -f conftest.er1
28413 cat conftest.err >&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28420 ac_status=$?
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try='test -s conftest$ac_exeext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28426 ac_status=$?
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429
28430 echo "$as_me:$LINENO: result: yes" >&5
28431 echo "${ECHO_T}yes" >&6
28432 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28433 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28434
28435 else
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28438
28439
28440 echo "$as_me:$LINENO: result: no" >&5
28441 echo "${ECHO_T}no" >&6
28442 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28443 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28444 LDFLAGS="$saveLdflags -Wl,-R,/"
28445 cat >conftest.$ac_ext <<_ACEOF
28446 /* confdefs.h. */
28447 _ACEOF
28448 cat confdefs.h >>conftest.$ac_ext
28449 cat >>conftest.$ac_ext <<_ACEOF
28450 /* end confdefs.h. */
28451
28452 int
28453 main ()
28454 {
28455
28456 ;
28457 return 0;
28458 }
28459 _ACEOF
28460 rm -f conftest.$ac_objext conftest$ac_exeext
28461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28462 (eval $ac_link) 2>conftest.er1
28463 ac_status=$?
28464 grep -v '^ *+' conftest.er1 >conftest.err
28465 rm -f conftest.er1
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } &&
28469 { ac_try='test -z "$ac_c_werror_flag"
28470 || test ! -s conftest.err'
28471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28472 (eval $ac_try) 2>&5
28473 ac_status=$?
28474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28475 (exit $ac_status); }; } &&
28476 { ac_try='test -s conftest$ac_exeext'
28477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28478 (eval $ac_try) 2>&5
28479 ac_status=$?
28480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 (exit $ac_status); }; }; then
28482
28483 echo "$as_me:$LINENO: result: yes" >&5
28484 echo "${ECHO_T}yes" >&6
28485 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28486 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28487
28488 else
28489 echo "$as_me: failed program was:" >&5
28490 sed 's/^/| /' conftest.$ac_ext >&5
28491
28492
28493 echo "$as_me:$LINENO: result: no" >&5
28494 echo "${ECHO_T}no" >&6
28495
28496 fi
28497 rm -f conftest.err conftest.$ac_objext \
28498 conftest$ac_exeext conftest.$ac_ext
28499
28500 fi
28501 rm -f conftest.err conftest.$ac_objext \
28502 conftest$ac_exeext conftest.$ac_ext
28503 LDFLAGS="$saveLdflags"
28504 else
28505 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28506 WXCONFIG_RPATH="-R\$libdir"
28507 fi
28508 ;;
28509
28510 powerpc-*-darwin* )
28511 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28512 cat <<EOF >change-install-names
28513 #!/bin/sh
28514 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28515 inst_cmd="install_name_tool "
28516 for i in \${libnames} ; do
28517 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28518 done
28519 \${inst_cmd} \${3}
28520 EOF
28521 chmod +x change-install-names
28522 ;;
28523
28524 *-*-cygwin* | *-*-mingw32* )
28525 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28526 ;;
28527
28528 *-*-hpux* )
28529 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
28530 WXCONFIG_RPATH="-Wl,+b,\$libdir"
28531 ;;
28532
28533 esac
28534
28535 if test $wxUSE_RPATH = "no"; then
28536 SAMPLES_RPATH_FLAG=''
28537 SAMPLES_RPATH_POSTLINK=''
28538 WXCONFIG_RPATH=''
28539 fi
28540
28541 SHARED=1
28542
28543 else
28544
28545 config_linkage_component="-static"
28546 SHARED=0
28547
28548 fi
28549
28550
28551 UNICODE=0
28552 lib_unicode_suffix=
28553 WX_CHARTYPE="ansi"
28554 if test "$wxUSE_UNICODE" = "yes"; then
28555 lib_unicode_suffix=u
28556 WX_CHARTYPE="unicode"
28557 UNICODE=1
28558 fi
28559
28560 lib_debug_suffix=
28561 WX_DEBUGTYPE="release"
28562 DEBUG_FLAG=0
28563 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28564 lib_debug_suffix=d
28565 WX_DEBUGTYPE="debug"
28566 DEBUG_FLAG=1
28567 fi
28568
28569 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28570 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28571
28572 DEBUG_INFO=0
28573 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28574 DEBUG_INFO=1
28575 fi
28576
28577 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28578
28579 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28580
28581 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28582
28583 if test "$cross_compiling" = "yes"; then
28584 HOST_SUFFIX="-$host_alias"
28585 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28586 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28587 fi
28588
28589 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28590 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28591
28592
28593
28594 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28595 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28596 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28597
28598 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28599
28600 # Extract the first word of "Rez", so it can be a program name with args.
28601 set dummy Rez; ac_word=$2
28602 echo "$as_me:$LINENO: checking for $ac_word" >&5
28603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28604 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 else
28607 if test -n "$RESCOMP"; then
28608 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28609 else
28610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28611 for as_dir in $PATH
28612 do
28613 IFS=$as_save_IFS
28614 test -z "$as_dir" && as_dir=.
28615 for ac_exec_ext in '' $ac_executable_extensions; do
28616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28617 ac_cv_prog_RESCOMP="Rez"
28618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28619 break 2
28620 fi
28621 done
28622 done
28623
28624 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28625 fi
28626 fi
28627 RESCOMP=$ac_cv_prog_RESCOMP
28628 if test -n "$RESCOMP"; then
28629 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28630 echo "${ECHO_T}$RESCOMP" >&6
28631 else
28632 echo "$as_me:$LINENO: result: no" >&5
28633 echo "${ECHO_T}no" >&6
28634 fi
28635
28636 # Extract the first word of "DeRez", so it can be a program name with args.
28637 set dummy DeRez; ac_word=$2
28638 echo "$as_me:$LINENO: checking for $ac_word" >&5
28639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28640 if test "${ac_cv_prog_DEREZ+set}" = set; then
28641 echo $ECHO_N "(cached) $ECHO_C" >&6
28642 else
28643 if test -n "$DEREZ"; then
28644 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28645 else
28646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28647 for as_dir in $PATH
28648 do
28649 IFS=$as_save_IFS
28650 test -z "$as_dir" && as_dir=.
28651 for ac_exec_ext in '' $ac_executable_extensions; do
28652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28653 ac_cv_prog_DEREZ="DeRez"
28654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28655 break 2
28656 fi
28657 done
28658 done
28659
28660 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28661 fi
28662 fi
28663 DEREZ=$ac_cv_prog_DEREZ
28664 if test -n "$DEREZ"; then
28665 echo "$as_me:$LINENO: result: $DEREZ" >&5
28666 echo "${ECHO_T}$DEREZ" >&6
28667 else
28668 echo "$as_me:$LINENO: result: no" >&5
28669 echo "${ECHO_T}no" >&6
28670 fi
28671
28672 # Extract the first word of "SetFile", so it can be a program name with args.
28673 set dummy SetFile; ac_word=$2
28674 echo "$as_me:$LINENO: checking for $ac_word" >&5
28675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28676 if test "${ac_cv_prog_SETFILE+set}" = set; then
28677 echo $ECHO_N "(cached) $ECHO_C" >&6
28678 else
28679 if test -n "$SETFILE"; then
28680 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28681 else
28682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28683 for as_dir in $PATH
28684 do
28685 IFS=$as_save_IFS
28686 test -z "$as_dir" && as_dir=.
28687 for ac_exec_ext in '' $ac_executable_extensions; do
28688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28689 ac_cv_prog_SETFILE="SetFile"
28690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28691 break 2
28692 fi
28693 done
28694 done
28695
28696 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28697 fi
28698 fi
28699 SETFILE=$ac_cv_prog_SETFILE
28700 if test -n "$SETFILE"; then
28701 echo "$as_me:$LINENO: result: $SETFILE" >&5
28702 echo "${ECHO_T}$SETFILE" >&6
28703 else
28704 echo "$as_me:$LINENO: result: no" >&5
28705 echo "${ECHO_T}no" >&6
28706 fi
28707
28708
28709 MACSETFILE="\$(SETFILE)"
28710
28711 if test "$wxUSE_MAC" = 1; then
28712 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28713
28714 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28715 else
28716 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28717 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28718 fi
28719 else
28720 MACSETFILE="@true"
28721 MACRESWXCONFIG="@true"
28722
28723 if test "$wxUSE_PM" = 1; then
28724 MACRESCOMP="emxbind -ep"
28725 else
28726 MACRESCOMP="@true"
28727 fi
28728 fi
28729
28730
28731
28732 echo "$as_me:$LINENO: checking for mode_t" >&5
28733 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28734 if test "${ac_cv_type_mode_t+set}" = set; then
28735 echo $ECHO_N "(cached) $ECHO_C" >&6
28736 else
28737 cat >conftest.$ac_ext <<_ACEOF
28738 /* confdefs.h. */
28739 _ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h. */
28743 $ac_includes_default
28744 int
28745 main ()
28746 {
28747 if ((mode_t *) 0)
28748 return 0;
28749 if (sizeof (mode_t))
28750 return 0;
28751 ;
28752 return 0;
28753 }
28754 _ACEOF
28755 rm -f conftest.$ac_objext
28756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28757 (eval $ac_compile) 2>conftest.er1
28758 ac_status=$?
28759 grep -v '^ *+' conftest.er1 >conftest.err
28760 rm -f conftest.er1
28761 cat conftest.err >&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); } &&
28764 { ac_try='test -z "$ac_c_werror_flag"
28765 || test ! -s conftest.err'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28768 ac_status=$?
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; } &&
28771 { ac_try='test -s conftest.$ac_objext'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28774 ac_status=$?
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; }; then
28777 ac_cv_type_mode_t=yes
28778 else
28779 echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.$ac_ext >&5
28781
28782 ac_cv_type_mode_t=no
28783 fi
28784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28785 fi
28786 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28787 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28788 if test $ac_cv_type_mode_t = yes; then
28789 :
28790 else
28791
28792 cat >>confdefs.h <<_ACEOF
28793 #define mode_t int
28794 _ACEOF
28795
28796 fi
28797
28798 echo "$as_me:$LINENO: checking for off_t" >&5
28799 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28800 if test "${ac_cv_type_off_t+set}" = set; then
28801 echo $ECHO_N "(cached) $ECHO_C" >&6
28802 else
28803 cat >conftest.$ac_ext <<_ACEOF
28804 /* confdefs.h. */
28805 _ACEOF
28806 cat confdefs.h >>conftest.$ac_ext
28807 cat >>conftest.$ac_ext <<_ACEOF
28808 /* end confdefs.h. */
28809 $ac_includes_default
28810 int
28811 main ()
28812 {
28813 if ((off_t *) 0)
28814 return 0;
28815 if (sizeof (off_t))
28816 return 0;
28817 ;
28818 return 0;
28819 }
28820 _ACEOF
28821 rm -f conftest.$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28824 ac_status=$?
28825 grep -v '^ *+' conftest.er1 >conftest.err
28826 rm -f conftest.er1
28827 cat conftest.err >&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try='test -z "$ac_c_werror_flag"
28831 || test ! -s conftest.err'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28834 ac_status=$?
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; } &&
28837 { ac_try='test -s conftest.$ac_objext'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28840 ac_status=$?
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; }; then
28843 ac_cv_type_off_t=yes
28844 else
28845 echo "$as_me: failed program was:" >&5
28846 sed 's/^/| /' conftest.$ac_ext >&5
28847
28848 ac_cv_type_off_t=no
28849 fi
28850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28851 fi
28852 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28853 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28854 if test $ac_cv_type_off_t = yes; then
28855 :
28856 else
28857
28858 cat >>confdefs.h <<_ACEOF
28859 #define off_t long
28860 _ACEOF
28861
28862 fi
28863
28864 echo "$as_me:$LINENO: checking for pid_t" >&5
28865 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28866 if test "${ac_cv_type_pid_t+set}" = set; then
28867 echo $ECHO_N "(cached) $ECHO_C" >&6
28868 else
28869 cat >conftest.$ac_ext <<_ACEOF
28870 /* confdefs.h. */
28871 _ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875 $ac_includes_default
28876 int
28877 main ()
28878 {
28879 if ((pid_t *) 0)
28880 return 0;
28881 if (sizeof (pid_t))
28882 return 0;
28883 ;
28884 return 0;
28885 }
28886 _ACEOF
28887 rm -f conftest.$ac_objext
28888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28889 (eval $ac_compile) 2>conftest.er1
28890 ac_status=$?
28891 grep -v '^ *+' conftest.er1 >conftest.err
28892 rm -f conftest.er1
28893 cat conftest.err >&5
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); } &&
28896 { ac_try='test -z "$ac_c_werror_flag"
28897 || test ! -s conftest.err'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28900 ac_status=$?
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; } &&
28903 { ac_try='test -s conftest.$ac_objext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 ac_cv_type_pid_t=yes
28910 else
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.$ac_ext >&5
28913
28914 ac_cv_type_pid_t=no
28915 fi
28916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28917 fi
28918 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28919 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28920 if test $ac_cv_type_pid_t = yes; then
28921 :
28922 else
28923
28924 cat >>confdefs.h <<_ACEOF
28925 #define pid_t int
28926 _ACEOF
28927
28928 fi
28929
28930 echo "$as_me:$LINENO: checking for size_t" >&5
28931 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28932 if test "${ac_cv_type_size_t+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 else
28935 cat >conftest.$ac_ext <<_ACEOF
28936 /* confdefs.h. */
28937 _ACEOF
28938 cat confdefs.h >>conftest.$ac_ext
28939 cat >>conftest.$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941 $ac_includes_default
28942 int
28943 main ()
28944 {
28945 if ((size_t *) 0)
28946 return 0;
28947 if (sizeof (size_t))
28948 return 0;
28949 ;
28950 return 0;
28951 }
28952 _ACEOF
28953 rm -f conftest.$ac_objext
28954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28955 (eval $ac_compile) 2>conftest.er1
28956 ac_status=$?
28957 grep -v '^ *+' conftest.er1 >conftest.err
28958 rm -f conftest.er1
28959 cat conftest.err >&5
28960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28961 (exit $ac_status); } &&
28962 { ac_try='test -z "$ac_c_werror_flag"
28963 || test ! -s conftest.err'
28964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28965 (eval $ac_try) 2>&5
28966 ac_status=$?
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); }; } &&
28969 { ac_try='test -s conftest.$ac_objext'
28970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28971 (eval $ac_try) 2>&5
28972 ac_status=$?
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); }; }; then
28975 ac_cv_type_size_t=yes
28976 else
28977 echo "$as_me: failed program was:" >&5
28978 sed 's/^/| /' conftest.$ac_ext >&5
28979
28980 ac_cv_type_size_t=no
28981 fi
28982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28983 fi
28984 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28985 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28986 if test $ac_cv_type_size_t = yes; then
28987 :
28988 else
28989
28990 cat >>confdefs.h <<_ACEOF
28991 #define size_t unsigned
28992 _ACEOF
28993
28994 fi
28995
28996 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28997 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28998 if test "${ac_cv_type_uid_t+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29000 else
29001 cat >conftest.$ac_ext <<_ACEOF
29002 /* confdefs.h. */
29003 _ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h. */
29007 #include <sys/types.h>
29008
29009 _ACEOF
29010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29011 $EGREP "uid_t" >/dev/null 2>&1; then
29012 ac_cv_type_uid_t=yes
29013 else
29014 ac_cv_type_uid_t=no
29015 fi
29016 rm -f conftest*
29017
29018 fi
29019 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29020 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29021 if test $ac_cv_type_uid_t = no; then
29022
29023 cat >>confdefs.h <<\_ACEOF
29024 #define uid_t int
29025 _ACEOF
29026
29027
29028 cat >>confdefs.h <<\_ACEOF
29029 #define gid_t int
29030 _ACEOF
29031
29032 fi
29033
29034
29035 echo "$as_me:$LINENO: checking for ssize_t" >&5
29036 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29037 if test "${ac_cv_type_ssize_t+set}" = set; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 else
29040 cat >conftest.$ac_ext <<_ACEOF
29041 /* confdefs.h. */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 $ac_includes_default
29047 int
29048 main ()
29049 {
29050 if ((ssize_t *) 0)
29051 return 0;
29052 if (sizeof (ssize_t))
29053 return 0;
29054 ;
29055 return 0;
29056 }
29057 _ACEOF
29058 rm -f conftest.$ac_objext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29060 (eval $ac_compile) 2>conftest.er1
29061 ac_status=$?
29062 grep -v '^ *+' conftest.er1 >conftest.err
29063 rm -f conftest.er1
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } &&
29067 { ac_try='test -z "$ac_c_werror_flag"
29068 || test ! -s conftest.err'
29069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29070 (eval $ac_try) 2>&5
29071 ac_status=$?
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); }; } &&
29074 { ac_try='test -s conftest.$ac_objext'
29075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29076 (eval $ac_try) 2>&5
29077 ac_status=$?
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); }; }; then
29080 ac_cv_type_ssize_t=yes
29081 else
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.$ac_ext >&5
29084
29085 ac_cv_type_ssize_t=no
29086 fi
29087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29088 fi
29089 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29090 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29091 if test $ac_cv_type_ssize_t = yes; then
29092
29093 cat >>confdefs.h <<_ACEOF
29094 #define HAVE_SSIZE_T 1
29095 _ACEOF
29096
29097
29098 fi
29099
29100
29101
29102
29103 ac_ext=cc
29104 ac_cpp='$CXXCPP $CPPFLAGS'
29105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29108
29109 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29110 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29111 if test "${wx_cv_size_t_is_uint+set}" = set; then
29112 echo $ECHO_N "(cached) $ECHO_C" >&6
29113 else
29114
29115 cat >conftest.$ac_ext <<_ACEOF
29116 /* confdefs.h. */
29117 _ACEOF
29118 cat confdefs.h >>conftest.$ac_ext
29119 cat >>conftest.$ac_ext <<_ACEOF
29120 /* end confdefs.h. */
29121 #include <stddef.h>
29122 int
29123 main ()
29124 {
29125
29126 return 0; }
29127
29128 struct Foo { void foo(size_t); void foo(unsigned int); };
29129
29130 int bar() {
29131
29132 ;
29133 return 0;
29134 }
29135 _ACEOF
29136 rm -f conftest.$ac_objext
29137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29138 (eval $ac_compile) 2>conftest.er1
29139 ac_status=$?
29140 grep -v '^ *+' conftest.er1 >conftest.err
29141 rm -f conftest.er1
29142 cat conftest.err >&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); } &&
29145 { ac_try='test -z "$ac_cxx_werror_flag"
29146 || test ! -s conftest.err'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29149 ac_status=$?
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; } &&
29152 { ac_try='test -s conftest.$ac_objext'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 wx_cv_size_t_is_uint=no
29159 else
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29162
29163 wx_cv_size_t_is_uint=yes
29164
29165 fi
29166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29167
29168
29169 fi
29170 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29171 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29172
29173 if test "$wx_cv_size_t_is_uint" = "yes"; then
29174 cat >>confdefs.h <<\_ACEOF
29175 #define wxSIZE_T_IS_UINT 1
29176 _ACEOF
29177
29178 else
29179 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29180 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29181 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29183 else
29184 cat >conftest.$ac_ext <<_ACEOF
29185 /* confdefs.h. */
29186 _ACEOF
29187 cat confdefs.h >>conftest.$ac_ext
29188 cat >>conftest.$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29190 #include <stddef.h>
29191 int
29192 main ()
29193 {
29194
29195 return 0; }
29196
29197 struct Foo { void foo(size_t); void foo(unsigned long); };
29198
29199 int bar() {
29200
29201 ;
29202 return 0;
29203 }
29204 _ACEOF
29205 rm -f conftest.$ac_objext
29206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29207 (eval $ac_compile) 2>conftest.er1
29208 ac_status=$?
29209 grep -v '^ *+' conftest.er1 >conftest.err
29210 rm -f conftest.er1
29211 cat conftest.err >&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } &&
29214 { ac_try='test -z "$ac_cxx_werror_flag"
29215 || test ! -s conftest.err'
29216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29217 (eval $ac_try) 2>&5
29218 ac_status=$?
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); }; } &&
29221 { ac_try='test -s conftest.$ac_objext'
29222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223 (eval $ac_try) 2>&5
29224 ac_status=$?
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); }; }; then
29227 wx_cv_size_t_is_ulong=no
29228 else
29229 echo "$as_me: failed program was:" >&5
29230 sed 's/^/| /' conftest.$ac_ext >&5
29231
29232 wx_cv_size_t_is_ulong=yes
29233
29234 fi
29235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29236
29237 fi
29238 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29239 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29240
29241 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29242 cat >>confdefs.h <<\_ACEOF
29243 #define wxSIZE_T_IS_ULONG 1
29244 _ACEOF
29245
29246 fi
29247 fi
29248
29249 ac_ext=c
29250 ac_cpp='$CPP $CPPFLAGS'
29251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29254
29255
29256
29257 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29258 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29259 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29260 echo $ECHO_N "(cached) $ECHO_C" >&6
29261 else
29262
29263 cat >conftest.$ac_ext <<_ACEOF
29264 /* confdefs.h. */
29265 _ACEOF
29266 cat confdefs.h >>conftest.$ac_ext
29267 cat >>conftest.$ac_ext <<_ACEOF
29268 /* end confdefs.h. */
29269 #include <pwd.h>
29270 int
29271 main ()
29272 {
29273
29274 char *p;
29275 struct passwd *pw;
29276 p = pw->pw_gecos;
29277
29278 ;
29279 return 0;
29280 }
29281 _ACEOF
29282 rm -f conftest.$ac_objext
29283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29284 (eval $ac_compile) 2>conftest.er1
29285 ac_status=$?
29286 grep -v '^ *+' conftest.er1 >conftest.err
29287 rm -f conftest.er1
29288 cat conftest.err >&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); } &&
29291 { ac_try='test -z "$ac_c_werror_flag"
29292 || test ! -s conftest.err'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29295 ac_status=$?
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; } &&
29298 { ac_try='test -s conftest.$ac_objext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29301 ac_status=$?
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29304
29305 wx_cv_struct_pw_gecos=yes
29306
29307 else
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29310
29311
29312 wx_cv_struct_pw_gecos=no
29313
29314
29315 fi
29316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29317
29318
29319 fi
29320 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29321 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29322
29323 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29324 cat >>confdefs.h <<\_ACEOF
29325 #define HAVE_PW_GECOS 1
29326 _ACEOF
29327
29328 fi
29329
29330
29331 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29332 cat >>confdefs.h <<\_ACEOF
29333 #define wxUSE_WCHAR_T 1
29334 _ACEOF
29335
29336
29337 WCSLEN_FOUND=0
29338 WCHAR_LINK=
29339
29340 for ac_func in wcslen
29341 do
29342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29343 echo "$as_me:$LINENO: checking for $ac_func" >&5
29344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29345 if eval "test \"\${$as_ac_var+set}\" = set"; then
29346 echo $ECHO_N "(cached) $ECHO_C" >&6
29347 else
29348 cat >conftest.$ac_ext <<_ACEOF
29349 /* confdefs.h. */
29350 _ACEOF
29351 cat confdefs.h >>conftest.$ac_ext
29352 cat >>conftest.$ac_ext <<_ACEOF
29353 /* end confdefs.h. */
29354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29356 #define $ac_func innocuous_$ac_func
29357
29358 /* System header to define __stub macros and hopefully few prototypes,
29359 which can conflict with char $ac_func (); below.
29360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29361 <limits.h> exists even on freestanding compilers. */
29362
29363 #ifdef __STDC__
29364 # include <limits.h>
29365 #else
29366 # include <assert.h>
29367 #endif
29368
29369 #undef $ac_func
29370
29371 /* Override any gcc2 internal prototype to avoid an error. */
29372 #ifdef __cplusplus
29373 extern "C"
29374 {
29375 #endif
29376 /* We use char because int might match the return type of a gcc2
29377 builtin and then its argument prototype would still apply. */
29378 char $ac_func ();
29379 /* The GNU C library defines this for functions which it implements
29380 to always fail with ENOSYS. Some functions are actually named
29381 something starting with __ and the normal name is an alias. */
29382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29383 choke me
29384 #else
29385 char (*f) () = $ac_func;
29386 #endif
29387 #ifdef __cplusplus
29388 }
29389 #endif
29390
29391 int
29392 main ()
29393 {
29394 return f != $ac_func;
29395 ;
29396 return 0;
29397 }
29398 _ACEOF
29399 rm -f conftest.$ac_objext conftest$ac_exeext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29401 (eval $ac_link) 2>conftest.er1
29402 ac_status=$?
29403 grep -v '^ *+' conftest.er1 >conftest.err
29404 rm -f conftest.er1
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } &&
29408 { ac_try='test -z "$ac_c_werror_flag"
29409 || test ! -s conftest.err'
29410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29411 (eval $ac_try) 2>&5
29412 ac_status=$?
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; } &&
29415 { ac_try='test -s conftest$ac_exeext'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29418 ac_status=$?
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; }; then
29421 eval "$as_ac_var=yes"
29422 else
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.$ac_ext >&5
29425
29426 eval "$as_ac_var=no"
29427 fi
29428 rm -f conftest.err conftest.$ac_objext \
29429 conftest$ac_exeext conftest.$ac_ext
29430 fi
29431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29433 if test `eval echo '${'$as_ac_var'}'` = yes; then
29434 cat >>confdefs.h <<_ACEOF
29435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29436 _ACEOF
29437 WCSLEN_FOUND=1
29438 fi
29439 done
29440
29441
29442 if test "$WCSLEN_FOUND" = 0; then
29443 if test "$TOOLKIT" = "MSW"; then
29444 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29445 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29446 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29448 else
29449 ac_check_lib_save_LIBS=$LIBS
29450 LIBS="-lmsvcrt $LIBS"
29451 cat >conftest.$ac_ext <<_ACEOF
29452 /* confdefs.h. */
29453 _ACEOF
29454 cat confdefs.h >>conftest.$ac_ext
29455 cat >>conftest.$ac_ext <<_ACEOF
29456 /* end confdefs.h. */
29457
29458 /* Override any gcc2 internal prototype to avoid an error. */
29459 #ifdef __cplusplus
29460 extern "C"
29461 #endif
29462 /* We use char because int might match the return type of a gcc2
29463 builtin and then its argument prototype would still apply. */
29464 char wcslen ();
29465 int
29466 main ()
29467 {
29468 wcslen ();
29469 ;
29470 return 0;
29471 }
29472 _ACEOF
29473 rm -f conftest.$ac_objext conftest$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475 (eval $ac_link) 2>conftest.er1
29476 ac_status=$?
29477 grep -v '^ *+' conftest.er1 >conftest.err
29478 rm -f conftest.er1
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try='test -z "$ac_c_werror_flag"
29483 || test ! -s conftest.err'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29486 ac_status=$?
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; } &&
29489 { ac_try='test -s conftest$ac_exeext'
29490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491 (eval $ac_try) 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; }; then
29495 ac_cv_lib_msvcrt_wcslen=yes
29496 else
29497 echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.$ac_ext >&5
29499
29500 ac_cv_lib_msvcrt_wcslen=no
29501 fi
29502 rm -f conftest.err conftest.$ac_objext \
29503 conftest$ac_exeext conftest.$ac_ext
29504 LIBS=$ac_check_lib_save_LIBS
29505 fi
29506 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29507 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29508 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29509 WCHAR_OK=1
29510 fi
29511
29512 else
29513 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29514 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29515 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 else
29518 ac_check_lib_save_LIBS=$LIBS
29519 LIBS="-lw $LIBS"
29520 cat >conftest.$ac_ext <<_ACEOF
29521 /* confdefs.h. */
29522 _ACEOF
29523 cat confdefs.h >>conftest.$ac_ext
29524 cat >>conftest.$ac_ext <<_ACEOF
29525 /* end confdefs.h. */
29526
29527 /* Override any gcc2 internal prototype to avoid an error. */
29528 #ifdef __cplusplus
29529 extern "C"
29530 #endif
29531 /* We use char because int might match the return type of a gcc2
29532 builtin and then its argument prototype would still apply. */
29533 char wcslen ();
29534 int
29535 main ()
29536 {
29537 wcslen ();
29538 ;
29539 return 0;
29540 }
29541 _ACEOF
29542 rm -f conftest.$ac_objext conftest$ac_exeext
29543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29544 (eval $ac_link) 2>conftest.er1
29545 ac_status=$?
29546 grep -v '^ *+' conftest.er1 >conftest.err
29547 rm -f conftest.er1
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } &&
29551 { ac_try='test -z "$ac_c_werror_flag"
29552 || test ! -s conftest.err'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29555 ac_status=$?
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; } &&
29558 { ac_try='test -s conftest$ac_exeext'
29559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29560 (eval $ac_try) 2>&5
29561 ac_status=$?
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); }; }; then
29564 ac_cv_lib_w_wcslen=yes
29565 else
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29568
29569 ac_cv_lib_w_wcslen=no
29570 fi
29571 rm -f conftest.err conftest.$ac_objext \
29572 conftest$ac_exeext conftest.$ac_ext
29573 LIBS=$ac_check_lib_save_LIBS
29574 fi
29575 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29576 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29577 if test $ac_cv_lib_w_wcslen = yes; then
29578
29579 WCHAR_LINK=" -lw"
29580 WCSLEN_FOUND=1
29581
29582 fi
29583
29584 fi
29585 fi
29586
29587 if test "$WCSLEN_FOUND" = 1; then
29588 cat >>confdefs.h <<\_ACEOF
29589 #define HAVE_WCSLEN 1
29590 _ACEOF
29591
29592 fi
29593
29594 if test "$USE_HPUX" = 1; then
29595 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29596 fi
29597
29598
29599 for ac_func in wcsrtombs
29600 do
29601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29602 echo "$as_me:$LINENO: checking for $ac_func" >&5
29603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29604 if eval "test \"\${$as_ac_var+set}\" = set"; then
29605 echo $ECHO_N "(cached) $ECHO_C" >&6
29606 else
29607 cat >conftest.$ac_ext <<_ACEOF
29608 /* confdefs.h. */
29609 _ACEOF
29610 cat confdefs.h >>conftest.$ac_ext
29611 cat >>conftest.$ac_ext <<_ACEOF
29612 /* end confdefs.h. */
29613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29615 #define $ac_func innocuous_$ac_func
29616
29617 /* System header to define __stub macros and hopefully few prototypes,
29618 which can conflict with char $ac_func (); below.
29619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29620 <limits.h> exists even on freestanding compilers. */
29621
29622 #ifdef __STDC__
29623 # include <limits.h>
29624 #else
29625 # include <assert.h>
29626 #endif
29627
29628 #undef $ac_func
29629
29630 /* Override any gcc2 internal prototype to avoid an error. */
29631 #ifdef __cplusplus
29632 extern "C"
29633 {
29634 #endif
29635 /* We use char because int might match the return type of a gcc2
29636 builtin and then its argument prototype would still apply. */
29637 char $ac_func ();
29638 /* The GNU C library defines this for functions which it implements
29639 to always fail with ENOSYS. Some functions are actually named
29640 something starting with __ and the normal name is an alias. */
29641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29642 choke me
29643 #else
29644 char (*f) () = $ac_func;
29645 #endif
29646 #ifdef __cplusplus
29647 }
29648 #endif
29649
29650 int
29651 main ()
29652 {
29653 return f != $ac_func;
29654 ;
29655 return 0;
29656 }
29657 _ACEOF
29658 rm -f conftest.$ac_objext conftest$ac_exeext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29660 (eval $ac_link) 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"
29668 || test ! -s conftest.err'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29671 ac_status=$?
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; } &&
29674 { ac_try='test -s conftest$ac_exeext'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29677 ac_status=$?
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; }; then
29680 eval "$as_ac_var=yes"
29681 else
29682 echo "$as_me: failed program was:" >&5
29683 sed 's/^/| /' conftest.$ac_ext >&5
29684
29685 eval "$as_ac_var=no"
29686 fi
29687 rm -f conftest.err conftest.$ac_objext \
29688 conftest$ac_exeext conftest.$ac_ext
29689 fi
29690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29692 if test `eval echo '${'$as_ac_var'}'` = yes; then
29693 cat >>confdefs.h <<_ACEOF
29694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29695 _ACEOF
29696
29697 fi
29698 done
29699
29700 else
29701 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29702 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29703 fi
29704
29705
29706
29707 ac_ext=cc
29708 ac_cpp='$CXXCPP $CPPFLAGS'
29709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29712
29713
29714
29715 for ac_func in vsnprintf
29716 do
29717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29718 echo "$as_me:$LINENO: checking for $ac_func" >&5
29719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29720 if eval "test \"\${$as_ac_var+set}\" = set"; then
29721 echo $ECHO_N "(cached) $ECHO_C" >&6
29722 else
29723 cat >conftest.$ac_ext <<_ACEOF
29724 /* confdefs.h. */
29725 _ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29731 #define $ac_func innocuous_$ac_func
29732
29733 /* System header to define __stub macros and hopefully few prototypes,
29734 which can conflict with char $ac_func (); below.
29735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29736 <limits.h> exists even on freestanding compilers. */
29737
29738 #ifdef __STDC__
29739 # include <limits.h>
29740 #else
29741 # include <assert.h>
29742 #endif
29743
29744 #undef $ac_func
29745
29746 /* Override any gcc2 internal prototype to avoid an error. */
29747 #ifdef __cplusplus
29748 extern "C"
29749 {
29750 #endif
29751 /* We use char because int might match the return type of a gcc2
29752 builtin and then its argument prototype would still apply. */
29753 char $ac_func ();
29754 /* The GNU C library defines this for functions which it implements
29755 to always fail with ENOSYS. Some functions are actually named
29756 something starting with __ and the normal name is an alias. */
29757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29758 choke me
29759 #else
29760 char (*f) () = $ac_func;
29761 #endif
29762 #ifdef __cplusplus
29763 }
29764 #endif
29765
29766 int
29767 main ()
29768 {
29769 return f != $ac_func;
29770 ;
29771 return 0;
29772 }
29773 _ACEOF
29774 rm -f conftest.$ac_objext conftest$ac_exeext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29776 (eval $ac_link) 2>conftest.er1
29777 ac_status=$?
29778 grep -v '^ *+' conftest.er1 >conftest.err
29779 rm -f conftest.er1
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try='test -z "$ac_cxx_werror_flag"
29784 || test ! -s conftest.err'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; } &&
29790 { ac_try='test -s conftest$ac_exeext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29793 ac_status=$?
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29796 eval "$as_ac_var=yes"
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29800
29801 eval "$as_ac_var=no"
29802 fi
29803 rm -f conftest.err conftest.$ac_objext \
29804 conftest$ac_exeext conftest.$ac_ext
29805 fi
29806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29808 if test `eval echo '${'$as_ac_var'}'` = yes; then
29809 cat >>confdefs.h <<_ACEOF
29810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29811 _ACEOF
29812
29813 fi
29814 done
29815
29816
29817 if test "$ac_cv_func_vsnprintf" = "yes"; then
29818 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29819 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29820 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823
29824 cat >conftest.$ac_ext <<_ACEOF
29825 /* confdefs.h. */
29826 _ACEOF
29827 cat confdefs.h >>conftest.$ac_ext
29828 cat >>conftest.$ac_ext <<_ACEOF
29829 /* end confdefs.h. */
29830
29831 #include <stdio.h>
29832 #include <stdarg.h>
29833
29834 int
29835 main ()
29836 {
29837
29838 char *buf;
29839 va_list ap;
29840 vsnprintf(buf, 10u, "%s", ap);
29841
29842 ;
29843 return 0;
29844 }
29845 _ACEOF
29846 rm -f conftest.$ac_objext
29847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29848 (eval $ac_compile) 2>conftest.er1
29849 ac_status=$?
29850 grep -v '^ *+' conftest.er1 >conftest.err
29851 rm -f conftest.er1
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } &&
29855 { ac_try='test -z "$ac_cxx_werror_flag"
29856 || test ! -s conftest.err'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; } &&
29862 { ac_try='test -s conftest.$ac_objext'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29865 ac_status=$?
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; }; then
29868 wx_cv_func_vsnprintf_decl=yes
29869 else
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29872
29873
29874 cat >conftest.$ac_ext <<_ACEOF
29875 /* confdefs.h. */
29876 _ACEOF
29877 cat confdefs.h >>conftest.$ac_ext
29878 cat >>conftest.$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29880
29881 #include <stdio.h>
29882 #include <stdarg.h>
29883 using namespace std;
29884
29885 int
29886 main ()
29887 {
29888
29889 char *buf;
29890 va_list ap;
29891 vsnprintf(buf, 10u, "%s", ap);
29892
29893 ;
29894 return 0;
29895 }
29896 _ACEOF
29897 rm -f conftest.$ac_objext
29898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29899 (eval $ac_compile) 2>conftest.er1
29900 ac_status=$?
29901 grep -v '^ *+' conftest.er1 >conftest.err
29902 rm -f conftest.er1
29903 cat conftest.err >&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); } &&
29906 { ac_try='test -z "$ac_cxx_werror_flag"
29907 || test ! -s conftest.err'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29910 ac_status=$?
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; } &&
29913 { ac_try='test -s conftest.$ac_objext'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29916 ac_status=$?
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 wx_cv_func_vsnprintf_decl=yes
29920 else
29921 echo "$as_me: failed program was:" >&5
29922 sed 's/^/| /' conftest.$ac_ext >&5
29923
29924 wx_cv_func_vsnprintf_decl=no
29925
29926 fi
29927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29928
29929
29930 fi
29931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29932
29933
29934 fi
29935 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29936 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29937
29938 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29939 cat >>confdefs.h <<\_ACEOF
29940 #define HAVE_VSNPRINTF_DECL 1
29941 _ACEOF
29942
29943 fi
29944 fi
29945
29946 if test "$wxUSE_UNICODE" = yes; then
29947
29948
29949
29950
29951
29952
29953 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29954 do
29955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29956 echo "$as_me:$LINENO: checking for $ac_func" >&5
29957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29958 if eval "test \"\${$as_ac_var+set}\" = set"; then
29959 echo $ECHO_N "(cached) $ECHO_C" >&6
29960 else
29961 cat >conftest.$ac_ext <<_ACEOF
29962 /* confdefs.h. */
29963 _ACEOF
29964 cat confdefs.h >>conftest.$ac_ext
29965 cat >>conftest.$ac_ext <<_ACEOF
29966 /* end confdefs.h. */
29967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29969 #define $ac_func innocuous_$ac_func
29970
29971 /* System header to define __stub macros and hopefully few prototypes,
29972 which can conflict with char $ac_func (); below.
29973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29974 <limits.h> exists even on freestanding compilers. */
29975
29976 #ifdef __STDC__
29977 # include <limits.h>
29978 #else
29979 # include <assert.h>
29980 #endif
29981
29982 #undef $ac_func
29983
29984 /* Override any gcc2 internal prototype to avoid an error. */
29985 #ifdef __cplusplus
29986 extern "C"
29987 {
29988 #endif
29989 /* We use char because int might match the return type of a gcc2
29990 builtin and then its argument prototype would still apply. */
29991 char $ac_func ();
29992 /* The GNU C library defines this for functions which it implements
29993 to always fail with ENOSYS. Some functions are actually named
29994 something starting with __ and the normal name is an alias. */
29995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29996 choke me
29997 #else
29998 char (*f) () = $ac_func;
29999 #endif
30000 #ifdef __cplusplus
30001 }
30002 #endif
30003
30004 int
30005 main ()
30006 {
30007 return f != $ac_func;
30008 ;
30009 return 0;
30010 }
30011 _ACEOF
30012 rm -f conftest.$ac_objext conftest$ac_exeext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30014 (eval $ac_link) 2>conftest.er1
30015 ac_status=$?
30016 grep -v '^ *+' conftest.er1 >conftest.err
30017 rm -f conftest.er1
30018 cat conftest.err >&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try='test -z "$ac_cxx_werror_flag"
30022 || test ! -s conftest.err'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30025 ac_status=$?
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; } &&
30028 { ac_try='test -s conftest$ac_exeext'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30031 ac_status=$?
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; }; then
30034 eval "$as_ac_var=yes"
30035 else
30036 echo "$as_me: failed program was:" >&5
30037 sed 's/^/| /' conftest.$ac_ext >&5
30038
30039 eval "$as_ac_var=no"
30040 fi
30041 rm -f conftest.err conftest.$ac_objext \
30042 conftest$ac_exeext conftest.$ac_ext
30043 fi
30044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30046 if test `eval echo '${'$as_ac_var'}'` = yes; then
30047 cat >>confdefs.h <<_ACEOF
30048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30049 _ACEOF
30050
30051 fi
30052 done
30053
30054
30055 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30056 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30057 cat >conftest.$ac_ext <<_ACEOF
30058 /* confdefs.h. */
30059 _ACEOF
30060 cat confdefs.h >>conftest.$ac_ext
30061 cat >>conftest.$ac_ext <<_ACEOF
30062 /* end confdefs.h. */
30063 #include <wchar.h>
30064 int
30065 main ()
30066 {
30067 &_vsnwprintf;
30068 ;
30069 return 0;
30070 }
30071 _ACEOF
30072 rm -f conftest.$ac_objext
30073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30074 (eval $ac_compile) 2>conftest.er1
30075 ac_status=$?
30076 grep -v '^ *+' conftest.er1 >conftest.err
30077 rm -f conftest.er1
30078 cat conftest.err >&5
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); } &&
30081 { ac_try='test -z "$ac_cxx_werror_flag"
30082 || test ! -s conftest.err'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30085 ac_status=$?
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; } &&
30088 { ac_try='test -s conftest.$ac_objext'
30089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30090 (eval $ac_try) 2>&5
30091 ac_status=$?
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); }; }; then
30094 echo "$as_me:$LINENO: result: yes" >&5
30095 echo "${ECHO_T}yes" >&6
30096 cat >>confdefs.h <<\_ACEOF
30097 #define HAVE__VSNWPRINTF 1
30098 _ACEOF
30099
30100 else
30101 echo "$as_me: failed program was:" >&5
30102 sed 's/^/| /' conftest.$ac_ext >&5
30103
30104 echo "$as_me:$LINENO: result: no" >&5
30105 echo "${ECHO_T}no" >&6
30106 fi
30107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30108 fi
30109
30110 ac_ext=c
30111 ac_cpp='$CPP $CPPFLAGS'
30112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30115
30116
30117
30118
30119 if test "$TOOLKIT" != "MSW"; then
30120
30121
30122
30123
30124 ac_ext=cc
30125 ac_cpp='$CXXCPP $CPPFLAGS'
30126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30129
30130
30131
30132
30133 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30134 if test "${with_libiconv_prefix+set}" = set; then
30135 withval="$with_libiconv_prefix"
30136
30137 for dir in `echo "$withval" | tr : ' '`; do
30138 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30139 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30140 done
30141
30142 fi;
30143
30144 echo "$as_me:$LINENO: checking for iconv" >&5
30145 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30146 if test "${am_cv_func_iconv+set}" = set; then
30147 echo $ECHO_N "(cached) $ECHO_C" >&6
30148 else
30149
30150 am_cv_func_iconv="no, consider installing GNU libiconv"
30151 am_cv_lib_iconv=no
30152 cat >conftest.$ac_ext <<_ACEOF
30153 /* confdefs.h. */
30154 _ACEOF
30155 cat confdefs.h >>conftest.$ac_ext
30156 cat >>conftest.$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30158 #include <stdlib.h>
30159 #include <iconv.h>
30160 int
30161 main ()
30162 {
30163 iconv_t cd = iconv_open("","");
30164 iconv(cd,NULL,NULL,NULL,NULL);
30165 iconv_close(cd);
30166 ;
30167 return 0;
30168 }
30169 _ACEOF
30170 rm -f conftest.$ac_objext conftest$ac_exeext
30171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30172 (eval $ac_link) 2>conftest.er1
30173 ac_status=$?
30174 grep -v '^ *+' conftest.er1 >conftest.err
30175 rm -f conftest.er1
30176 cat conftest.err >&5
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); } &&
30179 { ac_try='test -z "$ac_cxx_werror_flag"
30180 || test ! -s conftest.err'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30183 ac_status=$?
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; } &&
30186 { ac_try='test -s conftest$ac_exeext'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30189 ac_status=$?
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; }; then
30192 am_cv_func_iconv=yes
30193 else
30194 echo "$as_me: failed program was:" >&5
30195 sed 's/^/| /' conftest.$ac_ext >&5
30196
30197 fi
30198 rm -f conftest.err conftest.$ac_objext \
30199 conftest$ac_exeext conftest.$ac_ext
30200 if test "$am_cv_func_iconv" != yes; then
30201 am_save_LIBS="$LIBS"
30202 LIBS="$LIBS -liconv"
30203 cat >conftest.$ac_ext <<_ACEOF
30204 /* confdefs.h. */
30205 _ACEOF
30206 cat confdefs.h >>conftest.$ac_ext
30207 cat >>conftest.$ac_ext <<_ACEOF
30208 /* end confdefs.h. */
30209 #include <stdlib.h>
30210 #include <iconv.h>
30211 int
30212 main ()
30213 {
30214 iconv_t cd = iconv_open("","");
30215 iconv(cd,NULL,NULL,NULL,NULL);
30216 iconv_close(cd);
30217 ;
30218 return 0;
30219 }
30220 _ACEOF
30221 rm -f conftest.$ac_objext conftest$ac_exeext
30222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30223 (eval $ac_link) 2>conftest.er1
30224 ac_status=$?
30225 grep -v '^ *+' conftest.er1 >conftest.err
30226 rm -f conftest.er1
30227 cat conftest.err >&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); } &&
30230 { ac_try='test -z "$ac_cxx_werror_flag"
30231 || test ! -s conftest.err'
30232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30233 (eval $ac_try) 2>&5
30234 ac_status=$?
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); }; } &&
30237 { ac_try='test -s conftest$ac_exeext'
30238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30239 (eval $ac_try) 2>&5
30240 ac_status=$?
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); }; }; then
30243 am_cv_lib_iconv=yes
30244 am_cv_func_iconv=yes
30245 else
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30248
30249 fi
30250 rm -f conftest.err conftest.$ac_objext \
30251 conftest$ac_exeext conftest.$ac_ext
30252 LIBS="$am_save_LIBS"
30253 fi
30254
30255 fi
30256 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30257 echo "${ECHO_T}$am_cv_func_iconv" >&6
30258 if test "$am_cv_func_iconv" = yes; then
30259
30260 cat >>confdefs.h <<\_ACEOF
30261 #define HAVE_ICONV 1
30262 _ACEOF
30263
30264 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30265 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30266 if test "${wx_cv_func_iconv_const+set}" = set; then
30267 echo $ECHO_N "(cached) $ECHO_C" >&6
30268 else
30269 cat >conftest.$ac_ext <<_ACEOF
30270 /* confdefs.h. */
30271 _ACEOF
30272 cat confdefs.h >>conftest.$ac_ext
30273 cat >>conftest.$ac_ext <<_ACEOF
30274 /* end confdefs.h. */
30275
30276 #include <stdlib.h>
30277 #include <iconv.h>
30278 extern
30279 #ifdef __cplusplus
30280 "C"
30281 #endif
30282 #if defined(__STDC__) || defined(__cplusplus)
30283 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30284 #else
30285 size_t iconv();
30286 #endif
30287
30288 int
30289 main ()
30290 {
30291
30292 ;
30293 return 0;
30294 }
30295 _ACEOF
30296 rm -f conftest.$ac_objext
30297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30298 (eval $ac_compile) 2>conftest.er1
30299 ac_status=$?
30300 grep -v '^ *+' conftest.er1 >conftest.err
30301 rm -f conftest.er1
30302 cat conftest.err >&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); } &&
30305 { ac_try='test -z "$ac_cxx_werror_flag"
30306 || test ! -s conftest.err'
30307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308 (eval $ac_try) 2>&5
30309 ac_status=$?
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); }; } &&
30312 { ac_try='test -s conftest.$ac_objext'
30313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30314 (eval $ac_try) 2>&5
30315 ac_status=$?
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); }; }; then
30318 wx_cv_func_iconv_const="no"
30319 else
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30322
30323 wx_cv_func_iconv_const="yes"
30324
30325 fi
30326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30327
30328 fi
30329 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30330 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30331
30332 iconv_const=
30333 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30334 iconv_const="const"
30335 fi
30336
30337
30338 cat >>confdefs.h <<_ACEOF
30339 #define ICONV_CONST $iconv_const
30340 _ACEOF
30341
30342 fi
30343 LIBICONV=
30344 if test "$am_cv_lib_iconv" = yes; then
30345 LIBICONV="-liconv"
30346 fi
30347
30348
30349 LIBS="$LIBICONV $LIBS"
30350 ac_ext=c
30351 ac_cpp='$CPP $CPPFLAGS'
30352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30355
30356
30357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30358
30359 for ac_func in sigaction
30360 do
30361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30362 echo "$as_me:$LINENO: checking for $ac_func" >&5
30363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30364 if eval "test \"\${$as_ac_var+set}\" = set"; then
30365 echo $ECHO_N "(cached) $ECHO_C" >&6
30366 else
30367 cat >conftest.$ac_ext <<_ACEOF
30368 /* confdefs.h. */
30369 _ACEOF
30370 cat confdefs.h >>conftest.$ac_ext
30371 cat >>conftest.$ac_ext <<_ACEOF
30372 /* end confdefs.h. */
30373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30375 #define $ac_func innocuous_$ac_func
30376
30377 /* System header to define __stub macros and hopefully few prototypes,
30378 which can conflict with char $ac_func (); below.
30379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30380 <limits.h> exists even on freestanding compilers. */
30381
30382 #ifdef __STDC__
30383 # include <limits.h>
30384 #else
30385 # include <assert.h>
30386 #endif
30387
30388 #undef $ac_func
30389
30390 /* Override any gcc2 internal prototype to avoid an error. */
30391 #ifdef __cplusplus
30392 extern "C"
30393 {
30394 #endif
30395 /* We use char because int might match the return type of a gcc2
30396 builtin and then its argument prototype would still apply. */
30397 char $ac_func ();
30398 /* The GNU C library defines this for functions which it implements
30399 to always fail with ENOSYS. Some functions are actually named
30400 something starting with __ and the normal name is an alias. */
30401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30402 choke me
30403 #else
30404 char (*f) () = $ac_func;
30405 #endif
30406 #ifdef __cplusplus
30407 }
30408 #endif
30409
30410 int
30411 main ()
30412 {
30413 return f != $ac_func;
30414 ;
30415 return 0;
30416 }
30417 _ACEOF
30418 rm -f conftest.$ac_objext conftest$ac_exeext
30419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30420 (eval $ac_link) 2>conftest.er1
30421 ac_status=$?
30422 grep -v '^ *+' conftest.er1 >conftest.err
30423 rm -f conftest.er1
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } &&
30427 { ac_try='test -z "$ac_c_werror_flag"
30428 || test ! -s conftest.err'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; } &&
30434 { ac_try='test -s conftest$ac_exeext'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30437 ac_status=$?
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; }; then
30440 eval "$as_ac_var=yes"
30441 else
30442 echo "$as_me: failed program was:" >&5
30443 sed 's/^/| /' conftest.$ac_ext >&5
30444
30445 eval "$as_ac_var=no"
30446 fi
30447 rm -f conftest.err conftest.$ac_objext \
30448 conftest$ac_exeext conftest.$ac_ext
30449 fi
30450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30452 if test `eval echo '${'$as_ac_var'}'` = yes; then
30453 cat >>confdefs.h <<_ACEOF
30454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30455 _ACEOF
30456
30457 fi
30458 done
30459
30460
30461 if test "$ac_cv_func_sigaction" = "no"; then
30462 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30463 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30464 wxUSE_ON_FATAL_EXCEPTION=no
30465 fi
30466
30467 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30468
30469
30470 ac_ext=cc
30471 ac_cpp='$CXXCPP $CPPFLAGS'
30472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30475
30476
30477 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30478 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30479 if test "${wx_cv_type_sa_handler+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 #include <signal.h>
30490 int
30491 main ()
30492 {
30493
30494 extern void testSigHandler(int);
30495
30496 struct sigaction sa;
30497 sa.sa_handler = testSigHandler;
30498
30499 ;
30500 return 0;
30501 }
30502 _ACEOF
30503 rm -f conftest.$ac_objext
30504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30505 (eval $ac_compile) 2>conftest.er1
30506 ac_status=$?
30507 grep -v '^ *+' conftest.er1 >conftest.err
30508 rm -f conftest.er1
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } &&
30512 { ac_try='test -z "$ac_cxx_werror_flag"
30513 || test ! -s conftest.err'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30516 ac_status=$?
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; } &&
30519 { ac_try='test -s conftest.$ac_objext'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30522 ac_status=$?
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; }; then
30525
30526 wx_cv_type_sa_handler=int
30527
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30531
30532
30533 wx_cv_type_sa_handler=void
30534
30535 fi
30536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30537
30538 fi
30539 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30540 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30541
30542 ac_ext=c
30543 ac_cpp='$CPP $CPPFLAGS'
30544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30547
30548
30549 cat >>confdefs.h <<_ACEOF
30550 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30551 _ACEOF
30552
30553 fi
30554 fi
30555
30556 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30557
30558
30559 ac_ext=cc
30560 ac_cpp='$CXXCPP $CPPFLAGS'
30561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30564
30565
30566 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30567 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30568 if test "${wx_cv_func_backtrace+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30570 else
30571
30572 cat >conftest.$ac_ext <<_ACEOF
30573 /* confdefs.h. */
30574 _ACEOF
30575 cat confdefs.h >>conftest.$ac_ext
30576 cat >>conftest.$ac_ext <<_ACEOF
30577 /* end confdefs.h. */
30578 #include <execinfo.h>
30579 int
30580 main ()
30581 {
30582
30583 void *trace[1];
30584 char **messages;
30585
30586 backtrace(trace, 1);
30587 messages = backtrace_symbols(trace, 1);
30588
30589 ;
30590 return 0;
30591 }
30592 _ACEOF
30593 rm -f conftest.$ac_objext
30594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30595 (eval $ac_compile) 2>conftest.er1
30596 ac_status=$?
30597 grep -v '^ *+' conftest.er1 >conftest.err
30598 rm -f conftest.er1
30599 cat conftest.err >&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); } &&
30602 { ac_try='test -z "$ac_cxx_werror_flag"
30603 || test ! -s conftest.err'
30604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30605 (eval $ac_try) 2>&5
30606 ac_status=$?
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; } &&
30609 { ac_try='test -s conftest.$ac_objext'
30610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30611 (eval $ac_try) 2>&5
30612 ac_status=$?
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); }; }; then
30615 wx_cv_func_backtrace=yes
30616 else
30617 echo "$as_me: failed program was:" >&5
30618 sed 's/^/| /' conftest.$ac_ext >&5
30619
30620 wx_cv_func_backtrace=no
30621
30622 fi
30623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30624
30625
30626 fi
30627 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30628 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30629
30630
30631 if test "$wx_cv_func_backtrace" = "no"; then
30632 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30633 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30634 wxUSE_STACKWALKER=no
30635 else
30636 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30637 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30638 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30640 else
30641
30642 cat >conftest.$ac_ext <<_ACEOF
30643 /* confdefs.h. */
30644 _ACEOF
30645 cat confdefs.h >>conftest.$ac_ext
30646 cat >>conftest.$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 #include <cxxabi.h>
30649 int
30650 main ()
30651 {
30652
30653 int rc;
30654 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30655
30656 ;
30657 return 0;
30658 }
30659 _ACEOF
30660 rm -f conftest.$ac_objext
30661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30662 (eval $ac_compile) 2>conftest.er1
30663 ac_status=$?
30664 grep -v '^ *+' conftest.er1 >conftest.err
30665 rm -f conftest.er1
30666 cat conftest.err >&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); } &&
30669 { ac_try='test -z "$ac_cxx_werror_flag"
30670 || test ! -s conftest.err'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30673 ac_status=$?
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; } &&
30676 { ac_try='test -s conftest.$ac_objext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30679 ac_status=$?
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 wx_cv_func_cxa_demangle=yes
30683 else
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30686
30687 wx_cv_func_cxa_demangle=no
30688
30689 fi
30690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30691
30692
30693 fi
30694 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30695 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30696
30697 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30698 cat >>confdefs.h <<\_ACEOF
30699 #define HAVE_CXA_DEMANGLE 1
30700 _ACEOF
30701
30702 fi
30703 fi
30704
30705 ac_ext=c
30706 ac_cpp='$CPP $CPPFLAGS'
30707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710
30711 fi
30712
30713
30714
30715 for ac_func in mkstemp mktemp
30716 do
30717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30718 echo "$as_me:$LINENO: checking for $ac_func" >&5
30719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30720 if eval "test \"\${$as_ac_var+set}\" = set"; then
30721 echo $ECHO_N "(cached) $ECHO_C" >&6
30722 else
30723 cat >conftest.$ac_ext <<_ACEOF
30724 /* confdefs.h. */
30725 _ACEOF
30726 cat confdefs.h >>conftest.$ac_ext
30727 cat >>conftest.$ac_ext <<_ACEOF
30728 /* end confdefs.h. */
30729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30731 #define $ac_func innocuous_$ac_func
30732
30733 /* System header to define __stub macros and hopefully few prototypes,
30734 which can conflict with char $ac_func (); below.
30735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30736 <limits.h> exists even on freestanding compilers. */
30737
30738 #ifdef __STDC__
30739 # include <limits.h>
30740 #else
30741 # include <assert.h>
30742 #endif
30743
30744 #undef $ac_func
30745
30746 /* Override any gcc2 internal prototype to avoid an error. */
30747 #ifdef __cplusplus
30748 extern "C"
30749 {
30750 #endif
30751 /* We use char because int might match the return type of a gcc2
30752 builtin and then its argument prototype would still apply. */
30753 char $ac_func ();
30754 /* The GNU C library defines this for functions which it implements
30755 to always fail with ENOSYS. Some functions are actually named
30756 something starting with __ and the normal name is an alias. */
30757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30758 choke me
30759 #else
30760 char (*f) () = $ac_func;
30761 #endif
30762 #ifdef __cplusplus
30763 }
30764 #endif
30765
30766 int
30767 main ()
30768 {
30769 return f != $ac_func;
30770 ;
30771 return 0;
30772 }
30773 _ACEOF
30774 rm -f conftest.$ac_objext conftest$ac_exeext
30775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30776 (eval $ac_link) 2>conftest.er1
30777 ac_status=$?
30778 grep -v '^ *+' conftest.er1 >conftest.err
30779 rm -f conftest.er1
30780 cat conftest.err >&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } &&
30783 { ac_try='test -z "$ac_c_werror_flag"
30784 || test ! -s conftest.err'
30785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30786 (eval $ac_try) 2>&5
30787 ac_status=$?
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); }; } &&
30790 { ac_try='test -s conftest$ac_exeext'
30791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30792 (eval $ac_try) 2>&5
30793 ac_status=$?
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; }; then
30796 eval "$as_ac_var=yes"
30797 else
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30800
30801 eval "$as_ac_var=no"
30802 fi
30803 rm -f conftest.err conftest.$ac_objext \
30804 conftest$ac_exeext conftest.$ac_ext
30805 fi
30806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30808 if test `eval echo '${'$as_ac_var'}'` = yes; then
30809 cat >>confdefs.h <<_ACEOF
30810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30811 _ACEOF
30812 break
30813 fi
30814 done
30815
30816
30817 echo "$as_me:$LINENO: checking for statfs" >&5
30818 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30819 if test "${wx_cv_func_statfs+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 else
30822 cat >conftest.$ac_ext <<_ACEOF
30823 /* confdefs.h. */
30824 _ACEOF
30825 cat confdefs.h >>conftest.$ac_ext
30826 cat >>conftest.$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30828
30829 #if defined(__BSD__)
30830 #include <sys/param.h>
30831 #include <sys/mount.h>
30832 #else
30833 #include <sys/vfs.h>
30834 #endif
30835
30836 int
30837 main ()
30838 {
30839
30840 long l;
30841 struct statfs fs;
30842 statfs("/", &fs);
30843 l = fs.f_bsize;
30844 l += fs.f_blocks;
30845 l += fs.f_bavail;
30846
30847 ;
30848 return 0;
30849 }
30850 _ACEOF
30851 rm -f conftest.$ac_objext
30852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30853 (eval $ac_compile) 2>conftest.er1
30854 ac_status=$?
30855 grep -v '^ *+' conftest.er1 >conftest.err
30856 rm -f conftest.er1
30857 cat conftest.err >&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); } &&
30860 { ac_try='test -z "$ac_c_werror_flag"
30861 || test ! -s conftest.err'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; } &&
30867 { ac_try='test -s conftest.$ac_objext'
30868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30869 (eval $ac_try) 2>&5
30870 ac_status=$?
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; }; then
30873
30874 wx_cv_func_statfs=yes
30875
30876 else
30877 echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.$ac_ext >&5
30879
30880
30881 wx_cv_func_statfs=no
30882
30883
30884 fi
30885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30886
30887 fi
30888 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30889 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30890
30891 if test "$wx_cv_func_statfs" = "yes"; then
30892 wx_cv_type_statvfs_t="struct statfs"
30893 cat >>confdefs.h <<\_ACEOF
30894 #define HAVE_STATFS 1
30895 _ACEOF
30896
30897 else
30898 echo "$as_me:$LINENO: checking for statvfs" >&5
30899 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30900 if test "${wx_cv_func_statvfs+set}" = set; then
30901 echo $ECHO_N "(cached) $ECHO_C" >&6
30902 else
30903 cat >conftest.$ac_ext <<_ACEOF
30904 /* confdefs.h. */
30905 _ACEOF
30906 cat confdefs.h >>conftest.$ac_ext
30907 cat >>conftest.$ac_ext <<_ACEOF
30908 /* end confdefs.h. */
30909
30910 #include <stddef.h>
30911 #include <sys/statvfs.h>
30912
30913 int
30914 main ()
30915 {
30916
30917 statvfs("/", NULL);
30918
30919 ;
30920 return 0;
30921 }
30922 _ACEOF
30923 rm -f conftest.$ac_objext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30925 (eval $ac_compile) 2>conftest.er1
30926 ac_status=$?
30927 grep -v '^ *+' conftest.er1 >conftest.err
30928 rm -f conftest.er1
30929 cat conftest.err >&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try='test -z "$ac_c_werror_flag"
30933 || test ! -s conftest.err'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; } &&
30939 { ac_try='test -s conftest.$ac_objext'
30940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30941 (eval $ac_try) 2>&5
30942 ac_status=$?
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); }; }; then
30945 wx_cv_func_statvfs=yes
30946 else
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30949
30950 wx_cv_func_statvfs=no
30951
30952 fi
30953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30954
30955 fi
30956 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30957 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30958
30959 if test "$wx_cv_func_statvfs" = "yes"; then
30960
30961
30962 ac_ext=cc
30963 ac_cpp='$CXXCPP $CPPFLAGS'
30964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30967
30968
30969 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30970 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30971 if test "${wx_cv_type_statvfs_t+set}" = set; then
30972 echo $ECHO_N "(cached) $ECHO_C" >&6
30973 else
30974 cat >conftest.$ac_ext <<_ACEOF
30975 /* confdefs.h. */
30976 _ACEOF
30977 cat confdefs.h >>conftest.$ac_ext
30978 cat >>conftest.$ac_ext <<_ACEOF
30979 /* end confdefs.h. */
30980
30981 #include <sys/statvfs.h>
30982
30983 int
30984 main ()
30985 {
30986
30987 long l;
30988 statvfs_t fs;
30989 statvfs("/", &fs);
30990 l = fs.f_bsize;
30991 l += fs.f_blocks;
30992 l += fs.f_bavail;
30993
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31000 (eval $ac_compile) 2>conftest.er1
31001 ac_status=$?
31002 grep -v '^ *+' conftest.er1 >conftest.err
31003 rm -f conftest.er1
31004 cat conftest.err >&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try='test -z "$ac_cxx_werror_flag"
31008 || test ! -s conftest.err'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; } &&
31014 { ac_try='test -s conftest.$ac_objext'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; }; then
31020 wx_cv_type_statvfs_t=statvfs_t
31021 else
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.$ac_ext >&5
31024
31025
31026 cat >conftest.$ac_ext <<_ACEOF
31027 /* confdefs.h. */
31028 _ACEOF
31029 cat confdefs.h >>conftest.$ac_ext
31030 cat >>conftest.$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31032
31033 #include <sys/statvfs.h>
31034
31035 int
31036 main ()
31037 {
31038
31039 long l;
31040 struct statvfs fs;
31041 statvfs("/", &fs);
31042 l = fs.f_bsize;
31043 l += fs.f_blocks;
31044 l += fs.f_bavail;
31045
31046 ;
31047 return 0;
31048 }
31049 _ACEOF
31050 rm -f conftest.$ac_objext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31052 (eval $ac_compile) 2>conftest.er1
31053 ac_status=$?
31054 grep -v '^ *+' conftest.er1 >conftest.err
31055 rm -f conftest.er1
31056 cat conftest.err >&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); } &&
31059 { ac_try='test -z "$ac_cxx_werror_flag"
31060 || test ! -s conftest.err'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31063 ac_status=$?
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; } &&
31066 { ac_try='test -s conftest.$ac_objext'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31069 ac_status=$?
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; }; then
31072 wx_cv_type_statvfs_t="struct statvfs"
31073 else
31074 echo "$as_me: failed program was:" >&5
31075 sed 's/^/| /' conftest.$ac_ext >&5
31076
31077 wx_cv_type_statvfs_t="unknown"
31078
31079 fi
31080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31081
31082
31083 fi
31084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31085
31086 fi
31087 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31088 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31089
31090 ac_ext=c
31091 ac_cpp='$CPP $CPPFLAGS'
31092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31095
31096
31097 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31098 cat >>confdefs.h <<\_ACEOF
31099 #define HAVE_STATVFS 1
31100 _ACEOF
31101
31102 fi
31103 else
31104 wx_cv_type_statvfs_t="unknown"
31105 fi
31106 fi
31107
31108 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31109 cat >>confdefs.h <<_ACEOF
31110 #define WX_STATFS_T $wx_cv_type_statvfs_t
31111 _ACEOF
31112
31113 else
31114 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31115 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31116 fi
31117
31118 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31119
31120
31121 for ac_func in fcntl flock
31122 do
31123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31124 echo "$as_me:$LINENO: checking for $ac_func" >&5
31125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31126 if eval "test \"\${$as_ac_var+set}\" = set"; then
31127 echo $ECHO_N "(cached) $ECHO_C" >&6
31128 else
31129 cat >conftest.$ac_ext <<_ACEOF
31130 /* confdefs.h. */
31131 _ACEOF
31132 cat confdefs.h >>conftest.$ac_ext
31133 cat >>conftest.$ac_ext <<_ACEOF
31134 /* end confdefs.h. */
31135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31137 #define $ac_func innocuous_$ac_func
31138
31139 /* System header to define __stub macros and hopefully few prototypes,
31140 which can conflict with char $ac_func (); below.
31141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31142 <limits.h> exists even on freestanding compilers. */
31143
31144 #ifdef __STDC__
31145 # include <limits.h>
31146 #else
31147 # include <assert.h>
31148 #endif
31149
31150 #undef $ac_func
31151
31152 /* Override any gcc2 internal prototype to avoid an error. */
31153 #ifdef __cplusplus
31154 extern "C"
31155 {
31156 #endif
31157 /* We use char because int might match the return type of a gcc2
31158 builtin and then its argument prototype would still apply. */
31159 char $ac_func ();
31160 /* The GNU C library defines this for functions which it implements
31161 to always fail with ENOSYS. Some functions are actually named
31162 something starting with __ and the normal name is an alias. */
31163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31164 choke me
31165 #else
31166 char (*f) () = $ac_func;
31167 #endif
31168 #ifdef __cplusplus
31169 }
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175 return f != $ac_func;
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31182 (eval $ac_link) 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_c_werror_flag"
31190 || test ! -s conftest.err'
31191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31192 (eval $ac_try) 2>&5
31193 ac_status=$?
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); }; } &&
31196 { ac_try='test -s conftest$ac_exeext'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31199 ac_status=$?
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; }; then
31202 eval "$as_ac_var=yes"
31203 else
31204 echo "$as_me: failed program was:" >&5
31205 sed 's/^/| /' conftest.$ac_ext >&5
31206
31207 eval "$as_ac_var=no"
31208 fi
31209 rm -f conftest.err conftest.$ac_objext \
31210 conftest$ac_exeext conftest.$ac_ext
31211 fi
31212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31214 if test `eval echo '${'$as_ac_var'}'` = yes; then
31215 cat >>confdefs.h <<_ACEOF
31216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31217 _ACEOF
31218 break
31219 fi
31220 done
31221
31222
31223 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31224 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31225 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31226 wxUSE_SNGLINST_CHECKER=no
31227 fi
31228 fi
31229
31230
31231 for ac_func in timegm
31232 do
31233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31234 echo "$as_me:$LINENO: checking for $ac_func" >&5
31235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31236 if eval "test \"\${$as_ac_var+set}\" = set"; then
31237 echo $ECHO_N "(cached) $ECHO_C" >&6
31238 else
31239 cat >conftest.$ac_ext <<_ACEOF
31240 /* confdefs.h. */
31241 _ACEOF
31242 cat confdefs.h >>conftest.$ac_ext
31243 cat >>conftest.$ac_ext <<_ACEOF
31244 /* end confdefs.h. */
31245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31247 #define $ac_func innocuous_$ac_func
31248
31249 /* System header to define __stub macros and hopefully few prototypes,
31250 which can conflict with char $ac_func (); below.
31251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31252 <limits.h> exists even on freestanding compilers. */
31253
31254 #ifdef __STDC__
31255 # include <limits.h>
31256 #else
31257 # include <assert.h>
31258 #endif
31259
31260 #undef $ac_func
31261
31262 /* Override any gcc2 internal prototype to avoid an error. */
31263 #ifdef __cplusplus
31264 extern "C"
31265 {
31266 #endif
31267 /* We use char because int might match the return type of a gcc2
31268 builtin and then its argument prototype would still apply. */
31269 char $ac_func ();
31270 /* The GNU C library defines this for functions which it implements
31271 to always fail with ENOSYS. Some functions are actually named
31272 something starting with __ and the normal name is an alias. */
31273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31274 choke me
31275 #else
31276 char (*f) () = $ac_func;
31277 #endif
31278 #ifdef __cplusplus
31279 }
31280 #endif
31281
31282 int
31283 main ()
31284 {
31285 return f != $ac_func;
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 rm -f conftest.$ac_objext conftest$ac_exeext
31291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31292 (eval $ac_link) 2>conftest.er1
31293 ac_status=$?
31294 grep -v '^ *+' conftest.er1 >conftest.err
31295 rm -f conftest.er1
31296 cat conftest.err >&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try='test -z "$ac_c_werror_flag"
31300 || test ! -s conftest.err'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31303 ac_status=$?
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; } &&
31306 { ac_try='test -s conftest$ac_exeext'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; }; then
31312 eval "$as_ac_var=yes"
31313 else
31314 echo "$as_me: failed program was:" >&5
31315 sed 's/^/| /' conftest.$ac_ext >&5
31316
31317 eval "$as_ac_var=no"
31318 fi
31319 rm -f conftest.err conftest.$ac_objext \
31320 conftest$ac_exeext conftest.$ac_ext
31321 fi
31322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31324 if test `eval echo '${'$as_ac_var'}'` = yes; then
31325 cat >>confdefs.h <<_ACEOF
31326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31327 _ACEOF
31328
31329 fi
31330 done
31331
31332
31333
31334
31335 for ac_func in putenv setenv
31336 do
31337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31338 echo "$as_me:$LINENO: checking for $ac_func" >&5
31339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31340 if eval "test \"\${$as_ac_var+set}\" = set"; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31342 else
31343 cat >conftest.$ac_ext <<_ACEOF
31344 /* confdefs.h. */
31345 _ACEOF
31346 cat confdefs.h >>conftest.$ac_ext
31347 cat >>conftest.$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31351 #define $ac_func innocuous_$ac_func
31352
31353 /* System header to define __stub macros and hopefully few prototypes,
31354 which can conflict with char $ac_func (); below.
31355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31356 <limits.h> exists even on freestanding compilers. */
31357
31358 #ifdef __STDC__
31359 # include <limits.h>
31360 #else
31361 # include <assert.h>
31362 #endif
31363
31364 #undef $ac_func
31365
31366 /* Override any gcc2 internal prototype to avoid an error. */
31367 #ifdef __cplusplus
31368 extern "C"
31369 {
31370 #endif
31371 /* We use char because int might match the return type of a gcc2
31372 builtin and then its argument prototype would still apply. */
31373 char $ac_func ();
31374 /* The GNU C library defines this for functions which it implements
31375 to always fail with ENOSYS. Some functions are actually named
31376 something starting with __ and the normal name is an alias. */
31377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31378 choke me
31379 #else
31380 char (*f) () = $ac_func;
31381 #endif
31382 #ifdef __cplusplus
31383 }
31384 #endif
31385
31386 int
31387 main ()
31388 {
31389 return f != $ac_func;
31390 ;
31391 return 0;
31392 }
31393 _ACEOF
31394 rm -f conftest.$ac_objext conftest$ac_exeext
31395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31396 (eval $ac_link) 2>conftest.er1
31397 ac_status=$?
31398 grep -v '^ *+' conftest.er1 >conftest.err
31399 rm -f conftest.er1
31400 cat conftest.err >&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); } &&
31403 { ac_try='test -z "$ac_c_werror_flag"
31404 || test ! -s conftest.err'
31405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406 (eval $ac_try) 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; } &&
31410 { ac_try='test -s conftest$ac_exeext'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; }; then
31416 eval "$as_ac_var=yes"
31417 else
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.$ac_ext >&5
31420
31421 eval "$as_ac_var=no"
31422 fi
31423 rm -f conftest.err conftest.$ac_objext \
31424 conftest$ac_exeext conftest.$ac_ext
31425 fi
31426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31428 if test `eval echo '${'$as_ac_var'}'` = yes; then
31429 cat >>confdefs.h <<_ACEOF
31430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31431 _ACEOF
31432 break
31433 fi
31434 done
31435
31436
31437 HAVE_SOME_SLEEP_FUNC=0
31438 if test "$USE_BEOS" = 1; then
31439 cat >>confdefs.h <<\_ACEOF
31440 #define HAVE_SLEEP 1
31441 _ACEOF
31442
31443 HAVE_SOME_SLEEP_FUNC=1
31444 fi
31445
31446 if test "$USE_DARWIN" = 1; then
31447 cat >>confdefs.h <<\_ACEOF
31448 #define HAVE_USLEEP 1
31449 _ACEOF
31450
31451 HAVE_SOME_SLEEP_FUNC=1
31452 fi
31453
31454 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31455 POSIX4_LINK=
31456
31457 for ac_func in nanosleep
31458 do
31459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31460 echo "$as_me:$LINENO: checking for $ac_func" >&5
31461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31462 if eval "test \"\${$as_ac_var+set}\" = set"; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31464 else
31465 cat >conftest.$ac_ext <<_ACEOF
31466 /* confdefs.h. */
31467 _ACEOF
31468 cat confdefs.h >>conftest.$ac_ext
31469 cat >>conftest.$ac_ext <<_ACEOF
31470 /* end confdefs.h. */
31471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31473 #define $ac_func innocuous_$ac_func
31474
31475 /* System header to define __stub macros and hopefully few prototypes,
31476 which can conflict with char $ac_func (); below.
31477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31478 <limits.h> exists even on freestanding compilers. */
31479
31480 #ifdef __STDC__
31481 # include <limits.h>
31482 #else
31483 # include <assert.h>
31484 #endif
31485
31486 #undef $ac_func
31487
31488 /* Override any gcc2 internal prototype to avoid an error. */
31489 #ifdef __cplusplus
31490 extern "C"
31491 {
31492 #endif
31493 /* We use char because int might match the return type of a gcc2
31494 builtin and then its argument prototype would still apply. */
31495 char $ac_func ();
31496 /* The GNU C library defines this for functions which it implements
31497 to always fail with ENOSYS. Some functions are actually named
31498 something starting with __ and the normal name is an alias. */
31499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31500 choke me
31501 #else
31502 char (*f) () = $ac_func;
31503 #endif
31504 #ifdef __cplusplus
31505 }
31506 #endif
31507
31508 int
31509 main ()
31510 {
31511 return f != $ac_func;
31512 ;
31513 return 0;
31514 }
31515 _ACEOF
31516 rm -f conftest.$ac_objext conftest$ac_exeext
31517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31518 (eval $ac_link) 2>conftest.er1
31519 ac_status=$?
31520 grep -v '^ *+' conftest.er1 >conftest.err
31521 rm -f conftest.er1
31522 cat conftest.err >&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } &&
31525 { ac_try='test -z "$ac_c_werror_flag"
31526 || test ! -s conftest.err'
31527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 (eval $ac_try) 2>&5
31529 ac_status=$?
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; } &&
31532 { ac_try='test -s conftest$ac_exeext'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31535 ac_status=$?
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; }; then
31538 eval "$as_ac_var=yes"
31539 else
31540 echo "$as_me: failed program was:" >&5
31541 sed 's/^/| /' conftest.$ac_ext >&5
31542
31543 eval "$as_ac_var=no"
31544 fi
31545 rm -f conftest.err conftest.$ac_objext \
31546 conftest$ac_exeext conftest.$ac_ext
31547 fi
31548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31550 if test `eval echo '${'$as_ac_var'}'` = yes; then
31551 cat >>confdefs.h <<_ACEOF
31552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31553 _ACEOF
31554 cat >>confdefs.h <<\_ACEOF
31555 #define HAVE_NANOSLEEP 1
31556 _ACEOF
31557
31558 else
31559
31560 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31561 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31562 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31563 echo $ECHO_N "(cached) $ECHO_C" >&6
31564 else
31565 ac_check_lib_save_LIBS=$LIBS
31566 LIBS="-lposix4 $LIBS"
31567 cat >conftest.$ac_ext <<_ACEOF
31568 /* confdefs.h. */
31569 _ACEOF
31570 cat confdefs.h >>conftest.$ac_ext
31571 cat >>conftest.$ac_ext <<_ACEOF
31572 /* end confdefs.h. */
31573
31574 /* Override any gcc2 internal prototype to avoid an error. */
31575 #ifdef __cplusplus
31576 extern "C"
31577 #endif
31578 /* We use char because int might match the return type of a gcc2
31579 builtin and then its argument prototype would still apply. */
31580 char nanosleep ();
31581 int
31582 main ()
31583 {
31584 nanosleep ();
31585 ;
31586 return 0;
31587 }
31588 _ACEOF
31589 rm -f conftest.$ac_objext conftest$ac_exeext
31590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31591 (eval $ac_link) 2>conftest.er1
31592 ac_status=$?
31593 grep -v '^ *+' conftest.er1 >conftest.err
31594 rm -f conftest.er1
31595 cat conftest.err >&5
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); } &&
31598 { ac_try='test -z "$ac_c_werror_flag"
31599 || test ! -s conftest.err'
31600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31601 (eval $ac_try) 2>&5
31602 ac_status=$?
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); }; } &&
31605 { ac_try='test -s conftest$ac_exeext'
31606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31607 (eval $ac_try) 2>&5
31608 ac_status=$?
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); }; }; then
31611 ac_cv_lib_posix4_nanosleep=yes
31612 else
31613 echo "$as_me: failed program was:" >&5
31614 sed 's/^/| /' conftest.$ac_ext >&5
31615
31616 ac_cv_lib_posix4_nanosleep=no
31617 fi
31618 rm -f conftest.err conftest.$ac_objext \
31619 conftest$ac_exeext conftest.$ac_ext
31620 LIBS=$ac_check_lib_save_LIBS
31621 fi
31622 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31623 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31624 if test $ac_cv_lib_posix4_nanosleep = yes; then
31625
31626 cat >>confdefs.h <<\_ACEOF
31627 #define HAVE_NANOSLEEP 1
31628 _ACEOF
31629
31630 POSIX4_LINK=" -lposix4"
31631
31632 else
31633
31634
31635 for ac_func in usleep
31636 do
31637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31638 echo "$as_me:$LINENO: checking for $ac_func" >&5
31639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31640 if eval "test \"\${$as_ac_var+set}\" = set"; then
31641 echo $ECHO_N "(cached) $ECHO_C" >&6
31642 else
31643 cat >conftest.$ac_ext <<_ACEOF
31644 /* confdefs.h. */
31645 _ACEOF
31646 cat confdefs.h >>conftest.$ac_ext
31647 cat >>conftest.$ac_ext <<_ACEOF
31648 /* end confdefs.h. */
31649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31651 #define $ac_func innocuous_$ac_func
31652
31653 /* System header to define __stub macros and hopefully few prototypes,
31654 which can conflict with char $ac_func (); below.
31655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31656 <limits.h> exists even on freestanding compilers. */
31657
31658 #ifdef __STDC__
31659 # include <limits.h>
31660 #else
31661 # include <assert.h>
31662 #endif
31663
31664 #undef $ac_func
31665
31666 /* Override any gcc2 internal prototype to avoid an error. */
31667 #ifdef __cplusplus
31668 extern "C"
31669 {
31670 #endif
31671 /* We use char because int might match the return type of a gcc2
31672 builtin and then its argument prototype would still apply. */
31673 char $ac_func ();
31674 /* The GNU C library defines this for functions which it implements
31675 to always fail with ENOSYS. Some functions are actually named
31676 something starting with __ and the normal name is an alias. */
31677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31678 choke me
31679 #else
31680 char (*f) () = $ac_func;
31681 #endif
31682 #ifdef __cplusplus
31683 }
31684 #endif
31685
31686 int
31687 main ()
31688 {
31689 return f != $ac_func;
31690 ;
31691 return 0;
31692 }
31693 _ACEOF
31694 rm -f conftest.$ac_objext conftest$ac_exeext
31695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31696 (eval $ac_link) 2>conftest.er1
31697 ac_status=$?
31698 grep -v '^ *+' conftest.er1 >conftest.err
31699 rm -f conftest.er1
31700 cat conftest.err >&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } &&
31703 { ac_try='test -z "$ac_c_werror_flag"
31704 || test ! -s conftest.err'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31707 ac_status=$?
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; } &&
31710 { ac_try='test -s conftest$ac_exeext'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31713 ac_status=$?
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; }; then
31716 eval "$as_ac_var=yes"
31717 else
31718 echo "$as_me: failed program was:" >&5
31719 sed 's/^/| /' conftest.$ac_ext >&5
31720
31721 eval "$as_ac_var=no"
31722 fi
31723 rm -f conftest.err conftest.$ac_objext \
31724 conftest$ac_exeext conftest.$ac_ext
31725 fi
31726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31728 if test `eval echo '${'$as_ac_var'}'` = yes; then
31729 cat >>confdefs.h <<_ACEOF
31730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31731 _ACEOF
31732 cat >>confdefs.h <<\_ACEOF
31733 #define HAVE_USLEEP 1
31734 _ACEOF
31735
31736 else
31737 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31738 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31739
31740 fi
31741 done
31742
31743
31744
31745 fi
31746
31747
31748
31749 fi
31750 done
31751
31752 fi
31753
31754
31755
31756 for ac_func in uname gethostname
31757 do
31758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31759 echo "$as_me:$LINENO: checking for $ac_func" >&5
31760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31761 if eval "test \"\${$as_ac_var+set}\" = set"; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31763 else
31764 cat >conftest.$ac_ext <<_ACEOF
31765 /* confdefs.h. */
31766 _ACEOF
31767 cat confdefs.h >>conftest.$ac_ext
31768 cat >>conftest.$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31772 #define $ac_func innocuous_$ac_func
31773
31774 /* System header to define __stub macros and hopefully few prototypes,
31775 which can conflict with char $ac_func (); below.
31776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31777 <limits.h> exists even on freestanding compilers. */
31778
31779 #ifdef __STDC__
31780 # include <limits.h>
31781 #else
31782 # include <assert.h>
31783 #endif
31784
31785 #undef $ac_func
31786
31787 /* Override any gcc2 internal prototype to avoid an error. */
31788 #ifdef __cplusplus
31789 extern "C"
31790 {
31791 #endif
31792 /* We use char because int might match the return type of a gcc2
31793 builtin and then its argument prototype would still apply. */
31794 char $ac_func ();
31795 /* The GNU C library defines this for functions which it implements
31796 to always fail with ENOSYS. Some functions are actually named
31797 something starting with __ and the normal name is an alias. */
31798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31799 choke me
31800 #else
31801 char (*f) () = $ac_func;
31802 #endif
31803 #ifdef __cplusplus
31804 }
31805 #endif
31806
31807 int
31808 main ()
31809 {
31810 return f != $ac_func;
31811 ;
31812 return 0;
31813 }
31814 _ACEOF
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31817 (eval $ac_link) 2>conftest.er1
31818 ac_status=$?
31819 grep -v '^ *+' conftest.er1 >conftest.err
31820 rm -f conftest.er1
31821 cat conftest.err >&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); } &&
31824 { ac_try='test -z "$ac_c_werror_flag"
31825 || test ! -s conftest.err'
31826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31827 (eval $ac_try) 2>&5
31828 ac_status=$?
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); }; } &&
31831 { ac_try='test -s conftest$ac_exeext'
31832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31833 (eval $ac_try) 2>&5
31834 ac_status=$?
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; }; then
31837 eval "$as_ac_var=yes"
31838 else
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31841
31842 eval "$as_ac_var=no"
31843 fi
31844 rm -f conftest.err conftest.$ac_objext \
31845 conftest$ac_exeext conftest.$ac_ext
31846 fi
31847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31849 if test `eval echo '${'$as_ac_var'}'` = yes; then
31850 cat >>confdefs.h <<_ACEOF
31851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31852 _ACEOF
31853 break
31854 fi
31855 done
31856
31857
31858
31859
31860 ac_ext=cc
31861 ac_cpp='$CXXCPP $CPPFLAGS'
31862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31865
31866
31867
31868 for ac_func in strtok_r
31869 do
31870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31871 echo "$as_me:$LINENO: checking for $ac_func" >&5
31872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31873 if eval "test \"\${$as_ac_var+set}\" = set"; then
31874 echo $ECHO_N "(cached) $ECHO_C" >&6
31875 else
31876 cat >conftest.$ac_ext <<_ACEOF
31877 /* confdefs.h. */
31878 _ACEOF
31879 cat confdefs.h >>conftest.$ac_ext
31880 cat >>conftest.$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31884 #define $ac_func innocuous_$ac_func
31885
31886 /* System header to define __stub macros and hopefully few prototypes,
31887 which can conflict with char $ac_func (); below.
31888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31889 <limits.h> exists even on freestanding compilers. */
31890
31891 #ifdef __STDC__
31892 # include <limits.h>
31893 #else
31894 # include <assert.h>
31895 #endif
31896
31897 #undef $ac_func
31898
31899 /* Override any gcc2 internal prototype to avoid an error. */
31900 #ifdef __cplusplus
31901 extern "C"
31902 {
31903 #endif
31904 /* We use char because int might match the return type of a gcc2
31905 builtin and then its argument prototype would still apply. */
31906 char $ac_func ();
31907 /* The GNU C library defines this for functions which it implements
31908 to always fail with ENOSYS. Some functions are actually named
31909 something starting with __ and the normal name is an alias. */
31910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31911 choke me
31912 #else
31913 char (*f) () = $ac_func;
31914 #endif
31915 #ifdef __cplusplus
31916 }
31917 #endif
31918
31919 int
31920 main ()
31921 {
31922 return f != $ac_func;
31923 ;
31924 return 0;
31925 }
31926 _ACEOF
31927 rm -f conftest.$ac_objext conftest$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>conftest.er1
31930 ac_status=$?
31931 grep -v '^ *+' conftest.er1 >conftest.err
31932 rm -f conftest.er1
31933 cat conftest.err >&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } &&
31936 { ac_try='test -z "$ac_cxx_werror_flag"
31937 || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 eval "$as_ac_var=yes"
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 eval "$as_ac_var=no"
31955 fi
31956 rm -f conftest.err conftest.$ac_objext \
31957 conftest$ac_exeext conftest.$ac_ext
31958 fi
31959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31961 if test `eval echo '${'$as_ac_var'}'` = yes; then
31962 cat >>confdefs.h <<_ACEOF
31963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31964 _ACEOF
31965
31966 fi
31967 done
31968
31969
31970 ac_ext=c
31971 ac_cpp='$CPP $CPPFLAGS'
31972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31975
31976
31977 INET_LINK=
31978
31979 for ac_func in inet_addr
31980 do
31981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31982 echo "$as_me:$LINENO: checking for $ac_func" >&5
31983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31984 if eval "test \"\${$as_ac_var+set}\" = set"; then
31985 echo $ECHO_N "(cached) $ECHO_C" >&6
31986 else
31987 cat >conftest.$ac_ext <<_ACEOF
31988 /* confdefs.h. */
31989 _ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31995 #define $ac_func innocuous_$ac_func
31996
31997 /* System header to define __stub macros and hopefully few prototypes,
31998 which can conflict with char $ac_func (); below.
31999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32000 <limits.h> exists even on freestanding compilers. */
32001
32002 #ifdef __STDC__
32003 # include <limits.h>
32004 #else
32005 # include <assert.h>
32006 #endif
32007
32008 #undef $ac_func
32009
32010 /* Override any gcc2 internal prototype to avoid an error. */
32011 #ifdef __cplusplus
32012 extern "C"
32013 {
32014 #endif
32015 /* We use char because int might match the return type of a gcc2
32016 builtin and then its argument prototype would still apply. */
32017 char $ac_func ();
32018 /* The GNU C library defines this for functions which it implements
32019 to always fail with ENOSYS. Some functions are actually named
32020 something starting with __ and the normal name is an alias. */
32021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32022 choke me
32023 #else
32024 char (*f) () = $ac_func;
32025 #endif
32026 #ifdef __cplusplus
32027 }
32028 #endif
32029
32030 int
32031 main ()
32032 {
32033 return f != $ac_func;
32034 ;
32035 return 0;
32036 }
32037 _ACEOF
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040 (eval $ac_link) 2>conftest.er1
32041 ac_status=$?
32042 grep -v '^ *+' conftest.er1 >conftest.err
32043 rm -f conftest.er1
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } &&
32047 { ac_try='test -z "$ac_c_werror_flag"
32048 || test ! -s conftest.err'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32051 ac_status=$?
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } &&
32054 { ac_try='test -s conftest$ac_exeext'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32057 ac_status=$?
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; }; then
32060 eval "$as_ac_var=yes"
32061 else
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32064
32065 eval "$as_ac_var=no"
32066 fi
32067 rm -f conftest.err conftest.$ac_objext \
32068 conftest$ac_exeext conftest.$ac_ext
32069 fi
32070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32072 if test `eval echo '${'$as_ac_var'}'` = yes; then
32073 cat >>confdefs.h <<_ACEOF
32074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32075 _ACEOF
32076 cat >>confdefs.h <<\_ACEOF
32077 #define HAVE_INET_ADDR 1
32078 _ACEOF
32079
32080 else
32081
32082 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32083 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32084 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32085 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 else
32087 ac_check_lib_save_LIBS=$LIBS
32088 LIBS="-lnsl $LIBS"
32089 cat >conftest.$ac_ext <<_ACEOF
32090 /* confdefs.h. */
32091 _ACEOF
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h. */
32095
32096 /* Override any gcc2 internal prototype to avoid an error. */
32097 #ifdef __cplusplus
32098 extern "C"
32099 #endif
32100 /* We use char because int might match the return type of a gcc2
32101 builtin and then its argument prototype would still apply. */
32102 char inet_addr ();
32103 int
32104 main ()
32105 {
32106 inet_addr ();
32107 ;
32108 return 0;
32109 }
32110 _ACEOF
32111 rm -f conftest.$ac_objext conftest$ac_exeext
32112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32113 (eval $ac_link) 2>conftest.er1
32114 ac_status=$?
32115 grep -v '^ *+' conftest.er1 >conftest.err
32116 rm -f conftest.er1
32117 cat conftest.err >&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } &&
32120 { ac_try='test -z "$ac_c_werror_flag"
32121 || test ! -s conftest.err'
32122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123 (eval $ac_try) 2>&5
32124 ac_status=$?
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); }; } &&
32127 { ac_try='test -s conftest$ac_exeext'
32128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32129 (eval $ac_try) 2>&5
32130 ac_status=$?
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); }; }; then
32133 ac_cv_lib_nsl_inet_addr=yes
32134 else
32135 echo "$as_me: failed program was:" >&5
32136 sed 's/^/| /' conftest.$ac_ext >&5
32137
32138 ac_cv_lib_nsl_inet_addr=no
32139 fi
32140 rm -f conftest.err conftest.$ac_objext \
32141 conftest$ac_exeext conftest.$ac_ext
32142 LIBS=$ac_check_lib_save_LIBS
32143 fi
32144 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32145 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32146 if test $ac_cv_lib_nsl_inet_addr = yes; then
32147 INET_LINK="nsl"
32148 else
32149
32150 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32151 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32152 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32155 ac_check_lib_save_LIBS=$LIBS
32156 LIBS="-lresolv $LIBS"
32157 cat >conftest.$ac_ext <<_ACEOF
32158 /* confdefs.h. */
32159 _ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32163
32164 /* Override any gcc2 internal prototype to avoid an error. */
32165 #ifdef __cplusplus
32166 extern "C"
32167 #endif
32168 /* We use char because int might match the return type of a gcc2
32169 builtin and then its argument prototype would still apply. */
32170 char inet_addr ();
32171 int
32172 main ()
32173 {
32174 inet_addr ();
32175 ;
32176 return 0;
32177 }
32178 _ACEOF
32179 rm -f conftest.$ac_objext conftest$ac_exeext
32180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32181 (eval $ac_link) 2>conftest.er1
32182 ac_status=$?
32183 grep -v '^ *+' conftest.er1 >conftest.err
32184 rm -f conftest.er1
32185 cat conftest.err >&5
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); } &&
32188 { ac_try='test -z "$ac_c_werror_flag"
32189 || test ! -s conftest.err'
32190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32191 (eval $ac_try) 2>&5
32192 ac_status=$?
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); }; } &&
32195 { ac_try='test -s conftest$ac_exeext'
32196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197 (eval $ac_try) 2>&5
32198 ac_status=$?
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; }; then
32201 ac_cv_lib_resolv_inet_addr=yes
32202 else
32203 echo "$as_me: failed program was:" >&5
32204 sed 's/^/| /' conftest.$ac_ext >&5
32205
32206 ac_cv_lib_resolv_inet_addr=no
32207 fi
32208 rm -f conftest.err conftest.$ac_objext \
32209 conftest$ac_exeext conftest.$ac_ext
32210 LIBS=$ac_check_lib_save_LIBS
32211 fi
32212 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32213 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32214 if test $ac_cv_lib_resolv_inet_addr = yes; then
32215 INET_LINK="resolv"
32216 else
32217
32218 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32219 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32220 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32221 echo $ECHO_N "(cached) $ECHO_C" >&6
32222 else
32223 ac_check_lib_save_LIBS=$LIBS
32224 LIBS="-lsocket $LIBS"
32225 cat >conftest.$ac_ext <<_ACEOF
32226 /* confdefs.h. */
32227 _ACEOF
32228 cat confdefs.h >>conftest.$ac_ext
32229 cat >>conftest.$ac_ext <<_ACEOF
32230 /* end confdefs.h. */
32231
32232 /* Override any gcc2 internal prototype to avoid an error. */
32233 #ifdef __cplusplus
32234 extern "C"
32235 #endif
32236 /* We use char because int might match the return type of a gcc2
32237 builtin and then its argument prototype would still apply. */
32238 char inet_addr ();
32239 int
32240 main ()
32241 {
32242 inet_addr ();
32243 ;
32244 return 0;
32245 }
32246 _ACEOF
32247 rm -f conftest.$ac_objext conftest$ac_exeext
32248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32249 (eval $ac_link) 2>conftest.er1
32250 ac_status=$?
32251 grep -v '^ *+' conftest.er1 >conftest.err
32252 rm -f conftest.er1
32253 cat conftest.err >&5
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); } &&
32256 { ac_try='test -z "$ac_c_werror_flag"
32257 || test ! -s conftest.err'
32258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32259 (eval $ac_try) 2>&5
32260 ac_status=$?
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; } &&
32263 { ac_try='test -s conftest$ac_exeext'
32264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32265 (eval $ac_try) 2>&5
32266 ac_status=$?
32267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268 (exit $ac_status); }; }; then
32269 ac_cv_lib_socket_inet_addr=yes
32270 else
32271 echo "$as_me: failed program was:" >&5
32272 sed 's/^/| /' conftest.$ac_ext >&5
32273
32274 ac_cv_lib_socket_inet_addr=no
32275 fi
32276 rm -f conftest.err conftest.$ac_objext \
32277 conftest$ac_exeext conftest.$ac_ext
32278 LIBS=$ac_check_lib_save_LIBS
32279 fi
32280 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32281 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32282 if test $ac_cv_lib_socket_inet_addr = yes; then
32283 INET_LINK="socket"
32284
32285 fi
32286
32287
32288
32289 fi
32290
32291
32292
32293 fi
32294
32295
32296
32297 fi
32298 done
32299
32300
32301
32302 for ac_func in inet_aton
32303 do
32304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32305 echo "$as_me:$LINENO: checking for $ac_func" >&5
32306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32307 if eval "test \"\${$as_ac_var+set}\" = set"; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 else
32310 cat >conftest.$ac_ext <<_ACEOF
32311 /* confdefs.h. */
32312 _ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32318 #define $ac_func innocuous_$ac_func
32319
32320 /* System header to define __stub macros and hopefully few prototypes,
32321 which can conflict with char $ac_func (); below.
32322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32323 <limits.h> exists even on freestanding compilers. */
32324
32325 #ifdef __STDC__
32326 # include <limits.h>
32327 #else
32328 # include <assert.h>
32329 #endif
32330
32331 #undef $ac_func
32332
32333 /* Override any gcc2 internal prototype to avoid an error. */
32334 #ifdef __cplusplus
32335 extern "C"
32336 {
32337 #endif
32338 /* We use char because int might match the return type of a gcc2
32339 builtin and then its argument prototype would still apply. */
32340 char $ac_func ();
32341 /* The GNU C library defines this for functions which it implements
32342 to always fail with ENOSYS. Some functions are actually named
32343 something starting with __ and the normal name is an alias. */
32344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32345 choke me
32346 #else
32347 char (*f) () = $ac_func;
32348 #endif
32349 #ifdef __cplusplus
32350 }
32351 #endif
32352
32353 int
32354 main ()
32355 {
32356 return f != $ac_func;
32357 ;
32358 return 0;
32359 }
32360 _ACEOF
32361 rm -f conftest.$ac_objext conftest$ac_exeext
32362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32363 (eval $ac_link) 2>conftest.er1
32364 ac_status=$?
32365 grep -v '^ *+' conftest.er1 >conftest.err
32366 rm -f conftest.er1
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } &&
32370 { ac_try='test -z "$ac_c_werror_flag"
32371 || test ! -s conftest.err'
32372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32373 (eval $ac_try) 2>&5
32374 ac_status=$?
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); }; } &&
32377 { ac_try='test -s conftest$ac_exeext'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32380 ac_status=$?
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; }; then
32383 eval "$as_ac_var=yes"
32384 else
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32387
32388 eval "$as_ac_var=no"
32389 fi
32390 rm -f conftest.err conftest.$ac_objext \
32391 conftest$ac_exeext conftest.$ac_ext
32392 fi
32393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32395 if test `eval echo '${'$as_ac_var'}'` = yes; then
32396 cat >>confdefs.h <<_ACEOF
32397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32398 _ACEOF
32399 cat >>confdefs.h <<\_ACEOF
32400 #define HAVE_INET_ATON 1
32401 _ACEOF
32402
32403 else
32404
32405 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32406 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32407 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32408 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32409 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 else
32411 ac_check_lib_save_LIBS=$LIBS
32412 LIBS="-l$INET_LINK $LIBS"
32413 cat >conftest.$ac_ext <<_ACEOF
32414 /* confdefs.h. */
32415 _ACEOF
32416 cat confdefs.h >>conftest.$ac_ext
32417 cat >>conftest.$ac_ext <<_ACEOF
32418 /* end confdefs.h. */
32419
32420 /* Override any gcc2 internal prototype to avoid an error. */
32421 #ifdef __cplusplus
32422 extern "C"
32423 #endif
32424 /* We use char because int might match the return type of a gcc2
32425 builtin and then its argument prototype would still apply. */
32426 char inet_aton ();
32427 int
32428 main ()
32429 {
32430 inet_aton ();
32431 ;
32432 return 0;
32433 }
32434 _ACEOF
32435 rm -f conftest.$ac_objext conftest$ac_exeext
32436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32437 (eval $ac_link) 2>conftest.er1
32438 ac_status=$?
32439 grep -v '^ *+' conftest.er1 >conftest.err
32440 rm -f conftest.er1
32441 cat conftest.err >&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); } &&
32444 { ac_try='test -z "$ac_c_werror_flag"
32445 || test ! -s conftest.err'
32446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32447 (eval $ac_try) 2>&5
32448 ac_status=$?
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); }; } &&
32451 { ac_try='test -s conftest$ac_exeext'
32452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32453 (eval $ac_try) 2>&5
32454 ac_status=$?
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); }; }; then
32457 eval "$as_ac_Lib=yes"
32458 else
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.$ac_ext >&5
32461
32462 eval "$as_ac_Lib=no"
32463 fi
32464 rm -f conftest.err conftest.$ac_objext \
32465 conftest$ac_exeext conftest.$ac_ext
32466 LIBS=$ac_check_lib_save_LIBS
32467 fi
32468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32469 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32470 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32471 cat >>confdefs.h <<\_ACEOF
32472 #define HAVE_INET_ATON 1
32473 _ACEOF
32474
32475 fi
32476
32477
32478 fi
32479 done
32480
32481
32482 if test "x$INET_LINK" != "x"; then
32483 cat >>confdefs.h <<\_ACEOF
32484 #define HAVE_INET_ADDR 1
32485 _ACEOF
32486
32487 INET_LINK=" -l$INET_LINK"
32488 fi
32489
32490 fi
32491
32492
32493
32494 EXTRALIBS_ESD=
32495 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32496 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32497 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32498 echo $ECHO_N "(cached) $ECHO_C" >&6
32499 else
32500 ac_check_lib_save_LIBS=$LIBS
32501 LIBS="-lesd $LIBS"
32502 cat >conftest.$ac_ext <<_ACEOF
32503 /* confdefs.h. */
32504 _ACEOF
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32508
32509 /* Override any gcc2 internal prototype to avoid an error. */
32510 #ifdef __cplusplus
32511 extern "C"
32512 #endif
32513 /* We use char because int might match the return type of a gcc2
32514 builtin and then its argument prototype would still apply. */
32515 char esd_close ();
32516 int
32517 main ()
32518 {
32519 esd_close ();
32520 ;
32521 return 0;
32522 }
32523 _ACEOF
32524 rm -f conftest.$ac_objext conftest$ac_exeext
32525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32526 (eval $ac_link) 2>conftest.er1
32527 ac_status=$?
32528 grep -v '^ *+' conftest.er1 >conftest.err
32529 rm -f conftest.er1
32530 cat conftest.err >&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } &&
32533 { ac_try='test -z "$ac_c_werror_flag"
32534 || test ! -s conftest.err'
32535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32536 (eval $ac_try) 2>&5
32537 ac_status=$?
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); }; } &&
32540 { ac_try='test -s conftest$ac_exeext'
32541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32542 (eval $ac_try) 2>&5
32543 ac_status=$?
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); }; }; then
32546 ac_cv_lib_esd_esd_close=yes
32547 else
32548 echo "$as_me: failed program was:" >&5
32549 sed 's/^/| /' conftest.$ac_ext >&5
32550
32551 ac_cv_lib_esd_esd_close=no
32552 fi
32553 rm -f conftest.err conftest.$ac_objext \
32554 conftest$ac_exeext conftest.$ac_ext
32555 LIBS=$ac_check_lib_save_LIBS
32556 fi
32557 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32558 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32559 if test $ac_cv_lib_esd_esd_close = yes; then
32560
32561
32562 for ac_header in esd.h
32563 do
32564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32566 echo "$as_me:$LINENO: checking for $ac_header" >&5
32567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 fi
32571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32573 else
32574 # Is the header compilable?
32575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32577 cat >conftest.$ac_ext <<_ACEOF
32578 /* confdefs.h. */
32579 _ACEOF
32580 cat confdefs.h >>conftest.$ac_ext
32581 cat >>conftest.$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32583 $ac_includes_default
32584 #include <$ac_header>
32585 _ACEOF
32586 rm -f conftest.$ac_objext
32587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32588 (eval $ac_compile) 2>conftest.er1
32589 ac_status=$?
32590 grep -v '^ *+' conftest.er1 >conftest.err
32591 rm -f conftest.er1
32592 cat conftest.err >&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } &&
32595 { ac_try='test -z "$ac_c_werror_flag"
32596 || test ! -s conftest.err'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32599 ac_status=$?
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; } &&
32602 { ac_try='test -s conftest.$ac_objext'
32603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32604 (eval $ac_try) 2>&5
32605 ac_status=$?
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); }; }; then
32608 ac_header_compiler=yes
32609 else
32610 echo "$as_me: failed program was:" >&5
32611 sed 's/^/| /' conftest.$ac_ext >&5
32612
32613 ac_header_compiler=no
32614 fi
32615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32617 echo "${ECHO_T}$ac_header_compiler" >&6
32618
32619 # Is the header present?
32620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32622 cat >conftest.$ac_ext <<_ACEOF
32623 /* confdefs.h. */
32624 _ACEOF
32625 cat confdefs.h >>conftest.$ac_ext
32626 cat >>conftest.$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32628 #include <$ac_header>
32629 _ACEOF
32630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32631 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32632 ac_status=$?
32633 grep -v '^ *+' conftest.er1 >conftest.err
32634 rm -f conftest.er1
32635 cat conftest.err >&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); } >/dev/null; then
32638 if test -s conftest.err; then
32639 ac_cpp_err=$ac_c_preproc_warn_flag
32640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32641 else
32642 ac_cpp_err=
32643 fi
32644 else
32645 ac_cpp_err=yes
32646 fi
32647 if test -z "$ac_cpp_err"; then
32648 ac_header_preproc=yes
32649 else
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.$ac_ext >&5
32652
32653 ac_header_preproc=no
32654 fi
32655 rm -f conftest.err conftest.$ac_ext
32656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32657 echo "${ECHO_T}$ac_header_preproc" >&6
32658
32659 # So? What about this header?
32660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32661 yes:no: )
32662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32666 ac_header_preproc=yes
32667 ;;
32668 no:yes:* )
32669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32681 (
32682 cat <<\_ASBOX
32683 ## ----------------------------------------- ##
32684 ## Report this to wx-dev@lists.wxwidgets.org ##
32685 ## ----------------------------------------- ##
32686 _ASBOX
32687 ) |
32688 sed "s/^/$as_me: WARNING: /" >&2
32689 ;;
32690 esac
32691 echo "$as_me:$LINENO: checking for $ac_header" >&5
32692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 else
32696 eval "$as_ac_Header=\$ac_header_preproc"
32697 fi
32698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32700
32701 fi
32702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32703 cat >>confdefs.h <<_ACEOF
32704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32705 _ACEOF
32706
32707 EXTRALIBS_ESD="-lesd"
32708
32709 fi
32710
32711 done
32712
32713
32714 fi
32715
32716
32717
32718 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32719 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32720 cat >conftest.$ac_ext <<_ACEOF
32721 /* confdefs.h. */
32722 _ACEOF
32723 cat confdefs.h >>conftest.$ac_ext
32724 cat >>conftest.$ac_ext <<_ACEOF
32725 /* end confdefs.h. */
32726 #ifdef __linux__
32727 #include <linux/cdrom.h>
32728 #else
32729 /* For Solaris */
32730 #include <sys/cdio.h>
32731 #endif
32732
32733 int
32734 main ()
32735 {
32736 struct cdrom_tocentry entry, old_entry;
32737 ;
32738 return 0;
32739 }
32740 _ACEOF
32741 rm -f conftest.$ac_objext
32742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32743 (eval $ac_compile) 2>conftest.er1
32744 ac_status=$?
32745 grep -v '^ *+' conftest.er1 >conftest.err
32746 rm -f conftest.er1
32747 cat conftest.err >&5
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); } &&
32750 { ac_try='test -z "$ac_c_werror_flag"
32751 || test ! -s conftest.err'
32752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32753 (eval $ac_try) 2>&5
32754 ac_status=$?
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); }; } &&
32757 { ac_try='test -s conftest.$ac_objext'
32758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32759 (eval $ac_try) 2>&5
32760 ac_status=$?
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); }; }; then
32763 echo "$as_me:$LINENO: result: yes" >&5
32764 echo "${ECHO_T}yes" >&6
32765 cat >>confdefs.h <<\_ACEOF
32766 #define HAVE_KNOWN_CDROM_INTERFACE 1
32767 _ACEOF
32768
32769 else
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32772
32773 echo "$as_me:$LINENO: result: no" >&5
32774 echo "${ECHO_T}no" >&6
32775 fi
32776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32777
32778
32779 cat >confcache <<\_ACEOF
32780 # This file is a shell script that caches the results of configure
32781 # tests run on this system so they can be shared between configure
32782 # scripts and configure runs, see configure's option --config-cache.
32783 # It is not useful on other systems. If it contains results you don't
32784 # want to keep, you may remove or edit it.
32785 #
32786 # config.status only pays attention to the cache file if you give it
32787 # the --recheck option to rerun configure.
32788 #
32789 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32790 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32791 # following values.
32792
32793 _ACEOF
32794
32795 # The following way of writing the cache mishandles newlines in values,
32796 # but we know of no workaround that is simple, portable, and efficient.
32797 # So, don't put newlines in cache variables' values.
32798 # Ultrix sh set writes to stderr and can't be redirected directly,
32799 # and sets the high bit in the cache file unless we assign to the vars.
32800 {
32801 (set) 2>&1 |
32802 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32803 *ac_space=\ *)
32804 # `set' does not quote correctly, so add quotes (double-quote
32805 # substitution turns \\\\ into \\, and sed turns \\ into \).
32806 sed -n \
32807 "s/'/'\\\\''/g;
32808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32809 ;;
32810 *)
32811 # `set' quotes correctly as required by POSIX, so do not add quotes.
32812 sed -n \
32813 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32814 ;;
32815 esac;
32816 } |
32817 sed '
32818 t clear
32819 : clear
32820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32821 t end
32822 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32823 : end' >>confcache
32824 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32825 if test -w $cache_file; then
32826 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32827 cat confcache >$cache_file
32828 else
32829 echo "not updating unwritable cache $cache_file"
32830 fi
32831 fi
32832 rm -f confcache
32833
32834
32835 CPP_MT_FLAG=
32836 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32837
32838
32839 THREADS_LINK=
32840 THREADS_CFLAGS=
32841
32842 if test "$wxUSE_THREADS" = "yes" ; then
32843 if test "$USE_BEOS" = 1; then
32844 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32845 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32846 wxUSE_THREADS="no"
32847 fi
32848 fi
32849
32850 if test "$wxUSE_THREADS" = "yes" ; then
32851
32852
32853 THREAD_OPTS="-pthread"
32854 case "${host}" in
32855 *-*-solaris2* | *-*-sunos4* )
32856 if test "x$GCC" = "xyes"; then
32857 THREAD_OPTS="-pthreads $THREAD_OPTS"
32858 else
32859 THREAD_OPTS="-mt $THREAD_OPTS"
32860 fi
32861 ;;
32862 *-*-freebsd*)
32863 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32864 ;;
32865 *-*-darwin* | *-*-cygwin* )
32866 THREAD_OPTS=""
32867 ;;
32868 *-*-aix*)
32869 THREAD_OPTS="pthreads"
32870 ;;
32871 *-hp-hpux* )
32872 if test "x$GCC" != "xyes"; then
32873 THREAD_OPTS=""
32874 fi
32875 ;;
32876
32877 *-*-irix* )
32878 if test "x$GCC" = "xyes"; then
32879 THREAD_OPTS=""
32880 fi
32881 ;;
32882
32883 *-*-*UnixWare*)
32884 if test "x$GCC" != "xyes"; then
32885 THREAD_OPTS="-Ethread"
32886 fi
32887 ;;
32888 esac
32889
32890 THREAD_OPTS="$THREAD_OPTS pthread none"
32891
32892 THREADS_OK=no
32893 for flag in $THREAD_OPTS; do
32894 case $flag in
32895 none)
32896 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32897 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32898 ;;
32899
32900 -*)
32901 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32902 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32903 THREADS_CFLAGS="$flag"
32904 ;;
32905
32906 *)
32907 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32908 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32909 THREADS_LINK="-l$flag"
32910 ;;
32911 esac
32912
32913 save_LIBS="$LIBS"
32914 save_CFLAGS="$CFLAGS"
32915 LIBS="$THREADS_LINK $LIBS"
32916 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32917
32918 cat >conftest.$ac_ext <<_ACEOF
32919 /* confdefs.h. */
32920 _ACEOF
32921 cat confdefs.h >>conftest.$ac_ext
32922 cat >>conftest.$ac_ext <<_ACEOF
32923 /* end confdefs.h. */
32924 #include <pthread.h>
32925 int
32926 main ()
32927 {
32928 pthread_create(0,0,0,0);
32929 ;
32930 return 0;
32931 }
32932 _ACEOF
32933 rm -f conftest.$ac_objext conftest$ac_exeext
32934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32935 (eval $ac_link) 2>conftest.er1
32936 ac_status=$?
32937 grep -v '^ *+' conftest.er1 >conftest.err
32938 rm -f conftest.er1
32939 cat conftest.err >&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); } &&
32942 { ac_try='test -z "$ac_c_werror_flag"
32943 || test ! -s conftest.err'
32944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32945 (eval $ac_try) 2>&5
32946 ac_status=$?
32947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948 (exit $ac_status); }; } &&
32949 { ac_try='test -s conftest$ac_exeext'
32950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32951 (eval $ac_try) 2>&5
32952 ac_status=$?
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); }; }; then
32955 THREADS_OK=yes
32956 else
32957 echo "$as_me: failed program was:" >&5
32958 sed 's/^/| /' conftest.$ac_ext >&5
32959
32960 fi
32961 rm -f conftest.err conftest.$ac_objext \
32962 conftest$ac_exeext conftest.$ac_ext
32963
32964 LIBS="$save_LIBS"
32965 CFLAGS="$save_CFLAGS"
32966
32967 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32968 echo "${ECHO_T}$THREADS_OK" >&6
32969 if test "x$THREADS_OK" = "xyes"; then
32970 break;
32971 fi
32972
32973 THREADS_LINK=""
32974 THREADS_CFLAGS=""
32975 done
32976
32977 if test "x$THREADS_OK" != "xyes"; then
32978 wxUSE_THREADS=no
32979 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32980 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32981 else
32982 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32983 LIBS="$THREADS_LINK $LIBS"
32984
32985 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32986 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32987 flag=no
32988 case "${host}" in
32989 *-aix*)
32990 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32991 flag="-D_THREAD_SAFE"
32992 ;;
32993 *-freebsd*)
32994 flag="-D_THREAD_SAFE"
32995 ;;
32996 *-hp-hpux* )
32997 flag="-D_REENTRANT"
32998 if test "x$GCC" != "xyes"; then
32999 flag="$flag -D_RWSTD_MULTI_THREAD"
33000 fi
33001 ;;
33002 *solaris* | alpha*-osf*)
33003 flag="-D_REENTRANT"
33004 ;;
33005 esac
33006 echo "$as_me:$LINENO: result: ${flag}" >&5
33007 echo "${ECHO_T}${flag}" >&6
33008 if test "x$flag" != xno; then
33009 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
33010 fi
33011
33012 if test "x$THREADS_CFLAGS" != "x"; then
33013 CFLAGS="$CFLAGS $THREADS_CFLAGS"
33014 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
33015 fi
33016 fi
33017 fi
33018
33019 if test "$wxUSE_THREADS" = "yes" ; then
33020
33021 for ac_func in thr_setconcurrency
33022 do
33023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33024 echo "$as_me:$LINENO: checking for $ac_func" >&5
33025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33026 if eval "test \"\${$as_ac_var+set}\" = set"; then
33027 echo $ECHO_N "(cached) $ECHO_C" >&6
33028 else
33029 cat >conftest.$ac_ext <<_ACEOF
33030 /* confdefs.h. */
33031 _ACEOF
33032 cat confdefs.h >>conftest.$ac_ext
33033 cat >>conftest.$ac_ext <<_ACEOF
33034 /* end confdefs.h. */
33035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33037 #define $ac_func innocuous_$ac_func
33038
33039 /* System header to define __stub macros and hopefully few prototypes,
33040 which can conflict with char $ac_func (); below.
33041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33042 <limits.h> exists even on freestanding compilers. */
33043
33044 #ifdef __STDC__
33045 # include <limits.h>
33046 #else
33047 # include <assert.h>
33048 #endif
33049
33050 #undef $ac_func
33051
33052 /* Override any gcc2 internal prototype to avoid an error. */
33053 #ifdef __cplusplus
33054 extern "C"
33055 {
33056 #endif
33057 /* We use char because int might match the return type of a gcc2
33058 builtin and then its argument prototype would still apply. */
33059 char $ac_func ();
33060 /* The GNU C library defines this for functions which it implements
33061 to always fail with ENOSYS. Some functions are actually named
33062 something starting with __ and the normal name is an alias. */
33063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33064 choke me
33065 #else
33066 char (*f) () = $ac_func;
33067 #endif
33068 #ifdef __cplusplus
33069 }
33070 #endif
33071
33072 int
33073 main ()
33074 {
33075 return f != $ac_func;
33076 ;
33077 return 0;
33078 }
33079 _ACEOF
33080 rm -f conftest.$ac_objext conftest$ac_exeext
33081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33082 (eval $ac_link) 2>conftest.er1
33083 ac_status=$?
33084 grep -v '^ *+' conftest.er1 >conftest.err
33085 rm -f conftest.er1
33086 cat conftest.err >&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } &&
33089 { ac_try='test -z "$ac_c_werror_flag"
33090 || test ! -s conftest.err'
33091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092 (eval $ac_try) 2>&5
33093 ac_status=$?
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; } &&
33096 { ac_try='test -s conftest$ac_exeext'
33097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098 (eval $ac_try) 2>&5
33099 ac_status=$?
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; }; then
33102 eval "$as_ac_var=yes"
33103 else
33104 echo "$as_me: failed program was:" >&5
33105 sed 's/^/| /' conftest.$ac_ext >&5
33106
33107 eval "$as_ac_var=no"
33108 fi
33109 rm -f conftest.err conftest.$ac_objext \
33110 conftest$ac_exeext conftest.$ac_ext
33111 fi
33112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33114 if test `eval echo '${'$as_ac_var'}'` = yes; then
33115 cat >>confdefs.h <<_ACEOF
33116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33117 _ACEOF
33118
33119 fi
33120 done
33121
33122
33123
33124 for ac_header in sched.h
33125 do
33126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33128 echo "$as_me:$LINENO: checking for $ac_header" >&5
33129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33132 fi
33133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33135 else
33136 # Is the header compilable?
33137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33139 cat >conftest.$ac_ext <<_ACEOF
33140 /* confdefs.h. */
33141 _ACEOF
33142 cat confdefs.h >>conftest.$ac_ext
33143 cat >>conftest.$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145 $ac_includes_default
33146 #include <$ac_header>
33147 _ACEOF
33148 rm -f conftest.$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>conftest.er1
33151 ac_status=$?
33152 grep -v '^ *+' conftest.er1 >conftest.err
33153 rm -f conftest.er1
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } &&
33157 { ac_try='test -z "$ac_c_werror_flag"
33158 || test ! -s conftest.err'
33159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33160 (eval $ac_try) 2>&5
33161 ac_status=$?
33162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163 (exit $ac_status); }; } &&
33164 { ac_try='test -s conftest.$ac_objext'
33165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166 (eval $ac_try) 2>&5
33167 ac_status=$?
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); }; }; then
33170 ac_header_compiler=yes
33171 else
33172 echo "$as_me: failed program was:" >&5
33173 sed 's/^/| /' conftest.$ac_ext >&5
33174
33175 ac_header_compiler=no
33176 fi
33177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33179 echo "${ECHO_T}$ac_header_compiler" >&6
33180
33181 # Is the header present?
33182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33184 cat >conftest.$ac_ext <<_ACEOF
33185 /* confdefs.h. */
33186 _ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190 #include <$ac_header>
33191 _ACEOF
33192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33194 ac_status=$?
33195 grep -v '^ *+' conftest.er1 >conftest.err
33196 rm -f conftest.er1
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } >/dev/null; then
33200 if test -s conftest.err; then
33201 ac_cpp_err=$ac_c_preproc_warn_flag
33202 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33203 else
33204 ac_cpp_err=
33205 fi
33206 else
33207 ac_cpp_err=yes
33208 fi
33209 if test -z "$ac_cpp_err"; then
33210 ac_header_preproc=yes
33211 else
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.$ac_ext >&5
33214
33215 ac_header_preproc=no
33216 fi
33217 rm -f conftest.err conftest.$ac_ext
33218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33219 echo "${ECHO_T}$ac_header_preproc" >&6
33220
33221 # So? What about this header?
33222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33223 yes:no: )
33224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33228 ac_header_preproc=yes
33229 ;;
33230 no:yes:* )
33231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33243 (
33244 cat <<\_ASBOX
33245 ## ----------------------------------------- ##
33246 ## Report this to wx-dev@lists.wxwidgets.org ##
33247 ## ----------------------------------------- ##
33248 _ASBOX
33249 ) |
33250 sed "s/^/$as_me: WARNING: /" >&2
33251 ;;
33252 esac
33253 echo "$as_me:$LINENO: checking for $ac_header" >&5
33254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33256 echo $ECHO_N "(cached) $ECHO_C" >&6
33257 else
33258 eval "$as_ac_Header=\$ac_header_preproc"
33259 fi
33260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33262
33263 fi
33264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33265 cat >>confdefs.h <<_ACEOF
33266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33267 _ACEOF
33268
33269 fi
33270
33271 done
33272
33273 if test "$ac_cv_header_sched_h" = "yes"; then
33274 echo "$as_me:$LINENO: checking for sched_yield" >&5
33275 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33276 if test "${ac_cv_func_sched_yield+set}" = set; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 else
33279 cat >conftest.$ac_ext <<_ACEOF
33280 /* confdefs.h. */
33281 _ACEOF
33282 cat confdefs.h >>conftest.$ac_ext
33283 cat >>conftest.$ac_ext <<_ACEOF
33284 /* end confdefs.h. */
33285 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33287 #define sched_yield innocuous_sched_yield
33288
33289 /* System header to define __stub macros and hopefully few prototypes,
33290 which can conflict with char sched_yield (); below.
33291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33292 <limits.h> exists even on freestanding compilers. */
33293
33294 #ifdef __STDC__
33295 # include <limits.h>
33296 #else
33297 # include <assert.h>
33298 #endif
33299
33300 #undef sched_yield
33301
33302 /* Override any gcc2 internal prototype to avoid an error. */
33303 #ifdef __cplusplus
33304 extern "C"
33305 {
33306 #endif
33307 /* We use char because int might match the return type of a gcc2
33308 builtin and then its argument prototype would still apply. */
33309 char sched_yield ();
33310 /* The GNU C library defines this for functions which it implements
33311 to always fail with ENOSYS. Some functions are actually named
33312 something starting with __ and the normal name is an alias. */
33313 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33314 choke me
33315 #else
33316 char (*f) () = sched_yield;
33317 #endif
33318 #ifdef __cplusplus
33319 }
33320 #endif
33321
33322 int
33323 main ()
33324 {
33325 return f != sched_yield;
33326 ;
33327 return 0;
33328 }
33329 _ACEOF
33330 rm -f conftest.$ac_objext conftest$ac_exeext
33331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33332 (eval $ac_link) 2>conftest.er1
33333 ac_status=$?
33334 grep -v '^ *+' conftest.er1 >conftest.err
33335 rm -f conftest.er1
33336 cat conftest.err >&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); } &&
33339 { ac_try='test -z "$ac_c_werror_flag"
33340 || test ! -s conftest.err'
33341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33342 (eval $ac_try) 2>&5
33343 ac_status=$?
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); }; } &&
33346 { ac_try='test -s conftest$ac_exeext'
33347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33348 (eval $ac_try) 2>&5
33349 ac_status=$?
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); }; }; then
33352 ac_cv_func_sched_yield=yes
33353 else
33354 echo "$as_me: failed program was:" >&5
33355 sed 's/^/| /' conftest.$ac_ext >&5
33356
33357 ac_cv_func_sched_yield=no
33358 fi
33359 rm -f conftest.err conftest.$ac_objext \
33360 conftest$ac_exeext conftest.$ac_ext
33361 fi
33362 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33363 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33364 if test $ac_cv_func_sched_yield = yes; then
33365 cat >>confdefs.h <<\_ACEOF
33366 #define HAVE_SCHED_YIELD 1
33367 _ACEOF
33368
33369 else
33370
33371 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33372 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33373 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33374 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 else
33376 ac_check_lib_save_LIBS=$LIBS
33377 LIBS="-lposix4 $LIBS"
33378 cat >conftest.$ac_ext <<_ACEOF
33379 /* confdefs.h. */
33380 _ACEOF
33381 cat confdefs.h >>conftest.$ac_ext
33382 cat >>conftest.$ac_ext <<_ACEOF
33383 /* end confdefs.h. */
33384
33385 /* Override any gcc2 internal prototype to avoid an error. */
33386 #ifdef __cplusplus
33387 extern "C"
33388 #endif
33389 /* We use char because int might match the return type of a gcc2
33390 builtin and then its argument prototype would still apply. */
33391 char sched_yield ();
33392 int
33393 main ()
33394 {
33395 sched_yield ();
33396 ;
33397 return 0;
33398 }
33399 _ACEOF
33400 rm -f conftest.$ac_objext conftest$ac_exeext
33401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33402 (eval $ac_link) 2>conftest.er1
33403 ac_status=$?
33404 grep -v '^ *+' conftest.er1 >conftest.err
33405 rm -f conftest.er1
33406 cat conftest.err >&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } &&
33409 { ac_try='test -z "$ac_c_werror_flag"
33410 || test ! -s conftest.err'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33413 ac_status=$?
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; } &&
33416 { ac_try='test -s conftest$ac_exeext'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33419 ac_status=$?
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; }; then
33422 ac_cv_lib_posix4_sched_yield=yes
33423 else
33424 echo "$as_me: failed program was:" >&5
33425 sed 's/^/| /' conftest.$ac_ext >&5
33426
33427 ac_cv_lib_posix4_sched_yield=no
33428 fi
33429 rm -f conftest.err conftest.$ac_objext \
33430 conftest$ac_exeext conftest.$ac_ext
33431 LIBS=$ac_check_lib_save_LIBS
33432 fi
33433 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33434 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33435 if test $ac_cv_lib_posix4_sched_yield = yes; then
33436 cat >>confdefs.h <<\_ACEOF
33437 #define HAVE_SCHED_YIELD 1
33438 _ACEOF
33439 POSIX4_LINK=" -lposix4"
33440 else
33441 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33442 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33443
33444 fi
33445
33446
33447
33448 fi
33449
33450 fi
33451
33452 HAVE_PRIOR_FUNCS=0
33453 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33454 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33455 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458 cat >conftest.$ac_ext <<_ACEOF
33459 /* confdefs.h. */
33460 _ACEOF
33461 cat confdefs.h >>conftest.$ac_ext
33462 cat >>conftest.$ac_ext <<_ACEOF
33463 /* end confdefs.h. */
33464 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33466 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33467
33468 /* System header to define __stub macros and hopefully few prototypes,
33469 which can conflict with char pthread_attr_getschedpolicy (); below.
33470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33471 <limits.h> exists even on freestanding compilers. */
33472
33473 #ifdef __STDC__
33474 # include <limits.h>
33475 #else
33476 # include <assert.h>
33477 #endif
33478
33479 #undef pthread_attr_getschedpolicy
33480
33481 /* Override any gcc2 internal prototype to avoid an error. */
33482 #ifdef __cplusplus
33483 extern "C"
33484 {
33485 #endif
33486 /* We use char because int might match the return type of a gcc2
33487 builtin and then its argument prototype would still apply. */
33488 char pthread_attr_getschedpolicy ();
33489 /* The GNU C library defines this for functions which it implements
33490 to always fail with ENOSYS. Some functions are actually named
33491 something starting with __ and the normal name is an alias. */
33492 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33493 choke me
33494 #else
33495 char (*f) () = pthread_attr_getschedpolicy;
33496 #endif
33497 #ifdef __cplusplus
33498 }
33499 #endif
33500
33501 int
33502 main ()
33503 {
33504 return f != pthread_attr_getschedpolicy;
33505 ;
33506 return 0;
33507 }
33508 _ACEOF
33509 rm -f conftest.$ac_objext conftest$ac_exeext
33510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33511 (eval $ac_link) 2>conftest.er1
33512 ac_status=$?
33513 grep -v '^ *+' conftest.er1 >conftest.err
33514 rm -f conftest.er1
33515 cat conftest.err >&5
33516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33517 (exit $ac_status); } &&
33518 { ac_try='test -z "$ac_c_werror_flag"
33519 || test ! -s conftest.err'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33522 ac_status=$?
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; } &&
33525 { ac_try='test -s conftest$ac_exeext'
33526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33527 (eval $ac_try) 2>&5
33528 ac_status=$?
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); }; }; then
33531 ac_cv_func_pthread_attr_getschedpolicy=yes
33532 else
33533 echo "$as_me: failed program was:" >&5
33534 sed 's/^/| /' conftest.$ac_ext >&5
33535
33536 ac_cv_func_pthread_attr_getschedpolicy=no
33537 fi
33538 rm -f conftest.err conftest.$ac_objext \
33539 conftest$ac_exeext conftest.$ac_ext
33540 fi
33541 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33542 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33543 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33544 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33545 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33546 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33548 else
33549 cat >conftest.$ac_ext <<_ACEOF
33550 /* confdefs.h. */
33551 _ACEOF
33552 cat confdefs.h >>conftest.$ac_ext
33553 cat >>conftest.$ac_ext <<_ACEOF
33554 /* end confdefs.h. */
33555 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33557 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33558
33559 /* System header to define __stub macros and hopefully few prototypes,
33560 which can conflict with char pthread_attr_setschedparam (); below.
33561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33562 <limits.h> exists even on freestanding compilers. */
33563
33564 #ifdef __STDC__
33565 # include <limits.h>
33566 #else
33567 # include <assert.h>
33568 #endif
33569
33570 #undef pthread_attr_setschedparam
33571
33572 /* Override any gcc2 internal prototype to avoid an error. */
33573 #ifdef __cplusplus
33574 extern "C"
33575 {
33576 #endif
33577 /* We use char because int might match the return type of a gcc2
33578 builtin and then its argument prototype would still apply. */
33579 char pthread_attr_setschedparam ();
33580 /* The GNU C library defines this for functions which it implements
33581 to always fail with ENOSYS. Some functions are actually named
33582 something starting with __ and the normal name is an alias. */
33583 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33584 choke me
33585 #else
33586 char (*f) () = pthread_attr_setschedparam;
33587 #endif
33588 #ifdef __cplusplus
33589 }
33590 #endif
33591
33592 int
33593 main ()
33594 {
33595 return f != pthread_attr_setschedparam;
33596 ;
33597 return 0;
33598 }
33599 _ACEOF
33600 rm -f conftest.$ac_objext conftest$ac_exeext
33601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33602 (eval $ac_link) 2>conftest.er1
33603 ac_status=$?
33604 grep -v '^ *+' conftest.er1 >conftest.err
33605 rm -f conftest.er1
33606 cat conftest.err >&5
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); } &&
33609 { ac_try='test -z "$ac_c_werror_flag"
33610 || test ! -s conftest.err'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33613 ac_status=$?
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; } &&
33616 { ac_try='test -s conftest$ac_exeext'
33617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33618 (eval $ac_try) 2>&5
33619 ac_status=$?
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); }; }; then
33622 ac_cv_func_pthread_attr_setschedparam=yes
33623 else
33624 echo "$as_me: failed program was:" >&5
33625 sed 's/^/| /' conftest.$ac_ext >&5
33626
33627 ac_cv_func_pthread_attr_setschedparam=no
33628 fi
33629 rm -f conftest.err conftest.$ac_objext \
33630 conftest$ac_exeext conftest.$ac_ext
33631 fi
33632 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33633 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33634 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33635 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33636 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33637 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33638 echo $ECHO_N "(cached) $ECHO_C" >&6
33639 else
33640 cat >conftest.$ac_ext <<_ACEOF
33641 /* confdefs.h. */
33642 _ACEOF
33643 cat confdefs.h >>conftest.$ac_ext
33644 cat >>conftest.$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33648 #define sched_get_priority_max innocuous_sched_get_priority_max
33649
33650 /* System header to define __stub macros and hopefully few prototypes,
33651 which can conflict with char sched_get_priority_max (); below.
33652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33653 <limits.h> exists even on freestanding compilers. */
33654
33655 #ifdef __STDC__
33656 # include <limits.h>
33657 #else
33658 # include <assert.h>
33659 #endif
33660
33661 #undef sched_get_priority_max
33662
33663 /* Override any gcc2 internal prototype to avoid an error. */
33664 #ifdef __cplusplus
33665 extern "C"
33666 {
33667 #endif
33668 /* We use char because int might match the return type of a gcc2
33669 builtin and then its argument prototype would still apply. */
33670 char sched_get_priority_max ();
33671 /* The GNU C library defines this for functions which it implements
33672 to always fail with ENOSYS. Some functions are actually named
33673 something starting with __ and the normal name is an alias. */
33674 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33675 choke me
33676 #else
33677 char (*f) () = sched_get_priority_max;
33678 #endif
33679 #ifdef __cplusplus
33680 }
33681 #endif
33682
33683 int
33684 main ()
33685 {
33686 return f != sched_get_priority_max;
33687 ;
33688 return 0;
33689 }
33690 _ACEOF
33691 rm -f conftest.$ac_objext conftest$ac_exeext
33692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33693 (eval $ac_link) 2>conftest.er1
33694 ac_status=$?
33695 grep -v '^ *+' conftest.er1 >conftest.err
33696 rm -f conftest.er1
33697 cat conftest.err >&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try='test -z "$ac_c_werror_flag"
33701 || test ! -s conftest.err'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33704 ac_status=$?
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; } &&
33707 { ac_try='test -s conftest$ac_exeext'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33710 ac_status=$?
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; }; then
33713 ac_cv_func_sched_get_priority_max=yes
33714 else
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33717
33718 ac_cv_func_sched_get_priority_max=no
33719 fi
33720 rm -f conftest.err conftest.$ac_objext \
33721 conftest$ac_exeext conftest.$ac_ext
33722 fi
33723 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33724 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33725 if test $ac_cv_func_sched_get_priority_max = yes; then
33726 HAVE_PRIOR_FUNCS=1
33727 else
33728 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33729 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33730 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 else
33733 ac_check_lib_save_LIBS=$LIBS
33734 LIBS="-lposix4 $LIBS"
33735 cat >conftest.$ac_ext <<_ACEOF
33736 /* confdefs.h. */
33737 _ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741
33742 /* Override any gcc2 internal prototype to avoid an error. */
33743 #ifdef __cplusplus
33744 extern "C"
33745 #endif
33746 /* We use char because int might match the return type of a gcc2
33747 builtin and then its argument prototype would still apply. */
33748 char sched_get_priority_max ();
33749 int
33750 main ()
33751 {
33752 sched_get_priority_max ();
33753 ;
33754 return 0;
33755 }
33756 _ACEOF
33757 rm -f conftest.$ac_objext conftest$ac_exeext
33758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33759 (eval $ac_link) 2>conftest.er1
33760 ac_status=$?
33761 grep -v '^ *+' conftest.er1 >conftest.err
33762 rm -f conftest.er1
33763 cat conftest.err >&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } &&
33766 { ac_try='test -z "$ac_c_werror_flag"
33767 || test ! -s conftest.err'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33770 ac_status=$?
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; } &&
33773 { ac_try='test -s conftest$ac_exeext'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33776 ac_status=$?
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; }; then
33779 ac_cv_lib_posix4_sched_get_priority_max=yes
33780 else
33781 echo "$as_me: failed program was:" >&5
33782 sed 's/^/| /' conftest.$ac_ext >&5
33783
33784 ac_cv_lib_posix4_sched_get_priority_max=no
33785 fi
33786 rm -f conftest.err conftest.$ac_objext \
33787 conftest$ac_exeext conftest.$ac_ext
33788 LIBS=$ac_check_lib_save_LIBS
33789 fi
33790 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33791 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33792 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33793
33794 HAVE_PRIOR_FUNCS=1
33795 POSIX4_LINK=" -lposix4"
33796
33797 fi
33798
33799
33800 fi
33801
33802
33803 fi
33804
33805
33806 fi
33807
33808
33809 if test "$HAVE_PRIOR_FUNCS" = 1; then
33810 cat >>confdefs.h <<\_ACEOF
33811 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33812 _ACEOF
33813
33814 else
33815 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33816 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33817 fi
33818
33819 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33820 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33821 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33822 echo $ECHO_N "(cached) $ECHO_C" >&6
33823 else
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h. */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33832 #define pthread_cancel innocuous_pthread_cancel
33833
33834 /* System header to define __stub macros and hopefully few prototypes,
33835 which can conflict with char pthread_cancel (); below.
33836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33837 <limits.h> exists even on freestanding compilers. */
33838
33839 #ifdef __STDC__
33840 # include <limits.h>
33841 #else
33842 # include <assert.h>
33843 #endif
33844
33845 #undef pthread_cancel
33846
33847 /* Override any gcc2 internal prototype to avoid an error. */
33848 #ifdef __cplusplus
33849 extern "C"
33850 {
33851 #endif
33852 /* We use char because int might match the return type of a gcc2
33853 builtin and then its argument prototype would still apply. */
33854 char pthread_cancel ();
33855 /* The GNU C library defines this for functions which it implements
33856 to always fail with ENOSYS. Some functions are actually named
33857 something starting with __ and the normal name is an alias. */
33858 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33859 choke me
33860 #else
33861 char (*f) () = pthread_cancel;
33862 #endif
33863 #ifdef __cplusplus
33864 }
33865 #endif
33866
33867 int
33868 main ()
33869 {
33870 return f != pthread_cancel;
33871 ;
33872 return 0;
33873 }
33874 _ACEOF
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33877 (eval $ac_link) 2>conftest.er1
33878 ac_status=$?
33879 grep -v '^ *+' conftest.er1 >conftest.err
33880 rm -f conftest.er1
33881 cat conftest.err >&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); } &&
33884 { ac_try='test -z "$ac_c_werror_flag"
33885 || test ! -s conftest.err'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33888 ac_status=$?
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; } &&
33891 { ac_try='test -s conftest$ac_exeext'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33894 ac_status=$?
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; }; then
33897 ac_cv_func_pthread_cancel=yes
33898 else
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33901
33902 ac_cv_func_pthread_cancel=no
33903 fi
33904 rm -f conftest.err conftest.$ac_objext \
33905 conftest$ac_exeext conftest.$ac_ext
33906 fi
33907 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33908 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33909 if test $ac_cv_func_pthread_cancel = yes; then
33910 cat >>confdefs.h <<\_ACEOF
33911 #define HAVE_PTHREAD_CANCEL 1
33912 _ACEOF
33913
33914 else
33915 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33916 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33917 fi
33918
33919
33920
33921
33922 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33923 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33924 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33925 echo $ECHO_N "(cached) $ECHO_C" >&6
33926 else
33927
33928 cat >conftest.$ac_ext <<_ACEOF
33929 /* confdefs.h. */
33930 _ACEOF
33931 cat confdefs.h >>conftest.$ac_ext
33932 cat >>conftest.$ac_ext <<_ACEOF
33933 /* end confdefs.h. */
33934 #include <pthread.h>
33935 int
33936 main ()
33937 {
33938
33939 pthread_mutexattr_t attr;
33940 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33941
33942 ;
33943 return 0;
33944 }
33945 _ACEOF
33946 rm -f conftest.$ac_objext
33947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33948 (eval $ac_compile) 2>conftest.er1
33949 ac_status=$?
33950 grep -v '^ *+' conftest.er1 >conftest.err
33951 rm -f conftest.er1
33952 cat conftest.err >&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); } &&
33955 { ac_try='test -z "$ac_c_werror_flag"
33956 || test ! -s conftest.err'
33957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33958 (eval $ac_try) 2>&5
33959 ac_status=$?
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); }; } &&
33962 { ac_try='test -s conftest.$ac_objext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968
33969 wx_cv_type_pthread_mutexattr_t=yes
33970
33971 else
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.$ac_ext >&5
33974
33975
33976 wx_cv_type_pthread_mutexattr_t=no
33977
33978
33979 fi
33980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33981
33982 fi
33983 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33984 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33985
33986 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33987 cat >>confdefs.h <<\_ACEOF
33988 #define HAVE_PTHREAD_MUTEXATTR_T 1
33989 _ACEOF
33990
33991 else
33992 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33993 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33994 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997
33998 cat >conftest.$ac_ext <<_ACEOF
33999 /* confdefs.h. */
34000 _ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 #include <pthread.h>
34005 int
34006 main ()
34007 {
34008
34009 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34010
34011 ;
34012 return 0;
34013 }
34014 _ACEOF
34015 rm -f conftest.$ac_objext
34016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34017 (eval $ac_compile) 2>conftest.er1
34018 ac_status=$?
34019 grep -v '^ *+' conftest.er1 >conftest.err
34020 rm -f conftest.er1
34021 cat conftest.err >&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); } &&
34024 { ac_try='test -z "$ac_c_werror_flag"
34025 || test ! -s conftest.err'
34026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34027 (eval $ac_try) 2>&5
34028 ac_status=$?
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; } &&
34031 { ac_try='test -s conftest.$ac_objext'
34032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34033 (eval $ac_try) 2>&5
34034 ac_status=$?
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; }; then
34037
34038 wx_cv_type_pthread_rec_mutex_init=yes
34039
34040 else
34041 echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.$ac_ext >&5
34043
34044
34045 wx_cv_type_pthread_rec_mutex_init=no
34046
34047
34048 fi
34049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34050
34051 fi
34052 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34053 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34054 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34055 cat >>confdefs.h <<\_ACEOF
34056 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34057 _ACEOF
34058
34059 else
34060 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34061 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34062 fi
34063 fi
34064 fi
34065
34066 else
34067 if test "$wxUSE_THREADS" = "yes" ; then
34068 case "${host}" in
34069 *-*-mingw32* )
34070 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34071 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34072 if test "${wx_cv_cflags_mthread+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 else
34075
34076 CFLAGS_OLD="$CFLAGS"
34077 CFLAGS="$CFLAGS -mthreads"
34078 cat >conftest.$ac_ext <<_ACEOF
34079 /* confdefs.h. */
34080 _ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084
34085 int
34086 main ()
34087 {
34088
34089 ;
34090 return 0;
34091 }
34092 _ACEOF
34093 rm -f conftest.$ac_objext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34095 (eval $ac_compile) 2>conftest.er1
34096 ac_status=$?
34097 grep -v '^ *+' conftest.er1 >conftest.err
34098 rm -f conftest.er1
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } &&
34102 { ac_try='test -z "$ac_c_werror_flag"
34103 || test ! -s conftest.err'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34106 ac_status=$?
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; } &&
34109 { ac_try='test -s conftest.$ac_objext'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34112 ac_status=$?
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; }; then
34115 wx_cv_cflags_mthread=yes
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34119
34120 wx_cv_cflags_mthread=no
34121
34122 fi
34123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34124
34125
34126 fi
34127 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34128 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34129
34130 if test "$wx_cv_cflags_mthread" = "yes"; then
34131 CXXFLAGS="$CXXFLAGS -mthreads"
34132 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34133 LDFLAGS="$LDFLAGS -mthreads"
34134 else
34135 CFLAGS="$CFLAGS_OLD"
34136 fi
34137 ;;
34138 *-pc-os2*emx )
34139 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34140 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34141 LDFLAGS="$LDFLAGS -Zmt"
34142 ;;
34143 esac
34144 fi
34145 fi
34146
34147 if test "$wxUSE_THREADS" = "yes"; then
34148 cat >>confdefs.h <<\_ACEOF
34149 #define wxUSE_THREADS 1
34150 _ACEOF
34151
34152
34153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
34154 else
34155 if test "$ac_cv_func_strtok_r" = "yes"; then
34156 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34157 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34158 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34159 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
34160 echo "$as_me:$LINENO: result: yes" >&5
34161 echo "${ECHO_T}yes" >&6
34162 else
34163 echo "$as_me:$LINENO: result: no" >&5
34164 echo "${ECHO_T}no" >&6
34165 fi
34166 fi
34167 fi
34168
34169 if test "$WXGTK20" = 1 ; then
34170 cat >>confdefs.h <<_ACEOF
34171 #define __WXGTK20__ $WXGTK20
34172 _ACEOF
34173
34174 WXGTK12=1
34175 fi
34176
34177 if test "$WXGTK12" = 1 ; then
34178 cat >>confdefs.h <<_ACEOF
34179 #define __WXGTK12__ $WXGTK12
34180 _ACEOF
34181
34182 fi
34183
34184 if test "$WXGTK127" = 1 ; then
34185 cat >>confdefs.h <<_ACEOF
34186 #define __WXGTK127__ $WXGTK127
34187 _ACEOF
34188
34189 fi
34190
34191 if test "$WXGPE" = 1 ; then
34192 cat >>confdefs.h <<_ACEOF
34193 #define __WXGPE__ $WXGPE
34194 _ACEOF
34195
34196 fi
34197
34198 WXDEBUG=
34199
34200 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34201 WXDEBUG="-g"
34202 wxUSE_OPTIMISE=no
34203 fi
34204
34205 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34206 wxUSE_DEBUG_INFO=yes
34207 WXDEBUG="-ggdb"
34208 fi
34209
34210 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34211 cat >>confdefs.h <<\_ACEOF
34212 #define WXDEBUG 1
34213 _ACEOF
34214
34215 WXDEBUG_DEFINE="-D__WXDEBUG__"
34216 else
34217 if test "$wxUSE_GTK" = 1 ; then
34218 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
34219 fi
34220 fi
34221
34222 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34223 cat >>confdefs.h <<\_ACEOF
34224 #define wxUSE_MEMORY_TRACING 1
34225 _ACEOF
34226
34227 cat >>confdefs.h <<\_ACEOF
34228 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34229 _ACEOF
34230
34231 cat >>confdefs.h <<\_ACEOF
34232 #define wxUSE_DEBUG_NEW_ALWAYS 1
34233 _ACEOF
34234
34235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
34236 fi
34237
34238 if test "$wxUSE_DMALLOC" = "yes" ; then
34239 DMALLOC_LIBS="-ldmalloc"
34240 fi
34241
34242 PROFILE=
34243 if test "$wxUSE_PROFILE" = "yes" ; then
34244 PROFILE=" -pg"
34245 fi
34246
34247 CODE_GEN_FLAGS=
34248 CODE_GEN_FLAGS_CXX=
34249 if test "$GCC" = "yes" ; then
34250 if test "$wxUSE_NO_RTTI" = "yes" ; then
34251 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
34252 fi
34253 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34254 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34255 fi
34256 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34257 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
34258 fi
34259
34260 case "${host}" in
34261 powerpc*-*-aix* )
34262 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
34263 ;;
34264 *-hppa* )
34265 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
34266 ;;
34267 esac
34268 fi
34269
34270 OPTIMISE=
34271 if test "$wxUSE_OPTIMISE" = "no" ; then
34272 if test "$GCC" = yes ; then
34273 OPTIMISE="-O0"
34274 fi
34275 else
34276 if test "$GCC" = yes ; then
34277 OPTIMISE="-O2"
34278
34279 case "${host}" in
34280 i586-*-*|i686-*-* )
34281 OPTIMISE="${OPTIMISE} "
34282 ;;
34283 esac
34284 else
34285 OPTIMISE="-O"
34286 fi
34287 fi
34288
34289
34290 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define WXWIN_COMPATIBILITY_2_2 1
34293 _ACEOF
34294
34295
34296 WXWIN_COMPATIBILITY_2_4="yes"
34297 fi
34298
34299 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34300 cat >>confdefs.h <<\_ACEOF
34301 #define WXWIN_COMPATIBILITY_2_4 1
34302 _ACEOF
34303
34304 fi
34305
34306
34307 if test "$wxUSE_GUI" = "yes"; then
34308 cat >>confdefs.h <<\_ACEOF
34309 #define wxUSE_GUI 1
34310 _ACEOF
34311
34312
34313 fi
34314
34315
34316 if test "$wxUSE_UNIX" = "yes"; then
34317 cat >>confdefs.h <<\_ACEOF
34318 #define wxUSE_UNIX 1
34319 _ACEOF
34320
34321 fi
34322
34323
34324 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34325
34326 HAVE_DL_FUNCS=0
34327 HAVE_SHL_FUNCS=0
34328 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34329 if test "$USE_DARWIN" = 1; then
34330 HAVE_DL_FUNCS=1
34331 else
34332
34333 for ac_func in dlopen
34334 do
34335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34336 echo "$as_me:$LINENO: checking for $ac_func" >&5
34337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34338 if eval "test \"\${$as_ac_var+set}\" = set"; then
34339 echo $ECHO_N "(cached) $ECHO_C" >&6
34340 else
34341 cat >conftest.$ac_ext <<_ACEOF
34342 /* confdefs.h. */
34343 _ACEOF
34344 cat confdefs.h >>conftest.$ac_ext
34345 cat >>conftest.$ac_ext <<_ACEOF
34346 /* end confdefs.h. */
34347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34349 #define $ac_func innocuous_$ac_func
34350
34351 /* System header to define __stub macros and hopefully few prototypes,
34352 which can conflict with char $ac_func (); below.
34353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34354 <limits.h> exists even on freestanding compilers. */
34355
34356 #ifdef __STDC__
34357 # include <limits.h>
34358 #else
34359 # include <assert.h>
34360 #endif
34361
34362 #undef $ac_func
34363
34364 /* Override any gcc2 internal prototype to avoid an error. */
34365 #ifdef __cplusplus
34366 extern "C"
34367 {
34368 #endif
34369 /* We use char because int might match the return type of a gcc2
34370 builtin and then its argument prototype would still apply. */
34371 char $ac_func ();
34372 /* The GNU C library defines this for functions which it implements
34373 to always fail with ENOSYS. Some functions are actually named
34374 something starting with __ and the normal name is an alias. */
34375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34376 choke me
34377 #else
34378 char (*f) () = $ac_func;
34379 #endif
34380 #ifdef __cplusplus
34381 }
34382 #endif
34383
34384 int
34385 main ()
34386 {
34387 return f != $ac_func;
34388 ;
34389 return 0;
34390 }
34391 _ACEOF
34392 rm -f conftest.$ac_objext conftest$ac_exeext
34393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34394 (eval $ac_link) 2>conftest.er1
34395 ac_status=$?
34396 grep -v '^ *+' conftest.er1 >conftest.err
34397 rm -f conftest.er1
34398 cat conftest.err >&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); } &&
34401 { ac_try='test -z "$ac_c_werror_flag"
34402 || test ! -s conftest.err'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34405 ac_status=$?
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; } &&
34408 { ac_try='test -s conftest$ac_exeext'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34411 ac_status=$?
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; }; then
34414 eval "$as_ac_var=yes"
34415 else
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34418
34419 eval "$as_ac_var=no"
34420 fi
34421 rm -f conftest.err conftest.$ac_objext \
34422 conftest$ac_exeext conftest.$ac_ext
34423 fi
34424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34426 if test `eval echo '${'$as_ac_var'}'` = yes; then
34427 cat >>confdefs.h <<_ACEOF
34428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34429 _ACEOF
34430
34431 cat >>confdefs.h <<\_ACEOF
34432 #define HAVE_DLOPEN 1
34433 _ACEOF
34434
34435 HAVE_DL_FUNCS=1
34436
34437 else
34438
34439 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34440 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34441 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34442 echo $ECHO_N "(cached) $ECHO_C" >&6
34443 else
34444 ac_check_lib_save_LIBS=$LIBS
34445 LIBS="-ldl $LIBS"
34446 cat >conftest.$ac_ext <<_ACEOF
34447 /* confdefs.h. */
34448 _ACEOF
34449 cat confdefs.h >>conftest.$ac_ext
34450 cat >>conftest.$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452
34453 /* Override any gcc2 internal prototype to avoid an error. */
34454 #ifdef __cplusplus
34455 extern "C"
34456 #endif
34457 /* We use char because int might match the return type of a gcc2
34458 builtin and then its argument prototype would still apply. */
34459 char dlopen ();
34460 int
34461 main ()
34462 {
34463 dlopen ();
34464 ;
34465 return 0;
34466 }
34467 _ACEOF
34468 rm -f conftest.$ac_objext conftest$ac_exeext
34469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34470 (eval $ac_link) 2>conftest.er1
34471 ac_status=$?
34472 grep -v '^ *+' conftest.er1 >conftest.err
34473 rm -f conftest.er1
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } &&
34477 { ac_try='test -z "$ac_c_werror_flag"
34478 || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34481 ac_status=$?
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try='test -s conftest$ac_exeext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34487 ac_status=$?
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 ac_cv_lib_dl_dlopen=yes
34491 else
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.$ac_ext >&5
34494
34495 ac_cv_lib_dl_dlopen=no
34496 fi
34497 rm -f conftest.err conftest.$ac_objext \
34498 conftest$ac_exeext conftest.$ac_ext
34499 LIBS=$ac_check_lib_save_LIBS
34500 fi
34501 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34502 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34503 if test $ac_cv_lib_dl_dlopen = yes; then
34504
34505 cat >>confdefs.h <<\_ACEOF
34506 #define HAVE_DLOPEN 1
34507 _ACEOF
34508
34509 HAVE_DL_FUNCS=1
34510 DL_LINK=" -ldl$DL_LINK"
34511
34512 else
34513
34514
34515 for ac_func in shl_load
34516 do
34517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34518 echo "$as_me:$LINENO: checking for $ac_func" >&5
34519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34520 if eval "test \"\${$as_ac_var+set}\" = set"; then
34521 echo $ECHO_N "(cached) $ECHO_C" >&6
34522 else
34523 cat >conftest.$ac_ext <<_ACEOF
34524 /* confdefs.h. */
34525 _ACEOF
34526 cat confdefs.h >>conftest.$ac_ext
34527 cat >>conftest.$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34531 #define $ac_func innocuous_$ac_func
34532
34533 /* System header to define __stub macros and hopefully few prototypes,
34534 which can conflict with char $ac_func (); below.
34535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34536 <limits.h> exists even on freestanding compilers. */
34537
34538 #ifdef __STDC__
34539 # include <limits.h>
34540 #else
34541 # include <assert.h>
34542 #endif
34543
34544 #undef $ac_func
34545
34546 /* Override any gcc2 internal prototype to avoid an error. */
34547 #ifdef __cplusplus
34548 extern "C"
34549 {
34550 #endif
34551 /* We use char because int might match the return type of a gcc2
34552 builtin and then its argument prototype would still apply. */
34553 char $ac_func ();
34554 /* The GNU C library defines this for functions which it implements
34555 to always fail with ENOSYS. Some functions are actually named
34556 something starting with __ and the normal name is an alias. */
34557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34558 choke me
34559 #else
34560 char (*f) () = $ac_func;
34561 #endif
34562 #ifdef __cplusplus
34563 }
34564 #endif
34565
34566 int
34567 main ()
34568 {
34569 return f != $ac_func;
34570 ;
34571 return 0;
34572 }
34573 _ACEOF
34574 rm -f conftest.$ac_objext conftest$ac_exeext
34575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34576 (eval $ac_link) 2>conftest.er1
34577 ac_status=$?
34578 grep -v '^ *+' conftest.er1 >conftest.err
34579 rm -f conftest.er1
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } &&
34583 { ac_try='test -z "$ac_c_werror_flag"
34584 || test ! -s conftest.err'
34585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34586 (eval $ac_try) 2>&5
34587 ac_status=$?
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); }; } &&
34590 { ac_try='test -s conftest$ac_exeext'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34593 ac_status=$?
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; }; then
34596 eval "$as_ac_var=yes"
34597 else
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34600
34601 eval "$as_ac_var=no"
34602 fi
34603 rm -f conftest.err conftest.$ac_objext \
34604 conftest$ac_exeext conftest.$ac_ext
34605 fi
34606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34608 if test `eval echo '${'$as_ac_var'}'` = yes; then
34609 cat >>confdefs.h <<_ACEOF
34610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34611 _ACEOF
34612
34613 cat >>confdefs.h <<\_ACEOF
34614 #define HAVE_SHL_LOAD 1
34615 _ACEOF
34616
34617 HAVE_SHL_FUNCS=1
34618
34619 else
34620
34621 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34622 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34623 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34625 else
34626 ac_check_lib_save_LIBS=$LIBS
34627 LIBS="-lshl_load $LIBS"
34628 cat >conftest.$ac_ext <<_ACEOF
34629 /* confdefs.h. */
34630 _ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34634
34635 /* Override any gcc2 internal prototype to avoid an error. */
34636 #ifdef __cplusplus
34637 extern "C"
34638 #endif
34639 /* We use char because int might match the return type of a gcc2
34640 builtin and then its argument prototype would still apply. */
34641 char dld ();
34642 int
34643 main ()
34644 {
34645 dld ();
34646 ;
34647 return 0;
34648 }
34649 _ACEOF
34650 rm -f conftest.$ac_objext conftest$ac_exeext
34651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34652 (eval $ac_link) 2>conftest.er1
34653 ac_status=$?
34654 grep -v '^ *+' conftest.er1 >conftest.err
34655 rm -f conftest.er1
34656 cat conftest.err >&5
34657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34658 (exit $ac_status); } &&
34659 { ac_try='test -z "$ac_c_werror_flag"
34660 || test ! -s conftest.err'
34661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34662 (eval $ac_try) 2>&5
34663 ac_status=$?
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); }; } &&
34666 { ac_try='test -s conftest$ac_exeext'
34667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34668 (eval $ac_try) 2>&5
34669 ac_status=$?
34670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34671 (exit $ac_status); }; }; then
34672 ac_cv_lib_shl_load_dld=yes
34673 else
34674 echo "$as_me: failed program was:" >&5
34675 sed 's/^/| /' conftest.$ac_ext >&5
34676
34677 ac_cv_lib_shl_load_dld=no
34678 fi
34679 rm -f conftest.err conftest.$ac_objext \
34680 conftest$ac_exeext conftest.$ac_ext
34681 LIBS=$ac_check_lib_save_LIBS
34682 fi
34683 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34684 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34685 if test $ac_cv_lib_shl_load_dld = yes; then
34686
34687 HAVE_SHL_FUNCS=1
34688 DL_LINK=" -ldld$DL_LINK"
34689
34690 fi
34691
34692
34693 fi
34694 done
34695
34696
34697 fi
34698
34699
34700 fi
34701 done
34702
34703
34704 if test "$HAVE_DL_FUNCS" = 1; then
34705
34706 for ac_func in dlerror
34707 do
34708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34709 echo "$as_me:$LINENO: checking for $ac_func" >&5
34710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34711 if eval "test \"\${$as_ac_var+set}\" = set"; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34713 else
34714 cat >conftest.$ac_ext <<_ACEOF
34715 /* confdefs.h. */
34716 _ACEOF
34717 cat confdefs.h >>conftest.$ac_ext
34718 cat >>conftest.$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34722 #define $ac_func innocuous_$ac_func
34723
34724 /* System header to define __stub macros and hopefully few prototypes,
34725 which can conflict with char $ac_func (); below.
34726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34727 <limits.h> exists even on freestanding compilers. */
34728
34729 #ifdef __STDC__
34730 # include <limits.h>
34731 #else
34732 # include <assert.h>
34733 #endif
34734
34735 #undef $ac_func
34736
34737 /* Override any gcc2 internal prototype to avoid an error. */
34738 #ifdef __cplusplus
34739 extern "C"
34740 {
34741 #endif
34742 /* We use char because int might match the return type of a gcc2
34743 builtin and then its argument prototype would still apply. */
34744 char $ac_func ();
34745 /* The GNU C library defines this for functions which it implements
34746 to always fail with ENOSYS. Some functions are actually named
34747 something starting with __ and the normal name is an alias. */
34748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34749 choke me
34750 #else
34751 char (*f) () = $ac_func;
34752 #endif
34753 #ifdef __cplusplus
34754 }
34755 #endif
34756
34757 int
34758 main ()
34759 {
34760 return f != $ac_func;
34761 ;
34762 return 0;
34763 }
34764 _ACEOF
34765 rm -f conftest.$ac_objext conftest$ac_exeext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34767 (eval $ac_link) 2>conftest.er1
34768 ac_status=$?
34769 grep -v '^ *+' conftest.er1 >conftest.err
34770 rm -f conftest.er1
34771 cat conftest.err >&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try='test -z "$ac_c_werror_flag"
34775 || test ! -s conftest.err'
34776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777 (eval $ac_try) 2>&5
34778 ac_status=$?
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; } &&
34781 { ac_try='test -s conftest$ac_exeext'
34782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34783 (eval $ac_try) 2>&5
34784 ac_status=$?
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); }; }; then
34787 eval "$as_ac_var=yes"
34788 else
34789 echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.$ac_ext >&5
34791
34792 eval "$as_ac_var=no"
34793 fi
34794 rm -f conftest.err conftest.$ac_objext \
34795 conftest$ac_exeext conftest.$ac_ext
34796 fi
34797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34799 if test `eval echo '${'$as_ac_var'}'` = yes; then
34800 cat >>confdefs.h <<_ACEOF
34801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34802 _ACEOF
34803 cat >>confdefs.h <<\_ACEOF
34804 #define HAVE_DLERROR 1
34805 _ACEOF
34806
34807 else
34808
34809 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34810 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34811 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 else
34814 ac_check_lib_save_LIBS=$LIBS
34815 LIBS="-ldl $LIBS"
34816 cat >conftest.$ac_ext <<_ACEOF
34817 /* confdefs.h. */
34818 _ACEOF
34819 cat confdefs.h >>conftest.$ac_ext
34820 cat >>conftest.$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34822
34823 /* Override any gcc2 internal prototype to avoid an error. */
34824 #ifdef __cplusplus
34825 extern "C"
34826 #endif
34827 /* We use char because int might match the return type of a gcc2
34828 builtin and then its argument prototype would still apply. */
34829 char dlerror ();
34830 int
34831 main ()
34832 {
34833 dlerror ();
34834 ;
34835 return 0;
34836 }
34837 _ACEOF
34838 rm -f conftest.$ac_objext conftest$ac_exeext
34839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34840 (eval $ac_link) 2>conftest.er1
34841 ac_status=$?
34842 grep -v '^ *+' conftest.er1 >conftest.err
34843 rm -f conftest.er1
34844 cat conftest.err >&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); } &&
34847 { ac_try='test -z "$ac_c_werror_flag"
34848 || test ! -s conftest.err'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34851 ac_status=$?
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; } &&
34854 { ac_try='test -s conftest$ac_exeext'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; }; then
34860 ac_cv_lib_dl_dlerror=yes
34861 else
34862 echo "$as_me: failed program was:" >&5
34863 sed 's/^/| /' conftest.$ac_ext >&5
34864
34865 ac_cv_lib_dl_dlerror=no
34866 fi
34867 rm -f conftest.err conftest.$ac_objext \
34868 conftest$ac_exeext conftest.$ac_ext
34869 LIBS=$ac_check_lib_save_LIBS
34870 fi
34871 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34872 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34873 if test $ac_cv_lib_dl_dlerror = yes; then
34874 cat >>confdefs.h <<\_ACEOF
34875 #define HAVE_DLERROR 1
34876 _ACEOF
34877
34878 fi
34879
34880
34881
34882 fi
34883 done
34884
34885 fi
34886 fi
34887
34888 if test "$HAVE_DL_FUNCS" = 0; then
34889 if test "$HAVE_SHL_FUNCS" = 0; then
34890 if test "$USE_UNIX" = 1; then
34891 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34892 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34893 wxUSE_DYNAMIC_LOADER=no
34894 wxUSE_DYNLIB_CLASS=no
34895 else
34896 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34897 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34898 fi
34899 fi
34900 fi
34901 fi
34902 fi
34903
34904 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34905 cat >>confdefs.h <<\_ACEOF
34906 #define wxUSE_DYNAMIC_LOADER 1
34907 _ACEOF
34908
34909 fi
34910 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34911 cat >>confdefs.h <<\_ACEOF
34912 #define wxUSE_DYNLIB_CLASS 1
34913 _ACEOF
34914
34915 fi
34916
34917
34918
34919 if test "$wxUSE_PLUGINS" = "yes" ; then
34920 if test "$wxUSE_SHARED" = "no" ; then
34921 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34922 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34923 wxUSE_PLUGINS=no
34924 fi
34925 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34926 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34927 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34928 wxUSE_PLUGINS=no
34929 fi
34930 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34931 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34932 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34933 wxUSE_PLUGINS=no
34934 fi
34935 if test "$wxUSE_PLUGINS" = "yes" ; then
34936 cat >>confdefs.h <<\_ACEOF
34937 #define wxUSE_PLUGINS 1
34938 _ACEOF
34939
34940 fi
34941 fi
34942
34943
34944 if test "$wxUSE_STL" = "yes"; then
34945 cat >>confdefs.h <<\_ACEOF
34946 #define wxUSE_STL 1
34947 _ACEOF
34948
34949 fi
34950
34951 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34952 cat >>confdefs.h <<\_ACEOF
34953 #define wxUSE_APPLE_IEEE 1
34954 _ACEOF
34955
34956 fi
34957
34958 if test "$wxUSE_TIMER" = "yes"; then
34959 cat >>confdefs.h <<\_ACEOF
34960 #define wxUSE_TIMER 1
34961 _ACEOF
34962
34963 fi
34964
34965 WITH_PLUGIN_SDL=0
34966 if test "$wxUSE_SOUND" = "yes"; then
34967 if test "$USE_UNIX" = "1" ; then
34968
34969 for ac_header in sys/soundcard.h
34970 do
34971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34973 echo "$as_me:$LINENO: checking for $ac_header" >&5
34974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 fi
34978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34980 else
34981 # Is the header compilable?
34982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34984 cat >conftest.$ac_ext <<_ACEOF
34985 /* confdefs.h. */
34986 _ACEOF
34987 cat confdefs.h >>conftest.$ac_ext
34988 cat >>conftest.$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34990 $ac_includes_default
34991 #include <$ac_header>
34992 _ACEOF
34993 rm -f conftest.$ac_objext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34995 (eval $ac_compile) 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } &&
35002 { ac_try='test -z "$ac_c_werror_flag"
35003 || test ! -s conftest.err'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35006 ac_status=$?
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; } &&
35009 { ac_try='test -s conftest.$ac_objext'
35010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35011 (eval $ac_try) 2>&5
35012 ac_status=$?
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); }; }; then
35015 ac_header_compiler=yes
35016 else
35017 echo "$as_me: failed program was:" >&5
35018 sed 's/^/| /' conftest.$ac_ext >&5
35019
35020 ac_header_compiler=no
35021 fi
35022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35023 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35024 echo "${ECHO_T}$ac_header_compiler" >&6
35025
35026 # Is the header present?
35027 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35029 cat >conftest.$ac_ext <<_ACEOF
35030 /* confdefs.h. */
35031 _ACEOF
35032 cat confdefs.h >>conftest.$ac_ext
35033 cat >>conftest.$ac_ext <<_ACEOF
35034 /* end confdefs.h. */
35035 #include <$ac_header>
35036 _ACEOF
35037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35039 ac_status=$?
35040 grep -v '^ *+' conftest.er1 >conftest.err
35041 rm -f conftest.er1
35042 cat conftest.err >&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); } >/dev/null; then
35045 if test -s conftest.err; then
35046 ac_cpp_err=$ac_c_preproc_warn_flag
35047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35048 else
35049 ac_cpp_err=
35050 fi
35051 else
35052 ac_cpp_err=yes
35053 fi
35054 if test -z "$ac_cpp_err"; then
35055 ac_header_preproc=yes
35056 else
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.$ac_ext >&5
35059
35060 ac_header_preproc=no
35061 fi
35062 rm -f conftest.err conftest.$ac_ext
35063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35064 echo "${ECHO_T}$ac_header_preproc" >&6
35065
35066 # So? What about this header?
35067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35068 yes:no: )
35069 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35070 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35072 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35073 ac_header_preproc=yes
35074 ;;
35075 no:yes:* )
35076 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35077 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35078 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35079 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35080 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35081 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35082 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35083 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35086 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35087 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35088 (
35089 cat <<\_ASBOX
35090 ## ----------------------------------------- ##
35091 ## Report this to wx-dev@lists.wxwidgets.org ##
35092 ## ----------------------------------------- ##
35093 _ASBOX
35094 ) |
35095 sed "s/^/$as_me: WARNING: /" >&2
35096 ;;
35097 esac
35098 echo "$as_me:$LINENO: checking for $ac_header" >&5
35099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35101 echo $ECHO_N "(cached) $ECHO_C" >&6
35102 else
35103 eval "$as_ac_Header=\$ac_header_preproc"
35104 fi
35105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35107
35108 fi
35109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35110 cat >>confdefs.h <<_ACEOF
35111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35112 _ACEOF
35113
35114 fi
35115
35116 done
35117
35118
35119 if test "$wxUSE_LIBSDL" != "no"; then
35120
35121 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35122 if test "${with_sdl_prefix+set}" = set; then
35123 withval="$with_sdl_prefix"
35124 sdl_prefix="$withval"
35125 else
35126 sdl_prefix=""
35127 fi;
35128
35129 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35130 if test "${with_sdl_exec_prefix+set}" = set; then
35131 withval="$with_sdl_exec_prefix"
35132 sdl_exec_prefix="$withval"
35133 else
35134 sdl_exec_prefix=""
35135 fi;
35136 # Check whether --enable-sdltest or --disable-sdltest was given.
35137 if test "${enable_sdltest+set}" = set; then
35138 enableval="$enable_sdltest"
35139
35140 else
35141 enable_sdltest=yes
35142 fi;
35143
35144 if test x$sdl_exec_prefix != x ; then
35145 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35146 if test x${SDL_CONFIG+set} != xset ; then
35147 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35148 fi
35149 fi
35150 if test x$sdl_prefix != x ; then
35151 sdl_args="$sdl_args --prefix=$sdl_prefix"
35152 if test x${SDL_CONFIG+set} != xset ; then
35153 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35154 fi
35155 fi
35156
35157
35158 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
35159 # Extract the first word of "sdl-config", so it can be a program name with args.
35160 set dummy sdl-config; ac_word=$2
35161 echo "$as_me:$LINENO: checking for $ac_word" >&5
35162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35163 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35165 else
35166 case $SDL_CONFIG in
35167 [\\/]* | ?:[\\/]*)
35168 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
35169 ;;
35170 *)
35171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35172 for as_dir in $PATH
35173 do
35174 IFS=$as_save_IFS
35175 test -z "$as_dir" && as_dir=.
35176 for ac_exec_ext in '' $ac_executable_extensions; do
35177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35178 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35180 break 2
35181 fi
35182 done
35183 done
35184
35185 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
35186 ;;
35187 esac
35188 fi
35189 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
35190
35191 if test -n "$SDL_CONFIG"; then
35192 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35193 echo "${ECHO_T}$SDL_CONFIG" >&6
35194 else
35195 echo "$as_me:$LINENO: result: no" >&5
35196 echo "${ECHO_T}no" >&6
35197 fi
35198
35199 min_sdl_version=1.2.0
35200 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35201 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35202 no_sdl=""
35203 if test "$SDL_CONFIG" = "no" ; then
35204 no_sdl=yes
35205 else
35206 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
35207 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
35208
35209 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
35210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35211 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
35212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35213 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
35214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35215 if test "x$enable_sdltest" = "xyes" ; then
35216 ac_save_CFLAGS="$CFLAGS"
35217 ac_save_CXXFLAGS="$CXXFLAGS"
35218 ac_save_LIBS="$LIBS"
35219 CFLAGS="$CFLAGS $SDL_CFLAGS"
35220 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35221 LIBS="$LIBS $SDL_LIBS"
35222 rm -f conf.sdltest
35223 if test "$cross_compiling" = yes; then
35224 echo $ac_n "cross compiling; assumed OK... $ac_c"
35225 else
35226 cat >conftest.$ac_ext <<_ACEOF
35227 /* confdefs.h. */
35228 _ACEOF
35229 cat confdefs.h >>conftest.$ac_ext
35230 cat >>conftest.$ac_ext <<_ACEOF
35231 /* end confdefs.h. */
35232
35233 #include <stdio.h>
35234 #include <stdlib.h>
35235 #include <string.h>
35236 #include "SDL.h"
35237
35238 char*
35239 my_strdup (char *str)
35240 {
35241 char *new_str;
35242
35243 if (str)
35244 {
35245 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35246 strcpy (new_str, str);
35247 }
35248 else
35249 new_str = NULL;
35250
35251 return new_str;
35252 }
35253
35254 int main (int argc, char *argv[])
35255 {
35256 int major, minor, micro;
35257 char *tmp_version;
35258
35259 /* This hangs on some systems (?)
35260 system ("touch conf.sdltest");
35261 */
35262 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35263
35264 /* HP/UX 9 (%@#!) writes to sscanf strings */
35265 tmp_version = my_strdup("$min_sdl_version");
35266 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
35267 printf("%s, bad version string\n", "$min_sdl_version");
35268 exit(1);
35269 }
35270
35271 if (($sdl_major_version > major) ||
35272 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35273 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35274 {
35275 return 0;
35276 }
35277 else
35278 {
35279 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35280 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35281 printf("*** best to upgrade to the required version.\n");
35282 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35283 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35284 printf("*** config.cache before re-running configure\n");
35285 return 1;
35286 }
35287 }
35288
35289
35290 _ACEOF
35291 rm -f conftest$ac_exeext
35292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35293 (eval $ac_link) 2>&5
35294 ac_status=$?
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35298 (eval $ac_try) 2>&5
35299 ac_status=$?
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); }; }; then
35302 :
35303 else
35304 echo "$as_me: program exited with status $ac_status" >&5
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35307
35308 ( exit $ac_status )
35309 no_sdl=yes
35310 fi
35311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35312 fi
35313 CFLAGS="$ac_save_CFLAGS"
35314 CXXFLAGS="$ac_save_CXXFLAGS"
35315 LIBS="$ac_save_LIBS"
35316 fi
35317 fi
35318 if test "x$no_sdl" = x ; then
35319 echo "$as_me:$LINENO: result: yes" >&5
35320 echo "${ECHO_T}yes" >&6
35321
35322 EXTRALIBS_SDL="$SDL_LIBS"
35323 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35324 cat >>confdefs.h <<\_ACEOF
35325 #define wxUSE_LIBSDL 1
35326 _ACEOF
35327
35328
35329 else
35330 echo "$as_me:$LINENO: result: no" >&5
35331 echo "${ECHO_T}no" >&6
35332 if test "$SDL_CONFIG" = "no" ; then
35333 echo "*** The sdl-config script installed by SDL could not be found"
35334 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35335 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35336 echo "*** full path to sdl-config."
35337 else
35338 if test -f conf.sdltest ; then
35339 :
35340 else
35341 echo "*** Could not run SDL test program, checking why..."
35342 CFLAGS="$CFLAGS $SDL_CFLAGS"
35343 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35344 LIBS="$LIBS $SDL_LIBS"
35345 cat >conftest.$ac_ext <<_ACEOF
35346 /* confdefs.h. */
35347 _ACEOF
35348 cat confdefs.h >>conftest.$ac_ext
35349 cat >>conftest.$ac_ext <<_ACEOF
35350 /* end confdefs.h. */
35351
35352 #include <stdio.h>
35353 #include "SDL.h"
35354
35355 int main(int argc, char *argv[])
35356 { return 0; }
35357 #undef main
35358 #define main K_and_R_C_main
35359
35360 int
35361 main ()
35362 {
35363 return 0;
35364 ;
35365 return 0;
35366 }
35367 _ACEOF
35368 rm -f conftest.$ac_objext conftest$ac_exeext
35369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35370 (eval $ac_link) 2>conftest.er1
35371 ac_status=$?
35372 grep -v '^ *+' conftest.er1 >conftest.err
35373 rm -f conftest.er1
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } &&
35377 { ac_try='test -z "$ac_c_werror_flag"
35378 || test ! -s conftest.err'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35381 ac_status=$?
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; } &&
35384 { ac_try='test -s conftest$ac_exeext'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35387 ac_status=$?
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; }; then
35390 echo "*** The test program compiled, but did not run. This usually means"
35391 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35392 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35393 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35394 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35395 echo "*** is required on your system"
35396 echo "***"
35397 echo "*** If you have an old version installed, it is best to remove it, although"
35398 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35399 else
35400 echo "$as_me: failed program was:" >&5
35401 sed 's/^/| /' conftest.$ac_ext >&5
35402
35403 echo "*** The test program failed to compile or link. See the file config.log for the"
35404 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35405 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35406 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35407 fi
35408 rm -f conftest.err conftest.$ac_objext \
35409 conftest$ac_exeext conftest.$ac_ext
35410 CFLAGS="$ac_save_CFLAGS"
35411 CXXFLAGS="$ac_save_CXXFLAGS"
35412 LIBS="$ac_save_LIBS"
35413 fi
35414 fi
35415 SDL_CFLAGS=""
35416 SDL_LIBS=""
35417 wxUSE_LIBSDL="no"
35418 fi
35419
35420
35421 rm -f conf.sdltest
35422
35423 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35424 WITH_PLUGIN_SDL=1
35425 fi
35426 fi
35427 fi
35428
35429 cat >>confdefs.h <<\_ACEOF
35430 #define wxUSE_SOUND 1
35431 _ACEOF
35432
35433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
35434 fi
35435
35436 if test "$WXGTK20" = 1; then
35437 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35438 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35439
35440
35441 succeeded=no
35442
35443 if test -z "$PKG_CONFIG"; then
35444 # Extract the first word of "pkg-config", so it can be a program name with args.
35445 set dummy pkg-config; ac_word=$2
35446 echo "$as_me:$LINENO: checking for $ac_word" >&5
35447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 else
35451 case $PKG_CONFIG in
35452 [\\/]* | ?:[\\/]*)
35453 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35454 ;;
35455 *)
35456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35457 for as_dir in $PATH
35458 do
35459 IFS=$as_save_IFS
35460 test -z "$as_dir" && as_dir=.
35461 for ac_exec_ext in '' $ac_executable_extensions; do
35462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35463 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35465 break 2
35466 fi
35467 done
35468 done
35469
35470 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
35471 ;;
35472 esac
35473 fi
35474 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35475
35476 if test -n "$PKG_CONFIG"; then
35477 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35478 echo "${ECHO_T}$PKG_CONFIG" >&6
35479 else
35480 echo "$as_me:$LINENO: result: no" >&5
35481 echo "${ECHO_T}no" >&6
35482 fi
35483
35484 fi
35485
35486 if test "$PKG_CONFIG" = "no" ; then
35487 echo "*** The pkg-config script could not be found. Make sure it is"
35488 echo "*** in your path, or set the PKG_CONFIG environment variable"
35489 echo "*** to the full path to pkg-config."
35490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35491 else
35492 PKG_CONFIG_MIN_VERSION=0.9.0
35493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35494 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35495 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35496
35497 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35498 echo "$as_me:$LINENO: result: yes" >&5
35499 echo "${ECHO_T}yes" >&6
35500 succeeded=yes
35501
35502 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35503 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35504 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35505 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35506 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35507
35508 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35509 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35510 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35511 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35512 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35513 else
35514 LIBGNOMEPRINTUI_CFLAGS=""
35515 LIBGNOMEPRINTUI_LIBS=""
35516 ## If we have a custom action on failure, don't print errors, but
35517 ## do set a variable so people can do so.
35518 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35519
35520 fi
35521
35522
35523
35524 else
35525 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35526 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35527 fi
35528 fi
35529
35530 if test $succeeded = yes; then
35531
35532 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35533 cat >>confdefs.h <<\_ACEOF
35534 #define wxUSE_LIBGNOMEPRINT 1
35535 _ACEOF
35536
35537
35538 else
35539
35540 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35541 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35542 wxUSE_LIBGNOMEPRINT="no"
35543
35544
35545 fi
35546
35547 fi
35548 fi
35549 fi
35550
35551
35552 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35553 cat >>confdefs.h <<\_ACEOF
35554 #define wxUSE_CMDLINE_PARSER 1
35555 _ACEOF
35556
35557 fi
35558
35559 if test "$wxUSE_STOPWATCH" = "yes"; then
35560 cat >>confdefs.h <<\_ACEOF
35561 #define wxUSE_STOPWATCH 1
35562 _ACEOF
35563
35564 fi
35565
35566 if test "$wxUSE_DATETIME" = "yes"; then
35567 cat >>confdefs.h <<\_ACEOF
35568 #define wxUSE_DATETIME 1
35569 _ACEOF
35570
35571 fi
35572
35573 if test "$wxUSE_FILE" = "yes"; then
35574 cat >>confdefs.h <<\_ACEOF
35575 #define wxUSE_FILE 1
35576 _ACEOF
35577
35578 fi
35579
35580 if test "$wxUSE_FFILE" = "yes"; then
35581 cat >>confdefs.h <<\_ACEOF
35582 #define wxUSE_FFILE 1
35583 _ACEOF
35584
35585 fi
35586
35587 if test "$wxUSE_FILESYSTEM" = "yes"; then
35588 cat >>confdefs.h <<\_ACEOF
35589 #define wxUSE_FILESYSTEM 1
35590 _ACEOF
35591
35592 fi
35593
35594 if test "$wxUSE_FS_ZIP" = "yes"; then
35595 cat >>confdefs.h <<\_ACEOF
35596 #define wxUSE_FS_ZIP 1
35597 _ACEOF
35598
35599 fi
35600
35601 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
35602 cat >>confdefs.h <<\_ACEOF
35603 #define wxUSE_ARCHIVE_STREAMS 1
35604 _ACEOF
35605
35606 fi
35607
35608 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
35610 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
35611 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
35612 elif test "$wxUSE_ZLIB" = "no"; then
35613 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
35614 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
35615 else
35616 cat >>confdefs.h <<\_ACEOF
35617 #define wxUSE_ZIPSTREAM 1
35618 _ACEOF
35619
35620 fi
35621 fi
35622
35623 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35624 cat >>confdefs.h <<\_ACEOF
35625 #define wxUSE_ON_FATAL_EXCEPTION 1
35626 _ACEOF
35627
35628 fi
35629
35630 if test "$wxUSE_STACKWALKER" = "yes"; then
35631 cat >>confdefs.h <<\_ACEOF
35632 #define wxUSE_STACKWALKER 1
35633 _ACEOF
35634
35635 fi
35636
35637 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35638 cat >>confdefs.h <<\_ACEOF
35639 #define wxUSE_SNGLINST_CHECKER 1
35640 _ACEOF
35641
35642 fi
35643
35644 if test "$wxUSE_BUSYINFO" = "yes"; then
35645 cat >>confdefs.h <<\_ACEOF
35646 #define wxUSE_BUSYINFO 1
35647 _ACEOF
35648
35649 fi
35650
35651 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35652 cat >>confdefs.h <<\_ACEOF
35653 #define wxUSE_STD_IOSTREAM 1
35654 _ACEOF
35655
35656 fi
35657
35658 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35659 cat >>confdefs.h <<\_ACEOF
35660 #define wxUSE_TEXTBUFFER 1
35661 _ACEOF
35662
35663 fi
35664
35665 if test "$wxUSE_TEXTFILE" = "yes"; then
35666 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35667 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35668 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35669 else
35670 cat >>confdefs.h <<\_ACEOF
35671 #define wxUSE_TEXTFILE 1
35672 _ACEOF
35673
35674 fi
35675 fi
35676
35677 if test "$wxUSE_CONFIG" = "yes" ; then
35678 if test "$wxUSE_TEXTFILE" != "yes"; then
35679 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35680 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35681 else
35682 cat >>confdefs.h <<\_ACEOF
35683 #define wxUSE_CONFIG 1
35684 _ACEOF
35685
35686 cat >>confdefs.h <<\_ACEOF
35687 #define wxUSE_CONFIG_NATIVE 1
35688 _ACEOF
35689
35690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35691 fi
35692 fi
35693
35694 if test "$wxUSE_INTL" = "yes" ; then
35695 if test "$wxUSE_FILE" != "yes"; then
35696 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35697 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35698 else
35699 cat >>confdefs.h <<\_ACEOF
35700 #define wxUSE_INTL 1
35701 _ACEOF
35702
35703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35704 GUIDIST="$GUIDIST INTL_DIST"
35705 fi
35706 fi
35707
35708 if test "$wxUSE_LOG" = "yes"; then
35709 cat >>confdefs.h <<\_ACEOF
35710 #define wxUSE_LOG 1
35711 _ACEOF
35712
35713
35714 if test "$wxUSE_LOGGUI" = "yes"; then
35715 cat >>confdefs.h <<\_ACEOF
35716 #define wxUSE_LOGGUI 1
35717 _ACEOF
35718
35719 fi
35720
35721 if test "$wxUSE_LOGWINDOW" = "yes"; then
35722 cat >>confdefs.h <<\_ACEOF
35723 #define wxUSE_LOGWINDOW 1
35724 _ACEOF
35725
35726 fi
35727
35728 if test "$wxUSE_LOGDIALOG" = "yes"; then
35729 cat >>confdefs.h <<\_ACEOF
35730 #define wxUSE_LOG_DIALOG 1
35731 _ACEOF
35732
35733 fi
35734 fi
35735
35736 if test "$wxUSE_LONGLONG" = "yes"; then
35737 cat >>confdefs.h <<\_ACEOF
35738 #define wxUSE_LONGLONG 1
35739 _ACEOF
35740
35741 fi
35742
35743 if test "$wxUSE_GEOMETRY" = "yes"; then
35744 cat >>confdefs.h <<\_ACEOF
35745 #define wxUSE_GEOMETRY 1
35746 _ACEOF
35747
35748 fi
35749
35750 if test "$wxUSE_STREAMS" = "yes" ; then
35751 cat >>confdefs.h <<\_ACEOF
35752 #define wxUSE_STREAMS 1
35753 _ACEOF
35754
35755 fi
35756
35757
35758 if test "$wxUSE_DATETIME" = "yes"; then
35759
35760 for ac_func in strptime
35761 do
35762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35763 echo "$as_me:$LINENO: checking for $ac_func" >&5
35764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35765 if eval "test \"\${$as_ac_var+set}\" = set"; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35767 else
35768 cat >conftest.$ac_ext <<_ACEOF
35769 /* confdefs.h. */
35770 _ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35776 #define $ac_func innocuous_$ac_func
35777
35778 /* System header to define __stub macros and hopefully few prototypes,
35779 which can conflict with char $ac_func (); below.
35780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35781 <limits.h> exists even on freestanding compilers. */
35782
35783 #ifdef __STDC__
35784 # include <limits.h>
35785 #else
35786 # include <assert.h>
35787 #endif
35788
35789 #undef $ac_func
35790
35791 /* Override any gcc2 internal prototype to avoid an error. */
35792 #ifdef __cplusplus
35793 extern "C"
35794 {
35795 #endif
35796 /* We use char because int might match the return type of a gcc2
35797 builtin and then its argument prototype would still apply. */
35798 char $ac_func ();
35799 /* The GNU C library defines this for functions which it implements
35800 to always fail with ENOSYS. Some functions are actually named
35801 something starting with __ and the normal name is an alias. */
35802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35803 choke me
35804 #else
35805 char (*f) () = $ac_func;
35806 #endif
35807 #ifdef __cplusplus
35808 }
35809 #endif
35810
35811 int
35812 main ()
35813 {
35814 return f != $ac_func;
35815 ;
35816 return 0;
35817 }
35818 _ACEOF
35819 rm -f conftest.$ac_objext conftest$ac_exeext
35820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35821 (eval $ac_link) 2>conftest.er1
35822 ac_status=$?
35823 grep -v '^ *+' conftest.er1 >conftest.err
35824 rm -f conftest.er1
35825 cat conftest.err >&5
35826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827 (exit $ac_status); } &&
35828 { ac_try='test -z "$ac_c_werror_flag"
35829 || test ! -s conftest.err'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35832 ac_status=$?
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; } &&
35835 { ac_try='test -s conftest$ac_exeext'
35836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35837 (eval $ac_try) 2>&5
35838 ac_status=$?
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); }; }; then
35841 eval "$as_ac_var=yes"
35842 else
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.$ac_ext >&5
35845
35846 eval "$as_ac_var=no"
35847 fi
35848 rm -f conftest.err conftest.$ac_objext \
35849 conftest$ac_exeext conftest.$ac_ext
35850 fi
35851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35853 if test `eval echo '${'$as_ac_var'}'` = yes; then
35854 cat >>confdefs.h <<_ACEOF
35855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35856 _ACEOF
35857
35858 fi
35859 done
35860
35861
35862 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35863 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35864 if test "${wx_cv_var_timezone+set}" = set; then
35865 echo $ECHO_N "(cached) $ECHO_C" >&6
35866 else
35867
35868 cat >conftest.$ac_ext <<_ACEOF
35869 /* confdefs.h. */
35870 _ACEOF
35871 cat confdefs.h >>conftest.$ac_ext
35872 cat >>conftest.$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35874
35875 #include <time.h>
35876
35877 int
35878 main ()
35879 {
35880
35881 int tz;
35882 tz = timezone;
35883
35884 ;
35885 return 0;
35886 }
35887 _ACEOF
35888 rm -f conftest.$ac_objext
35889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35890 (eval $ac_compile) 2>conftest.er1
35891 ac_status=$?
35892 grep -v '^ *+' conftest.er1 >conftest.err
35893 rm -f conftest.er1
35894 cat conftest.err >&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); } &&
35897 { ac_try='test -z "$ac_c_werror_flag"
35898 || test ! -s conftest.err'
35899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35900 (eval $ac_try) 2>&5
35901 ac_status=$?
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); }; } &&
35904 { ac_try='test -s conftest.$ac_objext'
35905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35906 (eval $ac_try) 2>&5
35907 ac_status=$?
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); }; }; then
35910
35911 wx_cv_var_timezone=timezone
35912
35913 else
35914 echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.$ac_ext >&5
35916
35917
35918 cat >conftest.$ac_ext <<_ACEOF
35919 /* confdefs.h. */
35920 _ACEOF
35921 cat confdefs.h >>conftest.$ac_ext
35922 cat >>conftest.$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35924
35925 #include <time.h>
35926
35927 int
35928 main ()
35929 {
35930
35931 int tz;
35932 tz = _timezone;
35933
35934 ;
35935 return 0;
35936 }
35937 _ACEOF
35938 rm -f conftest.$ac_objext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35940 (eval $ac_compile) 2>conftest.er1
35941 ac_status=$?
35942 grep -v '^ *+' conftest.er1 >conftest.err
35943 rm -f conftest.er1
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try='test -z "$ac_c_werror_flag"
35948 || test ! -s conftest.err'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35951 ac_status=$?
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; } &&
35954 { ac_try='test -s conftest.$ac_objext'
35955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35956 (eval $ac_try) 2>&5
35957 ac_status=$?
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); }; }; then
35960
35961 wx_cv_var_timezone=_timezone
35962
35963 else
35964 echo "$as_me: failed program was:" >&5
35965 sed 's/^/| /' conftest.$ac_ext >&5
35966
35967
35968 cat >conftest.$ac_ext <<_ACEOF
35969 /* confdefs.h. */
35970 _ACEOF
35971 cat confdefs.h >>conftest.$ac_ext
35972 cat >>conftest.$ac_ext <<_ACEOF
35973 /* end confdefs.h. */
35974
35975 #include <time.h>
35976
35977 int
35978 main ()
35979 {
35980
35981 int tz;
35982 tz = __timezone;
35983
35984 ;
35985 return 0;
35986 }
35987 _ACEOF
35988 rm -f conftest.$ac_objext
35989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35990 (eval $ac_compile) 2>conftest.er1
35991 ac_status=$?
35992 grep -v '^ *+' conftest.er1 >conftest.err
35993 rm -f conftest.er1
35994 cat conftest.err >&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); } &&
35997 { ac_try='test -z "$ac_c_werror_flag"
35998 || test ! -s conftest.err'
35999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36000 (eval $ac_try) 2>&5
36001 ac_status=$?
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); }; } &&
36004 { ac_try='test -s conftest.$ac_objext'
36005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36006 (eval $ac_try) 2>&5
36007 ac_status=$?
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); }; }; then
36010
36011 wx_cv_var_timezone=__timezone
36012
36013 else
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36016
36017
36018 if test "$USE_DOS" = 0 ; then
36019 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36020 echo "$as_me: WARNING: no timezone variable" >&2;}
36021 fi
36022
36023
36024 fi
36025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36026
36027
36028 fi
36029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36030
36031
36032 fi
36033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36034
36035
36036 fi
36037 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36038 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36039
36040 if test "x$wx_cv_var_timezone" != x ; then
36041 cat >>confdefs.h <<_ACEOF
36042 #define WX_TIMEZONE $wx_cv_var_timezone
36043 _ACEOF
36044
36045 fi
36046
36047
36048 for ac_func in localtime
36049 do
36050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36051 echo "$as_me:$LINENO: checking for $ac_func" >&5
36052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36053 if eval "test \"\${$as_ac_var+set}\" = set"; then
36054 echo $ECHO_N "(cached) $ECHO_C" >&6
36055 else
36056 cat >conftest.$ac_ext <<_ACEOF
36057 /* confdefs.h. */
36058 _ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36064 #define $ac_func innocuous_$ac_func
36065
36066 /* System header to define __stub macros and hopefully few prototypes,
36067 which can conflict with char $ac_func (); below.
36068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36069 <limits.h> exists even on freestanding compilers. */
36070
36071 #ifdef __STDC__
36072 # include <limits.h>
36073 #else
36074 # include <assert.h>
36075 #endif
36076
36077 #undef $ac_func
36078
36079 /* Override any gcc2 internal prototype to avoid an error. */
36080 #ifdef __cplusplus
36081 extern "C"
36082 {
36083 #endif
36084 /* We use char because int might match the return type of a gcc2
36085 builtin and then its argument prototype would still apply. */
36086 char $ac_func ();
36087 /* The GNU C library defines this for functions which it implements
36088 to always fail with ENOSYS. Some functions are actually named
36089 something starting with __ and the normal name is an alias. */
36090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36091 choke me
36092 #else
36093 char (*f) () = $ac_func;
36094 #endif
36095 #ifdef __cplusplus
36096 }
36097 #endif
36098
36099 int
36100 main ()
36101 {
36102 return f != $ac_func;
36103 ;
36104 return 0;
36105 }
36106 _ACEOF
36107 rm -f conftest.$ac_objext conftest$ac_exeext
36108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36109 (eval $ac_link) 2>conftest.er1
36110 ac_status=$?
36111 grep -v '^ *+' conftest.er1 >conftest.err
36112 rm -f conftest.er1
36113 cat conftest.err >&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); } &&
36116 { ac_try='test -z "$ac_c_werror_flag"
36117 || test ! -s conftest.err'
36118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36119 (eval $ac_try) 2>&5
36120 ac_status=$?
36121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36122 (exit $ac_status); }; } &&
36123 { ac_try='test -s conftest$ac_exeext'
36124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36125 (eval $ac_try) 2>&5
36126 ac_status=$?
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); }; }; then
36129 eval "$as_ac_var=yes"
36130 else
36131 echo "$as_me: failed program was:" >&5
36132 sed 's/^/| /' conftest.$ac_ext >&5
36133
36134 eval "$as_ac_var=no"
36135 fi
36136 rm -f conftest.err conftest.$ac_objext \
36137 conftest$ac_exeext conftest.$ac_ext
36138 fi
36139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36141 if test `eval echo '${'$as_ac_var'}'` = yes; then
36142 cat >>confdefs.h <<_ACEOF
36143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36144 _ACEOF
36145
36146 fi
36147 done
36148
36149
36150 if test "$ac_cv_func_localtime" = "yes"; then
36151 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36152 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36153 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36155 else
36156
36157 cat >conftest.$ac_ext <<_ACEOF
36158 /* confdefs.h. */
36159 _ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36163
36164 #include <time.h>
36165
36166 int
36167 main ()
36168 {
36169
36170 struct tm tm;
36171 tm.tm_gmtoff++;
36172
36173 ;
36174 return 0;
36175 }
36176 _ACEOF
36177 rm -f conftest.$ac_objext
36178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36179 (eval $ac_compile) 2>conftest.er1
36180 ac_status=$?
36181 grep -v '^ *+' conftest.er1 >conftest.err
36182 rm -f conftest.er1
36183 cat conftest.err >&5
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); } &&
36186 { ac_try='test -z "$ac_c_werror_flag"
36187 || test ! -s conftest.err'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36190 ac_status=$?
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; } &&
36193 { ac_try='test -s conftest.$ac_objext'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36196 ac_status=$?
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; }; then
36199
36200 wx_cv_struct_tm_has_gmtoff=yes
36201
36202 else
36203 echo "$as_me: failed program was:" >&5
36204 sed 's/^/| /' conftest.$ac_ext >&5
36205
36206 wx_cv_struct_tm_has_gmtoff=no
36207
36208 fi
36209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36210
36211 fi
36212 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36213 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36214 fi
36215
36216 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36217 cat >>confdefs.h <<\_ACEOF
36218 #define WX_GMTOFF_IN_TM 1
36219 _ACEOF
36220
36221 fi
36222
36223
36224
36225 for ac_func in gettimeofday ftime
36226 do
36227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36228 echo "$as_me:$LINENO: checking for $ac_func" >&5
36229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36230 if eval "test \"\${$as_ac_var+set}\" = set"; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 else
36233 cat >conftest.$ac_ext <<_ACEOF
36234 /* confdefs.h. */
36235 _ACEOF
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36241 #define $ac_func innocuous_$ac_func
36242
36243 /* System header to define __stub macros and hopefully few prototypes,
36244 which can conflict with char $ac_func (); below.
36245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36246 <limits.h> exists even on freestanding compilers. */
36247
36248 #ifdef __STDC__
36249 # include <limits.h>
36250 #else
36251 # include <assert.h>
36252 #endif
36253
36254 #undef $ac_func
36255
36256 /* Override any gcc2 internal prototype to avoid an error. */
36257 #ifdef __cplusplus
36258 extern "C"
36259 {
36260 #endif
36261 /* We use char because int might match the return type of a gcc2
36262 builtin and then its argument prototype would still apply. */
36263 char $ac_func ();
36264 /* The GNU C library defines this for functions which it implements
36265 to always fail with ENOSYS. Some functions are actually named
36266 something starting with __ and the normal name is an alias. */
36267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36268 choke me
36269 #else
36270 char (*f) () = $ac_func;
36271 #endif
36272 #ifdef __cplusplus
36273 }
36274 #endif
36275
36276 int
36277 main ()
36278 {
36279 return f != $ac_func;
36280 ;
36281 return 0;
36282 }
36283 _ACEOF
36284 rm -f conftest.$ac_objext conftest$ac_exeext
36285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36286 (eval $ac_link) 2>conftest.er1
36287 ac_status=$?
36288 grep -v '^ *+' conftest.er1 >conftest.err
36289 rm -f conftest.er1
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } &&
36293 { ac_try='test -z "$ac_c_werror_flag"
36294 || test ! -s conftest.err'
36295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36296 (eval $ac_try) 2>&5
36297 ac_status=$?
36298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36299 (exit $ac_status); }; } &&
36300 { ac_try='test -s conftest$ac_exeext'
36301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36302 (eval $ac_try) 2>&5
36303 ac_status=$?
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); }; }; then
36306 eval "$as_ac_var=yes"
36307 else
36308 echo "$as_me: failed program was:" >&5
36309 sed 's/^/| /' conftest.$ac_ext >&5
36310
36311 eval "$as_ac_var=no"
36312 fi
36313 rm -f conftest.err conftest.$ac_objext \
36314 conftest$ac_exeext conftest.$ac_ext
36315 fi
36316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36318 if test `eval echo '${'$as_ac_var'}'` = yes; then
36319 cat >>confdefs.h <<_ACEOF
36320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36321 _ACEOF
36322 break
36323 fi
36324 done
36325
36326
36327 if test "$ac_cv_func_gettimeofday" = "yes"; then
36328 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36329 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36330 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36331 echo $ECHO_N "(cached) $ECHO_C" >&6
36332 else
36333
36334
36335
36336 ac_ext=cc
36337 ac_cpp='$CXXCPP $CPPFLAGS'
36338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36341
36342
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349
36350 #include <sys/time.h>
36351 #include <unistd.h>
36352
36353 int
36354 main ()
36355 {
36356
36357 struct timeval tv;
36358 gettimeofday(&tv, NULL);
36359
36360 ;
36361 return 0;
36362 }
36363 _ACEOF
36364 rm -f conftest.$ac_objext
36365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36366 (eval $ac_compile) 2>conftest.er1
36367 ac_status=$?
36368 grep -v '^ *+' conftest.er1 >conftest.err
36369 rm -f conftest.er1
36370 cat conftest.err >&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); } &&
36373 { ac_try='test -z "$ac_cxx_werror_flag"
36374 || test ! -s conftest.err'
36375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36376 (eval $ac_try) 2>&5
36377 ac_status=$?
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); }; } &&
36380 { ac_try='test -s conftest.$ac_objext'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36383 ac_status=$?
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; }; then
36386 wx_cv_func_gettimeofday_has_2_args=yes
36387 else
36388 echo "$as_me: failed program was:" >&5
36389 sed 's/^/| /' conftest.$ac_ext >&5
36390
36391 cat >conftest.$ac_ext <<_ACEOF
36392 /* confdefs.h. */
36393 _ACEOF
36394 cat confdefs.h >>conftest.$ac_ext
36395 cat >>conftest.$ac_ext <<_ACEOF
36396 /* end confdefs.h. */
36397
36398 #include <sys/time.h>
36399 #include <unistd.h>
36400
36401 int
36402 main ()
36403 {
36404
36405 struct timeval tv;
36406 gettimeofday(&tv);
36407
36408 ;
36409 return 0;
36410 }
36411 _ACEOF
36412 rm -f conftest.$ac_objext
36413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36414 (eval $ac_compile) 2>conftest.er1
36415 ac_status=$?
36416 grep -v '^ *+' conftest.er1 >conftest.err
36417 rm -f conftest.er1
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } &&
36421 { ac_try='test -z "$ac_cxx_werror_flag"
36422 || test ! -s conftest.err'
36423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36424 (eval $ac_try) 2>&5
36425 ac_status=$?
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); }; } &&
36428 { ac_try='test -s conftest.$ac_objext'
36429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36430 (eval $ac_try) 2>&5
36431 ac_status=$?
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); }; }; then
36434 wx_cv_func_gettimeofday_has_2_args=no
36435 else
36436 echo "$as_me: failed program was:" >&5
36437 sed 's/^/| /' conftest.$ac_ext >&5
36438
36439
36440 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36441 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36442 wx_cv_func_gettimeofday_has_2_args=unknown
36443
36444
36445 fi
36446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36447
36448 fi
36449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36450 ac_ext=c
36451 ac_cpp='$CPP $CPPFLAGS'
36452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36455
36456
36457 fi
36458 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36459 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36460
36461 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36462 cat >>confdefs.h <<\_ACEOF
36463 #define WX_GETTIMEOFDAY_NO_TZ 1
36464 _ACEOF
36465
36466 fi
36467 fi
36468
36469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
36470 fi
36471
36472
36473 if test "$wxUSE_SOCKETS" = "yes"; then
36474 if test "$wxUSE_MGL" = "1"; then
36475 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36476 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36477 wxUSE_SOCKETS="no"
36478 fi
36479 fi
36480
36481 if test "$wxUSE_SOCKETS" = "yes"; then
36482 if test "$TOOLKIT" != "MSW"; then
36483 echo "$as_me:$LINENO: checking for socket" >&5
36484 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36485 if test "${ac_cv_func_socket+set}" = set; then
36486 echo $ECHO_N "(cached) $ECHO_C" >&6
36487 else
36488 cat >conftest.$ac_ext <<_ACEOF
36489 /* confdefs.h. */
36490 _ACEOF
36491 cat confdefs.h >>conftest.$ac_ext
36492 cat >>conftest.$ac_ext <<_ACEOF
36493 /* end confdefs.h. */
36494 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36496 #define socket innocuous_socket
36497
36498 /* System header to define __stub macros and hopefully few prototypes,
36499 which can conflict with char socket (); below.
36500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36501 <limits.h> exists even on freestanding compilers. */
36502
36503 #ifdef __STDC__
36504 # include <limits.h>
36505 #else
36506 # include <assert.h>
36507 #endif
36508
36509 #undef socket
36510
36511 /* Override any gcc2 internal prototype to avoid an error. */
36512 #ifdef __cplusplus
36513 extern "C"
36514 {
36515 #endif
36516 /* We use char because int might match the return type of a gcc2
36517 builtin and then its argument prototype would still apply. */
36518 char socket ();
36519 /* The GNU C library defines this for functions which it implements
36520 to always fail with ENOSYS. Some functions are actually named
36521 something starting with __ and the normal name is an alias. */
36522 #if defined (__stub_socket) || defined (__stub___socket)
36523 choke me
36524 #else
36525 char (*f) () = socket;
36526 #endif
36527 #ifdef __cplusplus
36528 }
36529 #endif
36530
36531 int
36532 main ()
36533 {
36534 return f != socket;
36535 ;
36536 return 0;
36537 }
36538 _ACEOF
36539 rm -f conftest.$ac_objext conftest$ac_exeext
36540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36541 (eval $ac_link) 2>conftest.er1
36542 ac_status=$?
36543 grep -v '^ *+' conftest.er1 >conftest.err
36544 rm -f conftest.er1
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } &&
36548 { ac_try='test -z "$ac_c_werror_flag"
36549 || test ! -s conftest.err'
36550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36551 (eval $ac_try) 2>&5
36552 ac_status=$?
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); }; } &&
36555 { ac_try='test -s conftest$ac_exeext'
36556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36557 (eval $ac_try) 2>&5
36558 ac_status=$?
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; }; then
36561 ac_cv_func_socket=yes
36562 else
36563 echo "$as_me: failed program was:" >&5
36564 sed 's/^/| /' conftest.$ac_ext >&5
36565
36566 ac_cv_func_socket=no
36567 fi
36568 rm -f conftest.err conftest.$ac_objext \
36569 conftest$ac_exeext conftest.$ac_ext
36570 fi
36571 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36572 echo "${ECHO_T}$ac_cv_func_socket" >&6
36573 if test $ac_cv_func_socket = yes; then
36574 :
36575 else
36576
36577 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36578 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36579 if test "${ac_cv_lib_socket_socket+set}" = set; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 else
36582 ac_check_lib_save_LIBS=$LIBS
36583 LIBS="-lsocket $LIBS"
36584 cat >conftest.$ac_ext <<_ACEOF
36585 /* confdefs.h. */
36586 _ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590
36591 /* Override any gcc2 internal prototype to avoid an error. */
36592 #ifdef __cplusplus
36593 extern "C"
36594 #endif
36595 /* We use char because int might match the return type of a gcc2
36596 builtin and then its argument prototype would still apply. */
36597 char socket ();
36598 int
36599 main ()
36600 {
36601 socket ();
36602 ;
36603 return 0;
36604 }
36605 _ACEOF
36606 rm -f conftest.$ac_objext conftest$ac_exeext
36607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36608 (eval $ac_link) 2>conftest.er1
36609 ac_status=$?
36610 grep -v '^ *+' conftest.er1 >conftest.err
36611 rm -f conftest.er1
36612 cat conftest.err >&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } &&
36615 { ac_try='test -z "$ac_c_werror_flag"
36616 || test ! -s conftest.err'
36617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36618 (eval $ac_try) 2>&5
36619 ac_status=$?
36620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36621 (exit $ac_status); }; } &&
36622 { ac_try='test -s conftest$ac_exeext'
36623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36624 (eval $ac_try) 2>&5
36625 ac_status=$?
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); }; }; then
36628 ac_cv_lib_socket_socket=yes
36629 else
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.$ac_ext >&5
36632
36633 ac_cv_lib_socket_socket=no
36634 fi
36635 rm -f conftest.err conftest.$ac_objext \
36636 conftest$ac_exeext conftest.$ac_ext
36637 LIBS=$ac_check_lib_save_LIBS
36638 fi
36639 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36640 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36641 if test $ac_cv_lib_socket_socket = yes; then
36642 if test "$INET_LINK" != " -lsocket"; then
36643 INET_LINK="$INET_LINK -lsocket"
36644 fi
36645 else
36646
36647 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36648 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36649 wxUSE_SOCKETS=no
36650
36651
36652 fi
36653
36654
36655
36656 fi
36657
36658 fi
36659 fi
36660
36661 if test "$wxUSE_SOCKETS" = "yes" ; then
36662 if test "$TOOLKIT" != "MSW"; then
36663 ac_ext=cc
36664 ac_cpp='$CXXCPP $CPPFLAGS'
36665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36668
36669 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36670 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36671 if test "${wx_cv_type_getsockname3+set}" = set; then
36672 echo $ECHO_N "(cached) $ECHO_C" >&6
36673 else
36674
36675 cat >conftest.$ac_ext <<_ACEOF
36676 /* confdefs.h. */
36677 _ACEOF
36678 cat confdefs.h >>conftest.$ac_ext
36679 cat >>conftest.$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36681
36682 #include <sys/types.h>
36683 #include <sys/socket.h>
36684
36685 int
36686 main ()
36687 {
36688
36689 socklen_t len;
36690 getsockname(0, 0, &len);
36691
36692 ;
36693 return 0;
36694 }
36695 _ACEOF
36696 rm -f conftest.$ac_objext
36697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36698 (eval $ac_compile) 2>conftest.er1
36699 ac_status=$?
36700 grep -v '^ *+' conftest.er1 >conftest.err
36701 rm -f conftest.er1
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } &&
36705 { ac_try='test -z "$ac_cxx_werror_flag"
36706 || test ! -s conftest.err'
36707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36708 (eval $ac_try) 2>&5
36709 ac_status=$?
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); }; } &&
36712 { ac_try='test -s conftest.$ac_objext'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36715 ac_status=$?
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; }; then
36718 wx_cv_type_getsockname3=socklen_t
36719 else
36720 echo "$as_me: failed program was:" >&5
36721 sed 's/^/| /' conftest.$ac_ext >&5
36722
36723
36724 CFLAGS_OLD="$CFLAGS"
36725 if test "$GCC" = yes ; then
36726 CFLAGS="$CFLAGS -Werror"
36727 fi
36728
36729 cat >conftest.$ac_ext <<_ACEOF
36730 /* confdefs.h. */
36731 _ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36735
36736 #include <sys/types.h>
36737 #include <sys/socket.h>
36738
36739 int
36740 main ()
36741 {
36742
36743 size_t len;
36744 getsockname(0, 0, &len);
36745
36746 ;
36747 return 0;
36748 }
36749 _ACEOF
36750 rm -f conftest.$ac_objext
36751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36752 (eval $ac_compile) 2>conftest.er1
36753 ac_status=$?
36754 grep -v '^ *+' conftest.er1 >conftest.err
36755 rm -f conftest.er1
36756 cat conftest.err >&5
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); } &&
36759 { ac_try='test -z "$ac_cxx_werror_flag"
36760 || test ! -s conftest.err'
36761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36762 (eval $ac_try) 2>&5
36763 ac_status=$?
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); }; } &&
36766 { ac_try='test -s conftest.$ac_objext'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36769 ac_status=$?
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; }; then
36772 wx_cv_type_getsockname3=size_t
36773 else
36774 echo "$as_me: failed program was:" >&5
36775 sed 's/^/| /' conftest.$ac_ext >&5
36776
36777 cat >conftest.$ac_ext <<_ACEOF
36778 /* confdefs.h. */
36779 _ACEOF
36780 cat confdefs.h >>conftest.$ac_ext
36781 cat >>conftest.$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36783
36784 #include <sys/types.h>
36785 #include <sys/socket.h>
36786
36787 int
36788 main ()
36789 {
36790
36791 int len;
36792 getsockname(0, 0, &len);
36793
36794 ;
36795 return 0;
36796 }
36797 _ACEOF
36798 rm -f conftest.$ac_objext
36799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36800 (eval $ac_compile) 2>conftest.er1
36801 ac_status=$?
36802 grep -v '^ *+' conftest.er1 >conftest.err
36803 rm -f conftest.er1
36804 cat conftest.err >&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); } &&
36807 { ac_try='test -z "$ac_cxx_werror_flag"
36808 || test ! -s conftest.err'
36809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36810 (eval $ac_try) 2>&5
36811 ac_status=$?
36812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36813 (exit $ac_status); }; } &&
36814 { ac_try='test -s conftest.$ac_objext'
36815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36816 (eval $ac_try) 2>&5
36817 ac_status=$?
36818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36819 (exit $ac_status); }; }; then
36820 wx_cv_type_getsockname3=int
36821 else
36822 echo "$as_me: failed program was:" >&5
36823 sed 's/^/| /' conftest.$ac_ext >&5
36824
36825 wx_cv_type_getsockname3=unknown
36826
36827 fi
36828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36829
36830 fi
36831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36832
36833 CFLAGS="$CFLAGS_OLD"
36834
36835
36836 fi
36837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36838
36839 fi
36840 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36841 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36842
36843 if test "$wx_cv_type_getsockname3" = "unknown"; then
36844 wxUSE_SOCKETS=no
36845 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36846 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36847 else
36848 cat >>confdefs.h <<_ACEOF
36849 #define SOCKLEN_T $wx_cv_type_getsockname3
36850 _ACEOF
36851
36852 fi
36853 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36854 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36855 if test "${wx_cv_type_getsockopt5+set}" = set; then
36856 echo $ECHO_N "(cached) $ECHO_C" >&6
36857 else
36858
36859 cat >conftest.$ac_ext <<_ACEOF
36860 /* confdefs.h. */
36861 _ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865
36866 #include <sys/types.h>
36867 #include <sys/socket.h>
36868
36869 int
36870 main ()
36871 {
36872
36873 socklen_t len;
36874 getsockopt(0, 0, 0, 0, &len);
36875
36876 ;
36877 return 0;
36878 }
36879 _ACEOF
36880 rm -f conftest.$ac_objext
36881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36882 (eval $ac_compile) 2>conftest.er1
36883 ac_status=$?
36884 grep -v '^ *+' conftest.er1 >conftest.err
36885 rm -f conftest.er1
36886 cat conftest.err >&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); } &&
36889 { ac_try='test -z "$ac_cxx_werror_flag"
36890 || test ! -s conftest.err'
36891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36892 (eval $ac_try) 2>&5
36893 ac_status=$?
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); }; } &&
36896 { ac_try='test -s conftest.$ac_objext'
36897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36898 (eval $ac_try) 2>&5
36899 ac_status=$?
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); }; }; then
36902 wx_cv_type_getsockopt5=socklen_t
36903 else
36904 echo "$as_me: failed program was:" >&5
36905 sed 's/^/| /' conftest.$ac_ext >&5
36906
36907
36908 CFLAGS_OLD="$CFLAGS"
36909 if test "$GCC" = yes ; then
36910 CFLAGS="$CFLAGS -Werror"
36911 fi
36912
36913 cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h. */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919
36920 #include <sys/types.h>
36921 #include <sys/socket.h>
36922
36923 int
36924 main ()
36925 {
36926
36927 size_t len;
36928 getsockopt(0, 0, 0, 0, &len);
36929
36930 ;
36931 return 0;
36932 }
36933 _ACEOF
36934 rm -f conftest.$ac_objext
36935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36936 (eval $ac_compile) 2>conftest.er1
36937 ac_status=$?
36938 grep -v '^ *+' conftest.er1 >conftest.err
36939 rm -f conftest.er1
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } &&
36943 { ac_try='test -z "$ac_cxx_werror_flag"
36944 || test ! -s conftest.err'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36947 ac_status=$?
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; } &&
36950 { ac_try='test -s conftest.$ac_objext'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36953 ac_status=$?
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; }; then
36956 wx_cv_type_getsockopt5=size_t
36957 else
36958 echo "$as_me: failed program was:" >&5
36959 sed 's/^/| /' conftest.$ac_ext >&5
36960
36961 cat >conftest.$ac_ext <<_ACEOF
36962 /* confdefs.h. */
36963 _ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36967
36968 #include <sys/types.h>
36969 #include <sys/socket.h>
36970
36971 int
36972 main ()
36973 {
36974
36975 int len;
36976 getsockopt(0, 0, 0, 0, &len);
36977
36978 ;
36979 return 0;
36980 }
36981 _ACEOF
36982 rm -f conftest.$ac_objext
36983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36984 (eval $ac_compile) 2>conftest.er1
36985 ac_status=$?
36986 grep -v '^ *+' conftest.er1 >conftest.err
36987 rm -f conftest.er1
36988 cat conftest.err >&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); } &&
36991 { ac_try='test -z "$ac_cxx_werror_flag"
36992 || test ! -s conftest.err'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36995 ac_status=$?
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; } &&
36998 { ac_try='test -s conftest.$ac_objext'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 wx_cv_type_getsockopt5=int
37005 else
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37008
37009 wx_cv_type_getsockopt5=unknown
37010
37011 fi
37012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37013
37014 fi
37015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37016
37017 CFLAGS="$CFLAGS_OLD"
37018
37019
37020 fi
37021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37022
37023 fi
37024 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37025 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37026
37027 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37028 wxUSE_SOCKETS=no
37029 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37030 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37031 else
37032 cat >>confdefs.h <<_ACEOF
37033 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37034 _ACEOF
37035
37036 fi
37037 ac_ext=c
37038 ac_cpp='$CPP $CPPFLAGS'
37039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37042
37043 fi
37044 fi
37045
37046 if test "$wxUSE_SOCKETS" = "yes" ; then
37047 cat >>confdefs.h <<\_ACEOF
37048 #define wxUSE_SOCKETS 1
37049 _ACEOF
37050
37051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37052 fi
37053
37054 if test "$wxUSE_PROTOCOL" = "yes"; then
37055 if test "$wxUSE_SOCKETS" != "yes"; then
37056 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37057 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37058 wxUSE_PROTOCOL=no
37059 fi
37060 fi
37061
37062 if test "$wxUSE_PROTOCOL" = "yes"; then
37063 cat >>confdefs.h <<\_ACEOF
37064 #define wxUSE_PROTOCOL 1
37065 _ACEOF
37066
37067
37068 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37069 cat >>confdefs.h <<\_ACEOF
37070 #define wxUSE_PROTOCOL_HTTP 1
37071 _ACEOF
37072
37073 fi
37074 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37075 cat >>confdefs.h <<\_ACEOF
37076 #define wxUSE_PROTOCOL_FTP 1
37077 _ACEOF
37078
37079 fi
37080 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37081 cat >>confdefs.h <<\_ACEOF
37082 #define wxUSE_PROTOCOL_FILE 1
37083 _ACEOF
37084
37085 fi
37086 else
37087 if test "$wxUSE_FS_INET" = "yes"; then
37088 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37089 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37090 wxUSE_FS_INET="no"
37091 fi
37092 fi
37093
37094 if test "$wxUSE_URL" = "yes"; then
37095 if test "$wxUSE_PROTOCOL" != "yes"; then
37096 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37097 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37098 wxUSE_URL=no
37099 fi
37100 if test "$wxUSE_URL" = "yes"; then
37101 cat >>confdefs.h <<\_ACEOF
37102 #define wxUSE_URL 1
37103 _ACEOF
37104
37105 fi
37106 fi
37107
37108 if test "$wxUSE_FS_INET" = "yes"; then
37109 cat >>confdefs.h <<\_ACEOF
37110 #define wxUSE_FS_INET 1
37111 _ACEOF
37112
37113 fi
37114
37115
37116 if test "$wxUSE_GUI" = "yes"; then
37117 if test "$wxUSE_JOYSTICK" = "yes"; then
37118
37119 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37120
37121 for ac_header in linux/joystick.h
37122 do
37123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37125 echo "$as_me:$LINENO: checking for $ac_header" >&5
37126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 fi
37130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37132 else
37133 # Is the header compilable?
37134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37136 cat >conftest.$ac_ext <<_ACEOF
37137 /* confdefs.h. */
37138 _ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 $ac_includes_default
37143 #include <$ac_header>
37144 _ACEOF
37145 rm -f conftest.$ac_objext
37146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37147 (eval $ac_compile) 2>conftest.er1
37148 ac_status=$?
37149 grep -v '^ *+' conftest.er1 >conftest.err
37150 rm -f conftest.er1
37151 cat conftest.err >&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try='test -z "$ac_c_werror_flag"
37155 || test ! -s conftest.err'
37156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37157 (eval $ac_try) 2>&5
37158 ac_status=$?
37159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37160 (exit $ac_status); }; } &&
37161 { ac_try='test -s conftest.$ac_objext'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37164 ac_status=$?
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; }; then
37167 ac_header_compiler=yes
37168 else
37169 echo "$as_me: failed program was:" >&5
37170 sed 's/^/| /' conftest.$ac_ext >&5
37171
37172 ac_header_compiler=no
37173 fi
37174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37176 echo "${ECHO_T}$ac_header_compiler" >&6
37177
37178 # Is the header present?
37179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37181 cat >conftest.$ac_ext <<_ACEOF
37182 /* confdefs.h. */
37183 _ACEOF
37184 cat confdefs.h >>conftest.$ac_ext
37185 cat >>conftest.$ac_ext <<_ACEOF
37186 /* end confdefs.h. */
37187 #include <$ac_header>
37188 _ACEOF
37189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37191 ac_status=$?
37192 grep -v '^ *+' conftest.er1 >conftest.err
37193 rm -f conftest.er1
37194 cat conftest.err >&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } >/dev/null; then
37197 if test -s conftest.err; then
37198 ac_cpp_err=$ac_c_preproc_warn_flag
37199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37200 else
37201 ac_cpp_err=
37202 fi
37203 else
37204 ac_cpp_err=yes
37205 fi
37206 if test -z "$ac_cpp_err"; then
37207 ac_header_preproc=yes
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37211
37212 ac_header_preproc=no
37213 fi
37214 rm -f conftest.err conftest.$ac_ext
37215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37216 echo "${ECHO_T}$ac_header_preproc" >&6
37217
37218 # So? What about this header?
37219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37220 yes:no: )
37221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37225 ac_header_preproc=yes
37226 ;;
37227 no:yes:* )
37228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37240 (
37241 cat <<\_ASBOX
37242 ## ----------------------------------------- ##
37243 ## Report this to wx-dev@lists.wxwidgets.org ##
37244 ## ----------------------------------------- ##
37245 _ASBOX
37246 ) |
37247 sed "s/^/$as_me: WARNING: /" >&2
37248 ;;
37249 esac
37250 echo "$as_me:$LINENO: checking for $ac_header" >&5
37251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37254 else
37255 eval "$as_ac_Header=\$ac_header_preproc"
37256 fi
37257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37259
37260 fi
37261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37262 cat >>confdefs.h <<_ACEOF
37263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37264 _ACEOF
37265
37266 fi
37267
37268 done
37269
37270 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37271 wxUSE_JOYSTICK=no
37272 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37273 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37274 fi
37275 else
37276 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
37277 wxUSE_JOYSTICK=no
37278 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37279 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37280 fi
37281 fi
37282
37283
37284 if test "$wxUSE_JOYSTICK" = "yes"; then
37285 cat >>confdefs.h <<\_ACEOF
37286 #define wxUSE_JOYSTICK 1
37287 _ACEOF
37288
37289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
37290 fi
37291 fi
37292 fi
37293
37294
37295
37296 if test "$wxUSE_FONTMAP" = "yes" ; then
37297 cat >>confdefs.h <<\_ACEOF
37298 #define wxUSE_FONTMAP 1
37299 _ACEOF
37300
37301 fi
37302
37303 if test "$wxUSE_UNICODE" = "yes" ; then
37304 cat >>confdefs.h <<\_ACEOF
37305 #define wxUSE_UNICODE 1
37306 _ACEOF
37307
37308
37309 if test "$USE_WIN32" != 1; then
37310 wxUSE_UNICODE_MSLU=no
37311 fi
37312
37313 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37314 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37315 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37316 if test "${ac_cv_lib_unicows_main+set}" = set; then
37317 echo $ECHO_N "(cached) $ECHO_C" >&6
37318 else
37319 ac_check_lib_save_LIBS=$LIBS
37320 LIBS="-lunicows $LIBS"
37321 cat >conftest.$ac_ext <<_ACEOF
37322 /* confdefs.h. */
37323 _ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327
37328
37329 int
37330 main ()
37331 {
37332 main ();
37333 ;
37334 return 0;
37335 }
37336 _ACEOF
37337 rm -f conftest.$ac_objext conftest$ac_exeext
37338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37339 (eval $ac_link) 2>conftest.er1
37340 ac_status=$?
37341 grep -v '^ *+' conftest.er1 >conftest.err
37342 rm -f conftest.er1
37343 cat conftest.err >&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } &&
37346 { ac_try='test -z "$ac_c_werror_flag"
37347 || test ! -s conftest.err'
37348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37349 (eval $ac_try) 2>&5
37350 ac_status=$?
37351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37352 (exit $ac_status); }; } &&
37353 { ac_try='test -s conftest$ac_exeext'
37354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37355 (eval $ac_try) 2>&5
37356 ac_status=$?
37357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37358 (exit $ac_status); }; }; then
37359 ac_cv_lib_unicows_main=yes
37360 else
37361 echo "$as_me: failed program was:" >&5
37362 sed 's/^/| /' conftest.$ac_ext >&5
37363
37364 ac_cv_lib_unicows_main=no
37365 fi
37366 rm -f conftest.err conftest.$ac_objext \
37367 conftest$ac_exeext conftest.$ac_ext
37368 LIBS=$ac_check_lib_save_LIBS
37369 fi
37370 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37371 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37372 if test $ac_cv_lib_unicows_main = yes; then
37373
37374 cat >>confdefs.h <<\_ACEOF
37375 #define wxUSE_UNICODE_MSLU 1
37376 _ACEOF
37377
37378
37379 else
37380
37381 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37382 Applications will only run on Windows NT/2000/XP!" >&5
37383 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37384 Applications will only run on Windows NT/2000/XP!" >&2;}
37385 wxUSE_UNICODE_MSLU=no
37386
37387 fi
37388
37389 fi
37390 fi
37391
37392 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37393 cat >>confdefs.h <<\_ACEOF
37394 #define wxUSE_EXPERIMENTAL_PRINTF 1
37395 _ACEOF
37396
37397 fi
37398
37399
37400 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37401 cat >>confdefs.h <<\_ACEOF
37402 #define wxUSE_POSTSCRIPT 1
37403 _ACEOF
37404
37405 fi
37406
37407 cat >>confdefs.h <<\_ACEOF
37408 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37409 _ACEOF
37410
37411
37412 cat >>confdefs.h <<\_ACEOF
37413 #define wxUSE_NORMALIZED_PS_FONTS 1
37414 _ACEOF
37415
37416
37417
37418 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37419 cat >>confdefs.h <<\_ACEOF
37420 #define wxUSE_CONSTRAINTS 1
37421 _ACEOF
37422
37423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
37424 fi
37425
37426 if test "$wxUSE_MDI" = "yes"; then
37427 cat >>confdefs.h <<\_ACEOF
37428 #define wxUSE_MDI 1
37429 _ACEOF
37430
37431
37432 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37433 cat >>confdefs.h <<\_ACEOF
37434 #define wxUSE_MDI_ARCHITECTURE 1
37435 _ACEOF
37436
37437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
37438 fi
37439 fi
37440
37441 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37442 cat >>confdefs.h <<\_ACEOF
37443 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37444 _ACEOF
37445
37446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
37447 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
37449 fi
37450 fi
37451
37452 if test "$wxUSE_HELP" = "yes"; then
37453 cat >>confdefs.h <<\_ACEOF
37454 #define wxUSE_HELP 1
37455 _ACEOF
37456
37457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
37458
37459 if test "$wxUSE_MSW" = 1; then
37460 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37461 cat >>confdefs.h <<\_ACEOF
37462 #define wxUSE_MS_HTML_HELP 1
37463 _ACEOF
37464
37465 fi
37466 fi
37467
37468 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37469 if test "$wxUSE_HTML" = "yes"; then
37470 cat >>confdefs.h <<\_ACEOF
37471 #define wxUSE_WXHTML_HELP 1
37472 _ACEOF
37473
37474 else
37475 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37476 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37477 wxUSE_WXHTML_HELP=no
37478 fi
37479 fi
37480 fi
37481
37482 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37483 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37484 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37485 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37486 else
37487 cat >>confdefs.h <<\_ACEOF
37488 #define wxUSE_PRINTING_ARCHITECTURE 1
37489 _ACEOF
37490
37491 fi
37492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
37493 fi
37494
37495 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37496 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37497 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37498 { (exit 1); exit 1; }; }
37499 fi
37500
37501
37502 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
37503 -o "$wxUSE_CLIPBOARD" = "yes" \
37504 -o "$wxUSE_OLE" = "yes" \
37505 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
37506
37507 for ac_header in ole2.h
37508 do
37509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37511 echo "$as_me:$LINENO: checking for $ac_header" >&5
37512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 fi
37516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37518 else
37519 # Is the header compilable?
37520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37522 cat >conftest.$ac_ext <<_ACEOF
37523 /* confdefs.h. */
37524 _ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h. */
37528 $ac_includes_default
37529 #include <$ac_header>
37530 _ACEOF
37531 rm -f conftest.$ac_objext
37532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37533 (eval $ac_compile) 2>conftest.er1
37534 ac_status=$?
37535 grep -v '^ *+' conftest.er1 >conftest.err
37536 rm -f conftest.er1
37537 cat conftest.err >&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); } &&
37540 { ac_try='test -z "$ac_c_werror_flag"
37541 || test ! -s conftest.err'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37544 ac_status=$?
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
37553 ac_header_compiler=yes
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 ac_header_compiler=no
37559 fi
37560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37562 echo "${ECHO_T}$ac_header_compiler" >&6
37563
37564 # Is the header present?
37565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37567 cat >conftest.$ac_ext <<_ACEOF
37568 /* confdefs.h. */
37569 _ACEOF
37570 cat confdefs.h >>conftest.$ac_ext
37571 cat >>conftest.$ac_ext <<_ACEOF
37572 /* end confdefs.h. */
37573 #include <$ac_header>
37574 _ACEOF
37575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37577 ac_status=$?
37578 grep -v '^ *+' conftest.er1 >conftest.err
37579 rm -f conftest.er1
37580 cat conftest.err >&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } >/dev/null; then
37583 if test -s conftest.err; then
37584 ac_cpp_err=$ac_c_preproc_warn_flag
37585 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37586 else
37587 ac_cpp_err=
37588 fi
37589 else
37590 ac_cpp_err=yes
37591 fi
37592 if test -z "$ac_cpp_err"; then
37593 ac_header_preproc=yes
37594 else
37595 echo "$as_me: failed program was:" >&5
37596 sed 's/^/| /' conftest.$ac_ext >&5
37597
37598 ac_header_preproc=no
37599 fi
37600 rm -f conftest.err conftest.$ac_ext
37601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37602 echo "${ECHO_T}$ac_header_preproc" >&6
37603
37604 # So? What about this header?
37605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37606 yes:no: )
37607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37611 ac_header_preproc=yes
37612 ;;
37613 no:yes:* )
37614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37626 (
37627 cat <<\_ASBOX
37628 ## ----------------------------------------- ##
37629 ## Report this to wx-dev@lists.wxwidgets.org ##
37630 ## ----------------------------------------- ##
37631 _ASBOX
37632 ) |
37633 sed "s/^/$as_me: WARNING: /" >&2
37634 ;;
37635 esac
37636 echo "$as_me:$LINENO: checking for $ac_header" >&5
37637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37639 echo $ECHO_N "(cached) $ECHO_C" >&6
37640 else
37641 eval "$as_ac_Header=\$ac_header_preproc"
37642 fi
37643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37645
37646 fi
37647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37648 cat >>confdefs.h <<_ACEOF
37649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37650 _ACEOF
37651
37652 fi
37653
37654 done
37655
37656
37657 if test "$ac_cv_header_ole2_h" = "yes" ; then
37658 if test "$GCC" = yes ; then
37659
37660
37661 ac_ext=cc
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666
37667
37668 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37669 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37670 cat >conftest.$ac_ext <<_ACEOF
37671 /* confdefs.h. */
37672 _ACEOF
37673 cat confdefs.h >>conftest.$ac_ext
37674 cat >>conftest.$ac_ext <<_ACEOF
37675 /* end confdefs.h. */
37676 #include <windows.h>
37677 #include <ole2.h>
37678 int
37679 main ()
37680 {
37681
37682 ;
37683 return 0;
37684 }
37685 _ACEOF
37686 rm -f conftest.$ac_objext
37687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37688 (eval $ac_compile) 2>conftest.er1
37689 ac_status=$?
37690 grep -v '^ *+' conftest.er1 >conftest.err
37691 rm -f conftest.er1
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } &&
37695 { ac_try='test -z "$ac_cxx_werror_flag"
37696 || test ! -s conftest.err'
37697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698 (eval $ac_try) 2>&5
37699 ac_status=$?
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); }; } &&
37702 { ac_try='test -s conftest.$ac_objext'
37703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704 (eval $ac_try) 2>&5
37705 ac_status=$?
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); }; }; then
37708 echo "$as_me:$LINENO: result: no" >&5
37709 echo "${ECHO_T}no" >&6
37710 else
37711 echo "$as_me: failed program was:" >&5
37712 sed 's/^/| /' conftest.$ac_ext >&5
37713
37714 echo "$as_me:$LINENO: result: yes" >&5
37715 echo "${ECHO_T}yes" >&6
37716 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37717 fi
37718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37719 ac_ext=c
37720 ac_cpp='$CPP $CPPFLAGS'
37721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37724
37725 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37726 if test "$wxUSE_OLE" = "yes" ; then
37727 cat >>confdefs.h <<\_ACEOF
37728 #define wxUSE_OLE 1
37729 _ACEOF
37730
37731 fi
37732 fi
37733
37734 if test "$wxUSE_DATAOBJ" = "yes" ; then
37735 cat >>confdefs.h <<\_ACEOF
37736 #define wxUSE_DATAOBJ 1
37737 _ACEOF
37738
37739 fi
37740 else
37741 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37742 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37743
37744 wxUSE_CLIPBOARD=no
37745 wxUSE_DRAG_AND_DROP=no
37746 wxUSE_DATAOBJ=no
37747 wxUSE_OLE=no
37748 fi
37749
37750 if test "$wxUSE_METAFILE" = "yes"; then
37751 cat >>confdefs.h <<\_ACEOF
37752 #define wxUSE_METAFILE 1
37753 _ACEOF
37754
37755
37756 cat >>confdefs.h <<\_ACEOF
37757 #define wxUSE_ENH_METAFILE 1
37758 _ACEOF
37759
37760 fi
37761 fi
37762
37763 if test "$wxUSE_IPC" = "yes"; then
37764 if test "$wxUSE_SOCKETS" != "yes"; then
37765 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37766 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37767 fi
37768
37769 cat >>confdefs.h <<\_ACEOF
37770 #define wxUSE_IPC 1
37771 _ACEOF
37772
37773 fi
37774
37775 if test "$wxUSE_CLIPBOARD" = "yes"; then
37776 if test "$wxUSE_MGL" = 1; then
37777 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37778 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37779 wxUSE_CLIPBOARD=no
37780 fi
37781
37782 if test "$wxUSE_CLIPBOARD" = "yes"; then
37783 cat >>confdefs.h <<\_ACEOF
37784 #define wxUSE_CLIPBOARD 1
37785 _ACEOF
37786
37787
37788 cat >>confdefs.h <<\_ACEOF
37789 #define wxUSE_DATAOBJ 1
37790 _ACEOF
37791
37792 fi
37793 fi
37794
37795 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37796 if test "$wxUSE_GTK" = 1; then
37797 if test "$WXGTK12" != 1; then
37798 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37799 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37800 wxUSE_DRAG_AND_DROP=no
37801 fi
37802 fi
37803
37804 if test "$wxUSE_MOTIF" = 1; then
37805 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37806 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37807 wxUSE_DRAG_AND_DROP=no
37808 fi
37809
37810 if test "$wxUSE_X11" = 1; then
37811 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37812 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37813 wxUSE_DRAG_AND_DROP=no
37814 fi
37815
37816 if test "$wxUSE_MGL" = 1; then
37817 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37818 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37819 wxUSE_DRAG_AND_DROP=no
37820 fi
37821
37822 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37823 cat >>confdefs.h <<\_ACEOF
37824 #define wxUSE_DRAG_AND_DROP 1
37825 _ACEOF
37826
37827 fi
37828
37829 fi
37830
37831 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37833 fi
37834
37835 if test "$wxUSE_SPLINES" = "yes" ; then
37836 cat >>confdefs.h <<\_ACEOF
37837 #define wxUSE_SPLINES 1
37838 _ACEOF
37839
37840 fi
37841
37842
37843 USES_CONTROLS=0
37844 if test "$wxUSE_CONTROLS" = "yes"; then
37845 USES_CONTROLS=1
37846 fi
37847
37848 if test "$wxUSE_ACCEL" = "yes"; then
37849 cat >>confdefs.h <<\_ACEOF
37850 #define wxUSE_ACCEL 1
37851 _ACEOF
37852
37853 USES_CONTROLS=1
37854 fi
37855
37856 if test "$wxUSE_BUTTON" = "yes"; then
37857 cat >>confdefs.h <<\_ACEOF
37858 #define wxUSE_BUTTON 1
37859 _ACEOF
37860
37861 USES_CONTROLS=1
37862 fi
37863
37864 if test "$wxUSE_BMPBUTTON" = "yes"; then
37865 cat >>confdefs.h <<\_ACEOF
37866 #define wxUSE_BMPBUTTON 1
37867 _ACEOF
37868
37869 USES_CONTROLS=1
37870 fi
37871
37872 if test "$wxUSE_CALCTRL" = "yes"; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define wxUSE_CALENDARCTRL 1
37875 _ACEOF
37876
37877 USES_CONTROLS=1
37878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37879 fi
37880
37881 if test "$wxUSE_CARET" = "yes"; then
37882 cat >>confdefs.h <<\_ACEOF
37883 #define wxUSE_CARET 1
37884 _ACEOF
37885
37886 USES_CONTROLS=1
37887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37888 fi
37889
37890 if test "$wxUSE_COMBOBOX" = "yes"; then
37891 cat >>confdefs.h <<\_ACEOF
37892 #define wxUSE_COMBOBOX 1
37893 _ACEOF
37894
37895 USES_CONTROLS=1
37896 fi
37897
37898 if test "$wxUSE_CHOICE" = "yes"; then
37899 cat >>confdefs.h <<\_ACEOF
37900 #define wxUSE_CHOICE 1
37901 _ACEOF
37902
37903 USES_CONTROLS=1
37904 fi
37905
37906 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37907 cat >>confdefs.h <<\_ACEOF
37908 #define wxUSE_CHOICEBOOK 1
37909 _ACEOF
37910
37911 USES_CONTROLS=1
37912 fi
37913
37914 if test "$wxUSE_CHECKBOX" = "yes"; then
37915 cat >>confdefs.h <<\_ACEOF
37916 #define wxUSE_CHECKBOX 1
37917 _ACEOF
37918
37919 USES_CONTROLS=1
37920 fi
37921
37922 if test "$wxUSE_CHECKLST" = "yes"; then
37923 cat >>confdefs.h <<\_ACEOF
37924 #define wxUSE_CHECKLISTBOX 1
37925 _ACEOF
37926
37927 USES_CONTROLS=1
37928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37929 fi
37930
37931 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37932 cat >>confdefs.h <<\_ACEOF
37933 #define wxUSE_DATEPICKCTRL 1
37934 _ACEOF
37935
37936 USES_CONTROLS=1
37937 fi
37938
37939 if test "$wxUSE_DISPLAY" = "yes"; then
37940 cat >>confdefs.h <<\_ACEOF
37941 #define wxUSE_DISPLAY 1
37942 _ACEOF
37943
37944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37945 fi
37946
37947 if test "$wxUSE_GAUGE" = "yes"; then
37948 cat >>confdefs.h <<\_ACEOF
37949 #define wxUSE_GAUGE 1
37950 _ACEOF
37951
37952 USES_CONTROLS=1
37953 fi
37954
37955 if test "$wxUSE_GRID" = "yes"; then
37956 cat >>confdefs.h <<\_ACEOF
37957 #define wxUSE_GRID 1
37958 _ACEOF
37959
37960 USES_CONTROLS=1
37961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37962 fi
37963
37964 if test "$wxUSE_IMAGLIST" = "yes"; then
37965 cat >>confdefs.h <<\_ACEOF
37966 #define wxUSE_IMAGLIST 1
37967 _ACEOF
37968
37969 fi
37970
37971 if test "$wxUSE_LISTBOOK" = "yes"; then
37972 cat >>confdefs.h <<\_ACEOF
37973 #define wxUSE_LISTBOOK 1
37974 _ACEOF
37975
37976 USES_CONTROLS=1
37977 fi
37978
37979 if test "$wxUSE_LISTBOX" = "yes"; then
37980 cat >>confdefs.h <<\_ACEOF
37981 #define wxUSE_LISTBOX 1
37982 _ACEOF
37983
37984 USES_CONTROLS=1
37985 fi
37986
37987 if test "$wxUSE_LISTCTRL" = "yes"; then
37988 if test "$wxUSE_IMAGLIST" = "yes"; then
37989 cat >>confdefs.h <<\_ACEOF
37990 #define wxUSE_LISTCTRL 1
37991 _ACEOF
37992
37993 USES_CONTROLS=1
37994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37995 else
37996 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37997 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37998 fi
37999 fi
38000
38001 if test "$wxUSE_NOTEBOOK" = "yes"; then
38002 cat >>confdefs.h <<\_ACEOF
38003 #define wxUSE_NOTEBOOK 1
38004 _ACEOF
38005
38006 USES_CONTROLS=1
38007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
38008 fi
38009
38010
38011 if test "$wxUSE_RADIOBOX" = "yes"; then
38012 cat >>confdefs.h <<\_ACEOF
38013 #define wxUSE_RADIOBOX 1
38014 _ACEOF
38015
38016 USES_CONTROLS=1
38017 fi
38018
38019 if test "$wxUSE_RADIOBTN" = "yes"; then
38020 cat >>confdefs.h <<\_ACEOF
38021 #define wxUSE_RADIOBTN 1
38022 _ACEOF
38023
38024 USES_CONTROLS=1
38025 fi
38026
38027 if test "$wxUSE_SASH" = "yes"; then
38028 cat >>confdefs.h <<\_ACEOF
38029 #define wxUSE_SASH 1
38030 _ACEOF
38031
38032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
38033 fi
38034
38035 if test "$wxUSE_SCROLLBAR" = "yes"; then
38036 cat >>confdefs.h <<\_ACEOF
38037 #define wxUSE_SCROLLBAR 1
38038 _ACEOF
38039
38040 USES_CONTROLS=1
38041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
38042 fi
38043
38044 if test "$wxUSE_SLIDER" = "yes"; then
38045 cat >>confdefs.h <<\_ACEOF
38046 #define wxUSE_SLIDER 1
38047 _ACEOF
38048
38049 USES_CONTROLS=1
38050 fi
38051
38052 if test "$wxUSE_SPINBTN" = "yes"; then
38053 cat >>confdefs.h <<\_ACEOF
38054 #define wxUSE_SPINBTN 1
38055 _ACEOF
38056
38057 USES_CONTROLS=1
38058 fi
38059
38060 if test "$wxUSE_SPINCTRL" = "yes"; then
38061 cat >>confdefs.h <<\_ACEOF
38062 #define wxUSE_SPINCTRL 1
38063 _ACEOF
38064
38065 USES_CONTROLS=1
38066 fi
38067
38068 if test "$wxUSE_SPLITTER" = "yes"; then
38069 cat >>confdefs.h <<\_ACEOF
38070 #define wxUSE_SPLITTER 1
38071 _ACEOF
38072
38073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
38074 fi
38075
38076 if test "$wxUSE_STATBMP" = "yes"; then
38077 cat >>confdefs.h <<\_ACEOF
38078 #define wxUSE_STATBMP 1
38079 _ACEOF
38080
38081 USES_CONTROLS=1
38082 fi
38083
38084 if test "$wxUSE_STATBOX" = "yes"; then
38085 cat >>confdefs.h <<\_ACEOF
38086 #define wxUSE_STATBOX 1
38087 _ACEOF
38088
38089 USES_CONTROLS=1
38090 fi
38091
38092 if test "$wxUSE_STATTEXT" = "yes"; then
38093 cat >>confdefs.h <<\_ACEOF
38094 #define wxUSE_STATTEXT 1
38095 _ACEOF
38096
38097 USES_CONTROLS=1
38098 fi
38099
38100 if test "$wxUSE_STATLINE" = "yes"; then
38101 cat >>confdefs.h <<\_ACEOF
38102 #define wxUSE_STATLINE 1
38103 _ACEOF
38104
38105 USES_CONTROLS=1
38106 fi
38107
38108 if test "$wxUSE_STATUSBAR" = "yes"; then
38109 cat >>confdefs.h <<\_ACEOF
38110 #define wxUSE_NATIVE_STATUSBAR 1
38111 _ACEOF
38112
38113 cat >>confdefs.h <<\_ACEOF
38114 #define wxUSE_STATUSBAR 1
38115 _ACEOF
38116
38117 USES_CONTROLS=1
38118
38119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
38120 fi
38121
38122 if test "$wxUSE_TABDIALOG" = "yes"; then
38123 cat >>confdefs.h <<\_ACEOF
38124 #define wxUSE_TAB_DIALOG 1
38125 _ACEOF
38126
38127 fi
38128
38129 if test "$wxUSE_TEXTCTRL" = "yes"; then
38130 cat >>confdefs.h <<\_ACEOF
38131 #define wxUSE_TEXTCTRL 1
38132 _ACEOF
38133
38134 USES_CONTROLS=1
38135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
38136 fi
38137
38138 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38139 if test "$wxUSE_COCOA" = 1 ; then
38140 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38141 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38142 wxUSE_TOGGLEBTN=no
38143 else
38144 if test "$wxUSE_PM" = 1; then
38145 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38146 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38147 wxUSE_TOGGLEBTN=no
38148 fi
38149 fi
38150 if test "$wxUSE_UNIVERSAL" = "yes"; then
38151 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38152 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38153 wxUSE_TOGGLEBTN=no
38154 fi
38155
38156 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38157 cat >>confdefs.h <<\_ACEOF
38158 #define wxUSE_TOGGLEBTN 1
38159 _ACEOF
38160
38161 USES_CONTROLS=1
38162 fi
38163 fi
38164
38165 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38166 cat >>confdefs.h <<\_ACEOF
38167 #define wxUSE_TOOLBAR_SIMPLE 1
38168 _ACEOF
38169
38170 wxUSE_TOOLBAR="yes"
38171 USES_CONTROLS=1
38172 fi
38173
38174 if test "$wxUSE_TOOLBAR" = "yes"; then
38175 cat >>confdefs.h <<\_ACEOF
38176 #define wxUSE_TOOLBAR 1
38177 _ACEOF
38178
38179 USES_CONTROLS=1
38180
38181 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38182 wxUSE_TOOLBAR_NATIVE="yes"
38183 fi
38184
38185 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38186 cat >>confdefs.h <<\_ACEOF
38187 #define wxUSE_TOOLBAR_NATIVE 1
38188 _ACEOF
38189
38190 USES_CONTROLS=1
38191 fi
38192
38193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
38194 fi
38195
38196 if test "$wxUSE_TOOLTIPS" = "yes"; then
38197 if test "$wxUSE_MOTIF" = 1; then
38198 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38199 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38200 else
38201 if test "$wxUSE_UNIVERSAL" = "yes"; then
38202 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38203 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38204 else
38205 cat >>confdefs.h <<\_ACEOF
38206 #define wxUSE_TOOLTIPS 1
38207 _ACEOF
38208
38209 fi
38210 fi
38211 fi
38212
38213 if test "$wxUSE_TREECTRL" = "yes"; then
38214 if test "$wxUSE_IMAGLIST" = "yes"; then
38215 cat >>confdefs.h <<\_ACEOF
38216 #define wxUSE_TREECTRL 1
38217 _ACEOF
38218
38219 USES_CONTROLS=1
38220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
38221 else
38222 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38223 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38224 fi
38225 fi
38226
38227 if test "$wxUSE_POPUPWIN" = "yes"; then
38228 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38229 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38230 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38231 else
38232 if test "$wxUSE_PM" = 1; then
38233 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38234 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38235 else
38236 cat >>confdefs.h <<\_ACEOF
38237 #define wxUSE_POPUPWIN 1
38238 _ACEOF
38239
38240
38241 USES_CONTROLS=1
38242 fi
38243 fi
38244 fi
38245
38246 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38247 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38248 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38249 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38250 else
38251 cat >>confdefs.h <<\_ACEOF
38252 #define wxUSE_DIALUP_MANAGER 1
38253 _ACEOF
38254
38255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
38256 fi
38257 fi
38258
38259 if test "$wxUSE_TIPWINDOW" = "yes"; then
38260 if test "$wxUSE_PM" = 1; then
38261 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38262 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38263 else
38264 cat >>confdefs.h <<\_ACEOF
38265 #define wxUSE_TIPWINDOW 1
38266 _ACEOF
38267
38268 fi
38269 fi
38270
38271 if test "$USES_CONTROLS" = 1; then
38272 cat >>confdefs.h <<\_ACEOF
38273 #define wxUSE_CONTROLS 1
38274 _ACEOF
38275
38276 fi
38277
38278
38279 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38280 cat >>confdefs.h <<\_ACEOF
38281 #define wxUSE_ACCESSIBILITY 1
38282 _ACEOF
38283
38284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
38285 fi
38286
38287 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38288 cat >>confdefs.h <<\_ACEOF
38289 #define wxUSE_DRAGIMAGE 1
38290 _ACEOF
38291
38292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
38293 fi
38294
38295 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38296 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38297 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38298 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38299 else
38300 cat >>confdefs.h <<\_ACEOF
38301 #define wxUSE_EXCEPTIONS 1
38302 _ACEOF
38303
38304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
38305 fi
38306 fi
38307
38308 USE_HTML=0
38309 if test "$wxUSE_HTML" = "yes"; then
38310 cat >>confdefs.h <<\_ACEOF
38311 #define wxUSE_HTML 1
38312 _ACEOF
38313
38314 USE_HTML=1
38315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38316 if test "$wxUSE_MAC" = 1; then
38317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
38318 fi
38319 fi
38320 if test "$wxUSE_WEBKIT" = "yes"; then
38321 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38322 old_CPPFLAGS="$CPPFLAGS"
38323 CPPFLAGS="$CPPFLAGS -x objective-c++"
38324 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38325 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38326 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38327 echo $ECHO_N "(cached) $ECHO_C" >&6
38328 else
38329 cat >conftest.$ac_ext <<_ACEOF
38330 /* confdefs.h. */
38331 _ACEOF
38332 cat confdefs.h >>conftest.$ac_ext
38333 cat >>conftest.$ac_ext <<_ACEOF
38334 /* end confdefs.h. */
38335 #include <Carbon/Carbon.h>
38336
38337 #include <WebKit/HIWebView.h>
38338 _ACEOF
38339 rm -f conftest.$ac_objext
38340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38341 (eval $ac_compile) 2>conftest.er1
38342 ac_status=$?
38343 grep -v '^ *+' conftest.er1 >conftest.err
38344 rm -f conftest.er1
38345 cat conftest.err >&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); } &&
38348 { ac_try='test -z "$ac_c_werror_flag"
38349 || test ! -s conftest.err'
38350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38351 (eval $ac_try) 2>&5
38352 ac_status=$?
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); }; } &&
38355 { ac_try='test -s conftest.$ac_objext'
38356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38357 (eval $ac_try) 2>&5
38358 ac_status=$?
38359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38360 (exit $ac_status); }; }; then
38361 ac_cv_header_WebKit_HIWebView_h=yes
38362 else
38363 echo "$as_me: failed program was:" >&5
38364 sed 's/^/| /' conftest.$ac_ext >&5
38365
38366 ac_cv_header_WebKit_HIWebView_h=no
38367 fi
38368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38369 fi
38370 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38371 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38372 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38373
38374 cat >>confdefs.h <<\_ACEOF
38375 #define wxUSE_WEBKIT 1
38376 _ACEOF
38377
38378 WEBKIT_LINK="-framework WebKit"
38379
38380 else
38381
38382 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38383 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38384 wxUSE_WEBKIT=no
38385
38386 fi
38387
38388
38389 CPPFLAGS="$old_CPPFLAGS"
38390 elif test "$wxUSE_COCOA" = 1; then
38391 cat >>confdefs.h <<\_ACEOF
38392 #define wxUSE_WEBKIT 1
38393 _ACEOF
38394
38395 else
38396 wxUSE_WEBKIT=no
38397 fi
38398 fi
38399
38400 USE_XRC=0
38401 if test "$wxUSE_XRC" = "yes"; then
38402 if test "$wxUSE_XML" != "yes"; then
38403 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38404 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38405 wxUSE_XRC=no
38406 else
38407 cat >>confdefs.h <<\_ACEOF
38408 #define wxUSE_XRC 1
38409 _ACEOF
38410
38411 USE_XRC=1
38412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
38413 fi
38414 fi
38415
38416 if test "$wxUSE_MENUS" = "yes"; then
38417 cat >>confdefs.h <<\_ACEOF
38418 #define wxUSE_MENUS 1
38419 _ACEOF
38420
38421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
38422 fi
38423
38424 if test "$wxUSE_METAFILE" = "yes"; then
38425 cat >>confdefs.h <<\_ACEOF
38426 #define wxUSE_METAFILE 1
38427 _ACEOF
38428
38429 fi
38430
38431 if test "$wxUSE_MIMETYPE" = "yes"; then
38432 cat >>confdefs.h <<\_ACEOF
38433 #define wxUSE_MIMETYPE 1
38434 _ACEOF
38435
38436 fi
38437
38438 if test "$wxUSE_MINIFRAME" = "yes"; then
38439 cat >>confdefs.h <<\_ACEOF
38440 #define wxUSE_MINIFRAME 1
38441 _ACEOF
38442
38443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
38444 fi
38445
38446 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38447 cat >>confdefs.h <<\_ACEOF
38448 #define wxUSE_SYSTEM_OPTIONS 1
38449 _ACEOF
38450
38451 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38452 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
38454 fi
38455 fi
38456
38457
38458 if test "$wxUSE_VALIDATORS" = "yes"; then
38459 cat >>confdefs.h <<\_ACEOF
38460 #define wxUSE_VALIDATORS 1
38461 _ACEOF
38462
38463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
38464 fi
38465
38466 if test "$wxUSE_PALETTE" = "yes" ; then
38467 cat >>confdefs.h <<\_ACEOF
38468 #define wxUSE_PALETTE 1
38469 _ACEOF
38470
38471 fi
38472
38473 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38474 LIBS=" -lunicows $LIBS"
38475 fi
38476
38477
38478 if test "$wxUSE_IMAGE" = "yes" ; then
38479 cat >>confdefs.h <<\_ACEOF
38480 #define wxUSE_IMAGE 1
38481 _ACEOF
38482
38483
38484 if test "$wxUSE_GIF" = "yes" ; then
38485 cat >>confdefs.h <<\_ACEOF
38486 #define wxUSE_GIF 1
38487 _ACEOF
38488
38489 fi
38490
38491 if test "$wxUSE_PCX" = "yes" ; then
38492 cat >>confdefs.h <<\_ACEOF
38493 #define wxUSE_PCX 1
38494 _ACEOF
38495
38496 fi
38497
38498 if test "$wxUSE_IFF" = "yes" ; then
38499 cat >>confdefs.h <<\_ACEOF
38500 #define wxUSE_IFF 1
38501 _ACEOF
38502
38503 fi
38504
38505 if test "$wxUSE_PNM" = "yes" ; then
38506 cat >>confdefs.h <<\_ACEOF
38507 #define wxUSE_PNM 1
38508 _ACEOF
38509
38510 fi
38511
38512 if test "$wxUSE_XPM" = "yes" ; then
38513 cat >>confdefs.h <<\_ACEOF
38514 #define wxUSE_XPM 1
38515 _ACEOF
38516
38517 fi
38518
38519 if test "$wxUSE_ICO_CUR" = "yes" ; then
38520 cat >>confdefs.h <<\_ACEOF
38521 #define wxUSE_ICO_CUR 1
38522 _ACEOF
38523
38524 fi
38525 fi
38526
38527
38528 if test "$wxUSE_CHOICEDLG" = "yes"; then
38529 cat >>confdefs.h <<\_ACEOF
38530 #define wxUSE_CHOICEDLG 1
38531 _ACEOF
38532
38533 fi
38534
38535 if test "$wxUSE_COLOURDLG" = "yes"; then
38536 cat >>confdefs.h <<\_ACEOF
38537 #define wxUSE_COLOURDLG 1
38538 _ACEOF
38539
38540 fi
38541
38542 if test "$wxUSE_FILEDLG" = "yes"; then
38543 cat >>confdefs.h <<\_ACEOF
38544 #define wxUSE_FILEDLG 1
38545 _ACEOF
38546
38547 fi
38548
38549 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38550 cat >>confdefs.h <<\_ACEOF
38551 #define wxUSE_FINDREPLDLG 1
38552 _ACEOF
38553
38554 fi
38555
38556 if test "$wxUSE_FONTDLG" = "yes"; then
38557 cat >>confdefs.h <<\_ACEOF
38558 #define wxUSE_FONTDLG 1
38559 _ACEOF
38560
38561 fi
38562
38563 if test "$wxUSE_DIRDLG" = "yes"; then
38564 if test "$wxUSE_TREECTRL" != "yes"; then
38565 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38566 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38567 else
38568 cat >>confdefs.h <<\_ACEOF
38569 #define wxUSE_DIRDLG 1
38570 _ACEOF
38571
38572 fi
38573 fi
38574
38575 if test "$wxUSE_MSGDLG" = "yes"; then
38576 cat >>confdefs.h <<\_ACEOF
38577 #define wxUSE_MSGDLG 1
38578 _ACEOF
38579
38580 fi
38581
38582 if test "$wxUSE_NUMBERDLG" = "yes"; then
38583 cat >>confdefs.h <<\_ACEOF
38584 #define wxUSE_NUMBERDLG 1
38585 _ACEOF
38586
38587 fi
38588
38589 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38590 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38591 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38592 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38593 else
38594 cat >>confdefs.h <<\_ACEOF
38595 #define wxUSE_PROGRESSDLG 1
38596 _ACEOF
38597
38598 fi
38599 fi
38600
38601 if test "$wxUSE_SPLASH" = "yes"; then
38602 cat >>confdefs.h <<\_ACEOF
38603 #define wxUSE_SPLASH 1
38604 _ACEOF
38605
38606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
38607 fi
38608
38609 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38610 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38611 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38612 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38613 else
38614 cat >>confdefs.h <<\_ACEOF
38615 #define wxUSE_STARTUP_TIPS 1
38616 _ACEOF
38617
38618 fi
38619 fi
38620
38621 if test "$wxUSE_TEXTDLG" = "yes"; then
38622 cat >>confdefs.h <<\_ACEOF
38623 #define wxUSE_TEXTDLG 1
38624 _ACEOF
38625
38626 fi
38627
38628 if test "$wxUSE_WIZARDDLG" = "yes"; then
38629 cat >>confdefs.h <<\_ACEOF
38630 #define wxUSE_WIZARDDLG 1
38631 _ACEOF
38632
38633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
38634 fi
38635
38636
38637 if test "$wxUSE_MEDIACTRL" = "yes"; then
38638 if test "$wxUSE_MSW" = 1; then
38639 wxUSE_DIRECTSHOW="yes"
38640
38641 for ac_header in dshow.h
38642 do
38643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38644 echo "$as_me:$LINENO: checking for $ac_header" >&5
38645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38647 echo $ECHO_N "(cached) $ECHO_C" >&6
38648 else
38649 cat >conftest.$ac_ext <<_ACEOF
38650 /* confdefs.h. */
38651 _ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h. */
38655 #include <windows.h>
38656
38657 #include <$ac_header>
38658 _ACEOF
38659 rm -f conftest.$ac_objext
38660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38661 (eval $ac_compile) 2>conftest.er1
38662 ac_status=$?
38663 grep -v '^ *+' conftest.er1 >conftest.err
38664 rm -f conftest.er1
38665 cat conftest.err >&5
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); } &&
38668 { ac_try='test -z "$ac_c_werror_flag"
38669 || test ! -s conftest.err'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38672 ac_status=$?
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; } &&
38675 { ac_try='test -s conftest.$ac_objext'
38676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38677 (eval $ac_try) 2>&5
38678 ac_status=$?
38679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38680 (exit $ac_status); }; }; then
38681 eval "$as_ac_Header=yes"
38682 else
38683 echo "$as_me: failed program was:" >&5
38684 sed 's/^/| /' conftest.$ac_ext >&5
38685
38686 eval "$as_ac_Header=no"
38687 fi
38688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38689 fi
38690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38693 cat >>confdefs.h <<_ACEOF
38694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38695 _ACEOF
38696
38697 else
38698
38699 wxUSE_DIRECTSHOW="no"
38700 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
38701 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
38702
38703 fi
38704
38705 done
38706
38707
38708 if test "$wxUSE_DIRECTSHOW" = "yes"; then
38709 cat >>confdefs.h <<\_ACEOF
38710 #define wxUSE_DIRECTSHOW 1
38711 _ACEOF
38712
38713 LIBS="$LIBS -lstrmiids"
38714 fi
38715 fi
38716
38717 if test "$wxUSE_GTK" = 1; then
38718 wxUSE_GSTREAMER="yes"
38719
38720
38721 succeeded=no
38722
38723 if test -z "$PKG_CONFIG"; then
38724 # Extract the first word of "pkg-config", so it can be a program name with args.
38725 set dummy pkg-config; ac_word=$2
38726 echo "$as_me:$LINENO: checking for $ac_word" >&5
38727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38728 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38730 else
38731 case $PKG_CONFIG in
38732 [\\/]* | ?:[\\/]*)
38733 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
38734 ;;
38735 *)
38736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38737 for as_dir in $PATH
38738 do
38739 IFS=$as_save_IFS
38740 test -z "$as_dir" && as_dir=.
38741 for ac_exec_ext in '' $ac_executable_extensions; do
38742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38743 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38745 break 2
38746 fi
38747 done
38748 done
38749
38750 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
38751 ;;
38752 esac
38753 fi
38754 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
38755
38756 if test -n "$PKG_CONFIG"; then
38757 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38758 echo "${ECHO_T}$PKG_CONFIG" >&6
38759 else
38760 echo "$as_me:$LINENO: result: no" >&5
38761 echo "${ECHO_T}no" >&6
38762 fi
38763
38764 fi
38765
38766 if test "$PKG_CONFIG" = "no" ; then
38767 echo "*** The pkg-config script could not be found. Make sure it is"
38768 echo "*** in your path, or set the PKG_CONFIG environment variable"
38769 echo "*** to the full path to pkg-config."
38770 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38771 else
38772 PKG_CONFIG_MIN_VERSION=0.9.0
38773 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38774 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
38775 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
38776
38777 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
38778 echo "$as_me:$LINENO: result: yes" >&5
38779 echo "${ECHO_T}yes" >&6
38780 succeeded=yes
38781
38782 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
38783 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
38784 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
38785 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
38786 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
38787
38788 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
38789 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
38790 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
38791 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
38792 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
38793 else
38794 GSTREAMER_CFLAGS=""
38795 GSTREAMER_LIBS=""
38796 ## If we have a custom action on failure, don't print errors, but
38797 ## do set a variable so people can do so.
38798 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
38799
38800 fi
38801
38802
38803
38804 else
38805 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38806 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38807 fi
38808 fi
38809
38810 if test $succeeded = yes; then
38811
38812 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
38813 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
38814
38815 else
38816
38817 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
38818 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
38819 wxUSE_GSTREAMER="no"
38820
38821 fi
38822
38823
38824
38825
38826
38827 if test "x$GST_INSPECT" == "x"; then
38828 # Extract the first word of "gst-inspect", so it can be a program name with args.
38829 set dummy gst-inspect; ac_word=$2
38830 echo "$as_me:$LINENO: checking for $ac_word" >&5
38831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38832 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38833 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 else
38835 if test -n "$GST_INSPECT"; then
38836 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
38837 else
38838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38839 for as_dir in $PATH
38840 do
38841 IFS=$as_save_IFS
38842 test -z "$as_dir" && as_dir=.
38843 for ac_exec_ext in '' $ac_executable_extensions; do
38844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38845 ac_cv_prog_GST_INSPECT="gst-inspect"
38846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38847 break 2
38848 fi
38849 done
38850 done
38851
38852 fi
38853 fi
38854 GST_INSPECT=$ac_cv_prog_GST_INSPECT
38855 if test -n "$GST_INSPECT"; then
38856 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38857 echo "${ECHO_T}$GST_INSPECT" >&6
38858 else
38859 echo "$as_me:$LINENO: result: no" >&5
38860 echo "${ECHO_T}no" >&6
38861 fi
38862
38863 fi
38864
38865 if test "x$GST_INSPECT" != "x"; then
38866 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
38867 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
38868 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
38869 echo "$as_me:$LINENO: result: found." >&5
38870 echo "${ECHO_T}found." >&6
38871
38872 else
38873 echo "$as_me:$LINENO: result: not found." >&5
38874 echo "${ECHO_T}not found." >&6
38875
38876 wxUSE_GSTREAMER="no"
38877 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
38878 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
38879
38880 fi
38881 fi
38882
38883
38884 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
38885 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
38886 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
38887 echo $ECHO_N "(cached) $ECHO_C" >&6
38888 else
38889 cat >conftest.$ac_ext <<_ACEOF
38890 /* confdefs.h. */
38891 _ACEOF
38892 cat confdefs.h >>conftest.$ac_ext
38893 cat >>conftest.$ac_ext <<_ACEOF
38894 /* end confdefs.h. */
38895 #include <gst/gst.h>
38896
38897 #include <gst/xoverlay/xoverlay.h>
38898 _ACEOF
38899 rm -f conftest.$ac_objext
38900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38901 (eval $ac_compile) 2>conftest.er1
38902 ac_status=$?
38903 grep -v '^ *+' conftest.er1 >conftest.err
38904 rm -f conftest.er1
38905 cat conftest.err >&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); } &&
38908 { ac_try='test -z "$ac_c_werror_flag"
38909 || test ! -s conftest.err'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38912 ac_status=$?
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; } &&
38915 { ac_try='test -s conftest.$ac_objext'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38918 ac_status=$?
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; }; then
38921 ac_cv_header_gst_xoverlay_xoverlay_h=yes
38922 else
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.$ac_ext >&5
38925
38926 ac_cv_header_gst_xoverlay_xoverlay_h=no
38927 fi
38928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38929 fi
38930 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
38931 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
38932 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
38933 :
38934 else
38935
38936 wxUSE_GSTREAMER="no"
38937 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
38938 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
38939
38940 fi
38941
38942
38943
38944 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
38945 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
38946
38947 ac_find_libraries=
38948 for ac_dir in $SEARCH_LIB /usr/lib;
38949 do
38950 for ac_extension in a so sl dylib; do
38951 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
38952 ac_find_libraries=$ac_dir
38953 break 2
38954 fi
38955 done
38956 done
38957
38958
38959 if test "$ac_find_libraries" = "" ; then
38960 echo "$as_me:$LINENO: result: no" >&5
38961 echo "${ECHO_T}no" >&6
38962 wxUSE_GSTREAMER="no"
38963 else
38964 echo "$as_me:$LINENO: result: yes" >&5
38965 echo "${ECHO_T}yes" >&6
38966 fi
38967
38968 if test "$wxUSE_GSTREAMER" = "yes"; then
38969 cat >>confdefs.h <<\_ACEOF
38970 #define wxUSE_GSTREAMER 1
38971 _ACEOF
38972
38973 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
38974 echo "${ECHO_T}GStreamer detection successful" >&6
38975 fi
38976 fi
38977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
38978 cat >>confdefs.h <<\_ACEOF
38979 #define wxUSE_MEDIACTRL 1
38980 _ACEOF
38981
38982 fi
38983
38984
38985 if test "$cross_compiling" = "yes"; then
38986 OSINFO="\"$host\""
38987 else
38988 OSINFO=`uname -s -r -m`
38989 OSINFO="\"$OSINFO\""
38990 fi
38991
38992 cat >>confdefs.h <<_ACEOF
38993 #define WXWIN_OS_DESCRIPTION $OSINFO
38994 _ACEOF
38995
38996
38997
38998 if test "x$prefix" != "xNONE"; then
38999 wxPREFIX=$prefix
39000 else
39001 wxPREFIX=$ac_default_prefix
39002 fi
39003
39004 cat >>confdefs.h <<_ACEOF
39005 #define wxINSTALL_PREFIX "$wxPREFIX"
39006 _ACEOF
39007
39008
39009
39010
39011 CORE_BASE_LIBS="net base"
39012 CORE_GUI_LIBS="adv core"
39013
39014 if test "$wxUSE_XML" = "yes" ; then
39015 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
39016 fi
39017 if test "$wxUSE_ODBC" != "no" ; then
39018 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
39019 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
39020 fi
39021 if test "$wxUSE_HTML" = "yes" ; then
39022 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
39023 fi
39024 if test "$wxUSE_XRC" = "yes" ; then
39025 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
39026 fi
39027
39028 if test "$wxUSE_GUI" != "yes"; then
39029 CORE_GUI_LIBS=""
39030 fi
39031
39032
39033
39034
39035
39036
39037
39038
39039 if test "$wxUSE_MAC" = 1 ; then
39040 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39041 if test "$USE_DARWIN" = 1; then
39042 LDFLAGS="$LDFLAGS -framework QuickTime"
39043 else
39044 LDFLAGS="$LDFLAGS -lQuickTimeLib"
39045 fi
39046 fi
39047 if test "$USE_DARWIN" = 1; then
39048 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39049 else
39050 LDFLAGS="$LDFLAGS -lCarbonLib"
39051 fi
39052 fi
39053 if test "$wxUSE_COCOA" = 1 ; then
39054 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
39055 if test "$wxUSE_MEDIACTRL" = "yes"; then
39056 LDFLAGS="$LDFLAGS -framework QuickTime"
39057 fi
39058 fi
39059
39060
39061 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39062
39063 have_cos=0
39064 have_floor=0
39065
39066 for ac_func in cos
39067 do
39068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39069 echo "$as_me:$LINENO: checking for $ac_func" >&5
39070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39071 if eval "test \"\${$as_ac_var+set}\" = set"; then
39072 echo $ECHO_N "(cached) $ECHO_C" >&6
39073 else
39074 cat >conftest.$ac_ext <<_ACEOF
39075 /* confdefs.h. */
39076 _ACEOF
39077 cat confdefs.h >>conftest.$ac_ext
39078 cat >>conftest.$ac_ext <<_ACEOF
39079 /* end confdefs.h. */
39080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39082 #define $ac_func innocuous_$ac_func
39083
39084 /* System header to define __stub macros and hopefully few prototypes,
39085 which can conflict with char $ac_func (); below.
39086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39087 <limits.h> exists even on freestanding compilers. */
39088
39089 #ifdef __STDC__
39090 # include <limits.h>
39091 #else
39092 # include <assert.h>
39093 #endif
39094
39095 #undef $ac_func
39096
39097 /* Override any gcc2 internal prototype to avoid an error. */
39098 #ifdef __cplusplus
39099 extern "C"
39100 {
39101 #endif
39102 /* We use char because int might match the return type of a gcc2
39103 builtin and then its argument prototype would still apply. */
39104 char $ac_func ();
39105 /* The GNU C library defines this for functions which it implements
39106 to always fail with ENOSYS. Some functions are actually named
39107 something starting with __ and the normal name is an alias. */
39108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39109 choke me
39110 #else
39111 char (*f) () = $ac_func;
39112 #endif
39113 #ifdef __cplusplus
39114 }
39115 #endif
39116
39117 int
39118 main ()
39119 {
39120 return f != $ac_func;
39121 ;
39122 return 0;
39123 }
39124 _ACEOF
39125 rm -f conftest.$ac_objext conftest$ac_exeext
39126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39127 (eval $ac_link) 2>conftest.er1
39128 ac_status=$?
39129 grep -v '^ *+' conftest.er1 >conftest.err
39130 rm -f conftest.er1
39131 cat conftest.err >&5
39132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39133 (exit $ac_status); } &&
39134 { ac_try='test -z "$ac_c_werror_flag"
39135 || test ! -s conftest.err'
39136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39137 (eval $ac_try) 2>&5
39138 ac_status=$?
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); }; } &&
39141 { ac_try='test -s conftest$ac_exeext'
39142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39143 (eval $ac_try) 2>&5
39144 ac_status=$?
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); }; }; then
39147 eval "$as_ac_var=yes"
39148 else
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39151
39152 eval "$as_ac_var=no"
39153 fi
39154 rm -f conftest.err conftest.$ac_objext \
39155 conftest$ac_exeext conftest.$ac_ext
39156 fi
39157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39159 if test `eval echo '${'$as_ac_var'}'` = yes; then
39160 cat >>confdefs.h <<_ACEOF
39161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39162 _ACEOF
39163 have_cos=1
39164 fi
39165 done
39166
39167
39168 for ac_func in floor
39169 do
39170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39171 echo "$as_me:$LINENO: checking for $ac_func" >&5
39172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39173 if eval "test \"\${$as_ac_var+set}\" = set"; then
39174 echo $ECHO_N "(cached) $ECHO_C" >&6
39175 else
39176 cat >conftest.$ac_ext <<_ACEOF
39177 /* confdefs.h. */
39178 _ACEOF
39179 cat confdefs.h >>conftest.$ac_ext
39180 cat >>conftest.$ac_ext <<_ACEOF
39181 /* end confdefs.h. */
39182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39184 #define $ac_func innocuous_$ac_func
39185
39186 /* System header to define __stub macros and hopefully few prototypes,
39187 which can conflict with char $ac_func (); below.
39188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39189 <limits.h> exists even on freestanding compilers. */
39190
39191 #ifdef __STDC__
39192 # include <limits.h>
39193 #else
39194 # include <assert.h>
39195 #endif
39196
39197 #undef $ac_func
39198
39199 /* Override any gcc2 internal prototype to avoid an error. */
39200 #ifdef __cplusplus
39201 extern "C"
39202 {
39203 #endif
39204 /* We use char because int might match the return type of a gcc2
39205 builtin and then its argument prototype would still apply. */
39206 char $ac_func ();
39207 /* The GNU C library defines this for functions which it implements
39208 to always fail with ENOSYS. Some functions are actually named
39209 something starting with __ and the normal name is an alias. */
39210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39211 choke me
39212 #else
39213 char (*f) () = $ac_func;
39214 #endif
39215 #ifdef __cplusplus
39216 }
39217 #endif
39218
39219 int
39220 main ()
39221 {
39222 return f != $ac_func;
39223 ;
39224 return 0;
39225 }
39226 _ACEOF
39227 rm -f conftest.$ac_objext conftest$ac_exeext
39228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39229 (eval $ac_link) 2>conftest.er1
39230 ac_status=$?
39231 grep -v '^ *+' conftest.er1 >conftest.err
39232 rm -f conftest.er1
39233 cat conftest.err >&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } &&
39236 { ac_try='test -z "$ac_c_werror_flag"
39237 || test ! -s conftest.err'
39238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39239 (eval $ac_try) 2>&5
39240 ac_status=$?
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); }; } &&
39243 { ac_try='test -s conftest$ac_exeext'
39244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39245 (eval $ac_try) 2>&5
39246 ac_status=$?
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); }; }; then
39249 eval "$as_ac_var=yes"
39250 else
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.$ac_ext >&5
39253
39254 eval "$as_ac_var=no"
39255 fi
39256 rm -f conftest.err conftest.$ac_objext \
39257 conftest$ac_exeext conftest.$ac_ext
39258 fi
39259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39261 if test `eval echo '${'$as_ac_var'}'` = yes; then
39262 cat >>confdefs.h <<_ACEOF
39263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39264 _ACEOF
39265 have_floor=1
39266 fi
39267 done
39268
39269 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
39270 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
39271 if test "$have_cos" = 1 -a "$have_floor" = 1; then
39272 echo "$as_me:$LINENO: result: yes" >&5
39273 echo "${ECHO_T}yes" >&6
39274 else
39275 echo "$as_me:$LINENO: result: no" >&5
39276 echo "${ECHO_T}no" >&6
39277 LIBS="$LIBS -lm"
39278 # use different functions to avoid configure caching
39279 have_sin=0
39280 have_ceil=0
39281
39282 for ac_func in sin
39283 do
39284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39285 echo "$as_me:$LINENO: checking for $ac_func" >&5
39286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39287 if eval "test \"\${$as_ac_var+set}\" = set"; then
39288 echo $ECHO_N "(cached) $ECHO_C" >&6
39289 else
39290 cat >conftest.$ac_ext <<_ACEOF
39291 /* confdefs.h. */
39292 _ACEOF
39293 cat confdefs.h >>conftest.$ac_ext
39294 cat >>conftest.$ac_ext <<_ACEOF
39295 /* end confdefs.h. */
39296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39298 #define $ac_func innocuous_$ac_func
39299
39300 /* System header to define __stub macros and hopefully few prototypes,
39301 which can conflict with char $ac_func (); below.
39302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39303 <limits.h> exists even on freestanding compilers. */
39304
39305 #ifdef __STDC__
39306 # include <limits.h>
39307 #else
39308 # include <assert.h>
39309 #endif
39310
39311 #undef $ac_func
39312
39313 /* Override any gcc2 internal prototype to avoid an error. */
39314 #ifdef __cplusplus
39315 extern "C"
39316 {
39317 #endif
39318 /* We use char because int might match the return type of a gcc2
39319 builtin and then its argument prototype would still apply. */
39320 char $ac_func ();
39321 /* The GNU C library defines this for functions which it implements
39322 to always fail with ENOSYS. Some functions are actually named
39323 something starting with __ and the normal name is an alias. */
39324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39325 choke me
39326 #else
39327 char (*f) () = $ac_func;
39328 #endif
39329 #ifdef __cplusplus
39330 }
39331 #endif
39332
39333 int
39334 main ()
39335 {
39336 return f != $ac_func;
39337 ;
39338 return 0;
39339 }
39340 _ACEOF
39341 rm -f conftest.$ac_objext conftest$ac_exeext
39342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39343 (eval $ac_link) 2>conftest.er1
39344 ac_status=$?
39345 grep -v '^ *+' conftest.er1 >conftest.err
39346 rm -f conftest.er1
39347 cat conftest.err >&5
39348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39349 (exit $ac_status); } &&
39350 { ac_try='test -z "$ac_c_werror_flag"
39351 || test ! -s conftest.err'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39354 ac_status=$?
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; } &&
39357 { ac_try='test -s conftest$ac_exeext'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39360 ac_status=$?
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; }; then
39363 eval "$as_ac_var=yes"
39364 else
39365 echo "$as_me: failed program was:" >&5
39366 sed 's/^/| /' conftest.$ac_ext >&5
39367
39368 eval "$as_ac_var=no"
39369 fi
39370 rm -f conftest.err conftest.$ac_objext \
39371 conftest$ac_exeext conftest.$ac_ext
39372 fi
39373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39375 if test `eval echo '${'$as_ac_var'}'` = yes; then
39376 cat >>confdefs.h <<_ACEOF
39377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39378 _ACEOF
39379 have_sin=1
39380 fi
39381 done
39382
39383
39384 for ac_func in ceil
39385 do
39386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39387 echo "$as_me:$LINENO: checking for $ac_func" >&5
39388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39389 if eval "test \"\${$as_ac_var+set}\" = set"; then
39390 echo $ECHO_N "(cached) $ECHO_C" >&6
39391 else
39392 cat >conftest.$ac_ext <<_ACEOF
39393 /* confdefs.h. */
39394 _ACEOF
39395 cat confdefs.h >>conftest.$ac_ext
39396 cat >>conftest.$ac_ext <<_ACEOF
39397 /* end confdefs.h. */
39398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39400 #define $ac_func innocuous_$ac_func
39401
39402 /* System header to define __stub macros and hopefully few prototypes,
39403 which can conflict with char $ac_func (); below.
39404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39405 <limits.h> exists even on freestanding compilers. */
39406
39407 #ifdef __STDC__
39408 # include <limits.h>
39409 #else
39410 # include <assert.h>
39411 #endif
39412
39413 #undef $ac_func
39414
39415 /* Override any gcc2 internal prototype to avoid an error. */
39416 #ifdef __cplusplus
39417 extern "C"
39418 {
39419 #endif
39420 /* We use char because int might match the return type of a gcc2
39421 builtin and then its argument prototype would still apply. */
39422 char $ac_func ();
39423 /* The GNU C library defines this for functions which it implements
39424 to always fail with ENOSYS. Some functions are actually named
39425 something starting with __ and the normal name is an alias. */
39426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39427 choke me
39428 #else
39429 char (*f) () = $ac_func;
39430 #endif
39431 #ifdef __cplusplus
39432 }
39433 #endif
39434
39435 int
39436 main ()
39437 {
39438 return f != $ac_func;
39439 ;
39440 return 0;
39441 }
39442 _ACEOF
39443 rm -f conftest.$ac_objext conftest$ac_exeext
39444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39445 (eval $ac_link) 2>conftest.er1
39446 ac_status=$?
39447 grep -v '^ *+' conftest.er1 >conftest.err
39448 rm -f conftest.er1
39449 cat conftest.err >&5
39450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39451 (exit $ac_status); } &&
39452 { ac_try='test -z "$ac_c_werror_flag"
39453 || test ! -s conftest.err'
39454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39455 (eval $ac_try) 2>&5
39456 ac_status=$?
39457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458 (exit $ac_status); }; } &&
39459 { ac_try='test -s conftest$ac_exeext'
39460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39461 (eval $ac_try) 2>&5
39462 ac_status=$?
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); }; }; then
39465 eval "$as_ac_var=yes"
39466 else
39467 echo "$as_me: failed program was:" >&5
39468 sed 's/^/| /' conftest.$ac_ext >&5
39469
39470 eval "$as_ac_var=no"
39471 fi
39472 rm -f conftest.err conftest.$ac_objext \
39473 conftest$ac_exeext conftest.$ac_ext
39474 fi
39475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39477 if test `eval echo '${'$as_ac_var'}'` = yes; then
39478 cat >>confdefs.h <<_ACEOF
39479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39480 _ACEOF
39481 have_ceil=1
39482 fi
39483 done
39484
39485 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
39486 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
39487 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
39488 echo "$as_me:$LINENO: result: yes" >&5
39489 echo "${ECHO_T}yes" >&6
39490 else
39491 echo "$as_me:$LINENO: result: no" >&5
39492 echo "${ECHO_T}no" >&6
39493 # not sure we should warn the user, crash, etc.
39494 fi
39495 fi
39496
39497 if test "$wxUSE_GUI" = "yes"; then
39498
39499
39500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
39501 drawing dynamic erase event exec font image \
39502 minimal propsize rotate shaped widgets render"
39503
39504 if test "$wxUSE_MONOLITHIC" != "yes"; then
39505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
39506 fi
39507 else
39508 SAMPLES_SUBDIRS="console"
39509 fi
39510
39511
39512 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
39513 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
39514
39515 if test "$GXX" = yes ; then
39516 CWARNINGS="-Wall"
39517 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
39518 fi
39519
39520 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
39521
39522 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
39523 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
39524 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
39525
39526 if test "x$MWCC" = "xyes"; then
39527
39528 CC="$CC -cwd source -I-"
39529 CXX="$CXX -cwd source -I-"
39530 fi
39531
39532
39533 LIBS=`echo $LIBS`
39534 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
39535 EXTRALIBS_XML="$EXPAT_LINK"
39536 EXTRALIBS_HTML="$MSPACK_LINK"
39537 EXTRALIBS_ODBC="$ODBC_LINK"
39538 if test "$wxUSE_GUI" = "yes"; then
39539 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
39540 fi
39541 if test "$wxUSE_OPENGL" = "yes"; then
39542 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
39543 fi
39544
39545 LDFLAGS="$LDFLAGS $PROFILE"
39546
39547 if test "$wxUSE_GTK" = 1; then
39548 WXCONFIG_INCLUDE=
39549 else
39550 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
39551 fi
39552
39553 WXCONFIG_EXTRALIBS="$LIBS"
39554
39555 if test "$wxUSE_REGEX" = "builtin" ; then
39556 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
39557 fi
39558 if test "$wxUSE_EXPAT" = "builtin" ; then
39559 wxconfig_3rdparty="$wxconfig_3rdparty expat"
39560 fi
39561 if test "$wxUSE_ODBC" = "builtin" ; then
39562 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39563 fi
39564 if test "$wxUSE_LIBTIFF" = "builtin" ; then
39565 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
39566 fi
39567 if test "$wxUSE_LIBJPEG" = "builtin" ; then
39568 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
39569 fi
39570 if test "$wxUSE_LIBPNG" = "builtin" ; then
39571 wxconfig_3rdparty="$wxconfig_3rdparty png"
39572 fi
39573 if test "$wxUSE_ZLIB" = "builtin" ; then
39574 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
39575 fi
39576 if test "$wxUSE_ODBC" = "builtin" ; then
39577 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39578 fi
39579
39580 for i in $wxconfig_3rdparty ; do
39581 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
39582 done
39583
39584
39585 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
39586 WXUNIV=1
39587 else
39588 WXUNIV=0
39589 fi
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599 if test $wxUSE_MONOLITHIC = "yes" ; then
39600 MONOLITHIC=1
39601 else
39602 MONOLITHIC=0
39603 fi
39604
39605 if test $wxUSE_PLUGINS = "yes" ; then
39606 USE_PLUGINS=1
39607 else
39608 USE_PLUGINS=0
39609 fi
39610
39611 if test $wxUSE_ODBC != "no" ; then
39612 USE_ODBC=1
39613 else
39614 USE_ODBC=0
39615 fi
39616
39617 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
39618 OFFICIAL_BUILD=1
39619 else
39620 OFFICIAL_BUILD=0
39621 fi
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
39646
39647
39648
39649
39650
39651
39652
39653
39654 case "$TOOLKIT" in
39655 GTK)
39656 TOOLKIT_USER="GTK+"
39657 if test "$WXGTK20" = 1; then
39658 TOOLKIT_USER="$TOOLKIT_USER 2"
39659 fi
39660 ;;
39661
39662 *)
39663 TOOLKIT_USER=$TOOLKIT_LOWERCASE
39664 ;;
39665 esac
39666
39667
39668
39669
39670 if test "x$BAKEFILE_HOST" = "x"; then
39671 BAKEFILE_HOST="${host}"
39672 fi
39673
39674 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
39675
39676 if test -n "$ac_tool_prefix"; then
39677 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
39678 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
39679 echo "$as_me:$LINENO: checking for $ac_word" >&5
39680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39681 if test "${ac_cv_prog_RANLIB+set}" = set; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39683 else
39684 if test -n "$RANLIB"; then
39685 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
39686 else
39687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39688 for as_dir in $PATH
39689 do
39690 IFS=$as_save_IFS
39691 test -z "$as_dir" && as_dir=.
39692 for ac_exec_ext in '' $ac_executable_extensions; do
39693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39694 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
39695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39696 break 2
39697 fi
39698 done
39699 done
39700
39701 fi
39702 fi
39703 RANLIB=$ac_cv_prog_RANLIB
39704 if test -n "$RANLIB"; then
39705 echo "$as_me:$LINENO: result: $RANLIB" >&5
39706 echo "${ECHO_T}$RANLIB" >&6
39707 else
39708 echo "$as_me:$LINENO: result: no" >&5
39709 echo "${ECHO_T}no" >&6
39710 fi
39711
39712 fi
39713 if test -z "$ac_cv_prog_RANLIB"; then
39714 ac_ct_RANLIB=$RANLIB
39715 # Extract the first word of "ranlib", so it can be a program name with args.
39716 set dummy ranlib; ac_word=$2
39717 echo "$as_me:$LINENO: checking for $ac_word" >&5
39718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39719 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
39720 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 else
39722 if test -n "$ac_ct_RANLIB"; then
39723 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
39724 else
39725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39726 for as_dir in $PATH
39727 do
39728 IFS=$as_save_IFS
39729 test -z "$as_dir" && as_dir=.
39730 for ac_exec_ext in '' $ac_executable_extensions; do
39731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39732 ac_cv_prog_ac_ct_RANLIB="ranlib"
39733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39734 break 2
39735 fi
39736 done
39737 done
39738
39739 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
39740 fi
39741 fi
39742 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
39743 if test -n "$ac_ct_RANLIB"; then
39744 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39745 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39746 else
39747 echo "$as_me:$LINENO: result: no" >&5
39748 echo "${ECHO_T}no" >&6
39749 fi
39750
39751 RANLIB=$ac_ct_RANLIB
39752 else
39753 RANLIB="$ac_cv_prog_RANLIB"
39754 fi
39755
39756 # Find a good install program. We prefer a C program (faster),
39757 # so one script is as good as another. But avoid the broken or
39758 # incompatible versions:
39759 # SysV /etc/install, /usr/sbin/install
39760 # SunOS /usr/etc/install
39761 # IRIX /sbin/install
39762 # AIX /bin/install
39763 # AmigaOS /C/install, which installs bootblocks on floppy discs
39764 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39765 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39766 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39767 # OS/2's system install, which has a completely different semantic
39768 # ./install, which can be erroneously created by make from ./install.sh.
39769 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39770 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39771 if test -z "$INSTALL"; then
39772 if test "${ac_cv_path_install+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39774 else
39775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39776 for as_dir in $PATH
39777 do
39778 IFS=$as_save_IFS
39779 test -z "$as_dir" && as_dir=.
39780 # Account for people who put trailing slashes in PATH elements.
39781 case $as_dir/ in
39782 ./ | .// | /cC/* | \
39783 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
39784 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
39785 /usr/ucb/* ) ;;
39786 *)
39787 # OSF1 and SCO ODT 3.0 have their own names for install.
39788 # Don't use installbsd from OSF since it installs stuff as root
39789 # by default.
39790 for ac_prog in ginstall scoinst install; do
39791 for ac_exec_ext in '' $ac_executable_extensions; do
39792 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39793 if test $ac_prog = install &&
39794 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39795 # AIX install. It has an incompatible calling convention.
39796 :
39797 elif test $ac_prog = install &&
39798 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39799 # program-specific install script used by HP pwplus--don't use.
39800 :
39801 else
39802 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
39803 break 3
39804 fi
39805 fi
39806 done
39807 done
39808 ;;
39809 esac
39810 done
39811
39812
39813 fi
39814 if test "${ac_cv_path_install+set}" = set; then
39815 INSTALL=$ac_cv_path_install
39816 else
39817 # As a last resort, use the slow shell script. We don't cache a
39818 # path for INSTALL within a source directory, because that will
39819 # break other packages using the cache if that directory is
39820 # removed, or if the path is relative.
39821 INSTALL=$ac_install_sh
39822 fi
39823 fi
39824 echo "$as_me:$LINENO: result: $INSTALL" >&5
39825 echo "${ECHO_T}$INSTALL" >&6
39826
39827 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39828 # It thinks the first close brace ends the variable substitution.
39829 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
39830
39831 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
39832
39833 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
39834
39835 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39836 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39837 LN_S=$as_ln_s
39838 if test "$LN_S" = "ln -s"; then
39839 echo "$as_me:$LINENO: result: yes" >&5
39840 echo "${ECHO_T}yes" >&6
39841 else
39842 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39843 echo "${ECHO_T}no, using $LN_S" >&6
39844 fi
39845
39846
39847 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39848 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39849 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39850 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39851 echo $ECHO_N "(cached) $ECHO_C" >&6
39852 else
39853 cat >conftest.make <<\_ACEOF
39854 all:
39855 @echo 'ac_maketemp="$(MAKE)"'
39856 _ACEOF
39857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39858 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39859 if test -n "$ac_maketemp"; then
39860 eval ac_cv_prog_make_${ac_make}_set=yes
39861 else
39862 eval ac_cv_prog_make_${ac_make}_set=no
39863 fi
39864 rm -f conftest.make
39865 fi
39866 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39867 echo "$as_me:$LINENO: result: yes" >&5
39868 echo "${ECHO_T}yes" >&6
39869 SET_MAKE=
39870 else
39871 echo "$as_me:$LINENO: result: no" >&5
39872 echo "${ECHO_T}no" >&6
39873 SET_MAKE="MAKE=${MAKE-make}"
39874 fi
39875
39876
39877
39878 if test -n "$ac_tool_prefix"; then
39879 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39880 set dummy ${ac_tool_prefix}ar; ac_word=$2
39881 echo "$as_me:$LINENO: checking for $ac_word" >&5
39882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39883 if test "${ac_cv_prog_AR+set}" = set; then
39884 echo $ECHO_N "(cached) $ECHO_C" >&6
39885 else
39886 if test -n "$AR"; then
39887 ac_cv_prog_AR="$AR" # Let the user override the test.
39888 else
39889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39890 for as_dir in $PATH
39891 do
39892 IFS=$as_save_IFS
39893 test -z "$as_dir" && as_dir=.
39894 for ac_exec_ext in '' $ac_executable_extensions; do
39895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39896 ac_cv_prog_AR="${ac_tool_prefix}ar"
39897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39898 break 2
39899 fi
39900 done
39901 done
39902
39903 fi
39904 fi
39905 AR=$ac_cv_prog_AR
39906 if test -n "$AR"; then
39907 echo "$as_me:$LINENO: result: $AR" >&5
39908 echo "${ECHO_T}$AR" >&6
39909 else
39910 echo "$as_me:$LINENO: result: no" >&5
39911 echo "${ECHO_T}no" >&6
39912 fi
39913
39914 fi
39915 if test -z "$ac_cv_prog_AR"; then
39916 ac_ct_AR=$AR
39917 # Extract the first word of "ar", so it can be a program name with args.
39918 set dummy ar; ac_word=$2
39919 echo "$as_me:$LINENO: checking for $ac_word" >&5
39920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39921 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39923 else
39924 if test -n "$ac_ct_AR"; then
39925 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
39926 else
39927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39928 for as_dir in $PATH
39929 do
39930 IFS=$as_save_IFS
39931 test -z "$as_dir" && as_dir=.
39932 for ac_exec_ext in '' $ac_executable_extensions; do
39933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39934 ac_cv_prog_ac_ct_AR="ar"
39935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39936 break 2
39937 fi
39938 done
39939 done
39940
39941 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
39942 fi
39943 fi
39944 ac_ct_AR=$ac_cv_prog_ac_ct_AR
39945 if test -n "$ac_ct_AR"; then
39946 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39947 echo "${ECHO_T}$ac_ct_AR" >&6
39948 else
39949 echo "$as_me:$LINENO: result: no" >&5
39950 echo "${ECHO_T}no" >&6
39951 fi
39952
39953 AR=$ac_ct_AR
39954 else
39955 AR="$ac_cv_prog_AR"
39956 fi
39957
39958 if test -n "$ac_tool_prefix"; then
39959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39960 set dummy ${ac_tool_prefix}strip; ac_word=$2
39961 echo "$as_me:$LINENO: checking for $ac_word" >&5
39962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39963 if test "${ac_cv_prog_STRIP+set}" = set; then
39964 echo $ECHO_N "(cached) $ECHO_C" >&6
39965 else
39966 if test -n "$STRIP"; then
39967 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
39968 else
39969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39970 for as_dir in $PATH
39971 do
39972 IFS=$as_save_IFS
39973 test -z "$as_dir" && as_dir=.
39974 for ac_exec_ext in '' $ac_executable_extensions; do
39975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
39977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39978 break 2
39979 fi
39980 done
39981 done
39982
39983 fi
39984 fi
39985 STRIP=$ac_cv_prog_STRIP
39986 if test -n "$STRIP"; then
39987 echo "$as_me:$LINENO: result: $STRIP" >&5
39988 echo "${ECHO_T}$STRIP" >&6
39989 else
39990 echo "$as_me:$LINENO: result: no" >&5
39991 echo "${ECHO_T}no" >&6
39992 fi
39993
39994 fi
39995 if test -z "$ac_cv_prog_STRIP"; then
39996 ac_ct_STRIP=$STRIP
39997 # Extract the first word of "strip", so it can be a program name with args.
39998 set dummy strip; ac_word=$2
39999 echo "$as_me:$LINENO: checking for $ac_word" >&5
40000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40001 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40003 else
40004 if test -n "$ac_ct_STRIP"; then
40005 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
40006 else
40007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40008 for as_dir in $PATH
40009 do
40010 IFS=$as_save_IFS
40011 test -z "$as_dir" && as_dir=.
40012 for ac_exec_ext in '' $ac_executable_extensions; do
40013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40014 ac_cv_prog_ac_ct_STRIP="strip"
40015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40016 break 2
40017 fi
40018 done
40019 done
40020
40021 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
40022 fi
40023 fi
40024 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
40025 if test -n "$ac_ct_STRIP"; then
40026 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40027 echo "${ECHO_T}$ac_ct_STRIP" >&6
40028 else
40029 echo "$as_me:$LINENO: result: no" >&5
40030 echo "${ECHO_T}no" >&6
40031 fi
40032
40033 STRIP=$ac_ct_STRIP
40034 else
40035 STRIP="$ac_cv_prog_STRIP"
40036 fi
40037
40038 if test -n "$ac_tool_prefix"; then
40039 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40040 set dummy ${ac_tool_prefix}nm; ac_word=$2
40041 echo "$as_me:$LINENO: checking for $ac_word" >&5
40042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40043 if test "${ac_cv_prog_NM+set}" = set; then
40044 echo $ECHO_N "(cached) $ECHO_C" >&6
40045 else
40046 if test -n "$NM"; then
40047 ac_cv_prog_NM="$NM" # Let the user override the test.
40048 else
40049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40050 for as_dir in $PATH
40051 do
40052 IFS=$as_save_IFS
40053 test -z "$as_dir" && as_dir=.
40054 for ac_exec_ext in '' $ac_executable_extensions; do
40055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40056 ac_cv_prog_NM="${ac_tool_prefix}nm"
40057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40058 break 2
40059 fi
40060 done
40061 done
40062
40063 fi
40064 fi
40065 NM=$ac_cv_prog_NM
40066 if test -n "$NM"; then
40067 echo "$as_me:$LINENO: result: $NM" >&5
40068 echo "${ECHO_T}$NM" >&6
40069 else
40070 echo "$as_me:$LINENO: result: no" >&5
40071 echo "${ECHO_T}no" >&6
40072 fi
40073
40074 fi
40075 if test -z "$ac_cv_prog_NM"; then
40076 ac_ct_NM=$NM
40077 # Extract the first word of "nm", so it can be a program name with args.
40078 set dummy nm; ac_word=$2
40079 echo "$as_me:$LINENO: checking for $ac_word" >&5
40080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40081 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40082 echo $ECHO_N "(cached) $ECHO_C" >&6
40083 else
40084 if test -n "$ac_ct_NM"; then
40085 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
40086 else
40087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40088 for as_dir in $PATH
40089 do
40090 IFS=$as_save_IFS
40091 test -z "$as_dir" && as_dir=.
40092 for ac_exec_ext in '' $ac_executable_extensions; do
40093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40094 ac_cv_prog_ac_ct_NM="nm"
40095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40096 break 2
40097 fi
40098 done
40099 done
40100
40101 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
40102 fi
40103 fi
40104 ac_ct_NM=$ac_cv_prog_ac_ct_NM
40105 if test -n "$ac_ct_NM"; then
40106 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40107 echo "${ECHO_T}$ac_ct_NM" >&6
40108 else
40109 echo "$as_me:$LINENO: result: no" >&5
40110 echo "${ECHO_T}no" >&6
40111 fi
40112
40113 NM=$ac_ct_NM
40114 else
40115 NM="$ac_cv_prog_NM"
40116 fi
40117
40118
40119 case ${BAKEFILE_HOST} in
40120 *-hp-hpux* )
40121 INSTALL_DIR="mkdir -p"
40122 ;;
40123 *) INSTALL_DIR="$INSTALL -d"
40124 ;;
40125 esac
40126
40127
40128 LDFLAGS_GUI=
40129 case ${BAKEFILE_HOST} in
40130 *-*-cygwin* | *-*-mingw32* )
40131 LDFLAGS_GUI="-mwindows"
40132 esac
40133
40134
40135 fi
40136
40137 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40138 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40139 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40140 echo $ECHO_N "(cached) $ECHO_C" >&6
40141 else
40142
40143 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
40144 egrep -s GNU > /dev/null); then
40145 bakefile_cv_prog_makeisgnu="yes"
40146 else
40147 bakefile_cv_prog_makeisgnu="no"
40148 fi
40149
40150 fi
40151 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
40152 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
40153
40154 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
40155 IF_GNU_MAKE=""
40156 else
40157 IF_GNU_MAKE="#"
40158 fi
40159
40160
40161
40162 PLATFORM_UNIX=0
40163 PLATFORM_WIN32=0
40164 PLATFORM_MSDOS=0
40165 PLATFORM_MAC=0
40166 PLATFORM_MACOS=0
40167 PLATFORM_MACOSX=0
40168 PLATFORM_OS2=0
40169 PLATFORM_BEOS=0
40170
40171 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
40172 case "${BAKEFILE_HOST}" in
40173 *-*-cygwin* | *-*-mingw32* )
40174 PLATFORM_WIN32=1
40175 ;;
40176 *-pc-msdosdjgpp )
40177 PLATFORM_MSDOS=1
40178 ;;
40179 *-pc-os2_emx | *-pc-os2-emx )
40180 PLATFORM_OS2=1
40181 ;;
40182 powerpc-*-darwin* )
40183 PLATFORM_MAC=1
40184 PLATFORM_MACOSX=1
40185 ;;
40186 *-*-beos* )
40187 PLATFORM_BEOS=1
40188 ;;
40189 powerpc-apple-macos* )
40190 PLATFORM_MAC=1
40191 PLATFORM_MACOS=1
40192 ;;
40193 * )
40194 PLATFORM_UNIX=1
40195 ;;
40196 esac
40197 else
40198 case "$BAKEFILE_FORCE_PLATFORM" in
40199 win32 )
40200 PLATFORM_WIN32=1
40201 ;;
40202 msdos )
40203 PLATFORM_MSDOS=1
40204 ;;
40205 os2 )
40206 PLATFORM_OS2=1
40207 ;;
40208 darwin )
40209 PLATFORM_MAC=1
40210 PLATFORM_MACOSX=1
40211 ;;
40212 unix )
40213 PLATFORM_UNIX=1
40214 ;;
40215 beos )
40216 PLATFORM_BEOS=1
40217 ;;
40218 * )
40219 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
40220 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
40221 { (exit 1); exit 1; }; }
40222 ;;
40223 esac
40224 fi
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236 # Check whether --enable-omf or --disable-omf was given.
40237 if test "${enable_omf+set}" = set; then
40238 enableval="$enable_omf"
40239 bk_os2_use_omf="$enableval"
40240 fi;
40241
40242 case "${BAKEFILE_HOST}" in
40243 *-*-darwin* )
40244 CFLAGS="$CFLAGS -fno-common"
40245 CXXFLAGS="$CXXFLAGS -fno-common"
40246 ;;
40247
40248 *-pc-os2_emx | *-pc-os2-emx )
40249 if test "x$bk_os2_use_omf" = "xyes" ; then
40250 AR=emxomfar
40251 RANLIB=:
40252 LDFLAGS="-Zomf $LDFLAGS"
40253 CFLAGS="-Zomf $CFLAGS"
40254 CXXFLAGS="-Zomf $CXXFLAGS"
40255 OS2_LIBEXT="lib"
40256 else
40257 OS2_LIBEXT="a"
40258 fi
40259 ;;
40260
40261 i*86-*-beos* )
40262 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
40263 ;;
40264 esac
40265
40266
40267 SO_SUFFIX="so"
40268 SO_SUFFIX_MODULE="so"
40269 EXEEXT=""
40270 LIBPREFIX="lib"
40271 LIBEXT=".a"
40272 DLLPREFIX="lib"
40273 DLLPREFIX_MODULE=""
40274 DLLIMP_SUFFIX=""
40275
40276 case "${BAKEFILE_HOST}" in
40277 *-hp-hpux* )
40278 SO_SUFFIX="sl"
40279 SO_SUFFIX_MODULE="sl"
40280 ;;
40281 *-*-aix* )
40282 SO_SUFFIX="a"
40283 SO_SUFFIX_MODULE="a"
40284 ;;
40285 *-*-cygwin* | *-*-mingw32* )
40286 SO_SUFFIX="dll"
40287 SO_SUFFIX_MODULE="dll"
40288 DLLIMP_SUFFIX="dll.a"
40289 EXEEXT=".exe"
40290 DLLPREFIX=""
40291 ;;
40292 *-pc-msdosdjgpp )
40293 EXEEXT=".exe"
40294 DLLPREFIX=""
40295 ;;
40296 *-pc-os2_emx | *-pc-os2-emx )
40297 SO_SUFFIX="dll"
40298 SO_SUFFIX_MODULE="dll"
40299 DLLIMP_SUFFIX=$OS2_LIBEXT
40300 EXEEXT=".exe"
40301 DLLPREFIX=""
40302 LIBPREFIX=""
40303 LIBEXT=".$OS2_LIBEXT"
40304 ;;
40305 powerpc-*-darwin* )
40306 SO_SUFFIX="dylib"
40307 SO_SUFFIX_MODULE="bundle"
40308 ;;
40309 esac
40310
40311 if test "x$DLLIMP_SUFFIX" = "x" ; then
40312 DLLIMP_SUFFIX="$SO_SUFFIX"
40313 fi
40314
40315
40316
40317
40318
40319
40320
40321
40322
40323
40324
40325 PIC_FLAG=""
40326 if test "x$GCC" = "xyes"; then
40327 PIC_FLAG="-fPIC"
40328 fi
40329
40330 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
40331 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
40332
40333 case "${BAKEFILE_HOST}" in
40334 *-hp-hpux* )
40335 if test "x$GCC" != "xyes"; then
40336 LDFLAGS="$LDFLAGS -L/usr/lib"
40337
40338 SHARED_LD_CC="${CC} -b -o"
40339 SHARED_LD_CXX="${CXX} -b -o"
40340 PIC_FLAG="+Z"
40341 fi
40342 ;;
40343
40344 *-*-linux* )
40345 if test "x$GCC" != "xyes"; then
40346 echo "$as_me:$LINENO: checking for Intel compiler" >&5
40347 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
40348 if test "${bakefile_cv_prog_icc+set}" = set; then
40349 echo $ECHO_N "(cached) $ECHO_C" >&6
40350 else
40351
40352 cat >conftest.$ac_ext <<_ACEOF
40353 /* confdefs.h. */
40354 _ACEOF
40355 cat confdefs.h >>conftest.$ac_ext
40356 cat >>conftest.$ac_ext <<_ACEOF
40357 /* end confdefs.h. */
40358
40359 int
40360 main ()
40361 {
40362
40363 #ifndef __INTEL_COMPILER
40364 #error Not icc
40365 #endif
40366
40367 ;
40368 return 0;
40369 }
40370 _ACEOF
40371 rm -f conftest.$ac_objext
40372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40373 (eval $ac_compile) 2>conftest.er1
40374 ac_status=$?
40375 grep -v '^ *+' conftest.er1 >conftest.err
40376 rm -f conftest.er1
40377 cat conftest.err >&5
40378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40379 (exit $ac_status); } &&
40380 { ac_try='test -z "$ac_c_werror_flag"
40381 || test ! -s conftest.err'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40384 ac_status=$?
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; } &&
40387 { ac_try='test -s conftest.$ac_objext'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40390 ac_status=$?
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; }; then
40393 bakefile_cv_prog_icc=yes
40394 else
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.$ac_ext >&5
40397
40398 bakefile_cv_prog_icc=no
40399
40400 fi
40401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40402
40403 fi
40404 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
40405 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
40406 if test "$bakefile_cv_prog_icc" = "yes"; then
40407 PIC_FLAG="-KPIC"
40408 fi
40409 fi
40410 ;;
40411
40412 *-*-solaris2* )
40413 if test "x$GCC" != xyes ; then
40414 SHARED_LD_CC="${CC} -G -o"
40415 SHARED_LD_CXX="${CXX} -G -o"
40416 PIC_FLAG="-KPIC"
40417 fi
40418 ;;
40419
40420 *-*-darwin* )
40421
40422 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
40423 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
40424 if test "${wx_cv_gcc31+set}" = set; then
40425 echo $ECHO_N "(cached) $ECHO_C" >&6
40426 else
40427
40428 cat >conftest.$ac_ext <<_ACEOF
40429 /* confdefs.h. */
40430 _ACEOF
40431 cat confdefs.h >>conftest.$ac_ext
40432 cat >>conftest.$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40434
40435 int
40436 main ()
40437 {
40438
40439 #if (__GNUC__ < 3) || \
40440 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
40441 #error old gcc
40442 #endif
40443
40444 ;
40445 return 0;
40446 }
40447 _ACEOF
40448 rm -f conftest.$ac_objext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40450 (eval $ac_compile) 2>conftest.er1
40451 ac_status=$?
40452 grep -v '^ *+' conftest.er1 >conftest.err
40453 rm -f conftest.er1
40454 cat conftest.err >&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } &&
40457 { ac_try='test -z "$ac_c_werror_flag"
40458 || test ! -s conftest.err'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40461 ac_status=$?
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; } &&
40464 { ac_try='test -s conftest.$ac_objext'
40465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40466 (eval $ac_try) 2>&5
40467 ac_status=$?
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); }; }; then
40470
40471 wx_cv_gcc31=yes
40472
40473 else
40474 echo "$as_me: failed program was:" >&5
40475 sed 's/^/| /' conftest.$ac_ext >&5
40476
40477
40478 wx_cv_gcc31=no
40479
40480
40481 fi
40482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40483
40484 fi
40485 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
40486 echo "${ECHO_T}$wx_cv_gcc31" >&6
40487 if test "$wx_cv_gcc31" = "no"; then
40488
40489 D='$'
40490 cat <<EOF >shared-ld-sh
40491 #!/bin/sh
40492 #-----------------------------------------------------------------------------
40493 #-- Name: distrib/mac/shared-ld-sh
40494 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
40495 #-- Author: Gilles Depeyrot
40496 #-- Copyright: (c) 2002 Gilles Depeyrot
40497 #-- Licence: any use permitted
40498 #-----------------------------------------------------------------------------
40499
40500 verbose=0
40501 args=""
40502 objects=""
40503 linking_flag="-dynamiclib"
40504
40505 while test ${D}# -gt 0; do
40506 case ${D}1 in
40507
40508 -v)
40509 verbose=1
40510 ;;
40511
40512 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
40513 # collect these options and values
40514 args="${D}{args} ${D}1 ${D}2"
40515 shift
40516 ;;
40517
40518 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
40519 # collect these options
40520 args="${D}{args} ${D}1"
40521 ;;
40522
40523 -dynamiclib|-bundle)
40524 linking_flag="${D}1"
40525 ;;
40526
40527 -*)
40528 echo "shared-ld: unhandled option '${D}1'"
40529 exit 1
40530 ;;
40531
40532 *.o | *.a | *.dylib)
40533 # collect object files
40534 objects="${D}{objects} ${D}1"
40535 ;;
40536
40537 *)
40538 echo "shared-ld: unhandled argument '${D}1'"
40539 exit 1
40540 ;;
40541
40542 esac
40543 shift
40544 done
40545
40546 #
40547 # Link one module containing all the others
40548 #
40549 if test ${D}{verbose} = 1; then
40550 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
40551 fi
40552 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
40553 status=${D}?
40554 if test ${D}{status} != 0; then
40555 exit ${D}{status}
40556 fi
40557
40558 #
40559 # Link the shared library from the single module created
40560 #
40561 if test ${D}{verbose} = 1; then
40562 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
40563 fi
40564 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
40565 status=${D}?
40566 if test ${D}{status} != 0; then
40567 exit ${D}{status}
40568 fi
40569
40570 #
40571 # Remove intermediate module
40572 #
40573 rm -f master.${D}${D}.o
40574
40575 exit 0
40576 EOF
40577
40578 chmod +x shared-ld-sh
40579
40580 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
40581 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
40582 SHARED_LD_CXX="$SHARED_LD_CC"
40583 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
40584 else
40585 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
40586 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
40587 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
40588 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
40589 fi
40590
40591 PIC_FLAG="-dynamic -fPIC"
40592 ;;
40593
40594 *-*-aix* )
40595 if test "x$GCC" != "xyes"; then
40596 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
40597 set dummy makeC++SharedLib; ac_word=$2
40598 echo "$as_me:$LINENO: checking for $ac_word" >&5
40599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40600 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40602 else
40603 if test -n "$AIX_CXX_LD"; then
40604 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
40605 else
40606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40607 for as_dir in $PATH
40608 do
40609 IFS=$as_save_IFS
40610 test -z "$as_dir" && as_dir=.
40611 for ac_exec_ext in '' $ac_executable_extensions; do
40612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40613 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
40614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40615 break 2
40616 fi
40617 done
40618 done
40619
40620 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
40621 fi
40622 fi
40623 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
40624 if test -n "$AIX_CXX_LD"; then
40625 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
40626 echo "${ECHO_T}$AIX_CXX_LD" >&6
40627 else
40628 echo "$as_me:$LINENO: result: no" >&5
40629 echo "${ECHO_T}no" >&6
40630 fi
40631
40632 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
40633 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
40634 fi
40635 ;;
40636
40637 *-*-beos* )
40638 SHARED_LD_CC="${LD} -nostart -o"
40639 SHARED_LD_CXX="${LD} -nostart -o"
40640 ;;
40641
40642 *-*-irix* )
40643 if test "x$GCC" != "xyes"; then
40644 PIC_FLAG="-KPIC"
40645 fi
40646 ;;
40647
40648 *-*-cygwin* | *-*-mingw32* )
40649 PIC_FLAG=""
40650 SHARED_LD_CC="\$(CC) -shared -o"
40651 SHARED_LD_CXX="\$(CXX) -shared -o"
40652 ;;
40653
40654 *-pc-os2_emx | *-pc-os2-emx )
40655 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40656 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40657 PIC_FLAG=""
40658
40659 D='$'
40660 cat <<EOF >dllar.sh
40661 #!/bin/sh
40662 #
40663 # dllar - a tool to build both a .dll and an .a file
40664 # from a set of object (.o) files for EMX/OS2.
40665 #
40666 # Written by Andrew Zabolotny, bit@freya.etu.ru
40667 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
40668 #
40669 # This script will accept a set of files on the command line.
40670 # All the public symbols from the .o files will be exported into
40671 # a .DEF file, then linker will be run (through gcc) against them to
40672 # build a shared library consisting of all given .o files. All libraries
40673 # (.a) will be first decompressed into component .o files then act as
40674 # described above. You can optionally give a description (-d "description")
40675 # which will be put into .DLL. To see the list of accepted options (as well
40676 # as command-line format) simply run this program without options. The .DLL
40677 # is built to be imported by name (there is no guarantee that new versions
40678 # of the library you build will have same ordinals for same symbols).
40679 #
40680 # dllar is free software; you can redistribute it and/or modify
40681 # it under the terms of the GNU General Public License as published by
40682 # the Free Software Foundation; either version 2, or (at your option)
40683 # any later version.
40684 #
40685 # dllar is distributed in the hope that it will be useful,
40686 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40687 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40688 # GNU General Public License for more details.
40689 #
40690 # You should have received a copy of the GNU General Public License
40691 # along with dllar; see the file COPYING. If not, write to the Free
40692 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
40693 # 02111-1307, USA.
40694
40695 # To successfuly run this program you will need:
40696 # - Current drive should have LFN support (HPFS, ext2, network, etc)
40697 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
40698 # - gcc
40699 # (used to build the .dll)
40700 # - emxexp
40701 # (used to create .def file from .o files)
40702 # - emximp
40703 # (used to create .a file from .def file)
40704 # - GNU text utilites (cat, sort, uniq)
40705 # used to process emxexp output
40706 # - GNU file utilities (mv, rm)
40707 # - GNU sed
40708 # - lxlite (optional, see flag below)
40709 # (used for general .dll cleanup)
40710 #
40711
40712 flag_USE_LXLITE=1;
40713
40714 #
40715 # helper functions
40716 # basnam, variant of basename, which does _not_ remove the path, _iff_
40717 # second argument (suffix to remove) is given
40718 basnam(){
40719 case ${D}# in
40720 1)
40721 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
40722 ;;
40723 2)
40724 echo ${D}1 | sed 's/'${D}2'${D}//'
40725 ;;
40726 *)
40727 echo "error in basnam ${D}*"
40728 exit 8
40729 ;;
40730 esac
40731 }
40732
40733 # Cleanup temporary files and output
40734 CleanUp() {
40735 cd ${D}curDir
40736 for i in ${D}inputFiles ; do
40737 case ${D}i in
40738 *!)
40739 rm -rf \`basnam ${D}i !\`
40740 ;;
40741 *)
40742 ;;
40743 esac
40744 done
40745
40746 # Kill result in case of failure as there is just to many stupid make/nmake
40747 # things out there which doesn't do this.
40748 if [ ${D}# -eq 0 ]; then
40749 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40750 fi
40751 }
40752
40753 # Print usage and exit script with rc=1.
40754 PrintHelp() {
40755 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40756 echo ' [-name-mangler-script script.sh]'
40757 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40758 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40759 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40760 echo ' [*.o] [*.a]'
40761 echo '*> "output_file" should have no extension.'
40762 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40763 echo ' The import library name is derived from this and is set to "name".a,'
40764 echo ' unless overridden by -import'
40765 echo '*> "importlib_name" should have no extension.'
40766 echo ' If it has the .o, or .a extension, it is automatically removed.'
40767 echo ' This name is used as the import library name and may be longer and'
40768 echo ' more descriptive than the DLL name which has to follow the old '
40769 echo ' 8.3 convention of FAT.'
40770 echo '*> "script.sh may be given to override the output_file name by a'
40771 echo ' different name. It is mainly useful if the regular make process'
40772 echo ' of some package does not take into account OS/2 restriction of'
40773 echo ' DLL name lengths. It takes the importlib name as input and is'
40774 echo ' supposed to procude a shorter name as output. The script should'
40775 echo ' expect to get importlib_name without extension and should produce'
40776 echo ' a (max.) 8 letter name without extension.'
40777 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40778 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40779 echo ' These flags will be put at the start of GCC command line.'
40780 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40781 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40782 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40783 echo ' If the last character of a symbol is "*", all symbols beginning'
40784 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40785 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40786 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40787 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40788 echo ' C runtime DLLs.'
40789 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40790 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40791 echo ' unchanged to GCC at the end of command line.'
40792 echo '*> If you create a DLL from a library and you do not specify -o,'
40793 echo ' the basename for DLL and import library will be set to library name,'
40794 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40795 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40796 echo ' library will be renamed into gcc_s.a.'
40797 echo '--------'
40798 echo 'Example:'
40799 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40800 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40801 CleanUp
40802 exit 1
40803 }
40804
40805 # Execute a command.
40806 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40807 # @Uses Whatever CleanUp() uses.
40808 doCommand() {
40809 echo "${D}*"
40810 eval ${D}*
40811 rcCmd=${D}?
40812
40813 if [ ${D}rcCmd -ne 0 ]; then
40814 echo "command failed, exit code="${D}rcCmd
40815 CleanUp
40816 exit ${D}rcCmd
40817 fi
40818 }
40819
40820 # main routine
40821 # setup globals
40822 cmdLine=${D}*
40823 outFile=""
40824 outimpFile=""
40825 inputFiles=""
40826 renameScript=""
40827 description=""
40828 CC=gcc.exe
40829 CFLAGS="-s -Zcrtdll"
40830 EXTRA_CFLAGS=""
40831 EXPORT_BY_ORDINALS=0
40832 exclude_symbols=""
40833 library_flags=""
40834 curDir=\`pwd\`
40835 curDirS=curDir
40836 case ${D}curDirS in
40837 */)
40838 ;;
40839 *)
40840 curDirS=${D}{curDirS}"/"
40841 ;;
40842 esac
40843 # Parse commandline
40844 libsToLink=0
40845 omfLinking=0
40846 while [ ${D}1 ]; do
40847 case ${D}1 in
40848 -ord*)
40849 EXPORT_BY_ORDINALS=1;
40850 ;;
40851 -o*)
40852 shift
40853 outFile=${D}1
40854 ;;
40855 -i*)
40856 shift
40857 outimpFile=${D}1
40858 ;;
40859 -name-mangler-script)
40860 shift
40861 renameScript=${D}1
40862 ;;
40863 -d*)
40864 shift
40865 description=${D}1
40866 ;;
40867 -f*)
40868 shift
40869 CFLAGS=${D}1
40870 ;;
40871 -c*)
40872 shift
40873 CC=${D}1
40874 ;;
40875 -h*)
40876 PrintHelp
40877 ;;
40878 -ex*)
40879 shift
40880 exclude_symbols=${D}{exclude_symbols}${D}1" "
40881 ;;
40882 -libf*)
40883 shift
40884 library_flags=${D}{library_flags}${D}1" "
40885 ;;
40886 -nocrt*)
40887 CFLAGS="-s"
40888 ;;
40889 -nolxl*)
40890 flag_USE_LXLITE=0
40891 ;;
40892 -* | /*)
40893 case ${D}1 in
40894 -L* | -l*)
40895 libsToLink=1
40896 ;;
40897 -Zomf)
40898 omfLinking=1
40899 ;;
40900 *)
40901 ;;
40902 esac
40903 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40904 ;;
40905 *.dll)
40906 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40907 if [ ${D}omfLinking -eq 1 ]; then
40908 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40909 else
40910 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40911 fi
40912 ;;
40913 *)
40914 found=0;
40915 if [ ${D}libsToLink -ne 0 ]; then
40916 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40917 else
40918 for file in ${D}1 ; do
40919 if [ -f ${D}file ]; then
40920 inputFiles="${D}{inputFiles} ${D}file"
40921 found=1
40922 fi
40923 done
40924 if [ ${D}found -eq 0 ]; then
40925 echo "ERROR: No file(s) found: "${D}1
40926 exit 8
40927 fi
40928 fi
40929 ;;
40930 esac
40931 shift
40932 done # iterate cmdline words
40933
40934 #
40935 if [ -z "${D}inputFiles" ]; then
40936 echo "dllar: no input files"
40937 PrintHelp
40938 fi
40939
40940 # Now extract all .o files from .a files
40941 newInputFiles=""
40942 for file in ${D}inputFiles ; do
40943 case ${D}file in
40944 *.a | *.lib)
40945 case ${D}file in
40946 *.a)
40947 suffix=".a"
40948 AR="ar"
40949 ;;
40950 *.lib)
40951 suffix=".lib"
40952 AR="emxomfar"
40953 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40954 ;;
40955 *)
40956 ;;
40957 esac
40958 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40959 mkdir ${D}dirname
40960 if [ ${D}? -ne 0 ]; then
40961 echo "Failed to create subdirectory ./${D}dirname"
40962 CleanUp
40963 exit 8;
40964 fi
40965 # Append '!' to indicate archive
40966 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40967 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40968 cd ${D}curDir
40969 found=0;
40970 for subfile in ${D}dirname/*.o* ; do
40971 if [ -f ${D}subfile ]; then
40972 found=1
40973 if [ -s ${D}subfile ]; then
40974 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40975 newInputFiles="${D}newInputFiles ${D}subfile"
40976 fi
40977 fi
40978 done
40979 if [ ${D}found -eq 0 ]; then
40980 echo "WARNING: there are no files in archive \\'${D}file\\'"
40981 fi
40982 ;;
40983 *)
40984 newInputFiles="${D}{newInputFiles} ${D}file"
40985 ;;
40986 esac
40987 done
40988 inputFiles="${D}newInputFiles"
40989
40990 # Output filename(s).
40991 do_backup=0;
40992 if [ -z ${D}outFile ]; then
40993 do_backup=1;
40994 set outFile ${D}inputFiles; outFile=${D}2
40995 fi
40996
40997 # If it is an archive, remove the '!' and the '_%' suffixes
40998 case ${D}outFile in
40999 *_%!)
41000 outFile=\`basnam ${D}outFile _%!\`
41001 ;;
41002 *)
41003 ;;
41004 esac
41005 case ${D}outFile in
41006 *.dll)
41007 outFile=\`basnam ${D}outFile .dll\`
41008 ;;
41009 *.DLL)
41010 outFile=\`basnam ${D}outFile .DLL\`
41011 ;;
41012 *.o)
41013 outFile=\`basnam ${D}outFile .o\`
41014 ;;
41015 *.obj)
41016 outFile=\`basnam ${D}outFile .obj\`
41017 ;;
41018 *.a)
41019 outFile=\`basnam ${D}outFile .a\`
41020 ;;
41021 *.lib)
41022 outFile=\`basnam ${D}outFile .lib\`
41023 ;;
41024 *)
41025 ;;
41026 esac
41027 case ${D}outimpFile in
41028 *.a)
41029 outimpFile=\`basnam ${D}outimpFile .a\`
41030 ;;
41031 *.lib)
41032 outimpFile=\`basnam ${D}outimpFile .lib\`
41033 ;;
41034 *)
41035 ;;
41036 esac
41037 if [ -z ${D}outimpFile ]; then
41038 outimpFile=${D}outFile
41039 fi
41040 defFile="${D}{outFile}.def"
41041 arcFile="${D}{outimpFile}.a"
41042 arcFile2="${D}{outimpFile}.lib"
41043
41044 #create ${D}dllFile as something matching 8.3 restrictions,
41045 if [ -z ${D}renameScript ] ; then
41046 dllFile="${D}outFile"
41047 else
41048 dllFile=\`${D}renameScript ${D}outimpFile\`
41049 fi
41050
41051 if [ ${D}do_backup -ne 0 ] ; then
41052 if [ -f ${D}arcFile ] ; then
41053 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41054 fi
41055 if [ -f ${D}arcFile2 ] ; then
41056 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41057 fi
41058 fi
41059
41060 # Extract public symbols from all the object files.
41061 tmpdefFile=${D}{defFile}_%
41062 rm -f ${D}tmpdefFile
41063 for file in ${D}inputFiles ; do
41064 case ${D}file in
41065 *!)
41066 ;;
41067 *)
41068 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41069 ;;
41070 esac
41071 done
41072
41073 # Create the def file.
41074 rm -f ${D}defFile
41075 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41076 dllFile="${D}{dllFile}.dll"
41077 if [ ! -z ${D}description ]; then
41078 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41079 fi
41080 echo "EXPORTS" >> ${D}defFile
41081
41082 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41083 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41084
41085 # Checks if the export is ok or not.
41086 for word in ${D}exclude_symbols; do
41087 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41088 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41089 done
41090
41091
41092 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41093 sed "=" < ${D}tmpdefFile | \\
41094 sed '
41095 N
41096 : loop
41097 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41098 t loop
41099 ' > ${D}{tmpdefFile}%
41100 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41101 else
41102 rm -f ${D}{tmpdefFile}%
41103 fi
41104 cat ${D}tmpdefFile >> ${D}defFile
41105 rm -f ${D}tmpdefFile
41106
41107 # Do linking, create implib, and apply lxlite.
41108 gccCmdl="";
41109 for file in ${D}inputFiles ; do
41110 case ${D}file in
41111 *!)
41112 ;;
41113 *)
41114 gccCmdl="${D}gccCmdl ${D}file"
41115 ;;
41116 esac
41117 done
41118 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41119 touch "${D}{outFile}.dll"
41120
41121 doCommand "emximp -o ${D}arcFile ${D}defFile"
41122 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41123 add_flags="";
41124 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41125 add_flags="-ynd"
41126 fi
41127 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41128 fi
41129 doCommand "emxomf -s -l ${D}arcFile"
41130
41131 # Successful exit.
41132 CleanUp 1
41133 exit 0
41134 EOF
41135
41136 chmod +x dllar.sh
41137 ;;
41138
41139 powerpc-apple-macos* | \
41140 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41141 *-*-sunos4* | \
41142 *-*-osf* | \
41143 *-*-dgux5* | \
41144 *-*-sysv5* )
41145 ;;
41146
41147 *)
41148 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41149 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41150 { (exit 1); exit 1; }; }
41151 esac
41152
41153 if test "x$PIC_FLAG" != "x" ; then
41154 PIC_FLAG="$PIC_FLAG -DPIC"
41155 fi
41156
41157 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
41158 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
41159 fi
41160 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
41161 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
41162 fi
41163
41164
41165
41166
41167
41168
41169
41170
41171 USE_SOVERSION=0
41172 USE_SOVERLINUX=0
41173 USE_SOVERSOLARIS=0
41174 USE_SOSYMLINKS=0
41175 USE_MACVERSION=0
41176 SONAME_FLAG=
41177
41178 case "${BAKEFILE_HOST}" in
41179 *-*-linux* | *-*-freebsd* )
41180 SONAME_FLAG="-Wl,-soname,"
41181 USE_SOVERSION=1
41182 USE_SOVERLINUX=1
41183 USE_SOSYMLINKS=1
41184 ;;
41185
41186 *-*-solaris2* )
41187 SONAME_FLAG="-h "
41188 USE_SOVERSION=1
41189 USE_SOVERSOLARIS=1
41190 USE_SOSYMLINKS=1
41191 ;;
41192
41193 *-*-darwin* )
41194 USE_MACVERSION=1
41195 USE_SOVERSION=1
41196 USE_SOSYMLINKS=1
41197 ;;
41198 esac
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
41209 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
41210 DEPS_TRACKING=0
41211
41212 if test "x$GCC" = "xyes"; then
41213 DEPSMODE=gcc
41214 DEPS_TRACKING=1
41215 case "${BAKEFILE_HOST}" in
41216 powerpc-*-darwin* )
41217 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
41218 ;;
41219 * )
41220 DEPSFLAG_GCC="-MMD"
41221 ;;
41222 esac
41223 echo "$as_me:$LINENO: result: gcc" >&5
41224 echo "${ECHO_T}gcc" >&6
41225 elif test "x$MWCC" = "xyes"; then
41226 DEPSMODE=mwcc
41227 DEPS_TRACKING=1
41228 DEPSFLAG_MWCC="-MM"
41229 echo "$as_me:$LINENO: result: mwcc" >&5
41230 echo "${ECHO_T}mwcc" >&6
41231 else
41232 echo "$as_me:$LINENO: result: none" >&5
41233 echo "${ECHO_T}none" >&6
41234 fi
41235
41236 if test $DEPS_TRACKING = 1 ; then
41237
41238 D='$'
41239 cat <<EOF >bk-deps
41240 #!/bin/sh
41241
41242 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41243 # script. It is used to track C/C++ files dependencies in portable way.
41244 #
41245 # Permission is given to use this file in any way.
41246
41247 DEPSMODE=${DEPSMODE}
41248 DEPSDIR=.deps
41249 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
41250 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
41251
41252 mkdir -p ${D}DEPSDIR
41253
41254 if test ${D}DEPSMODE = gcc ; then
41255 ${D}* ${D}{DEPSFLAG_GCC}
41256 status=${D}?
41257 if test ${D}{status} != 0 ; then
41258 exit ${D}{status}
41259 fi
41260 # move created file to the location we want it in:
41261 while test ${D}# -gt 0; do
41262 case "${D}1" in
41263 -o )
41264 shift
41265 objfile=${D}1
41266 ;;
41267 -* )
41268 ;;
41269 * )
41270 srcfile=${D}1
41271 ;;
41272 esac
41273 shift
41274 done
41275 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
41276 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
41277 if test -f ${D}depfile ; then
41278 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41279 rm -f ${D}depfile
41280 else
41281 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
41282 if test -f ${D}depfile ; then
41283 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41284 rm -f ${D}depfile
41285 fi
41286 fi
41287 exit 0
41288 elif test ${D}DEPSMODE = mwcc ; then
41289 ${D}*
41290 status=${D}?
41291 if test ${D}{status} != 0 ; then
41292 exit ${D}{status}
41293 fi
41294 # Run mwcc again with -MM and redirect into the dep file we want
41295 # NOTE: We can't use shift here because we need ${D}* to be valid
41296 prevarg=
41297 for arg in ${D}* ; do
41298 if test "${D}prevarg" = "-o"; then
41299 objfile=${D}arg
41300 else
41301 case "${D}arg" in
41302 -* )
41303 ;;
41304 * )
41305 srcfile=${D}arg
41306 ;;
41307 esac
41308 fi
41309 prevarg="${D}arg"
41310 done
41311 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
41312 exit 0
41313 else
41314 ${D}*
41315 exit ${D}?
41316 fi
41317 EOF
41318
41319 chmod +x bk-deps
41320 fi
41321
41322
41323
41324
41325 RESCOMP=
41326 SETFILE=
41327
41328 case ${BAKEFILE_HOST} in
41329 *-*-cygwin* | *-*-mingw32* )
41330 if test "$build" != "$host" ; then
41331 RESCOMP=$host_alias-windres
41332 else
41333 # Extract the first word of "windres", so it can be a program name with args.
41334 set dummy windres; ac_word=$2
41335 echo "$as_me:$LINENO: checking for $ac_word" >&5
41336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41337 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41338 echo $ECHO_N "(cached) $ECHO_C" >&6
41339 else
41340 if test -n "$RESCOMP"; then
41341 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
41342 else
41343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41344 for as_dir in $PATH
41345 do
41346 IFS=$as_save_IFS
41347 test -z "$as_dir" && as_dir=.
41348 for ac_exec_ext in '' $ac_executable_extensions; do
41349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41350 ac_cv_prog_RESCOMP="windres"
41351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41352 break 2
41353 fi
41354 done
41355 done
41356
41357 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
41358 fi
41359 fi
41360 RESCOMP=$ac_cv_prog_RESCOMP
41361 if test -n "$RESCOMP"; then
41362 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41363 echo "${ECHO_T}$RESCOMP" >&6
41364 else
41365 echo "$as_me:$LINENO: result: no" >&5
41366 echo "${ECHO_T}no" >&6
41367 fi
41368
41369 fi
41370 ;;
41371
41372 *-*-darwin* | powerpc-apple-macos* )
41373 # Extract the first word of "Rez", so it can be a program name with args.
41374 set dummy Rez; ac_word=$2
41375 echo "$as_me:$LINENO: checking for $ac_word" >&5
41376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41377 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41378 echo $ECHO_N "(cached) $ECHO_C" >&6
41379 else
41380 if test -n "$RESCOMP"; then
41381 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
41382 else
41383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41384 for as_dir in $PATH
41385 do
41386 IFS=$as_save_IFS
41387 test -z "$as_dir" && as_dir=.
41388 for ac_exec_ext in '' $ac_executable_extensions; do
41389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41390 ac_cv_prog_RESCOMP="Rez"
41391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41392 break 2
41393 fi
41394 done
41395 done
41396
41397 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
41398 fi
41399 fi
41400 RESCOMP=$ac_cv_prog_RESCOMP
41401 if test -n "$RESCOMP"; then
41402 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41403 echo "${ECHO_T}$RESCOMP" >&6
41404 else
41405 echo "$as_me:$LINENO: result: no" >&5
41406 echo "${ECHO_T}no" >&6
41407 fi
41408
41409 # Extract the first word of "SetFile", so it can be a program name with args.
41410 set dummy SetFile; ac_word=$2
41411 echo "$as_me:$LINENO: checking for $ac_word" >&5
41412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41413 if test "${ac_cv_prog_SETFILE+set}" = set; then
41414 echo $ECHO_N "(cached) $ECHO_C" >&6
41415 else
41416 if test -n "$SETFILE"; then
41417 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
41418 else
41419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41420 for as_dir in $PATH
41421 do
41422 IFS=$as_save_IFS
41423 test -z "$as_dir" && as_dir=.
41424 for ac_exec_ext in '' $ac_executable_extensions; do
41425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41426 ac_cv_prog_SETFILE="SetFile"
41427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41428 break 2
41429 fi
41430 done
41431 done
41432
41433 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
41434 fi
41435 fi
41436 SETFILE=$ac_cv_prog_SETFILE
41437 if test -n "$SETFILE"; then
41438 echo "$as_me:$LINENO: result: $SETFILE" >&5
41439 echo "${ECHO_T}$SETFILE" >&6
41440 else
41441 echo "$as_me:$LINENO: result: no" >&5
41442 echo "${ECHO_T}no" >&6
41443 fi
41444
41445 ;;
41446 esac
41447
41448
41449
41450
41451
41452 BAKEFILE_BAKEFILE_M4_VERSION="0.1.7"
41453
41454
41455 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.7"
41456
41457
41458
41459 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
41460 if test "${enable_precomp_headers+set}" = set; then
41461 enableval="$enable_precomp_headers"
41462 bk_use_pch="$enableval"
41463 fi;
41464
41465 GCC_PCH=0
41466
41467 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
41468 if test "x$GCC" = "xyes"; then
41469 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
41470 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
41471 cat >conftest.$ac_ext <<_ACEOF
41472 /* confdefs.h. */
41473 _ACEOF
41474 cat confdefs.h >>conftest.$ac_ext
41475 cat >>conftest.$ac_ext <<_ACEOF
41476 /* end confdefs.h. */
41477
41478 int
41479 main ()
41480 {
41481
41482 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
41483 #error "no pch support"
41484 #endif
41485 #if (__GNUC__ < 3)
41486 #error "no pch support"
41487 #endif
41488 #if (__GNUC__ == 3) && \
41489 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
41490 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
41491 #error "no pch support"
41492 #endif
41493
41494 ;
41495 return 0;
41496 }
41497 _ACEOF
41498 rm -f conftest.$ac_objext
41499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41500 (eval $ac_compile) 2>conftest.er1
41501 ac_status=$?
41502 grep -v '^ *+' conftest.er1 >conftest.err
41503 rm -f conftest.er1
41504 cat conftest.err >&5
41505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506 (exit $ac_status); } &&
41507 { ac_try='test -z "$ac_c_werror_flag"
41508 || test ! -s conftest.err'
41509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41510 (eval $ac_try) 2>&5
41511 ac_status=$?
41512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513 (exit $ac_status); }; } &&
41514 { ac_try='test -s conftest.$ac_objext'
41515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41516 (eval $ac_try) 2>&5
41517 ac_status=$?
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); }; }; then
41520
41521 echo "$as_me:$LINENO: result: yes" >&5
41522 echo "${ECHO_T}yes" >&6
41523 GCC_PCH=1
41524
41525 else
41526 echo "$as_me: failed program was:" >&5
41527 sed 's/^/| /' conftest.$ac_ext >&5
41528
41529
41530 echo "$as_me:$LINENO: result: no" >&5
41531 echo "${ECHO_T}no" >&6
41532
41533 fi
41534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41535 if test $GCC_PCH = 1 ; then
41536
41537 D='$'
41538 cat <<EOF >bk-make-pch
41539 #!/bin/sh
41540
41541 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41542 # script. It is used to generated precompiled headers.
41543 #
41544 # Permission is given to use this file in any way.
41545
41546 outfile="${D}{1}"
41547 header="${D}{2}"
41548 shift
41549 shift
41550
41551 compiler=
41552 headerfile=
41553 while test ${D}{#} -gt 0; do
41554 case "${D}{1}" in
41555 -I* )
41556 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
41557 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
41558 headerfile="${D}{incdir}/${D}{header}"
41559 fi
41560 ;;
41561 esac
41562 compiler="${D}{compiler} ${D}{1}"
41563 shift
41564 done
41565
41566 if test "x${D}{headerfile}" = "x" ; then
41567 echo "error: can't find header ${D}{header} in include paths" >2
41568 else
41569 if test -f ${D}{outfile} ; then
41570 rm -f ${D}{outfile}
41571 else
41572 mkdir -p \`dirname ${D}{outfile}\`
41573 fi
41574 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
41575 mkdir -p .deps
41576 # can do this because gcc is >= 3.4:
41577 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
41578 exit ${D}{?}
41579 fi
41580 EOF
41581
41582 chmod +x bk-make-pch
41583 fi
41584 fi
41585 fi
41586
41587
41588
41589 COND_BUILD_DEBUG="#"
41590 if test "x$BUILD" = "xdebug" ; then
41591 COND_BUILD_DEBUG=""
41592 fi
41593
41594 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
41595 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41596 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
41597 fi
41598
41599 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
41600 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41601 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
41602 fi
41603
41604 COND_BUILD_DEBUG_UNICODE_0="#"
41605 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41606 COND_BUILD_DEBUG_UNICODE_0=""
41607 fi
41608
41609 COND_BUILD_DEBUG_UNICODE_1="#"
41610 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41611 COND_BUILD_DEBUG_UNICODE_1=""
41612 fi
41613
41614 COND_BUILD_RELEASE="#"
41615 if test "x$BUILD" = "xrelease" ; then
41616 COND_BUILD_RELEASE=""
41617 fi
41618
41619 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
41620 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41621 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
41622 fi
41623
41624 COND_BUILD_RELEASE_UNICODE_0="#"
41625 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41626 COND_BUILD_RELEASE_UNICODE_0=""
41627 fi
41628
41629 COND_BUILD_RELEASE_UNICODE_1="#"
41630 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41631 COND_BUILD_RELEASE_UNICODE_1=""
41632 fi
41633
41634 COND_DEBUG_FLAG_1="#"
41635 if test "x$DEBUG_FLAG" = "x1" ; then
41636 COND_DEBUG_FLAG_1=""
41637 fi
41638
41639 COND_DEBUG_INFO_0="#"
41640 if test "x$DEBUG_INFO" = "x0" ; then
41641 COND_DEBUG_INFO_0=""
41642 fi
41643
41644 COND_DEBUG_INFO_1="#"
41645 if test "x$DEBUG_INFO" = "x1" ; then
41646 COND_DEBUG_INFO_1=""
41647 fi
41648
41649 COND_DEPS_TRACKING_0="#"
41650 if test "x$DEPS_TRACKING" = "x0" ; then
41651 COND_DEPS_TRACKING_0=""
41652 fi
41653
41654 COND_DEPS_TRACKING_1="#"
41655 if test "x$DEPS_TRACKING" = "x1" ; then
41656 COND_DEPS_TRACKING_1=""
41657 fi
41658
41659 COND_GCC_PCH_1="#"
41660 if test "x$GCC_PCH" = "x1" ; then
41661 COND_GCC_PCH_1=""
41662 fi
41663
41664 COND_MONOLITHIC_0="#"
41665 if test "x$MONOLITHIC" = "x0" ; then
41666 COND_MONOLITHIC_0=""
41667 fi
41668
41669 COND_MONOLITHIC_0_SHARED_0="#"
41670 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41671 COND_MONOLITHIC_0_SHARED_0=""
41672 fi
41673
41674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
41675 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41676 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
41677 fi
41678
41679 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
41680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41681 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
41682 fi
41683
41684 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
41685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41686 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
41687 fi
41688
41689 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41691 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41692 fi
41693
41694 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
41695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41696 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
41697 fi
41698
41699 COND_MONOLITHIC_0_SHARED_1="#"
41700 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41701 COND_MONOLITHIC_0_SHARED_1=""
41702 fi
41703
41704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41706 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41707 fi
41708
41709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
41710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
41712 fi
41713
41714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41717 fi
41718
41719 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41721 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41722 fi
41723
41724 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
41725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41726 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
41727 fi
41728
41729 COND_MONOLITHIC_0_USE_ODBC_1="#"
41730 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41731 COND_MONOLITHIC_0_USE_ODBC_1=""
41732 fi
41733
41734 COND_MONOLITHIC_1="#"
41735 if test "x$MONOLITHIC" = "x1" ; then
41736 COND_MONOLITHIC_1=""
41737 fi
41738
41739 COND_MONOLITHIC_1_SHARED_0="#"
41740 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41741 COND_MONOLITHIC_1_SHARED_0=""
41742 fi
41743
41744 COND_MONOLITHIC_1_SHARED_1="#"
41745 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41746 COND_MONOLITHIC_1_SHARED_1=""
41747 fi
41748
41749 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41750 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41751 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41752 fi
41753
41754 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41755 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41756 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41757 fi
41758
41759 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41760 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41761 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41762 fi
41763
41764 COND_PLATFORM_MACOSX_1="#"
41765 if test "x$PLATFORM_MACOSX" = "x1" ; then
41766 COND_PLATFORM_MACOSX_1=""
41767 fi
41768
41769 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
41770 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41771 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
41772 fi
41773
41774 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41775 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41776 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41777 fi
41778
41779 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41780 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41781 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41782 fi
41783
41784 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41785 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41786 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41787 fi
41788
41789 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
41790 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41791 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
41792 fi
41793
41794 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41795 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41796 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41797 fi
41798
41799 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
41800 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41801 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
41802 fi
41803
41804 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
41805 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41806 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
41807 fi
41808
41809 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41810 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41811 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41812 fi
41813
41814 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41815 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41816 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41817 fi
41818
41819 COND_PLATFORM_MACOS_1="#"
41820 if test "x$PLATFORM_MACOS" = "x1" ; then
41821 COND_PLATFORM_MACOS_1=""
41822 fi
41823
41824 COND_PLATFORM_MAC_1="#"
41825 if test "x$PLATFORM_MAC" = "x1" ; then
41826 COND_PLATFORM_MAC_1=""
41827 fi
41828
41829 COND_PLATFORM_OS2_1="#"
41830 if test "x$PLATFORM_OS2" = "x1" ; then
41831 COND_PLATFORM_OS2_1=""
41832 fi
41833
41834 COND_PLATFORM_UNIX_0="#"
41835 if test "x$PLATFORM_UNIX" = "x0" ; then
41836 COND_PLATFORM_UNIX_0=""
41837 fi
41838
41839 COND_PLATFORM_UNIX_1="#"
41840 if test "x$PLATFORM_UNIX" = "x1" ; then
41841 COND_PLATFORM_UNIX_1=""
41842 fi
41843
41844 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41845 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41846 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41847 fi
41848
41849 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41850 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41851 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41852 fi
41853
41854 COND_PLATFORM_WIN32_0="#"
41855 if test "x$PLATFORM_WIN32" = "x0" ; then
41856 COND_PLATFORM_WIN32_0=""
41857 fi
41858
41859 COND_PLATFORM_WIN32_1="#"
41860 if test "x$PLATFORM_WIN32" = "x1" ; then
41861 COND_PLATFORM_WIN32_1=""
41862 fi
41863
41864 COND_SHARED_0="#"
41865 if test "x$SHARED" = "x0" ; then
41866 COND_SHARED_0=""
41867 fi
41868
41869 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
41870 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41871 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
41872 fi
41873
41874 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
41875 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41876 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
41877 fi
41878
41879 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
41880 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41881 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
41882 fi
41883
41884 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41885 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41886 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41887 fi
41888
41889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41890 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41892 fi
41893
41894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41895 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41897 fi
41898
41899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41900 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41901 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41902 fi
41903
41904 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41905 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41906 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41907 fi
41908
41909 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41910 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41911 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41912 fi
41913
41914 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41915 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41916 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41917 fi
41918
41919 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41920 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41921 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41922 fi
41923
41924 COND_SHARED_1="#"
41925 if test "x$SHARED" = "x1" ; then
41926 COND_SHARED_1=""
41927 fi
41928
41929 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41930 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41931 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41932 fi
41933
41934 COND_TOOLKIT_="#"
41935 if test "x$TOOLKIT" = "x" ; then
41936 COND_TOOLKIT_=""
41937 fi
41938
41939 COND_TOOLKIT_COCOA="#"
41940 if test "x$TOOLKIT" = "xCOCOA" ; then
41941 COND_TOOLKIT_COCOA=""
41942 fi
41943
41944 COND_TOOLKIT_COCOA_USE_GUI_1="#"
41945 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41946 COND_TOOLKIT_COCOA_USE_GUI_1=""
41947 fi
41948
41949 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41950 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41951 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41952 fi
41953
41954 COND_TOOLKIT_GTK="#"
41955 if test "x$TOOLKIT" = "xGTK" ; then
41956 COND_TOOLKIT_GTK=""
41957 fi
41958
41959 COND_TOOLKIT_GTK_USE_GUI_1="#"
41960 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41961 COND_TOOLKIT_GTK_USE_GUI_1=""
41962 fi
41963
41964 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41965 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41966 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41967 fi
41968
41969 COND_TOOLKIT_MAC="#"
41970 if test "x$TOOLKIT" = "xMAC" ; then
41971 COND_TOOLKIT_MAC=""
41972 fi
41973
41974 COND_TOOLKIT_MAC_USE_GUI_1="#"
41975 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41976 COND_TOOLKIT_MAC_USE_GUI_1=""
41977 fi
41978
41979 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41980 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41981 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41982 fi
41983
41984 COND_TOOLKIT_MGL="#"
41985 if test "x$TOOLKIT" = "xMGL" ; then
41986 COND_TOOLKIT_MGL=""
41987 fi
41988
41989 COND_TOOLKIT_MGL_USE_GUI_1="#"
41990 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41991 COND_TOOLKIT_MGL_USE_GUI_1=""
41992 fi
41993
41994 COND_TOOLKIT_MOTIF="#"
41995 if test "x$TOOLKIT" = "xMOTIF" ; then
41996 COND_TOOLKIT_MOTIF=""
41997 fi
41998
41999 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
42000 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42001 COND_TOOLKIT_MOTIF_USE_GUI_1=""
42002 fi
42003
42004 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
42005 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42006 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
42007 fi
42008
42009 COND_TOOLKIT_MSW="#"
42010 if test "x$TOOLKIT" = "xMSW" ; then
42011 COND_TOOLKIT_MSW=""
42012 fi
42013
42014 COND_TOOLKIT_MSW_USE_GUI_1="#"
42015 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42016 COND_TOOLKIT_MSW_USE_GUI_1=""
42017 fi
42018
42019 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
42020 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42021 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
42022 fi
42023
42024 COND_TOOLKIT_PM="#"
42025 if test "x$TOOLKIT" = "xPM" ; then
42026 COND_TOOLKIT_PM=""
42027 fi
42028
42029 COND_TOOLKIT_PM_USE_GUI_1="#"
42030 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42031 COND_TOOLKIT_PM_USE_GUI_1=""
42032 fi
42033
42034 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
42035 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42036 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
42037 fi
42038
42039 COND_TOOLKIT_WINCE="#"
42040 if test "x$TOOLKIT" = "xWINCE" ; then
42041 COND_TOOLKIT_WINCE=""
42042 fi
42043
42044 COND_TOOLKIT_WINCE_USE_GUI_1="#"
42045 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42046 COND_TOOLKIT_WINCE_USE_GUI_1=""
42047 fi
42048
42049 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
42050 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42051 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
42052 fi
42053
42054 COND_TOOLKIT_X11="#"
42055 if test "x$TOOLKIT" = "xX11" ; then
42056 COND_TOOLKIT_X11=""
42057 fi
42058
42059 COND_TOOLKIT_X11_USE_GUI_1="#"
42060 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42061 COND_TOOLKIT_X11_USE_GUI_1=""
42062 fi
42063
42064 COND_UNICODE_1="#"
42065 if test "x$UNICODE" = "x1" ; then
42066 COND_UNICODE_1=""
42067 fi
42068
42069 COND_USE_EXCEPTIONS_0="#"
42070 if test "x$USE_EXCEPTIONS" = "x0" ; then
42071 COND_USE_EXCEPTIONS_0=""
42072 fi
42073
42074 COND_USE_EXCEPTIONS_1="#"
42075 if test "x$USE_EXCEPTIONS" = "x1" ; then
42076 COND_USE_EXCEPTIONS_1=""
42077 fi
42078
42079 COND_USE_GUI_0="#"
42080 if test "x$USE_GUI" = "x0" ; then
42081 COND_USE_GUI_0=""
42082 fi
42083
42084 COND_USE_GUI_1="#"
42085 if test "x$USE_GUI" = "x1" ; then
42086 COND_USE_GUI_1=""
42087 fi
42088
42089 COND_USE_GUI_1_WXUNIV_0="#"
42090 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42091 COND_USE_GUI_1_WXUNIV_0=""
42092 fi
42093
42094 COND_USE_GUI_1_WXUNIV_1="#"
42095 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42096 COND_USE_GUI_1_WXUNIV_1=""
42097 fi
42098
42099 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42100 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42101 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42102 fi
42103
42104 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42105 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42106 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42107 fi
42108
42109 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42110 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42111 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42112 fi
42113
42114 COND_USE_ODBC_1="#"
42115 if test "x$USE_ODBC" = "x1" ; then
42116 COND_USE_ODBC_1=""
42117 fi
42118
42119 COND_USE_OPENGL_1="#"
42120 if test "x$USE_OPENGL" = "x1" ; then
42121 COND_USE_OPENGL_1=""
42122 fi
42123
42124 COND_USE_PLUGINS_0="#"
42125 if test "x$USE_PLUGINS" = "x0" ; then
42126 COND_USE_PLUGINS_0=""
42127 fi
42128
42129 COND_USE_SOSYMLINKS_1="#"
42130 if test "x$USE_SOSYMLINKS" = "x1" ; then
42131 COND_USE_SOSYMLINKS_1=""
42132 fi
42133
42134 COND_USE_SOVERLINUX_1="#"
42135 if test "x$USE_SOVERLINUX" = "x1" ; then
42136 COND_USE_SOVERLINUX_1=""
42137 fi
42138
42139 COND_USE_SOVERSION_0="#"
42140 if test "x$USE_SOVERSION" = "x0" ; then
42141 COND_USE_SOVERSION_0=""
42142 fi
42143
42144 COND_USE_SOVERSOLARIS_1="#"
42145 if test "x$USE_SOVERSOLARIS" = "x1" ; then
42146 COND_USE_SOVERSOLARIS_1=""
42147 fi
42148
42149 COND_USE_XRC_1="#"
42150 if test "x$USE_XRC" = "x1" ; then
42151 COND_USE_XRC_1=""
42152 fi
42153
42154 COND_WITH_PLUGIN_SDL_1="#"
42155 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
42156 COND_WITH_PLUGIN_SDL_1=""
42157 fi
42158
42159 COND_WXUNIV_0="#"
42160 if test "x$WXUNIV" = "x0" ; then
42161 COND_WXUNIV_0=""
42162 fi
42163
42164 COND_WXUNIV_1="#"
42165 if test "x$WXUNIV" = "x1" ; then
42166 COND_WXUNIV_1=""
42167 fi
42168
42169 COND_WXUSE_EXPAT_BUILTIN="#"
42170 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
42171 COND_WXUSE_EXPAT_BUILTIN=""
42172 fi
42173
42174 COND_WXUSE_LIBJPEG_BUILTIN="#"
42175 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42176 COND_WXUSE_LIBJPEG_BUILTIN=""
42177 fi
42178
42179 COND_WXUSE_LIBPNG_BUILTIN="#"
42180 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42181 COND_WXUSE_LIBPNG_BUILTIN=""
42182 fi
42183
42184 COND_WXUSE_LIBTIFF_BUILTIN="#"
42185 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42186 COND_WXUSE_LIBTIFF_BUILTIN=""
42187 fi
42188
42189 COND_WXUSE_ODBC_BUILTIN="#"
42190 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
42191 COND_WXUSE_ODBC_BUILTIN=""
42192 fi
42193
42194 COND_WXUSE_REGEX_BUILTIN="#"
42195 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
42196 COND_WXUSE_REGEX_BUILTIN=""
42197 fi
42198
42199 COND_WXUSE_ZLIB_BUILTIN="#"
42200 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
42201 COND_WXUSE_ZLIB_BUILTIN=""
42202 fi
42203
42204
42205
42206 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
42207 { { 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
42208 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;}
42209 { (exit 1); exit 1; }; }
42210 fi
42211
42212
42213 if test "$wxUSE_SHARED" = "yes"; then
42214
42215 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
42216 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
42217
42218 case "${host}" in
42219 *-pc-os2_emx | *-pc-os2-emx )
42220 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42221 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42222 cp -p ${srcdir}/src/os2/dllnames.sh .
42223 cp -p ${srcdir}/src/os2/dllar.sh .
42224 ;;
42225 esac
42226 else
42227
42228 EXE_LINKER="$CXX -o"
42229
42230 fi
42231
42232 GCC_PRAGMA_FLAGS=""
42233 PCH_FLAGS=""
42234 if test $GCC_PCH = 1 ; then
42235 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42236 PCH_FLAGS="-DWX_PRECOMP"
42237 else
42238 case "${host}" in
42239 powerpc-*-darwin* )
42240 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42241 ;;
42242 *-*-mingw32* )
42243 if test "$wxUSE_STL" = "yes" -o \
42244 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42245 "$wxUSE_NO_RTTI" != "yes"; then
42246 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42247 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42248 cat >conftest.$ac_ext <<_ACEOF
42249 /* confdefs.h. */
42250 _ACEOF
42251 cat confdefs.h >>conftest.$ac_ext
42252 cat >>conftest.$ac_ext <<_ACEOF
42253 /* end confdefs.h. */
42254
42255 int
42256 main ()
42257 {
42258 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42259 #error "Not GCC 3.2 or greater"
42260 #endif
42261
42262 ;
42263 return 0;
42264 }
42265 _ACEOF
42266 rm -f conftest.$ac_objext
42267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42268 (eval $ac_compile) 2>conftest.er1
42269 ac_status=$?
42270 grep -v '^ *+' conftest.er1 >conftest.err
42271 rm -f conftest.er1
42272 cat conftest.err >&5
42273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42274 (exit $ac_status); } &&
42275 { ac_try='test -z "$ac_c_werror_flag"
42276 || test ! -s conftest.err'
42277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42278 (eval $ac_try) 2>&5
42279 ac_status=$?
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; } &&
42282 { ac_try='test -s conftest.$ac_objext'
42283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42284 (eval $ac_try) 2>&5
42285 ac_status=$?
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; }; then
42288 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42289 echo "$as_me:$LINENO: result: yes" >&5
42290 echo "${ECHO_T}yes" >&6
42291 else
42292 echo "$as_me: failed program was:" >&5
42293 sed 's/^/| /' conftest.$ac_ext >&5
42294
42295 echo "$as_me:$LINENO: result: no" >&5
42296 echo "${ECHO_T}no" >&6
42297 fi
42298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42299 fi
42300 ;;
42301 *-pc-os2_emx | *-pc-os2-emx )
42302 if test "$wxUSE_STL" = "yes"; then
42303 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
42304 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311
42312 int
42313 main ()
42314 {
42315 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42316 #error "Not GCC 3.2 or greater"
42317 #endif
42318
42319 ;
42320 return 0;
42321 }
42322 _ACEOF
42323 rm -f conftest.$ac_objext
42324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42325 (eval $ac_compile) 2>conftest.er1
42326 ac_status=$?
42327 grep -v '^ *+' conftest.er1 >conftest.err
42328 rm -f conftest.er1
42329 cat conftest.err >&5
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); } &&
42332 { ac_try='test -z "$ac_c_werror_flag"
42333 || test ! -s conftest.err'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42336 ac_status=$?
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; } &&
42339 { ac_try='test -s conftest.$ac_objext'
42340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42341 (eval $ac_try) 2>&5
42342 ac_status=$?
42343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42344 (exit $ac_status); }; }; then
42345 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42346 echo "$as_me:$LINENO: result: yes" >&5
42347 echo "${ECHO_T}yes" >&6
42348 else
42349 echo "$as_me: failed program was:" >&5
42350 sed 's/^/| /' conftest.$ac_ext >&5
42351
42352 echo "$as_me:$LINENO: result: no" >&5
42353 echo "${ECHO_T}no" >&6
42354 fi
42355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42356 fi
42357 ;;
42358 esac
42359 fi
42360 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
42361
42362
42363 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42428 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42429 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
42430 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42431 echo $ECHO_N "(cached) $ECHO_C" >&6
42432 else
42433 cat >conftest.make <<\_ACEOF
42434 all:
42435 @echo 'ac_maketemp="$(MAKE)"'
42436 _ACEOF
42437 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42438 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42439 if test -n "$ac_maketemp"; then
42440 eval ac_cv_prog_make_${ac_make}_set=yes
42441 else
42442 eval ac_cv_prog_make_${ac_make}_set=no
42443 fi
42444 rm -f conftest.make
42445 fi
42446 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42447 echo "$as_me:$LINENO: result: yes" >&5
42448 echo "${ECHO_T}yes" >&6
42449 SET_MAKE=
42450 else
42451 echo "$as_me:$LINENO: result: no" >&5
42452 echo "${ECHO_T}no" >&6
42453 SET_MAKE="MAKE=${MAKE-make}"
42454 fi
42455
42456
42457
42458 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
42459
42460
42461 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
42462
42463
42464 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
42465
42466
42467 ac_config_files="$ac_config_files version-script Makefile"
42468
42469
42470 ac_config_commands="$ac_config_commands wx-config
42471 "
42472
42473
42474
42475
42476 if test "$wxUSE_GUI" = "yes"; then
42477 SUBDIRS="samples demos utils contrib"
42478 else SUBDIRS="samples utils"
42479 fi
42480
42481
42482
42483 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42484 if test "${with_cppunit_prefix+set}" = set; then
42485 withval="$with_cppunit_prefix"
42486 cppunit_config_prefix="$withval"
42487 else
42488 cppunit_config_prefix=""
42489 fi;
42490
42491 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42492 if test "${with_cppunit_exec_prefix+set}" = set; then
42493 withval="$with_cppunit_exec_prefix"
42494 cppunit_config_exec_prefix="$withval"
42495 else
42496 cppunit_config_exec_prefix=""
42497 fi;
42498
42499 if test x$cppunit_config_exec_prefix != x ; then
42500 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42501 if test x${CPPUNIT_CONFIG+set} != xset ; then
42502 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
42503 fi
42504 fi
42505 if test x$cppunit_config_prefix != x ; then
42506 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
42507 if test x${CPPUNIT_CONFIG+set} != xset ; then
42508 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
42509 fi
42510 fi
42511
42512 # Extract the first word of "cppunit-config", so it can be a program name with args.
42513 set dummy cppunit-config; ac_word=$2
42514 echo "$as_me:$LINENO: checking for $ac_word" >&5
42515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42516 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42517 echo $ECHO_N "(cached) $ECHO_C" >&6
42518 else
42519 case $CPPUNIT_CONFIG in
42520 [\\/]* | ?:[\\/]*)
42521 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42522 ;;
42523 *)
42524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42525 for as_dir in $PATH
42526 do
42527 IFS=$as_save_IFS
42528 test -z "$as_dir" && as_dir=.
42529 for ac_exec_ext in '' $ac_executable_extensions; do
42530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42531 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42533 break 2
42534 fi
42535 done
42536 done
42537
42538 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
42539 ;;
42540 esac
42541 fi
42542 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
42543
42544 if test -n "$CPPUNIT_CONFIG"; then
42545 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42546 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42547 else
42548 echo "$as_me:$LINENO: result: no" >&5
42549 echo "${ECHO_T}no" >&6
42550 fi
42551
42552 cppunit_version_min=1.8.0
42553
42554 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42555 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42556 no_cppunit=""
42557 if test "$CPPUNIT_CONFIG" = "no" ; then
42558 no_cppunit=yes
42559 else
42560 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
42561 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
42562 cppunit_version=`$CPPUNIT_CONFIG --version`
42563
42564 cppunit_major_version=`echo $cppunit_version | \
42565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42566 cppunit_minor_version=`echo $cppunit_version | \
42567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42568 cppunit_micro_version=`echo $cppunit_version | \
42569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42570
42571 cppunit_major_min=`echo $cppunit_version_min | \
42572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42573 cppunit_minor_min=`echo $cppunit_version_min | \
42574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42575 cppunit_micro_min=`echo $cppunit_version_min | \
42576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42577
42578 cppunit_version_proper=`expr \
42579 $cppunit_major_version \> $cppunit_major_min \| \
42580 $cppunit_major_version \= $cppunit_major_min \& \
42581 $cppunit_minor_version \> $cppunit_minor_min \| \
42582 $cppunit_major_version \= $cppunit_major_min \& \
42583 $cppunit_minor_version \= $cppunit_minor_min \& \
42584 $cppunit_micro_version \>= $cppunit_micro_min `
42585
42586 if test "$cppunit_version_proper" = "1" ; then
42587 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42588 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42589 else
42590 echo "$as_me:$LINENO: result: no" >&5
42591 echo "${ECHO_T}no" >&6
42592 no_cppunit=yes
42593 fi
42594 fi
42595
42596 if test "x$no_cppunit" = x ; then
42597 SUBDIRS="$SUBDIRS tests"
42598 else
42599 CPPUNIT_CFLAGS=""
42600 CPPUNIT_LIBS=""
42601 :
42602 fi
42603
42604
42605
42606
42607
42608 for subdir in `echo $SUBDIRS`; do
42609 if test -d ${srcdir}/${subdir} ; then
42610 if test "$wxUSE_GUI" = "yes"; then
42611 if test ${subdir} = "samples"; then
42612 makefiles="samples/Makefile.in $makefiles"
42613 for sample in `echo $SAMPLES_SUBDIRS`; do
42614 if test -d $srcdir/samples/$sample; then
42615 makefiles="samples/$sample/Makefile.in $makefiles"
42616 fi
42617 done
42618 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42619 fi
42620 else if test ${subdir} = "samples"; then
42621 makefiles="samples/Makefile.in samples/console/Makefile.in"
42622 elif test ${subdir} = "utils"; then
42623 makefiles=""
42624 for util in HelpGen tex2rtf ; do
42625 if test -d $srcdir/utils/$util ; then
42626 makefiles="utils/$util/Makefile.in \
42627 utils/$util/src/Makefile.in \
42628 $makefiles"
42629 fi
42630 done
42631 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42632 fi
42633 fi
42634
42635 for mkin in $makefiles ; do
42636 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42637 ac_config_files="$ac_config_files $mk"
42638
42639 done
42640 fi
42641 done
42642
42643
42644 cat >confcache <<\_ACEOF
42645 # This file is a shell script that caches the results of configure
42646 # tests run on this system so they can be shared between configure
42647 # scripts and configure runs, see configure's option --config-cache.
42648 # It is not useful on other systems. If it contains results you don't
42649 # want to keep, you may remove or edit it.
42650 #
42651 # config.status only pays attention to the cache file if you give it
42652 # the --recheck option to rerun configure.
42653 #
42654 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42656 # following values.
42657
42658 _ACEOF
42659
42660 # The following way of writing the cache mishandles newlines in values,
42661 # but we know of no workaround that is simple, portable, and efficient.
42662 # So, don't put newlines in cache variables' values.
42663 # Ultrix sh set writes to stderr and can't be redirected directly,
42664 # and sets the high bit in the cache file unless we assign to the vars.
42665 {
42666 (set) 2>&1 |
42667 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42668 *ac_space=\ *)
42669 # `set' does not quote correctly, so add quotes (double-quote
42670 # substitution turns \\\\ into \\, and sed turns \\ into \).
42671 sed -n \
42672 "s/'/'\\\\''/g;
42673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42674 ;;
42675 *)
42676 # `set' quotes correctly as required by POSIX, so do not add quotes.
42677 sed -n \
42678 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42679 ;;
42680 esac;
42681 } |
42682 sed '
42683 t clear
42684 : clear
42685 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42686 t end
42687 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42688 : end' >>confcache
42689 if diff $cache_file confcache >/dev/null 2>&1; then :; else
42690 if test -w $cache_file; then
42691 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42692 cat confcache >$cache_file
42693 else
42694 echo "not updating unwritable cache $cache_file"
42695 fi
42696 fi
42697 rm -f confcache
42698
42699 test "x$prefix" = xNONE && prefix=$ac_default_prefix
42700 # Let make expand exec_prefix.
42701 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42702
42703 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42704 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42705 # trailing colons and then remove the whole line if VPATH becomes empty
42706 # (actually we leave an empty line to preserve line numbers).
42707 if test "x$srcdir" = x.; then
42708 ac_vpsub='/^[ ]*VPATH[ ]*=/{
42709 s/:*\$(srcdir):*/:/;
42710 s/:*\${srcdir}:*/:/;
42711 s/:*@srcdir@:*/:/;
42712 s/^\([^=]*=[ ]*\):*/\1/;
42713 s/:*$//;
42714 s/^[^=]*=[ ]*$//;
42715 }'
42716 fi
42717
42718 DEFS=-DHAVE_CONFIG_H
42719
42720 ac_libobjs=
42721 ac_ltlibobjs=
42722 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42723 # 1. Remove the extension, and $U if already installed.
42724 ac_i=`echo "$ac_i" |
42725 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42726 # 2. Add them.
42727 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
42728 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
42729 done
42730 LIBOBJS=$ac_libobjs
42731
42732 LTLIBOBJS=$ac_ltlibobjs
42733
42734
42735
42736 : ${CONFIG_STATUS=./config.status}
42737 ac_clean_files_save=$ac_clean_files
42738 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
42739 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42740 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42741 cat >$CONFIG_STATUS <<_ACEOF
42742 #! $SHELL
42743 # Generated by $as_me.
42744 # Run this file to recreate the current configuration.
42745 # Compiler output produced by configure, useful for debugging
42746 # configure, is in config.log if it exists.
42747
42748 debug=false
42749 ac_cs_recheck=false
42750 ac_cs_silent=false
42751 SHELL=\${CONFIG_SHELL-$SHELL}
42752 _ACEOF
42753
42754 cat >>$CONFIG_STATUS <<\_ACEOF
42755 ## --------------------- ##
42756 ## M4sh Initialization. ##
42757 ## --------------------- ##
42758
42759 # Be Bourne compatible
42760 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42761 emulate sh
42762 NULLCMD=:
42763 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42764 # is contrary to our usage. Disable this feature.
42765 alias -g '${1+"$@"}'='"$@"'
42766 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42767 set -o posix
42768 fi
42769 DUALCASE=1; export DUALCASE # for MKS sh
42770
42771 # Support unset when possible.
42772 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42773 as_unset=unset
42774 else
42775 as_unset=false
42776 fi
42777
42778
42779 # Work around bugs in pre-3.0 UWIN ksh.
42780 $as_unset ENV MAIL MAILPATH
42781 PS1='$ '
42782 PS2='> '
42783 PS4='+ '
42784
42785 # NLS nuisances.
42786 for as_var in \
42787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42789 LC_TELEPHONE LC_TIME
42790 do
42791 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42792 eval $as_var=C; export $as_var
42793 else
42794 $as_unset $as_var
42795 fi
42796 done
42797
42798 # Required to use basename.
42799 if expr a : '\(a\)' >/dev/null 2>&1; then
42800 as_expr=expr
42801 else
42802 as_expr=false
42803 fi
42804
42805 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42806 as_basename=basename
42807 else
42808 as_basename=false
42809 fi
42810
42811
42812 # Name of the executable.
42813 as_me=`$as_basename "$0" ||
42814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42815 X"$0" : 'X\(//\)$' \| \
42816 X"$0" : 'X\(/\)$' \| \
42817 . : '\(.\)' 2>/dev/null ||
42818 echo X/"$0" |
42819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42820 /^X\/\(\/\/\)$/{ s//\1/; q; }
42821 /^X\/\(\/\).*/{ s//\1/; q; }
42822 s/.*/./; q'`
42823
42824
42825 # PATH needs CR, and LINENO needs CR and PATH.
42826 # Avoid depending upon Character Ranges.
42827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42830 as_cr_digits='0123456789'
42831 as_cr_alnum=$as_cr_Letters$as_cr_digits
42832
42833 # The user is always right.
42834 if test "${PATH_SEPARATOR+set}" != set; then
42835 echo "#! /bin/sh" >conf$$.sh
42836 echo "exit 0" >>conf$$.sh
42837 chmod +x conf$$.sh
42838 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42839 PATH_SEPARATOR=';'
42840 else
42841 PATH_SEPARATOR=:
42842 fi
42843 rm -f conf$$.sh
42844 fi
42845
42846
42847 as_lineno_1=$LINENO
42848 as_lineno_2=$LINENO
42849 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42850 test "x$as_lineno_1" != "x$as_lineno_2" &&
42851 test "x$as_lineno_3" = "x$as_lineno_2" || {
42852 # Find who we are. Look in the path if we contain no path at all
42853 # relative or not.
42854 case $0 in
42855 *[\\/]* ) as_myself=$0 ;;
42856 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42857 for as_dir in $PATH
42858 do
42859 IFS=$as_save_IFS
42860 test -z "$as_dir" && as_dir=.
42861 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42862 done
42863
42864 ;;
42865 esac
42866 # We did not find ourselves, most probably we were run as `sh COMMAND'
42867 # in which case we are not to be found in the path.
42868 if test "x$as_myself" = x; then
42869 as_myself=$0
42870 fi
42871 if test ! -f "$as_myself"; then
42872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42874 { (exit 1); exit 1; }; }
42875 fi
42876 case $CONFIG_SHELL in
42877 '')
42878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42879 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42880 do
42881 IFS=$as_save_IFS
42882 test -z "$as_dir" && as_dir=.
42883 for as_base in sh bash ksh sh5; do
42884 case $as_dir in
42885 /*)
42886 if ("$as_dir/$as_base" -c '
42887 as_lineno_1=$LINENO
42888 as_lineno_2=$LINENO
42889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42890 test "x$as_lineno_1" != "x$as_lineno_2" &&
42891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42892 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42893 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42894 CONFIG_SHELL=$as_dir/$as_base
42895 export CONFIG_SHELL
42896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42897 fi;;
42898 esac
42899 done
42900 done
42901 ;;
42902 esac
42903
42904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42905 # uniformly replaced by the line number. The first 'sed' inserts a
42906 # line-number line before each line; the second 'sed' does the real
42907 # work. The second script uses 'N' to pair each line-number line
42908 # with the numbered line, and appends trailing '-' during
42909 # substitution so that $LINENO is not a special case at line end.
42910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42912 sed '=' <$as_myself |
42913 sed '
42914 N
42915 s,$,-,
42916 : loop
42917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42918 t loop
42919 s,-$,,
42920 s,^['$as_cr_digits']*\n,,
42921 ' >$as_me.lineno &&
42922 chmod +x $as_me.lineno ||
42923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42925 { (exit 1); exit 1; }; }
42926
42927 # Don't try to exec as it changes $[0], causing all sort of problems
42928 # (the dirname of $[0] is not the place where we might find the
42929 # original and so on. Autoconf is especially sensible to this).
42930 . ./$as_me.lineno
42931 # Exit status is that of the last command.
42932 exit
42933 }
42934
42935
42936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42937 *c*,-n*) ECHO_N= ECHO_C='
42938 ' ECHO_T=' ' ;;
42939 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42940 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42941 esac
42942
42943 if expr a : '\(a\)' >/dev/null 2>&1; then
42944 as_expr=expr
42945 else
42946 as_expr=false
42947 fi
42948
42949 rm -f conf$$ conf$$.exe conf$$.file
42950 echo >conf$$.file
42951 if ln -s conf$$.file conf$$ 2>/dev/null; then
42952 # We could just check for DJGPP; but this test a) works b) is more generic
42953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42954 if test -f conf$$.exe; then
42955 # Don't use ln at all; we don't have any links
42956 as_ln_s='cp -p'
42957 else
42958 as_ln_s='ln -s'
42959 fi
42960 elif ln conf$$.file conf$$ 2>/dev/null; then
42961 as_ln_s=ln
42962 else
42963 as_ln_s='cp -p'
42964 fi
42965 rm -f conf$$ conf$$.exe conf$$.file
42966
42967 if mkdir -p . 2>/dev/null; then
42968 as_mkdir_p=:
42969 else
42970 test -d ./-p && rmdir ./-p
42971 as_mkdir_p=false
42972 fi
42973
42974 as_executable_p="test -f"
42975
42976 # Sed expression to map a string onto a valid CPP name.
42977 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42978
42979 # Sed expression to map a string onto a valid variable name.
42980 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42981
42982
42983 # IFS
42984 # We need space, tab and new line, in precisely that order.
42985 as_nl='
42986 '
42987 IFS=" $as_nl"
42988
42989 # CDPATH.
42990 $as_unset CDPATH
42991
42992 exec 6>&1
42993
42994 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42995 # report actual input values of CONFIG_FILES etc. instead of their
42996 # values after options handling. Logging --version etc. is OK.
42997 exec 5>>config.log
42998 {
42999 echo
43000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43001 ## Running $as_me. ##
43002 _ASBOX
43003 } >&5
43004 cat >&5 <<_CSEOF
43005
43006 This file was extended by wxWidgets $as_me 2.5.4, which was
43007 generated by GNU Autoconf 2.59. Invocation command line was
43008
43009 CONFIG_FILES = $CONFIG_FILES
43010 CONFIG_HEADERS = $CONFIG_HEADERS
43011 CONFIG_LINKS = $CONFIG_LINKS
43012 CONFIG_COMMANDS = $CONFIG_COMMANDS
43013 $ $0 $@
43014
43015 _CSEOF
43016 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43017 echo >&5
43018 _ACEOF
43019
43020 # Files that config.status was made for.
43021 if test -n "$ac_config_files"; then
43022 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43023 fi
43024
43025 if test -n "$ac_config_headers"; then
43026 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43027 fi
43028
43029 if test -n "$ac_config_links"; then
43030 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43031 fi
43032
43033 if test -n "$ac_config_commands"; then
43034 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43035 fi
43036
43037 cat >>$CONFIG_STATUS <<\_ACEOF
43038
43039 ac_cs_usage="\
43040 \`$as_me' instantiates files from templates according to the
43041 current configuration.
43042
43043 Usage: $0 [OPTIONS] [FILE]...
43044
43045 -h, --help print this help, then exit
43046 -V, --version print version number, then exit
43047 -q, --quiet do not print progress messages
43048 -d, --debug don't remove temporary files
43049 --recheck update $as_me by reconfiguring in the same conditions
43050 --file=FILE[:TEMPLATE]
43051 instantiate the configuration file FILE
43052 --header=FILE[:TEMPLATE]
43053 instantiate the configuration header FILE
43054
43055 Configuration files:
43056 $config_files
43057
43058 Configuration headers:
43059 $config_headers
43060
43061 Configuration commands:
43062 $config_commands
43063
43064 Report bugs to <bug-autoconf@gnu.org>."
43065 _ACEOF
43066
43067 cat >>$CONFIG_STATUS <<_ACEOF
43068 ac_cs_version="\\
43069 wxWidgets config.status 2.5.4
43070 configured by $0, generated by GNU Autoconf 2.59,
43071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43072
43073 Copyright (C) 2003 Free Software Foundation, Inc.
43074 This config.status script is free software; the Free Software Foundation
43075 gives unlimited permission to copy, distribute and modify it."
43076 srcdir=$srcdir
43077 INSTALL="$INSTALL"
43078 _ACEOF
43079
43080 cat >>$CONFIG_STATUS <<\_ACEOF
43081 # If no file are specified by the user, then we need to provide default
43082 # value. By we need to know if files were specified by the user.
43083 ac_need_defaults=:
43084 while test $# != 0
43085 do
43086 case $1 in
43087 --*=*)
43088 ac_option=`expr "x$1" : 'x\([^=]*\)='`
43089 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
43090 ac_shift=:
43091 ;;
43092 -*)
43093 ac_option=$1
43094 ac_optarg=$2
43095 ac_shift=shift
43096 ;;
43097 *) # This is not an option, so the user has probably given explicit
43098 # arguments.
43099 ac_option=$1
43100 ac_need_defaults=false;;
43101 esac
43102
43103 case $ac_option in
43104 # Handling of the options.
43105 _ACEOF
43106 cat >>$CONFIG_STATUS <<\_ACEOF
43107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43108 ac_cs_recheck=: ;;
43109 --version | --vers* | -V )
43110 echo "$ac_cs_version"; exit 0 ;;
43111 --he | --h)
43112 # Conflict between --help and --header
43113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43114 Try \`$0 --help' for more information." >&5
43115 echo "$as_me: error: ambiguous option: $1
43116 Try \`$0 --help' for more information." >&2;}
43117 { (exit 1); exit 1; }; };;
43118 --help | --hel | -h )
43119 echo "$ac_cs_usage"; exit 0 ;;
43120 --debug | --d* | -d )
43121 debug=: ;;
43122 --file | --fil | --fi | --f )
43123 $ac_shift
43124 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
43125 ac_need_defaults=false;;
43126 --header | --heade | --head | --hea )
43127 $ac_shift
43128 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
43129 ac_need_defaults=false;;
43130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
43132 ac_cs_silent=: ;;
43133
43134 # This is an error.
43135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
43136 Try \`$0 --help' for more information." >&5
43137 echo "$as_me: error: unrecognized option: $1
43138 Try \`$0 --help' for more information." >&2;}
43139 { (exit 1); exit 1; }; } ;;
43140
43141 *) ac_config_targets="$ac_config_targets $1" ;;
43142
43143 esac
43144 shift
43145 done
43146
43147 ac_configure_extra_args=
43148
43149 if $ac_cs_silent; then
43150 exec 6>/dev/null
43151 ac_configure_extra_args="$ac_configure_extra_args --silent"
43152 fi
43153
43154 _ACEOF
43155 cat >>$CONFIG_STATUS <<_ACEOF
43156 if \$ac_cs_recheck; then
43157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43159 fi
43160
43161 _ACEOF
43162
43163 cat >>$CONFIG_STATUS <<_ACEOF
43164 #
43165 # INIT-COMMANDS section.
43166 #
43167
43168 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43169 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43170 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43171 LN_S="${LN_S}"
43172
43173
43174 _ACEOF
43175
43176
43177
43178 cat >>$CONFIG_STATUS <<\_ACEOF
43179 for ac_config_target in $ac_config_targets
43180 do
43181 case "$ac_config_target" in
43182 # Handling of arguments.
43183 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
43184 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
43185 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
43186 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
43187 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
43188 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
43189 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
43190 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43191 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43192 { (exit 1); exit 1; }; };;
43193 esac
43194 done
43195
43196 # If the user did not use the arguments to specify the items to instantiate,
43197 # then the envvar interface is used. Set only those that are not.
43198 # We use the long form for the default assignment because of an extremely
43199 # bizarre bug on SunOS 4.1.3.
43200 if $ac_need_defaults; then
43201 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
43202 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
43203 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
43204 fi
43205
43206 # Have a temporary directory for convenience. Make it in the build tree
43207 # simply because there is no reason to put it here, and in addition,
43208 # creating and moving files from /tmp can sometimes cause problems.
43209 # Create a temporary directory, and hook for its removal unless debugging.
43210 $debug ||
43211 {
43212 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43213 trap '{ (exit 1); exit 1; }' 1 2 13 15
43214 }
43215
43216 # Create a (secure) tmp directory for tmp files.
43217
43218 {
43219 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43220 test -n "$tmp" && test -d "$tmp"
43221 } ||
43222 {
43223 tmp=./confstat$$-$RANDOM
43224 (umask 077 && mkdir $tmp)
43225 } ||
43226 {
43227 echo "$me: cannot create a temporary directory in ." >&2
43228 { (exit 1); exit 1; }
43229 }
43230
43231 _ACEOF
43232
43233 cat >>$CONFIG_STATUS <<_ACEOF
43234
43235 #
43236 # CONFIG_FILES section.
43237 #
43238
43239 # No need to generate the scripts if there are no CONFIG_FILES.
43240 # This happens for instance when ./config.status config.h
43241 if test -n "\$CONFIG_FILES"; then
43242 # Protect against being on the right side of a sed subst in config.status.
43243 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43244 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43245 s,@SHELL@,$SHELL,;t t
43246 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43247 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43248 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43249 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43250 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43251 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43252 s,@exec_prefix@,$exec_prefix,;t t
43253 s,@prefix@,$prefix,;t t
43254 s,@program_transform_name@,$program_transform_name,;t t
43255 s,@bindir@,$bindir,;t t
43256 s,@sbindir@,$sbindir,;t t
43257 s,@libexecdir@,$libexecdir,;t t
43258 s,@datadir@,$datadir,;t t
43259 s,@sysconfdir@,$sysconfdir,;t t
43260 s,@sharedstatedir@,$sharedstatedir,;t t
43261 s,@localstatedir@,$localstatedir,;t t
43262 s,@libdir@,$libdir,;t t
43263 s,@includedir@,$includedir,;t t
43264 s,@oldincludedir@,$oldincludedir,;t t
43265 s,@infodir@,$infodir,;t t
43266 s,@mandir@,$mandir,;t t
43267 s,@build_alias@,$build_alias,;t t
43268 s,@host_alias@,$host_alias,;t t
43269 s,@target_alias@,$target_alias,;t t
43270 s,@DEFS@,$DEFS,;t t
43271 s,@ECHO_C@,$ECHO_C,;t t
43272 s,@ECHO_N@,$ECHO_N,;t t
43273 s,@ECHO_T@,$ECHO_T,;t t
43274 s,@LIBS@,$LIBS,;t t
43275 s,@build@,$build,;t t
43276 s,@build_cpu@,$build_cpu,;t t
43277 s,@build_vendor@,$build_vendor,;t t
43278 s,@build_os@,$build_os,;t t
43279 s,@host@,$host,;t t
43280 s,@host_cpu@,$host_cpu,;t t
43281 s,@host_vendor@,$host_vendor,;t t
43282 s,@host_os@,$host_os,;t t
43283 s,@target@,$target,;t t
43284 s,@target_cpu@,$target_cpu,;t t
43285 s,@target_vendor@,$target_vendor,;t t
43286 s,@target_os@,$target_os,;t t
43287 s,@CC@,$CC,;t t
43288 s,@CFLAGS@,$CFLAGS,;t t
43289 s,@LDFLAGS@,$LDFLAGS,;t t
43290 s,@CPPFLAGS@,$CPPFLAGS,;t t
43291 s,@ac_ct_CC@,$ac_ct_CC,;t t
43292 s,@EXEEXT@,$EXEEXT,;t t
43293 s,@OBJEXT@,$OBJEXT,;t t
43294 s,@CPP@,$CPP,;t t
43295 s,@EGREP@,$EGREP,;t t
43296 s,@CXX@,$CXX,;t t
43297 s,@CXXFLAGS@,$CXXFLAGS,;t t
43298 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43299 s,@RANLIB@,$RANLIB,;t t
43300 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43301 s,@AR@,$AR,;t t
43302 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43303 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43304 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43305 s,@STRIP@,$STRIP,;t t
43306 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43307 s,@LN_S@,$LN_S,;t t
43308 s,@CXXCPP@,$CXXCPP,;t t
43309 s,@subdirs@,$subdirs,;t t
43310 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43311 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43312 s,@GTK_LIBS@,$GTK_LIBS,;t t
43313 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43314 s,@X_CFLAGS@,$X_CFLAGS,;t t
43315 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43316 s,@X_LIBS@,$X_LIBS,;t t
43317 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43318 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43319 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43320 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43321 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43322 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43323 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43324 s,@RESCOMP@,$RESCOMP,;t t
43325 s,@DEREZ@,$DEREZ,;t t
43326 s,@SETFILE@,$SETFILE,;t t
43327 s,@LIBICONV@,$LIBICONV,;t t
43328 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43329 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43330 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43331 s,@SDL_LIBS@,$SDL_LIBS,;t t
43332 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
43333 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
43334 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
43335 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
43336 s,@GST_INSPECT@,$GST_INSPECT,;t t
43337 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43338 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43339 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43340 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43341 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43342 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43343 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43344 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43345 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43346 s,@VENDOR@,$VENDOR,;t t
43347 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43348 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
43349 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
43350 s,@WXUNIV@,$WXUNIV,;t t
43351 s,@MONOLITHIC@,$MONOLITHIC,;t t
43352 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43353 s,@EXTRALIBS@,$EXTRALIBS,;t t
43354 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43355 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43356 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43357 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43358 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43359 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43360 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43361 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
43362 s,@UNICODE@,$UNICODE,;t t
43363 s,@BUILD@,$BUILD,;t t
43364 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43365 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43366 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43367 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43368 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43369 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43370 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43371 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43372 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43373 s,@SET_MAKE@,$SET_MAKE,;t t
43374 s,@MAKE_SET@,$MAKE_SET,;t t
43375 s,@ac_ct_AR@,$ac_ct_AR,;t t
43376 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43377 s,@NM@,$NM,;t t
43378 s,@ac_ct_NM@,$ac_ct_NM,;t t
43379 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43380 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43381 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43382 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43383 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43384 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43385 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
43386 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43387 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43388 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
43389 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43390 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43391 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43392 s,@LIBPREFIX@,$LIBPREFIX,;t t
43393 s,@LIBEXT@,$LIBEXT,;t t
43394 s,@DLLPREFIX@,$DLLPREFIX,;t t
43395 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43396 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43397 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43398 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43399 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43400 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43401 s,@PIC_FLAG@,$PIC_FLAG,;t t
43402 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43403 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43404 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43405 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43406 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43407 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43408 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43409 s,@GCC_PCH@,$GCC_PCH,;t t
43410 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43411 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43412 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43413 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43414 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43415 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43416 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43417 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43418 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43419 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43420 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43421 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43422 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43423 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43424 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43425 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43426 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43427 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43428 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
43429 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
43430 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43431 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
43432 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43433 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43434 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
43435 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
43436 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43437 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
43438 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43439 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43440 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43441 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43442 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43443 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43444 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43445 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43446 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
43447 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43448 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43449 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43450 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
43451 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
43452 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
43453 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
43454 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43455 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43456 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
43457 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43458 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43459 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43460 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43461 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43462 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43463 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43464 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43465 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43466 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
43467 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
43468 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
43469 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43470 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43471 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43472 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43473 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43474 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43475 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43476 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43477 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43478 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43479 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
43480 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43481 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
43482 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43483 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43484 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43485 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43486 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43487 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43488 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43489 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43490 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43491 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43492 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43493 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43494 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43495 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43496 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43497 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43498 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43499 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43500 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43501 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43502 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43503 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43504 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43505 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43506 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43507 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43508 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43509 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43510 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43511 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43512 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43513 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43514 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43515 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43516 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43517 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43518 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43519 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43520 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43521 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43522 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43523 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43524 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
43525 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43526 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43527 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43528 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43529 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43530 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43531 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43532 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43533 s,@SHARED@,$SHARED,;t t
43534 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43535 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43536 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43537 s,@USE_GUI@,$USE_GUI,;t t
43538 s,@AFMINSTALL@,$AFMINSTALL,;t t
43539 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43540 s,@TOOLKIT@,$TOOLKIT,;t t
43541 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43542 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43543 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43544 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43545 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43546 s,@cross_compiling@,$cross_compiling,;t t
43547 s,@WIDGET_SET@,$WIDGET_SET,;t t
43548 s,@WX_RELEASE@,$WX_RELEASE,;t t
43549 s,@WX_VERSION@,$WX_VERSION,;t t
43550 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43551 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43552 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43553 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43554 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43555 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43556 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43557 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43558 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43559 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43560 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43561 s,@EXE_LINKER@,$EXE_LINKER,;t t
43562 s,@GUIDIST@,$GUIDIST,;t t
43563 s,@DISTDIR@,$DISTDIR,;t t
43564 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43565 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43566 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43567 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43568 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43569 s,@RESFLAGS@,$RESFLAGS,;t t
43570 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43571 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43572 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43573 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43574 s,@MACRESCOMP@,$MACRESCOMP,;t t
43575 s,@MACSETFILE@,$MACSETFILE,;t t
43576 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43577 s,@GCC@,$GCC,;t t
43578 s,@DLLTOOL@,$DLLTOOL,;t t
43579 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43580 s,@LIBOBJS@,$LIBOBJS,;t t
43581 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43582 CEOF
43583
43584 _ACEOF
43585
43586 cat >>$CONFIG_STATUS <<\_ACEOF
43587 # Split the substitutions into bite-sized pieces for seds with
43588 # small command number limits, like on Digital OSF/1 and HP-UX.
43589 ac_max_sed_lines=48
43590 ac_sed_frag=1 # Number of current file.
43591 ac_beg=1 # First line for current file.
43592 ac_end=$ac_max_sed_lines # Line after last line for current file.
43593 ac_more_lines=:
43594 ac_sed_cmds=
43595 while $ac_more_lines; do
43596 if test $ac_beg -gt 1; then
43597 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43598 else
43599 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43600 fi
43601 if test ! -s $tmp/subs.frag; then
43602 ac_more_lines=false
43603 else
43604 # The purpose of the label and of the branching condition is to
43605 # speed up the sed processing (if there are no `@' at all, there
43606 # is no need to browse any of the substitutions).
43607 # These are the two extra sed commands mentioned above.
43608 (echo ':t
43609 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43610 if test -z "$ac_sed_cmds"; then
43611 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43612 else
43613 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43614 fi
43615 ac_sed_frag=`expr $ac_sed_frag + 1`
43616 ac_beg=$ac_end
43617 ac_end=`expr $ac_end + $ac_max_sed_lines`
43618 fi
43619 done
43620 if test -z "$ac_sed_cmds"; then
43621 ac_sed_cmds=cat
43622 fi
43623 fi # test -n "$CONFIG_FILES"
43624
43625 _ACEOF
43626 cat >>$CONFIG_STATUS <<\_ACEOF
43627 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43628 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43629 case $ac_file in
43630 - | *:- | *:-:* ) # input from stdin
43631 cat >$tmp/stdin
43632 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43633 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43634 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43635 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43636 * ) ac_file_in=$ac_file.in ;;
43637 esac
43638
43639 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43640 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43642 X"$ac_file" : 'X\(//\)[^/]' \| \
43643 X"$ac_file" : 'X\(//\)$' \| \
43644 X"$ac_file" : 'X\(/\)' \| \
43645 . : '\(.\)' 2>/dev/null ||
43646 echo X"$ac_file" |
43647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43649 /^X\(\/\/\)$/{ s//\1/; q; }
43650 /^X\(\/\).*/{ s//\1/; q; }
43651 s/.*/./; q'`
43652 { if $as_mkdir_p; then
43653 mkdir -p "$ac_dir"
43654 else
43655 as_dir="$ac_dir"
43656 as_dirs=
43657 while test ! -d "$as_dir"; do
43658 as_dirs="$as_dir $as_dirs"
43659 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43661 X"$as_dir" : 'X\(//\)[^/]' \| \
43662 X"$as_dir" : 'X\(//\)$' \| \
43663 X"$as_dir" : 'X\(/\)' \| \
43664 . : '\(.\)' 2>/dev/null ||
43665 echo X"$as_dir" |
43666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43668 /^X\(\/\/\)$/{ s//\1/; q; }
43669 /^X\(\/\).*/{ s//\1/; q; }
43670 s/.*/./; q'`
43671 done
43672 test ! -n "$as_dirs" || mkdir $as_dirs
43673 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43674 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43675 { (exit 1); exit 1; }; }; }
43676
43677 ac_builddir=.
43678
43679 if test "$ac_dir" != .; then
43680 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43681 # A "../" for each directory in $ac_dir_suffix.
43682 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43683 else
43684 ac_dir_suffix= ac_top_builddir=
43685 fi
43686
43687 case $srcdir in
43688 .) # No --srcdir option. We are building in place.
43689 ac_srcdir=.
43690 if test -z "$ac_top_builddir"; then
43691 ac_top_srcdir=.
43692 else
43693 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43694 fi ;;
43695 [\\/]* | ?:[\\/]* ) # Absolute path.
43696 ac_srcdir=$srcdir$ac_dir_suffix;
43697 ac_top_srcdir=$srcdir ;;
43698 *) # Relative path.
43699 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43700 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43701 esac
43702
43703 # Do not use `cd foo && pwd` to compute absolute paths, because
43704 # the directories may not exist.
43705 case `pwd` in
43706 .) ac_abs_builddir="$ac_dir";;
43707 *)
43708 case "$ac_dir" in
43709 .) ac_abs_builddir=`pwd`;;
43710 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43711 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43712 esac;;
43713 esac
43714 case $ac_abs_builddir in
43715 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43716 *)
43717 case ${ac_top_builddir}. in
43718 .) ac_abs_top_builddir=$ac_abs_builddir;;
43719 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43720 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43721 esac;;
43722 esac
43723 case $ac_abs_builddir in
43724 .) ac_abs_srcdir=$ac_srcdir;;
43725 *)
43726 case $ac_srcdir in
43727 .) ac_abs_srcdir=$ac_abs_builddir;;
43728 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43729 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43730 esac;;
43731 esac
43732 case $ac_abs_builddir in
43733 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43734 *)
43735 case $ac_top_srcdir in
43736 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43737 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43738 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43739 esac;;
43740 esac
43741
43742
43743 case $INSTALL in
43744 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43745 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43746 esac
43747
43748 if test x"$ac_file" != x-; then
43749 { echo "$as_me:$LINENO: creating $ac_file" >&5
43750 echo "$as_me: creating $ac_file" >&6;}
43751 rm -f "$ac_file"
43752 fi
43753 # Let's still pretend it is `configure' which instantiates (i.e., don't
43754 # use $as_me), people would be surprised to read:
43755 # /* config.h. Generated by config.status. */
43756 if test x"$ac_file" = x-; then
43757 configure_input=
43758 else
43759 configure_input="$ac_file. "
43760 fi
43761 configure_input=$configure_input"Generated from `echo $ac_file_in |
43762 sed 's,.*/,,'` by configure."
43763
43764 # First look for the input files in the build tree, otherwise in the
43765 # src tree.
43766 ac_file_inputs=`IFS=:
43767 for f in $ac_file_in; do
43768 case $f in
43769 -) echo $tmp/stdin ;;
43770 [\\/$]*)
43771 # Absolute (can't be DOS-style, as IFS=:)
43772 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43773 echo "$as_me: error: cannot find input file: $f" >&2;}
43774 { (exit 1); exit 1; }; }
43775 echo "$f";;
43776 *) # Relative
43777 if test -f "$f"; then
43778 # Build tree
43779 echo "$f"
43780 elif test -f "$srcdir/$f"; then
43781 # Source tree
43782 echo "$srcdir/$f"
43783 else
43784 # /dev/null tree
43785 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43786 echo "$as_me: error: cannot find input file: $f" >&2;}
43787 { (exit 1); exit 1; }; }
43788 fi;;
43789 esac
43790 done` || { (exit 1); exit 1; }
43791 _ACEOF
43792 cat >>$CONFIG_STATUS <<_ACEOF
43793 sed "$ac_vpsub
43794 $extrasub
43795 _ACEOF
43796 cat >>$CONFIG_STATUS <<\_ACEOF
43797 :t
43798 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43799 s,@configure_input@,$configure_input,;t t
43800 s,@srcdir@,$ac_srcdir,;t t
43801 s,@abs_srcdir@,$ac_abs_srcdir,;t t
43802 s,@top_srcdir@,$ac_top_srcdir,;t t
43803 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43804 s,@builddir@,$ac_builddir,;t t
43805 s,@abs_builddir@,$ac_abs_builddir,;t t
43806 s,@top_builddir@,$ac_top_builddir,;t t
43807 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43808 s,@INSTALL@,$ac_INSTALL,;t t
43809 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43810 rm -f $tmp/stdin
43811 if test x"$ac_file" != x-; then
43812 mv $tmp/out $ac_file
43813 else
43814 cat $tmp/out
43815 rm -f $tmp/out
43816 fi
43817
43818 # Run the commands associated with the file.
43819 case $ac_file in
43820 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43821 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43822 esac
43823 done
43824 _ACEOF
43825 cat >>$CONFIG_STATUS <<\_ACEOF
43826
43827 #
43828 # CONFIG_HEADER section.
43829 #
43830
43831 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43832 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43833 #
43834 # ac_d sets the value in "#define NAME VALUE" lines.
43835 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43836 ac_dB='[ ].*$,\1#\2'
43837 ac_dC=' '
43838 ac_dD=',;t'
43839 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43840 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43841 ac_uB='$,\1#\2define\3'
43842 ac_uC=' '
43843 ac_uD=',;t'
43844
43845 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43846 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43847 case $ac_file in
43848 - | *:- | *:-:* ) # input from stdin
43849 cat >$tmp/stdin
43850 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43851 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43852 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43853 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43854 * ) ac_file_in=$ac_file.in ;;
43855 esac
43856
43857 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43858 echo "$as_me: creating $ac_file" >&6;}
43859
43860 # First look for the input files in the build tree, otherwise in the
43861 # src tree.
43862 ac_file_inputs=`IFS=:
43863 for f in $ac_file_in; do
43864 case $f in
43865 -) echo $tmp/stdin ;;
43866 [\\/$]*)
43867 # Absolute (can't be DOS-style, as IFS=:)
43868 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43869 echo "$as_me: error: cannot find input file: $f" >&2;}
43870 { (exit 1); exit 1; }; }
43871 # Do quote $f, to prevent DOS paths from being IFS'd.
43872 echo "$f";;
43873 *) # Relative
43874 if test -f "$f"; then
43875 # Build tree
43876 echo "$f"
43877 elif test -f "$srcdir/$f"; then
43878 # Source tree
43879 echo "$srcdir/$f"
43880 else
43881 # /dev/null tree
43882 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43883 echo "$as_me: error: cannot find input file: $f" >&2;}
43884 { (exit 1); exit 1; }; }
43885 fi;;
43886 esac
43887 done` || { (exit 1); exit 1; }
43888 # Remove the trailing spaces.
43889 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43890
43891 _ACEOF
43892
43893 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43894 # `conftest.undefs', that substitutes the proper values into
43895 # config.h.in to produce config.h. The first handles `#define'
43896 # templates, and the second `#undef' templates.
43897 # And first: Protect against being on the right side of a sed subst in
43898 # config.status. Protect against being in an unquoted here document
43899 # in config.status.
43900 rm -f conftest.defines conftest.undefs
43901 # Using a here document instead of a string reduces the quoting nightmare.
43902 # Putting comments in sed scripts is not portable.
43903 #
43904 # `end' is used to avoid that the second main sed command (meant for
43905 # 0-ary CPP macros) applies to n-ary macro definitions.
43906 # See the Autoconf documentation for `clear'.
43907 cat >confdef2sed.sed <<\_ACEOF
43908 s/[\\&,]/\\&/g
43909 s,[\\$`],\\&,g
43910 t clear
43911 : clear
43912 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43913 t end
43914 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43915 : end
43916 _ACEOF
43917 # If some macros were called several times there might be several times
43918 # the same #defines, which is useless. Nevertheless, we may not want to
43919 # sort them, since we want the *last* AC-DEFINE to be honored.
43920 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43921 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43922 rm -f confdef2sed.sed
43923
43924 # This sed command replaces #undef with comments. This is necessary, for
43925 # example, in the case of _POSIX_SOURCE, which is predefined and required
43926 # on some systems where configure will not decide to define it.
43927 cat >>conftest.undefs <<\_ACEOF
43928 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43929 _ACEOF
43930
43931 # Break up conftest.defines because some shells have a limit on the size
43932 # of here documents, and old seds have small limits too (100 cmds).
43933 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43934 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43935 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43936 echo ' :' >>$CONFIG_STATUS
43937 rm -f conftest.tail
43938 while grep . conftest.defines >/dev/null
43939 do
43940 # Write a limited-size here document to $tmp/defines.sed.
43941 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43942 # Speed up: don't consider the non `#define' lines.
43943 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43944 # Work around the forget-to-reset-the-flag bug.
43945 echo 't clr' >>$CONFIG_STATUS
43946 echo ': clr' >>$CONFIG_STATUS
43947 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43948 echo 'CEOF
43949 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43950 rm -f $tmp/in
43951 mv $tmp/out $tmp/in
43952 ' >>$CONFIG_STATUS
43953 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43954 rm -f conftest.defines
43955 mv conftest.tail conftest.defines
43956 done
43957 rm -f conftest.defines
43958 echo ' fi # grep' >>$CONFIG_STATUS
43959 echo >>$CONFIG_STATUS
43960
43961 # Break up conftest.undefs because some shells have a limit on the size
43962 # of here documents, and old seds have small limits too (100 cmds).
43963 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43964 rm -f conftest.tail
43965 while grep . conftest.undefs >/dev/null
43966 do
43967 # Write a limited-size here document to $tmp/undefs.sed.
43968 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43969 # Speed up: don't consider the non `#undef'
43970 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43971 # Work around the forget-to-reset-the-flag bug.
43972 echo 't clr' >>$CONFIG_STATUS
43973 echo ': clr' >>$CONFIG_STATUS
43974 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43975 echo 'CEOF
43976 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43977 rm -f $tmp/in
43978 mv $tmp/out $tmp/in
43979 ' >>$CONFIG_STATUS
43980 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43981 rm -f conftest.undefs
43982 mv conftest.tail conftest.undefs
43983 done
43984 rm -f conftest.undefs
43985
43986 cat >>$CONFIG_STATUS <<\_ACEOF
43987 # Let's still pretend it is `configure' which instantiates (i.e., don't
43988 # use $as_me), people would be surprised to read:
43989 # /* config.h. Generated by config.status. */
43990 if test x"$ac_file" = x-; then
43991 echo "/* Generated by configure. */" >$tmp/config.h
43992 else
43993 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43994 fi
43995 cat $tmp/in >>$tmp/config.h
43996 rm -f $tmp/in
43997 if test x"$ac_file" != x-; then
43998 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43999 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44000 echo "$as_me: $ac_file is unchanged" >&6;}
44001 else
44002 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44003 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44004 X"$ac_file" : 'X\(//\)[^/]' \| \
44005 X"$ac_file" : 'X\(//\)$' \| \
44006 X"$ac_file" : 'X\(/\)' \| \
44007 . : '\(.\)' 2>/dev/null ||
44008 echo X"$ac_file" |
44009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44011 /^X\(\/\/\)$/{ s//\1/; q; }
44012 /^X\(\/\).*/{ s//\1/; q; }
44013 s/.*/./; q'`
44014 { if $as_mkdir_p; then
44015 mkdir -p "$ac_dir"
44016 else
44017 as_dir="$ac_dir"
44018 as_dirs=
44019 while test ! -d "$as_dir"; do
44020 as_dirs="$as_dir $as_dirs"
44021 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44022 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44023 X"$as_dir" : 'X\(//\)[^/]' \| \
44024 X"$as_dir" : 'X\(//\)$' \| \
44025 X"$as_dir" : 'X\(/\)' \| \
44026 . : '\(.\)' 2>/dev/null ||
44027 echo X"$as_dir" |
44028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44029 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44030 /^X\(\/\/\)$/{ s//\1/; q; }
44031 /^X\(\/\).*/{ s//\1/; q; }
44032 s/.*/./; q'`
44033 done
44034 test ! -n "$as_dirs" || mkdir $as_dirs
44035 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44036 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44037 { (exit 1); exit 1; }; }; }
44038
44039 rm -f $ac_file
44040 mv $tmp/config.h $ac_file
44041 fi
44042 else
44043 cat $tmp/config.h
44044 rm -f $tmp/config.h
44045 fi
44046 done
44047 _ACEOF
44048 cat >>$CONFIG_STATUS <<\_ACEOF
44049
44050 #
44051 # CONFIG_COMMANDS section.
44052 #
44053 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44054 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44055 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44056 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44057 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44058 X"$ac_dest" : 'X\(//\)[^/]' \| \
44059 X"$ac_dest" : 'X\(//\)$' \| \
44060 X"$ac_dest" : 'X\(/\)' \| \
44061 . : '\(.\)' 2>/dev/null ||
44062 echo X"$ac_dest" |
44063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44064 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44065 /^X\(\/\/\)$/{ s//\1/; q; }
44066 /^X\(\/\).*/{ s//\1/; q; }
44067 s/.*/./; q'`
44068 { if $as_mkdir_p; then
44069 mkdir -p "$ac_dir"
44070 else
44071 as_dir="$ac_dir"
44072 as_dirs=
44073 while test ! -d "$as_dir"; do
44074 as_dirs="$as_dir $as_dirs"
44075 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44076 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44077 X"$as_dir" : 'X\(//\)[^/]' \| \
44078 X"$as_dir" : 'X\(//\)$' \| \
44079 X"$as_dir" : 'X\(/\)' \| \
44080 . : '\(.\)' 2>/dev/null ||
44081 echo X"$as_dir" |
44082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44084 /^X\(\/\/\)$/{ s//\1/; q; }
44085 /^X\(\/\).*/{ s//\1/; q; }
44086 s/.*/./; q'`
44087 done
44088 test ! -n "$as_dirs" || mkdir $as_dirs
44089 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44090 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44091 { (exit 1); exit 1; }; }; }
44092
44093 ac_builddir=.
44094
44095 if test "$ac_dir" != .; then
44096 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44097 # A "../" for each directory in $ac_dir_suffix.
44098 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44099 else
44100 ac_dir_suffix= ac_top_builddir=
44101 fi
44102
44103 case $srcdir in
44104 .) # No --srcdir option. We are building in place.
44105 ac_srcdir=.
44106 if test -z "$ac_top_builddir"; then
44107 ac_top_srcdir=.
44108 else
44109 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44110 fi ;;
44111 [\\/]* | ?:[\\/]* ) # Absolute path.
44112 ac_srcdir=$srcdir$ac_dir_suffix;
44113 ac_top_srcdir=$srcdir ;;
44114 *) # Relative path.
44115 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44116 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44117 esac
44118
44119 # Do not use `cd foo && pwd` to compute absolute paths, because
44120 # the directories may not exist.
44121 case `pwd` in
44122 .) ac_abs_builddir="$ac_dir";;
44123 *)
44124 case "$ac_dir" in
44125 .) ac_abs_builddir=`pwd`;;
44126 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44127 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44128 esac;;
44129 esac
44130 case $ac_abs_builddir in
44131 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44132 *)
44133 case ${ac_top_builddir}. in
44134 .) ac_abs_top_builddir=$ac_abs_builddir;;
44135 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44136 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44137 esac;;
44138 esac
44139 case $ac_abs_builddir in
44140 .) ac_abs_srcdir=$ac_srcdir;;
44141 *)
44142 case $ac_srcdir in
44143 .) ac_abs_srcdir=$ac_abs_builddir;;
44144 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44145 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44146 esac;;
44147 esac
44148 case $ac_abs_builddir in
44149 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44150 *)
44151 case $ac_top_srcdir in
44152 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44153 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44154 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44155 esac;;
44156 esac
44157
44158
44159 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
44160 echo "$as_me: executing $ac_dest commands" >&6;}
44161 case $ac_dest in
44162 wx-config ) rm -f wx-config
44163 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
44164 ;;
44165 esac
44166 done
44167 _ACEOF
44168
44169 cat >>$CONFIG_STATUS <<\_ACEOF
44170
44171 { (exit 0); exit 0; }
44172 _ACEOF
44173 chmod +x $CONFIG_STATUS
44174 ac_clean_files=$ac_clean_files_save
44175
44176
44177 # configure is writing to config.log, and then calls config.status.
44178 # config.status does its own redirection, appending to config.log.
44179 # Unfortunately, on DOS this fails, as config.log is still kept open
44180 # by configure, so config.status won't be able to write to it; its
44181 # output is simply discarded. So we exec the FD to /dev/null,
44182 # effectively closing config.log, so it can be properly (re)opened and
44183 # appended to by config.status. When coming back to configure, we
44184 # need to make the FD available again.
44185 if test "$no_create" != yes; then
44186 ac_cs_success=:
44187 ac_config_status_args=
44188 test "$silent" = yes &&
44189 ac_config_status_args="$ac_config_status_args --quiet"
44190 exec 5>/dev/null
44191 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
44192 exec 5>>config.log
44193 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44194 # would make configure fail if this is the last instruction.
44195 $ac_cs_success || { (exit 1); exit 1; }
44196 fi
44197
44198 #
44199 # CONFIG_SUBDIRS section.
44200 #
44201 if test "$no_recursion" != yes; then
44202
44203 # Remove --cache-file and --srcdir arguments so they do not pile up.
44204 ac_sub_configure_args=
44205 ac_prev=
44206 for ac_arg in $ac_configure_args; do
44207 if test -n "$ac_prev"; then
44208 ac_prev=
44209 continue
44210 fi
44211 case $ac_arg in
44212 -cache-file | --cache-file | --cache-fil | --cache-fi \
44213 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
44214 ac_prev=cache_file ;;
44215 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
44216 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
44217 | --c=*)
44218 ;;
44219 --config-cache | -C)
44220 ;;
44221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
44222 ac_prev=srcdir ;;
44223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
44224 ;;
44225 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
44226 ac_prev=prefix ;;
44227 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
44228 ;;
44229 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
44230 esac
44231 done
44232
44233 # Always prepend --prefix to ensure using the same prefix
44234 # in subdir configurations.
44235 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
44236
44237 ac_popdir=`pwd`
44238 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
44239
44240 # Do not complain, so a configure script can configure whichever
44241 # parts of a large source tree are present.
44242 test -d $srcdir/$ac_dir || continue
44243
44244 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44245 echo "$as_me: configuring in $ac_dir" >&6;}
44246 { if $as_mkdir_p; then
44247 mkdir -p "$ac_dir"
44248 else
44249 as_dir="$ac_dir"
44250 as_dirs=
44251 while test ! -d "$as_dir"; do
44252 as_dirs="$as_dir $as_dirs"
44253 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44255 X"$as_dir" : 'X\(//\)[^/]' \| \
44256 X"$as_dir" : 'X\(//\)$' \| \
44257 X"$as_dir" : 'X\(/\)' \| \
44258 . : '\(.\)' 2>/dev/null ||
44259 echo X"$as_dir" |
44260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44262 /^X\(\/\/\)$/{ s//\1/; q; }
44263 /^X\(\/\).*/{ s//\1/; q; }
44264 s/.*/./; q'`
44265 done
44266 test ! -n "$as_dirs" || mkdir $as_dirs
44267 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44268 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44269 { (exit 1); exit 1; }; }; }
44270
44271 ac_builddir=.
44272
44273 if test "$ac_dir" != .; then
44274 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44275 # A "../" for each directory in $ac_dir_suffix.
44276 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44277 else
44278 ac_dir_suffix= ac_top_builddir=
44279 fi
44280
44281 case $srcdir in
44282 .) # No --srcdir option. We are building in place.
44283 ac_srcdir=.
44284 if test -z "$ac_top_builddir"; then
44285 ac_top_srcdir=.
44286 else
44287 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44288 fi ;;
44289 [\\/]* | ?:[\\/]* ) # Absolute path.
44290 ac_srcdir=$srcdir$ac_dir_suffix;
44291 ac_top_srcdir=$srcdir ;;
44292 *) # Relative path.
44293 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44294 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44295 esac
44296
44297 # Do not use `cd foo && pwd` to compute absolute paths, because
44298 # the directories may not exist.
44299 case `pwd` in
44300 .) ac_abs_builddir="$ac_dir";;
44301 *)
44302 case "$ac_dir" in
44303 .) ac_abs_builddir=`pwd`;;
44304 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44305 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44306 esac;;
44307 esac
44308 case $ac_abs_builddir in
44309 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44310 *)
44311 case ${ac_top_builddir}. in
44312 .) ac_abs_top_builddir=$ac_abs_builddir;;
44313 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44314 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44315 esac;;
44316 esac
44317 case $ac_abs_builddir in
44318 .) ac_abs_srcdir=$ac_srcdir;;
44319 *)
44320 case $ac_srcdir in
44321 .) ac_abs_srcdir=$ac_abs_builddir;;
44322 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44323 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44324 esac;;
44325 esac
44326 case $ac_abs_builddir in
44327 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44328 *)
44329 case $ac_top_srcdir in
44330 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44331 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44332 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44333 esac;;
44334 esac
44335
44336
44337 cd $ac_dir
44338
44339 # Check for guested configure; otherwise get Cygnus style configure.
44340 if test -f $ac_srcdir/configure.gnu; then
44341 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
44342 elif test -f $ac_srcdir/configure; then
44343 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
44344 elif test -f $ac_srcdir/configure.in; then
44345 ac_sub_configure=$ac_configure
44346 else
44347 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44348 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44349 ac_sub_configure=
44350 fi
44351
44352 # The recursion is here.
44353 if test -n "$ac_sub_configure"; then
44354 # Make the cache file name correct relative to the subdirectory.
44355 case $cache_file in
44356 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
44357 *) # Relative path.
44358 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
44359 esac
44360
44361 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44362 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44363 # The eval makes quoting arguments work.
44364 eval $ac_sub_configure $ac_sub_configure_args \
44365 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44366 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44367 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44368 { (exit 1); exit 1; }; }
44369 fi
44370
44371 cd $ac_popdir
44372 done
44373 fi
44374
44375
44376 echo
44377 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44378 echo ""
44379 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
44380 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44381
44382 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44383 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44384 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44385
44386 echo " What level of wxWidgets compatibility should be enabled?"
44387 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44388 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44389
44390 echo " Which libraries should wxWidgets use?"
44391 echo " jpeg ${wxUSE_LIBJPEG-none}"
44392 echo " png ${wxUSE_LIBPNG-none}"
44393 echo " regex ${wxUSE_REGEX}"
44394 echo " tiff ${wxUSE_LIBTIFF-none}"
44395 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44396 echo " xpm ${wxUSE_LIBXPM-none}"
44397 fi
44398 echo " zlib ${wxUSE_ZLIB}"
44399 echo " odbc ${wxUSE_ODBC}"
44400 echo " expat ${wxUSE_EXPAT}"
44401 echo " libmspack ${wxUSE_LIBMSPACK}"
44402 echo " sdl ${wxUSE_LIBSDL}"
44403 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
44404
44405 echo ""
44406