]> git.saurik.com Git - wxWidgets.git/blob - configure
Applied [ 1213375 ] MSW wxMediaCtrl minor debugging and cleanup
[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.6.1.
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.6.1'
274 PACKAGE_STRING='wxWidgets 2.6.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_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_USE_XRC_1 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_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS 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.6.1 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.6.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Windows only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images (GIF file format)
1038 --enable-pcx use pcx images (PCX file format)
1039 --enable-iff use iff images (IFF file format)
1040 --enable-pnm use pnm images (PNM file format)
1041 --enable-xpm use xpm images (XPM file format)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets (win32 DLL only)
1044 --enable-vendor=VENDOR vendor name (win32 DLL only)
1045 --disable-largefile omit support for large files
1046 --disable-gtktest do not try to compile and run a test GTK+ program
1047 --disable-gtktest Do not try to compile and run a test GTK program
1048 --disable-sdltest Do not try to compile and run a test SDL program
1049 --enable-omf use OMF object format (OS/2)
1050 --disable-precomp-headers
1051 don't use precompiled headers even if compiler can
1052
1053 Optional Packages:
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1065 --with-x11 use X11
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1088
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1096 CPP C preprocessor
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1100
1101 Use these variables to override the choices made by `configure' or to help
1102 it to find libraries and programs with nonstandard names/locations.
1103
1104 Report bugs to <wx-dev@lists.wxwidgets.org>.
1105 _ACEOF
1106 fi
1107
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1110 ac_popdir=`pwd`
1111 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1112 test -d $ac_dir || continue
1113 ac_builddir=.
1114
1115 if test "$ac_dir" != .; then
1116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 else
1120 ac_dir_suffix= ac_top_builddir=
1121 fi
1122
1123 case $srcdir in
1124 .) # No --srcdir option. We are building in place.
1125 ac_srcdir=.
1126 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir=.
1128 else
1129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1130 fi ;;
1131 [\\/]* | ?:[\\/]* ) # Absolute path.
1132 ac_srcdir=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir=$srcdir ;;
1134 *) # Relative path.
1135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1137 esac
1138
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1141 case `pwd` in
1142 .) ac_abs_builddir="$ac_dir";;
1143 *)
1144 case "$ac_dir" in
1145 .) ac_abs_builddir=`pwd`;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1147 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *)
1153 case ${ac_top_builddir}. in
1154 .) ac_abs_top_builddir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_srcdir=$ac_srcdir;;
1161 *)
1162 case $ac_srcdir in
1163 .) ac_abs_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1165 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1166 esac;;
1167 esac
1168 case $ac_abs_builddir in
1169 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *)
1171 case $ac_top_srcdir in
1172 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1173 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1175 esac;;
1176 esac
1177
1178 cd $ac_dir
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu; then
1181 echo
1182 $SHELL $ac_srcdir/configure.gnu --help=recursive
1183 elif test -f $ac_srcdir/configure; then
1184 echo
1185 $SHELL $ac_srcdir/configure --help=recursive
1186 elif test -f $ac_srcdir/configure.ac ||
1187 test -f $ac_srcdir/configure.in; then
1188 echo
1189 $ac_configure --help
1190 else
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1192 fi
1193 cd "$ac_popdir"
1194 done
1195 fi
1196
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1199 cat <<\_ACEOF
1200 wxWidgets configure 2.6.1
1201 generated by GNU Autoconf 2.59
1202
1203 Copyright (C) 2003 Free Software Foundation, Inc.
1204 This configure script is free software; the Free Software Foundation
1205 gives unlimited permission to copy, distribute and modify it.
1206 _ACEOF
1207 exit 0
1208 fi
1209 exec 5>config.log
1210 cat >&5 <<_ACEOF
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1213
1214 It was created by wxWidgets $as_me 2.6.1, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1216
1217 $ $0 $@
1218
1219 _ACEOF
1220 {
1221 cat <<_ASUNAME
1222 ## --------- ##
1223 ## Platform. ##
1224 ## --------- ##
1225
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1242
1243 _ASUNAME
1244
1245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1246 for as_dir in $PATH
1247 do
1248 IFS=$as_save_IFS
1249 test -z "$as_dir" && as_dir=.
1250 echo "PATH: $as_dir"
1251 done
1252
1253 } >&5
1254
1255 cat >&5 <<_ACEOF
1256
1257
1258 ## ----------- ##
1259 ## Core tests. ##
1260 ## ----------- ##
1261
1262 _ACEOF
1263
1264
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_configure_args=
1271 ac_configure_args0=
1272 ac_configure_args1=
1273 ac_sep=
1274 ac_must_keep_next=false
1275 for ac_pass in 1 2
1276 do
1277 for ac_arg
1278 do
1279 case $ac_arg in
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1283 continue ;;
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 esac
1287 case $ac_pass in
1288 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1289 2)
1290 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true; then
1292 ac_must_keep_next=false # Got value, back to normal.
1293 else
1294 case $ac_arg in
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 esac
1302 ;;
1303 -* ) ac_must_keep_next=true ;;
1304 esac
1305 fi
1306 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1308 ac_sep=" "
1309 ;;
1310 esac
1311 done
1312 done
1313 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1314 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1315
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1323 {
1324 echo
1325
1326 cat <<\_ASBOX
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1330 _ASBOX
1331 echo
1332 # The following way of writing the cache mishandles newlines in values,
1333 {
1334 (set) 2>&1 |
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 *ac_space=\ *)
1337 sed -n \
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1340 ;;
1341 *)
1342 sed -n \
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ;;
1345 esac;
1346 }
1347 echo
1348
1349 cat <<\_ASBOX
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1353 _ASBOX
1354 echo
1355 for ac_var in $ac_subst_vars
1356 do
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1361
1362 if test -n "$ac_subst_files"; then
1363 cat <<\_ASBOX
1364 ## ------------- ##
1365 ## Output files. ##
1366 ## ------------- ##
1367 _ASBOX
1368 echo
1369 for ac_var in $ac_subst_files
1370 do
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1373 done | sort
1374 echo
1375 fi
1376
1377 if test -s confdefs.h; then
1378 cat <<\_ASBOX
1379 ## ----------- ##
1380 ## confdefs.h. ##
1381 ## ----------- ##
1382 _ASBOX
1383 echo
1384 sed "/^$/d" confdefs.h | sort
1385 echo
1386 fi
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1390 } >&5
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 exit $exit_status
1394 ' 0
1395 for ac_signal in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1397 done
1398 ac_signal=0
1399
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 echo >confdefs.h
1404
1405 # Predefined preprocessor variables.
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1424 _ACEOF
1425
1426
1427 cat >>confdefs.h <<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1429 _ACEOF
1430
1431
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE; then
1436 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1437 else
1438 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 fi
1440 fi
1441 for ac_site_file in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1446 . "$ac_site_file"
1447 fi
1448 done
1449
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1456 case $cache_file in
1457 [\\/]* | ?:[\\/]* ) . $cache_file;;
1458 *) . ./$cache_file;;
1459 esac
1460 fi
1461 else
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1464 >$cache_file
1465 fi
1466
1467 # Check that the precious variables saved in the cache have kept the same
1468 # value.
1469 ac_cache_corrupted=false
1470 for ac_var in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1473 eval ac_new_set=\$ac_env_${ac_var}_set
1474 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1477 set,)
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1481 ,set)
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted=: ;;
1485 ,);;
1486 *)
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted=:
1495 fi;;
1496 esac
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1499 case $ac_new_val in
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1503 esac
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507 esac
1508 fi
1509 done
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1516 fi
1517
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553 ac_aux_dir=
1554 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1555 if 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/install.sh; then
1560 ac_aux_dir=$ac_dir
1561 ac_install_sh="$ac_aux_dir/install.sh -c"
1562 break
1563 elif test -f $ac_dir/shtool; then
1564 ac_aux_dir=$ac_dir
1565 ac_install_sh="$ac_aux_dir/shtool install -c"
1566 break
1567 fi
1568 done
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1573 fi
1574 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1577
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4 >/dev/null 2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 else
1589 ac_cv_build_alias=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1600
1601 fi
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1604 build=$ac_cv_build
1605 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608
1609
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 else
1615 ac_cv_host_alias=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias=$ac_cv_build_alias
1618 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1622
1623 fi
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1626 host=$ac_cv_host
1627 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630
1631
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 else
1637 ac_cv_target_alias=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias=$ac_cv_host_alias
1640 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1644
1645 fi
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target=$ac_cv_target
1649 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652
1653
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1658 NONENONEs,x,x, &&
1659 program_prefix=${target_alias}-
1660
1661
1662
1663 wx_major_version_number=2
1664 wx_minor_version_number=6
1665 wx_release_number=1
1666 wx_subrelease_number=1
1667
1668 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1669 WX_VERSION=$WX_RELEASE.$wx_release_number
1670 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1671
1672 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1673
1674 WX_CURRENT=0
1675 WX_REVISION=1
1676 WX_AGE=0
1677
1678
1679
1680 USE_UNIX=1
1681 USE_OS2=0
1682 USE_WIN32=0
1683 USE_DOS=0
1684 USE_BEOS=0
1685 USE_MAC=0
1686
1687 USE_AIX=
1688 USE_BSD= USE_DARWIN= USE_FREEBSD=
1689 USE_GNU= USE_HPUX=
1690 USE_LINUX=
1691 USE_NETBSD=
1692 USE_OPENBSD=
1693 USE_OSF= USE_SGI=
1694 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1695 USE_ULTRIX=
1696 USE_UNIXWARE=
1697
1698 USE_ALPHA=
1699
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701
1702 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703
1704 DEFAULT_wxUSE_COCOA=0
1705 DEFAULT_wxUSE_GTK=0
1706 DEFAULT_wxUSE_MAC=0
1707 DEFAULT_wxUSE_MGL=0
1708 DEFAULT_wxUSE_MICROWIN=0
1709 DEFAULT_wxUSE_MOTIF=0
1710 DEFAULT_wxUSE_MSW=0
1711 DEFAULT_wxUSE_PM=0
1712 DEFAULT_wxUSE_X11=0
1713
1714 DEFAULT_DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_DEFAULT_wxUSE_GTK=0
1716 DEFAULT_DEFAULT_wxUSE_MAC=0
1717 DEFAULT_DEFAULT_wxUSE_MGL=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_DEFAULT_wxUSE_MSW=0
1721 DEFAULT_DEFAULT_wxUSE_PM=0
1722 DEFAULT_DEFAULT_wxUSE_X11=0
1723
1724 PROGRAM_EXT=
1725 SO_SUFFIX=so
1726 SAMPLES_RPATH_FLAG=
1727 SAMPLES_RPATH_POSTLINK=
1728
1729 DEFAULT_STD_FLAG=yes
1730
1731 case "${host}" in
1732 *-hp-hpux* )
1733 USE_HPUX=1
1734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 SO_SUFFIX=sl
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __HPUX__ 1
1739 _ACEOF
1740
1741 ;;
1742 *-*-linux* )
1743 USE_LINUX=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __LINUX__ 1
1746 _ACEOF
1747
1748 TMP=`uname -m`
1749 if test "x$TMP" = "xalpha"; then
1750 USE_ALPHA=1
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __ALPHA__ 1
1753 _ACEOF
1754
1755 fi
1756 DEFAULT_DEFAULT_wxUSE_GTK=1
1757 ;;
1758 *-*-gnu* | *-*-k*bsd*-gnu )
1759 USE_GNU=1
1760 TMP=`uname -m`
1761 if test "x$TMP" = "xalpha"; then
1762 USE_ALPHA=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __ALPHA__ 1
1765 _ACEOF
1766
1767 fi
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-irix5* | *-*-irix6* )
1771 USE_SGI=1
1772 USE_SVR4=1
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SGI__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SVR4__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 ;;
1783 *-*-solaris2* )
1784 USE_SUN=1
1785 USE_SOLARIS=1
1786 USE_SVR4=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SUN__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SOLARIS__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SVR4__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1801 ;;
1802 *-*-sunos4* )
1803 USE_SUN=1
1804 USE_SUNOS=1
1805 USE_BSD=1
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUN__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __SUNOS__ 1
1812 _ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __BSD__ 1
1816 _ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 ;;
1820 *-*-freebsd*)
1821 USE_BSD=1
1822 USE_FREEBSD=1
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __FREEBSD__ 1
1825 _ACEOF
1826
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __BSD__ 1
1829 _ACEOF
1830
1831 DEFAULT_DEFAULT_wxUSE_GTK=1
1832 ;;
1833 *-*-openbsd*)
1834 USE_BSD=1
1835 USE_OPENBSD=1
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __OPENBSD__ 1
1838 _ACEOF
1839
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __BSD__ 1
1842 _ACEOF
1843
1844 DEFAULT_DEFAULT_wxUSE_GTK=1
1845 ;;
1846 *-*-netbsd*)
1847 USE_BSD=1
1848 USE_NETBSD=1
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __NETBSD__ 1
1851 _ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __BSD__ 1
1855 _ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_GTK=1
1858 ;;
1859 *-*-osf* )
1860 USE_ALPHA=1
1861 USE_OSF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __ALPHA__ 1
1864 _ACEOF
1865
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __OSF__ 1
1868 _ACEOF
1869
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1872 ;;
1873 *-*-dgux5* )
1874 USE_ALPHA=1
1875 USE_SVR4=1
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __ALPHA__ 1
1878 _ACEOF
1879
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __SVR4__ 1
1882 _ACEOF
1883
1884 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1885 ;;
1886 *-*-sysv5* )
1887 USE_SYSV=1
1888 USE_SVR4=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SYSV__ 1
1891 _ACEOF
1892
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SVR4__ 1
1895 _ACEOF
1896
1897 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 ;;
1899 *-*-aix* )
1900 USE_AIX=1
1901 USE_SYSV=1
1902 USE_SVR4=1
1903 SO_SUFFIX=a
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __AIX__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SYSV__ 1
1910 _ACEOF
1911
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SVR4__ 1
1914 _ACEOF
1915
1916 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1917 ;;
1918
1919 *-*-*UnixWare*)
1920 USE_SYSV=1
1921 USE_SVR4=1
1922 USE_UNIXWARE=1
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __UNIXWARE__ 1
1925 _ACEOF
1926
1927 ;;
1928
1929 *-*-cygwin* | *-*-mingw32* )
1930 SO_SUFFIX=dll
1931 PROGRAM_EXT=".exe"
1932 RESCOMP=windres
1933 DEFAULT_DEFAULT_wxUSE_MSW=1
1934 DEFAULT_STD_FLAG=no
1935 ;;
1936
1937 *-pc-msdosdjgpp )
1938 USE_UNIX=0
1939 USE_DOS=1
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __DOS__ 1
1942 _ACEOF
1943
1944 PROGRAM_EXT=".exe"
1945 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 ;;
1947
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __EMX__ 1
1951 _ACEOF
1952
1953 USE_OS2=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __OS2__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_PM=1
1960 CXX=gcc
1961 LDFLAGS="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions=".exe"
1963 export ac_executable_extensions
1964 ac_save_IFS="$IFS"
1965 IFS='\\'
1966 ac_TEMP_PATH=
1967 for ac_dir in $PATH; do
1968 IFS=$ac_save_IFS
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH="$ac_dir"
1971 else
1972 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 fi
1974 done
1975 export PATH="$ac_TEMP_PATH"
1976 unset ac_TEMP_PATH
1977 DEFAULT_STD_FLAG=no
1978 ;;
1979
1980 powerpc-*-darwin* )
1981 USE_BSD=1
1982 USE_DARWIN=1
1983 SO_SUFFIX=dylib
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __DARWIN__ 1
1990 _ACEOF
1991
1992 cat >>confdefs.h <<\_ACEOF
1993 #define TARGET_CARBON 1
1994 _ACEOF
1995
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 DEFAULT_STD_FLAG=no
1998 ;;
1999 powerpc-apple-macos* )
2000 USE_UNIX=0
2001 ac_cv_c_bigendian=yes
2002 SO_SUFFIX=shlib
2003 DEFAULT_DEFAULT_wxUSE_MAC=1
2004 DEFAULT_STD_FLAG=no
2005 ;;
2006
2007 *-*-beos* )
2008 USE_BEOS=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __BEOS__ 1
2011 _ACEOF
2012
2013 ;;
2014
2015 *)
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2019 esac
2020
2021
2022
2023
2024 wx_arg_cache_file="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2029
2030
2031 DEBUG_CONFIGURE=0
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL=no
2034 DEFAULT_wxUSE_STL=no
2035
2036 DEFAULT_wxUSE_NANOX=no
2037
2038 DEFAULT_wxUSE_THREADS=yes
2039
2040 DEFAULT_wxUSE_SHARED=yes
2041 DEFAULT_wxUSE_OPTIMISE=no
2042 DEFAULT_wxUSE_PROFILE=no
2043 DEFAULT_wxUSE_NO_DEPS=no
2044 DEFAULT_wxUSE_NO_RTTI=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2046 DEFAULT_wxUSE_RPATH=yes
2047 DEFAULT_wxUSE_PERMISSIVE=no
2048 DEFAULT_wxUSE_DEBUG_FLAG=yes
2049 DEFAULT_wxUSE_DEBUG_INFO=yes
2050 DEFAULT_wxUSE_DEBUG_GDB=yes
2051 DEFAULT_wxUSE_MEM_TRACING=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2053 DEFAULT_wxUSE_DMALLOC=no
2054 DEFAULT_wxUSE_APPLE_IEEE=no
2055
2056 DEFAULT_wxUSE_EXCEPTIONS=no
2057 DEFAULT_wxUSE_LOG=yes
2058 DEFAULT_wxUSE_LOGWINDOW=no
2059 DEFAULT_wxUSE_LOGGUI=no
2060 DEFAULT_wxUSE_LOGDIALOG=no
2061
2062 DEFAULT_wxUSE_GUI=yes
2063 DEFAULT_wxUSE_CONTROLS=no
2064
2065 DEFAULT_wxUSE_REGEX=no
2066 DEFAULT_wxUSE_XML=no
2067 DEFAULT_wxUSE_EXPAT=no
2068 DEFAULT_wxUSE_ZLIB=no
2069 DEFAULT_wxUSE_LIBPNG=no
2070 DEFAULT_wxUSE_LIBJPEG=no
2071 DEFAULT_wxUSE_LIBTIFF=no
2072 DEFAULT_wxUSE_LIBXPM=no
2073 DEFAULT_wxUSE_LIBMSPACK=no
2074 DEFAULT_wxUSE_LIBSDL=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2076 DEFAULT_wxUSE_ODBC=no
2077 DEFAULT_wxUSE_OPENGL=no
2078
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2080 DEFAULT_wxUSE_STACKWALKER=no
2081 DEFAULT_wxUSE_DEBUGREPORT=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2083 DEFAULT_wxUSE_STD_IOSTREAM=no
2084 DEFAULT_wxUSE_STD_STRING=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER=no
2086 DEFAULT_wxUSE_DATETIME=no
2087 DEFAULT_wxUSE_TIMER=no
2088 DEFAULT_wxUSE_STOPWATCH=no
2089 DEFAULT_wxUSE_FILE=no
2090 DEFAULT_wxUSE_FFILE=no
2091 DEFAULT_wxUSE_STDPATHS=no
2092 DEFAULT_wxUSE_TEXTBUFFER=no
2093 DEFAULT_wxUSE_TEXTFILE=no
2094 DEFAULT_wxUSE_SOUND=no
2095 DEFAULT_wxUSE_MEDIACTRL=no
2096 DEFAULT_wxUSE_INTL=no
2097 DEFAULT_wxUSE_CONFIG=no
2098 DEFAULT_wxUSE_FONTMAP=no
2099 DEFAULT_wxUSE_STREAMS=no
2100 DEFAULT_wxUSE_SOCKETS=no
2101 DEFAULT_wxUSE_OLE=no
2102 DEFAULT_wxUSE_DATAOBJ=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER=no
2104 DEFAULT_wxUSE_JOYSTICK=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2107 DEFAULT_wxUSE_LONGLONG=no
2108 DEFAULT_wxUSE_GEOMETRY=no
2109
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2112 DEFAULT_wxUSE_POSTSCRIPT=no
2113
2114 DEFAULT_wxUSE_CLIPBOARD=no
2115 DEFAULT_wxUSE_TOOLTIPS=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP=no
2117 DEFAULT_wxUSE_DRAGIMAGE=no
2118 DEFAULT_wxUSE_SPLINES=no
2119 DEFAULT_wxUSE_MOUSEWHEEL=no
2120
2121 DEFAULT_wxUSE_MDI=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2125
2126 DEFAULT_wxUSE_RESOURCES=no
2127 DEFAULT_wxUSE_CONSTRAINTS=no
2128 DEFAULT_wxUSE_IPC=no
2129 DEFAULT_wxUSE_HELP=no
2130 DEFAULT_wxUSE_MS_HTML_HELP=no
2131 DEFAULT_wxUSE_WXHTML_HELP=no
2132 DEFAULT_wxUSE_TREELAYOUT=no
2133 DEFAULT_wxUSE_METAFILE=no
2134 DEFAULT_wxUSE_MIMETYPE=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2136 DEFAULT_wxUSE_PROTOCOL=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE=no
2140 DEFAULT_wxUSE_URL=no
2141
2142 DEFAULT_wxUSE_COMMONDLGS=no
2143 DEFAULT_wxUSE_CHOICEDLG=no
2144 DEFAULT_wxUSE_COLOURDLG=no
2145 DEFAULT_wxUSE_DIRDLG=no
2146 DEFAULT_wxUSE_FILEDLG=no
2147 DEFAULT_wxUSE_FINDREPLDLG=no
2148 DEFAULT_wxUSE_FONTDLG=no
2149 DEFAULT_wxUSE_MSGDLG=no
2150 DEFAULT_wxUSE_NUMBERDLG=no
2151 DEFAULT_wxUSE_TEXTDLG=no
2152 DEFAULT_wxUSE_SPLASH=no
2153 DEFAULT_wxUSE_STARTUP_TIPS=no
2154 DEFAULT_wxUSE_PROGRESSDLG=no
2155 DEFAULT_wxUSE_WIZARDDLG=no
2156
2157 DEFAULT_wxUSE_MENUS=no
2158 DEFAULT_wxUSE_MINIFRAME=no
2159 DEFAULT_wxUSE_HTML=no
2160 DEFAULT_wxUSE_XRC=no
2161 DEFAULT_wxUSE_WEBKIT=no
2162 DEFAULT_wxUSE_FILESYSTEM=no
2163 DEFAULT_wxUSE_FS_INET=no
2164 DEFAULT_wxUSE_FS_ZIP=no
2165 DEFAULT_wxUSE_BUSYINFO=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2167 DEFAULT_wxUSE_ZIPSTREAM=no
2168 DEFAULT_wxUSE_VALIDATORS=no
2169
2170 DEFAULT_wxUSE_ACCEL=no
2171 DEFAULT_wxUSE_BUTTON=no
2172 DEFAULT_wxUSE_BMPBUTTON=no
2173 DEFAULT_wxUSE_CALCTRL=no
2174 DEFAULT_wxUSE_CARET=no
2175 DEFAULT_wxUSE_CHECKBOX=no
2176 DEFAULT_wxUSE_CHECKLST=no
2177 DEFAULT_wxUSE_CHOICE=no
2178 DEFAULT_wxUSE_CHOICEBOOK=no
2179 DEFAULT_wxUSE_COMBOBOX=no
2180 DEFAULT_wxUSE_DATEPICKCTRL=no
2181 DEFAULT_wxUSE_DISPLAY=no
2182 DEFAULT_wxUSE_GAUGE=no
2183 DEFAULT_wxUSE_GRID=no
2184 DEFAULT_wxUSE_IMAGLIST=no
2185 DEFAULT_wxUSE_LISTBOOK=no
2186 DEFAULT_wxUSE_LISTBOX=no
2187 DEFAULT_wxUSE_LISTCTRL=no
2188 DEFAULT_wxUSE_NOTEBOOK=no
2189 DEFAULT_wxUSE_RADIOBOX=no
2190 DEFAULT_wxUSE_RADIOBTN=no
2191 DEFAULT_wxUSE_SASH=no
2192 DEFAULT_wxUSE_SCROLLBAR=no
2193 DEFAULT_wxUSE_SLIDER=no
2194 DEFAULT_wxUSE_SPINBTN=no
2195 DEFAULT_wxUSE_SPINCTRL=no
2196 DEFAULT_wxUSE_SPLITTER=no
2197 DEFAULT_wxUSE_STATBMP=no
2198 DEFAULT_wxUSE_STATBOX=no
2199 DEFAULT_wxUSE_STATLINE=no
2200 DEFAULT_wxUSE_STATTEXT=no
2201 DEFAULT_wxUSE_STATUSBAR=yes
2202 DEFAULT_wxUSE_TABDIALOG=no
2203 DEFAULT_wxUSE_TEXTCTRL=no
2204 DEFAULT_wxUSE_TOGGLEBTN=no
2205 DEFAULT_wxUSE_TOOLBAR=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2208 DEFAULT_wxUSE_TREECTRL=no
2209 DEFAULT_wxUSE_POPUPWIN=no
2210 DEFAULT_wxUSE_TIPWINDOW=no
2211
2212 DEFAULT_wxUSE_UNICODE=no
2213 DEFAULT_wxUSE_UNICODE_MSLU=no
2214 DEFAULT_wxUSE_WCSRTOMBS=no
2215
2216 DEFAULT_wxUSE_PALETTE=no
2217 DEFAULT_wxUSE_IMAGE=no
2218 DEFAULT_wxUSE_GIF=no
2219 DEFAULT_wxUSE_PCX=no
2220 DEFAULT_wxUSE_PNM=no
2221 DEFAULT_wxUSE_IFF=no
2222 DEFAULT_wxUSE_XPM=no
2223 DEFAULT_wxUSE_ICO_CUR=no
2224 DEFAULT_wxUSE_ACCESSIBILITY=no
2225
2226 DEFAULT_wxUSE_MONOLITHIC=no
2227 DEFAULT_wxUSE_PLUGINS=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2229 else
2230 DEFAULT_wxUSE_UNIVERSAL=no
2231 DEFAULT_wxUSE_STL=no
2232
2233 DEFAULT_wxUSE_NANOX=no
2234
2235 DEFAULT_wxUSE_THREADS=yes
2236
2237 DEFAULT_wxUSE_SHARED=yes
2238 DEFAULT_wxUSE_OPTIMISE=yes
2239 DEFAULT_wxUSE_PROFILE=no
2240 DEFAULT_wxUSE_NO_DEPS=no
2241 DEFAULT_wxUSE_NO_RTTI=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2243 DEFAULT_wxUSE_RPATH=yes
2244 DEFAULT_wxUSE_PERMISSIVE=no
2245 DEFAULT_wxUSE_DEBUG_FLAG=no
2246 DEFAULT_wxUSE_DEBUG_INFO=no
2247 DEFAULT_wxUSE_DEBUG_GDB=no
2248 DEFAULT_wxUSE_MEM_TRACING=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2250 DEFAULT_wxUSE_DMALLOC=no
2251 DEFAULT_wxUSE_APPLE_IEEE=yes
2252
2253 DEFAULT_wxUSE_EXCEPTIONS=yes
2254 DEFAULT_wxUSE_LOG=yes
2255 DEFAULT_wxUSE_LOGWINDOW=yes
2256 DEFAULT_wxUSE_LOGGUI=yes
2257 DEFAULT_wxUSE_LOGDIALOG=yes
2258
2259 DEFAULT_wxUSE_GUI=yes
2260
2261 DEFAULT_wxUSE_REGEX=yes
2262 DEFAULT_wxUSE_XML=yes
2263 DEFAULT_wxUSE_EXPAT=yes
2264 DEFAULT_wxUSE_ZLIB=yes
2265 DEFAULT_wxUSE_LIBPNG=yes
2266 DEFAULT_wxUSE_LIBJPEG=yes
2267 DEFAULT_wxUSE_LIBTIFF=yes
2268 DEFAULT_wxUSE_LIBXPM=yes
2269 DEFAULT_wxUSE_LIBMSPACK=yes
2270 DEFAULT_wxUSE_LIBSDL=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2272 DEFAULT_wxUSE_ODBC=no
2273 DEFAULT_wxUSE_OPENGL=no
2274
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2276 DEFAULT_wxUSE_STACKWALKER=yes
2277 DEFAULT_wxUSE_DEBUGREPORT=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2282 DEFAULT_wxUSE_DATETIME=yes
2283 DEFAULT_wxUSE_TIMER=yes
2284 DEFAULT_wxUSE_STOPWATCH=yes
2285 DEFAULT_wxUSE_FILE=yes
2286 DEFAULT_wxUSE_FFILE=yes
2287 DEFAULT_wxUSE_STDPATHS=yes
2288 DEFAULT_wxUSE_TEXTBUFFER=yes
2289 DEFAULT_wxUSE_TEXTFILE=yes
2290 DEFAULT_wxUSE_SOUND=yes
2291 DEFAULT_wxUSE_MEDIACTRL=no
2292 DEFAULT_wxUSE_INTL=yes
2293 DEFAULT_wxUSE_CONFIG=yes
2294 DEFAULT_wxUSE_FONTMAP=yes
2295 DEFAULT_wxUSE_STREAMS=yes
2296 DEFAULT_wxUSE_SOCKETS=yes
2297 DEFAULT_wxUSE_OLE=yes
2298 DEFAULT_wxUSE_DATAOBJ=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2300 DEFAULT_wxUSE_JOYSTICK=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2303 DEFAULT_wxUSE_LONGLONG=yes
2304 DEFAULT_wxUSE_GEOMETRY=yes
2305
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2308 DEFAULT_wxUSE_POSTSCRIPT=yes
2309
2310 DEFAULT_wxUSE_CLIPBOARD=yes
2311 DEFAULT_wxUSE_TOOLTIPS=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2313 DEFAULT_wxUSE_DRAGIMAGE=yes
2314 DEFAULT_wxUSE_SPLINES=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL=yes
2316
2317 DEFAULT_wxUSE_MDI=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2321
2322 DEFAULT_wxUSE_RESOURCES=no
2323 DEFAULT_wxUSE_CONSTRAINTS=yes
2324 DEFAULT_wxUSE_IPC=yes
2325 DEFAULT_wxUSE_HELP=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP=yes
2327 DEFAULT_wxUSE_WXHTML_HELP=yes
2328 DEFAULT_wxUSE_TREELAYOUT=yes
2329 DEFAULT_wxUSE_METAFILE=yes
2330 DEFAULT_wxUSE_MIMETYPE=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2332 DEFAULT_wxUSE_PROTOCOL=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2336 DEFAULT_wxUSE_URL=yes
2337
2338 DEFAULT_wxUSE_COMMONDLGS=yes
2339 DEFAULT_wxUSE_CHOICEDLG=yes
2340 DEFAULT_wxUSE_COLOURDLG=yes
2341 DEFAULT_wxUSE_DIRDLG=yes
2342 DEFAULT_wxUSE_FILEDLG=yes
2343 DEFAULT_wxUSE_FINDREPLDLG=yes
2344 DEFAULT_wxUSE_FONTDLG=yes
2345 DEFAULT_wxUSE_MSGDLG=yes
2346 DEFAULT_wxUSE_NUMBERDLG=yes
2347 DEFAULT_wxUSE_TEXTDLG=yes
2348 DEFAULT_wxUSE_SPLASH=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS=yes
2350 DEFAULT_wxUSE_PROGRESSDLG=yes
2351 DEFAULT_wxUSE_WIZARDDLG=yes
2352
2353 DEFAULT_wxUSE_MENUS=yes
2354 DEFAULT_wxUSE_MINIFRAME=yes
2355 DEFAULT_wxUSE_HTML=yes
2356 DEFAULT_wxUSE_XRC=yes
2357 DEFAULT_wxUSE_WEBKIT=yes
2358 DEFAULT_wxUSE_FILESYSTEM=yes
2359 DEFAULT_wxUSE_FS_INET=yes
2360 DEFAULT_wxUSE_FS_ZIP=yes
2361 DEFAULT_wxUSE_BUSYINFO=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2363 DEFAULT_wxUSE_ZIPSTREAM=yes
2364 DEFAULT_wxUSE_VALIDATORS=yes
2365
2366 DEFAULT_wxUSE_ACCEL=yes
2367 DEFAULT_wxUSE_BUTTON=yes
2368 DEFAULT_wxUSE_BMPBUTTON=yes
2369 DEFAULT_wxUSE_CALCTRL=yes
2370 DEFAULT_wxUSE_CARET=yes
2371 DEFAULT_wxUSE_CHECKBOX=yes
2372 DEFAULT_wxUSE_CHECKLST=yes
2373 DEFAULT_wxUSE_CHOICE=yes
2374 DEFAULT_wxUSE_CHOICEBOOK=yes
2375 DEFAULT_wxUSE_COMBOBOX=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL=yes
2377 DEFAULT_wxUSE_DISPLAY=yes
2378 DEFAULT_wxUSE_GAUGE=yes
2379 DEFAULT_wxUSE_GRID=yes
2380 DEFAULT_wxUSE_IMAGLIST=yes
2381 DEFAULT_wxUSE_LISTBOOK=yes
2382 DEFAULT_wxUSE_LISTBOX=yes
2383 DEFAULT_wxUSE_LISTCTRL=yes
2384 DEFAULT_wxUSE_NOTEBOOK=yes
2385 DEFAULT_wxUSE_RADIOBOX=yes
2386 DEFAULT_wxUSE_RADIOBTN=yes
2387 DEFAULT_wxUSE_SASH=yes
2388 DEFAULT_wxUSE_SCROLLBAR=yes
2389 DEFAULT_wxUSE_SLIDER=yes
2390 DEFAULT_wxUSE_SPINBTN=yes
2391 DEFAULT_wxUSE_SPINCTRL=yes
2392 DEFAULT_wxUSE_SPLITTER=yes
2393 DEFAULT_wxUSE_STATBMP=yes
2394 DEFAULT_wxUSE_STATBOX=yes
2395 DEFAULT_wxUSE_STATLINE=yes
2396 DEFAULT_wxUSE_STATTEXT=yes
2397 DEFAULT_wxUSE_STATUSBAR=yes
2398 DEFAULT_wxUSE_TABDIALOG=no
2399 DEFAULT_wxUSE_TEXTCTRL=yes
2400 DEFAULT_wxUSE_TOGGLEBTN=yes
2401 DEFAULT_wxUSE_TOOLBAR=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2404 DEFAULT_wxUSE_TREECTRL=yes
2405 DEFAULT_wxUSE_POPUPWIN=yes
2406 DEFAULT_wxUSE_TIPWINDOW=yes
2407
2408 DEFAULT_wxUSE_UNICODE=no
2409 DEFAULT_wxUSE_UNICODE_MSLU=yes
2410 DEFAULT_wxUSE_WCSRTOMBS=no
2411
2412 DEFAULT_wxUSE_PALETTE=yes
2413 DEFAULT_wxUSE_IMAGE=yes
2414 DEFAULT_wxUSE_GIF=yes
2415 DEFAULT_wxUSE_PCX=yes
2416 DEFAULT_wxUSE_IFF=no
2417 DEFAULT_wxUSE_PNM=yes
2418 DEFAULT_wxUSE_XPM=yes
2419 DEFAULT_wxUSE_ICO_CUR=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY=no
2421
2422 DEFAULT_wxUSE_MONOLITHIC=no
2423 DEFAULT_wxUSE_PLUGINS=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2425
2426 DEFAULT_wxUSE_GTK2=yes
2427 fi
2428
2429
2430
2431
2432 for toolkit in `echo $ALL_TOOLKITS`; do
2433 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2438
2439 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2442 fi
2443 fi
2444 done
2445
2446
2447
2448 enablestring=
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2451 no_cache=0
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval="$enable_gui"
2455
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui='wxUSE_GUI=yes'
2458 else
2459 ac_cv_use_gui='wxUSE_GUI=no'
2460 fi
2461
2462 else
2463
2464 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x ; then
2466 eval "DEFAULT_$LINE"
2467 else
2468 no_cache=1
2469 fi
2470
2471 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472
2473 fi;
2474
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 fi
2479
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2483 else
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2486 fi
2487
2488
2489 enablestring=
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2492 no_cache=0
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval="$enable_monolithic"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2499 else
2500 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2501 fi
2502
2503 else
2504
2505 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513
2514 fi;
2515
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2524 else
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2527 fi
2528
2529
2530 enablestring=
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2533 no_cache=0
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval="$enable_plugins"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2540 else
2541 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2542 fi
2543
2544 else
2545
2546 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554
2555 fi;
2556
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 fi
2561
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2565 else
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2568 fi
2569
2570
2571 if test "$wxUSE_GUI" = "yes"; then
2572
2573
2574 enablestring=
2575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2576 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2577 no_cache=0
2578 # Check whether --enable-universal or --disable-universal was given.
2579 if test "${enable_universal+set}" = set; then
2580 enableval="$enable_universal"
2581
2582 if test "$enableval" = yes; then
2583 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2584 else
2585 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2586 fi
2587
2588 else
2589
2590 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x ; then
2592 eval "DEFAULT_$LINE"
2593 else
2594 no_cache=1
2595 fi
2596
2597 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598
2599 fi;
2600
2601 eval "$ac_cv_use_universal"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2604 fi
2605
2606 if test "$wxUSE_UNIVERSAL" = yes; then
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2609 else
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2612 fi
2613
2614
2615 # Check whether --with-gtk or --without-gtk was given.
2616 if test "${with_gtk+set}" = set; then
2617 withval="$with_gtk"
2618 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2619 fi;
2620
2621 # Check whether --with-motif or --without-motif was given.
2622 if test "${with_motif+set}" = set; then
2623 withval="$with_motif"
2624 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2625 fi;
2626
2627 # Check whether --with-mac or --without-mac was given.
2628 if test "${with_mac+set}" = set; then
2629 withval="$with_mac"
2630 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2631 fi;
2632
2633 # Check whether --with-cocoa or --without-cocoa was given.
2634 if test "${with_cocoa+set}" = set; then
2635 withval="$with_cocoa"
2636 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2637 fi;
2638
2639 # Check whether --with-wine or --without-wine was given.
2640 if test "${with_wine+set}" = set; then
2641 withval="$with_wine"
2642 wxUSE_WINE="$withval" CACHE_WINE=1
2643 fi;
2644
2645 # Check whether --with-msw or --without-msw was given.
2646 if test "${with_msw+set}" = set; then
2647 withval="$with_msw"
2648 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2649 fi;
2650
2651 # Check whether --with-pm or --without-pm was given.
2652 if test "${with_pm+set}" = set; then
2653 withval="$with_pm"
2654 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2655 fi;
2656
2657 # Check whether --with-mgl or --without-mgl was given.
2658 if test "${with_mgl+set}" = set; then
2659 withval="$with_mgl"
2660 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2661 fi;
2662
2663 # Check whether --with-microwin or --without-microwin was given.
2664 if test "${with_microwin+set}" = set; then
2665 withval="$with_microwin"
2666 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2667 fi;
2668
2669 # Check whether --with-x11 or --without-x11 was given.
2670 if test "${with_x11+set}" = set; then
2671 withval="$with_x11"
2672 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2673 fi;
2674
2675 enablestring=
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2678 no_cache=0
2679 # Check whether --enable-nanox or --disable-nanox was given.
2680 if test "${enable_nanox+set}" = set; then
2681 enableval="$enable_nanox"
2682
2683 if test "$enableval" = yes; then
2684 ac_cv_use_nanox='wxUSE_NANOX=yes'
2685 else
2686 ac_cv_use_nanox='wxUSE_NANOX=no'
2687 fi
2688
2689 else
2690
2691 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x ; then
2693 eval "DEFAULT_$LINE"
2694 else
2695 no_cache=1
2696 fi
2697
2698 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699
2700 fi;
2701
2702 eval "$ac_cv_use_nanox"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2705 fi
2706
2707 if test "$wxUSE_NANOX" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2710 else
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2713 fi
2714
2715
2716 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2717 if test "${enable_gtk2+set}" = set; then
2718 enableval="$enable_gtk2"
2719 wxUSE_GTK2="$enableval"
2720 fi;
2721
2722 enablestring=
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2725 no_cache=0
2726 # Check whether --enable-gpe or --disable-gpe was given.
2727 if test "${enable_gpe+set}" = set; then
2728 enableval="$enable_gpe"
2729
2730 if test "$enableval" = yes; then
2731 ac_cv_use_gpe='wxUSE_GPE=yes'
2732 else
2733 ac_cv_use_gpe='wxUSE_GPE=no'
2734 fi
2735
2736 else
2737
2738 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x ; then
2740 eval "DEFAULT_$LINE"
2741 else
2742 no_cache=1
2743 fi
2744
2745 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746
2747 fi;
2748
2749 eval "$ac_cv_use_gpe"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2752 fi
2753
2754 if test "$wxUSE_GPE" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2757 else
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2760 fi
2761
2762
2763
2764 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2765 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2766 no_cache=0
2767
2768 # Check whether --with-libpng or --without-libpng was given.
2769 if test "${with_libpng+set}" = set; then
2770 withval="$with_libpng"
2771
2772 if test "$withval" = yes; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2774 elif test "$withval" = no; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2776 elif test "$withval" = sys; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2778 elif test "$withval" = builtin; then
2779 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2780 else
2781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2782 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2783 { (exit 1); exit 1; }; }
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796
2797 fi;
2798
2799 eval "$ac_cv_use_libpng"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxUSE_LIBPNG" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 elif test "$wxUSE_LIBPNG" = no; then
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 elif test "$wxUSE_LIBPNG" = sys; then
2811 echo "$as_me:$LINENO: result: system version" >&5
2812 echo "${ECHO_T}system version" >&6
2813 elif test "$wxUSE_LIBPNG" = builtin; then
2814 echo "$as_me:$LINENO: result: builtin version" >&5
2815 echo "${ECHO_T}builtin version" >&6
2816 else
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2820 fi
2821
2822
2823 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2824 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2825 no_cache=0
2826
2827 # Check whether --with-libjpeg or --without-libjpeg was given.
2828 if test "${with_libjpeg+set}" = set; then
2829 withval="$with_libjpeg"
2830
2831 if test "$withval" = yes; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2833 elif test "$withval" = no; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2835 elif test "$withval" = sys; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2837 elif test "$withval" = builtin; then
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2839 else
2840 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2841 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2842 { (exit 1); exit 1; }; }
2843 fi
2844
2845 else
2846
2847 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x ; then
2849 eval "DEFAULT_$LINE"
2850 else
2851 no_cache=1
2852 fi
2853
2854 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855
2856 fi;
2857
2858 eval "$ac_cv_use_libjpeg"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2861 fi
2862
2863 if test "$wxUSE_LIBJPEG" = yes; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2866 elif test "$wxUSE_LIBJPEG" = no; then
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2869 elif test "$wxUSE_LIBJPEG" = sys; then
2870 echo "$as_me:$LINENO: result: system version" >&5
2871 echo "${ECHO_T}system version" >&6
2872 elif test "$wxUSE_LIBJPEG" = builtin; then
2873 echo "$as_me:$LINENO: result: builtin version" >&5
2874 echo "${ECHO_T}builtin version" >&6
2875 else
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2879 fi
2880
2881
2882 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2883 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2884 no_cache=0
2885
2886 # Check whether --with-libtiff or --without-libtiff was given.
2887 if test "${with_libtiff+set}" = set; then
2888 withval="$with_libtiff"
2889
2890 if test "$withval" = yes; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2892 elif test "$withval" = no; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2894 elif test "$withval" = sys; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2896 elif test "$withval" = builtin; then
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2898 else
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2902 fi
2903
2904 else
2905
2906 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x ; then
2908 eval "DEFAULT_$LINE"
2909 else
2910 no_cache=1
2911 fi
2912
2913 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914
2915 fi;
2916
2917 eval "$ac_cv_use_libtiff"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2920 fi
2921
2922 if test "$wxUSE_LIBTIFF" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 elif test "$wxUSE_LIBTIFF" = no; then
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 elif test "$wxUSE_LIBTIFF" = sys; then
2929 echo "$as_me:$LINENO: result: system version" >&5
2930 echo "${ECHO_T}system version" >&6
2931 elif test "$wxUSE_LIBTIFF" = builtin; then
2932 echo "$as_me:$LINENO: result: builtin version" >&5
2933 echo "${ECHO_T}builtin version" >&6
2934 else
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2938 fi
2939
2940
2941 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2942 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2943 no_cache=0
2944
2945 # Check whether --with-libxpm or --without-libxpm was given.
2946 if test "${with_libxpm+set}" = set; then
2947 withval="$with_libxpm"
2948
2949 if test "$withval" = yes; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2951 elif test "$withval" = no; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2953 elif test "$withval" = sys; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2955 elif test "$withval" = builtin; then
2956 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2957 else
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2961 fi
2962
2963 else
2964
2965 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2966 if test "x$LINE" != x ; then
2967 eval "DEFAULT_$LINE"
2968 else
2969 no_cache=1
2970 fi
2971
2972 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973
2974 fi;
2975
2976 eval "$ac_cv_use_libxpm"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2979 fi
2980
2981 if test "$wxUSE_LIBXPM" = yes; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2984 elif test "$wxUSE_LIBXPM" = no; then
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 elif test "$wxUSE_LIBXPM" = sys; then
2988 echo "$as_me:$LINENO: result: system version" >&5
2989 echo "${ECHO_T}system version" >&6
2990 elif test "$wxUSE_LIBXPM" = builtin; then
2991 echo "$as_me:$LINENO: result: builtin version" >&5
2992 echo "${ECHO_T}builtin version" >&6
2993 else
2994 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2995 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2996 { (exit 1); exit 1; }; }
2997 fi
2998
2999
3000 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3001 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3002 no_cache=0
3003
3004 # Check whether --with-libmspack or --without-libmspack was given.
3005 if test "${with_libmspack+set}" = set; then
3006 withval="$with_libmspack"
3007
3008 if test "$withval" = yes; then
3009 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3010 else
3011 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3012 fi
3013
3014 else
3015
3016 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3019 else
3020 no_cache=1
3021 fi
3022
3023 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024
3025 fi;
3026
3027 eval "$ac_cv_use_libmspack"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3030 fi
3031
3032 if test "$wxUSE_LIBMSPACK" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3035 else
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3038 fi
3039
3040
3041 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3042 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-sdl or --without-sdl was given.
3046 if test "${with_sdl+set}" = set; then
3047 withval="$with_sdl"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3051 else
3052 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3053 fi
3054
3055 else
3056
3057 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3060 else
3061 no_cache=1
3062 fi
3063
3064 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065
3066 fi;
3067
3068 eval "$ac_cv_use_sdl"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test "$wxUSE_LIBSDL" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081
3082 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3083 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3084 no_cache=0
3085
3086 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3087 if test "${with_gnomeprint+set}" = set; then
3088 withval="$with_gnomeprint"
3089
3090 if test "$withval" = yes; then
3091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3092 else
3093 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3094 fi
3095
3096 else
3097
3098 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106
3107 fi;
3108
3109 eval "$ac_cv_use_gnomeprint"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 else
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 fi
3121
3122
3123 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3124 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3125 no_cache=0
3126
3127 # Check whether --with-opengl or --without-opengl was given.
3128 if test "${with_opengl+set}" = set; then
3129 withval="$with_opengl"
3130
3131 if test "$withval" = yes; then
3132 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3133 else
3134 ac_cv_use_opengl='wxUSE_OPENGL=no'
3135 fi
3136
3137 else
3138
3139 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x ; then
3141 eval "DEFAULT_$LINE"
3142 else
3143 no_cache=1
3144 fi
3145
3146 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147
3148 fi;
3149
3150 eval "$ac_cv_use_opengl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3153 fi
3154
3155 if test "$wxUSE_OPENGL" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3158 else
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3161 fi
3162
3163
3164 fi
3165
3166
3167 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3168 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3169 no_cache=0
3170
3171 # Check whether --with-dmalloc or --without-dmalloc was given.
3172 if test "${with_dmalloc+set}" = set; then
3173 withval="$with_dmalloc"
3174
3175 if test "$withval" = yes; then
3176 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3177 else
3178 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191
3192 fi;
3193
3194 eval "$ac_cv_use_dmalloc"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_DMALLOC" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 else
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 fi
3206
3207
3208 echo "$as_me:$LINENO: checking for --with-regex" >&5
3209 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3210 no_cache=0
3211
3212 # Check whether --with-regex or --without-regex was given.
3213 if test "${with_regex+set}" = set; then
3214 withval="$with_regex"
3215
3216 if test "$withval" = yes; then
3217 ac_cv_use_regex='wxUSE_REGEX=yes'
3218 elif test "$withval" = no; then
3219 ac_cv_use_regex='wxUSE_REGEX=no'
3220 elif test "$withval" = sys; then
3221 ac_cv_use_regex='wxUSE_REGEX=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_regex='wxUSE_REGEX=builtin'
3224 else
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3228 fi
3229
3230 else
3231
3232 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x ; then
3234 eval "DEFAULT_$LINE"
3235 else
3236 no_cache=1
3237 fi
3238
3239 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240
3241 fi;
3242
3243 eval "$ac_cv_use_regex"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3246 fi
3247
3248 if test "$wxUSE_REGEX" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_REGEX" = no; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_REGEX" = sys; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_REGEX" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3260 else
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3264 fi
3265
3266
3267 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3268 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3269 no_cache=0
3270
3271 # Check whether --with-zlib or --without-zlib was given.
3272 if test "${with_zlib+set}" = set; then
3273 withval="$with_zlib"
3274
3275 if test "$withval" = yes; then
3276 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3277 elif test "$withval" = no; then
3278 ac_cv_use_zlib='wxUSE_ZLIB=no'
3279 elif test "$withval" = sys; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3283 else
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3287 fi
3288
3289 else
3290
3291 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3294 else
3295 no_cache=1
3296 fi
3297
3298 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299
3300 fi;
3301
3302 eval "$ac_cv_use_zlib"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3305 fi
3306
3307 if test "$wxUSE_ZLIB" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ZLIB" = no; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ZLIB" = sys; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ZLIB" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3319 else
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3323 fi
3324
3325
3326 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3327 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3328 no_cache=0
3329
3330 # Check whether --with-odbc or --without-odbc was given.
3331 if test "${with_odbc+set}" = set; then
3332 withval="$with_odbc"
3333
3334 if test "$withval" = yes; then
3335 ac_cv_use_odbc='wxUSE_ODBC=yes'
3336 elif test "$withval" = no; then
3337 ac_cv_use_odbc='wxUSE_ODBC=no'
3338 elif test "$withval" = sys; then
3339 ac_cv_use_odbc='wxUSE_ODBC=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3342 else
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3346 fi
3347
3348 else
3349
3350 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x ; then
3352 eval "DEFAULT_$LINE"
3353 else
3354 no_cache=1
3355 fi
3356
3357 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358
3359 fi;
3360
3361 eval "$ac_cv_use_odbc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3364 fi
3365
3366 if test "$wxUSE_ODBC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_ODBC" = no; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_ODBC" = sys; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_ODBC" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3378 else
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3382 fi
3383
3384
3385 echo "$as_me:$LINENO: checking for --with-expat" >&5
3386 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3387 no_cache=0
3388
3389 # Check whether --with-expat or --without-expat was given.
3390 if test "${with_expat+set}" = set; then
3391 withval="$with_expat"
3392
3393 if test "$withval" = yes; then
3394 ac_cv_use_expat='wxUSE_EXPAT=yes'
3395 elif test "$withval" = no; then
3396 ac_cv_use_expat='wxUSE_EXPAT=no'
3397 elif test "$withval" = sys; then
3398 ac_cv_use_expat='wxUSE_EXPAT=sys'
3399 elif test "$withval" = builtin; then
3400 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3401 else
3402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3404 { (exit 1); exit 1; }; }
3405 fi
3406
3407 else
3408
3409 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3412 else
3413 no_cache=1
3414 fi
3415
3416 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417
3418 fi;
3419
3420 eval "$ac_cv_use_expat"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_EXPAT" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 elif test "$wxUSE_EXPAT" = no; then
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 elif test "$wxUSE_EXPAT" = sys; then
3432 echo "$as_me:$LINENO: result: system version" >&5
3433 echo "${ECHO_T}system version" >&6
3434 elif test "$wxUSE_EXPAT" = builtin; then
3435 echo "$as_me:$LINENO: result: builtin version" >&5
3436 echo "${ECHO_T}builtin version" >&6
3437 else
3438 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3439 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3440 { (exit 1); exit 1; }; }
3441 fi
3442
3443
3444
3445
3446 enablestring=
3447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3449 no_cache=0
3450 # Check whether --enable-shared or --disable-shared was given.
3451 if test "${enable_shared+set}" = set; then
3452 enableval="$enable_shared"
3453
3454 if test "$enableval" = yes; then
3455 ac_cv_use_shared='wxUSE_SHARED=yes'
3456 else
3457 ac_cv_use_shared='wxUSE_SHARED=no'
3458 fi
3459
3460 else
3461
3462 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3465 else
3466 no_cache=1
3467 fi
3468
3469 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470
3471 fi;
3472
3473 eval "$ac_cv_use_shared"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3476 fi
3477
3478 if test "$wxUSE_SHARED" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 fi
3485
3486
3487 enablestring=
3488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3490 no_cache=0
3491 # Check whether --enable-optimise or --disable-optimise was given.
3492 if test "${enable_optimise+set}" = set; then
3493 enableval="$enable_optimise"
3494
3495 if test "$enableval" = yes; then
3496 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3497 else
3498 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3499 fi
3500
3501 else
3502
3503 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x ; then
3505 eval "DEFAULT_$LINE"
3506 else
3507 no_cache=1
3508 fi
3509
3510 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511
3512 fi;
3513
3514 eval "$ac_cv_use_optimise"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3517 fi
3518
3519 if test "$wxUSE_OPTIMISE" = yes; then
3520 echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6
3522 else
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3525 fi
3526
3527
3528 enablestring=
3529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3531 no_cache=0
3532 # Check whether --enable-debug or --disable-debug was given.
3533 if test "${enable_debug+set}" = set; then
3534 enableval="$enable_debug"
3535
3536 if test "$enableval" = yes; then
3537 ac_cv_use_debug='wxUSE_DEBUG=yes'
3538 else
3539 ac_cv_use_debug='wxUSE_DEBUG=no'
3540 fi
3541
3542 else
3543
3544 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x ; then
3546 eval "DEFAULT_$LINE"
3547 else
3548 no_cache=1
3549 fi
3550
3551 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552
3553 fi;
3554
3555 eval "$ac_cv_use_debug"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3558 fi
3559
3560 if test "$wxUSE_DEBUG" = yes; then
3561 echo "$as_me:$LINENO: result: yes" >&5
3562 echo "${ECHO_T}yes" >&6
3563 else
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3566 fi
3567
3568
3569 enablestring=
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3572 no_cache=0
3573 # Check whether --enable-stl or --disable-stl was given.
3574 if test "${enable_stl+set}" = set; then
3575 enableval="$enable_stl"
3576
3577 if test "$enableval" = yes; then
3578 ac_cv_use_stl='wxUSE_STL=yes'
3579 else
3580 ac_cv_use_stl='wxUSE_STL=no'
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3593
3594 fi;
3595
3596 eval "$ac_cv_use_stl"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_STL" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 else
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 fi
3608
3609 if test "$USE_OS2" = "1"; then
3610 DEFAULT_wxUSE_OMF=no
3611
3612 enablestring=
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3615 no_cache=0
3616 # Check whether --enable-omf or --disable-omf was given.
3617 if test "${enable_omf+set}" = set; then
3618 enableval="$enable_omf"
3619
3620 if test "$enableval" = yes; then
3621 ac_cv_use_omf='wxUSE_OMF=yes'
3622 else
3623 ac_cv_use_omf='wxUSE_OMF=no'
3624 fi
3625
3626 else
3627
3628 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x ; then
3630 eval "DEFAULT_$LINE"
3631 else
3632 no_cache=1
3633 fi
3634
3635 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636
3637 fi;
3638
3639 eval "$ac_cv_use_omf"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 fi
3643
3644 if test "$wxUSE_OMF" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3647 else
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3650 fi
3651
3652 fi
3653
3654 if test "$wxUSE_DEBUG" = "yes"; then
3655 DEFAULT_wxUSE_DEBUG_FLAG=yes
3656 DEFAULT_wxUSE_DEBUG_INFO=yes
3657 BUILD=debug
3658 elif test "$wxUSE_DEBUG" = "no"; then
3659 DEFAULT_wxUSE_DEBUG_FLAG=no
3660 DEFAULT_wxUSE_DEBUG_INFO=no
3661 BUILD=release
3662 fi
3663
3664
3665 enablestring=
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3668 no_cache=0
3669 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3670 if test "${enable_debug_flag+set}" = set; then
3671 enableval="$enable_debug_flag"
3672
3673 if test "$enableval" = yes; then
3674 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3675 else
3676 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3677 fi
3678
3679 else
3680
3681 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x ; then
3683 eval "DEFAULT_$LINE"
3684 else
3685 no_cache=1
3686 fi
3687
3688 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689
3690 fi;
3691
3692 eval "$ac_cv_use_debug_flag"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 fi
3696
3697 if test "$wxUSE_DEBUG_FLAG" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3700 else
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3703 fi
3704
3705
3706 enablestring=
3707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3709 no_cache=0
3710 # Check whether --enable-debug_info or --disable-debug_info was given.
3711 if test "${enable_debug_info+set}" = set; then
3712 enableval="$enable_debug_info"
3713
3714 if test "$enableval" = yes; then
3715 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3716 else
3717 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3718 fi
3719
3720 else
3721
3722 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x ; then
3724 eval "DEFAULT_$LINE"
3725 else
3726 no_cache=1
3727 fi
3728
3729 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730
3731 fi;
3732
3733 eval "$ac_cv_use_debug_info"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_DEBUG_INFO" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3741 else
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3744 fi
3745
3746
3747 enablestring=
3748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3749 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3750 no_cache=0
3751 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3752 if test "${enable_debug_gdb+set}" = set; then
3753 enableval="$enable_debug_gdb"
3754
3755 if test "$enableval" = yes; then
3756 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3757 else
3758 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3759 fi
3760
3761 else
3762
3763 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x ; then
3765 eval "DEFAULT_$LINE"
3766 else
3767 no_cache=1
3768 fi
3769
3770 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771
3772 fi;
3773
3774 eval "$ac_cv_use_debug_gdb"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 fi
3778
3779 if test "$wxUSE_DEBUG_GDB" = yes; then
3780 echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6
3782 else
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3785 fi
3786
3787
3788 enablestring=
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3791 no_cache=0
3792 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3793 if test "${enable_debug_cntxt+set}" = set; then
3794 enableval="$enable_debug_cntxt"
3795
3796 if test "$enableval" = yes; then
3797 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3798 else
3799 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3800 fi
3801
3802 else
3803
3804 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x ; then
3806 eval "DEFAULT_$LINE"
3807 else
3808 no_cache=1
3809 fi
3810
3811 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812
3813 fi;
3814
3815 eval "$ac_cv_use_debug_cntxt"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 fi
3819
3820 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3821 echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6
3823 else
3824 echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6
3826 fi
3827
3828
3829 enablestring=
3830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3831 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3832 no_cache=0
3833 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3834 if test "${enable_mem_tracing+set}" = set; then
3835 enableval="$enable_mem_tracing"
3836
3837 if test "$enableval" = yes; then
3838 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3839 else
3840 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3841 fi
3842
3843 else
3844
3845 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3848 else
3849 no_cache=1
3850 fi
3851
3852 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853
3854 fi;
3855
3856 eval "$ac_cv_use_mem_tracing"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 fi
3860
3861 if test "$wxUSE_MEM_TRACING" = yes; then
3862 echo "$as_me:$LINENO: result: yes" >&5
3863 echo "${ECHO_T}yes" >&6
3864 else
3865 echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6
3867 fi
3868
3869
3870 enablestring=
3871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3872 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3873 no_cache=0
3874 # Check whether --enable-profile or --disable-profile was given.
3875 if test "${enable_profile+set}" = set; then
3876 enableval="$enable_profile"
3877
3878 if test "$enableval" = yes; then
3879 ac_cv_use_profile='wxUSE_PROFILE=yes'
3880 else
3881 ac_cv_use_profile='wxUSE_PROFILE=no'
3882 fi
3883
3884 else
3885
3886 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x ; then
3888 eval "DEFAULT_$LINE"
3889 else
3890 no_cache=1
3891 fi
3892
3893 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894
3895 fi;
3896
3897 eval "$ac_cv_use_profile"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 fi
3901
3902 if test "$wxUSE_PROFILE" = yes; then
3903 echo "$as_me:$LINENO: result: yes" >&5
3904 echo "${ECHO_T}yes" >&6
3905 else
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3908 fi
3909
3910
3911 enablestring=
3912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3913 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3914 no_cache=0
3915 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3916 if test "${enable_no_rtti+set}" = set; then
3917 enableval="$enable_no_rtti"
3918
3919 if test "$enableval" = yes; then
3920 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3921 else
3922 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3923 fi
3924
3925 else
3926
3927 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x ; then
3929 eval "DEFAULT_$LINE"
3930 else
3931 no_cache=1
3932 fi
3933
3934 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935
3936 fi;
3937
3938 eval "$ac_cv_use_no_rtti"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 fi
3942
3943 if test "$wxUSE_NO_RTTI" = yes; then
3944 echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6
3946 else
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3949 fi
3950
3951
3952 enablestring=
3953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3954 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3955 no_cache=0
3956 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3957 if test "${enable_no_exceptions+set}" = set; then
3958 enableval="$enable_no_exceptions"
3959
3960 if test "$enableval" = yes; then
3961 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3962 else
3963 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3964 fi
3965
3966 else
3967
3968 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x ; then
3970 eval "DEFAULT_$LINE"
3971 else
3972 no_cache=1
3973 fi
3974
3975 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976
3977 fi;
3978
3979 eval "$ac_cv_use_no_exceptions"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 fi
3983
3984 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3985 echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6
3987 else
3988 echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6
3990 fi
3991
3992
3993 enablestring=
3994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3995 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3996 no_cache=0
3997 # Check whether --enable-permissive or --disable-permissive was given.
3998 if test "${enable_permissive+set}" = set; then
3999 enableval="$enable_permissive"
4000
4001 if test "$enableval" = yes; then
4002 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4003 else
4004 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4005 fi
4006
4007 else
4008
4009 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4012 else
4013 no_cache=1
4014 fi
4015
4016 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017
4018 fi;
4019
4020 eval "$ac_cv_use_permissive"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 fi
4024
4025 if test "$wxUSE_PERMISSIVE" = yes; then
4026 echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6
4028 else
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4031 fi
4032
4033
4034 enablestring=
4035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4036 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4037 no_cache=0
4038 # Check whether --enable-no_deps or --disable-no_deps was given.
4039 if test "${enable_no_deps+set}" = set; then
4040 enableval="$enable_no_deps"
4041
4042 if test "$enableval" = yes; then
4043 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4044 else
4045 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4046 fi
4047
4048 else
4049
4050 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x ; then
4052 eval "DEFAULT_$LINE"
4053 else
4054 no_cache=1
4055 fi
4056
4057 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058
4059 fi;
4060
4061 eval "$ac_cv_use_no_deps"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 fi
4065
4066 if test "$wxUSE_NO_DEPS" = yes; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4069 else
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4072 fi
4073
4074
4075
4076 enablestring=
4077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4078 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4079 no_cache=0
4080 # Check whether --enable-compat22 or --disable-compat22 was given.
4081 if test "${enable_compat22+set}" = set; then
4082 enableval="$enable_compat22"
4083
4084 if test "$enableval" = yes; then
4085 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4086 else
4087 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4088 fi
4089
4090 else
4091
4092 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x ; then
4094 eval "DEFAULT_$LINE"
4095 else
4096 no_cache=1
4097 fi
4098
4099 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100
4101 fi;
4102
4103 eval "$ac_cv_use_compat22"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 fi
4107
4108 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4109 echo "$as_me:$LINENO: result: yes" >&5
4110 echo "${ECHO_T}yes" >&6
4111 else
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4114 fi
4115
4116
4117 enablestring=disable
4118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4119 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4120 no_cache=0
4121 # Check whether --enable-compat24 or --disable-compat24 was given.
4122 if test "${enable_compat24+set}" = set; then
4123 enableval="$enable_compat24"
4124
4125 if test "$enableval" = yes; then
4126 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4127 else
4128 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4129 fi
4130
4131 else
4132
4133 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x ; then
4135 eval "DEFAULT_$LINE"
4136 else
4137 no_cache=1
4138 fi
4139
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141
4142 fi;
4143
4144 eval "$ac_cv_use_compat24"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 fi
4148
4149 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4150 echo "$as_me:$LINENO: result: yes" >&5
4151 echo "${ECHO_T}yes" >&6
4152 else
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4155 fi
4156
4157
4158
4159 enablestring=
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4162 no_cache=0
4163 # Check whether --enable-rpath or --disable-rpath was given.
4164 if test "${enable_rpath+set}" = set; then
4165 enableval="$enable_rpath"
4166
4167 if test "$enableval" = yes; then
4168 ac_cv_use_rpath='wxUSE_RPATH=yes'
4169 else
4170 ac_cv_use_rpath='wxUSE_RPATH=no'
4171 fi
4172
4173 else
4174
4175 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x ; then
4177 eval "DEFAULT_$LINE"
4178 else
4179 no_cache=1
4180 fi
4181
4182 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183
4184 fi;
4185
4186 eval "$ac_cv_use_rpath"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 fi
4190
4191 if test "$wxUSE_RPATH" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4194 else
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4197 fi
4198
4199
4200
4201
4202
4203 enablestring=
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4206 no_cache=0
4207 # Check whether --enable-intl or --disable-intl was given.
4208 if test "${enable_intl+set}" = set; then
4209 enableval="$enable_intl"
4210
4211 if test "$enableval" = yes; then
4212 ac_cv_use_intl='wxUSE_INTL=yes'
4213 else
4214 ac_cv_use_intl='wxUSE_INTL=no'
4215 fi
4216
4217 else
4218
4219 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x ; then
4221 eval "DEFAULT_$LINE"
4222 else
4223 no_cache=1
4224 fi
4225
4226 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227
4228 fi;
4229
4230 eval "$ac_cv_use_intl"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 fi
4234
4235 if test "$wxUSE_INTL" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4238 else
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4241 fi
4242
4243
4244 enablestring=
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4247 no_cache=0
4248 # Check whether --enable-config or --disable-config was given.
4249 if test "${enable_config+set}" = set; then
4250 enableval="$enable_config"
4251
4252 if test "$enableval" = yes; then
4253 ac_cv_use_config='wxUSE_CONFIG=yes'
4254 else
4255 ac_cv_use_config='wxUSE_CONFIG=no'
4256 fi
4257
4258 else
4259
4260 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x ; then
4262 eval "DEFAULT_$LINE"
4263 else
4264 no_cache=1
4265 fi
4266
4267 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268
4269 fi;
4270
4271 eval "$ac_cv_use_config"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 fi
4275
4276 if test "$wxUSE_CONFIG" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4279 else
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284
4285
4286 enablestring=
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4289 no_cache=0
4290 # Check whether --enable-protocols or --disable-protocols was given.
4291 if test "${enable_protocols+set}" = set; then
4292 enableval="$enable_protocols"
4293
4294 if test "$enableval" = yes; then
4295 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4296 else
4297 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4298 fi
4299
4300 else
4301
4302 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x ; then
4304 eval "DEFAULT_$LINE"
4305 else
4306 no_cache=1
4307 fi
4308
4309 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310
4311 fi;
4312
4313 eval "$ac_cv_use_protocols"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 fi
4317
4318 if test "$wxUSE_PROTOCOL" = yes; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4321 else
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4324 fi
4325
4326
4327 enablestring=
4328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4330 no_cache=0
4331 # Check whether --enable-ftp or --disable-ftp was given.
4332 if test "${enable_ftp+set}" = set; then
4333 enableval="$enable_ftp"
4334
4335 if test "$enableval" = yes; then
4336 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4337 else
4338 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4339 fi
4340
4341 else
4342
4343 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x ; then
4345 eval "DEFAULT_$LINE"
4346 else
4347 no_cache=1
4348 fi
4349
4350 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351
4352 fi;
4353
4354 eval "$ac_cv_use_ftp"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 fi
4358
4359 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4360 echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6
4362 else
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4365 fi
4366
4367
4368 enablestring=
4369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4371 no_cache=0
4372 # Check whether --enable-http or --disable-http was given.
4373 if test "${enable_http+set}" = set; then
4374 enableval="$enable_http"
4375
4376 if test "$enableval" = yes; then
4377 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4378 else
4379 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4380 fi
4381
4382 else
4383
4384 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x ; then
4386 eval "DEFAULT_$LINE"
4387 else
4388 no_cache=1
4389 fi
4390
4391 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392
4393 fi;
4394
4395 eval "$ac_cv_use_http"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 fi
4399
4400 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4401 echo "$as_me:$LINENO: result: yes" >&5
4402 echo "${ECHO_T}yes" >&6
4403 else
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4406 fi
4407
4408
4409 enablestring=
4410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4412 no_cache=0
4413 # Check whether --enable-fileproto or --disable-fileproto was given.
4414 if test "${enable_fileproto+set}" = set; then
4415 enableval="$enable_fileproto"
4416
4417 if test "$enableval" = yes; then
4418 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4419 else
4420 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4421 fi
4422
4423 else
4424
4425 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 else
4429 no_cache=1
4430 fi
4431
4432 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433
4434 fi;
4435
4436 eval "$ac_cv_use_fileproto"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 fi
4440
4441 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4442 echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6
4444 else
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4447 fi
4448
4449
4450 enablestring=
4451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4452 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4453 no_cache=0
4454 # Check whether --enable-sockets or --disable-sockets was given.
4455 if test "${enable_sockets+set}" = set; then
4456 enableval="$enable_sockets"
4457
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4460 else
4461 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4462 fi
4463
4464 else
4465
4466 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x ; then
4468 eval "DEFAULT_$LINE"
4469 else
4470 no_cache=1
4471 fi
4472
4473 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474
4475 fi;
4476
4477 eval "$ac_cv_use_sockets"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 fi
4481
4482 if test "$wxUSE_SOCKETS" = yes; then
4483 echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6
4485 else
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4488 fi
4489
4490
4491 enablestring=
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4494 no_cache=0
4495 # Check whether --enable-ole or --disable-ole was given.
4496 if test "${enable_ole+set}" = set; then
4497 enableval="$enable_ole"
4498
4499 if test "$enableval" = yes; then
4500 ac_cv_use_ole='wxUSE_OLE=yes'
4501 else
4502 ac_cv_use_ole='wxUSE_OLE=no'
4503 fi
4504
4505 else
4506
4507 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x ; then
4509 eval "DEFAULT_$LINE"
4510 else
4511 no_cache=1
4512 fi
4513
4514 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515
4516 fi;
4517
4518 eval "$ac_cv_use_ole"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 fi
4522
4523 if test "$wxUSE_OLE" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4526 else
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4529 fi
4530
4531
4532 enablestring=
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4535 no_cache=0
4536 # Check whether --enable-dataobj or --disable-dataobj was given.
4537 if test "${enable_dataobj+set}" = set; then
4538 enableval="$enable_dataobj"
4539
4540 if test "$enableval" = yes; then
4541 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4542 else
4543 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556
4557 fi;
4558
4559 eval "$ac_cv_use_dataobj"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_DATAOBJ" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4567 else
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4570 fi
4571
4572
4573
4574 enablestring=
4575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4577 no_cache=0
4578 # Check whether --enable-ipc or --disable-ipc was given.
4579 if test "${enable_ipc+set}" = set; then
4580 enableval="$enable_ipc"
4581
4582 if test "$enableval" = yes; then
4583 ac_cv_use_ipc='wxUSE_IPC=yes'
4584 else
4585 ac_cv_use_ipc='wxUSE_IPC=no'
4586 fi
4587
4588 else
4589
4590 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x ; then
4592 eval "DEFAULT_$LINE"
4593 else
4594 no_cache=1
4595 fi
4596
4597 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598
4599 fi;
4600
4601 eval "$ac_cv_use_ipc"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 fi
4605
4606 if test "$wxUSE_IPC" = yes; then
4607 echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6
4609 else
4610 echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6
4612 fi
4613
4614
4615
4616 enablestring=
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4621 if test "${enable_apple_ieee+set}" = set; then
4622 enableval="$enable_apple_ieee"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4626 else
4627 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4628 fi
4629
4630 else
4631
4632 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640
4641 fi;
4642
4643 eval "$ac_cv_use_apple_ieee"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test "$wxUSE_APPLE_IEEE" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4651 else
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4654 fi
4655
4656
4657 enablestring=
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4660 no_cache=0
4661 # Check whether --enable-arcstream or --disable-arcstream was given.
4662 if test "${enable_arcstream+set}" = set; then
4663 enableval="$enable_arcstream"
4664
4665 if test "$enableval" = yes; then
4666 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4667 else
4668 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4669 fi
4670
4671 else
4672
4673 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4676 else
4677 no_cache=1
4678 fi
4679
4680 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681
4682 fi;
4683
4684 eval "$ac_cv_use_arcstream"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4695 fi
4696
4697
4698 enablestring=
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4701 no_cache=0
4702 # Check whether --enable-backtrace or --disable-backtrace was given.
4703 if test "${enable_backtrace+set}" = set; then
4704 enableval="$enable_backtrace"
4705
4706 if test "$enableval" = yes; then
4707 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4708 else
4709 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4710 fi
4711
4712 else
4713
4714 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 else
4718 no_cache=1
4719 fi
4720
4721 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722
4723 fi;
4724
4725 eval "$ac_cv_use_backtrace"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_STACKWALKER" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4736 fi
4737
4738
4739 enablestring=
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4742 no_cache=0
4743 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4744 if test "${enable_catch_segvs+set}" = set; then
4745 enableval="$enable_catch_segvs"
4746
4747 if test "$enableval" = yes; then
4748 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4749 else
4750 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4751 fi
4752
4753 else
4754
4755 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763
4764 fi;
4765
4766 eval "$ac_cv_use_catch_segvs"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4774 else
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4777 fi
4778
4779
4780 enablestring=
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4783 no_cache=0
4784 # Check whether --enable-cmdline or --disable-cmdline was given.
4785 if test "${enable_cmdline+set}" = set; then
4786 enableval="$enable_cmdline"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4790 else
4791 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4792 fi
4793
4794 else
4795
4796 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804
4805 fi;
4806
4807 eval "$ac_cv_use_cmdline"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4818 fi
4819
4820
4821 enablestring=
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4824 no_cache=0
4825 # Check whether --enable-datetime or --disable-datetime was given.
4826 if test "${enable_datetime+set}" = set; then
4827 enableval="$enable_datetime"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4831 else
4832 ac_cv_use_datetime='wxUSE_DATETIME=no'
4833 fi
4834
4835 else
4836
4837 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845
4846 fi;
4847
4848 eval "$ac_cv_use_datetime"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_DATETIME" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4856 else
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4859 fi
4860
4861
4862 enablestring=
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4865 no_cache=0
4866 # Check whether --enable-debugreport or --disable-debugreport was given.
4867 if test "${enable_debugreport+set}" = set; then
4868 enableval="$enable_debugreport"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4872 else
4873 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4874 fi
4875
4876 else
4877
4878 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886
4887 fi;
4888
4889 eval "$ac_cv_use_debugreport"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_DEBUGREPORT" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4897 else
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4900 fi
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-dialupman or --disable-dialupman was given.
4908 if test "${enable_dialupman+set}" = set; then
4909 enableval="$enable_dialupman"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4913 else
4914 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927
4928 fi;
4929
4930 eval "$ac_cv_use_dialupman"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-dynlib or --disable-dynlib was given.
4949 if test "${enable_dynlib+set}" = set; then
4950 enableval="$enable_dynlib"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4954 else
4955 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4956 fi
4957
4958 else
4959
4960 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968
4969 fi;
4970
4971 eval "$ac_cv_use_dynlib"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985 enablestring=
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4988 no_cache=0
4989 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4990 if test "${enable_dynamicloader+set}" = set; then
4991 enableval="$enable_dynamicloader"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4995 else
4996 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4997 fi
4998
4999 else
5000
5001 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009
5010 fi;
5011
5012 eval "$ac_cv_use_dynamicloader"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5015 fi
5016
5017 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5023 fi
5024
5025
5026 enablestring=
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5029 no_cache=0
5030 # Check whether --enable-exceptions or --disable-exceptions was given.
5031 if test "${enable_exceptions+set}" = set; then
5032 enableval="$enable_exceptions"
5033
5034 if test "$enableval" = yes; then
5035 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5036 else
5037 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5038 fi
5039
5040 else
5041
5042 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050
5051 fi;
5052
5053 eval "$ac_cv_use_exceptions"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5056 fi
5057
5058 if test "$wxUSE_EXCEPTIONS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5064 fi
5065
5066
5067 enablestring=
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5070 no_cache=0
5071 # Check whether --enable-ffile or --disable-ffile was given.
5072 if test "${enable_ffile+set}" = set; then
5073 enableval="$enable_ffile"
5074
5075 if test "$enableval" = yes; then
5076 ac_cv_use_ffile='wxUSE_FFILE=yes'
5077 else
5078 ac_cv_use_ffile='wxUSE_FFILE=no'
5079 fi
5080
5081 else
5082
5083 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091
5092 fi;
5093
5094 eval "$ac_cv_use_ffile"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test "$wxUSE_FFILE" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5102 else
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5105 fi
5106
5107
5108 enablestring=
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5111 no_cache=0
5112 # Check whether --enable-file or --disable-file was given.
5113 if test "${enable_file+set}" = set; then
5114 enableval="$enable_file"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_file='wxUSE_FILE=yes'
5118 else
5119 ac_cv_use_file='wxUSE_FILE=no'
5120 fi
5121
5122 else
5123
5124 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132
5133 fi;
5134
5135 eval "$ac_cv_use_file"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test "$wxUSE_FILE" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5143 else
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5146 fi
5147
5148
5149 enablestring=
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5152 no_cache=0
5153 # Check whether --enable-filesystem or --disable-filesystem was given.
5154 if test "${enable_filesystem+set}" = set; then
5155 enableval="$enable_filesystem"
5156
5157 if test "$enableval" = yes; then
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5159 else
5160 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5161 fi
5162
5163 else
5164
5165 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173
5174 fi;
5175
5176 eval "$ac_cv_use_filesystem"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_FILESYSTEM" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5184 else
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5187 fi
5188
5189
5190 enablestring=
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5193 no_cache=0
5194 # Check whether --enable-fontmap or --disable-fontmap was given.
5195 if test "${enable_fontmap+set}" = set; then
5196 enableval="$enable_fontmap"
5197
5198 if test "$enableval" = yes; then
5199 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5200 else
5201 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5202 fi
5203
5204 else
5205
5206 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214
5215 fi;
5216
5217 eval "$ac_cv_use_fontmap"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_FONTMAP" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5228 fi
5229
5230
5231 enablestring=
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5234 no_cache=0
5235 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5236 if test "${enable_fs_inet+set}" = set; then
5237 enableval="$enable_fs_inet"
5238
5239 if test "$enableval" = yes; then
5240 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5241 else
5242 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5243 fi
5244
5245 else
5246
5247 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5250 else
5251 no_cache=1
5252 fi
5253
5254 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255
5256 fi;
5257
5258 eval "$ac_cv_use_fs_inet"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test "$wxUSE_FS_INET" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5266 else
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5269 fi
5270
5271
5272 enablestring=
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5275 no_cache=0
5276 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5277 if test "${enable_fs_zip+set}" = set; then
5278 enableval="$enable_fs_zip"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5282 else
5283 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5284 fi
5285
5286 else
5287
5288 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296
5297 fi;
5298
5299 eval "$ac_cv_use_fs_zip"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$wxUSE_FS_ZIP" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5307 else
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5310 fi
5311
5312
5313 enablestring=
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5316 no_cache=0
5317 # Check whether --enable-geometry or --disable-geometry was given.
5318 if test "${enable_geometry+set}" = set; then
5319 enableval="$enable_geometry"
5320
5321 if test "$enableval" = yes; then
5322 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5323 else
5324 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5325 fi
5326
5327 else
5328
5329 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5332 else
5333 no_cache=1
5334 fi
5335
5336 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337
5338 fi;
5339
5340 eval "$ac_cv_use_geometry"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$wxUSE_GEOMETRY" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5348 else
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5351 fi
5352
5353
5354 enablestring=
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5357 no_cache=0
5358 # Check whether --enable-log or --disable-log was given.
5359 if test "${enable_log+set}" = set; then
5360 enableval="$enable_log"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_log='wxUSE_LOG=yes'
5364 else
5365 ac_cv_use_log='wxUSE_LOG=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378
5379 fi;
5380
5381 eval "$ac_cv_use_log"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_LOG" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5389 else
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5392 fi
5393
5394
5395 enablestring=
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5398 no_cache=0
5399 # Check whether --enable-longlong or --disable-longlong was given.
5400 if test "${enable_longlong+set}" = set; then
5401 enableval="$enable_longlong"
5402
5403 if test "$enableval" = yes; then
5404 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5405 else
5406 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5407 fi
5408
5409 else
5410
5411 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5414 else
5415 no_cache=1
5416 fi
5417
5418 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419
5420 fi;
5421
5422 eval "$ac_cv_use_longlong"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test "$wxUSE_LONGLONG" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5430 else
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5433 fi
5434
5435
5436 enablestring=
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5439 no_cache=0
5440 # Check whether --enable-mimetype or --disable-mimetype was given.
5441 if test "${enable_mimetype+set}" = set; then
5442 enableval="$enable_mimetype"
5443
5444 if test "$enableval" = yes; then
5445 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5446 else
5447 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5448 fi
5449
5450 else
5451
5452 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 else
5456 no_cache=1
5457 fi
5458
5459 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460
5461 fi;
5462
5463 eval "$ac_cv_use_mimetype"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_MIMETYPE" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5471 else
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5474 fi
5475
5476
5477 enablestring=
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5480 no_cache=0
5481 # Check whether --enable-mslu or --disable-mslu was given.
5482 if test "${enable_mslu+set}" = set; then
5483 enableval="$enable_mslu"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5487 else
5488 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5489 fi
5490
5491 else
5492
5493 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501
5502 fi;
5503
5504 eval "$ac_cv_use_mslu"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5507 fi
5508
5509 if test "$wxUSE_UNICODE_MSLU" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5512 else
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5515 fi
5516
5517
5518 enablestring=
5519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5521 no_cache=0
5522 # Check whether --enable-snglinst or --disable-snglinst was given.
5523 if test "${enable_snglinst+set}" = set; then
5524 enableval="$enable_snglinst"
5525
5526 if test "$enableval" = yes; then
5527 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5528 else
5529 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5530 fi
5531
5532 else
5533
5534 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5537 else
5538 no_cache=1
5539 fi
5540
5541 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542
5543 fi;
5544
5545 eval "$ac_cv_use_snglinst"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5548 fi
5549
5550 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5551 echo "$as_me:$LINENO: result: yes" >&5
5552 echo "${ECHO_T}yes" >&6
5553 else
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5556 fi
5557
5558
5559 enablestring=
5560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5562 no_cache=0
5563 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5564 if test "${enable_std_iostreams+set}" = set; then
5565 enableval="$enable_std_iostreams"
5566
5567 if test "$enableval" = yes; then
5568 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5569 else
5570 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5571 fi
5572
5573 else
5574
5575 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x ; then
5577 eval "DEFAULT_$LINE"
5578 else
5579 no_cache=1
5580 fi
5581
5582 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583
5584 fi;
5585
5586 eval "$ac_cv_use_std_iostreams"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5589 fi
5590
5591 if test "$wxUSE_STD_IOSTREAM" = yes; then
5592 echo "$as_me:$LINENO: result: yes" >&5
5593 echo "${ECHO_T}yes" >&6
5594 else
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5597 fi
5598
5599
5600 enablestring=
5601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5603 no_cache=0
5604 # Check whether --enable-std_string or --disable-std_string was given.
5605 if test "${enable_std_string+set}" = set; then
5606 enableval="$enable_std_string"
5607
5608 if test "$enableval" = yes; then
5609 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5610 else
5611 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5612 fi
5613
5614 else
5615
5616 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x ; then
5618 eval "DEFAULT_$LINE"
5619 else
5620 no_cache=1
5621 fi
5622
5623 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624
5625 fi;
5626
5627 eval "$ac_cv_use_std_string"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5630 fi
5631
5632 if test "$wxUSE_STD_STRING" = yes; then
5633 echo "$as_me:$LINENO: result: yes" >&5
5634 echo "${ECHO_T}yes" >&6
5635 else
5636 echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6
5638 fi
5639
5640
5641 enablestring=
5642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5644 no_cache=0
5645 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5646 if test "${enable_stdpaths+set}" = set; then
5647 enableval="$enable_stdpaths"
5648
5649 if test "$enableval" = yes; then
5650 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5651 else
5652 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5653 fi
5654
5655 else
5656
5657 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5660 else
5661 no_cache=1
5662 fi
5663
5664 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665
5666 fi;
5667
5668 eval "$ac_cv_use_stdpaths"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5671 fi
5672
5673 if test "$wxUSE_STDPATHS" = yes; then
5674 echo "$as_me:$LINENO: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5676 else
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5679 fi
5680
5681
5682 enablestring=
5683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5685 no_cache=0
5686 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5687 if test "${enable_stopwatch+set}" = set; then
5688 enableval="$enable_stopwatch"
5689
5690 if test "$enableval" = yes; then
5691 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5692 else
5693 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5694 fi
5695
5696 else
5697
5698 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x ; then
5700 eval "DEFAULT_$LINE"
5701 else
5702 no_cache=1
5703 fi
5704
5705 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706
5707 fi;
5708
5709 eval "$ac_cv_use_stopwatch"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5712 fi
5713
5714 if test "$wxUSE_STOPWATCH" = yes; then
5715 echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6
5717 else
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5720 fi
5721
5722
5723 enablestring=
5724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5726 no_cache=0
5727 # Check whether --enable-streams or --disable-streams was given.
5728 if test "${enable_streams+set}" = set; then
5729 enableval="$enable_streams"
5730
5731 if test "$enableval" = yes; then
5732 ac_cv_use_streams='wxUSE_STREAMS=yes'
5733 else
5734 ac_cv_use_streams='wxUSE_STREAMS=no'
5735 fi
5736
5737 else
5738
5739 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x ; then
5741 eval "DEFAULT_$LINE"
5742 else
5743 no_cache=1
5744 fi
5745
5746 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747
5748 fi;
5749
5750 eval "$ac_cv_use_streams"
5751 if test "$no_cache" != 1; then
5752 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5753 fi
5754
5755 if test "$wxUSE_STREAMS" = yes; then
5756 echo "$as_me:$LINENO: result: yes" >&5
5757 echo "${ECHO_T}yes" >&6
5758 else
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5761 fi
5762
5763
5764 enablestring=
5765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5767 no_cache=0
5768 # Check whether --enable-system_options or --disable-system_options was given.
5769 if test "${enable_system_options+set}" = set; then
5770 enableval="$enable_system_options"
5771
5772 if test "$enableval" = yes; then
5773 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5774 else
5775 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5776 fi
5777
5778 else
5779
5780 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x ; then
5782 eval "DEFAULT_$LINE"
5783 else
5784 no_cache=1
5785 fi
5786
5787 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788
5789 fi;
5790
5791 eval "$ac_cv_use_system_options"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5794 fi
5795
5796 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5797 echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6
5799 else
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5802 fi
5803
5804
5805 enablestring=
5806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5808 no_cache=0
5809 # Check whether --enable-textbuf or --disable-textbuf was given.
5810 if test "${enable_textbuf+set}" = set; then
5811 enableval="$enable_textbuf"
5812
5813 if test "$enableval" = yes; then
5814 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5815 else
5816 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5817 fi
5818
5819 else
5820
5821 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x ; then
5823 eval "DEFAULT_$LINE"
5824 else
5825 no_cache=1
5826 fi
5827
5828 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829
5830 fi;
5831
5832 eval "$ac_cv_use_textbuf"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5835 fi
5836
5837 if test "$wxUSE_TEXTBUFFER" = yes; then
5838 echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6
5840 else
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5843 fi
5844
5845
5846 enablestring=
5847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5849 no_cache=0
5850 # Check whether --enable-textfile or --disable-textfile was given.
5851 if test "${enable_textfile+set}" = set; then
5852 enableval="$enable_textfile"
5853
5854 if test "$enableval" = yes; then
5855 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5856 else
5857 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5858 fi
5859
5860 else
5861
5862 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5865 else
5866 no_cache=1
5867 fi
5868
5869 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870
5871 fi;
5872
5873 eval "$ac_cv_use_textfile"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5876 fi
5877
5878 if test "$wxUSE_TEXTFILE" = yes; then
5879 echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6
5881 else
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5884 fi
5885
5886
5887 enablestring=
5888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5890 no_cache=0
5891 # Check whether --enable-timer or --disable-timer was given.
5892 if test "${enable_timer+set}" = set; then
5893 enableval="$enable_timer"
5894
5895 if test "$enableval" = yes; then
5896 ac_cv_use_timer='wxUSE_TIMER=yes'
5897 else
5898 ac_cv_use_timer='wxUSE_TIMER=no'
5899 fi
5900
5901 else
5902
5903 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5906 else
5907 no_cache=1
5908 fi
5909
5910 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911
5912 fi;
5913
5914 eval "$ac_cv_use_timer"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5917 fi
5918
5919 if test "$wxUSE_TIMER" = yes; then
5920 echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6
5922 else
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5925 fi
5926
5927
5928 enablestring=
5929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5931 no_cache=0
5932 # Check whether --enable-unicode or --disable-unicode was given.
5933 if test "${enable_unicode+set}" = set; then
5934 enableval="$enable_unicode"
5935
5936 if test "$enableval" = yes; then
5937 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5938 else
5939 ac_cv_use_unicode='wxUSE_UNICODE=no'
5940 fi
5941
5942 else
5943
5944 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5947 else
5948 no_cache=1
5949 fi
5950
5951 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952
5953 fi;
5954
5955 eval "$ac_cv_use_unicode"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5958 fi
5959
5960 if test "$wxUSE_UNICODE" = yes; then
5961 echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6
5963 else
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5966 fi
5967
5968
5969 enablestring=
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5972 no_cache=0
5973 # Check whether --enable-sound or --disable-sound was given.
5974 if test "${enable_sound+set}" = set; then
5975 enableval="$enable_sound"
5976
5977 if test "$enableval" = yes; then
5978 ac_cv_use_sound='wxUSE_SOUND=yes'
5979 else
5980 ac_cv_use_sound='wxUSE_SOUND=no'
5981 fi
5982
5983 else
5984
5985 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993
5994 fi;
5995
5996 eval "$ac_cv_use_sound"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_SOUND" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6004 else
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6007 fi
6008
6009
6010 enablestring=
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6013 no_cache=0
6014 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6015 if test "${enable_mediactrl+set}" = set; then
6016 enableval="$enable_mediactrl"
6017
6018 if test "$enableval" = yes; then
6019 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6020 else
6021 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6022 fi
6023
6024 else
6025
6026 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 else
6030 no_cache=1
6031 fi
6032
6033 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034
6035 fi;
6036
6037 eval "$ac_cv_use_mediactrl"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6040 fi
6041
6042 if test "$wxUSE_MEDIACTRL" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6045 else
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6048 fi
6049
6050
6051 enablestring=
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6054 no_cache=0
6055 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6056 if test "${enable_wxprintfv+set}" = set; then
6057 enableval="$enable_wxprintfv"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6061 else
6062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6063 fi
6064
6065 else
6066
6067 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075
6076 fi;
6077
6078 eval "$ac_cv_use_wxprintfv"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6086 else
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6089 fi
6090
6091
6092 enablestring=
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6095 no_cache=0
6096 # Check whether --enable-zipstream or --disable-zipstream was given.
6097 if test "${enable_zipstream+set}" = set; then
6098 enableval="$enable_zipstream"
6099
6100 if test "$enableval" = yes; then
6101 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6102 else
6103 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6104 fi
6105
6106 else
6107
6108 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116
6117 fi;
6118
6119 eval "$ac_cv_use_zipstream"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_ZIPSTREAM" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6127 else
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6130 fi
6131
6132
6133
6134 enablestring=
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6137 no_cache=0
6138 # Check whether --enable-url or --disable-url was given.
6139 if test "${enable_url+set}" = set; then
6140 enableval="$enable_url"
6141
6142 if test "$enableval" = yes; then
6143 ac_cv_use_url='wxUSE_URL=yes'
6144 else
6145 ac_cv_use_url='wxUSE_URL=no'
6146 fi
6147
6148 else
6149
6150 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 else
6154 no_cache=1
6155 fi
6156
6157 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6158
6159 fi;
6160
6161 eval "$ac_cv_use_url"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_URL" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6169 else
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6172 fi
6173
6174
6175 enablestring=
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6178 no_cache=0
6179 # Check whether --enable-protocol or --disable-protocol was given.
6180 if test "${enable_protocol+set}" = set; then
6181 enableval="$enable_protocol"
6182
6183 if test "$enableval" = yes; then
6184 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6185 else
6186 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6187 fi
6188
6189 else
6190
6191 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6194 else
6195 no_cache=1
6196 fi
6197
6198 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199
6200 fi;
6201
6202 eval "$ac_cv_use_protocol"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_PROTOCOL" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6210 else
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6213 fi
6214
6215
6216 enablestring=
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6219 no_cache=0
6220 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6221 if test "${enable_protocol_http+set}" = set; then
6222 enableval="$enable_protocol_http"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6226 else
6227 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240
6241 fi;
6242
6243 eval "$ac_cv_use_protocol_http"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256
6257 enablestring=
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6260 no_cache=0
6261 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6262 if test "${enable_protocol_ftp+set}" = set; then
6263 enableval="$enable_protocol_ftp"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6267 else
6268 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281
6282 fi;
6283
6284 eval "$ac_cv_use_protocol_ftp"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6292 else
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6295 fi
6296
6297
6298 enablestring=
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6301 no_cache=0
6302 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6303 if test "${enable_protocol_file+set}" = set; then
6304 enableval="$enable_protocol_file"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6308 else
6309 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322
6323 fi;
6324
6325 eval "$ac_cv_use_protocol_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6333 else
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6336 fi
6337
6338
6339
6340
6341
6342 enablestring=
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6345 no_cache=0
6346 # Check whether --enable-threads or --disable-threads was given.
6347 if test "${enable_threads+set}" = set; then
6348 enableval="$enable_threads"
6349
6350 if test "$enableval" = yes; then
6351 ac_cv_use_threads='wxUSE_THREADS=yes'
6352 else
6353 ac_cv_use_threads='wxUSE_THREADS=no'
6354 fi
6355
6356 else
6357
6358 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 else
6362 no_cache=1
6363 fi
6364
6365 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366
6367 fi;
6368
6369 eval "$ac_cv_use_threads"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_THREADS" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382
6383 if test "$wxUSE_GUI" = "yes"; then
6384
6385
6386
6387 enablestring=
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6390 no_cache=0
6391 # Check whether --enable-docview or --disable-docview was given.
6392 if test "${enable_docview+set}" = set; then
6393 enableval="$enable_docview"
6394
6395 if test "$enableval" = yes; then
6396 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6397 else
6398 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411
6412 fi;
6413
6414 eval "$ac_cv_use_docview"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6422 else
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6425 fi
6426
6427
6428 enablestring=
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6431 no_cache=0
6432 # Check whether --enable-help or --disable-help was given.
6433 if test "${enable_help+set}" = set; then
6434 enableval="$enable_help"
6435
6436 if test "$enableval" = yes; then
6437 ac_cv_use_help='wxUSE_HELP=yes'
6438 else
6439 ac_cv_use_help='wxUSE_HELP=no'
6440 fi
6441
6442 else
6443
6444 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452
6453 fi;
6454
6455 eval "$ac_cv_use_help"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6458 fi
6459
6460 if test "$wxUSE_HELP" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6463 else
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6466 fi
6467
6468
6469 enablestring=
6470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6472 no_cache=0
6473 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6474 if test "${enable_mshtmlhelp+set}" = set; then
6475 enableval="$enable_mshtmlhelp"
6476
6477 if test "$enableval" = yes; then
6478 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6479 else
6480 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6481 fi
6482
6483 else
6484
6485 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x ; then
6487 eval "DEFAULT_$LINE"
6488 else
6489 no_cache=1
6490 fi
6491
6492 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493
6494 fi;
6495
6496 eval "$ac_cv_use_mshtmlhelp"
6497 if test "$no_cache" != 1; then
6498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6499 fi
6500
6501 if test "$wxUSE_MS_HTML_HELP" = yes; then
6502 echo "$as_me:$LINENO: result: yes" >&5
6503 echo "${ECHO_T}yes" >&6
6504 else
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6507 fi
6508
6509
6510 enablestring=
6511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6513 no_cache=0
6514 # Check whether --enable-html or --disable-html was given.
6515 if test "${enable_html+set}" = set; then
6516 enableval="$enable_html"
6517
6518 if test "$enableval" = yes; then
6519 ac_cv_use_html='wxUSE_HTML=yes'
6520 else
6521 ac_cv_use_html='wxUSE_HTML=no'
6522 fi
6523
6524 else
6525
6526 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 else
6530 no_cache=1
6531 fi
6532
6533 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534
6535 fi;
6536
6537 eval "$ac_cv_use_html"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6540 fi
6541
6542 if test "$wxUSE_HTML" = yes; then
6543 echo "$as_me:$LINENO: result: yes" >&5
6544 echo "${ECHO_T}yes" >&6
6545 else
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6548 fi
6549
6550
6551 enablestring=
6552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6554 no_cache=0
6555 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6556 if test "${enable_htmlhelp+set}" = set; then
6557 enableval="$enable_htmlhelp"
6558
6559 if test "$enableval" = yes; then
6560 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6561 else
6562 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6563 fi
6564
6565 else
6566
6567 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6570 else
6571 no_cache=1
6572 fi
6573
6574 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575
6576 fi;
6577
6578 eval "$ac_cv_use_htmlhelp"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6581 fi
6582
6583 if test "$wxUSE_WXHTML_HELP" = yes; then
6584 echo "$as_me:$LINENO: result: yes" >&5
6585 echo "${ECHO_T}yes" >&6
6586 else
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6589 fi
6590
6591
6592 enablestring=
6593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6595 no_cache=0
6596 # Check whether --enable-xrc or --disable-xrc was given.
6597 if test "${enable_xrc+set}" = set; then
6598 enableval="$enable_xrc"
6599
6600 if test "$enableval" = yes; then
6601 ac_cv_use_xrc='wxUSE_XRC=yes'
6602 else
6603 ac_cv_use_xrc='wxUSE_XRC=no'
6604 fi
6605
6606 else
6607
6608 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6611 else
6612 no_cache=1
6613 fi
6614
6615 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616
6617 fi;
6618
6619 eval "$ac_cv_use_xrc"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6622 fi
6623
6624 if test "$wxUSE_XRC" = yes; then
6625 echo "$as_me:$LINENO: result: yes" >&5
6626 echo "${ECHO_T}yes" >&6
6627 else
6628 echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6
6630 fi
6631
6632
6633 enablestring=
6634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6636 no_cache=0
6637 # Check whether --enable-constraints or --disable-constraints was given.
6638 if test "${enable_constraints+set}" = set; then
6639 enableval="$enable_constraints"
6640
6641 if test "$enableval" = yes; then
6642 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6643 else
6644 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6645 fi
6646
6647 else
6648
6649 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6652 else
6653 no_cache=1
6654 fi
6655
6656 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657
6658 fi;
6659
6660 eval "$ac_cv_use_constraints"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6663 fi
6664
6665 if test "$wxUSE_CONSTRAINTS" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6668 else
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6671 fi
6672
6673
6674 enablestring=
6675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6677 no_cache=0
6678 # Check whether --enable-printarch or --disable-printarch was given.
6679 if test "${enable_printarch+set}" = set; then
6680 enableval="$enable_printarch"
6681
6682 if test "$enableval" = yes; then
6683 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6684 else
6685 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6686 fi
6687
6688 else
6689
6690 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x ; then
6692 eval "DEFAULT_$LINE"
6693 else
6694 no_cache=1
6695 fi
6696
6697 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698
6699 fi;
6700
6701 eval "$ac_cv_use_printarch"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6704 fi
6705
6706 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6707 echo "$as_me:$LINENO: result: yes" >&5
6708 echo "${ECHO_T}yes" >&6
6709 else
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6
6712 fi
6713
6714
6715 enablestring=
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6718 no_cache=0
6719 # Check whether --enable-mdi or --disable-mdi was given.
6720 if test "${enable_mdi+set}" = set; then
6721 enableval="$enable_mdi"
6722
6723 if test "$enableval" = yes; then
6724 ac_cv_use_mdi='wxUSE_MDI=yes'
6725 else
6726 ac_cv_use_mdi='wxUSE_MDI=no'
6727 fi
6728
6729 else
6730
6731 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739
6740 fi;
6741
6742 eval "$ac_cv_use_mdi"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_MDI" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6750 else
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6753 fi
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6761 if test "${enable_mdidoc+set}" = set; then
6762 enableval="$enable_mdidoc"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6766 else
6767 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6768 fi
6769
6770 else
6771
6772 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780
6781 fi;
6782
6783 eval "$ac_cv_use_mdidoc"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 enablestring=
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6800 no_cache=0
6801 # Check whether --enable-loggui or --disable-loggui was given.
6802 if test "${enable_loggui+set}" = set; then
6803 enableval="$enable_loggui"
6804
6805 if test "$enableval" = yes; then
6806 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6807 else
6808 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6809 fi
6810
6811 else
6812
6813 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821
6822 fi;
6823
6824 eval "$ac_cv_use_loggui"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test "$wxUSE_LOGGUI" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6832 else
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6835 fi
6836
6837
6838 enablestring=
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6841 no_cache=0
6842 # Check whether --enable-logwin or --disable-logwin was given.
6843 if test "${enable_logwin+set}" = set; then
6844 enableval="$enable_logwin"
6845
6846 if test "$enableval" = yes; then
6847 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6848 else
6849 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6850 fi
6851
6852 else
6853
6854 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862
6863 fi;
6864
6865 eval "$ac_cv_use_logwin"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test "$wxUSE_LOGWINDOW" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6873 else
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-logdialog or --disable-logdialog was given.
6884 if test "${enable_logdialog+set}" = set; then
6885 enableval="$enable_logdialog"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6889 else
6890 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903
6904 fi;
6905
6906 eval "$ac_cv_use_logdialog"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_LOGDIALOG" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-webkit or --disable-webkit was given.
6925 if test "${enable_webkit+set}" = set; then
6926 enableval="$enable_webkit"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6930 else
6931 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944
6945 fi;
6946
6947 eval "$ac_cv_use_webkit"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_WEBKIT" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-postscript or --disable-postscript was given.
6967 if test "${enable_postscript+set}" = set; then
6968 enableval="$enable_postscript"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6972 else
6973 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986
6987 fi;
6988
6989 eval "$ac_cv_use_postscript"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_POSTSCRIPT" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-prologio or --disable-prologio was given.
7011 if test "${enable_prologio+set}" = set; then
7012 enableval="$enable_prologio"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7016 else
7017 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030
7031 fi;
7032
7033 eval "$ac_cv_use_prologio"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_PROLOGIO" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-resources or --disable-resources was given.
7052 if test "${enable_resources+set}" = set; then
7053 enableval="$enable_resources"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7057 else
7058 ac_cv_use_resources='wxUSE_RESOURCES=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071
7072 fi;
7073
7074 eval "$ac_cv_use_resources"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_RESOURCES" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-clipboard or --disable-clipboard was given.
7095 if test "${enable_clipboard+set}" = set; then
7096 enableval="$enable_clipboard"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7100 else
7101 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114
7115 fi;
7116
7117 eval "$ac_cv_use_clipboard"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_CLIPBOARD" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-dnd or --disable-dnd was given.
7136 if test "${enable_dnd+set}" = set; then
7137 enableval="$enable_dnd"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7141 else
7142 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155
7156 fi;
7157
7158 eval "$ac_cv_use_dnd"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-metafile or --disable-metafile was given.
7177 if test "${enable_metafile+set}" = set; then
7178 enableval="$enable_metafile"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7182 else
7183 ac_cv_use_metafile='wxUSE_METAFILE=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196
7197 fi;
7198
7199 eval "$ac_cv_use_metafile"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_METAFILE" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-controls or --disable-controls was given.
7221 if test "${enable_controls+set}" = set; then
7222 enableval="$enable_controls"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7226 else
7227 ac_cv_use_controls='wxUSE_CONTROLS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_controls"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONTROLS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 if test "$wxUSE_CONTROLS" = "yes"; then
7258 DEFAULT_wxUSE_ACCEL=yes
7259 DEFAULT_wxUSE_BMPBUTTON=yes
7260 DEFAULT_wxUSE_BUTTON=yes
7261 DEFAULT_wxUSE_CALCTRL=yes
7262 DEFAULT_wxUSE_CARET=yes
7263 DEFAULT_wxUSE_COMBOBOX=yes
7264 DEFAULT_wxUSE_CHECKBOX=yes
7265 DEFAULT_wxUSE_CHECKLISTBOX=yes
7266 DEFAULT_wxUSE_CHOICE=yes
7267 DEFAULT_wxUSE_CHOICEBOOK=yes
7268 DEFAULT_wxUSE_DATEPICKCTRL=yes
7269 DEFAULT_wxUSE_GAUGE=yes
7270 DEFAULT_wxUSE_GRID=yes
7271 DEFAULT_wxUSE_IMAGLIST=yes
7272 DEFAULT_wxUSE_LISTBOOK=yes
7273 DEFAULT_wxUSE_LISTBOX=yes
7274 DEFAULT_wxUSE_LISTCTRL=yes
7275 DEFAULT_wxUSE_NOTEBOOK=yes
7276 DEFAULT_wxUSE_RADIOBOX=yes
7277 DEFAULT_wxUSE_RADIOBTN=yes
7278 DEFAULT_wxUSE_SASH=yes
7279 DEFAULT_wxUSE_SCROLLBAR=yes
7280 DEFAULT_wxUSE_SLIDER=yes
7281 DEFAULT_wxUSE_SPINBTN=yes
7282 DEFAULT_wxUSE_SPINCTRL=yes
7283 DEFAULT_wxUSE_SPLITTER=yes
7284 DEFAULT_wxUSE_STATBMP=yes
7285 DEFAULT_wxUSE_STATBOX=yes
7286 DEFAULT_wxUSE_STATLINE=yes
7287 DEFAULT_wxUSE_STATUSBAR=yes
7288 DEFAULT_wxUSE_TAB_DIALOG=yes
7289 DEFAULT_wxUSE_TOGGLEBTN=yes
7290 DEFAULT_wxUSE_TOOLBAR=yes
7291 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7292 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7293 DEFAULT_wxUSE_TOOLTIPS=yes
7294 DEFAULT_wxUSE_TREECTRL=yes
7295 DEFAULT_wxUSE_POPUPWIN=yes
7296 DEFAULT_wxUSE_TIPWINDOW=yes
7297 elif test "$wxUSE_CONTROLS" = "no"; then
7298 DEFAULT_wxUSE_ACCEL=no
7299 DEFAULT_wxUSE_BMPBUTTON=no
7300 DEFAULT_wxUSE_BUTTON=no
7301 DEFAULT_wxUSE_CALCTRL=no
7302 DEFAULT_wxUSE_CARET=no
7303 DEFAULT_wxUSE_COMBOBOX=no
7304 DEFAULT_wxUSE_CHECKBOX=no
7305 DEFAULT_wxUSE_CHECKLISTBOX=no
7306 DEFAULT_wxUSE_CHOICE=no
7307 DEFAULT_wxUSE_CHOICEBOOK=no
7308 DEFAULT_wxUSE_DATEPICKCTRL=no
7309 DEFAULT_wxUSE_GAUGE=no
7310 DEFAULT_wxUSE_GRID=no
7311 DEFAULT_wxUSE_IMAGLIST=no
7312 DEFAULT_wxUSE_LISTBOOK=no
7313 DEFAULT_wxUSE_LISTBOX=no
7314 DEFAULT_wxUSE_LISTCTRL=no
7315 DEFAULT_wxUSE_NOTEBOOK=no
7316 DEFAULT_wxUSE_RADIOBOX=no
7317 DEFAULT_wxUSE_RADIOBTN=no
7318 DEFAULT_wxUSE_SASH=no
7319 DEFAULT_wxUSE_SCROLLBAR=no
7320 DEFAULT_wxUSE_SLIDER=no
7321 DEFAULT_wxUSE_SPINBTN=no
7322 DEFAULT_wxUSE_SPINCTRL=no
7323 DEFAULT_wxUSE_SPLITTER=no
7324 DEFAULT_wxUSE_STATBMP=no
7325 DEFAULT_wxUSE_STATBOX=no
7326 DEFAULT_wxUSE_STATLINE=no
7327 DEFAULT_wxUSE_STATUSBAR=no
7328 DEFAULT_wxUSE_TAB_DIALOG=no
7329 DEFAULT_wxUSE_TOGGLEBTN=no
7330 DEFAULT_wxUSE_TOOLBAR=no
7331 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7332 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7333 DEFAULT_wxUSE_TOOLTIPS=no
7334 DEFAULT_wxUSE_TREECTRL=no
7335 DEFAULT_wxUSE_POPUPWIN=no
7336 DEFAULT_wxUSE_TIPWINDOW=no
7337 fi
7338
7339
7340 enablestring=
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7343 no_cache=0
7344 # Check whether --enable-accel or --disable-accel was given.
7345 if test "${enable_accel+set}" = set; then
7346 enableval="$enable_accel"
7347
7348 if test "$enableval" = yes; then
7349 ac_cv_use_accel='wxUSE_ACCEL=yes'
7350 else
7351 ac_cv_use_accel='wxUSE_ACCEL=no'
7352 fi
7353
7354 else
7355
7356 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7359 else
7360 no_cache=1
7361 fi
7362
7363 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364
7365 fi;
7366
7367 eval "$ac_cv_use_accel"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7370 fi
7371
7372 if test "$wxUSE_ACCEL" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7375 else
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7378 fi
7379
7380
7381 enablestring=
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7384 no_cache=0
7385 # Check whether --enable-button or --disable-button was given.
7386 if test "${enable_button+set}" = set; then
7387 enableval="$enable_button"
7388
7389 if test "$enableval" = yes; then
7390 ac_cv_use_button='wxUSE_BUTTON=yes'
7391 else
7392 ac_cv_use_button='wxUSE_BUTTON=no'
7393 fi
7394
7395 else
7396
7397 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x ; then
7399 eval "DEFAULT_$LINE"
7400 else
7401 no_cache=1
7402 fi
7403
7404 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405
7406 fi;
7407
7408 eval "$ac_cv_use_button"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7411 fi
7412
7413 if test "$wxUSE_BUTTON" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7416 else
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7419 fi
7420
7421
7422 enablestring=
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7425 no_cache=0
7426 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7427 if test "${enable_bmpbutton+set}" = set; then
7428 enableval="$enable_bmpbutton"
7429
7430 if test "$enableval" = yes; then
7431 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7432 else
7433 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7434 fi
7435
7436 else
7437
7438 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x ; then
7440 eval "DEFAULT_$LINE"
7441 else
7442 no_cache=1
7443 fi
7444
7445 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446
7447 fi;
7448
7449 eval "$ac_cv_use_bmpbutton"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7452 fi
7453
7454 if test "$wxUSE_BMPBUTTON" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7457 else
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7460 fi
7461
7462
7463 enablestring=
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7466 no_cache=0
7467 # Check whether --enable-calendar or --disable-calendar was given.
7468 if test "${enable_calendar+set}" = set; then
7469 enableval="$enable_calendar"
7470
7471 if test "$enableval" = yes; then
7472 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7473 else
7474 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7475 fi
7476
7477 else
7478
7479 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x ; then
7481 eval "DEFAULT_$LINE"
7482 else
7483 no_cache=1
7484 fi
7485
7486 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487
7488 fi;
7489
7490 eval "$ac_cv_use_calendar"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7493 fi
7494
7495 if test "$wxUSE_CALCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7498 else
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7501 fi
7502
7503
7504 enablestring=
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7507 no_cache=0
7508 # Check whether --enable-caret or --disable-caret was given.
7509 if test "${enable_caret+set}" = set; then
7510 enableval="$enable_caret"
7511
7512 if test "$enableval" = yes; then
7513 ac_cv_use_caret='wxUSE_CARET=yes'
7514 else
7515 ac_cv_use_caret='wxUSE_CARET=no'
7516 fi
7517
7518 else
7519
7520 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x ; then
7522 eval "DEFAULT_$LINE"
7523 else
7524 no_cache=1
7525 fi
7526
7527 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528
7529 fi;
7530
7531 eval "$ac_cv_use_caret"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7534 fi
7535
7536 if test "$wxUSE_CARET" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7539 else
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7542 fi
7543
7544
7545 enablestring=
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7548 no_cache=0
7549 # Check whether --enable-checkbox or --disable-checkbox was given.
7550 if test "${enable_checkbox+set}" = set; then
7551 enableval="$enable_checkbox"
7552
7553 if test "$enableval" = yes; then
7554 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7555 else
7556 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7557 fi
7558
7559 else
7560
7561 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7564 else
7565 no_cache=1
7566 fi
7567
7568 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569
7570 fi;
7571
7572 eval "$ac_cv_use_checkbox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7575 fi
7576
7577 if test "$wxUSE_CHECKBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7580 else
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7583 fi
7584
7585
7586 enablestring=
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7589 no_cache=0
7590 # Check whether --enable-checklst or --disable-checklst was given.
7591 if test "${enable_checklst+set}" = set; then
7592 enableval="$enable_checklst"
7593
7594 if test "$enableval" = yes; then
7595 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7596 else
7597 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7598 fi
7599
7600 else
7601
7602 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x ; then
7604 eval "DEFAULT_$LINE"
7605 else
7606 no_cache=1
7607 fi
7608
7609 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610
7611 fi;
7612
7613 eval "$ac_cv_use_checklst"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7616 fi
7617
7618 if test "$wxUSE_CHECKLST" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7621 else
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7624 fi
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-choice or --disable-choice was given.
7632 if test "${enable_choice+set}" = set; then
7633 enableval="$enable_choice"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choice='wxUSE_CHOICE=yes'
7637 else
7638 ac_cv_use_choice='wxUSE_CHOICE=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651
7652 fi;
7653
7654 eval "$ac_cv_use_choice"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_CHOICE" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-choicebook or --disable-choicebook was given.
7673 if test "${enable_choicebook+set}" = set; then
7674 enableval="$enable_choicebook"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7678 else
7679 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692
7693 fi;
7694
7695 eval "$ac_cv_use_choicebook"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_CHOICEBOOK" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709 enablestring=
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7712 no_cache=0
7713 # Check whether --enable-combobox or --disable-combobox was given.
7714 if test "${enable_combobox+set}" = set; then
7715 enableval="$enable_combobox"
7716
7717 if test "$enableval" = yes; then
7718 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7719 else
7720 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733
7734 fi;
7735
7736 eval "$ac_cv_use_combobox"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_COMBOBOX" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7744 else
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7747 fi
7748
7749
7750 enablestring=
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7753 no_cache=0
7754 # Check whether --enable-datepick or --disable-datepick was given.
7755 if test "${enable_datepick+set}" = set; then
7756 enableval="$enable_datepick"
7757
7758 if test "$enableval" = yes; then
7759 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7760 else
7761 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7762 fi
7763
7764 else
7765
7766 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774
7775 fi;
7776
7777 eval "$ac_cv_use_datepick"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7780 fi
7781
7782 if test "$wxUSE_DATEPICKCTRL" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7785 else
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7788 fi
7789
7790
7791 enablestring=
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7794 no_cache=0
7795 # Check whether --enable-display or --disable-display was given.
7796 if test "${enable_display+set}" = set; then
7797 enableval="$enable_display"
7798
7799 if test "$enableval" = yes; then
7800 ac_cv_use_display='wxUSE_DISPLAY=yes'
7801 else
7802 ac_cv_use_display='wxUSE_DISPLAY=no'
7803 fi
7804
7805 else
7806
7807 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 else
7811 no_cache=1
7812 fi
7813
7814 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815
7816 fi;
7817
7818 eval "$ac_cv_use_display"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7821 fi
7822
7823 if test "$wxUSE_DISPLAY" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7826 else
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7829 fi
7830
7831
7832 enablestring=
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7835 no_cache=0
7836 # Check whether --enable-gauge or --disable-gauge was given.
7837 if test "${enable_gauge+set}" = set; then
7838 enableval="$enable_gauge"
7839
7840 if test "$enableval" = yes; then
7841 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7842 else
7843 ac_cv_use_gauge='wxUSE_GAUGE=no'
7844 fi
7845
7846 else
7847
7848 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7851 else
7852 no_cache=1
7853 fi
7854
7855 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856
7857 fi;
7858
7859 eval "$ac_cv_use_gauge"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7862 fi
7863
7864 if test "$wxUSE_GAUGE" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7867 else
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7870 fi
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-grid or --disable-grid was given.
7878 if test "${enable_grid+set}" = set; then
7879 enableval="$enable_grid"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_grid='wxUSE_GRID=yes'
7883 else
7884 ac_cv_use_grid='wxUSE_GRID=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7892 else
7893 no_cache=1
7894 fi
7895
7896 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897
7898 fi;
7899
7900 eval "$ac_cv_use_grid"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_GRID" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7908 else
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7911 fi
7912
7913
7914 enablestring=
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7917 no_cache=0
7918 # Check whether --enable-imaglist or --disable-imaglist was given.
7919 if test "${enable_imaglist+set}" = set; then
7920 enableval="$enable_imaglist"
7921
7922 if test "$enableval" = yes; then
7923 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7924 else
7925 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7926 fi
7927
7928 else
7929
7930 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x ; then
7932 eval "DEFAULT_$LINE"
7933 else
7934 no_cache=1
7935 fi
7936
7937 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938
7939 fi;
7940
7941 eval "$ac_cv_use_imaglist"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7944 fi
7945
7946 if test "$wxUSE_IMAGLIST" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7949 else
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7952 fi
7953
7954
7955 enablestring=
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7958 no_cache=0
7959 # Check whether --enable-listbook or --disable-listbook was given.
7960 if test "${enable_listbook+set}" = set; then
7961 enableval="$enable_listbook"
7962
7963 if test "$enableval" = yes; then
7964 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7965 else
7966 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7967 fi
7968
7969 else
7970
7971 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x ; then
7973 eval "DEFAULT_$LINE"
7974 else
7975 no_cache=1
7976 fi
7977
7978 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979
7980 fi;
7981
7982 eval "$ac_cv_use_listbook"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7985 fi
7986
7987 if test "$wxUSE_LISTBOOK" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7990 else
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7993 fi
7994
7995
7996 enablestring=
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7999 no_cache=0
8000 # Check whether --enable-listbox or --disable-listbox was given.
8001 if test "${enable_listbox+set}" = set; then
8002 enableval="$enable_listbox"
8003
8004 if test "$enableval" = yes; then
8005 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8006 else
8007 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8008 fi
8009
8010 else
8011
8012 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x ; then
8014 eval "DEFAULT_$LINE"
8015 else
8016 no_cache=1
8017 fi
8018
8019 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020
8021 fi;
8022
8023 eval "$ac_cv_use_listbox"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8026 fi
8027
8028 if test "$wxUSE_LISTBOX" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8031 else
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8034 fi
8035
8036
8037 enablestring=
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8040 no_cache=0
8041 # Check whether --enable-listctrl or --disable-listctrl was given.
8042 if test "${enable_listctrl+set}" = set; then
8043 enableval="$enable_listctrl"
8044
8045 if test "$enableval" = yes; then
8046 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8047 else
8048 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8049 fi
8050
8051 else
8052
8053 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x ; then
8055 eval "DEFAULT_$LINE"
8056 else
8057 no_cache=1
8058 fi
8059
8060 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061
8062 fi;
8063
8064 eval "$ac_cv_use_listctrl"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8067 fi
8068
8069 if test "$wxUSE_LISTCTRL" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8072 else
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8075 fi
8076
8077
8078 enablestring=
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8081 no_cache=0
8082 # Check whether --enable-notebook or --disable-notebook was given.
8083 if test "${enable_notebook+set}" = set; then
8084 enableval="$enable_notebook"
8085
8086 if test "$enableval" = yes; then
8087 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8088 else
8089 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8090 fi
8091
8092 else
8093
8094 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8097 else
8098 no_cache=1
8099 fi
8100
8101 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102
8103 fi;
8104
8105 eval "$ac_cv_use_notebook"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8108 fi
8109
8110 if test "$wxUSE_NOTEBOOK" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8113 else
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8116 fi
8117
8118
8119 enablestring=
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8122 no_cache=0
8123 # Check whether --enable-radiobox or --disable-radiobox was given.
8124 if test "${enable_radiobox+set}" = set; then
8125 enableval="$enable_radiobox"
8126
8127 if test "$enableval" = yes; then
8128 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8129 else
8130 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8131 fi
8132
8133 else
8134
8135 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8138 else
8139 no_cache=1
8140 fi
8141
8142 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143
8144 fi;
8145
8146 eval "$ac_cv_use_radiobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test "$wxUSE_RADIOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8154 else
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8157 fi
8158
8159
8160 enablestring=
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8163 no_cache=0
8164 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8165 if test "${enable_radiobtn+set}" = set; then
8166 enableval="$enable_radiobtn"
8167
8168 if test "$enableval" = yes; then
8169 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8170 else
8171 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8172 fi
8173
8174 else
8175
8176 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8179 else
8180 no_cache=1
8181 fi
8182
8183 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184
8185 fi;
8186
8187 eval "$ac_cv_use_radiobtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8190 fi
8191
8192 if test "$wxUSE_RADIOBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8195 else
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8198 fi
8199
8200
8201 enablestring=
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8204 no_cache=0
8205 # Check whether --enable-sash or --disable-sash was given.
8206 if test "${enable_sash+set}" = set; then
8207 enableval="$enable_sash"
8208
8209 if test "$enableval" = yes; then
8210 ac_cv_use_sash='wxUSE_SASH=yes'
8211 else
8212 ac_cv_use_sash='wxUSE_SASH=no'
8213 fi
8214
8215 else
8216
8217 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8220 else
8221 no_cache=1
8222 fi
8223
8224 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225
8226 fi;
8227
8228 eval "$ac_cv_use_sash"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8231 fi
8232
8233 if test "$wxUSE_SASH" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8236 else
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8239 fi
8240
8241
8242 enablestring=
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8245 no_cache=0
8246 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8247 if test "${enable_scrollbar+set}" = set; then
8248 enableval="$enable_scrollbar"
8249
8250 if test "$enableval" = yes; then
8251 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8252 else
8253 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8254 fi
8255
8256 else
8257
8258 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8261 else
8262 no_cache=1
8263 fi
8264
8265 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266
8267 fi;
8268
8269 eval "$ac_cv_use_scrollbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8272 fi
8273
8274 if test "$wxUSE_SCROLLBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8277 else
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8280 fi
8281
8282
8283 enablestring=
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8286 no_cache=0
8287 # Check whether --enable-slider or --disable-slider was given.
8288 if test "${enable_slider+set}" = set; then
8289 enableval="$enable_slider"
8290
8291 if test "$enableval" = yes; then
8292 ac_cv_use_slider='wxUSE_SLIDER=yes'
8293 else
8294 ac_cv_use_slider='wxUSE_SLIDER=no'
8295 fi
8296
8297 else
8298
8299 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8302 else
8303 no_cache=1
8304 fi
8305
8306 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307
8308 fi;
8309
8310 eval "$ac_cv_use_slider"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8313 fi
8314
8315 if test "$wxUSE_SLIDER" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8318 else
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8321 fi
8322
8323
8324 enablestring=
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8327 no_cache=0
8328 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8329 if test "${enable_spinbtn+set}" = set; then
8330 enableval="$enable_spinbtn"
8331
8332 if test "$enableval" = yes; then
8333 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8334 else
8335 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8336 fi
8337
8338 else
8339
8340 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8343 else
8344 no_cache=1
8345 fi
8346
8347 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348
8349 fi;
8350
8351 eval "$ac_cv_use_spinbtn"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8354 fi
8355
8356 if test "$wxUSE_SPINBTN" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8359 else
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8362 fi
8363
8364
8365 enablestring=
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8368 no_cache=0
8369 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8370 if test "${enable_spinctrl+set}" = set; then
8371 enableval="$enable_spinctrl"
8372
8373 if test "$enableval" = yes; then
8374 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8375 else
8376 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8377 fi
8378
8379 else
8380
8381 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8384 else
8385 no_cache=1
8386 fi
8387
8388 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389
8390 fi;
8391
8392 eval "$ac_cv_use_spinctrl"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8395 fi
8396
8397 if test "$wxUSE_SPINCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8400 else
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8403 fi
8404
8405
8406 enablestring=
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8409 no_cache=0
8410 # Check whether --enable-splitter or --disable-splitter was given.
8411 if test "${enable_splitter+set}" = set; then
8412 enableval="$enable_splitter"
8413
8414 if test "$enableval" = yes; then
8415 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8416 else
8417 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8418 fi
8419
8420 else
8421
8422 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8425 else
8426 no_cache=1
8427 fi
8428
8429 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430
8431 fi;
8432
8433 eval "$ac_cv_use_splitter"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8436 fi
8437
8438 if test "$wxUSE_SPLITTER" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8441 else
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8444 fi
8445
8446
8447 enablestring=
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8450 no_cache=0
8451 # Check whether --enable-statbmp or --disable-statbmp was given.
8452 if test "${enable_statbmp+set}" = set; then
8453 enableval="$enable_statbmp"
8454
8455 if test "$enableval" = yes; then
8456 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8457 else
8458 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8459 fi
8460
8461 else
8462
8463 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8466 else
8467 no_cache=1
8468 fi
8469
8470 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471
8472 fi;
8473
8474 eval "$ac_cv_use_statbmp"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8477 fi
8478
8479 if test "$wxUSE_STATBMP" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8482 else
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8485 fi
8486
8487
8488 enablestring=
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8491 no_cache=0
8492 # Check whether --enable-statbox or --disable-statbox was given.
8493 if test "${enable_statbox+set}" = set; then
8494 enableval="$enable_statbox"
8495
8496 if test "$enableval" = yes; then
8497 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8498 else
8499 ac_cv_use_statbox='wxUSE_STATBOX=no'
8500 fi
8501
8502 else
8503
8504 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8507 else
8508 no_cache=1
8509 fi
8510
8511 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512
8513 fi;
8514
8515 eval "$ac_cv_use_statbox"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8518 fi
8519
8520 if test "$wxUSE_STATBOX" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8523 else
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8526 fi
8527
8528
8529 enablestring=
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8532 no_cache=0
8533 # Check whether --enable-statline or --disable-statline was given.
8534 if test "${enable_statline+set}" = set; then
8535 enableval="$enable_statline"
8536
8537 if test "$enableval" = yes; then
8538 ac_cv_use_statline='wxUSE_STATLINE=yes'
8539 else
8540 ac_cv_use_statline='wxUSE_STATLINE=no'
8541 fi
8542
8543 else
8544
8545 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 else
8549 no_cache=1
8550 fi
8551
8552 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553
8554 fi;
8555
8556 eval "$ac_cv_use_statline"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8559 fi
8560
8561 if test "$wxUSE_STATLINE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8564 else
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 fi
8568
8569
8570 enablestring=
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8573 no_cache=0
8574 # Check whether --enable-stattext or --disable-stattext was given.
8575 if test "${enable_stattext+set}" = set; then
8576 enableval="$enable_stattext"
8577
8578 if test "$enableval" = yes; then
8579 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8580 else
8581 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8582 fi
8583
8584 else
8585
8586 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x ; then
8588 eval "DEFAULT_$LINE"
8589 else
8590 no_cache=1
8591 fi
8592
8593 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594
8595 fi;
8596
8597 eval "$ac_cv_use_stattext"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8600 fi
8601
8602 if test "$wxUSE_STATTEXT" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8605 else
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8608 fi
8609
8610
8611 enablestring=
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8614 no_cache=0
8615 # Check whether --enable-statusbar or --disable-statusbar was given.
8616 if test "${enable_statusbar+set}" = set; then
8617 enableval="$enable_statusbar"
8618
8619 if test "$enableval" = yes; then
8620 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8621 else
8622 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8623 fi
8624
8625 else
8626
8627 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8630 else
8631 no_cache=1
8632 fi
8633
8634 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635
8636 fi;
8637
8638 eval "$ac_cv_use_statusbar"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8641 fi
8642
8643 if test "$wxUSE_STATUSBAR" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8646 else
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8649 fi
8650
8651
8652 enablestring=
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8655 no_cache=0
8656 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8657 if test "${enable_tabdialog+set}" = set; then
8658 enableval="$enable_tabdialog"
8659
8660 if test "$enableval" = yes; then
8661 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8662 else
8663 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8664 fi
8665
8666 else
8667
8668 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 else
8672 no_cache=1
8673 fi
8674
8675 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676
8677 fi;
8678
8679 eval "$ac_cv_use_tabdialog"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8682 fi
8683
8684 if test "$wxUSE_TABDIALOG" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8687 else
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8690 fi
8691
8692
8693 enablestring=
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8696 no_cache=0
8697 # Check whether --enable-textctrl or --disable-textctrl was given.
8698 if test "${enable_textctrl+set}" = set; then
8699 enableval="$enable_textctrl"
8700
8701 if test "$enableval" = yes; then
8702 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8703 else
8704 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8705 fi
8706
8707 else
8708
8709 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8712 else
8713 no_cache=1
8714 fi
8715
8716 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717
8718 fi;
8719
8720 eval "$ac_cv_use_textctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test "$wxUSE_TEXTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8728 else
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8731 fi
8732
8733
8734 enablestring=
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8737 no_cache=0
8738 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8739 if test "${enable_togglebtn+set}" = set; then
8740 enableval="$enable_togglebtn"
8741
8742 if test "$enableval" = yes; then
8743 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8744 else
8745 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8746 fi
8747
8748 else
8749
8750 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8753 else
8754 no_cache=1
8755 fi
8756
8757 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758
8759 fi;
8760
8761 eval "$ac_cv_use_togglebtn"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8764 fi
8765
8766 if test "$wxUSE_TOGGLEBTN" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8769 else
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8772 fi
8773
8774
8775 enablestring=
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8778 no_cache=0
8779 # Check whether --enable-toolbar or --disable-toolbar was given.
8780 if test "${enable_toolbar+set}" = set; then
8781 enableval="$enable_toolbar"
8782
8783 if test "$enableval" = yes; then
8784 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8785 else
8786 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8787 fi
8788
8789 else
8790
8791 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8794 else
8795 no_cache=1
8796 fi
8797
8798 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799
8800 fi;
8801
8802 eval "$ac_cv_use_toolbar"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_TOOLBAR" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8810 else
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8813 fi
8814
8815
8816 enablestring=
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8819 no_cache=0
8820 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8821 if test "${enable_tbarnative+set}" = set; then
8822 enableval="$enable_tbarnative"
8823
8824 if test "$enableval" = yes; then
8825 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8826 else
8827 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8828 fi
8829
8830 else
8831
8832 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 else
8836 no_cache=1
8837 fi
8838
8839 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840
8841 fi;
8842
8843 eval "$ac_cv_use_tbarnative"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8846 fi
8847
8848 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8851 else
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8854 fi
8855
8856
8857 enablestring=
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8860 no_cache=0
8861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8862 if test "${enable_tbarsmpl+set}" = set; then
8863 enableval="$enable_tbarsmpl"
8864
8865 if test "$enableval" = yes; then
8866 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8867 else
8868 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8869 fi
8870
8871 else
8872
8873 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 else
8877 no_cache=1
8878 fi
8879
8880 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881
8882 fi;
8883
8884 eval "$ac_cv_use_tbarsmpl"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8892 else
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8895 fi
8896
8897
8898 enablestring=
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8901 no_cache=0
8902 # Check whether --enable-treectrl or --disable-treectrl was given.
8903 if test "${enable_treectrl+set}" = set; then
8904 enableval="$enable_treectrl"
8905
8906 if test "$enableval" = yes; then
8907 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8908 else
8909 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8910 fi
8911
8912 else
8913
8914 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8917 else
8918 no_cache=1
8919 fi
8920
8921 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922
8923 fi;
8924
8925 eval "$ac_cv_use_treectrl"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8928 fi
8929
8930 if test "$wxUSE_TREECTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8933 else
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8936 fi
8937
8938
8939 enablestring=
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8942 no_cache=0
8943 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8944 if test "${enable_tipwindow+set}" = set; then
8945 enableval="$enable_tipwindow"
8946
8947 if test "$enableval" = yes; then
8948 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8949 else
8950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8951 fi
8952
8953 else
8954
8955 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8958 else
8959 no_cache=1
8960 fi
8961
8962 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963
8964 fi;
8965
8966 eval "$ac_cv_use_tipwindow"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8969 fi
8970
8971 if test "$wxUSE_TIPWINDOW" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8974 else
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8977 fi
8978
8979
8980 enablestring=
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8983 no_cache=0
8984 # Check whether --enable-popupwin or --disable-popupwin was given.
8985 if test "${enable_popupwin+set}" = set; then
8986 enableval="$enable_popupwin"
8987
8988 if test "$enableval" = yes; then
8989 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8990 else
8991 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8992 fi
8993
8994 else
8995
8996 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 else
9000 no_cache=1
9001 fi
9002
9003 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004
9005 fi;
9006
9007 eval "$ac_cv_use_popupwin"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test "$wxUSE_POPUPWIN" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9015 else
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9018 fi
9019
9020
9021
9022
9023 enablestring=
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9026 no_cache=0
9027 # Check whether --enable-commondlg or --disable-commondlg was given.
9028 if test "${enable_commondlg+set}" = set; then
9029 enableval="$enable_commondlg"
9030
9031 if test "$enableval" = yes; then
9032 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9033 else
9034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9035 fi
9036
9037 else
9038
9039 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x ; then
9041 eval "DEFAULT_$LINE"
9042 else
9043 no_cache=1
9044 fi
9045
9046 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047
9048 fi;
9049
9050 eval "$ac_cv_use_commondlg"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9053 fi
9054
9055 if test "$wxUSE_COMMONDLGS" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9058 else
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9061 fi
9062
9063
9064 enablestring=
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9067 no_cache=0
9068 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9069 if test "${enable_choicedlg+set}" = set; then
9070 enableval="$enable_choicedlg"
9071
9072 if test "$enableval" = yes; then
9073 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9074 else
9075 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9076 fi
9077
9078 else
9079
9080 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x ; then
9082 eval "DEFAULT_$LINE"
9083 else
9084 no_cache=1
9085 fi
9086
9087 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088
9089 fi;
9090
9091 eval "$ac_cv_use_choicedlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9094 fi
9095
9096 if test "$wxUSE_CHOICEDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9099 else
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9102 fi
9103
9104
9105 enablestring=
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9108 no_cache=0
9109 # Check whether --enable-coldlg or --disable-coldlg was given.
9110 if test "${enable_coldlg+set}" = set; then
9111 enableval="$enable_coldlg"
9112
9113 if test "$enableval" = yes; then
9114 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9115 else
9116 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9117 fi
9118
9119 else
9120
9121 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9124 else
9125 no_cache=1
9126 fi
9127
9128 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129
9130 fi;
9131
9132 eval "$ac_cv_use_coldlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9135 fi
9136
9137 if test "$wxUSE_COLOURDLG" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9140 else
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9143 fi
9144
9145
9146 enablestring=
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9149 no_cache=0
9150 # Check whether --enable-filedlg or --disable-filedlg was given.
9151 if test "${enable_filedlg+set}" = set; then
9152 enableval="$enable_filedlg"
9153
9154 if test "$enableval" = yes; then
9155 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9156 else
9157 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9158 fi
9159
9160 else
9161
9162 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 else
9166 no_cache=1
9167 fi
9168
9169 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170
9171 fi;
9172
9173 eval "$ac_cv_use_filedlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9176 fi
9177
9178 if test "$wxUSE_FILEDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9181 else
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9184 fi
9185
9186
9187 enablestring=
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9190 no_cache=0
9191 # Check whether --enable-finddlg or --disable-finddlg was given.
9192 if test "${enable_finddlg+set}" = set; then
9193 enableval="$enable_finddlg"
9194
9195 if test "$enableval" = yes; then
9196 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9197 else
9198 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9199 fi
9200
9201 else
9202
9203 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x ; then
9205 eval "DEFAULT_$LINE"
9206 else
9207 no_cache=1
9208 fi
9209
9210 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211
9212 fi;
9213
9214 eval "$ac_cv_use_finddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test "$wxUSE_FINDREPLDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9222 else
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9225 fi
9226
9227
9228 enablestring=
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9231 no_cache=0
9232 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9233 if test "${enable_fontdlg+set}" = set; then
9234 enableval="$enable_fontdlg"
9235
9236 if test "$enableval" = yes; then
9237 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9238 else
9239 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9240 fi
9241
9242 else
9243
9244 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x ; then
9246 eval "DEFAULT_$LINE"
9247 else
9248 no_cache=1
9249 fi
9250
9251 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252
9253 fi;
9254
9255 eval "$ac_cv_use_fontdlg"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9258 fi
9259
9260 if test "$wxUSE_FONTDLG" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9263 else
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9266 fi
9267
9268
9269 enablestring=
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9272 no_cache=0
9273 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9274 if test "${enable_dirdlg+set}" = set; then
9275 enableval="$enable_dirdlg"
9276
9277 if test "$enableval" = yes; then
9278 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9279 else
9280 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9281 fi
9282
9283 else
9284
9285 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 else
9289 no_cache=1
9290 fi
9291
9292 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293
9294 fi;
9295
9296 eval "$ac_cv_use_dirdlg"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9299 fi
9300
9301 if test "$wxUSE_DIRDLG" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9304 else
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9307 fi
9308
9309
9310 enablestring=
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9313 no_cache=0
9314 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9315 if test "${enable_msgdlg+set}" = set; then
9316 enableval="$enable_msgdlg"
9317
9318 if test "$enableval" = yes; then
9319 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9320 else
9321 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9322 fi
9323
9324 else
9325
9326 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9329 else
9330 no_cache=1
9331 fi
9332
9333 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334
9335 fi;
9336
9337 eval "$ac_cv_use_msgdlg"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9340 fi
9341
9342 if test "$wxUSE_MSGDLG" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9345 else
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9348 fi
9349
9350
9351 enablestring=
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9354 no_cache=0
9355 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9356 if test "${enable_numberdlg+set}" = set; then
9357 enableval="$enable_numberdlg"
9358
9359 if test "$enableval" = yes; then
9360 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9361 else
9362 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9363 fi
9364
9365 else
9366
9367 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375
9376 fi;
9377
9378 eval "$ac_cv_use_numberdlg"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9381 fi
9382
9383 if test "$wxUSE_NUMBERDLG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9386 else
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9389 fi
9390
9391
9392 enablestring=
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9395 no_cache=0
9396 # Check whether --enable-splash or --disable-splash was given.
9397 if test "${enable_splash+set}" = set; then
9398 enableval="$enable_splash"
9399
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splash='wxUSE_SPLASH=yes'
9402 else
9403 ac_cv_use_splash='wxUSE_SPLASH=no'
9404 fi
9405
9406 else
9407
9408 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x ; then
9410 eval "DEFAULT_$LINE"
9411 else
9412 no_cache=1
9413 fi
9414
9415 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416
9417 fi;
9418
9419 eval "$ac_cv_use_splash"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9422 fi
9423
9424 if test "$wxUSE_SPLASH" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9427 else
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9430 fi
9431
9432
9433 enablestring=
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9436 no_cache=0
9437 # Check whether --enable-textdlg or --disable-textdlg was given.
9438 if test "${enable_textdlg+set}" = set; then
9439 enableval="$enable_textdlg"
9440
9441 if test "$enableval" = yes; then
9442 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9443 else
9444 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9445 fi
9446
9447 else
9448
9449 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x ; then
9451 eval "DEFAULT_$LINE"
9452 else
9453 no_cache=1
9454 fi
9455
9456 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457
9458 fi;
9459
9460 eval "$ac_cv_use_textdlg"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test "$wxUSE_TEXTDLG" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9468 else
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9471 fi
9472
9473
9474 enablestring=
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9477 no_cache=0
9478 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9479 if test "${enable_tipdlg+set}" = set; then
9480 enableval="$enable_tipdlg"
9481
9482 if test "$enableval" = yes; then
9483 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9484 else
9485 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9486 fi
9487
9488 else
9489
9490 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9493 else
9494 no_cache=1
9495 fi
9496
9497 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498
9499 fi;
9500
9501 eval "$ac_cv_use_tipdlg"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9504 fi
9505
9506 if test "$wxUSE_STARTUP_TIPS" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9509 else
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9512 fi
9513
9514
9515 enablestring=
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9518 no_cache=0
9519 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9520 if test "${enable_progressdlg+set}" = set; then
9521 enableval="$enable_progressdlg"
9522
9523 if test "$enableval" = yes; then
9524 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9525 else
9526 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9527 fi
9528
9529 else
9530
9531 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x ; then
9533 eval "DEFAULT_$LINE"
9534 else
9535 no_cache=1
9536 fi
9537
9538 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539
9540 fi;
9541
9542 eval "$ac_cv_use_progressdlg"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9545 fi
9546
9547 if test "$wxUSE_PROGRESSDLG" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9550 else
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9553 fi
9554
9555
9556 enablestring=
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9559 no_cache=0
9560 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9561 if test "${enable_wizarddlg+set}" = set; then
9562 enableval="$enable_wizarddlg"
9563
9564 if test "$enableval" = yes; then
9565 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9566 else
9567 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9568 fi
9569
9570 else
9571
9572 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x ; then
9574 eval "DEFAULT_$LINE"
9575 else
9576 no_cache=1
9577 fi
9578
9579 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580
9581 fi;
9582
9583 eval "$ac_cv_use_wizarddlg"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test "$wxUSE_WIZARDDLG" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9591 else
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9594 fi
9595
9596
9597
9598
9599 enablestring=
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9602 no_cache=0
9603 # Check whether --enable-menus or --disable-menus was given.
9604 if test "${enable_menus+set}" = set; then
9605 enableval="$enable_menus"
9606
9607 if test "$enableval" = yes; then
9608 ac_cv_use_menus='wxUSE_MENUS=yes'
9609 else
9610 ac_cv_use_menus='wxUSE_MENUS=no'
9611 fi
9612
9613 else
9614
9615 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9618 else
9619 no_cache=1
9620 fi
9621
9622 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623
9624 fi;
9625
9626 eval "$ac_cv_use_menus"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9629 fi
9630
9631 if test "$wxUSE_MENUS" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9634 else
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9637 fi
9638
9639
9640 enablestring=
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9643 no_cache=0
9644 # Check whether --enable-miniframe or --disable-miniframe was given.
9645 if test "${enable_miniframe+set}" = set; then
9646 enableval="$enable_miniframe"
9647
9648 if test "$enableval" = yes; then
9649 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9650 else
9651 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9652 fi
9653
9654 else
9655
9656 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9659 else
9660 no_cache=1
9661 fi
9662
9663 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664
9665 fi;
9666
9667 eval "$ac_cv_use_miniframe"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9670 fi
9671
9672 if test "$wxUSE_MINIFRAME" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9675 else
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9678 fi
9679
9680
9681 enablestring=
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9684 no_cache=0
9685 # Check whether --enable-tooltips or --disable-tooltips was given.
9686 if test "${enable_tooltips+set}" = set; then
9687 enableval="$enable_tooltips"
9688
9689 if test "$enableval" = yes; then
9690 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9691 else
9692 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705
9706 fi;
9707
9708 eval "$ac_cv_use_tooltips"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9711 fi
9712
9713 if test "$wxUSE_TOOLTIPS" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9716 else
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9719 fi
9720
9721
9722 enablestring=
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9725 no_cache=0
9726 # Check whether --enable-splines or --disable-splines was given.
9727 if test "${enable_splines+set}" = set; then
9728 enableval="$enable_splines"
9729
9730 if test "$enableval" = yes; then
9731 ac_cv_use_splines='wxUSE_SPLINES=yes'
9732 else
9733 ac_cv_use_splines='wxUSE_SPLINES=no'
9734 fi
9735
9736 else
9737
9738 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 else
9742 no_cache=1
9743 fi
9744
9745 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746
9747 fi;
9748
9749 eval "$ac_cv_use_splines"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9752 fi
9753
9754 if test "$wxUSE_SPLINES" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9757 else
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9760 fi
9761
9762
9763 enablestring=
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9766 no_cache=0
9767 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9768 if test "${enable_mousewheel+set}" = set; then
9769 enableval="$enable_mousewheel"
9770
9771 if test "$enableval" = yes; then
9772 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9773 else
9774 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9775 fi
9776
9777 else
9778
9779 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9782 else
9783 no_cache=1
9784 fi
9785
9786 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787
9788 fi;
9789
9790 eval "$ac_cv_use_mousewheel"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9793 fi
9794
9795 if test "$wxUSE_MOUSEWHEEL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9798 else
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9801 fi
9802
9803
9804 enablestring=
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9807 no_cache=0
9808 # Check whether --enable-validators or --disable-validators was given.
9809 if test "${enable_validators+set}" = set; then
9810 enableval="$enable_validators"
9811
9812 if test "$enableval" = yes; then
9813 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9814 else
9815 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9816 fi
9817
9818 else
9819
9820 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9823 else
9824 no_cache=1
9825 fi
9826
9827 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828
9829 fi;
9830
9831 eval "$ac_cv_use_validators"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9834 fi
9835
9836 if test "$wxUSE_VALIDATORS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9839 else
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9842 fi
9843
9844
9845 enablestring=
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9848 no_cache=0
9849 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9850 if test "${enable_busyinfo+set}" = set; then
9851 enableval="$enable_busyinfo"
9852
9853 if test "$enableval" = yes; then
9854 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9855 else
9856 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9857 fi
9858
9859 else
9860
9861 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869
9870 fi;
9871
9872 eval "$ac_cv_use_busyinfo"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test "$wxUSE_BUSYINFO" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9883 fi
9884
9885
9886 enablestring=
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9889 no_cache=0
9890 # Check whether --enable-joystick or --disable-joystick was given.
9891 if test "${enable_joystick+set}" = set; then
9892 enableval="$enable_joystick"
9893
9894 if test "$enableval" = yes; then
9895 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9896 else
9897 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9898 fi
9899
9900 else
9901
9902 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9905 else
9906 no_cache=1
9907 fi
9908
9909 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910
9911 fi;
9912
9913 eval "$ac_cv_use_joystick"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9916 fi
9917
9918 if test "$wxUSE_JOYSTICK" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9921 else
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9924 fi
9925
9926
9927 enablestring=
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9930 no_cache=0
9931 # Check whether --enable-metafile or --disable-metafile was given.
9932 if test "${enable_metafile+set}" = set; then
9933 enableval="$enable_metafile"
9934
9935 if test "$enableval" = yes; then
9936 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9937 else
9938 ac_cv_use_metafile='wxUSE_METAFILE=no'
9939 fi
9940
9941 else
9942
9943 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9946 else
9947 no_cache=1
9948 fi
9949
9950 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951
9952 fi;
9953
9954 eval "$ac_cv_use_metafile"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9957 fi
9958
9959 if test "$wxUSE_METAFILE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9962 else
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9965 fi
9966
9967
9968 enablestring=
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9971 no_cache=0
9972 # Check whether --enable-dragimage or --disable-dragimage was given.
9973 if test "${enable_dragimage+set}" = set; then
9974 enableval="$enable_dragimage"
9975
9976 if test "$enableval" = yes; then
9977 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9978 else
9979 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9980 fi
9981
9982 else
9983
9984 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9987 else
9988 no_cache=1
9989 fi
9990
9991 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992
9993 fi;
9994
9995 eval "$ac_cv_use_dragimage"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9998 fi
9999
10000 if test "$wxUSE_DRAGIMAGE" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10003 else
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10006 fi
10007
10008
10009 enablestring=
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10012 no_cache=0
10013 # Check whether --enable-accessibility or --disable-accessibility was given.
10014 if test "${enable_accessibility+set}" = set; then
10015 enableval="$enable_accessibility"
10016
10017 if test "$enableval" = yes; then
10018 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10019 else
10020 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10021 fi
10022
10023 else
10024
10025 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10028 else
10029 no_cache=1
10030 fi
10031
10032 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033
10034 fi;
10035
10036 eval "$ac_cv_use_accessibility"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10039 fi
10040
10041 if test "$wxUSE_ACCESSIBILITY" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10044 else
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10047 fi
10048
10049
10050
10051
10052 enablestring=
10053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10055 no_cache=0
10056 # Check whether --enable-palette or --disable-palette was given.
10057 if test "${enable_palette+set}" = set; then
10058 enableval="$enable_palette"
10059
10060 if test "$enableval" = yes; then
10061 ac_cv_use_palette='wxUSE_PALETTE=yes'
10062 else
10063 ac_cv_use_palette='wxUSE_PALETTE=no'
10064 fi
10065
10066 else
10067
10068 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10069 if test "x$LINE" != x ; then
10070 eval "DEFAULT_$LINE"
10071 else
10072 no_cache=1
10073 fi
10074
10075 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10076
10077 fi;
10078
10079 eval "$ac_cv_use_palette"
10080 if test "$no_cache" != 1; then
10081 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10082 fi
10083
10084 if test "$wxUSE_PALETTE" = yes; then
10085 echo "$as_me:$LINENO: result: yes" >&5
10086 echo "${ECHO_T}yes" >&6
10087 else
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10090 fi
10091
10092
10093 enablestring=
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10096 no_cache=0
10097 # Check whether --enable-image or --disable-image was given.
10098 if test "${enable_image+set}" = set; then
10099 enableval="$enable_image"
10100
10101 if test "$enableval" = yes; then
10102 ac_cv_use_image='wxUSE_IMAGE=yes'
10103 else
10104 ac_cv_use_image='wxUSE_IMAGE=no'
10105 fi
10106
10107 else
10108
10109 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x ; then
10111 eval "DEFAULT_$LINE"
10112 else
10113 no_cache=1
10114 fi
10115
10116 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10117
10118 fi;
10119
10120 eval "$ac_cv_use_image"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10123 fi
10124
10125 if test "$wxUSE_IMAGE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10128 else
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10131 fi
10132
10133
10134 enablestring=
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10137 no_cache=0
10138 # Check whether --enable-gif or --disable-gif was given.
10139 if test "${enable_gif+set}" = set; then
10140 enableval="$enable_gif"
10141
10142 if test "$enableval" = yes; then
10143 ac_cv_use_gif='wxUSE_GIF=yes'
10144 else
10145 ac_cv_use_gif='wxUSE_GIF=no'
10146 fi
10147
10148 else
10149
10150 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x ; then
10152 eval "DEFAULT_$LINE"
10153 else
10154 no_cache=1
10155 fi
10156
10157 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10158
10159 fi;
10160
10161 eval "$ac_cv_use_gif"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10164 fi
10165
10166 if test "$wxUSE_GIF" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10169 else
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10172 fi
10173
10174
10175 enablestring=
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10178 no_cache=0
10179 # Check whether --enable-pcx or --disable-pcx was given.
10180 if test "${enable_pcx+set}" = set; then
10181 enableval="$enable_pcx"
10182
10183 if test "$enableval" = yes; then
10184 ac_cv_use_pcx='wxUSE_PCX=yes'
10185 else
10186 ac_cv_use_pcx='wxUSE_PCX=no'
10187 fi
10188
10189 else
10190
10191 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x ; then
10193 eval "DEFAULT_$LINE"
10194 else
10195 no_cache=1
10196 fi
10197
10198 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10199
10200 fi;
10201
10202 eval "$ac_cv_use_pcx"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10205 fi
10206
10207 if test "$wxUSE_PCX" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10210 else
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10213 fi
10214
10215
10216 enablestring=
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10219 no_cache=0
10220 # Check whether --enable-iff or --disable-iff was given.
10221 if test "${enable_iff+set}" = set; then
10222 enableval="$enable_iff"
10223
10224 if test "$enableval" = yes; then
10225 ac_cv_use_iff='wxUSE_IFF=yes'
10226 else
10227 ac_cv_use_iff='wxUSE_IFF=no'
10228 fi
10229
10230 else
10231
10232 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10235 else
10236 no_cache=1
10237 fi
10238
10239 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10240
10241 fi;
10242
10243 eval "$ac_cv_use_iff"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10246 fi
10247
10248 if test "$wxUSE_IFF" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10251 else
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10254 fi
10255
10256
10257 enablestring=
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10260 no_cache=0
10261 # Check whether --enable-pnm or --disable-pnm was given.
10262 if test "${enable_pnm+set}" = set; then
10263 enableval="$enable_pnm"
10264
10265 if test "$enableval" = yes; then
10266 ac_cv_use_pnm='wxUSE_PNM=yes'
10267 else
10268 ac_cv_use_pnm='wxUSE_PNM=no'
10269 fi
10270
10271 else
10272
10273 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x ; then
10275 eval "DEFAULT_$LINE"
10276 else
10277 no_cache=1
10278 fi
10279
10280 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10281
10282 fi;
10283
10284 eval "$ac_cv_use_pnm"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10287 fi
10288
10289 if test "$wxUSE_PNM" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10292 else
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297
10298 enablestring=
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10301 no_cache=0
10302 # Check whether --enable-xpm or --disable-xpm was given.
10303 if test "${enable_xpm+set}" = set; then
10304 enableval="$enable_xpm"
10305
10306 if test "$enableval" = yes; then
10307 ac_cv_use_xpm='wxUSE_XPM=yes'
10308 else
10309 ac_cv_use_xpm='wxUSE_XPM=no'
10310 fi
10311
10312 else
10313
10314 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x ; then
10316 eval "DEFAULT_$LINE"
10317 else
10318 no_cache=1
10319 fi
10320
10321 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10322
10323 fi;
10324
10325 eval "$ac_cv_use_xpm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10328 fi
10329
10330 if test "$wxUSE_XPM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10333 else
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10336 fi
10337
10338
10339 enablestring=
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10342 no_cache=0
10343 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10344 if test "${enable_ico_cur+set}" = set; then
10345 enableval="$enable_ico_cur"
10346
10347 if test "$enableval" = yes; then
10348 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10349 else
10350 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10351 fi
10352
10353 else
10354
10355 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10358 else
10359 no_cache=1
10360 fi
10361
10362 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10363
10364 fi;
10365
10366 eval "$ac_cv_use_ico_cur"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10369 fi
10370
10371 if test "$wxUSE_ICO_CUR" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10374 else
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10377 fi
10378
10379
10380 fi
10381
10382
10383
10384 # Check whether --with-flavour or --without-flavour was given.
10385 if test "${with_flavour+set}" = set; then
10386 withval="$with_flavour"
10387 WX_FLAVOUR="$withval"
10388 fi;
10389
10390
10391
10392 enablestring=
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10395 no_cache=0
10396 # Check whether --enable-official_build or --disable-official_build was given.
10397 if test "${enable_official_build+set}" = set; then
10398 enableval="$enable_official_build"
10399
10400 if test "$enableval" = yes; then
10401 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10402 else
10403 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10404 fi
10405
10406 else
10407
10408 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x ; then
10410 eval "DEFAULT_$LINE"
10411 else
10412 no_cache=1
10413 fi
10414
10415 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10416
10417 fi;
10418
10419 eval "$ac_cv_use_official_build"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10427 else
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10430 fi
10431
10432 # Check whether --enable-vendor or --disable-vendor was given.
10433 if test "${enable_vendor+set}" = set; then
10434 enableval="$enable_vendor"
10435 VENDOR="$enableval"
10436 fi;
10437 if test "x$VENDOR" = "x"; then
10438 VENDOR="custom"
10439 fi
10440
10441
10442
10443
10444 echo "saving argument cache $wx_arg_cache_file"
10445 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10446
10447
10448
10449 echo "$as_me:$LINENO: checking for toolkit" >&5
10450 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10451
10452 # In Wine, we need to default to MSW, not GTK or MOTIF
10453 if test "$wxUSE_WINE" = "yes"; then
10454 DEFAULT_DEFAULT_wxUSE_GTK=0
10455 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10456 DEFAULT_DEFAULT_wxUSE_MSW=1
10457 wxUSE_SHARED=no
10458 fi
10459
10460
10461 if test "$wxUSE_GUI" = "yes"; then
10462
10463 if test "$USE_BEOS" = 1; then
10464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10466 { (exit 1); exit 1; }; }
10467 fi
10468
10469 if test "$TOOLKIT_GIVEN" = 1; then
10470 for toolkit in `echo $ALL_TOOLKITS`; do
10471 var=wxUSE_$toolkit
10472 eval "value=\$${var}"
10473 if test "x$value" = "xno"; then
10474 eval "$var=0"
10475 elif test "x$value" != "x"; then
10476 eval "$var=1"
10477 fi
10478
10479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10480 eval "wx${toolkit}_VERSION=$value"
10481 fi
10482 done
10483 else
10484 for toolkit in `echo $ALL_TOOLKITS`; do
10485 if test "$has_toolkit_in_cache" != 1; then
10486 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10487 else
10488 var=DEFAULT_wxUSE_$toolkit
10489
10490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10491 if test "x$version" != "x"; then
10492 eval "wx${toolkit}_VERSION=$version"
10493 fi
10494 fi
10495 eval "wxUSE_$toolkit=\$${var}"
10496 done
10497 fi
10498
10499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10500 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10502
10503 case "${host}" in
10504 *-pc-os2_emx | *-pc-os2-emx )
10505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10506 esac
10507
10508 case "$NUM_TOOLKITS" in
10509 1)
10510 ;;
10511 0)
10512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10514 { (exit 1); exit 1; }; }
10515 ;;
10516 *)
10517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10519 { (exit 1); exit 1; }; }
10520 esac
10521
10522 # to be removed when --disable-gtk2 isn't needed
10523 if test "x$wxUSE_GTK2" = "xyes"; then
10524 wxGTK_VERSION=2
10525 elif test "x$wxUSE_GTK2" = "xno"; then
10526 wxGTK_VERSION=1
10527 fi
10528
10529 for toolkit in `echo $ALL_TOOLKITS`; do
10530 var=wxUSE_$toolkit
10531 eval "value=\$${var}"
10532 if test "x$value" != x; then
10533 cache_var=CACHE_$toolkit
10534 eval "cache=\$${cache_var}"
10535 if test "$cache" = 1; then
10536 echo "$var=$value" >> ${wx_arg_cache_file}
10537 eval "version=\$wx${toolkit}_VERSION"
10538 if test "x$version" != "x"; then
10539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10540 fi
10541 fi
10542 if test "$value" = 1; then
10543 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10544 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10545 echo "${ECHO_T}$toolkit_echo" >&6
10546 fi
10547 fi
10548 done
10549 else
10550 if test "x$host_alias" != "x"; then
10551 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10552 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10553 else
10554 echo "$as_me:$LINENO: result: base only" >&5
10555 echo "${ECHO_T}base only" >&6
10556 fi
10557 fi
10558
10559 wants_win32=0
10560 doesnt_want_win32=0
10561 case "${host}" in
10562 *-*-cygwin*)
10563 if test "$wxUSE_MSW" = 1 ; then
10564 wants_win32=1
10565 else
10566 doesnt_want_win32=1
10567 fi
10568 ;;
10569 *-*-mingw*)
10570 wants_win32=1
10571 ;;
10572 esac
10573
10574 if test "$wxUSE_WINE" = "yes"; then
10575 wants_win32=1
10576 CC=winegcc
10577 CXX=wineg++
10578 RESCOMP=wrc
10579 LDFLAGS_GUI="-mwindows"
10580 fi
10581
10582 if test "$wants_win32" = 1 ; then
10583 USE_UNIX=0
10584 USE_WIN32=1
10585 cat >>confdefs.h <<\_ACEOF
10586 #define __WIN32__ 1
10587 _ACEOF
10588
10589 cat >>confdefs.h <<\_ACEOF
10590 #define __WIN95__ 1
10591 _ACEOF
10592
10593 cat >>confdefs.h <<\_ACEOF
10594 #define __WINDOWS__ 1
10595 _ACEOF
10596
10597 cat >>confdefs.h <<\_ACEOF
10598 #define __GNUWIN32__ 1
10599 _ACEOF
10600
10601 cat >>confdefs.h <<\_ACEOF
10602 #define STRICT 1
10603 _ACEOF
10604
10605 cat >>confdefs.h <<\_ACEOF
10606 #define WINVER 0x0400
10607 _ACEOF
10608
10609 fi
10610 if test "$doesnt_want_win32" = 1 ; then
10611 USE_UNIX=1
10612 USE_WIN32=0
10613 fi
10614
10615 if test "$USE_UNIX" = 1 ; then
10616 wxUSE_UNIX=yes
10617 cat >>confdefs.h <<\_ACEOF
10618 #define __UNIX__ 1
10619 _ACEOF
10620
10621 fi
10622
10623
10624 cat >confcache <<\_ACEOF
10625 # This file is a shell script that caches the results of configure
10626 # tests run on this system so they can be shared between configure
10627 # scripts and configure runs, see configure's option --config-cache.
10628 # It is not useful on other systems. If it contains results you don't
10629 # want to keep, you may remove or edit it.
10630 #
10631 # config.status only pays attention to the cache file if you give it
10632 # the --recheck option to rerun configure.
10633 #
10634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10636 # following values.
10637
10638 _ACEOF
10639
10640 # The following way of writing the cache mishandles newlines in values,
10641 # but we know of no workaround that is simple, portable, and efficient.
10642 # So, don't put newlines in cache variables' values.
10643 # Ultrix sh set writes to stderr and can't be redirected directly,
10644 # and sets the high bit in the cache file unless we assign to the vars.
10645 {
10646 (set) 2>&1 |
10647 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10648 *ac_space=\ *)
10649 # `set' does not quote correctly, so add quotes (double-quote
10650 # substitution turns \\\\ into \\, and sed turns \\ into \).
10651 sed -n \
10652 "s/'/'\\\\''/g;
10653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10654 ;;
10655 *)
10656 # `set' quotes correctly as required by POSIX, so do not add quotes.
10657 sed -n \
10658 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10659 ;;
10660 esac;
10661 } |
10662 sed '
10663 t clear
10664 : clear
10665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10666 t end
10667 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10668 : end' >>confcache
10669 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10670 if test -w $cache_file; then
10671 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10672 cat confcache >$cache_file
10673 else
10674 echo "not updating unwritable cache $cache_file"
10675 fi
10676 fi
10677 rm -f confcache
10678
10679 if test "$build" != "$host" ; then
10680 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10681 CC=$host_alias-gcc
10682 CXX=$host_alias-c++
10683 AR=$host_alias-ar
10684 RANLIB=$host_alias-ranlib
10685 DLLTOOL=$host_alias-dlltool
10686 RESCOMP=$host_alias-windres
10687 STRIP=$host_alias-strip
10688 elif test "x$CC" '!=' "x"; then
10689 echo "You set CC, I assume you know what you are doing."
10690 else
10691 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10692 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10693 { (exit 1); exit 1; }; }
10694 fi
10695 fi
10696
10697 CFLAGS=${CFLAGS:=}
10698
10699
10700 ac_ext=c
10701 ac_cpp='$CPP $CPPFLAGS'
10702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10705 if test -n "$ac_tool_prefix"; then
10706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10707 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10708 echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10710 if test "${ac_cv_prog_CC+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 else
10713 if test -n "$CC"; then
10714 ac_cv_prog_CC="$CC" # Let the user override the test.
10715 else
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717 for as_dir in $PATH
10718 do
10719 IFS=$as_save_IFS
10720 test -z "$as_dir" && as_dir=.
10721 for ac_exec_ext in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10725 break 2
10726 fi
10727 done
10728 done
10729
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 "$ac_cv_prog_CC"; then
10743 ac_ct_CC=$CC
10744 # Extract the first word of "gcc", so it can be a program name with args.
10745 set dummy gcc; ac_word=$2
10746 echo "$as_me:$LINENO: checking for $ac_word" >&5
10747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10750 else
10751 if test -n "$ac_ct_CC"; then
10752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10753 else
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $PATH
10756 do
10757 IFS=$as_save_IFS
10758 test -z "$as_dir" && as_dir=.
10759 for ac_exec_ext in '' $ac_executable_extensions; do
10760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10761 ac_cv_prog_ac_ct_CC="gcc"
10762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10763 break 2
10764 fi
10765 done
10766 done
10767
10768 fi
10769 fi
10770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10771 if test -n "$ac_ct_CC"; then
10772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10773 echo "${ECHO_T}$ac_ct_CC" >&6
10774 else
10775 echo "$as_me:$LINENO: result: no" >&5
10776 echo "${ECHO_T}no" >&6
10777 fi
10778
10779 CC=$ac_ct_CC
10780 else
10781 CC="$ac_cv_prog_CC"
10782 fi
10783
10784 if test -z "$CC"; then
10785 if test -n "$ac_tool_prefix"; then
10786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10787 set dummy ${ac_tool_prefix}cc; ac_word=$2
10788 echo "$as_me:$LINENO: checking for $ac_word" >&5
10789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10790 if test "${ac_cv_prog_CC+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 else
10793 if test -n "$CC"; then
10794 ac_cv_prog_CC="$CC" # Let the user override the test.
10795 else
10796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10797 for as_dir in $PATH
10798 do
10799 IFS=$as_save_IFS
10800 test -z "$as_dir" && as_dir=.
10801 for ac_exec_ext in '' $ac_executable_extensions; do
10802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10803 ac_cv_prog_CC="${ac_tool_prefix}cc"
10804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10805 break 2
10806 fi
10807 done
10808 done
10809
10810 fi
10811 fi
10812 CC=$ac_cv_prog_CC
10813 if test -n "$CC"; then
10814 echo "$as_me:$LINENO: result: $CC" >&5
10815 echo "${ECHO_T}$CC" >&6
10816 else
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10819 fi
10820
10821 fi
10822 if test -z "$ac_cv_prog_CC"; then
10823 ac_ct_CC=$CC
10824 # Extract the first word of "cc", so it can be a program name with args.
10825 set dummy cc; ac_word=$2
10826 echo "$as_me:$LINENO: checking for $ac_word" >&5
10827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 else
10831 if test -n "$ac_ct_CC"; then
10832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10833 else
10834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10835 for as_dir in $PATH
10836 do
10837 IFS=$as_save_IFS
10838 test -z "$as_dir" && as_dir=.
10839 for ac_exec_ext in '' $ac_executable_extensions; do
10840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10841 ac_cv_prog_ac_ct_CC="cc"
10842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10843 break 2
10844 fi
10845 done
10846 done
10847
10848 fi
10849 fi
10850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10851 if test -n "$ac_ct_CC"; then
10852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10853 echo "${ECHO_T}$ac_ct_CC" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859 CC=$ac_ct_CC
10860 else
10861 CC="$ac_cv_prog_CC"
10862 fi
10863
10864 fi
10865 if test -z "$CC"; then
10866 # Extract the first word of "cc", so it can be a program name with args.
10867 set dummy cc; ac_word=$2
10868 echo "$as_me:$LINENO: checking for $ac_word" >&5
10869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10870 if test "${ac_cv_prog_CC+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873 if test -n "$CC"; then
10874 ac_cv_prog_CC="$CC" # Let the user override the test.
10875 else
10876 ac_prog_rejected=no
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $PATH
10879 do
10880 IFS=$as_save_IFS
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10885 ac_prog_rejected=yes
10886 continue
10887 fi
10888 ac_cv_prog_CC="cc"
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10890 break 2
10891 fi
10892 done
10893 done
10894
10895 if test $ac_prog_rejected = yes; then
10896 # We found a bogon in the path, so make sure we never use it.
10897 set dummy $ac_cv_prog_CC
10898 shift
10899 if test $# != 0; then
10900 # We chose a different compiler from the bogus one.
10901 # However, it has the same basename, so the bogon will be chosen
10902 # first if we set CC to just the basename; use the full file name.
10903 shift
10904 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10905 fi
10906 fi
10907 fi
10908 fi
10909 CC=$ac_cv_prog_CC
10910 if test -n "$CC"; then
10911 echo "$as_me:$LINENO: result: $CC" >&5
10912 echo "${ECHO_T}$CC" >&6
10913 else
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10916 fi
10917
10918 fi
10919 if test -z "$CC"; then
10920 if test -n "$ac_tool_prefix"; then
10921 for ac_prog in cl
10922 do
10923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10925 echo "$as_me:$LINENO: checking for $ac_word" >&5
10926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10927 if test "${ac_cv_prog_CC+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6
10929 else
10930 if test -n "$CC"; then
10931 ac_cv_prog_CC="$CC" # Let the user override the test.
10932 else
10933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10934 for as_dir in $PATH
10935 do
10936 IFS=$as_save_IFS
10937 test -z "$as_dir" && as_dir=.
10938 for ac_exec_ext in '' $ac_executable_extensions; do
10939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10942 break 2
10943 fi
10944 done
10945 done
10946
10947 fi
10948 fi
10949 CC=$ac_cv_prog_CC
10950 if test -n "$CC"; then
10951 echo "$as_me:$LINENO: result: $CC" >&5
10952 echo "${ECHO_T}$CC" >&6
10953 else
10954 echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6
10956 fi
10957
10958 test -n "$CC" && break
10959 done
10960 fi
10961 if test -z "$CC"; then
10962 ac_ct_CC=$CC
10963 for ac_prog in cl
10964 do
10965 # Extract the first word of "$ac_prog", so it can be a program name with args.
10966 set dummy $ac_prog; ac_word=$2
10967 echo "$as_me:$LINENO: checking for $ac_word" >&5
10968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 else
10972 if test -n "$ac_ct_CC"; then
10973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10974 else
10975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10976 for as_dir in $PATH
10977 do
10978 IFS=$as_save_IFS
10979 test -z "$as_dir" && as_dir=.
10980 for ac_exec_ext in '' $ac_executable_extensions; do
10981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_prog_ac_ct_CC="$ac_prog"
10983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10984 break 2
10985 fi
10986 done
10987 done
10988
10989 fi
10990 fi
10991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10992 if test -n "$ac_ct_CC"; then
10993 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10994 echo "${ECHO_T}$ac_ct_CC" >&6
10995 else
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
10998 fi
10999
11000 test -n "$ac_ct_CC" && break
11001 done
11002
11003 CC=$ac_ct_CC
11004 fi
11005
11006 fi
11007
11008
11009 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11010 See \`config.log' for more details." >&5
11011 echo "$as_me: error: no acceptable C compiler found in \$PATH
11012 See \`config.log' for more details." >&2;}
11013 { (exit 1); exit 1; }; }
11014
11015 # Provide some information about the compiler.
11016 echo "$as_me:$LINENO:" \
11017 "checking for C compiler version" >&5
11018 ac_compiler=`set X $ac_compile; echo $2`
11019 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11020 (eval $ac_compiler --version </dev/null >&5) 2>&5
11021 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }
11024 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11025 (eval $ac_compiler -v </dev/null >&5) 2>&5
11026 ac_status=$?
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11030 (eval $ac_compiler -V </dev/null >&5) 2>&5
11031 ac_status=$?
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11034
11035 cat >conftest.$ac_ext <<_ACEOF
11036 /* confdefs.h. */
11037 _ACEOF
11038 cat confdefs.h >>conftest.$ac_ext
11039 cat >>conftest.$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11041
11042 int
11043 main ()
11044 {
11045
11046 ;
11047 return 0;
11048 }
11049 _ACEOF
11050 ac_clean_files_save=$ac_clean_files
11051 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11052 # Try to create an executable without -o first, disregard a.out.
11053 # It will help us diagnose broken compilers, and finding out an intuition
11054 # of exeext.
11055 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11056 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11057 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11059 (eval $ac_link_default) 2>&5
11060 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; then
11063 # Find the output, starting from the most likely. This scheme is
11064 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11065 # resort.
11066
11067 # Be careful to initialize this variable, since it used to be cached.
11068 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11069 ac_cv_exeext=
11070 # b.out is created by i960 compilers.
11071 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11072 do
11073 test -f "$ac_file" || continue
11074 case $ac_file in
11075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11076 ;;
11077 conftest.$ac_ext )
11078 # This is the source file.
11079 ;;
11080 [ab].out )
11081 # We found the default executable, but exeext='' is most
11082 # certainly right.
11083 break;;
11084 *.* )
11085 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11086 # FIXME: I believe we export ac_cv_exeext for Libtool,
11087 # but it would be cool to find out if it's true. Does anybody
11088 # maintain Libtool? --akim.
11089 export ac_cv_exeext
11090 break;;
11091 * )
11092 break;;
11093 esac
11094 done
11095 else
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.$ac_ext >&5
11098
11099 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11100 See \`config.log' for more details." >&5
11101 echo "$as_me: error: C compiler cannot create executables
11102 See \`config.log' for more details." >&2;}
11103 { (exit 77); exit 77; }; }
11104 fi
11105
11106 ac_exeext=$ac_cv_exeext
11107 echo "$as_me:$LINENO: result: $ac_file" >&5
11108 echo "${ECHO_T}$ac_file" >&6
11109
11110 # Check the compiler produces executables we can run. If not, either
11111 # the compiler is broken, or we cross compile.
11112 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11115 # If not cross compiling, check that we can run a simple program.
11116 if test "$cross_compiling" != yes; then
11117 if { ac_try='./$ac_file'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11120 ac_status=$?
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; }; then
11123 cross_compiling=no
11124 else
11125 if test "$cross_compiling" = maybe; then
11126 cross_compiling=yes
11127 else
11128 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11129 If you meant to cross compile, use \`--host'.
11130 See \`config.log' for more details." >&5
11131 echo "$as_me: error: cannot run C compiled programs.
11132 If you meant to cross compile, use \`--host'.
11133 See \`config.log' for more details." >&2;}
11134 { (exit 1); exit 1; }; }
11135 fi
11136 fi
11137 fi
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11140
11141 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11142 ac_clean_files=$ac_clean_files_save
11143 # Check the compiler produces executables we can run. If not, either
11144 # the compiler is broken, or we cross compile.
11145 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11146 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11147 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11148 echo "${ECHO_T}$cross_compiling" >&6
11149
11150 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11151 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11153 (eval $ac_link) 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; then
11157 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11158 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11159 # work properly (i.e., refer to `conftest.exe'), while it won't with
11160 # `rm'.
11161 for ac_file in conftest.exe conftest conftest.*; do
11162 test -f "$ac_file" || continue
11163 case $ac_file in
11164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11165 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11166 export ac_cv_exeext
11167 break;;
11168 * ) break;;
11169 esac
11170 done
11171 else
11172 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11175 See \`config.log' for more details." >&2;}
11176 { (exit 1); exit 1; }; }
11177 fi
11178
11179 rm -f conftest$ac_cv_exeext
11180 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11181 echo "${ECHO_T}$ac_cv_exeext" >&6
11182
11183 rm -f conftest.$ac_ext
11184 EXEEXT=$ac_cv_exeext
11185 ac_exeext=$EXEEXT
11186 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11187 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11188 if test "${ac_cv_objext+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h. */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11197
11198 int
11199 main ()
11200 {
11201
11202 ;
11203 return 0;
11204 }
11205 _ACEOF
11206 rm -f conftest.o conftest.obj
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208 (eval $ac_compile) 2>&5
11209 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; then
11212 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11213 case $ac_file in
11214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11215 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11216 break;;
11217 esac
11218 done
11219 else
11220 echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.$ac_ext >&5
11222
11223 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11224 See \`config.log' for more details." >&5
11225 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11226 See \`config.log' for more details." >&2;}
11227 { (exit 1); exit 1; }; }
11228 fi
11229
11230 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11231 fi
11232 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11233 echo "${ECHO_T}$ac_cv_objext" >&6
11234 OBJEXT=$ac_cv_objext
11235 ac_objext=$OBJEXT
11236 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11237 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11238 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 else
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h. */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247
11248 int
11249 main ()
11250 {
11251 #ifndef __GNUC__
11252 choke me
11253 #endif
11254
11255 ;
11256 return 0;
11257 }
11258 _ACEOF
11259 rm -f conftest.$ac_objext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>conftest.er1
11262 ac_status=$?
11263 grep -v '^ *+' conftest.er1 >conftest.err
11264 rm -f conftest.er1
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try='test -z "$ac_c_werror_flag" || 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_compiler_gnu=yes
11281 else
11282 echo "$as_me: failed program was:" >&5
11283 sed 's/^/| /' conftest.$ac_ext >&5
11284
11285 ac_compiler_gnu=no
11286 fi
11287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11289
11290 fi
11291 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11292 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11293 GCC=`test $ac_compiler_gnu = yes && echo yes`
11294 ac_test_CFLAGS=${CFLAGS+set}
11295 ac_save_CFLAGS=$CFLAGS
11296 CFLAGS="-g"
11297 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11298 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11299 if test "${ac_cv_prog_cc_g+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 else
11302 cat >conftest.$ac_ext <<_ACEOF
11303 /* confdefs.h. */
11304 _ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308
11309 int
11310 main ()
11311 {
11312
11313 ;
11314 return 0;
11315 }
11316 _ACEOF
11317 rm -f conftest.$ac_objext
11318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11319 (eval $ac_compile) 2>conftest.er1
11320 ac_status=$?
11321 grep -v '^ *+' conftest.er1 >conftest.err
11322 rm -f conftest.er1
11323 cat conftest.err >&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } &&
11326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5
11329 ac_status=$?
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; } &&
11332 { ac_try='test -s conftest.$ac_objext'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11335 ac_status=$?
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_cv_prog_cc_g=yes
11339 else
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.$ac_ext >&5
11342
11343 ac_cv_prog_cc_g=no
11344 fi
11345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11346 fi
11347 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11348 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11349 if test "$ac_test_CFLAGS" = set; then
11350 CFLAGS=$ac_save_CFLAGS
11351 elif test $ac_cv_prog_cc_g = yes; then
11352 if test "$GCC" = yes; then
11353 CFLAGS="-g -O2"
11354 else
11355 CFLAGS="-g"
11356 fi
11357 else
11358 if test "$GCC" = yes; then
11359 CFLAGS="-O2"
11360 else
11361 CFLAGS=
11362 fi
11363 fi
11364 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11365 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11366 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11368 else
11369 ac_cv_prog_cc_stdc=no
11370 ac_save_CC=$CC
11371 cat >conftest.$ac_ext <<_ACEOF
11372 /* confdefs.h. */
11373 _ACEOF
11374 cat confdefs.h >>conftest.$ac_ext
11375 cat >>conftest.$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11377 #include <stdarg.h>
11378 #include <stdio.h>
11379 #include <sys/types.h>
11380 #include <sys/stat.h>
11381 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11382 struct buf { int x; };
11383 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11384 static char *e (p, i)
11385 char **p;
11386 int i;
11387 {
11388 return p[i];
11389 }
11390 static char *f (char * (*g) (char **, int), char **p, ...)
11391 {
11392 char *s;
11393 va_list v;
11394 va_start (v,p);
11395 s = g (p, va_arg (v,int));
11396 va_end (v);
11397 return s;
11398 }
11399
11400 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11401 function prototypes and stuff, but not '\xHH' hex character constants.
11402 These don't provoke an error unfortunately, instead are silently treated
11403 as 'x'. The following induces an error, until -std1 is added to get
11404 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11405 array size at least. It's necessary to write '\x00'==0 to get something
11406 that's true only with -std1. */
11407 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11408
11409 int test (int i, double x);
11410 struct s1 {int (*f) (int a);};
11411 struct s2 {int (*f) (double a);};
11412 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11413 int argc;
11414 char **argv;
11415 int
11416 main ()
11417 {
11418 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11419 ;
11420 return 0;
11421 }
11422 _ACEOF
11423 # Don't try gcc -ansi; that turns off useful extensions and
11424 # breaks some systems' header files.
11425 # AIX -qlanglvl=ansi
11426 # Ultrix and OSF/1 -std1
11427 # HP-UX 10.20 and later -Ae
11428 # HP-UX older versions -Aa -D_HPUX_SOURCE
11429 # SVR4 -Xc -D__EXTENSIONS__
11430 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11431 do
11432 CC="$ac_save_CC $ac_arg"
11433 rm -f conftest.$ac_objext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>conftest.er1
11436 ac_status=$?
11437 grep -v '^ *+' conftest.er1 >conftest.err
11438 rm -f conftest.er1
11439 cat conftest.err >&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } &&
11442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444 (eval $ac_try) 2>&5
11445 ac_status=$?
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; } &&
11448 { ac_try='test -s conftest.$ac_objext'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11451 ac_status=$?
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; }; then
11454 ac_cv_prog_cc_stdc=$ac_arg
11455 break
11456 else
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.$ac_ext >&5
11459
11460 fi
11461 rm -f conftest.err conftest.$ac_objext
11462 done
11463 rm -f conftest.$ac_ext conftest.$ac_objext
11464 CC=$ac_save_CC
11465
11466 fi
11467
11468 case "x$ac_cv_prog_cc_stdc" in
11469 x|xno)
11470 echo "$as_me:$LINENO: result: none needed" >&5
11471 echo "${ECHO_T}none needed" >&6 ;;
11472 *)
11473 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11474 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11475 CC="$CC $ac_cv_prog_cc_stdc" ;;
11476 esac
11477
11478 # Some people use a C++ compiler to compile C. Since we use `exit',
11479 # in C++ we need to declare it. In case someone uses the same compiler
11480 # for both compiling C and C++ we need to have the C++ compiler decide
11481 # the declaration of exit, since it's the most demanding environment.
11482 cat >conftest.$ac_ext <<_ACEOF
11483 #ifndef __cplusplus
11484 choke me
11485 #endif
11486 _ACEOF
11487 rm -f conftest.$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11499 ac_status=$?
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try='test -s conftest.$ac_objext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11505 ac_status=$?
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11508 for ac_declaration in \
11509 '' \
11510 'extern "C" void std::exit (int) throw (); using std::exit;' \
11511 'extern "C" void std::exit (int); using std::exit;' \
11512 'extern "C" void exit (int) throw ();' \
11513 'extern "C" void exit (int);' \
11514 'void exit (int);'
11515 do
11516 cat >conftest.$ac_ext <<_ACEOF
11517 /* confdefs.h. */
11518 _ACEOF
11519 cat confdefs.h >>conftest.$ac_ext
11520 cat >>conftest.$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11522 $ac_declaration
11523 #include <stdlib.h>
11524 int
11525 main ()
11526 {
11527 exit (42);
11528 ;
11529 return 0;
11530 }
11531 _ACEOF
11532 rm -f conftest.$ac_objext
11533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11534 (eval $ac_compile) 2>conftest.er1
11535 ac_status=$?
11536 grep -v '^ *+' conftest.er1 >conftest.err
11537 rm -f conftest.er1
11538 cat conftest.err >&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11544 ac_status=$?
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; } &&
11547 { ac_try='test -s conftest.$ac_objext'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11550 ac_status=$?
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; }; then
11553 :
11554 else
11555 echo "$as_me: failed program was:" >&5
11556 sed 's/^/| /' conftest.$ac_ext >&5
11557
11558 continue
11559 fi
11560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11561 cat >conftest.$ac_ext <<_ACEOF
11562 /* confdefs.h. */
11563 _ACEOF
11564 cat confdefs.h >>conftest.$ac_ext
11565 cat >>conftest.$ac_ext <<_ACEOF
11566 /* end confdefs.h. */
11567 $ac_declaration
11568 int
11569 main ()
11570 {
11571 exit (42);
11572 ;
11573 return 0;
11574 }
11575 _ACEOF
11576 rm -f conftest.$ac_objext
11577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11578 (eval $ac_compile) 2>conftest.er1
11579 ac_status=$?
11580 grep -v '^ *+' conftest.er1 >conftest.err
11581 rm -f conftest.er1
11582 cat conftest.err >&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); } &&
11585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11587 (eval $ac_try) 2>&5
11588 ac_status=$?
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); }; } &&
11591 { ac_try='test -s conftest.$ac_objext'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11594 ac_status=$?
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; }; then
11597 break
11598 else
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11601
11602 fi
11603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11604 done
11605 rm -f conftest*
11606 if test -n "$ac_declaration"; then
11607 echo '#ifdef __cplusplus' >>confdefs.h
11608 echo $ac_declaration >>confdefs.h
11609 echo '#endif' >>confdefs.h
11610 fi
11611
11612 else
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.$ac_ext >&5
11615
11616 fi
11617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11618 ac_ext=c
11619 ac_cpp='$CPP $CPPFLAGS'
11620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11623
11624 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11625 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11626 if test "${wx_cv_c_exto+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11628 else
11629 cat >conftest.$ac_ext <<_ACEOF
11630 /* confdefs.h. */
11631 _ACEOF
11632 cat confdefs.h >>conftest.$ac_ext
11633 cat >>conftest.$ac_ext <<_ACEOF
11634 /* end confdefs.h. */
11635
11636 int
11637 main ()
11638 {
11639
11640 ;
11641 return 0;
11642 }
11643 _ACEOF
11644 rm -f conftest.$ac_objext conftest.$ac_ext.o
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>&5
11647 ac_status=$?
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; then
11650 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11651 case $ac_file in
11652 conftest.$ac_ext.o)
11653 wx_cv_c_exto="-ext o"
11654 ;;
11655 *)
11656 ;;
11657 esac
11658 done
11659 else
11660 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11661 See \`config.log' for more details." >&5
11662 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11663 See \`config.log' for more details." >&2;}
11664 { (exit 1); exit 1; }; }
11665
11666 fi
11667
11668 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11669
11670 fi
11671 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11672 echo "${ECHO_T}$wx_cv_c_exto" >&6
11673 if test "x$wx_cv_c_exto" '!=' "x"; then
11674 if test "c" = "c"; then
11675 CFLAGS="$wx_cv_c_exto $CFLAGS"
11676 fi
11677 if test "c" = "cxx"; then
11678 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11679 fi
11680 fi
11681
11682 if test "x$wx_cv_c_exto" '!=' "x"; then
11683 unset ac_cv_prog_cc_g
11684 ac_test_CFLAGS=${CFLAGS+set}
11685 ac_save_CFLAGS=$CFLAGS
11686 CFLAGS="-g"
11687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11689 if test "${ac_cv_prog_cc_g+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 else
11692 cat >conftest.$ac_ext <<_ACEOF
11693 /* confdefs.h. */
11694 _ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11698
11699 int
11700 main ()
11701 {
11702
11703 ;
11704 return 0;
11705 }
11706 _ACEOF
11707 rm -f conftest.$ac_objext
11708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11709 (eval $ac_compile) 2>conftest.er1
11710 ac_status=$?
11711 grep -v '^ *+' conftest.er1 >conftest.err
11712 rm -f conftest.er1
11713 cat conftest.err >&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } &&
11716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11719 ac_status=$?
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try='test -s conftest.$ac_objext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11725 ac_status=$?
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_cv_prog_cc_g=yes
11729 else
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11732
11733 ac_cv_prog_cc_g=no
11734 fi
11735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11736 fi
11737 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11738 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11739 if test "$ac_test_CFLAGS" = set; then
11740 CFLAGS=$ac_save_CFLAGS
11741 elif test $ac_cv_prog_cc_g = yes; then
11742 if test "$GCC" = yes; then
11743 CFLAGS="-g -O2"
11744 else
11745 CFLAGS="-g"
11746 fi
11747 else
11748 if test "$GCC" = yes; then
11749 CFLAGS="-O2"
11750 else
11751 CFLAGS=
11752 fi
11753 fi
11754 fi
11755 ac_ext=c
11756 ac_cpp='$CPP $CPPFLAGS'
11757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11760
11761 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11762 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11763 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 else
11766 cat >conftest.$ac_ext <<_ACEOF
11767 /* confdefs.h. */
11768 _ACEOF
11769 cat confdefs.h >>conftest.$ac_ext
11770 cat >>conftest.$ac_ext <<_ACEOF
11771 /* end confdefs.h. */
11772
11773 int
11774 main ()
11775 {
11776 #ifndef __MWERKS__
11777 choke me
11778 #endif
11779
11780 ;
11781 return 0;
11782 }
11783 _ACEOF
11784 rm -f conftest.$ac_objext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11786 (eval $ac_compile) 2>conftest.er1
11787 ac_status=$?
11788 grep -v '^ *+' conftest.er1 >conftest.err
11789 rm -f conftest.er1
11790 cat conftest.err >&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } &&
11793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11796 ac_status=$?
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; } &&
11799 { ac_try='test -s conftest.$ac_objext'
11800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 (eval $ac_try) 2>&5
11802 ac_status=$?
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); }; }; then
11805 bakefile_compiler_mwerks=yes
11806 else
11807 echo "$as_me: failed program was:" >&5
11808 sed 's/^/| /' conftest.$ac_ext >&5
11809
11810 bakefile_compiler_mwerks=no
11811 fi
11812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11813 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11814
11815 fi
11816 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11817 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11818
11819 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11820 ac_ext=c
11821 ac_cpp='$CPP $CPPFLAGS'
11822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11825
11826
11827 ac_ext=c
11828 ac_cpp='$CPP $CPPFLAGS'
11829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11832
11833 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11834 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11835 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 else
11838 cat >conftest.$ac_ext <<_ACEOF
11839 /* confdefs.h. */
11840 _ACEOF
11841 cat confdefs.h >>conftest.$ac_ext
11842 cat >>conftest.$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844
11845 int
11846 main ()
11847 {
11848 #ifndef __xlC__
11849 choke me
11850 #endif
11851
11852 ;
11853 return 0;
11854 }
11855 _ACEOF
11856 rm -f conftest.$ac_objext
11857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11858 (eval $ac_compile) 2>conftest.er1
11859 ac_status=$?
11860 grep -v '^ *+' conftest.er1 >conftest.err
11861 rm -f conftest.er1
11862 cat conftest.err >&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11868 ac_status=$?
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; } &&
11871 { ac_try='test -s conftest.$ac_objext'
11872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5
11874 ac_status=$?
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; }; then
11877 wx_compiler_xlc=yes
11878 else
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11881
11882 wx_compiler_xlc=no
11883 fi
11884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11885 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11886
11887 fi
11888 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11889 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11890
11891 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11892 ac_ext=c
11893 ac_cpp='$CPP $CPPFLAGS'
11894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11897
11898
11899
11900
11901 ac_ext=c
11902 ac_cpp='$CPP $CPPFLAGS'
11903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11906
11907 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11908 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11909 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11910 echo $ECHO_N "(cached) $ECHO_C" >&6
11911 else
11912 cat >conftest.$ac_ext <<_ACEOF
11913 /* confdefs.h. */
11914 _ACEOF
11915 cat confdefs.h >>conftest.$ac_ext
11916 cat >>conftest.$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11918
11919 int
11920 main ()
11921 {
11922
11923 #ifndef __SUNPRO_C
11924 choke me
11925 #endif
11926
11927 ;
11928 return 0;
11929 }
11930 _ACEOF
11931 rm -f conftest.$ac_objext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11933 (eval $ac_compile) 2>conftest.er1
11934 ac_status=$?
11935 grep -v '^ *+' conftest.er1 >conftest.err
11936 rm -f conftest.er1
11937 cat conftest.err >&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11943 ac_status=$?
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try='test -s conftest.$ac_objext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11949 ac_status=$?
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 bakefile_cv_c_compiler___SUNPRO_C=yes
11953 else
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.$ac_ext >&5
11956
11957 bakefile_cv_c_compiler___SUNPRO_C=no
11958
11959 fi
11960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11961
11962
11963 fi
11964 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11965 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11966 ac_ext=c
11967 ac_cpp='$CPP $CPPFLAGS'
11968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11971
11972 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11973 :; SUNCC=yes
11974 else
11975 :;
11976 fi
11977
11978
11979
11980
11981 ac_ext=c
11982 ac_cpp='$CPP $CPPFLAGS'
11983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11988 # On Suns, sometimes $CPP names a directory.
11989 if test -n "$CPP" && test -d "$CPP"; then
11990 CPP=
11991 fi
11992 if test -z "$CPP"; then
11993 if test "${ac_cv_prog_CPP+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 else
11996 # Double quotes because CPP needs to be expanded
11997 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11998 do
11999 ac_preproc_ok=false
12000 for ac_c_preproc_warn_flag in '' yes
12001 do
12002 # Use a header file that comes with gcc, so configuring glibc
12003 # with a fresh cross-compiler works.
12004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 # <limits.h> exists even on freestanding compilers.
12006 # On the NeXT, cc -E runs the code through the compiler's parser,
12007 # not just through cpp. "Syntax error" is here to catch this case.
12008 cat >conftest.$ac_ext <<_ACEOF
12009 /* confdefs.h. */
12010 _ACEOF
12011 cat confdefs.h >>conftest.$ac_ext
12012 cat >>conftest.$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12014 #ifdef __STDC__
12015 # include <limits.h>
12016 #else
12017 # include <assert.h>
12018 #endif
12019 Syntax error
12020 _ACEOF
12021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12023 ac_status=$?
12024 grep -v '^ *+' conftest.er1 >conftest.err
12025 rm -f conftest.er1
12026 cat conftest.err >&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } >/dev/null; then
12029 if test -s conftest.err; then
12030 ac_cpp_err=$ac_c_preproc_warn_flag
12031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12032 else
12033 ac_cpp_err=
12034 fi
12035 else
12036 ac_cpp_err=yes
12037 fi
12038 if test -z "$ac_cpp_err"; then
12039 :
12040 else
12041 echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.$ac_ext >&5
12043
12044 # Broken: fails on valid input.
12045 continue
12046 fi
12047 rm -f conftest.err conftest.$ac_ext
12048
12049 # OK, works on sane cases. Now check whether non-existent headers
12050 # can be detected and how.
12051 cat >conftest.$ac_ext <<_ACEOF
12052 /* confdefs.h. */
12053 _ACEOF
12054 cat confdefs.h >>conftest.$ac_ext
12055 cat >>conftest.$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12057 #include <ac_nonexistent.h>
12058 _ACEOF
12059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12061 ac_status=$?
12062 grep -v '^ *+' conftest.er1 >conftest.err
12063 rm -f conftest.er1
12064 cat conftest.err >&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } >/dev/null; then
12067 if test -s conftest.err; then
12068 ac_cpp_err=$ac_c_preproc_warn_flag
12069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12070 else
12071 ac_cpp_err=
12072 fi
12073 else
12074 ac_cpp_err=yes
12075 fi
12076 if test -z "$ac_cpp_err"; then
12077 # Broken: success on invalid input.
12078 continue
12079 else
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.$ac_ext >&5
12082
12083 # Passes both tests.
12084 ac_preproc_ok=:
12085 break
12086 fi
12087 rm -f conftest.err conftest.$ac_ext
12088
12089 done
12090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12091 rm -f conftest.err conftest.$ac_ext
12092 if $ac_preproc_ok; then
12093 break
12094 fi
12095
12096 done
12097 ac_cv_prog_CPP=$CPP
12098
12099 fi
12100 CPP=$ac_cv_prog_CPP
12101 else
12102 ac_cv_prog_CPP=$CPP
12103 fi
12104 echo "$as_me:$LINENO: result: $CPP" >&5
12105 echo "${ECHO_T}$CPP" >&6
12106 ac_preproc_ok=false
12107 for ac_c_preproc_warn_flag in '' yes
12108 do
12109 # Use a header file that comes with gcc, so configuring glibc
12110 # with a fresh cross-compiler works.
12111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12112 # <limits.h> exists even on freestanding compilers.
12113 # On the NeXT, cc -E runs the code through the compiler's parser,
12114 # not just through cpp. "Syntax error" is here to catch this case.
12115 cat >conftest.$ac_ext <<_ACEOF
12116 /* confdefs.h. */
12117 _ACEOF
12118 cat confdefs.h >>conftest.$ac_ext
12119 cat >>conftest.$ac_ext <<_ACEOF
12120 /* end confdefs.h. */
12121 #ifdef __STDC__
12122 # include <limits.h>
12123 #else
12124 # include <assert.h>
12125 #endif
12126 Syntax error
12127 _ACEOF
12128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12130 ac_status=$?
12131 grep -v '^ *+' conftest.er1 >conftest.err
12132 rm -f conftest.er1
12133 cat conftest.err >&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } >/dev/null; then
12136 if test -s conftest.err; then
12137 ac_cpp_err=$ac_c_preproc_warn_flag
12138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12139 else
12140 ac_cpp_err=
12141 fi
12142 else
12143 ac_cpp_err=yes
12144 fi
12145 if test -z "$ac_cpp_err"; then
12146 :
12147 else
12148 echo "$as_me: failed program was:" >&5
12149 sed 's/^/| /' conftest.$ac_ext >&5
12150
12151 # Broken: fails on valid input.
12152 continue
12153 fi
12154 rm -f conftest.err conftest.$ac_ext
12155
12156 # OK, works on sane cases. Now check whether non-existent headers
12157 # can be detected and how.
12158 cat >conftest.$ac_ext <<_ACEOF
12159 /* confdefs.h. */
12160 _ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 #include <ac_nonexistent.h>
12165 _ACEOF
12166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12168 ac_status=$?
12169 grep -v '^ *+' conftest.er1 >conftest.err
12170 rm -f conftest.er1
12171 cat conftest.err >&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } >/dev/null; then
12174 if test -s conftest.err; then
12175 ac_cpp_err=$ac_c_preproc_warn_flag
12176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12177 else
12178 ac_cpp_err=
12179 fi
12180 else
12181 ac_cpp_err=yes
12182 fi
12183 if test -z "$ac_cpp_err"; then
12184 # Broken: success on invalid input.
12185 continue
12186 else
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12189
12190 # Passes both tests.
12191 ac_preproc_ok=:
12192 break
12193 fi
12194 rm -f conftest.err conftest.$ac_ext
12195
12196 done
12197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12198 rm -f conftest.err conftest.$ac_ext
12199 if $ac_preproc_ok; then
12200 :
12201 else
12202 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12203 See \`config.log' for more details." >&5
12204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12205 See \`config.log' for more details." >&2;}
12206 { (exit 1); exit 1; }; }
12207 fi
12208
12209 ac_ext=c
12210 ac_cpp='$CPP $CPPFLAGS'
12211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12214
12215
12216 echo "$as_me:$LINENO: checking for egrep" >&5
12217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12218 if test "${ac_cv_prog_egrep+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 else
12221 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12222 then ac_cv_prog_egrep='grep -E'
12223 else ac_cv_prog_egrep='egrep'
12224 fi
12225 fi
12226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12228 EGREP=$ac_cv_prog_egrep
12229
12230
12231 if test $ac_cv_c_compiler_gnu = yes; then
12232 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12233 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12234 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237 ac_pattern="Autoconf.*'x'"
12238 cat >conftest.$ac_ext <<_ACEOF
12239 /* confdefs.h. */
12240 _ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244 #include <sgtty.h>
12245 Autoconf TIOCGETP
12246 _ACEOF
12247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12248 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12249 ac_cv_prog_gcc_traditional=yes
12250 else
12251 ac_cv_prog_gcc_traditional=no
12252 fi
12253 rm -f conftest*
12254
12255
12256 if test $ac_cv_prog_gcc_traditional = no; then
12257 cat >conftest.$ac_ext <<_ACEOF
12258 /* confdefs.h. */
12259 _ACEOF
12260 cat confdefs.h >>conftest.$ac_ext
12261 cat >>conftest.$ac_ext <<_ACEOF
12262 /* end confdefs.h. */
12263 #include <termio.h>
12264 Autoconf TCGETA
12265 _ACEOF
12266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12267 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12268 ac_cv_prog_gcc_traditional=yes
12269 fi
12270 rm -f conftest*
12271
12272 fi
12273 fi
12274 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12275 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12276 if test $ac_cv_prog_gcc_traditional = yes; then
12277 CC="$CC -traditional"
12278 fi
12279 fi
12280
12281
12282
12283
12284 ac_ext=cc
12285 ac_cpp='$CXXCPP $CPPFLAGS'
12286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12289
12290
12291 CXXFLAGS=${CXXFLAGS:=}
12292
12293
12294 ac_ext=cc
12295 ac_cpp='$CXXCPP $CPPFLAGS'
12296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12299 if test -n "$ac_tool_prefix"; then
12300 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12301 do
12302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12303 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12304 echo "$as_me:$LINENO: checking for $ac_word" >&5
12305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12306 if test "${ac_cv_prog_CXX+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 else
12309 if test -n "$CXX"; then
12310 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12311 else
12312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12313 for as_dir in $PATH
12314 do
12315 IFS=$as_save_IFS
12316 test -z "$as_dir" && as_dir=.
12317 for ac_exec_ext in '' $ac_executable_extensions; do
12318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12319 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12321 break 2
12322 fi
12323 done
12324 done
12325
12326 fi
12327 fi
12328 CXX=$ac_cv_prog_CXX
12329 if test -n "$CXX"; then
12330 echo "$as_me:$LINENO: result: $CXX" >&5
12331 echo "${ECHO_T}$CXX" >&6
12332 else
12333 echo "$as_me:$LINENO: result: no" >&5
12334 echo "${ECHO_T}no" >&6
12335 fi
12336
12337 test -n "$CXX" && break
12338 done
12339 fi
12340 if test -z "$CXX"; then
12341 ac_ct_CXX=$CXX
12342 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12343 do
12344 # Extract the first word of "$ac_prog", so it can be a program name with args.
12345 set dummy $ac_prog; ac_word=$2
12346 echo "$as_me:$LINENO: checking for $ac_word" >&5
12347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12348 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 else
12351 if test -n "$ac_ct_CXX"; then
12352 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12353 else
12354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355 for as_dir in $PATH
12356 do
12357 IFS=$as_save_IFS
12358 test -z "$as_dir" && as_dir=.
12359 for ac_exec_ext in '' $ac_executable_extensions; do
12360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12361 ac_cv_prog_ac_ct_CXX="$ac_prog"
12362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12363 break 2
12364 fi
12365 done
12366 done
12367
12368 fi
12369 fi
12370 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12371 if test -n "$ac_ct_CXX"; then
12372 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12373 echo "${ECHO_T}$ac_ct_CXX" >&6
12374 else
12375 echo "$as_me:$LINENO: result: no" >&5
12376 echo "${ECHO_T}no" >&6
12377 fi
12378
12379 test -n "$ac_ct_CXX" && break
12380 done
12381 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12382
12383 CXX=$ac_ct_CXX
12384 fi
12385
12386
12387 # Provide some information about the compiler.
12388 echo "$as_me:$LINENO:" \
12389 "checking for C++ compiler version" >&5
12390 ac_compiler=`set X $ac_compile; echo $2`
12391 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12392 (eval $ac_compiler --version </dev/null >&5) 2>&5
12393 ac_status=$?
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }
12396 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12397 (eval $ac_compiler -v </dev/null >&5) 2>&5
12398 ac_status=$?
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }
12401 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12402 (eval $ac_compiler -V </dev/null >&5) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }
12406
12407 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12408 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12409 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 else
12412 cat >conftest.$ac_ext <<_ACEOF
12413 /* confdefs.h. */
12414 _ACEOF
12415 cat confdefs.h >>conftest.$ac_ext
12416 cat >>conftest.$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12418
12419 int
12420 main ()
12421 {
12422 #ifndef __GNUC__
12423 choke me
12424 #endif
12425
12426 ;
12427 return 0;
12428 }
12429 _ACEOF
12430 rm -f conftest.$ac_objext
12431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12432 (eval $ac_compile) 2>conftest.er1
12433 ac_status=$?
12434 grep -v '^ *+' conftest.er1 >conftest.err
12435 rm -f conftest.er1
12436 cat conftest.err >&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); } &&
12439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12442 ac_status=$?
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; } &&
12445 { ac_try='test -s conftest.$ac_objext'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12448 ac_status=$?
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; }; then
12451 ac_compiler_gnu=yes
12452 else
12453 echo "$as_me: failed program was:" >&5
12454 sed 's/^/| /' conftest.$ac_ext >&5
12455
12456 ac_compiler_gnu=no
12457 fi
12458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12459 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12460
12461 fi
12462 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12463 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12464 GXX=`test $ac_compiler_gnu = yes && echo yes`
12465 ac_test_CXXFLAGS=${CXXFLAGS+set}
12466 ac_save_CXXFLAGS=$CXXFLAGS
12467 CXXFLAGS="-g"
12468 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12469 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12470 if test "${ac_cv_prog_cxx_g+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12472 else
12473 cat >conftest.$ac_ext <<_ACEOF
12474 /* confdefs.h. */
12475 _ACEOF
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479
12480 int
12481 main ()
12482 {
12483
12484 ;
12485 return 0;
12486 }
12487 _ACEOF
12488 rm -f conftest.$ac_objext
12489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12490 (eval $ac_compile) 2>conftest.er1
12491 ac_status=$?
12492 grep -v '^ *+' conftest.er1 >conftest.err
12493 rm -f conftest.er1
12494 cat conftest.err >&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } &&
12497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12499 (eval $ac_try) 2>&5
12500 ac_status=$?
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); }; } &&
12503 { ac_try='test -s conftest.$ac_objext'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5
12506 ac_status=$?
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; }; then
12509 ac_cv_prog_cxx_g=yes
12510 else
12511 echo "$as_me: failed program was:" >&5
12512 sed 's/^/| /' conftest.$ac_ext >&5
12513
12514 ac_cv_prog_cxx_g=no
12515 fi
12516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12517 fi
12518 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12519 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12520 if test "$ac_test_CXXFLAGS" = set; then
12521 CXXFLAGS=$ac_save_CXXFLAGS
12522 elif test $ac_cv_prog_cxx_g = yes; then
12523 if test "$GXX" = yes; then
12524 CXXFLAGS="-g -O2"
12525 else
12526 CXXFLAGS="-g"
12527 fi
12528 else
12529 if test "$GXX" = yes; then
12530 CXXFLAGS="-O2"
12531 else
12532 CXXFLAGS=
12533 fi
12534 fi
12535 for ac_declaration in \
12536 '' \
12537 'extern "C" void std::exit (int) throw (); using std::exit;' \
12538 'extern "C" void std::exit (int); using std::exit;' \
12539 'extern "C" void exit (int) throw ();' \
12540 'extern "C" void exit (int);' \
12541 'void exit (int);'
12542 do
12543 cat >conftest.$ac_ext <<_ACEOF
12544 /* confdefs.h. */
12545 _ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12549 $ac_declaration
12550 #include <stdlib.h>
12551 int
12552 main ()
12553 {
12554 exit (42);
12555 ;
12556 return 0;
12557 }
12558 _ACEOF
12559 rm -f conftest.$ac_objext
12560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12561 (eval $ac_compile) 2>conftest.er1
12562 ac_status=$?
12563 grep -v '^ *+' conftest.er1 >conftest.err
12564 rm -f conftest.er1
12565 cat conftest.err >&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); } &&
12568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12570 (eval $ac_try) 2>&5
12571 ac_status=$?
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; } &&
12574 { ac_try='test -s conftest.$ac_objext'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12577 ac_status=$?
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; }; then
12580 :
12581 else
12582 echo "$as_me: failed program was:" >&5
12583 sed 's/^/| /' conftest.$ac_ext >&5
12584
12585 continue
12586 fi
12587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12588 cat >conftest.$ac_ext <<_ACEOF
12589 /* confdefs.h. */
12590 _ACEOF
12591 cat confdefs.h >>conftest.$ac_ext
12592 cat >>conftest.$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12594 $ac_declaration
12595 int
12596 main ()
12597 {
12598 exit (42);
12599 ;
12600 return 0;
12601 }
12602 _ACEOF
12603 rm -f conftest.$ac_objext
12604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12605 (eval $ac_compile) 2>conftest.er1
12606 ac_status=$?
12607 grep -v '^ *+' conftest.er1 >conftest.err
12608 rm -f conftest.er1
12609 cat conftest.err >&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } &&
12612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614 (eval $ac_try) 2>&5
12615 ac_status=$?
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; } &&
12618 { ac_try='test -s conftest.$ac_objext'
12619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12620 (eval $ac_try) 2>&5
12621 ac_status=$?
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); }; }; then
12624 break
12625 else
12626 echo "$as_me: failed program was:" >&5
12627 sed 's/^/| /' conftest.$ac_ext >&5
12628
12629 fi
12630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12631 done
12632 rm -f conftest*
12633 if test -n "$ac_declaration"; then
12634 echo '#ifdef __cplusplus' >>confdefs.h
12635 echo $ac_declaration >>confdefs.h
12636 echo '#endif' >>confdefs.h
12637 fi
12638
12639 ac_ext=cc
12640 ac_cpp='$CXXCPP $CPPFLAGS'
12641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12644
12645 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12646 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12647 if test "${wx_cv_cxx_exto+set}" = set; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 else
12650 cat >conftest.$ac_ext <<_ACEOF
12651 /* confdefs.h. */
12652 _ACEOF
12653 cat confdefs.h >>conftest.$ac_ext
12654 cat >>conftest.$ac_ext <<_ACEOF
12655 /* end confdefs.h. */
12656
12657 int
12658 main ()
12659 {
12660
12661 ;
12662 return 0;
12663 }
12664 _ACEOF
12665 rm -f conftest.$ac_objext conftest.$ac_ext.o
12666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12667 (eval $ac_compile) 2>&5
12668 ac_status=$?
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; then
12671 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12672 case $ac_file in
12673 conftest.$ac_ext.o)
12674 wx_cv_cxx_exto="-ext o"
12675 ;;
12676 *)
12677 ;;
12678 esac
12679 done
12680 else
12681 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12682 See \`config.log' for more details." >&5
12683 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12684 See \`config.log' for more details." >&2;}
12685 { (exit 1); exit 1; }; }
12686
12687 fi
12688
12689 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12690
12691 fi
12692 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12693 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12694 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12695 if test "cxx" = "c"; then
12696 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12697 fi
12698 if test "cxx" = "cxx"; then
12699 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12700 fi
12701 fi
12702
12703 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12704 unset ac_cv_prog_cxx_g
12705 ac_test_CXXFLAGS=${CXXFLAGS+set}
12706 ac_save_CXXFLAGS=$CXXFLAGS
12707 CXXFLAGS="-g"
12708 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12709 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12710 if test "${ac_cv_prog_cxx_g+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 cat >conftest.$ac_ext <<_ACEOF
12714 /* confdefs.h. */
12715 _ACEOF
12716 cat confdefs.h >>conftest.$ac_ext
12717 cat >>conftest.$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12719
12720 int
12721 main ()
12722 {
12723
12724 ;
12725 return 0;
12726 }
12727 _ACEOF
12728 rm -f conftest.$ac_objext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730 (eval $ac_compile) 2>conftest.er1
12731 ac_status=$?
12732 grep -v '^ *+' conftest.er1 >conftest.err
12733 rm -f conftest.er1
12734 cat conftest.err >&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12740 ac_status=$?
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try='test -s conftest.$ac_objext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12746 ac_status=$?
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 ac_cv_prog_cxx_g=yes
12750 else
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12753
12754 ac_cv_prog_cxx_g=no
12755 fi
12756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12757 fi
12758 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12759 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12760 if test "$ac_test_CXXFLAGS" = set; then
12761 CXXFLAGS=$ac_save_CXXFLAGS
12762 elif test $ac_cv_prog_cxx_g = yes; then
12763 if test "$GXX" = yes; then
12764 CXXFLAGS="-g -O2"
12765 else
12766 CXXFLAGS="-g"
12767 fi
12768 else
12769 if test "$GXX" = yes; then
12770 CXXFLAGS="-O2"
12771 else
12772 CXXFLAGS=
12773 fi
12774 fi
12775 fi
12776 ac_ext=cc
12777 ac_cpp='$CXXCPP $CPPFLAGS'
12778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12781
12782 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12783 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12784 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 else
12787 cat >conftest.$ac_ext <<_ACEOF
12788 /* confdefs.h. */
12789 _ACEOF
12790 cat confdefs.h >>conftest.$ac_ext
12791 cat >>conftest.$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12793
12794 int
12795 main ()
12796 {
12797 #ifndef __MWERKS__
12798 choke me
12799 #endif
12800
12801 ;
12802 return 0;
12803 }
12804 _ACEOF
12805 rm -f conftest.$ac_objext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>conftest.er1
12808 ac_status=$?
12809 grep -v '^ *+' conftest.er1 >conftest.err
12810 rm -f conftest.er1
12811 cat conftest.err >&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } &&
12814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12823 ac_status=$?
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 bakefile_compiler_mwerks=yes
12827 else
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.$ac_ext >&5
12830
12831 bakefile_compiler_mwerks=no
12832 fi
12833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12834 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12835
12836 fi
12837 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12838 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12839
12840 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12841 ac_ext=cc
12842 ac_cpp='$CXXCPP $CPPFLAGS'
12843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12846
12847
12848 ac_ext=cc
12849 ac_cpp='$CXXCPP $CPPFLAGS'
12850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12853
12854 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12855 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12856 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12858 else
12859 cat >conftest.$ac_ext <<_ACEOF
12860 /* confdefs.h. */
12861 _ACEOF
12862 cat confdefs.h >>conftest.$ac_ext
12863 cat >>conftest.$ac_ext <<_ACEOF
12864 /* end confdefs.h. */
12865
12866 int
12867 main ()
12868 {
12869 #ifndef __xlC__
12870 choke me
12871 #endif
12872
12873 ;
12874 return 0;
12875 }
12876 _ACEOF
12877 rm -f conftest.$ac_objext
12878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>conftest.er1
12880 ac_status=$?
12881 grep -v '^ *+' conftest.er1 >conftest.err
12882 rm -f conftest.er1
12883 cat conftest.err >&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } &&
12886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12888 (eval $ac_try) 2>&5
12889 ac_status=$?
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; } &&
12892 { ac_try='test -s conftest.$ac_objext'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 wx_compiler_xlc=yes
12899 else
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12902
12903 wx_compiler_xlc=no
12904 fi
12905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12906 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12907
12908 fi
12909 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12910 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12911
12912 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12913 ac_ext=cc
12914 ac_cpp='$CXXCPP $CPPFLAGS'
12915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12918
12919
12920
12921
12922 ac_ext=cc
12923 ac_cpp='$CXXCPP $CPPFLAGS'
12924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12927
12928 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12929 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12930 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 else
12933 cat >conftest.$ac_ext <<_ACEOF
12934 /* confdefs.h. */
12935 _ACEOF
12936 cat confdefs.h >>conftest.$ac_ext
12937 cat >>conftest.$ac_ext <<_ACEOF
12938 /* end confdefs.h. */
12939
12940 int
12941 main ()
12942 {
12943
12944 #ifndef __SUNPRO_CC
12945 choke me
12946 #endif
12947
12948 ;
12949 return 0;
12950 }
12951 _ACEOF
12952 rm -f conftest.$ac_objext
12953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12954 (eval $ac_compile) 2>conftest.er1
12955 ac_status=$?
12956 grep -v '^ *+' conftest.er1 >conftest.err
12957 rm -f conftest.er1
12958 cat conftest.err >&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12964 ac_status=$?
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; } &&
12967 { ac_try='test -s conftest.$ac_objext'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12970 ac_status=$?
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; }; then
12973 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
12974 else
12975 echo "$as_me: failed program was:" >&5
12976 sed 's/^/| /' conftest.$ac_ext >&5
12977
12978 bakefile_cv_cxx_compiler___SUNPRO_CC=no
12979
12980 fi
12981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12982
12983
12984 fi
12985 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
12986 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
12987 ac_ext=cc
12988 ac_cpp='$CXXCPP $CPPFLAGS'
12989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12992
12993 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
12994 :; SUNCXX=yes
12995 else
12996 :;
12997 fi
12998
12999
13000
13001
13002 ac_ext=c
13003 ac_cpp='$CPP $CPPFLAGS'
13004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13007
13008
13009 if test -n "$ac_tool_prefix"; then
13010 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13011 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13012 echo "$as_me:$LINENO: checking for $ac_word" >&5
13013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13014 if test "${ac_cv_prog_RANLIB+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 else
13017 if test -n "$RANLIB"; then
13018 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13019 else
13020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13021 for as_dir in $PATH
13022 do
13023 IFS=$as_save_IFS
13024 test -z "$as_dir" && as_dir=.
13025 for ac_exec_ext in '' $ac_executable_extensions; do
13026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13027 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 break 2
13030 fi
13031 done
13032 done
13033
13034 fi
13035 fi
13036 RANLIB=$ac_cv_prog_RANLIB
13037 if test -n "$RANLIB"; then
13038 echo "$as_me:$LINENO: result: $RANLIB" >&5
13039 echo "${ECHO_T}$RANLIB" >&6
13040 else
13041 echo "$as_me:$LINENO: result: no" >&5
13042 echo "${ECHO_T}no" >&6
13043 fi
13044
13045 fi
13046 if test -z "$ac_cv_prog_RANLIB"; then
13047 ac_ct_RANLIB=$RANLIB
13048 # Extract the first word of "ranlib", so it can be a program name with args.
13049 set dummy ranlib; ac_word=$2
13050 echo "$as_me:$LINENO: checking for $ac_word" >&5
13051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13052 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13053 echo $ECHO_N "(cached) $ECHO_C" >&6
13054 else
13055 if test -n "$ac_ct_RANLIB"; then
13056 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13057 else
13058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13059 for as_dir in $PATH
13060 do
13061 IFS=$as_save_IFS
13062 test -z "$as_dir" && as_dir=.
13063 for ac_exec_ext in '' $ac_executable_extensions; do
13064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13065 ac_cv_prog_ac_ct_RANLIB="ranlib"
13066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13067 break 2
13068 fi
13069 done
13070 done
13071
13072 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13073 fi
13074 fi
13075 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13076 if test -n "$ac_ct_RANLIB"; then
13077 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13078 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13079 else
13080 echo "$as_me:$LINENO: result: no" >&5
13081 echo "${ECHO_T}no" >&6
13082 fi
13083
13084 RANLIB=$ac_ct_RANLIB
13085 else
13086 RANLIB="$ac_cv_prog_RANLIB"
13087 fi
13088
13089
13090 # Extract the first word of "ar", so it can be a program name with args.
13091 set dummy ar; ac_word=$2
13092 echo "$as_me:$LINENO: checking for $ac_word" >&5
13093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13094 if test "${ac_cv_prog_AR+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13096 else
13097 if test -n "$AR"; then
13098 ac_cv_prog_AR="$AR" # Let the user override the test.
13099 else
13100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13101 for as_dir in $PATH
13102 do
13103 IFS=$as_save_IFS
13104 test -z "$as_dir" && as_dir=.
13105 for ac_exec_ext in '' $ac_executable_extensions; do
13106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13107 ac_cv_prog_AR="ar"
13108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13109 break 2
13110 fi
13111 done
13112 done
13113
13114 fi
13115 fi
13116 AR=$ac_cv_prog_AR
13117 if test -n "$AR"; then
13118 echo "$as_me:$LINENO: result: $AR" >&5
13119 echo "${ECHO_T}$AR" >&6
13120 else
13121 echo "$as_me:$LINENO: result: no" >&5
13122 echo "${ECHO_T}no" >&6
13123 fi
13124
13125 if test "x$AR" = "x" ; then
13126 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13127 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13128 { (exit 1); exit 1; }; }
13129 fi
13130
13131 # Find a good install program. We prefer a C program (faster),
13132 # so one script is as good as another. But avoid the broken or
13133 # incompatible versions:
13134 # SysV /etc/install, /usr/sbin/install
13135 # SunOS /usr/etc/install
13136 # IRIX /sbin/install
13137 # AIX /bin/install
13138 # AmigaOS /C/install, which installs bootblocks on floppy discs
13139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13142 # OS/2's system install, which has a completely different semantic
13143 # ./install, which can be erroneously created by make from ./install.sh.
13144 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13145 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13146 if test -z "$INSTALL"; then
13147 if test "${ac_cv_path_install+set}" = set; then
13148 echo $ECHO_N "(cached) $ECHO_C" >&6
13149 else
13150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13151 for as_dir in $PATH
13152 do
13153 IFS=$as_save_IFS
13154 test -z "$as_dir" && as_dir=.
13155 # Account for people who put trailing slashes in PATH elements.
13156 case $as_dir/ in
13157 ./ | .// | /cC/* | \
13158 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13159 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13160 /usr/ucb/* ) ;;
13161 *)
13162 # OSF1 and SCO ODT 3.0 have their own names for install.
13163 # Don't use installbsd from OSF since it installs stuff as root
13164 # by default.
13165 for ac_prog in ginstall scoinst install; do
13166 for ac_exec_ext in '' $ac_executable_extensions; do
13167 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13168 if test $ac_prog = install &&
13169 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13170 # AIX install. It has an incompatible calling convention.
13171 :
13172 elif test $ac_prog = install &&
13173 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13174 # program-specific install script used by HP pwplus--don't use.
13175 :
13176 else
13177 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13178 break 3
13179 fi
13180 fi
13181 done
13182 done
13183 ;;
13184 esac
13185 done
13186
13187
13188 fi
13189 if test "${ac_cv_path_install+set}" = set; then
13190 INSTALL=$ac_cv_path_install
13191 else
13192 # As a last resort, use the slow shell script. We don't cache a
13193 # path for INSTALL within a source directory, because that will
13194 # break other packages using the cache if that directory is
13195 # removed, or if the path is relative.
13196 INSTALL=$ac_install_sh
13197 fi
13198 fi
13199 echo "$as_me:$LINENO: result: $INSTALL" >&5
13200 echo "${ECHO_T}$INSTALL" >&6
13201
13202 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13203 # It thinks the first close brace ends the variable substitution.
13204 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13205
13206 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13207
13208 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13209
13210
13211 case ${INSTALL} in
13212 /* ) # Absolute
13213 ;;
13214 ?:* ) # Drive letter, considered as absolute.
13215 ;;
13216 *)
13217 INSTALL=`pwd`/${INSTALL} ;;
13218 esac
13219
13220
13221 case "${host}" in
13222
13223 powerpc-*-darwin* )
13224 INSTALL_PROGRAM="cp -fp"
13225 INSTALL_DATA="cp -fp"
13226 ;;
13227 *)
13228 ;;
13229 esac
13230
13231 # Extract the first word of "strip", so it can be a program name with args.
13232 set dummy strip; ac_word=$2
13233 echo "$as_me:$LINENO: checking for $ac_word" >&5
13234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13235 if test "${ac_cv_prog_STRIP+set}" = set; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13237 else
13238 if test -n "$STRIP"; then
13239 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13240 else
13241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13242 for as_dir in $PATH
13243 do
13244 IFS=$as_save_IFS
13245 test -z "$as_dir" && as_dir=.
13246 for ac_exec_ext in '' $ac_executable_extensions; do
13247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13248 ac_cv_prog_STRIP="strip"
13249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13250 break 2
13251 fi
13252 done
13253 done
13254
13255 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13256 fi
13257 fi
13258 STRIP=$ac_cv_prog_STRIP
13259 if test -n "$STRIP"; then
13260 echo "$as_me:$LINENO: result: $STRIP" >&5
13261 echo "${ECHO_T}$STRIP" >&6
13262 else
13263 echo "$as_me:$LINENO: result: no" >&5
13264 echo "${ECHO_T}no" >&6
13265 fi
13266
13267
13268 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13269 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13270 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13272 else
13273
13274 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13275 egrep -s GNU > /dev/null); then
13276 wx_cv_prog_makeisgnu="yes"
13277 else
13278 wx_cv_prog_makeisgnu="no"
13279 fi
13280
13281 fi
13282 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13283 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13284
13285 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13286 IF_GNU_MAKE=""
13287 else
13288 IF_GNU_MAKE="#"
13289 fi
13290
13291
13292
13293 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13294 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13295 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13296 if test "${wx_cv_prog_makevpath+set}" = set; then
13297 echo $ECHO_N "(cached) $ECHO_C" >&6
13298 else
13299
13300 cat - << EOF > confMake
13301 check : file
13302 cp \$? \$@
13303 cp \$? final_file
13304 EOF
13305
13306 if test ! -d sub ; then
13307 mkdir sub
13308 fi
13309 echo dummy > sub/file
13310 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13311 RESULT=$?
13312 rm -f sub/file check final_file confMake
13313 rmdir sub
13314 if test "$RESULT" = 0; then
13315 wx_cv_prog_makevpath="yes"
13316 else
13317 wx_cv_prog_makevpath="no"
13318 fi
13319
13320 fi
13321 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13322 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13323
13324 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13325 { { echo "$as_me:$LINENO: error:
13326 You need a make-utility that is able to use the variable
13327 VPATH correctly.
13328 If your version of make does not support VPATH correctly,
13329 please install GNU-make (possibly as gmake), and start
13330 configure with the following command:
13331 export MAKE=gmake; ./configure for sh-type shells
13332 setenv MAKE gmake; ./configure for csh-type shells
13333 Also please do remember to use gmake in this case every time
13334 you are trying to compile.
13335 " >&5
13336 echo "$as_me: error:
13337 You need a make-utility that is able to use the variable
13338 VPATH correctly.
13339 If your version of make does not support VPATH correctly,
13340 please install GNU-make (possibly as gmake), and start
13341 configure with the following command:
13342 export MAKE=gmake; ./configure for sh-type shells
13343 setenv MAKE gmake; ./configure for csh-type shells
13344 Also please do remember to use gmake in this case every time
13345 you are trying to compile.
13346 " >&2;}
13347 { (exit 1); exit 1; }; }
13348 fi fi
13349 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13350 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13351 LN_S=$as_ln_s
13352 if test "$LN_S" = "ln -s"; then
13353 echo "$as_me:$LINENO: result: yes" >&5
13354 echo "${ECHO_T}yes" >&6
13355 else
13356 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13357 echo "${ECHO_T}no, using $LN_S" >&6
13358 fi
13359
13360
13361
13362 if test "x$XLCXX" = "xyes"; then
13363 CXXFLAGS="$CXXFLAGS -qunique"
13364 fi
13365
13366
13367 case "${host}" in
13368 powerpc-*-darwin* )
13369 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13370 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h. */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377
13378 int
13379 main ()
13380 {
13381 #ifndef __POWERPC__
13382 choke me for lack of PowerPC
13383 #endif
13384
13385 ;
13386 return 0;
13387 }
13388 _ACEOF
13389 rm -f conftest.$ac_objext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13391 (eval $ac_compile) 2>conftest.er1
13392 ac_status=$?
13393 grep -v '^ *+' conftest.er1 >conftest.err
13394 rm -f conftest.er1
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13401 ac_status=$?
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; } &&
13404 { ac_try='test -s conftest.$ac_objext'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13407 ac_status=$?
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13410 echo "$as_me:$LINENO: result: yes" >&5
13411 echo "${ECHO_T}yes" >&6
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 echo "$as_me:$LINENO: result: no" >&5
13417 echo "${ECHO_T}no" >&6
13418 cat >>confdefs.h <<\_ACEOF
13419 #define __POWERPC__ 1
13420 _ACEOF
13421
13422
13423 fi
13424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13425 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13426 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13427 cat >conftest.$ac_ext <<_ACEOF
13428 /* confdefs.h. */
13429 _ACEOF
13430 cat confdefs.h >>conftest.$ac_ext
13431 cat >>conftest.$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <CoreFoundation/CFBase.h>
13434
13435 int
13436 main ()
13437 {
13438
13439 ;
13440 return 0;
13441 }
13442 _ACEOF
13443 rm -f conftest.$ac_objext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13445 (eval $ac_compile) 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } &&
13452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13455 ac_status=$?
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; } &&
13458 { ac_try='test -s conftest.$ac_objext'
13459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460 (eval $ac_try) 2>&5
13461 ac_status=$?
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); }; }; then
13464 echo "$as_me:$LINENO: result: yes" >&5
13465 echo "${ECHO_T}yes" >&6
13466 else
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13469
13470 echo "$as_me:$LINENO: result: no" >&5
13471 echo "${ECHO_T}no" >&6
13472 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13473 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13474 cat >conftest.$ac_ext <<_ACEOF
13475 /* confdefs.h. */
13476 _ACEOF
13477 cat confdefs.h >>conftest.$ac_ext
13478 cat >>conftest.$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13480 #define __CF_USE_FRAMEWORK_INCLUDES__
13481 #include <CoreFoundation/CFBase.h>
13482
13483 int
13484 main ()
13485 {
13486
13487 ;
13488 return 0;
13489 }
13490 _ACEOF
13491 rm -f conftest.$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13494 ac_status=$?
13495 grep -v '^ *+' conftest.er1 >conftest.err
13496 rm -f conftest.er1
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13503 ac_status=$?
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13509 ac_status=$?
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 echo "$as_me:$LINENO: result: yes" >&5
13513 echo "${ECHO_T}yes" >&6
13514 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13515 else
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.$ac_ext >&5
13518
13519 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13520 See \`config.log' for more details." >&5
13521 echo "$as_me: error: no. CoreFoundation not available.
13522 See \`config.log' for more details." >&2;}
13523 { (exit 1); exit 1; }; }
13524
13525 fi
13526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13527
13528
13529 fi
13530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13531 ;;
13532 esac
13533
13534 case "${host}" in
13535 *-pc-os2_emx | *-pc-os2-emx )
13536 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13537 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13538 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13539 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13540 echo $ECHO_N "(cached) $ECHO_C" >&6
13541 else
13542 ac_check_lib_save_LIBS=$LIBS
13543 LIBS="-lcExt $LIBS"
13544 cat >conftest.$ac_ext <<_ACEOF
13545 /* confdefs.h. */
13546 _ACEOF
13547 cat confdefs.h >>conftest.$ac_ext
13548 cat >>conftest.$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13550
13551 /* Override any gcc2 internal prototype to avoid an error. */
13552 #ifdef __cplusplus
13553 extern "C"
13554 #endif
13555 /* We use char because int might match the return type of a gcc2
13556 builtin and then its argument prototype would still apply. */
13557 char drand48 ();
13558 int
13559 main ()
13560 {
13561 drand48 ();
13562 ;
13563 return 0;
13564 }
13565 _ACEOF
13566 rm -f conftest.$ac_objext conftest$ac_exeext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13568 (eval $ac_link) 2>conftest.er1
13569 ac_status=$?
13570 grep -v '^ *+' conftest.er1 >conftest.err
13571 rm -f conftest.er1
13572 cat conftest.err >&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13578 ac_status=$?
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; } &&
13581 { ac_try='test -s conftest$ac_exeext'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13584 ac_status=$?
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13587 ac_cv_lib_cExt_drand48=yes
13588 else
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.$ac_ext >&5
13591
13592 ac_cv_lib_cExt_drand48=no
13593 fi
13594 rm -f conftest.err conftest.$ac_objext \
13595 conftest$ac_exeext conftest.$ac_ext
13596 LIBS=$ac_check_lib_save_LIBS
13597 fi
13598 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13599 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13600 if test $ac_cv_lib_cExt_drand48 = yes; then
13601 LIBS="$LIBS -lcExt"
13602 fi
13603
13604 else
13605 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13606 fi
13607 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13608 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13609 if test "${wx_cv_gccversion+set}" = set; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6
13611 else
13612
13613 if test "$cross_compiling" = yes; then
13614 wx_cv_gccversion="EMX2"
13615
13616 else
13617 cat >conftest.$ac_ext <<_ACEOF
13618 /* confdefs.h. */
13619 _ACEOF
13620 cat confdefs.h >>conftest.$ac_ext
13621 cat >>conftest.$ac_ext <<_ACEOF
13622 /* end confdefs.h. */
13623
13624 #include <stdio.h>
13625
13626 int main()
13627 {
13628 FILE *f=fopen("conftestval", "w");
13629 if (!f) exit(1);
13630 fprintf(f,
13631 #if (__GNUC__ < 3)
13632 "EMX2"
13633 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13634 "EMX3"
13635 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13636 "Innotek5"
13637 #else
13638 "Innotek6"
13639 #endif
13640 );
13641 exit(0);
13642 }
13643
13644 _ACEOF
13645 rm -f conftest$ac_exeext
13646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13647 (eval $ac_link) 2>&5
13648 ac_status=$?
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 (eval $ac_try) 2>&5
13653 ac_status=$?
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; }; then
13656 wx_cv_gccversion=`cat conftestval`
13657 else
13658 echo "$as_me: program exited with status $ac_status" >&5
13659 echo "$as_me: failed program was:" >&5
13660 sed 's/^/| /' conftest.$ac_ext >&5
13661
13662 ( exit $ac_status )
13663 wx_cv_gccversion="EMX2"
13664 fi
13665 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13666 fi
13667
13668 fi
13669 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13670 echo "${ECHO_T}$wx_cv_gccversion" >&6
13671 if test "$wx_cv_gccversion" = "EMX2"; then
13672 LIBS="$LIBS -lstdcpp"
13673 LDFLAGS="$LDFLAGS -Zsysv-signals"
13674 else
13675 if test "$wx_cv_gccversion" = "EMX3"; then
13676 LIBS="$LIBS -lstdcxx"
13677 LDFLAGS="$LDFLAGS -Zsysv-signals"
13678 else
13679 LIBS="$LIBS -lstdc++"
13680 fi
13681 fi
13682 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13683 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13684 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13685 wxUSE_OMF=yes
13686 enable_omf=yes
13687 fi
13688 ;;
13689 *)
13690
13691
13692
13693 ac_ext=cc
13694 ac_cpp='$CXXCPP $CPPFLAGS'
13695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13698
13699
13700 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13701 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13702 if test "${ac_cv_string_strcasecmp+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13704 else
13705
13706 cat >conftest.$ac_ext <<_ACEOF
13707 /* confdefs.h. */
13708 _ACEOF
13709 cat confdefs.h >>conftest.$ac_ext
13710 cat >>conftest.$ac_ext <<_ACEOF
13711 /* end confdefs.h. */
13712
13713 #include <string.h>
13714
13715 int
13716 main ()
13717 {
13718
13719 strcasecmp("foo", "bar");
13720
13721 ;
13722 return 0;
13723 }
13724 _ACEOF
13725 rm -f conftest.$ac_objext conftest$ac_exeext
13726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13727 (eval $ac_link) 2>conftest.er1
13728 ac_status=$?
13729 grep -v '^ *+' conftest.er1 >conftest.err
13730 rm -f conftest.er1
13731 cat conftest.err >&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); } &&
13734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736 (eval $ac_try) 2>&5
13737 ac_status=$?
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); }; } &&
13740 { ac_try='test -s conftest$ac_exeext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_cv_string_strcasecmp=yes
13747 else
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.$ac_ext >&5
13750
13751 ac_cv_string_strcasecmp=no
13752
13753 fi
13754 rm -f conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756
13757 fi
13758 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13759 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13760
13761 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13762 cat >>confdefs.h <<\_ACEOF
13763 #define HAVE_STRCASECMP_IN_STRING_H 1
13764 _ACEOF
13765
13766 else
13767 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13768 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13769 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13771 else
13772
13773 cat >conftest.$ac_ext <<_ACEOF
13774 /* confdefs.h. */
13775 _ACEOF
13776 cat confdefs.h >>conftest.$ac_ext
13777 cat >>conftest.$ac_ext <<_ACEOF
13778 /* end confdefs.h. */
13779
13780 #include <strings.h>
13781
13782 int
13783 main ()
13784 {
13785
13786 strcasecmp("foo", "bar");
13787
13788 ;
13789 return 0;
13790 }
13791 _ACEOF
13792 rm -f conftest.$ac_objext conftest$ac_exeext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13794 (eval $ac_link) 2>conftest.er1
13795 ac_status=$?
13796 grep -v '^ *+' conftest.er1 >conftest.err
13797 rm -f conftest.er1
13798 cat conftest.err >&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } &&
13801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803 (eval $ac_try) 2>&5
13804 ac_status=$?
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); }; } &&
13807 { ac_try='test -s conftest$ac_exeext'
13808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13809 (eval $ac_try) 2>&5
13810 ac_status=$?
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); }; }; then
13813 ac_cv_strings_strcasecmp=yes
13814 else
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13817
13818 ac_cv_strings_strcasecmp=no
13819
13820 fi
13821 rm -f conftest.err conftest.$ac_objext \
13822 conftest$ac_exeext conftest.$ac_ext
13823
13824 fi
13825 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13826 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13827
13828 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13829 cat >>confdefs.h <<\_ACEOF
13830 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13831 _ACEOF
13832
13833 else
13834 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13835 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13836 { (exit 1); exit 1; }; }
13837 fi
13838 fi
13839
13840 ac_ext=c
13841 ac_cpp='$CPP $CPPFLAGS'
13842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13845
13846 ;;
13847 esac
13848
13849
13850 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13851 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13852 if test "${ac_cv_header_stdc+set}" = set; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 else
13855 cat >conftest.$ac_ext <<_ACEOF
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 #include <stdlib.h>
13862 #include <stdarg.h>
13863 #include <string.h>
13864 #include <float.h>
13865
13866 int
13867 main ()
13868 {
13869
13870 ;
13871 return 0;
13872 }
13873 _ACEOF
13874 rm -f conftest.$ac_objext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13877 ac_status=$?
13878 grep -v '^ *+' conftest.er1 >conftest.err
13879 rm -f conftest.er1
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13886 ac_status=$?
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; } &&
13889 { ac_try='test -s conftest.$ac_objext'
13890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13891 (eval $ac_try) 2>&5
13892 ac_status=$?
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); }; }; then
13895 ac_cv_header_stdc=yes
13896 else
13897 echo "$as_me: failed program was:" >&5
13898 sed 's/^/| /' conftest.$ac_ext >&5
13899
13900 ac_cv_header_stdc=no
13901 fi
13902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13903
13904 if test $ac_cv_header_stdc = yes; then
13905 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13906 cat >conftest.$ac_ext <<_ACEOF
13907 /* confdefs.h. */
13908 _ACEOF
13909 cat confdefs.h >>conftest.$ac_ext
13910 cat >>conftest.$ac_ext <<_ACEOF
13911 /* end confdefs.h. */
13912 #include <string.h>
13913
13914 _ACEOF
13915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13916 $EGREP "memchr" >/dev/null 2>&1; then
13917 :
13918 else
13919 ac_cv_header_stdc=no
13920 fi
13921 rm -f conftest*
13922
13923 fi
13924
13925 if test $ac_cv_header_stdc = yes; then
13926 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13927 cat >conftest.$ac_ext <<_ACEOF
13928 /* confdefs.h. */
13929 _ACEOF
13930 cat confdefs.h >>conftest.$ac_ext
13931 cat >>conftest.$ac_ext <<_ACEOF
13932 /* end confdefs.h. */
13933 #include <stdlib.h>
13934
13935 _ACEOF
13936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13937 $EGREP "free" >/dev/null 2>&1; then
13938 :
13939 else
13940 ac_cv_header_stdc=no
13941 fi
13942 rm -f conftest*
13943
13944 fi
13945
13946 if test $ac_cv_header_stdc = yes; then
13947 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13948 if test "$cross_compiling" = yes; then
13949 :
13950 else
13951 cat >conftest.$ac_ext <<_ACEOF
13952 /* confdefs.h. */
13953 _ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 #include <ctype.h>
13958 #if ((' ' & 0x0FF) == 0x020)
13959 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13960 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13961 #else
13962 # define ISLOWER(c) \
13963 (('a' <= (c) && (c) <= 'i') \
13964 || ('j' <= (c) && (c) <= 'r') \
13965 || ('s' <= (c) && (c) <= 'z'))
13966 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13967 #endif
13968
13969 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13970 int
13971 main ()
13972 {
13973 int i;
13974 for (i = 0; i < 256; i++)
13975 if (XOR (islower (i), ISLOWER (i))
13976 || toupper (i) != TOUPPER (i))
13977 exit(2);
13978 exit (0);
13979 }
13980 _ACEOF
13981 rm -f conftest$ac_exeext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>&5
13984 ac_status=$?
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13989 ac_status=$?
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; }; then
13992 :
13993 else
13994 echo "$as_me: program exited with status $ac_status" >&5
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.$ac_ext >&5
13997
13998 ( exit $ac_status )
13999 ac_cv_header_stdc=no
14000 fi
14001 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14002 fi
14003 fi
14004 fi
14005 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14006 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14007 if test $ac_cv_header_stdc = yes; then
14008
14009 cat >>confdefs.h <<\_ACEOF
14010 #define STDC_HEADERS 1
14011 _ACEOF
14012
14013 fi
14014
14015 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14026 inttypes.h stdint.h unistd.h
14027 do
14028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14029 echo "$as_me:$LINENO: checking for $ac_header" >&5
14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 cat >conftest.$ac_ext <<_ACEOF
14035 /* confdefs.h. */
14036 _ACEOF
14037 cat confdefs.h >>conftest.$ac_ext
14038 cat >>conftest.$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14040 $ac_includes_default
14041
14042 #include <$ac_header>
14043 _ACEOF
14044 rm -f conftest.$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14056 ac_status=$?
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; } &&
14059 { ac_try='test -s conftest.$ac_objext'
14060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 (eval $ac_try) 2>&5
14062 ac_status=$?
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); }; }; then
14065 eval "$as_ac_Header=yes"
14066 else
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14069
14070 eval "$as_ac_Header=no"
14071 fi
14072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14073 fi
14074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14077 cat >>confdefs.h <<_ACEOF
14078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14079 _ACEOF
14080
14081 fi
14082
14083 done
14084
14085
14086
14087 for ac_header in stdlib.h
14088 do
14089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14091 echo "$as_me:$LINENO: checking for $ac_header" >&5
14092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 fi
14096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14098 else
14099 # Is the header compilable?
14100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14102 cat >conftest.$ac_ext <<_ACEOF
14103 /* confdefs.h. */
14104 _ACEOF
14105 cat confdefs.h >>conftest.$ac_ext
14106 cat >>conftest.$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14108 $ac_includes_default
14109 #include <$ac_header>
14110 _ACEOF
14111 rm -f conftest.$ac_objext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14113 (eval $ac_compile) 2>conftest.er1
14114 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14123 ac_status=$?
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try='test -s conftest.$ac_objext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14129 ac_status=$?
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 ac_header_compiler=yes
14133 else
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.$ac_ext >&5
14136
14137 ac_header_compiler=no
14138 fi
14139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14141 echo "${ECHO_T}$ac_header_compiler" >&6
14142
14143 # Is the header present?
14144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14146 cat >conftest.$ac_ext <<_ACEOF
14147 /* confdefs.h. */
14148 _ACEOF
14149 cat confdefs.h >>conftest.$ac_ext
14150 cat >>conftest.$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14152 #include <$ac_header>
14153 _ACEOF
14154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } >/dev/null; then
14162 if test -s conftest.err; then
14163 ac_cpp_err=$ac_c_preproc_warn_flag
14164 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14165 else
14166 ac_cpp_err=
14167 fi
14168 else
14169 ac_cpp_err=yes
14170 fi
14171 if test -z "$ac_cpp_err"; then
14172 ac_header_preproc=yes
14173 else
14174 echo "$as_me: failed program was:" >&5
14175 sed 's/^/| /' conftest.$ac_ext >&5
14176
14177 ac_header_preproc=no
14178 fi
14179 rm -f conftest.err conftest.$ac_ext
14180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14181 echo "${ECHO_T}$ac_header_preproc" >&6
14182
14183 # So? What about this header?
14184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14185 yes:no: )
14186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14190 ac_header_preproc=yes
14191 ;;
14192 no:yes:* )
14193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14205 (
14206 cat <<\_ASBOX
14207 ## ----------------------------------------- ##
14208 ## Report this to wx-dev@lists.wxwidgets.org ##
14209 ## ----------------------------------------- ##
14210 _ASBOX
14211 ) |
14212 sed "s/^/$as_me: WARNING: /" >&2
14213 ;;
14214 esac
14215 echo "$as_me:$LINENO: checking for $ac_header" >&5
14216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 else
14220 eval "$as_ac_Header=\$ac_header_preproc"
14221 fi
14222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14224
14225 fi
14226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14227 cat >>confdefs.h <<_ACEOF
14228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14229 _ACEOF
14230
14231 fi
14232
14233 done
14234
14235
14236 for ac_header in malloc.h
14237 do
14238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14240 echo "$as_me:$LINENO: checking for $ac_header" >&5
14241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14244 fi
14245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14247 else
14248 # Is the header compilable?
14249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14251 cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h. */
14253 _ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 $ac_includes_default
14258 #include <$ac_header>
14259 _ACEOF
14260 rm -f conftest.$ac_objext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14262 (eval $ac_compile) 2>conftest.er1
14263 ac_status=$?
14264 grep -v '^ *+' conftest.er1 >conftest.err
14265 rm -f conftest.er1
14266 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; } &&
14275 { ac_try='test -s conftest.$ac_objext'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_header_compiler=yes
14282 else
14283 echo "$as_me: failed program was:" >&5
14284 sed 's/^/| /' conftest.$ac_ext >&5
14285
14286 ac_header_compiler=no
14287 fi
14288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14290 echo "${ECHO_T}$ac_header_compiler" >&6
14291
14292 # Is the header present?
14293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14295 cat >conftest.$ac_ext <<_ACEOF
14296 /* confdefs.h. */
14297 _ACEOF
14298 cat confdefs.h >>conftest.$ac_ext
14299 cat >>conftest.$ac_ext <<_ACEOF
14300 /* end confdefs.h. */
14301 #include <$ac_header>
14302 _ACEOF
14303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } >/dev/null; then
14311 if test -s conftest.err; then
14312 ac_cpp_err=$ac_c_preproc_warn_flag
14313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14314 else
14315 ac_cpp_err=
14316 fi
14317 else
14318 ac_cpp_err=yes
14319 fi
14320 if test -z "$ac_cpp_err"; then
14321 ac_header_preproc=yes
14322 else
14323 echo "$as_me: failed program was:" >&5
14324 sed 's/^/| /' conftest.$ac_ext >&5
14325
14326 ac_header_preproc=no
14327 fi
14328 rm -f conftest.err conftest.$ac_ext
14329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14330 echo "${ECHO_T}$ac_header_preproc" >&6
14331
14332 # So? What about this header?
14333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14334 yes:no: )
14335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14339 ac_header_preproc=yes
14340 ;;
14341 no:yes:* )
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14354 (
14355 cat <<\_ASBOX
14356 ## ----------------------------------------- ##
14357 ## Report this to wx-dev@lists.wxwidgets.org ##
14358 ## ----------------------------------------- ##
14359 _ASBOX
14360 ) |
14361 sed "s/^/$as_me: WARNING: /" >&2
14362 ;;
14363 esac
14364 echo "$as_me:$LINENO: checking for $ac_header" >&5
14365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14368 else
14369 eval "$as_ac_Header=\$ac_header_preproc"
14370 fi
14371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14373
14374 fi
14375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14376 cat >>confdefs.h <<_ACEOF
14377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14378 _ACEOF
14379
14380 fi
14381
14382 done
14383
14384
14385 for ac_header in unistd.h
14386 do
14387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14389 echo "$as_me:$LINENO: checking for $ac_header" >&5
14390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 fi
14394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14396 else
14397 # Is the header compilable?
14398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14400 cat >conftest.$ac_ext <<_ACEOF
14401 /* confdefs.h. */
14402 _ACEOF
14403 cat confdefs.h >>conftest.$ac_ext
14404 cat >>conftest.$ac_ext <<_ACEOF
14405 /* end confdefs.h. */
14406 $ac_includes_default
14407 #include <$ac_header>
14408 _ACEOF
14409 rm -f conftest.$ac_objext
14410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14411 (eval $ac_compile) 2>conftest.er1
14412 ac_status=$?
14413 grep -v '^ *+' conftest.er1 >conftest.err
14414 rm -f conftest.er1
14415 cat conftest.err >&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); } &&
14418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14421 ac_status=$?
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try='test -s conftest.$ac_objext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_header_compiler=yes
14431 else
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.$ac_ext >&5
14434
14435 ac_header_compiler=no
14436 fi
14437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14439 echo "${ECHO_T}$ac_header_compiler" >&6
14440
14441 # Is the header present?
14442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14444 cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h. */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 #include <$ac_header>
14451 _ACEOF
14452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14454 ac_status=$?
14455 grep -v '^ *+' conftest.er1 >conftest.err
14456 rm -f conftest.er1
14457 cat conftest.err >&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } >/dev/null; then
14460 if test -s conftest.err; then
14461 ac_cpp_err=$ac_c_preproc_warn_flag
14462 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14463 else
14464 ac_cpp_err=
14465 fi
14466 else
14467 ac_cpp_err=yes
14468 fi
14469 if test -z "$ac_cpp_err"; then
14470 ac_header_preproc=yes
14471 else
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.$ac_ext >&5
14474
14475 ac_header_preproc=no
14476 fi
14477 rm -f conftest.err conftest.$ac_ext
14478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14479 echo "${ECHO_T}$ac_header_preproc" >&6
14480
14481 # So? What about this header?
14482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14483 yes:no: )
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14488 ac_header_preproc=yes
14489 ;;
14490 no:yes:* )
14491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14503 (
14504 cat <<\_ASBOX
14505 ## ----------------------------------------- ##
14506 ## Report this to wx-dev@lists.wxwidgets.org ##
14507 ## ----------------------------------------- ##
14508 _ASBOX
14509 ) |
14510 sed "s/^/$as_me: WARNING: /" >&2
14511 ;;
14512 esac
14513 echo "$as_me:$LINENO: checking for $ac_header" >&5
14514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 else
14518 eval "$as_ac_Header=\$ac_header_preproc"
14519 fi
14520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14522
14523 fi
14524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14525 cat >>confdefs.h <<_ACEOF
14526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14527 _ACEOF
14528
14529 fi
14530
14531 done
14532
14533
14534 for ac_header in wchar.h
14535 do
14536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14538 echo "$as_me:$LINENO: checking for $ac_header" >&5
14539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 fi
14543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14545 else
14546 # Is the header compilable?
14547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14549 cat >conftest.$ac_ext <<_ACEOF
14550 /* confdefs.h. */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 $ac_includes_default
14556 #include <$ac_header>
14557 _ACEOF
14558 rm -f conftest.$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -z "$ac_c_werror_flag" || 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 if test "$ac_cv_header_wchar_h" != "yes"; then
14684
14685 for ac_header in wcstr.h
14686 do
14687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14689 echo "$as_me:$LINENO: checking for $ac_header" >&5
14690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14692 echo $ECHO_N "(cached) $ECHO_C" >&6
14693 fi
14694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14696 else
14697 # Is the header compilable?
14698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 $ac_includes_default
14707 #include <$ac_header>
14708 _ACEOF
14709 rm -f conftest.$ac_objext
14710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14711 (eval $ac_compile) 2>conftest.er1
14712 ac_status=$?
14713 grep -v '^ *+' conftest.er1 >conftest.err
14714 rm -f conftest.er1
14715 cat conftest.err >&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); } &&
14718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14721 ac_status=$?
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try='test -s conftest.$ac_objext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14727 ac_status=$?
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 ac_header_compiler=yes
14731 else
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.$ac_ext >&5
14734
14735 ac_header_compiler=no
14736 fi
14737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14739 echo "${ECHO_T}$ac_header_compiler" >&6
14740
14741 # Is the header present?
14742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14744 cat >conftest.$ac_ext <<_ACEOF
14745 /* confdefs.h. */
14746 _ACEOF
14747 cat confdefs.h >>conftest.$ac_ext
14748 cat >>conftest.$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 #include <$ac_header>
14751 _ACEOF
14752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14754 ac_status=$?
14755 grep -v '^ *+' conftest.er1 >conftest.err
14756 rm -f conftest.er1
14757 cat conftest.err >&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } >/dev/null; then
14760 if test -s conftest.err; then
14761 ac_cpp_err=$ac_c_preproc_warn_flag
14762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14763 else
14764 ac_cpp_err=
14765 fi
14766 else
14767 ac_cpp_err=yes
14768 fi
14769 if test -z "$ac_cpp_err"; then
14770 ac_header_preproc=yes
14771 else
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.$ac_ext >&5
14774
14775 ac_header_preproc=no
14776 fi
14777 rm -f conftest.err conftest.$ac_ext
14778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14779 echo "${ECHO_T}$ac_header_preproc" >&6
14780
14781 # So? What about this header?
14782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14783 yes:no: )
14784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14788 ac_header_preproc=yes
14789 ;;
14790 no:yes:* )
14791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14803 (
14804 cat <<\_ASBOX
14805 ## ----------------------------------------- ##
14806 ## Report this to wx-dev@lists.wxwidgets.org ##
14807 ## ----------------------------------------- ##
14808 _ASBOX
14809 ) |
14810 sed "s/^/$as_me: WARNING: /" >&2
14811 ;;
14812 esac
14813 echo "$as_me:$LINENO: checking for $ac_header" >&5
14814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14816 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 else
14818 eval "$as_ac_Header=\$ac_header_preproc"
14819 fi
14820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14822
14823 fi
14824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14825 cat >>confdefs.h <<_ACEOF
14826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14827 _ACEOF
14828
14829 fi
14830
14831 done
14832
14833 fi
14834
14835
14836 for ac_header in fnmatch.h
14837 do
14838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14840 echo "$as_me:$LINENO: checking for $ac_header" >&5
14841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 fi
14845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14847 else
14848 # Is the header compilable?
14849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14851 cat >conftest.$ac_ext <<_ACEOF
14852 /* confdefs.h. */
14853 _ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857 $ac_includes_default
14858 #include <$ac_header>
14859 _ACEOF
14860 rm -f conftest.$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>conftest.er1
14863 ac_status=$?
14864 grep -v '^ *+' conftest.er1 >conftest.err
14865 rm -f conftest.er1
14866 cat conftest.err >&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } &&
14869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14872 ac_status=$?
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; } &&
14875 { ac_try='test -s conftest.$ac_objext'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; }; then
14881 ac_header_compiler=yes
14882 else
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14885
14886 ac_header_compiler=no
14887 fi
14888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14890 echo "${ECHO_T}$ac_header_compiler" >&6
14891
14892 # Is the header present?
14893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14895 cat >conftest.$ac_ext <<_ACEOF
14896 /* confdefs.h. */
14897 _ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 #include <$ac_header>
14902 _ACEOF
14903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14905 ac_status=$?
14906 grep -v '^ *+' conftest.er1 >conftest.err
14907 rm -f conftest.er1
14908 cat conftest.err >&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } >/dev/null; then
14911 if test -s conftest.err; then
14912 ac_cpp_err=$ac_c_preproc_warn_flag
14913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14914 else
14915 ac_cpp_err=
14916 fi
14917 else
14918 ac_cpp_err=yes
14919 fi
14920 if test -z "$ac_cpp_err"; then
14921 ac_header_preproc=yes
14922 else
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14925
14926 ac_header_preproc=no
14927 fi
14928 rm -f conftest.err conftest.$ac_ext
14929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14930 echo "${ECHO_T}$ac_header_preproc" >&6
14931
14932 # So? What about this header?
14933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14934 yes:no: )
14935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14939 ac_header_preproc=yes
14940 ;;
14941 no:yes:* )
14942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14954 (
14955 cat <<\_ASBOX
14956 ## ----------------------------------------- ##
14957 ## Report this to wx-dev@lists.wxwidgets.org ##
14958 ## ----------------------------------------- ##
14959 _ASBOX
14960 ) |
14961 sed "s/^/$as_me: WARNING: /" >&2
14962 ;;
14963 esac
14964 echo "$as_me:$LINENO: checking for $ac_header" >&5
14965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 else
14969 eval "$as_ac_Header=\$ac_header_preproc"
14970 fi
14971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14973
14974 fi
14975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14976 cat >>confdefs.h <<_ACEOF
14977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14978 _ACEOF
14979
14980 fi
14981
14982 done
14983
14984
14985 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14986
14987 for ac_func in fnmatch
14988 do
14989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14990 echo "$as_me:$LINENO: checking for $ac_func" >&5
14991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14992 if eval "test \"\${$as_ac_var+set}\" = set"; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 else
14995 cat >conftest.$ac_ext <<_ACEOF
14996 /* confdefs.h. */
14997 _ACEOF
14998 cat confdefs.h >>conftest.$ac_ext
14999 cat >>conftest.$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15003 #define $ac_func innocuous_$ac_func
15004
15005 /* System header to define __stub macros and hopefully few prototypes,
15006 which can conflict with char $ac_func (); below.
15007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15008 <limits.h> exists even on freestanding compilers. */
15009
15010 #ifdef __STDC__
15011 # include <limits.h>
15012 #else
15013 # include <assert.h>
15014 #endif
15015
15016 #undef $ac_func
15017
15018 /* Override any gcc2 internal prototype to avoid an error. */
15019 #ifdef __cplusplus
15020 extern "C"
15021 {
15022 #endif
15023 /* We use char because int might match the return type of a gcc2
15024 builtin and then its argument prototype would still apply. */
15025 char $ac_func ();
15026 /* The GNU C library defines this for functions which it implements
15027 to always fail with ENOSYS. Some functions are actually named
15028 something starting with __ and the normal name is an alias. */
15029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15030 choke me
15031 #else
15032 char (*f) () = $ac_func;
15033 #endif
15034 #ifdef __cplusplus
15035 }
15036 #endif
15037
15038 int
15039 main ()
15040 {
15041 return f != $ac_func;
15042 ;
15043 return 0;
15044 }
15045 _ACEOF
15046 rm -f conftest.$ac_objext conftest$ac_exeext
15047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15048 (eval $ac_link) 2>conftest.er1
15049 ac_status=$?
15050 grep -v '^ *+' conftest.er1 >conftest.err
15051 rm -f conftest.er1
15052 cat conftest.err >&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } &&
15055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15058 ac_status=$?
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; } &&
15061 { ac_try='test -s conftest$ac_exeext'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15064 ac_status=$?
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; }; then
15067 eval "$as_ac_var=yes"
15068 else
15069 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.$ac_ext >&5
15071
15072 eval "$as_ac_var=no"
15073 fi
15074 rm -f conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15076 fi
15077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15079 if test `eval echo '${'$as_ac_var'}'` = yes; then
15080 cat >>confdefs.h <<_ACEOF
15081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15082 _ACEOF
15083
15084 fi
15085 done
15086
15087 fi
15088
15089
15090 for ac_header in langinfo.h
15091 do
15092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15094 echo "$as_me:$LINENO: checking for $ac_header" >&5
15095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 fi
15099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15101 else
15102 # Is the header compilable?
15103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15105 cat >conftest.$ac_ext <<_ACEOF
15106 /* confdefs.h. */
15107 _ACEOF
15108 cat confdefs.h >>conftest.$ac_ext
15109 cat >>conftest.$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15111 $ac_includes_default
15112 #include <$ac_header>
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" || test ! -s conftest.err'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15126 ac_status=$?
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try='test -s conftest.$ac_objext'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15132 ac_status=$?
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; }; then
15135 ac_header_compiler=yes
15136 else
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.$ac_ext >&5
15139
15140 ac_header_compiler=no
15141 fi
15142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15144 echo "${ECHO_T}$ac_header_compiler" >&6
15145
15146 # Is the header present?
15147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15149 cat >conftest.$ac_ext <<_ACEOF
15150 /* confdefs.h. */
15151 _ACEOF
15152 cat confdefs.h >>conftest.$ac_ext
15153 cat >>conftest.$ac_ext <<_ACEOF
15154 /* end confdefs.h. */
15155 #include <$ac_header>
15156 _ACEOF
15157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15159 ac_status=$?
15160 grep -v '^ *+' conftest.er1 >conftest.err
15161 rm -f conftest.er1
15162 cat conftest.err >&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } >/dev/null; then
15165 if test -s conftest.err; then
15166 ac_cpp_err=$ac_c_preproc_warn_flag
15167 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15168 else
15169 ac_cpp_err=
15170 fi
15171 else
15172 ac_cpp_err=yes
15173 fi
15174 if test -z "$ac_cpp_err"; then
15175 ac_header_preproc=yes
15176 else
15177 echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.$ac_ext >&5
15179
15180 ac_header_preproc=no
15181 fi
15182 rm -f conftest.err conftest.$ac_ext
15183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15184 echo "${ECHO_T}$ac_header_preproc" >&6
15185
15186 # So? What about this header?
15187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15188 yes:no: )
15189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15193 ac_header_preproc=yes
15194 ;;
15195 no:yes:* )
15196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15208 (
15209 cat <<\_ASBOX
15210 ## ----------------------------------------- ##
15211 ## Report this to wx-dev@lists.wxwidgets.org ##
15212 ## ----------------------------------------- ##
15213 _ASBOX
15214 ) |
15215 sed "s/^/$as_me: WARNING: /" >&2
15216 ;;
15217 esac
15218 echo "$as_me:$LINENO: checking for $ac_header" >&5
15219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 else
15223 eval "$as_ac_Header=\$ac_header_preproc"
15224 fi
15225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15227
15228 fi
15229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15230 cat >>confdefs.h <<_ACEOF
15231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15232 _ACEOF
15233
15234 fi
15235
15236 done
15237
15238
15239 case "${host}" in
15240 *-pc-os2_emx | *-pc-os2-emx )
15241 if test $ac_cv_header_langinfo_h = "yes" \
15242 -a \( "$wx_cv_gccversion" = "EMX2" \
15243 -o "$wx_cv_gccversion" = "EMX3" \
15244 -o "$wx_cv_gccversion" = "Innotek5" \); then
15245 LIBS="$LIBS -lintl"
15246 fi
15247 ;;
15248 esac
15249
15250 if test "$wxUSE_GUI" = "yes"; then
15251 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15252
15253 for ac_header in X11/Xlib.h
15254 do
15255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15257 echo "$as_me:$LINENO: checking for $ac_header" >&5
15258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 fi
15262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15264 else
15265 # Is the header compilable?
15266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15268 cat >conftest.$ac_ext <<_ACEOF
15269 /* confdefs.h. */
15270 _ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15274 $ac_includes_default
15275 #include <$ac_header>
15276 _ACEOF
15277 rm -f conftest.$ac_objext
15278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15279 (eval $ac_compile) 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } &&
15286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15289 ac_status=$?
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; } &&
15292 { ac_try='test -s conftest.$ac_objext'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15295 ac_status=$?
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; }; then
15298 ac_header_compiler=yes
15299 else
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.$ac_ext >&5
15302
15303 ac_header_compiler=no
15304 fi
15305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15307 echo "${ECHO_T}$ac_header_compiler" >&6
15308
15309 # Is the header present?
15310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15312 cat >conftest.$ac_ext <<_ACEOF
15313 /* confdefs.h. */
15314 _ACEOF
15315 cat confdefs.h >>conftest.$ac_ext
15316 cat >>conftest.$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15318 #include <$ac_header>
15319 _ACEOF
15320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15322 ac_status=$?
15323 grep -v '^ *+' conftest.er1 >conftest.err
15324 rm -f conftest.er1
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } >/dev/null; then
15328 if test -s conftest.err; then
15329 ac_cpp_err=$ac_c_preproc_warn_flag
15330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15331 else
15332 ac_cpp_err=
15333 fi
15334 else
15335 ac_cpp_err=yes
15336 fi
15337 if test -z "$ac_cpp_err"; then
15338 ac_header_preproc=yes
15339 else
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15342
15343 ac_header_preproc=no
15344 fi
15345 rm -f conftest.err conftest.$ac_ext
15346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15347 echo "${ECHO_T}$ac_header_preproc" >&6
15348
15349 # So? What about this header?
15350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15351 yes:no: )
15352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15356 ac_header_preproc=yes
15357 ;;
15358 no:yes:* )
15359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15371 (
15372 cat <<\_ASBOX
15373 ## ----------------------------------------- ##
15374 ## Report this to wx-dev@lists.wxwidgets.org ##
15375 ## ----------------------------------------- ##
15376 _ASBOX
15377 ) |
15378 sed "s/^/$as_me: WARNING: /" >&2
15379 ;;
15380 esac
15381 echo "$as_me:$LINENO: checking for $ac_header" >&5
15382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 else
15386 eval "$as_ac_Header=\$ac_header_preproc"
15387 fi
15388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15390
15391 fi
15392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15393 cat >>confdefs.h <<_ACEOF
15394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15395 _ACEOF
15396
15397 fi
15398
15399 done
15400
15401
15402 for ac_header in X11/XKBlib.h
15403 do
15404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15405 echo "$as_me:$LINENO: checking for $ac_header" >&5
15406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 else
15410 cat >conftest.$ac_ext <<_ACEOF
15411 /* confdefs.h. */
15412 _ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15416
15417 #if HAVE_X11_XLIB_H
15418 #include <X11/Xlib.h>
15419 #endif
15420
15421
15422 #include <$ac_header>
15423 _ACEOF
15424 rm -f conftest.$ac_objext
15425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15426 (eval $ac_compile) 2>conftest.er1
15427 ac_status=$?
15428 grep -v '^ *+' conftest.er1 >conftest.err
15429 rm -f conftest.er1
15430 cat conftest.err >&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); } &&
15433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15435 (eval $ac_try) 2>&5
15436 ac_status=$?
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); }; } &&
15439 { ac_try='test -s conftest.$ac_objext'
15440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15441 (eval $ac_try) 2>&5
15442 ac_status=$?
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); }; }; then
15445 eval "$as_ac_Header=yes"
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450 eval "$as_ac_Header=no"
15451 fi
15452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15453 fi
15454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15457 cat >>confdefs.h <<_ACEOF
15458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15459 _ACEOF
15460
15461 fi
15462
15463 done
15464
15465 fi
15466 fi
15467
15468
15469 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15470 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15471 if test "${ac_cv_c_const+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15473 else
15474 cat >conftest.$ac_ext <<_ACEOF
15475 /* confdefs.h. */
15476 _ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15480
15481 int
15482 main ()
15483 {
15484 /* FIXME: Include the comments suggested by Paul. */
15485 #ifndef __cplusplus
15486 /* Ultrix mips cc rejects this. */
15487 typedef int charset[2];
15488 const charset x;
15489 /* SunOS 4.1.1 cc rejects this. */
15490 char const *const *ccp;
15491 char **p;
15492 /* NEC SVR4.0.2 mips cc rejects this. */
15493 struct point {int x, y;};
15494 static struct point const zero = {0,0};
15495 /* AIX XL C 1.02.0.0 rejects this.
15496 It does not let you subtract one const X* pointer from another in
15497 an arm of an if-expression whose if-part is not a constant
15498 expression */
15499 const char *g = "string";
15500 ccp = &g + (g ? g-g : 0);
15501 /* HPUX 7.0 cc rejects these. */
15502 ++ccp;
15503 p = (char**) ccp;
15504 ccp = (char const *const *) p;
15505 { /* SCO 3.2v4 cc rejects this. */
15506 char *t;
15507 char const *s = 0 ? (char *) 0 : (char const *) 0;
15508
15509 *t++ = 0;
15510 }
15511 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15512 int x[] = {25, 17};
15513 const int *foo = &x[0];
15514 ++foo;
15515 }
15516 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15517 typedef const int *iptr;
15518 iptr p = 0;
15519 ++p;
15520 }
15521 { /* AIX XL C 1.02.0.0 rejects this saying
15522 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15523 struct s { int j; const int *ap[3]; };
15524 struct s *b; b->j = 5;
15525 }
15526 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15527 const int foo = 10;
15528 }
15529 #endif
15530
15531 ;
15532 return 0;
15533 }
15534 _ACEOF
15535 rm -f conftest.$ac_objext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>conftest.er1
15538 ac_status=$?
15539 grep -v '^ *+' conftest.er1 >conftest.err
15540 rm -f conftest.er1
15541 cat conftest.err >&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15550 { ac_try='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15553 ac_status=$?
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_cv_c_const=yes
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15560
15561 ac_cv_c_const=no
15562 fi
15563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15564 fi
15565 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15566 echo "${ECHO_T}$ac_cv_c_const" >&6
15567 if test $ac_cv_c_const = no; then
15568
15569 cat >>confdefs.h <<\_ACEOF
15570 #define const
15571 _ACEOF
15572
15573 fi
15574
15575 echo "$as_me:$LINENO: checking for inline" >&5
15576 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15577 if test "${ac_cv_c_inline+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 else
15580 ac_cv_c_inline=no
15581 for ac_kw in inline __inline__ __inline; do
15582 cat >conftest.$ac_ext <<_ACEOF
15583 /* confdefs.h. */
15584 _ACEOF
15585 cat confdefs.h >>conftest.$ac_ext
15586 cat >>conftest.$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 #ifndef __cplusplus
15589 typedef int foo_t;
15590 static $ac_kw foo_t static_foo () {return 0; }
15591 $ac_kw foo_t foo () {return 0; }
15592 #endif
15593
15594 _ACEOF
15595 rm -f conftest.$ac_objext
15596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15597 (eval $ac_compile) 2>conftest.er1
15598 ac_status=$?
15599 grep -v '^ *+' conftest.er1 >conftest.err
15600 rm -f conftest.er1
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } &&
15604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 ac_cv_c_inline=$ac_kw; break
15617 else
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15620
15621 fi
15622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15623 done
15624
15625 fi
15626 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15627 echo "${ECHO_T}$ac_cv_c_inline" >&6
15628
15629
15630 case $ac_cv_c_inline in
15631 inline | yes) ;;
15632 *)
15633 case $ac_cv_c_inline in
15634 no) ac_val=;;
15635 *) ac_val=$ac_cv_c_inline;;
15636 esac
15637 cat >>confdefs.h <<_ACEOF
15638 #ifndef __cplusplus
15639 #define inline $ac_val
15640 #endif
15641 _ACEOF
15642 ;;
15643 esac
15644
15645
15646 echo "$as_me:$LINENO: checking for char" >&5
15647 echo $ECHO_N "checking for char... $ECHO_C" >&6
15648 if test "${ac_cv_type_char+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 else
15651 cat >conftest.$ac_ext <<_ACEOF
15652 /* confdefs.h. */
15653 _ACEOF
15654 cat confdefs.h >>conftest.$ac_ext
15655 cat >>conftest.$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 $ac_includes_default
15658 int
15659 main ()
15660 {
15661 if ((char *) 0)
15662 return 0;
15663 if (sizeof (char))
15664 return 0;
15665 ;
15666 return 0;
15667 }
15668 _ACEOF
15669 rm -f conftest.$ac_objext
15670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15671 (eval $ac_compile) 2>conftest.er1
15672 ac_status=$?
15673 grep -v '^ *+' conftest.er1 >conftest.err
15674 rm -f conftest.er1
15675 cat conftest.err >&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } &&
15678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15680 (eval $ac_try) 2>&5
15681 ac_status=$?
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); }; } &&
15684 { ac_try='test -s conftest.$ac_objext'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15687 ac_status=$?
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; }; then
15690 ac_cv_type_char=yes
15691 else
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.$ac_ext >&5
15694
15695 ac_cv_type_char=no
15696 fi
15697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15698 fi
15699 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15700 echo "${ECHO_T}$ac_cv_type_char" >&6
15701
15702 echo "$as_me:$LINENO: checking size of char" >&5
15703 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15704 if test "${ac_cv_sizeof_char+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 if test "$ac_cv_type_char" = yes; then
15708 # The cast to unsigned long works around a bug in the HP C Compiler
15709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15711 # This bug is HP SR number 8606223364.
15712 if test "$cross_compiling" = yes; then
15713 # Depending upon the size, compute the lo and hi bounds.
15714 cat >conftest.$ac_ext <<_ACEOF
15715 /* confdefs.h. */
15716 _ACEOF
15717 cat confdefs.h >>conftest.$ac_ext
15718 cat >>conftest.$ac_ext <<_ACEOF
15719 /* end confdefs.h. */
15720 $ac_includes_default
15721 int
15722 main ()
15723 {
15724 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15725 test_array [0] = 0
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 rm -f conftest.$ac_objext
15732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15733 (eval $ac_compile) 2>conftest.er1
15734 ac_status=$?
15735 grep -v '^ *+' conftest.er1 >conftest.err
15736 rm -f conftest.er1
15737 cat conftest.err >&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15743 ac_status=$?
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; } &&
15746 { ac_try='test -s conftest.$ac_objext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15749 ac_status=$?
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15752 ac_lo=0 ac_mid=0
15753 while :; do
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15761 int
15762 main ()
15763 {
15764 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15765 test_array [0] = 0
15766
15767 ;
15768 return 0;
15769 }
15770 _ACEOF
15771 rm -f conftest.$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15774 ac_status=$?
15775 grep -v '^ *+' conftest.er1 >conftest.err
15776 rm -f conftest.er1
15777 cat conftest.err >&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15783 ac_status=$?
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_hi=$ac_mid; break
15793 else
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.$ac_ext >&5
15796
15797 ac_lo=`expr $ac_mid + 1`
15798 if test $ac_lo -le $ac_mid; then
15799 ac_lo= ac_hi=
15800 break
15801 fi
15802 ac_mid=`expr 2 '*' $ac_mid + 1`
15803 fi
15804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15805 done
15806 else
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15809
15810 cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h. */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 $ac_includes_default
15817 int
15818 main ()
15819 {
15820 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15821 test_array [0] = 0
15822
15823 ;
15824 return 0;
15825 }
15826 _ACEOF
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15830 ac_status=$?
15831 grep -v '^ *+' conftest.er1 >conftest.err
15832 rm -f conftest.er1
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15839 ac_status=$?
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_hi=-1 ac_mid=-1
15849 while :; do
15850 cat >conftest.$ac_ext <<_ACEOF
15851 /* confdefs.h. */
15852 _ACEOF
15853 cat confdefs.h >>conftest.$ac_ext
15854 cat >>conftest.$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15856 $ac_includes_default
15857 int
15858 main ()
15859 {
15860 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15861 test_array [0] = 0
15862
15863 ;
15864 return 0;
15865 }
15866 _ACEOF
15867 rm -f conftest.$ac_objext
15868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15869 (eval $ac_compile) 2>conftest.er1
15870 ac_status=$?
15871 grep -v '^ *+' conftest.er1 >conftest.err
15872 rm -f conftest.er1
15873 cat conftest.err >&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); } &&
15876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15879 ac_status=$?
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; } &&
15882 { ac_try='test -s conftest.$ac_objext'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15885 ac_status=$?
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; }; then
15888 ac_lo=$ac_mid; break
15889 else
15890 echo "$as_me: failed program was:" >&5
15891 sed 's/^/| /' conftest.$ac_ext >&5
15892
15893 ac_hi=`expr '(' $ac_mid ')' - 1`
15894 if test $ac_mid -le $ac_hi; then
15895 ac_lo= ac_hi=
15896 break
15897 fi
15898 ac_mid=`expr 2 '*' $ac_mid`
15899 fi
15900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15901 done
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 ac_lo= ac_hi=
15907 fi
15908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15909 fi
15910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15911 # Binary search between lo and hi bounds.
15912 while test "x$ac_lo" != "x$ac_hi"; do
15913 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15914 cat >conftest.$ac_ext <<_ACEOF
15915 /* confdefs.h. */
15916 _ACEOF
15917 cat confdefs.h >>conftest.$ac_ext
15918 cat >>conftest.$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15921 int
15922 main ()
15923 {
15924 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15925 test_array [0] = 0
15926
15927 ;
15928 return 0;
15929 }
15930 _ACEOF
15931 rm -f conftest.$ac_objext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15933 (eval $ac_compile) 2>conftest.er1
15934 ac_status=$?
15935 grep -v '^ *+' conftest.er1 >conftest.err
15936 rm -f conftest.er1
15937 cat conftest.err >&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } &&
15940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try='test -s conftest.$ac_objext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 ac_hi=$ac_mid
15953 else
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.$ac_ext >&5
15956
15957 ac_lo=`expr '(' $ac_mid ')' + 1`
15958 fi
15959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15960 done
15961 case $ac_lo in
15962 ?*) ac_cv_sizeof_char=$ac_lo;;
15963 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15964 See \`config.log' for more details." >&5
15965 echo "$as_me: error: cannot compute sizeof (char), 77
15966 See \`config.log' for more details." >&2;}
15967 { (exit 1); exit 1; }; } ;;
15968 esac
15969 else
15970 if test "$cross_compiling" = yes; then
15971 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15972 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15973 { (exit 1); exit 1; }; }
15974 else
15975 cat >conftest.$ac_ext <<_ACEOF
15976 /* confdefs.h. */
15977 _ACEOF
15978 cat confdefs.h >>conftest.$ac_ext
15979 cat >>conftest.$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981 $ac_includes_default
15982 long longval () { return (long) (sizeof (char)); }
15983 unsigned long ulongval () { return (long) (sizeof (char)); }
15984 #include <stdio.h>
15985 #include <stdlib.h>
15986 int
15987 main ()
15988 {
15989
15990 FILE *f = fopen ("conftest.val", "w");
15991 if (! f)
15992 exit (1);
15993 if (((long) (sizeof (char))) < 0)
15994 {
15995 long i = longval ();
15996 if (i != ((long) (sizeof (char))))
15997 exit (1);
15998 fprintf (f, "%ld\n", i);
15999 }
16000 else
16001 {
16002 unsigned long i = ulongval ();
16003 if (i != ((long) (sizeof (char))))
16004 exit (1);
16005 fprintf (f, "%lu\n", i);
16006 }
16007 exit (ferror (f) || fclose (f) != 0);
16008
16009 ;
16010 return 0;
16011 }
16012 _ACEOF
16013 rm -f conftest$ac_exeext
16014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16015 (eval $ac_link) 2>&5
16016 ac_status=$?
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16021 ac_status=$?
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16024 ac_cv_sizeof_char=`cat conftest.val`
16025 else
16026 echo "$as_me: program exited with status $ac_status" >&5
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16029
16030 ( exit $ac_status )
16031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16032 See \`config.log' for more details." >&5
16033 echo "$as_me: error: cannot compute sizeof (char), 77
16034 See \`config.log' for more details." >&2;}
16035 { (exit 1); exit 1; }; }
16036 fi
16037 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16038 fi
16039 fi
16040 rm -f conftest.val
16041 else
16042 ac_cv_sizeof_char=0
16043 fi
16044 fi
16045 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16046 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16047 cat >>confdefs.h <<_ACEOF
16048 #define SIZEOF_CHAR $ac_cv_sizeof_char
16049 _ACEOF
16050
16051
16052 echo "$as_me:$LINENO: checking for short" >&5
16053 echo $ECHO_N "checking for short... $ECHO_C" >&6
16054 if test "${ac_cv_type_short+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 $ac_includes_default
16064 int
16065 main ()
16066 {
16067 if ((short *) 0)
16068 return 0;
16069 if (sizeof (short))
16070 return 0;
16071 ;
16072 return 0;
16073 }
16074 _ACEOF
16075 rm -f conftest.$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16078 ac_status=$?
16079 grep -v '^ *+' conftest.er1 >conftest.err
16080 rm -f conftest.er1
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_cv_type_short=yes
16097 else
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16100
16101 ac_cv_type_short=no
16102 fi
16103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16104 fi
16105 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16106 echo "${ECHO_T}$ac_cv_type_short" >&6
16107
16108 echo "$as_me:$LINENO: checking size of short" >&5
16109 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16110 if test "${ac_cv_sizeof_short+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 else
16113 if test "$ac_cv_type_short" = yes; then
16114 # The cast to unsigned long works around a bug in the HP C Compiler
16115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16117 # This bug is HP SR number 8606223364.
16118 if test "$cross_compiling" = yes; then
16119 # Depending upon the size, compute the lo and hi bounds.
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 $ac_includes_default
16127 int
16128 main ()
16129 {
16130 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16131 test_array [0] = 0
16132
16133 ;
16134 return 0;
16135 }
16136 _ACEOF
16137 rm -f conftest.$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16149 ac_status=$?
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; } &&
16152 { ac_try='test -s conftest.$ac_objext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16155 ac_status=$?
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 ac_lo=0 ac_mid=0
16159 while :; do
16160 cat >conftest.$ac_ext <<_ACEOF
16161 /* confdefs.h. */
16162 _ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16167 int
16168 main ()
16169 {
16170 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16171 test_array [0] = 0
16172
16173 ;
16174 return 0;
16175 }
16176 _ACEOF
16177 rm -f conftest.$ac_objext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179 (eval $ac_compile) 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16189 ac_status=$?
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try='test -s conftest.$ac_objext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16195 ac_status=$?
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_hi=$ac_mid; break
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 ac_lo=`expr $ac_mid + 1`
16204 if test $ac_lo -le $ac_mid; then
16205 ac_lo= ac_hi=
16206 break
16207 fi
16208 ac_mid=`expr 2 '*' $ac_mid + 1`
16209 fi
16210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16211 done
16212 else
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.$ac_ext >&5
16215
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 $ac_includes_default
16223 int
16224 main ()
16225 {
16226 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16227 test_array [0] = 0
16228
16229 ;
16230 return 0;
16231 }
16232 _ACEOF
16233 rm -f conftest.$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_hi=-1 ac_mid=-1
16255 while :; do
16256 cat >conftest.$ac_ext <<_ACEOF
16257 /* confdefs.h. */
16258 _ACEOF
16259 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16263 int
16264 main ()
16265 {
16266 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16267 test_array [0] = 0
16268
16269 ;
16270 return 0;
16271 }
16272 _ACEOF
16273 rm -f conftest.$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16285 ac_status=$?
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; } &&
16288 { ac_try='test -s conftest.$ac_objext'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16291 ac_status=$?
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; }; then
16294 ac_lo=$ac_mid; break
16295 else
16296 echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.$ac_ext >&5
16298
16299 ac_hi=`expr '(' $ac_mid ')' - 1`
16300 if test $ac_mid -le $ac_hi; then
16301 ac_lo= ac_hi=
16302 break
16303 fi
16304 ac_mid=`expr 2 '*' $ac_mid`
16305 fi
16306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16307 done
16308 else
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.$ac_ext >&5
16311
16312 ac_lo= ac_hi=
16313 fi
16314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16315 fi
16316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16317 # Binary search between lo and hi bounds.
16318 while test "x$ac_lo" != "x$ac_hi"; do
16319 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16320 cat >conftest.$ac_ext <<_ACEOF
16321 /* confdefs.h. */
16322 _ACEOF
16323 cat confdefs.h >>conftest.$ac_ext
16324 cat >>conftest.$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16327 int
16328 main ()
16329 {
16330 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16331 test_array [0] = 0
16332
16333 ;
16334 return 0;
16335 }
16336 _ACEOF
16337 rm -f conftest.$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>conftest.er1
16340 ac_status=$?
16341 grep -v '^ *+' conftest.er1 >conftest.err
16342 rm -f conftest.er1
16343 cat conftest.err >&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_hi=$ac_mid
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16362
16363 ac_lo=`expr '(' $ac_mid ')' + 1`
16364 fi
16365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16366 done
16367 case $ac_lo in
16368 ?*) ac_cv_sizeof_short=$ac_lo;;
16369 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16370 See \`config.log' for more details." >&5
16371 echo "$as_me: error: cannot compute sizeof (short), 77
16372 See \`config.log' for more details." >&2;}
16373 { (exit 1); exit 1; }; } ;;
16374 esac
16375 else
16376 if test "$cross_compiling" = yes; then
16377 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16378 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16379 { (exit 1); exit 1; }; }
16380 else
16381 cat >conftest.$ac_ext <<_ACEOF
16382 /* confdefs.h. */
16383 _ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16388 long longval () { return (long) (sizeof (short)); }
16389 unsigned long ulongval () { return (long) (sizeof (short)); }
16390 #include <stdio.h>
16391 #include <stdlib.h>
16392 int
16393 main ()
16394 {
16395
16396 FILE *f = fopen ("conftest.val", "w");
16397 if (! f)
16398 exit (1);
16399 if (((long) (sizeof (short))) < 0)
16400 {
16401 long i = longval ();
16402 if (i != ((long) (sizeof (short))))
16403 exit (1);
16404 fprintf (f, "%ld\n", i);
16405 }
16406 else
16407 {
16408 unsigned long i = ulongval ();
16409 if (i != ((long) (sizeof (short))))
16410 exit (1);
16411 fprintf (f, "%lu\n", i);
16412 }
16413 exit (ferror (f) || fclose (f) != 0);
16414
16415 ;
16416 return 0;
16417 }
16418 _ACEOF
16419 rm -f conftest$ac_exeext
16420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16421 (eval $ac_link) 2>&5
16422 ac_status=$?
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16427 ac_status=$?
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16430 ac_cv_sizeof_short=`cat conftest.val`
16431 else
16432 echo "$as_me: program exited with status $ac_status" >&5
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16435
16436 ( exit $ac_status )
16437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16438 See \`config.log' for more details." >&5
16439 echo "$as_me: error: cannot compute sizeof (short), 77
16440 See \`config.log' for more details." >&2;}
16441 { (exit 1); exit 1; }; }
16442 fi
16443 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16444 fi
16445 fi
16446 rm -f conftest.val
16447 else
16448 ac_cv_sizeof_short=0
16449 fi
16450 fi
16451 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16452 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16453 cat >>confdefs.h <<_ACEOF
16454 #define SIZEOF_SHORT $ac_cv_sizeof_short
16455 _ACEOF
16456
16457
16458 echo "$as_me:$LINENO: checking for void *" >&5
16459 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16460 if test "${ac_cv_type_void_p+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 else
16463 cat >conftest.$ac_ext <<_ACEOF
16464 /* confdefs.h. */
16465 _ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16470 int
16471 main ()
16472 {
16473 if ((void * *) 0)
16474 return 0;
16475 if (sizeof (void *))
16476 return 0;
16477 ;
16478 return 0;
16479 }
16480 _ACEOF
16481 rm -f conftest.$ac_objext
16482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16483 (eval $ac_compile) 2>conftest.er1
16484 ac_status=$?
16485 grep -v '^ *+' conftest.er1 >conftest.err
16486 rm -f conftest.er1
16487 cat conftest.err >&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); } &&
16490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16493 ac_status=$?
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; } &&
16496 { ac_try='test -s conftest.$ac_objext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16502 ac_cv_type_void_p=yes
16503 else
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16506
16507 ac_cv_type_void_p=no
16508 fi
16509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16510 fi
16511 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16512 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16513
16514 echo "$as_me:$LINENO: checking size of void *" >&5
16515 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16516 if test "${ac_cv_sizeof_void_p+set}" = set; then
16517 echo $ECHO_N "(cached) $ECHO_C" >&6
16518 else
16519 if test "$ac_cv_type_void_p" = yes; then
16520 # The cast to unsigned long works around a bug in the HP C Compiler
16521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16523 # This bug is HP SR number 8606223364.
16524 if test "$cross_compiling" = yes; then
16525 # Depending upon the size, compute the lo and hi bounds.
16526 cat >conftest.$ac_ext <<_ACEOF
16527 /* confdefs.h. */
16528 _ACEOF
16529 cat confdefs.h >>conftest.$ac_ext
16530 cat >>conftest.$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16532 $ac_includes_default
16533 int
16534 main ()
16535 {
16536 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16537 test_array [0] = 0
16538
16539 ;
16540 return 0;
16541 }
16542 _ACEOF
16543 rm -f conftest.$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545 (eval $ac_compile) 2>conftest.er1
16546 ac_status=$?
16547 grep -v '^ *+' conftest.er1 >conftest.err
16548 rm -f conftest.er1
16549 cat conftest.err >&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } &&
16552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16558 { ac_try='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16561 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16564 ac_lo=0 ac_mid=0
16565 while :; do
16566 cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h. */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16573 int
16574 main ()
16575 {
16576 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16577 test_array [0] = 0
16578
16579 ;
16580 return 0;
16581 }
16582 _ACEOF
16583 rm -f conftest.$ac_objext
16584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16585 (eval $ac_compile) 2>conftest.er1
16586 ac_status=$?
16587 grep -v '^ *+' conftest.er1 >conftest.err
16588 rm -f conftest.er1
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16595 ac_status=$?
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; } &&
16598 { ac_try='test -s conftest.$ac_objext'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16604 ac_hi=$ac_mid; break
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16608
16609 ac_lo=`expr $ac_mid + 1`
16610 if test $ac_lo -le $ac_mid; then
16611 ac_lo= ac_hi=
16612 break
16613 fi
16614 ac_mid=`expr 2 '*' $ac_mid + 1`
16615 fi
16616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16617 done
16618 else
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.$ac_ext >&5
16621
16622 cat >conftest.$ac_ext <<_ACEOF
16623 /* confdefs.h. */
16624 _ACEOF
16625 cat confdefs.h >>conftest.$ac_ext
16626 cat >>conftest.$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 $ac_includes_default
16629 int
16630 main ()
16631 {
16632 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16633 test_array [0] = 0
16634
16635 ;
16636 return 0;
16637 }
16638 _ACEOF
16639 rm -f conftest.$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 ac_hi=-1 ac_mid=-1
16661 while :; do
16662 cat >conftest.$ac_ext <<_ACEOF
16663 /* confdefs.h. */
16664 _ACEOF
16665 cat confdefs.h >>conftest.$ac_ext
16666 cat >>conftest.$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 $ac_includes_default
16669 int
16670 main ()
16671 {
16672 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16673 test_array [0] = 0
16674
16675 ;
16676 return 0;
16677 }
16678 _ACEOF
16679 rm -f conftest.$ac_objext
16680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16681 (eval $ac_compile) 2>conftest.er1
16682 ac_status=$?
16683 grep -v '^ *+' conftest.er1 >conftest.err
16684 rm -f conftest.er1
16685 cat conftest.err >&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } &&
16688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16694 { ac_try='test -s conftest.$ac_objext'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16697 ac_status=$?
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; }; then
16700 ac_lo=$ac_mid; break
16701 else
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.$ac_ext >&5
16704
16705 ac_hi=`expr '(' $ac_mid ')' - 1`
16706 if test $ac_mid -le $ac_hi; then
16707 ac_lo= ac_hi=
16708 break
16709 fi
16710 ac_mid=`expr 2 '*' $ac_mid`
16711 fi
16712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16713 done
16714 else
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16717
16718 ac_lo= ac_hi=
16719 fi
16720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16721 fi
16722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16723 # Binary search between lo and hi bounds.
16724 while test "x$ac_lo" != "x$ac_hi"; do
16725 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16733 int
16734 main ()
16735 {
16736 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16737 test_array [0] = 0
16738
16739 ;
16740 return 0;
16741 }
16742 _ACEOF
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16746 ac_status=$?
16747 grep -v '^ *+' conftest.er1 >conftest.err
16748 rm -f conftest.er1
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16755 ac_status=$?
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 ac_hi=$ac_mid
16765 else
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16768
16769 ac_lo=`expr '(' $ac_mid ')' + 1`
16770 fi
16771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16772 done
16773 case $ac_lo in
16774 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16775 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16776 See \`config.log' for more details." >&5
16777 echo "$as_me: error: cannot compute sizeof (void *), 77
16778 See \`config.log' for more details." >&2;}
16779 { (exit 1); exit 1; }; } ;;
16780 esac
16781 else
16782 if test "$cross_compiling" = yes; then
16783 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16784 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16785 { (exit 1); exit 1; }; }
16786 else
16787 cat >conftest.$ac_ext <<_ACEOF
16788 /* confdefs.h. */
16789 _ACEOF
16790 cat confdefs.h >>conftest.$ac_ext
16791 cat >>conftest.$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 $ac_includes_default
16794 long longval () { return (long) (sizeof (void *)); }
16795 unsigned long ulongval () { return (long) (sizeof (void *)); }
16796 #include <stdio.h>
16797 #include <stdlib.h>
16798 int
16799 main ()
16800 {
16801
16802 FILE *f = fopen ("conftest.val", "w");
16803 if (! f)
16804 exit (1);
16805 if (((long) (sizeof (void *))) < 0)
16806 {
16807 long i = longval ();
16808 if (i != ((long) (sizeof (void *))))
16809 exit (1);
16810 fprintf (f, "%ld\n", i);
16811 }
16812 else
16813 {
16814 unsigned long i = ulongval ();
16815 if (i != ((long) (sizeof (void *))))
16816 exit (1);
16817 fprintf (f, "%lu\n", i);
16818 }
16819 exit (ferror (f) || fclose (f) != 0);
16820
16821 ;
16822 return 0;
16823 }
16824 _ACEOF
16825 rm -f conftest$ac_exeext
16826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16827 (eval $ac_link) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16832 (eval $ac_try) 2>&5
16833 ac_status=$?
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; }; then
16836 ac_cv_sizeof_void_p=`cat conftest.val`
16837 else
16838 echo "$as_me: program exited with status $ac_status" >&5
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16841
16842 ( exit $ac_status )
16843 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16844 See \`config.log' for more details." >&5
16845 echo "$as_me: error: cannot compute sizeof (void *), 77
16846 See \`config.log' for more details." >&2;}
16847 { (exit 1); exit 1; }; }
16848 fi
16849 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16850 fi
16851 fi
16852 rm -f conftest.val
16853 else
16854 ac_cv_sizeof_void_p=0
16855 fi
16856 fi
16857 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16858 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16859 cat >>confdefs.h <<_ACEOF
16860 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16861 _ACEOF
16862
16863
16864 echo "$as_me:$LINENO: checking for int" >&5
16865 echo $ECHO_N "checking for int... $ECHO_C" >&6
16866 if test "${ac_cv_type_int+set}" = set; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 else
16869 cat >conftest.$ac_ext <<_ACEOF
16870 /* confdefs.h. */
16871 _ACEOF
16872 cat confdefs.h >>conftest.$ac_ext
16873 cat >>conftest.$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16875 $ac_includes_default
16876 int
16877 main ()
16878 {
16879 if ((int *) 0)
16880 return 0;
16881 if (sizeof (int))
16882 return 0;
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 rm -f conftest.$ac_objext
16888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16889 (eval $ac_compile) 2>conftest.er1
16890 ac_status=$?
16891 grep -v '^ *+' conftest.er1 >conftest.err
16892 rm -f conftest.er1
16893 cat conftest.err >&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); } &&
16896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16898 (eval $ac_try) 2>&5
16899 ac_status=$?
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }; } &&
16902 { ac_try='test -s conftest.$ac_objext'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16905 ac_status=$?
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; }; then
16908 ac_cv_type_int=yes
16909 else
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.$ac_ext >&5
16912
16913 ac_cv_type_int=no
16914 fi
16915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16916 fi
16917 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16918 echo "${ECHO_T}$ac_cv_type_int" >&6
16919
16920 echo "$as_me:$LINENO: checking size of int" >&5
16921 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16922 if test "${ac_cv_sizeof_int+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 else
16925 if test "$ac_cv_type_int" = yes; then
16926 # The cast to unsigned long works around a bug in the HP C Compiler
16927 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16928 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16929 # This bug is HP SR number 8606223364.
16930 if test "$cross_compiling" = yes; then
16931 # Depending upon the size, compute the lo and hi bounds.
16932 cat >conftest.$ac_ext <<_ACEOF
16933 /* confdefs.h. */
16934 _ACEOF
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 $ac_includes_default
16939 int
16940 main ()
16941 {
16942 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16943 test_array [0] = 0
16944
16945 ;
16946 return 0;
16947 }
16948 _ACEOF
16949 rm -f conftest.$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16961 ac_status=$?
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; } &&
16964 { ac_try='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16970 ac_lo=0 ac_mid=0
16971 while :; do
16972 cat >conftest.$ac_ext <<_ACEOF
16973 /* confdefs.h. */
16974 _ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 $ac_includes_default
16979 int
16980 main ()
16981 {
16982 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16983 test_array [0] = 0
16984
16985 ;
16986 return 0;
16987 }
16988 _ACEOF
16989 rm -f conftest.$ac_objext
16990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16991 (eval $ac_compile) 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } &&
16998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; } &&
17004 { ac_try='test -s conftest.$ac_objext'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17007 ac_status=$?
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 ac_hi=$ac_mid; break
17011 else
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17014
17015 ac_lo=`expr $ac_mid + 1`
17016 if test $ac_lo -le $ac_mid; then
17017 ac_lo= ac_hi=
17018 break
17019 fi
17020 ac_mid=`expr 2 '*' $ac_mid + 1`
17021 fi
17022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17023 done
17024 else
17025 echo "$as_me: failed program was:" >&5
17026 sed 's/^/| /' conftest.$ac_ext >&5
17027
17028 cat >conftest.$ac_ext <<_ACEOF
17029 /* confdefs.h. */
17030 _ACEOF
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17034 $ac_includes_default
17035 int
17036 main ()
17037 {
17038 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17039 test_array [0] = 0
17040
17041 ;
17042 return 0;
17043 }
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17063 ac_status=$?
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_hi=-1 ac_mid=-1
17067 while :; do
17068 cat >conftest.$ac_ext <<_ACEOF
17069 /* confdefs.h. */
17070 _ACEOF
17071 cat confdefs.h >>conftest.$ac_ext
17072 cat >>conftest.$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 $ac_includes_default
17075 int
17076 main ()
17077 {
17078 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17079 test_array [0] = 0
17080
17081 ;
17082 return 0;
17083 }
17084 _ACEOF
17085 rm -f conftest.$ac_objext
17086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17087 (eval $ac_compile) 2>conftest.er1
17088 ac_status=$?
17089 grep -v '^ *+' conftest.er1 >conftest.err
17090 rm -f conftest.er1
17091 cat conftest.err >&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); } &&
17094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; } &&
17100 { ac_try='test -s conftest.$ac_objext'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17103 ac_status=$?
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; }; then
17106 ac_lo=$ac_mid; break
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 ac_hi=`expr '(' $ac_mid ')' - 1`
17112 if test $ac_mid -le $ac_hi; then
17113 ac_lo= ac_hi=
17114 break
17115 fi
17116 ac_mid=`expr 2 '*' $ac_mid`
17117 fi
17118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17119 done
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 ac_lo= ac_hi=
17125 fi
17126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17127 fi
17128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17129 # Binary search between lo and hi bounds.
17130 while test "x$ac_lo" != "x$ac_hi"; do
17131 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17139 int
17140 main ()
17141 {
17142 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17143 test_array [0] = 0
17144
17145 ;
17146 return 0;
17147 }
17148 _ACEOF
17149 rm -f conftest.$ac_objext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17151 (eval $ac_compile) 2>conftest.er1
17152 ac_status=$?
17153 grep -v '^ *+' conftest.er1 >conftest.err
17154 rm -f conftest.er1
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17161 ac_status=$?
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try='test -s conftest.$ac_objext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17167 ac_status=$?
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_hi=$ac_mid
17171 else
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17174
17175 ac_lo=`expr '(' $ac_mid ')' + 1`
17176 fi
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17178 done
17179 case $ac_lo in
17180 ?*) ac_cv_sizeof_int=$ac_lo;;
17181 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17182 See \`config.log' for more details." >&5
17183 echo "$as_me: error: cannot compute sizeof (int), 77
17184 See \`config.log' for more details." >&2;}
17185 { (exit 1); exit 1; }; } ;;
17186 esac
17187 else
17188 if test "$cross_compiling" = yes; then
17189 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17190 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17191 { (exit 1); exit 1; }; }
17192 else
17193 cat >conftest.$ac_ext <<_ACEOF
17194 /* confdefs.h. */
17195 _ACEOF
17196 cat confdefs.h >>conftest.$ac_ext
17197 cat >>conftest.$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199 $ac_includes_default
17200 long longval () { return (long) (sizeof (int)); }
17201 unsigned long ulongval () { return (long) (sizeof (int)); }
17202 #include <stdio.h>
17203 #include <stdlib.h>
17204 int
17205 main ()
17206 {
17207
17208 FILE *f = fopen ("conftest.val", "w");
17209 if (! f)
17210 exit (1);
17211 if (((long) (sizeof (int))) < 0)
17212 {
17213 long i = longval ();
17214 if (i != ((long) (sizeof (int))))
17215 exit (1);
17216 fprintf (f, "%ld\n", i);
17217 }
17218 else
17219 {
17220 unsigned long i = ulongval ();
17221 if (i != ((long) (sizeof (int))))
17222 exit (1);
17223 fprintf (f, "%lu\n", i);
17224 }
17225 exit (ferror (f) || fclose (f) != 0);
17226
17227 ;
17228 return 0;
17229 }
17230 _ACEOF
17231 rm -f conftest$ac_exeext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17233 (eval $ac_link) 2>&5
17234 ac_status=$?
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17239 ac_status=$?
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_sizeof_int=`cat conftest.val`
17243 else
17244 echo "$as_me: program exited with status $ac_status" >&5
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17247
17248 ( exit $ac_status )
17249 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17250 See \`config.log' for more details." >&5
17251 echo "$as_me: error: cannot compute sizeof (int), 77
17252 See \`config.log' for more details." >&2;}
17253 { (exit 1); exit 1; }; }
17254 fi
17255 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17256 fi
17257 fi
17258 rm -f conftest.val
17259 else
17260 ac_cv_sizeof_int=0
17261 fi
17262 fi
17263 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17264 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17265 cat >>confdefs.h <<_ACEOF
17266 #define SIZEOF_INT $ac_cv_sizeof_int
17267 _ACEOF
17268
17269
17270 echo "$as_me:$LINENO: checking for long" >&5
17271 echo $ECHO_N "checking for long... $ECHO_C" >&6
17272 if test "${ac_cv_type_long+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17274 else
17275 cat >conftest.$ac_ext <<_ACEOF
17276 /* confdefs.h. */
17277 _ACEOF
17278 cat confdefs.h >>conftest.$ac_ext
17279 cat >>conftest.$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17281 $ac_includes_default
17282 int
17283 main ()
17284 {
17285 if ((long *) 0)
17286 return 0;
17287 if (sizeof (long))
17288 return 0;
17289 ;
17290 return 0;
17291 }
17292 _ACEOF
17293 rm -f conftest.$ac_objext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17295 (eval $ac_compile) 2>conftest.er1
17296 ac_status=$?
17297 grep -v '^ *+' conftest.er1 >conftest.err
17298 rm -f conftest.er1
17299 cat conftest.err >&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17305 ac_status=$?
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; } &&
17308 { ac_try='test -s conftest.$ac_objext'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17311 ac_status=$?
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17314 ac_cv_type_long=yes
17315 else
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17318
17319 ac_cv_type_long=no
17320 fi
17321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17322 fi
17323 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17324 echo "${ECHO_T}$ac_cv_type_long" >&6
17325
17326 echo "$as_me:$LINENO: checking size of long" >&5
17327 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17328 if test "${ac_cv_sizeof_long+set}" = set; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 else
17331 if test "$ac_cv_type_long" = yes; then
17332 # The cast to unsigned long works around a bug in the HP C Compiler
17333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17335 # This bug is HP SR number 8606223364.
17336 if test "$cross_compiling" = yes; then
17337 # Depending upon the size, compute the lo and hi bounds.
17338 cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h. */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 $ac_includes_default
17345 int
17346 main ()
17347 {
17348 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17349 test_array [0] = 0
17350
17351 ;
17352 return 0;
17353 }
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>conftest.er1
17358 ac_status=$?
17359 grep -v '^ *+' conftest.er1 >conftest.err
17360 rm -f conftest.er1
17361 cat conftest.err >&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } &&
17364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17367 ac_status=$?
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; } &&
17370 { ac_try='test -s conftest.$ac_objext'
17371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17372 (eval $ac_try) 2>&5
17373 ac_status=$?
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); }; }; then
17376 ac_lo=0 ac_mid=0
17377 while :; do
17378 cat >conftest.$ac_ext <<_ACEOF
17379 /* confdefs.h. */
17380 _ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 $ac_includes_default
17385 int
17386 main ()
17387 {
17388 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17389 test_array [0] = 0
17390
17391 ;
17392 return 0;
17393 }
17394 _ACEOF
17395 rm -f conftest.$ac_objext
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } &&
17404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try='test -s conftest.$ac_objext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17413 ac_status=$?
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_hi=$ac_mid; break
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17420
17421 ac_lo=`expr $ac_mid + 1`
17422 if test $ac_lo -le $ac_mid; then
17423 ac_lo= ac_hi=
17424 break
17425 fi
17426 ac_mid=`expr 2 '*' $ac_mid + 1`
17427 fi
17428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17429 done
17430 else
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.$ac_ext >&5
17433
17434 cat >conftest.$ac_ext <<_ACEOF
17435 /* confdefs.h. */
17436 _ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440 $ac_includes_default
17441 int
17442 main ()
17443 {
17444 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17445 test_array [0] = 0
17446
17447 ;
17448 return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17454 ac_status=$?
17455 grep -v '^ *+' conftest.er1 >conftest.err
17456 rm -f conftest.er1
17457 cat conftest.err >&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_hi=-1 ac_mid=-1
17473 while :; do
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17481 int
17482 main ()
17483 {
17484 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17485 test_array [0] = 0
17486
17487 ;
17488 return 0;
17489 }
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17494 ac_status=$?
17495 grep -v '^ *+' conftest.er1 >conftest.err
17496 rm -f conftest.er1
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17503 ac_status=$?
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; } &&
17506 { ac_try='test -s conftest.$ac_objext'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; }; then
17512 ac_lo=$ac_mid; break
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 ac_hi=`expr '(' $ac_mid ')' - 1`
17518 if test $ac_mid -le $ac_hi; then
17519 ac_lo= ac_hi=
17520 break
17521 fi
17522 ac_mid=`expr 2 '*' $ac_mid`
17523 fi
17524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17525 done
17526 else
17527 echo "$as_me: failed program was:" >&5
17528 sed 's/^/| /' conftest.$ac_ext >&5
17529
17530 ac_lo= ac_hi=
17531 fi
17532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17533 fi
17534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17535 # Binary search between lo and hi bounds.
17536 while test "x$ac_lo" != "x$ac_hi"; do
17537 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17538 cat >conftest.$ac_ext <<_ACEOF
17539 /* confdefs.h. */
17540 _ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17545 int
17546 main ()
17547 {
17548 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17549 test_array [0] = 0
17550
17551 ;
17552 return 0;
17553 }
17554 _ACEOF
17555 rm -f conftest.$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17567 ac_status=$?
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17573 ac_status=$?
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_hi=$ac_mid
17577 else
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17580
17581 ac_lo=`expr '(' $ac_mid ')' + 1`
17582 fi
17583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17584 done
17585 case $ac_lo in
17586 ?*) ac_cv_sizeof_long=$ac_lo;;
17587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17588 See \`config.log' for more details." >&5
17589 echo "$as_me: error: cannot compute sizeof (long), 77
17590 See \`config.log' for more details." >&2;}
17591 { (exit 1); exit 1; }; } ;;
17592 esac
17593 else
17594 if test "$cross_compiling" = yes; then
17595 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17596 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17597 { (exit 1); exit 1; }; }
17598 else
17599 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 $ac_includes_default
17606 long longval () { return (long) (sizeof (long)); }
17607 unsigned long ulongval () { return (long) (sizeof (long)); }
17608 #include <stdio.h>
17609 #include <stdlib.h>
17610 int
17611 main ()
17612 {
17613
17614 FILE *f = fopen ("conftest.val", "w");
17615 if (! f)
17616 exit (1);
17617 if (((long) (sizeof (long))) < 0)
17618 {
17619 long i = longval ();
17620 if (i != ((long) (sizeof (long))))
17621 exit (1);
17622 fprintf (f, "%ld\n", i);
17623 }
17624 else
17625 {
17626 unsigned long i = ulongval ();
17627 if (i != ((long) (sizeof (long))))
17628 exit (1);
17629 fprintf (f, "%lu\n", i);
17630 }
17631 exit (ferror (f) || fclose (f) != 0);
17632
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 rm -f conftest$ac_exeext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17639 (eval $ac_link) 2>&5
17640 ac_status=$?
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17645 ac_status=$?
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; }; then
17648 ac_cv_sizeof_long=`cat conftest.val`
17649 else
17650 echo "$as_me: program exited with status $ac_status" >&5
17651 echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.$ac_ext >&5
17653
17654 ( exit $ac_status )
17655 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17656 See \`config.log' for more details." >&5
17657 echo "$as_me: error: cannot compute sizeof (long), 77
17658 See \`config.log' for more details." >&2;}
17659 { (exit 1); exit 1; }; }
17660 fi
17661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17662 fi
17663 fi
17664 rm -f conftest.val
17665 else
17666 ac_cv_sizeof_long=0
17667 fi
17668 fi
17669 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17670 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17671 cat >>confdefs.h <<_ACEOF
17672 #define SIZEOF_LONG $ac_cv_sizeof_long
17673 _ACEOF
17674
17675
17676 echo "$as_me:$LINENO: checking for size_t" >&5
17677 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17678 if test "${ac_cv_type_size_t+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17680 else
17681 cat >conftest.$ac_ext <<_ACEOF
17682 /* confdefs.h. */
17683 _ACEOF
17684 cat confdefs.h >>conftest.$ac_ext
17685 cat >>conftest.$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17687 $ac_includes_default
17688 int
17689 main ()
17690 {
17691 if ((size_t *) 0)
17692 return 0;
17693 if (sizeof (size_t))
17694 return 0;
17695 ;
17696 return 0;
17697 }
17698 _ACEOF
17699 rm -f conftest.$ac_objext
17700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17701 (eval $ac_compile) 2>conftest.er1
17702 ac_status=$?
17703 grep -v '^ *+' conftest.er1 >conftest.err
17704 rm -f conftest.er1
17705 cat conftest.err >&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } &&
17708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17711 ac_status=$?
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; } &&
17714 { ac_try='test -s conftest.$ac_objext'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17717 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; }; then
17720 ac_cv_type_size_t=yes
17721 else
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17724
17725 ac_cv_type_size_t=no
17726 fi
17727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17728 fi
17729 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17730 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17731
17732 echo "$as_me:$LINENO: checking size of size_t" >&5
17733 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17734 if test "${ac_cv_sizeof_size_t+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 else
17737 if test "$ac_cv_type_size_t" = yes; then
17738 # The cast to unsigned long works around a bug in the HP C Compiler
17739 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17740 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17741 # This bug is HP SR number 8606223364.
17742 if test "$cross_compiling" = yes; then
17743 # Depending upon the size, compute the lo and hi bounds.
17744 cat >conftest.$ac_ext <<_ACEOF
17745 /* confdefs.h. */
17746 _ACEOF
17747 cat confdefs.h >>conftest.$ac_ext
17748 cat >>conftest.$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 $ac_includes_default
17751 int
17752 main ()
17753 {
17754 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17755 test_array [0] = 0
17756
17757 ;
17758 return 0;
17759 }
17760 _ACEOF
17761 rm -f conftest.$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>conftest.er1
17764 ac_status=$?
17765 grep -v '^ *+' conftest.er1 >conftest.err
17766 rm -f conftest.er1
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } &&
17770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17782 ac_lo=0 ac_mid=0
17783 while :; do
17784 cat >conftest.$ac_ext <<_ACEOF
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17791 int
17792 main ()
17793 {
17794 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17795 test_array [0] = 0
17796
17797 ;
17798 return 0;
17799 }
17800 _ACEOF
17801 rm -f conftest.$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>conftest.er1
17804 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1
17807 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17813 ac_status=$?
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try='test -s conftest.$ac_objext'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17819 ac_status=$?
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; }; then
17822 ac_hi=$ac_mid; break
17823 else
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17826
17827 ac_lo=`expr $ac_mid + 1`
17828 if test $ac_lo -le $ac_mid; then
17829 ac_lo= ac_hi=
17830 break
17831 fi
17832 ac_mid=`expr 2 '*' $ac_mid + 1`
17833 fi
17834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17835 done
17836 else
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17839
17840 cat >conftest.$ac_ext <<_ACEOF
17841 /* confdefs.h. */
17842 _ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17847 int
17848 main ()
17849 {
17850 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17851 test_array [0] = 0
17852
17853 ;
17854 return 0;
17855 }
17856 _ACEOF
17857 rm -f conftest.$ac_objext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17859 (eval $ac_compile) 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try='test -z "$ac_c_werror_flag" || 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_hi=-1 ac_mid=-1
17879 while :; do
17880 cat >conftest.$ac_ext <<_ACEOF
17881 /* confdefs.h. */
17882 _ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 $ac_includes_default
17887 int
17888 main ()
17889 {
17890 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17891 test_array [0] = 0
17892
17893 ;
17894 return 0;
17895 }
17896 _ACEOF
17897 rm -f conftest.$ac_objext
17898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17899 (eval $ac_compile) 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17909 ac_status=$?
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; } &&
17912 { ac_try='test -s conftest.$ac_objext'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17915 ac_status=$?
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; }; then
17918 ac_lo=$ac_mid; break
17919 else
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.$ac_ext >&5
17922
17923 ac_hi=`expr '(' $ac_mid ')' - 1`
17924 if test $ac_mid -le $ac_hi; then
17925 ac_lo= ac_hi=
17926 break
17927 fi
17928 ac_mid=`expr 2 '*' $ac_mid`
17929 fi
17930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17931 done
17932 else
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17935
17936 ac_lo= ac_hi=
17937 fi
17938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17939 fi
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 # Binary search between lo and hi bounds.
17942 while test "x$ac_lo" != "x$ac_hi"; do
17943 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17944 cat >conftest.$ac_ext <<_ACEOF
17945 /* confdefs.h. */
17946 _ACEOF
17947 cat confdefs.h >>conftest.$ac_ext
17948 cat >>conftest.$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17950 $ac_includes_default
17951 int
17952 main ()
17953 {
17954 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17955 test_array [0] = 0
17956
17957 ;
17958 return 0;
17959 }
17960 _ACEOF
17961 rm -f conftest.$ac_objext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17963 (eval $ac_compile) 2>conftest.er1
17964 ac_status=$?
17965 grep -v '^ *+' conftest.er1 >conftest.err
17966 rm -f conftest.er1
17967 cat conftest.err >&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } &&
17970 { ac_try='test -z "$ac_c_werror_flag" || 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
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 fi
17989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17990 done
17991 case $ac_lo in
17992 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17993 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17994 See \`config.log' for more details." >&5
17995 echo "$as_me: error: cannot compute sizeof (size_t), 77
17996 See \`config.log' for more details." >&2;}
17997 { (exit 1); exit 1; }; } ;;
17998 esac
17999 else
18000 if test "$cross_compiling" = yes; then
18001 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18002 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18003 { (exit 1); exit 1; }; }
18004 else
18005 cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h. */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18012 long longval () { return (long) (sizeof (size_t)); }
18013 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18014 #include <stdio.h>
18015 #include <stdlib.h>
18016 int
18017 main ()
18018 {
18019
18020 FILE *f = fopen ("conftest.val", "w");
18021 if (! f)
18022 exit (1);
18023 if (((long) (sizeof (size_t))) < 0)
18024 {
18025 long i = longval ();
18026 if (i != ((long) (sizeof (size_t))))
18027 exit (1);
18028 fprintf (f, "%ld\n", i);
18029 }
18030 else
18031 {
18032 unsigned long i = ulongval ();
18033 if (i != ((long) (sizeof (size_t))))
18034 exit (1);
18035 fprintf (f, "%lu\n", i);
18036 }
18037 exit (ferror (f) || fclose (f) != 0);
18038
18039 ;
18040 return 0;
18041 }
18042 _ACEOF
18043 rm -f conftest$ac_exeext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18045 (eval $ac_link) 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18051 ac_status=$?
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 ac_cv_sizeof_size_t=`cat conftest.val`
18055 else
18056 echo "$as_me: program exited with status $ac_status" >&5
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18059
18060 ( exit $ac_status )
18061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18062 See \`config.log' for more details." >&5
18063 echo "$as_me: error: cannot compute sizeof (size_t), 77
18064 See \`config.log' for more details." >&2;}
18065 { (exit 1); exit 1; }; }
18066 fi
18067 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18068 fi
18069 fi
18070 rm -f conftest.val
18071 else
18072 ac_cv_sizeof_size_t=0
18073 fi
18074 fi
18075 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18076 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18077 cat >>confdefs.h <<_ACEOF
18078 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18079 _ACEOF
18080
18081
18082
18083 case "${host}" in
18084 arm-*-linux* )
18085 echo "$as_me:$LINENO: checking for long long" >&5
18086 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18087 if test "${ac_cv_type_long_long+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 else
18090 cat >conftest.$ac_ext <<_ACEOF
18091 /* confdefs.h. */
18092 _ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18097 int
18098 main ()
18099 {
18100 if ((long long *) 0)
18101 return 0;
18102 if (sizeof (long long))
18103 return 0;
18104 ;
18105 return 0;
18106 }
18107 _ACEOF
18108 rm -f conftest.$ac_objext
18109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18110 (eval $ac_compile) 2>conftest.er1
18111 ac_status=$?
18112 grep -v '^ *+' conftest.er1 >conftest.err
18113 rm -f conftest.er1
18114 cat conftest.err >&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } &&
18117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try='test -s conftest.$ac_objext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18129 ac_cv_type_long_long=yes
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134 ac_cv_type_long_long=no
18135 fi
18136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18137 fi
18138 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18139 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18140
18141 echo "$as_me:$LINENO: checking size of long long" >&5
18142 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18143 if test "${ac_cv_sizeof_long_long+set}" = set; then
18144 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 else
18146 if test "$ac_cv_type_long_long" = yes; then
18147 # The cast to unsigned long works around a bug in the HP C Compiler
18148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18150 # This bug is HP SR number 8606223364.
18151 if test "$cross_compiling" = yes; then
18152 # Depending upon the size, compute the lo and hi bounds.
18153 cat >conftest.$ac_ext <<_ACEOF
18154 /* confdefs.h. */
18155 _ACEOF
18156 cat confdefs.h >>conftest.$ac_ext
18157 cat >>conftest.$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18159 $ac_includes_default
18160 int
18161 main ()
18162 {
18163 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18164 test_array [0] = 0
18165
18166 ;
18167 return 0;
18168 }
18169 _ACEOF
18170 rm -f conftest.$ac_objext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18172 (eval $ac_compile) 2>conftest.er1
18173 ac_status=$?
18174 grep -v '^ *+' conftest.er1 >conftest.err
18175 rm -f conftest.er1
18176 cat conftest.err >&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } &&
18179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18182 ac_status=$?
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; } &&
18185 { ac_try='test -s conftest.$ac_objext'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18188 ac_status=$?
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; }; then
18191 ac_lo=0 ac_mid=0
18192 while :; do
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 $ac_includes_default
18200 int
18201 main ()
18202 {
18203 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18204 test_array [0] = 0
18205
18206 ;
18207 return 0;
18208 }
18209 _ACEOF
18210 rm -f conftest.$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18213 ac_status=$?
18214 grep -v '^ *+' conftest.er1 >conftest.err
18215 rm -f conftest.er1
18216 cat conftest.err >&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18222 ac_status=$?
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try='test -s conftest.$ac_objext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 ac_hi=$ac_mid; break
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 ac_lo=`expr $ac_mid + 1`
18237 if test $ac_lo -le $ac_mid; then
18238 ac_lo= ac_hi=
18239 break
18240 fi
18241 ac_mid=`expr 2 '*' $ac_mid + 1`
18242 fi
18243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244 done
18245 else
18246 echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.$ac_ext >&5
18248
18249 cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 $ac_includes_default
18256 int
18257 main ()
18258 {
18259 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18260 test_array [0] = 0
18261
18262 ;
18263 return 0;
18264 }
18265 _ACEOF
18266 rm -f conftest.$ac_objext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18268 (eval $ac_compile) 2>conftest.er1
18269 ac_status=$?
18270 grep -v '^ *+' conftest.er1 >conftest.err
18271 rm -f conftest.er1
18272 cat conftest.err >&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; } &&
18281 { ac_try='test -s conftest.$ac_objext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 ac_hi=-1 ac_mid=-1
18288 while :; do
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18296 int
18297 main ()
18298 {
18299 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18300 test_array [0] = 0
18301
18302 ;
18303 return 0;
18304 }
18305 _ACEOF
18306 rm -f conftest.$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308 (eval $ac_compile) 2>conftest.er1
18309 ac_status=$?
18310 grep -v '^ *+' conftest.er1 >conftest.err
18311 rm -f conftest.er1
18312 cat conftest.err >&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try='test -s conftest.$ac_objext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_lo=$ac_mid; break
18328 else
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18331
18332 ac_hi=`expr '(' $ac_mid ')' - 1`
18333 if test $ac_mid -le $ac_hi; then
18334 ac_lo= ac_hi=
18335 break
18336 fi
18337 ac_mid=`expr 2 '*' $ac_mid`
18338 fi
18339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18340 done
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_lo= ac_hi=
18346 fi
18347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18348 fi
18349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18350 # Binary search between lo and hi bounds.
18351 while test "x$ac_lo" != "x$ac_hi"; do
18352 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18360 int
18361 main ()
18362 {
18363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18364 test_array [0] = 0
18365
18366 ;
18367 return 0;
18368 }
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18382 ac_status=$?
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try='test -s conftest.$ac_objext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18388 ac_status=$?
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18391 ac_hi=$ac_mid
18392 else
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.$ac_ext >&5
18395
18396 ac_lo=`expr '(' $ac_mid ')' + 1`
18397 fi
18398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18399 done
18400 case $ac_lo in
18401 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18402 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18403 See \`config.log' for more details." >&5
18404 echo "$as_me: error: cannot compute sizeof (long long), 77
18405 See \`config.log' for more details." >&2;}
18406 { (exit 1); exit 1; }; } ;;
18407 esac
18408 else
18409 if test "$cross_compiling" = yes; then
18410 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18411 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18412 { (exit 1); exit 1; }; }
18413 else
18414 cat >conftest.$ac_ext <<_ACEOF
18415 /* confdefs.h. */
18416 _ACEOF
18417 cat confdefs.h >>conftest.$ac_ext
18418 cat >>conftest.$ac_ext <<_ACEOF
18419 /* end confdefs.h. */
18420 $ac_includes_default
18421 long longval () { return (long) (sizeof (long long)); }
18422 unsigned long ulongval () { return (long) (sizeof (long long)); }
18423 #include <stdio.h>
18424 #include <stdlib.h>
18425 int
18426 main ()
18427 {
18428
18429 FILE *f = fopen ("conftest.val", "w");
18430 if (! f)
18431 exit (1);
18432 if (((long) (sizeof (long long))) < 0)
18433 {
18434 long i = longval ();
18435 if (i != ((long) (sizeof (long long))))
18436 exit (1);
18437 fprintf (f, "%ld\n", i);
18438 }
18439 else
18440 {
18441 unsigned long i = ulongval ();
18442 if (i != ((long) (sizeof (long long))))
18443 exit (1);
18444 fprintf (f, "%lu\n", i);
18445 }
18446 exit (ferror (f) || fclose (f) != 0);
18447
18448 ;
18449 return 0;
18450 }
18451 _ACEOF
18452 rm -f conftest$ac_exeext
18453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18454 (eval $ac_link) 2>&5
18455 ac_status=$?
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18460 ac_status=$?
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; }; then
18463 ac_cv_sizeof_long_long=`cat conftest.val`
18464 else
18465 echo "$as_me: program exited with status $ac_status" >&5
18466 echo "$as_me: failed program was:" >&5
18467 sed 's/^/| /' conftest.$ac_ext >&5
18468
18469 ( exit $ac_status )
18470 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18471 See \`config.log' for more details." >&5
18472 echo "$as_me: error: cannot compute sizeof (long long), 77
18473 See \`config.log' for more details." >&2;}
18474 { (exit 1); exit 1; }; }
18475 fi
18476 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18477 fi
18478 fi
18479 rm -f conftest.val
18480 else
18481 ac_cv_sizeof_long_long=0
18482 fi
18483 fi
18484 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18485 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18486 cat >>confdefs.h <<_ACEOF
18487 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18488 _ACEOF
18489
18490
18491 ;;
18492 *-hp-hpux* )
18493 echo "$as_me:$LINENO: checking for long long" >&5
18494 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18495 if test "${ac_cv_type_long_long+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18497 else
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 $ac_includes_default
18505 int
18506 main ()
18507 {
18508 if ((long long *) 0)
18509 return 0;
18510 if (sizeof (long long))
18511 return 0;
18512 ;
18513 return 0;
18514 }
18515 _ACEOF
18516 rm -f conftest.$ac_objext
18517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18518 (eval $ac_compile) 2>conftest.er1
18519 ac_status=$?
18520 grep -v '^ *+' conftest.er1 >conftest.err
18521 rm -f conftest.er1
18522 cat conftest.err >&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } &&
18525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18528 ac_status=$?
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; } &&
18531 { ac_try='test -s conftest.$ac_objext'
18532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18533 (eval $ac_try) 2>&5
18534 ac_status=$?
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; }; then
18537 ac_cv_type_long_long=yes
18538 else
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18541
18542 ac_cv_type_long_long=no
18543 fi
18544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18545 fi
18546 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18547 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18548
18549 echo "$as_me:$LINENO: checking size of long long" >&5
18550 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18551 if test "${ac_cv_sizeof_long_long+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 else
18554 if test "$ac_cv_type_long_long" = yes; then
18555 # The cast to unsigned long works around a bug in the HP C Compiler
18556 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18557 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18558 # This bug is HP SR number 8606223364.
18559 if test "$cross_compiling" = yes; then
18560 # Depending upon the size, compute the lo and hi bounds.
18561 cat >conftest.$ac_ext <<_ACEOF
18562 /* confdefs.h. */
18563 _ACEOF
18564 cat confdefs.h >>conftest.$ac_ext
18565 cat >>conftest.$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 $ac_includes_default
18568 int
18569 main ()
18570 {
18571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18572 test_array [0] = 0
18573
18574 ;
18575 return 0;
18576 }
18577 _ACEOF
18578 rm -f conftest.$ac_objext
18579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18580 (eval $ac_compile) 2>conftest.er1
18581 ac_status=$?
18582 grep -v '^ *+' conftest.er1 >conftest.err
18583 rm -f conftest.er1
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } &&
18587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; } &&
18593 { ac_try='test -s conftest.$ac_objext'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18599 ac_lo=0 ac_mid=0
18600 while :; do
18601 cat >conftest.$ac_ext <<_ACEOF
18602 /* confdefs.h. */
18603 _ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18608 int
18609 main ()
18610 {
18611 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18612 test_array [0] = 0
18613
18614 ;
18615 return 0;
18616 }
18617 _ACEOF
18618 rm -f conftest.$ac_objext
18619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18620 (eval $ac_compile) 2>conftest.er1
18621 ac_status=$?
18622 grep -v '^ *+' conftest.er1 >conftest.err
18623 rm -f conftest.er1
18624 cat conftest.err >&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } &&
18627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18636 ac_status=$?
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_hi=$ac_mid; break
18640 else
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18643
18644 ac_lo=`expr $ac_mid + 1`
18645 if test $ac_lo -le $ac_mid; then
18646 ac_lo= ac_hi=
18647 break
18648 fi
18649 ac_mid=`expr 2 '*' $ac_mid + 1`
18650 fi
18651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18652 done
18653 else
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18656
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h. */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 $ac_includes_default
18664 int
18665 main ()
18666 {
18667 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18668 test_array [0] = 0
18669
18670 ;
18671 return 0;
18672 }
18673 _ACEOF
18674 rm -f conftest.$ac_objext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18676 (eval $ac_compile) 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; } &&
18689 { ac_try='test -s conftest.$ac_objext'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18692 ac_status=$?
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; }; then
18695 ac_hi=-1 ac_mid=-1
18696 while :; do
18697 cat >conftest.$ac_ext <<_ACEOF
18698 /* confdefs.h. */
18699 _ACEOF
18700 cat confdefs.h >>conftest.$ac_ext
18701 cat >>conftest.$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18703 $ac_includes_default
18704 int
18705 main ()
18706 {
18707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18708 test_array [0] = 0
18709
18710 ;
18711 return 0;
18712 }
18713 _ACEOF
18714 rm -f conftest.$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18717 ac_status=$?
18718 grep -v '^ *+' conftest.er1 >conftest.err
18719 rm -f conftest.er1
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18726 ac_status=$?
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; } &&
18729 { ac_try='test -s conftest.$ac_objext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_lo=$ac_mid; break
18736 else
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18739
18740 ac_hi=`expr '(' $ac_mid ')' - 1`
18741 if test $ac_mid -le $ac_hi; then
18742 ac_lo= ac_hi=
18743 break
18744 fi
18745 ac_mid=`expr 2 '*' $ac_mid`
18746 fi
18747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18748 done
18749 else
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18752
18753 ac_lo= ac_hi=
18754 fi
18755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18756 fi
18757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18758 # Binary search between lo and hi bounds.
18759 while test "x$ac_lo" != "x$ac_hi"; do
18760 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18761 cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 $ac_includes_default
18768 int
18769 main ()
18770 {
18771 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18772 test_array [0] = 0
18773
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780 (eval $ac_compile) 2>conftest.er1
18781 ac_status=$?
18782 grep -v '^ *+' conftest.er1 >conftest.err
18783 rm -f conftest.er1
18784 cat conftest.err >&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } &&
18787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789 (eval $ac_try) 2>&5
18790 ac_status=$?
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; } &&
18793 { ac_try='test -s conftest.$ac_objext'
18794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795 (eval $ac_try) 2>&5
18796 ac_status=$?
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); }; }; then
18799 ac_hi=$ac_mid
18800 else
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.$ac_ext >&5
18803
18804 ac_lo=`expr '(' $ac_mid ')' + 1`
18805 fi
18806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18807 done
18808 case $ac_lo in
18809 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18810 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18811 See \`config.log' for more details." >&5
18812 echo "$as_me: error: cannot compute sizeof (long long), 77
18813 See \`config.log' for more details." >&2;}
18814 { (exit 1); exit 1; }; } ;;
18815 esac
18816 else
18817 if test "$cross_compiling" = yes; then
18818 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18819 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18820 { (exit 1); exit 1; }; }
18821 else
18822 cat >conftest.$ac_ext <<_ACEOF
18823 /* confdefs.h. */
18824 _ACEOF
18825 cat confdefs.h >>conftest.$ac_ext
18826 cat >>conftest.$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18828 $ac_includes_default
18829 long longval () { return (long) (sizeof (long long)); }
18830 unsigned long ulongval () { return (long) (sizeof (long long)); }
18831 #include <stdio.h>
18832 #include <stdlib.h>
18833 int
18834 main ()
18835 {
18836
18837 FILE *f = fopen ("conftest.val", "w");
18838 if (! f)
18839 exit (1);
18840 if (((long) (sizeof (long long))) < 0)
18841 {
18842 long i = longval ();
18843 if (i != ((long) (sizeof (long long))))
18844 exit (1);
18845 fprintf (f, "%ld\n", i);
18846 }
18847 else
18848 {
18849 unsigned long i = ulongval ();
18850 if (i != ((long) (sizeof (long long))))
18851 exit (1);
18852 fprintf (f, "%lu\n", i);
18853 }
18854 exit (ferror (f) || fclose (f) != 0);
18855
18856 ;
18857 return 0;
18858 }
18859 _ACEOF
18860 rm -f conftest$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862 (eval $ac_link) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18868 ac_status=$?
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; }; then
18871 ac_cv_sizeof_long_long=`cat conftest.val`
18872 else
18873 echo "$as_me: program exited with status $ac_status" >&5
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18876
18877 ( exit $ac_status )
18878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18879 See \`config.log' for more details." >&5
18880 echo "$as_me: error: cannot compute sizeof (long long), 77
18881 See \`config.log' for more details." >&2;}
18882 { (exit 1); exit 1; }; }
18883 fi
18884 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18885 fi
18886 fi
18887 rm -f conftest.val
18888 else
18889 ac_cv_sizeof_long_long=0
18890 fi
18891 fi
18892 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18893 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18894 cat >>confdefs.h <<_ACEOF
18895 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18896 _ACEOF
18897
18898
18899 if test "$ac_cv_sizeof_long_long" != "0"; then
18900 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18901 fi
18902 ;;
18903 * )
18904 echo "$as_me:$LINENO: checking for long long" >&5
18905 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18906 if test "${ac_cv_type_long_long+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 else
18909 cat >conftest.$ac_ext <<_ACEOF
18910 /* confdefs.h. */
18911 _ACEOF
18912 cat confdefs.h >>conftest.$ac_ext
18913 cat >>conftest.$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 $ac_includes_default
18916 int
18917 main ()
18918 {
18919 if ((long long *) 0)
18920 return 0;
18921 if (sizeof (long long))
18922 return 0;
18923 ;
18924 return 0;
18925 }
18926 _ACEOF
18927 rm -f conftest.$ac_objext
18928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18929 (eval $ac_compile) 2>conftest.er1
18930 ac_status=$?
18931 grep -v '^ *+' conftest.er1 >conftest.err
18932 rm -f conftest.er1
18933 cat conftest.err >&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); } &&
18936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18939 ac_status=$?
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; } &&
18942 { ac_try='test -s conftest.$ac_objext'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; }; then
18948 ac_cv_type_long_long=yes
18949 else
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18952
18953 ac_cv_type_long_long=no
18954 fi
18955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18956 fi
18957 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18958 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18959
18960 echo "$as_me:$LINENO: checking size of long long" >&5
18961 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18962 if test "${ac_cv_sizeof_long_long+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18964 else
18965 if test "$ac_cv_type_long_long" = yes; then
18966 # The cast to unsigned long works around a bug in the HP C Compiler
18967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18969 # This bug is HP SR number 8606223364.
18970 if test "$cross_compiling" = yes; then
18971 # Depending upon the size, compute the lo and hi bounds.
18972 cat >conftest.$ac_ext <<_ACEOF
18973 /* confdefs.h. */
18974 _ACEOF
18975 cat confdefs.h >>conftest.$ac_ext
18976 cat >>conftest.$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18978 $ac_includes_default
18979 int
18980 main ()
18981 {
18982 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18983 test_array [0] = 0
18984
18985 ;
18986 return 0;
18987 }
18988 _ACEOF
18989 rm -f conftest.$ac_objext
18990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18991 (eval $ac_compile) 2>conftest.er1
18992 ac_status=$?
18993 grep -v '^ *+' conftest.er1 >conftest.err
18994 rm -f conftest.er1
18995 cat conftest.err >&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); } &&
18998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19001 ac_status=$?
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; } &&
19004 { ac_try='test -s conftest.$ac_objext'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19007 ac_status=$?
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; }; then
19010 ac_lo=0 ac_mid=0
19011 while :; do
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 int
19020 main ()
19021 {
19022 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19023 test_array [0] = 0
19024
19025 ;
19026 return 0;
19027 }
19028 _ACEOF
19029 rm -f conftest.$ac_objext
19030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19031 (eval $ac_compile) 2>conftest.er1
19032 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } &&
19038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19041 ac_status=$?
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; } &&
19044 { ac_try='test -s conftest.$ac_objext'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19047 ac_status=$?
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; }; then
19050 ac_hi=$ac_mid; break
19051 else
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19054
19055 ac_lo=`expr $ac_mid + 1`
19056 if test $ac_lo -le $ac_mid; then
19057 ac_lo= ac_hi=
19058 break
19059 fi
19060 ac_mid=`expr 2 '*' $ac_mid + 1`
19061 fi
19062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19063 done
19064 else
19065 echo "$as_me: failed program was:" >&5
19066 sed 's/^/| /' conftest.$ac_ext >&5
19067
19068 cat >conftest.$ac_ext <<_ACEOF
19069 /* confdefs.h. */
19070 _ACEOF
19071 cat confdefs.h >>conftest.$ac_ext
19072 cat >>conftest.$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 $ac_includes_default
19075 int
19076 main ()
19077 {
19078 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19079 test_array [0] = 0
19080
19081 ;
19082 return 0;
19083 }
19084 _ACEOF
19085 rm -f conftest.$ac_objext
19086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19087 (eval $ac_compile) 2>conftest.er1
19088 ac_status=$?
19089 grep -v '^ *+' conftest.er1 >conftest.err
19090 rm -f conftest.er1
19091 cat conftest.err >&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } &&
19094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19097 ac_status=$?
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; } &&
19100 { ac_try='test -s conftest.$ac_objext'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19103 ac_status=$?
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; }; then
19106 ac_hi=-1 ac_mid=-1
19107 while :; do
19108 cat >conftest.$ac_ext <<_ACEOF
19109 /* confdefs.h. */
19110 _ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 $ac_includes_default
19115 int
19116 main ()
19117 {
19118 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19119 test_array [0] = 0
19120
19121 ;
19122 return 0;
19123 }
19124 _ACEOF
19125 rm -f conftest.$ac_objext
19126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19127 (eval $ac_compile) 2>conftest.er1
19128 ac_status=$?
19129 grep -v '^ *+' conftest.er1 >conftest.err
19130 rm -f conftest.er1
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19137 ac_status=$?
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; } &&
19140 { ac_try='test -s conftest.$ac_objext'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; }; then
19146 ac_lo=$ac_mid; break
19147 else
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19150
19151 ac_hi=`expr '(' $ac_mid ')' - 1`
19152 if test $ac_mid -le $ac_hi; then
19153 ac_lo= ac_hi=
19154 break
19155 fi
19156 ac_mid=`expr 2 '*' $ac_mid`
19157 fi
19158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 done
19160 else
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19163
19164 ac_lo= ac_hi=
19165 fi
19166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19167 fi
19168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19169 # Binary search between lo and hi bounds.
19170 while test "x$ac_lo" != "x$ac_hi"; do
19171 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19172 cat >conftest.$ac_ext <<_ACEOF
19173 /* confdefs.h. */
19174 _ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19179 int
19180 main ()
19181 {
19182 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19183 test_array [0] = 0
19184
19185 ;
19186 return 0;
19187 }
19188 _ACEOF
19189 rm -f conftest.$ac_objext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19191 (eval $ac_compile) 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try='test -s conftest.$ac_objext'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19207 ac_status=$?
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; }; then
19210 ac_hi=$ac_mid
19211 else
19212 echo "$as_me: failed program was:" >&5
19213 sed 's/^/| /' conftest.$ac_ext >&5
19214
19215 ac_lo=`expr '(' $ac_mid ')' + 1`
19216 fi
19217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19218 done
19219 case $ac_lo in
19220 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19221 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19222 See \`config.log' for more details." >&5
19223 echo "$as_me: error: cannot compute sizeof (long long), 77
19224 See \`config.log' for more details." >&2;}
19225 { (exit 1); exit 1; }; } ;;
19226 esac
19227 else
19228 if test "$cross_compiling" = yes; then
19229 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19230 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19231 { (exit 1); exit 1; }; }
19232 else
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19240 long longval () { return (long) (sizeof (long long)); }
19241 unsigned long ulongval () { return (long) (sizeof (long long)); }
19242 #include <stdio.h>
19243 #include <stdlib.h>
19244 int
19245 main ()
19246 {
19247
19248 FILE *f = fopen ("conftest.val", "w");
19249 if (! f)
19250 exit (1);
19251 if (((long) (sizeof (long long))) < 0)
19252 {
19253 long i = longval ();
19254 if (i != ((long) (sizeof (long long))))
19255 exit (1);
19256 fprintf (f, "%ld\n", i);
19257 }
19258 else
19259 {
19260 unsigned long i = ulongval ();
19261 if (i != ((long) (sizeof (long long))))
19262 exit (1);
19263 fprintf (f, "%lu\n", i);
19264 }
19265 exit (ferror (f) || fclose (f) != 0);
19266
19267 ;
19268 return 0;
19269 }
19270 _ACEOF
19271 rm -f conftest$ac_exeext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19273 (eval $ac_link) 2>&5
19274 ac_status=$?
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19279 ac_status=$?
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19282 ac_cv_sizeof_long_long=`cat conftest.val`
19283 else
19284 echo "$as_me: program exited with status $ac_status" >&5
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.$ac_ext >&5
19287
19288 ( exit $ac_status )
19289 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19290 See \`config.log' for more details." >&5
19291 echo "$as_me: error: cannot compute sizeof (long long), 77
19292 See \`config.log' for more details." >&2;}
19293 { (exit 1); exit 1; }; }
19294 fi
19295 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19296 fi
19297 fi
19298 rm -f conftest.val
19299 else
19300 ac_cv_sizeof_long_long=0
19301 fi
19302 fi
19303 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19304 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19305 cat >>confdefs.h <<_ACEOF
19306 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19307 _ACEOF
19308
19309
19310 esac
19311
19312 echo "$as_me:$LINENO: checking for wchar_t" >&5
19313 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19314 if test "${ac_cv_type_wchar_t+set}" = set; then
19315 echo $ECHO_N "(cached) $ECHO_C" >&6
19316 else
19317 cat >conftest.$ac_ext <<_ACEOF
19318 /* confdefs.h. */
19319 _ACEOF
19320 cat confdefs.h >>conftest.$ac_ext
19321 cat >>conftest.$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323
19324 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19325 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19326 # error "fake wchar_t"
19327 #endif
19328 #ifdef HAVE_WCHAR_H
19329 # ifdef __CYGWIN__
19330 # include <stddef.h>
19331 # endif
19332 # include <wchar.h>
19333 #endif
19334 #ifdef HAVE_STDLIB_H
19335 # include <stdlib.h>
19336 #endif
19337 #include <stdio.h>
19338
19339
19340
19341 int
19342 main ()
19343 {
19344 if ((wchar_t *) 0)
19345 return 0;
19346 if (sizeof (wchar_t))
19347 return 0;
19348 ;
19349 return 0;
19350 }
19351 _ACEOF
19352 rm -f conftest.$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19367 { ac_try='test -s conftest.$ac_objext'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19370 ac_status=$?
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 ac_cv_type_wchar_t=yes
19374 else
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.$ac_ext >&5
19377
19378 ac_cv_type_wchar_t=no
19379 fi
19380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19381 fi
19382 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19383 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19384
19385 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19386 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19387 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19390 if test "$ac_cv_type_wchar_t" = yes; then
19391 # The cast to unsigned long works around a bug in the HP C Compiler
19392 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19393 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19394 # This bug is HP SR number 8606223364.
19395 if test "$cross_compiling" = yes; then
19396 # Depending upon the size, compute the lo and hi bounds.
19397 cat >conftest.$ac_ext <<_ACEOF
19398 /* confdefs.h. */
19399 _ACEOF
19400 cat confdefs.h >>conftest.$ac_ext
19401 cat >>conftest.$ac_ext <<_ACEOF
19402 /* end confdefs.h. */
19403
19404 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19405 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19406 # error "fake wchar_t"
19407 #endif
19408 #ifdef HAVE_WCHAR_H
19409 # ifdef __CYGWIN__
19410 # include <stddef.h>
19411 # endif
19412 # include <wchar.h>
19413 #endif
19414 #ifdef HAVE_STDLIB_H
19415 # include <stdlib.h>
19416 #endif
19417 #include <stdio.h>
19418
19419
19420
19421 int
19422 main ()
19423 {
19424 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19425 test_array [0] = 0
19426
19427 ;
19428 return 0;
19429 }
19430 _ACEOF
19431 rm -f conftest.$ac_objext
19432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19433 (eval $ac_compile) 2>conftest.er1
19434 ac_status=$?
19435 grep -v '^ *+' conftest.er1 >conftest.err
19436 rm -f conftest.er1
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } &&
19440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try='test -s conftest.$ac_objext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19449 ac_status=$?
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19452 ac_lo=0 ac_mid=0
19453 while :; do
19454 cat >conftest.$ac_ext <<_ACEOF
19455 /* confdefs.h. */
19456 _ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460
19461 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19462 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19463 # error "fake wchar_t"
19464 #endif
19465 #ifdef HAVE_WCHAR_H
19466 # ifdef __CYGWIN__
19467 # include <stddef.h>
19468 # endif
19469 # include <wchar.h>
19470 #endif
19471 #ifdef HAVE_STDLIB_H
19472 # include <stdlib.h>
19473 #endif
19474 #include <stdio.h>
19475
19476
19477
19478 int
19479 main ()
19480 {
19481 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19482 test_array [0] = 0
19483
19484 ;
19485 return 0;
19486 }
19487 _ACEOF
19488 rm -f conftest.$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19506 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 ac_hi=$ac_mid; break
19510 else
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19513
19514 ac_lo=`expr $ac_mid + 1`
19515 if test $ac_lo -le $ac_mid; then
19516 ac_lo= ac_hi=
19517 break
19518 fi
19519 ac_mid=`expr 2 '*' $ac_mid + 1`
19520 fi
19521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19522 done
19523 else
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19526
19527 cat >conftest.$ac_ext <<_ACEOF
19528 /* confdefs.h. */
19529 _ACEOF
19530 cat confdefs.h >>conftest.$ac_ext
19531 cat >>conftest.$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19533
19534 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19535 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19536 # error "fake wchar_t"
19537 #endif
19538 #ifdef HAVE_WCHAR_H
19539 # ifdef __CYGWIN__
19540 # include <stddef.h>
19541 # endif
19542 # include <wchar.h>
19543 #endif
19544 #ifdef HAVE_STDLIB_H
19545 # include <stdlib.h>
19546 #endif
19547 #include <stdio.h>
19548
19549
19550
19551 int
19552 main ()
19553 {
19554 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19555 test_array [0] = 0
19556
19557 ;
19558 return 0;
19559 }
19560 _ACEOF
19561 rm -f conftest.$ac_objext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19563 (eval $ac_compile) 2>conftest.er1
19564 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19573 ac_status=$?
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try='test -s conftest.$ac_objext'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19582 ac_hi=-1 ac_mid=-1
19583 while :; do
19584 cat >conftest.$ac_ext <<_ACEOF
19585 /* confdefs.h. */
19586 _ACEOF
19587 cat confdefs.h >>conftest.$ac_ext
19588 cat >>conftest.$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19590
19591 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19592 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19593 # error "fake wchar_t"
19594 #endif
19595 #ifdef HAVE_WCHAR_H
19596 # ifdef __CYGWIN__
19597 # include <stddef.h>
19598 # endif
19599 # include <wchar.h>
19600 #endif
19601 #ifdef HAVE_STDLIB_H
19602 # include <stdlib.h>
19603 #endif
19604 #include <stdio.h>
19605
19606
19607
19608 int
19609 main ()
19610 {
19611 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19612 test_array [0] = 0
19613
19614 ;
19615 return 0;
19616 }
19617 _ACEOF
19618 rm -f conftest.$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>conftest.er1
19621 ac_status=$?
19622 grep -v '^ *+' conftest.er1 >conftest.err
19623 rm -f conftest.er1
19624 cat conftest.err >&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } &&
19627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19630 ac_status=$?
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try='test -s conftest.$ac_objext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19636 ac_status=$?
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 ac_lo=$ac_mid; break
19640 else
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.$ac_ext >&5
19643
19644 ac_hi=`expr '(' $ac_mid ')' - 1`
19645 if test $ac_mid -le $ac_hi; then
19646 ac_lo= ac_hi=
19647 break
19648 fi
19649 ac_mid=`expr 2 '*' $ac_mid`
19650 fi
19651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19652 done
19653 else
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19656
19657 ac_lo= ac_hi=
19658 fi
19659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19660 fi
19661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19662 # Binary search between lo and hi bounds.
19663 while test "x$ac_lo" != "x$ac_hi"; do
19664 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19665 cat >conftest.$ac_ext <<_ACEOF
19666 /* confdefs.h. */
19667 _ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671
19672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19674 # error "fake wchar_t"
19675 #endif
19676 #ifdef HAVE_WCHAR_H
19677 # ifdef __CYGWIN__
19678 # include <stddef.h>
19679 # endif
19680 # include <wchar.h>
19681 #endif
19682 #ifdef HAVE_STDLIB_H
19683 # include <stdlib.h>
19684 #endif
19685 #include <stdio.h>
19686
19687
19688
19689 int
19690 main ()
19691 {
19692 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19693 test_array [0] = 0
19694
19695 ;
19696 return 0;
19697 }
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19701 (eval $ac_compile) 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } &&
19708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest.$ac_objext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 ac_hi=$ac_mid
19721 else
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19724
19725 ac_lo=`expr '(' $ac_mid ')' + 1`
19726 fi
19727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19728 done
19729 case $ac_lo in
19730 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19731 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19732 See \`config.log' for more details." >&5
19733 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19734 See \`config.log' for more details." >&2;}
19735 { (exit 1); exit 1; }; } ;;
19736 esac
19737 else
19738 if test "$cross_compiling" = yes; then
19739 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19740 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19741 { (exit 1); exit 1; }; }
19742 else
19743 cat >conftest.$ac_ext <<_ACEOF
19744 /* confdefs.h. */
19745 _ACEOF
19746 cat confdefs.h >>conftest.$ac_ext
19747 cat >>conftest.$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749
19750 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19751 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19752 # error "fake wchar_t"
19753 #endif
19754 #ifdef HAVE_WCHAR_H
19755 # ifdef __CYGWIN__
19756 # include <stddef.h>
19757 # endif
19758 # include <wchar.h>
19759 #endif
19760 #ifdef HAVE_STDLIB_H
19761 # include <stdlib.h>
19762 #endif
19763 #include <stdio.h>
19764
19765
19766
19767 long longval () { return (long) (sizeof (wchar_t)); }
19768 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19769 #include <stdio.h>
19770 #include <stdlib.h>
19771 int
19772 main ()
19773 {
19774
19775 FILE *f = fopen ("conftest.val", "w");
19776 if (! f)
19777 exit (1);
19778 if (((long) (sizeof (wchar_t))) < 0)
19779 {
19780 long i = longval ();
19781 if (i != ((long) (sizeof (wchar_t))))
19782 exit (1);
19783 fprintf (f, "%ld\n", i);
19784 }
19785 else
19786 {
19787 unsigned long i = ulongval ();
19788 if (i != ((long) (sizeof (wchar_t))))
19789 exit (1);
19790 fprintf (f, "%lu\n", i);
19791 }
19792 exit (ferror (f) || fclose (f) != 0);
19793
19794 ;
19795 return 0;
19796 }
19797 _ACEOF
19798 rm -f conftest$ac_exeext
19799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19800 (eval $ac_link) 2>&5
19801 ac_status=$?
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 ac_cv_sizeof_wchar_t=`cat conftest.val`
19810 else
19811 echo "$as_me: program exited with status $ac_status" >&5
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.$ac_ext >&5
19814
19815 ( exit $ac_status )
19816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19817 See \`config.log' for more details." >&5
19818 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19819 See \`config.log' for more details." >&2;}
19820 { (exit 1); exit 1; }; }
19821 fi
19822 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19823 fi
19824 fi
19825 rm -f conftest.val
19826 else
19827 ac_cv_sizeof_wchar_t=0
19828 fi
19829 fi
19830 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19831 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19832 cat >>confdefs.h <<_ACEOF
19833 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19834 _ACEOF
19835
19836
19837 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19838 wxUSE_WCHAR_T=yes
19839 else
19840 wxUSE_WCHAR_T=no
19841 fi
19842
19843 echo "$as_me:$LINENO: checking for va_copy" >&5
19844 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19845 if test "${wx_cv_func_va_copy+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19847 else
19848
19849 cat >conftest.$ac_ext <<_ACEOF
19850
19851 #include <stdarg.h>
19852 void foo(char *f, ...)
19853 {
19854 va_list ap1, ap2;
19855 va_start(ap1, f);
19856 va_copy(ap2, ap1);
19857 va_end(ap2);
19858 va_end(ap1);
19859 }
19860 int main()
19861 {
19862 foo("hi", 17);
19863 return 0;
19864 }
19865 _ACEOF
19866 rm -f conftest.$ac_objext conftest$ac_exeext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19868 (eval $ac_link) 2>conftest.er1
19869 ac_status=$?
19870 grep -v '^ *+' conftest.er1 >conftest.err
19871 rm -f conftest.er1
19872 cat conftest.err >&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } &&
19875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19878 ac_status=$?
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try='test -s conftest$ac_exeext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19884 ac_status=$?
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 wx_cv_func_va_copy=yes
19888 else
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19891
19892 wx_cv_func_va_copy=no
19893
19894 fi
19895 rm -f conftest.err conftest.$ac_objext \
19896 conftest$ac_exeext conftest.$ac_ext
19897
19898
19899 fi
19900 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19901 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19902
19903 if test $wx_cv_func_va_copy = "yes"; then
19904 cat >>confdefs.h <<\_ACEOF
19905 #define HAVE_VA_COPY 1
19906 _ACEOF
19907
19908 else
19909 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19910 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19911 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19913 else
19914
19915 if test "$cross_compiling" = yes; then
19916 wx_cv_type_va_list_lvalue=yes
19917
19918 else
19919 cat >conftest.$ac_ext <<_ACEOF
19920
19921 #include <stdarg.h>
19922 int foo(char *f, ...)
19923 {
19924 va_list ap1, ap2;
19925 va_start(ap1, f);
19926 ap2 = ap1;
19927 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19928 return 1;
19929 va_end(ap2);
19930 va_end(ap1);
19931 return 0;
19932 }
19933 int main()
19934 {
19935 return foo("hi", 17);
19936 }
19937 _ACEOF
19938 rm -f conftest$ac_exeext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19940 (eval $ac_link) 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 wx_cv_type_va_list_lvalue=yes
19950 else
19951 echo "$as_me: program exited with status $ac_status" >&5
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19954
19955 ( exit $ac_status )
19956 wx_cv_type_va_list_lvalue=no
19957 fi
19958 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19959 fi
19960
19961
19962 fi
19963 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19964 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19965
19966 if test $wx_cv_type_va_list_lvalue != "yes"; then
19967 cat >>confdefs.h <<\_ACEOF
19968 #define VA_LIST_IS_ARRAY 1
19969 _ACEOF
19970
19971 fi
19972 fi
19973
19974 # Check whether --enable-largefile or --disable-largefile was given.
19975 if test "${enable_largefile+set}" = set; then
19976 enableval="$enable_largefile"
19977
19978 fi;
19979 if test "$enable_largefile" != no; then
19980 wx_largefile=no
19981
19982 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19983 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19984 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 else
19987
19988 cat >conftest.$ac_ext <<_ACEOF
19989 /* confdefs.h. */
19990 _ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 #define _FILE_OFFSET_BITS 64
19995 #include <sys/types.h>
19996 int
19997 main ()
19998 {
19999 typedef struct {
20000 unsigned int field: sizeof(off_t) == 8;
20001 } wxlf;
20002
20003 ;
20004 return 0;
20005 }
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20009 (eval $ac_compile) 2>conftest.er1
20010 ac_status=$?
20011 grep -v '^ *+' conftest.er1 >conftest.err
20012 rm -f conftest.er1
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } &&
20016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20019 ac_status=$?
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try='test -s conftest.$ac_objext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 ac_cv_sys_file_offset_bits=64
20029 else
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20032
20033 ac_cv_sys_file_offset_bits=no
20034 fi
20035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20036
20037
20038 fi
20039 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20040 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20041
20042 if test "$ac_cv_sys_file_offset_bits" != no; then
20043 wx_largefile=yes
20044 cat >>confdefs.h <<_ACEOF
20045 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20046 _ACEOF
20047
20048 fi
20049
20050 if test "x$wx_largefile" != "xyes"; then
20051
20052 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20053 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20054 if test "${ac_cv_sys_large_files+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057
20058 cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h. */
20060 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20064 #define _LARGE_FILES 1
20065 #include <sys/types.h>
20066 int
20067 main ()
20068 {
20069 typedef struct {
20070 unsigned int field: sizeof(off_t) == 8;
20071 } wxlf;
20072
20073 ;
20074 return 0;
20075 }
20076 _ACEOF
20077 rm -f conftest.$ac_objext
20078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20079 (eval $ac_compile) 2>conftest.er1
20080 ac_status=$?
20081 grep -v '^ *+' conftest.er1 >conftest.err
20082 rm -f conftest.er1
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } &&
20086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20088 (eval $ac_try) 2>&5
20089 ac_status=$?
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); }; } &&
20092 { ac_try='test -s conftest.$ac_objext'
20093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20094 (eval $ac_try) 2>&5
20095 ac_status=$?
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); }; }; then
20098 ac_cv_sys_large_files=1
20099 else
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.$ac_ext >&5
20102
20103 ac_cv_sys_large_files=no
20104 fi
20105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20106
20107
20108 fi
20109 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20110 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20111
20112 if test "$ac_cv_sys_large_files" != no; then
20113 wx_largefile=yes
20114 cat >>confdefs.h <<_ACEOF
20115 #define _LARGE_FILES $ac_cv_sys_large_files
20116 _ACEOF
20117
20118 fi
20119
20120 fi
20121
20122 echo "$as_me:$LINENO: checking if large file support is available" >&5
20123 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20124 if test "x$wx_largefile" = "xyes"; then
20125 cat >>confdefs.h <<\_ACEOF
20126 #define HAVE_LARGEFILE_SUPPORT 1
20127 _ACEOF
20128
20129 fi
20130 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20131 echo "${ECHO_T}$wx_largefile" >&6
20132 fi
20133
20134
20135 if test "x$wx_largefile" = "xyes"; then
20136 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20137 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20138 else
20139 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20140 fi
20141 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20142 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20143 if test "${ac_cv_sys_largefile_source+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 else
20146 while :; do
20147 ac_cv_sys_largefile_source=no
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 #include <stdio.h>
20155 int
20156 main ()
20157 {
20158 return !fseeko;
20159 ;
20160 return 0;
20161 }
20162 _ACEOF
20163 rm -f conftest.$ac_objext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20165 (eval $ac_compile) 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } &&
20172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20175 ac_status=$?
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; } &&
20178 { ac_try='test -s conftest.$ac_objext'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; }; then
20184 break
20185 else
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.$ac_ext >&5
20188
20189 fi
20190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20191 cat >conftest.$ac_ext <<_ACEOF
20192 /* confdefs.h. */
20193 _ACEOF
20194 cat confdefs.h >>conftest.$ac_ext
20195 cat >>conftest.$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 #define _LARGEFILE_SOURCE 1
20198 #include <stdio.h>
20199 int
20200 main ()
20201 {
20202 return !fseeko;
20203 ;
20204 return 0;
20205 }
20206 _ACEOF
20207 rm -f conftest.$ac_objext
20208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20209 (eval $ac_compile) 2>conftest.er1
20210 ac_status=$?
20211 grep -v '^ *+' conftest.er1 >conftest.err
20212 rm -f conftest.er1
20213 cat conftest.err >&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } &&
20216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20219 ac_status=$?
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; } &&
20222 { ac_try='test -s conftest.$ac_objext'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20225 ac_status=$?
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; }; then
20228 ac_cv_sys_largefile_source=1; break
20229 else
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20232
20233 fi
20234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20235 break
20236 done
20237 fi
20238 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20239 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20240 if test "$ac_cv_sys_largefile_source" != no; then
20241
20242 cat >>confdefs.h <<_ACEOF
20243 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20244 _ACEOF
20245
20246 fi
20247 rm -f conftest*
20248
20249 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20250 # in glibc 2.1.3, but that breaks too many other things.
20251 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20252 echo "$as_me:$LINENO: checking for fseeko" >&5
20253 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20254 if test "${ac_cv_func_fseeko+set}" = set; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 else
20257 cat >conftest.$ac_ext <<_ACEOF
20258 /* confdefs.h. */
20259 _ACEOF
20260 cat confdefs.h >>conftest.$ac_ext
20261 cat >>conftest.$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 #include <stdio.h>
20264 int
20265 main ()
20266 {
20267 return fseeko && fseeko (stdin, 0, 0);
20268 ;
20269 return 0;
20270 }
20271 _ACEOF
20272 rm -f conftest.$ac_objext conftest$ac_exeext
20273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20274 (eval $ac_link) 2>conftest.er1
20275 ac_status=$?
20276 grep -v '^ *+' conftest.er1 >conftest.err
20277 rm -f conftest.er1
20278 cat conftest.err >&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } &&
20281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20284 ac_status=$?
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; } &&
20287 { ac_try='test -s conftest$ac_exeext'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_cv_func_fseeko=yes
20294 else
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20297
20298 ac_cv_func_fseeko=no
20299 fi
20300 rm -f conftest.err conftest.$ac_objext \
20301 conftest$ac_exeext conftest.$ac_ext
20302 fi
20303 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20304 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20305 if test $ac_cv_func_fseeko = yes; then
20306
20307 cat >>confdefs.h <<\_ACEOF
20308 #define HAVE_FSEEKO 1
20309 _ACEOF
20310
20311 fi
20312
20313 if test "$ac_cv_sys_largefile_source" != no; then
20314 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20315 fi
20316 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20317 fi
20318
20319 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20320 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20321 if test "${ac_cv_c_bigendian+set}" = set; then
20322 echo $ECHO_N "(cached) $ECHO_C" >&6
20323 else
20324 ac_cv_c_bigendian=unknown
20325 # See if sys/param.h defines the BYTE_ORDER macro.
20326 cat >conftest.$ac_ext <<_ACEOF
20327 /* confdefs.h. */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332 #include <sys/types.h>
20333 #include <sys/param.h>
20334 int
20335 main ()
20336 {
20337
20338 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20339 bogus endian macros
20340 #endif
20341 ;
20342 return 0;
20343 }
20344 _ACEOF
20345 rm -f conftest.$ac_objext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20347 (eval $ac_compile) 2>conftest.er1
20348 ac_status=$?
20349 grep -v '^ *+' conftest.er1 >conftest.err
20350 rm -f conftest.er1
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20356 (eval $ac_try) 2>&5
20357 ac_status=$?
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; } &&
20360 { ac_try='test -s conftest.$ac_objext'
20361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20362 (eval $ac_try) 2>&5
20363 ac_status=$?
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); }; }; then
20366 # It does; now see whether it defined to BIG_ENDIAN or not.
20367 cat >conftest.$ac_ext <<_ACEOF
20368 /* confdefs.h. */
20369 _ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 #include <sys/types.h>
20374 #include <sys/param.h>
20375 int
20376 main ()
20377 {
20378
20379 #if BYTE_ORDER != BIG_ENDIAN
20380 not big endian
20381 #endif
20382 ;
20383 return 0;
20384 }
20385 _ACEOF
20386 rm -f conftest.$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>conftest.er1
20389 ac_status=$?
20390 grep -v '^ *+' conftest.er1 >conftest.err
20391 rm -f conftest.er1
20392 cat conftest.err >&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20398 ac_status=$?
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; } &&
20401 { ac_try='test -s conftest.$ac_objext'
20402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20403 (eval $ac_try) 2>&5
20404 ac_status=$?
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; }; then
20407 ac_cv_c_bigendian=yes
20408 else
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.$ac_ext >&5
20411
20412 ac_cv_c_bigendian=no
20413 fi
20414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20415 else
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20418
20419 fi
20420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20421 if test $ac_cv_c_bigendian = unknown; then
20422 if test "$cross_compiling" = yes; then
20423 ac_cv_c_bigendian=unknown
20424 else
20425 cat >conftest.$ac_ext <<_ACEOF
20426 /* confdefs.h. */
20427 _ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 main () {
20432 /* Are we little or big endian? From Harbison&Steele. */
20433 union
20434 {
20435 long l;
20436 char c[sizeof (long)];
20437 } u;
20438 u.l = 1;
20439 exit (u.c[sizeof (long) - 1] == 1);
20440 }
20441 _ACEOF
20442 rm -f conftest$ac_exeext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20444 (eval $ac_link) 2>&5
20445 ac_status=$?
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20450 ac_status=$?
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; }; then
20453 ac_cv_c_bigendian=no
20454 else
20455 echo "$as_me: program exited with status $ac_status" >&5
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20458
20459 ( exit $ac_status )
20460 ac_cv_c_bigendian=yes
20461 fi
20462 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20463 fi
20464 fi
20465 fi
20466 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20467 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20468 if test $ac_cv_c_bigendian = unknown; then
20469 { 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
20470 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;}
20471 fi
20472 if test $ac_cv_c_bigendian = yes; then
20473 cat >>confdefs.h <<\_ACEOF
20474 #define WORDS_BIGENDIAN 1
20475 _ACEOF
20476
20477 fi
20478
20479
20480 ac_ext=cc
20481 ac_cpp='$CXXCPP $CPPFLAGS'
20482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20485 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20486 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20487 if test -z "$CXXCPP"; then
20488 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20491 # Double quotes because CXXCPP needs to be expanded
20492 for CXXCPP in "$CXX -E" "/lib/cpp"
20493 do
20494 ac_preproc_ok=false
20495 for ac_cxx_preproc_warn_flag in '' yes
20496 do
20497 # Use a header file that comes with gcc, so configuring glibc
20498 # with a fresh cross-compiler works.
20499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20500 # <limits.h> exists even on freestanding compilers.
20501 # On the NeXT, cc -E runs the code through the compiler's parser,
20502 # not just through cpp. "Syntax error" is here to catch this case.
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 #ifdef __STDC__
20510 # include <limits.h>
20511 #else
20512 # include <assert.h>
20513 #endif
20514 Syntax error
20515 _ACEOF
20516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } >/dev/null; then
20524 if test -s conftest.err; then
20525 ac_cpp_err=$ac_cxx_preproc_warn_flag
20526 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20527 else
20528 ac_cpp_err=
20529 fi
20530 else
20531 ac_cpp_err=yes
20532 fi
20533 if test -z "$ac_cpp_err"; then
20534 :
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 # Broken: fails on valid input.
20540 continue
20541 fi
20542 rm -f conftest.err conftest.$ac_ext
20543
20544 # OK, works on sane cases. Now check whether non-existent headers
20545 # can be detected and how.
20546 cat >conftest.$ac_ext <<_ACEOF
20547 /* confdefs.h. */
20548 _ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 #include <ac_nonexistent.h>
20553 _ACEOF
20554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } >/dev/null; then
20562 if test -s conftest.err; then
20563 ac_cpp_err=$ac_cxx_preproc_warn_flag
20564 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20565 else
20566 ac_cpp_err=
20567 fi
20568 else
20569 ac_cpp_err=yes
20570 fi
20571 if test -z "$ac_cpp_err"; then
20572 # Broken: success on invalid input.
20573 continue
20574 else
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 # Passes both tests.
20579 ac_preproc_ok=:
20580 break
20581 fi
20582 rm -f conftest.err conftest.$ac_ext
20583
20584 done
20585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20586 rm -f conftest.err conftest.$ac_ext
20587 if $ac_preproc_ok; then
20588 break
20589 fi
20590
20591 done
20592 ac_cv_prog_CXXCPP=$CXXCPP
20593
20594 fi
20595 CXXCPP=$ac_cv_prog_CXXCPP
20596 else
20597 ac_cv_prog_CXXCPP=$CXXCPP
20598 fi
20599 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20600 echo "${ECHO_T}$CXXCPP" >&6
20601 ac_preproc_ok=false
20602 for ac_cxx_preproc_warn_flag in '' yes
20603 do
20604 # Use a header file that comes with gcc, so configuring glibc
20605 # with a fresh cross-compiler works.
20606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20607 # <limits.h> exists even on freestanding compilers.
20608 # On the NeXT, cc -E runs the code through the compiler's parser,
20609 # not just through cpp. "Syntax error" is here to catch this case.
20610 cat >conftest.$ac_ext <<_ACEOF
20611 /* confdefs.h. */
20612 _ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 #ifdef __STDC__
20617 # include <limits.h>
20618 #else
20619 # include <assert.h>
20620 #endif
20621 Syntax error
20622 _ACEOF
20623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20625 ac_status=$?
20626 grep -v '^ *+' conftest.er1 >conftest.err
20627 rm -f conftest.er1
20628 cat conftest.err >&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); } >/dev/null; then
20631 if test -s conftest.err; then
20632 ac_cpp_err=$ac_cxx_preproc_warn_flag
20633 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20634 else
20635 ac_cpp_err=
20636 fi
20637 else
20638 ac_cpp_err=yes
20639 fi
20640 if test -z "$ac_cpp_err"; then
20641 :
20642 else
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20645
20646 # Broken: fails on valid input.
20647 continue
20648 fi
20649 rm -f conftest.err conftest.$ac_ext
20650
20651 # OK, works on sane cases. Now check whether non-existent headers
20652 # can be detected and how.
20653 cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h. */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 #include <ac_nonexistent.h>
20660 _ACEOF
20661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20663 ac_status=$?
20664 grep -v '^ *+' conftest.er1 >conftest.err
20665 rm -f conftest.er1
20666 cat conftest.err >&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); } >/dev/null; then
20669 if test -s conftest.err; then
20670 ac_cpp_err=$ac_cxx_preproc_warn_flag
20671 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20672 else
20673 ac_cpp_err=
20674 fi
20675 else
20676 ac_cpp_err=yes
20677 fi
20678 if test -z "$ac_cpp_err"; then
20679 # Broken: success on invalid input.
20680 continue
20681 else
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20684
20685 # Passes both tests.
20686 ac_preproc_ok=:
20687 break
20688 fi
20689 rm -f conftest.err conftest.$ac_ext
20690
20691 done
20692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20693 rm -f conftest.err conftest.$ac_ext
20694 if $ac_preproc_ok; then
20695 :
20696 else
20697 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20698 See \`config.log' for more details." >&5
20699 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20700 See \`config.log' for more details." >&2;}
20701 { (exit 1); exit 1; }; }
20702 fi
20703
20704 ac_ext=cc
20705 ac_cpp='$CXXCPP $CPPFLAGS'
20706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20709
20710
20711
20712
20713
20714 ac_ext=cc
20715 ac_cpp='$CXXCPP $CPPFLAGS'
20716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20719
20720
20721
20722 for ac_header in iostream
20723 do
20724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20726 echo "$as_me:$LINENO: checking for $ac_header" >&5
20727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 fi
20731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20733 else
20734 # Is the header compilable?
20735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20744 #include <$ac_header>
20745 _ACEOF
20746 rm -f conftest.$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; } &&
20761 { ac_try='test -s conftest.$ac_objext'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20764 ac_status=$?
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20767 ac_header_compiler=yes
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 ac_header_compiler=no
20773 fi
20774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20776 echo "${ECHO_T}$ac_header_compiler" >&6
20777
20778 # Is the header present?
20779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20781 cat >conftest.$ac_ext <<_ACEOF
20782 /* confdefs.h. */
20783 _ACEOF
20784 cat confdefs.h >>conftest.$ac_ext
20785 cat >>conftest.$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20787 #include <$ac_header>
20788 _ACEOF
20789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } >/dev/null; then
20797 if test -s conftest.err; then
20798 ac_cpp_err=$ac_cxx_preproc_warn_flag
20799 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20800 else
20801 ac_cpp_err=
20802 fi
20803 else
20804 ac_cpp_err=yes
20805 fi
20806 if test -z "$ac_cpp_err"; then
20807 ac_header_preproc=yes
20808 else
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20811
20812 ac_header_preproc=no
20813 fi
20814 rm -f conftest.err conftest.$ac_ext
20815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20816 echo "${ECHO_T}$ac_header_preproc" >&6
20817
20818 # So? What about this header?
20819 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20820 yes:no: )
20821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20825 ac_header_preproc=yes
20826 ;;
20827 no:yes:* )
20828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20840 (
20841 cat <<\_ASBOX
20842 ## ----------------------------------------- ##
20843 ## Report this to wx-dev@lists.wxwidgets.org ##
20844 ## ----------------------------------------- ##
20845 _ASBOX
20846 ) |
20847 sed "s/^/$as_me: WARNING: /" >&2
20848 ;;
20849 esac
20850 echo "$as_me:$LINENO: checking for $ac_header" >&5
20851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855 eval "$as_ac_Header=\$ac_header_preproc"
20856 fi
20857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20859
20860 fi
20861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20862 cat >>confdefs.h <<_ACEOF
20863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20864 _ACEOF
20865
20866 fi
20867
20868 done
20869
20870
20871 if test "$ac_cv_header_iostream" = "yes" ; then
20872 :
20873 else
20874 cat >>confdefs.h <<\_ACEOF
20875 #define wxUSE_IOSTREAMH 1
20876 _ACEOF
20877
20878 fi
20879
20880 ac_ext=c
20881 ac_cpp='$CPP $CPPFLAGS'
20882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20885
20886
20887
20888
20889 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20890 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20891 if test "${wx_cv_cpp_bool+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20893 else
20894
20895
20896
20897 ac_ext=cc
20898 ac_cpp='$CXXCPP $CPPFLAGS'
20899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20902
20903
20904 cat >conftest.$ac_ext <<_ACEOF
20905 /* confdefs.h. */
20906 _ACEOF
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910
20911
20912 int
20913 main ()
20914 {
20915
20916 bool b = true;
20917
20918 return 0;
20919
20920 ;
20921 return 0;
20922 }
20923 _ACEOF
20924 rm -f conftest.$ac_objext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20926 (eval $ac_compile) 2>conftest.er1
20927 ac_status=$?
20928 grep -v '^ *+' conftest.er1 >conftest.err
20929 rm -f conftest.er1
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } &&
20933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try='test -s conftest.$ac_objext'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; }; then
20945
20946 wx_cv_cpp_bool=yes
20947
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20951
20952
20953 wx_cv_cpp_bool=no
20954
20955
20956 fi
20957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20958
20959 ac_ext=c
20960 ac_cpp='$CPP $CPPFLAGS'
20961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20964
20965
20966 fi
20967 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20968 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20969
20970 if test "$wx_cv_cpp_bool" = "yes"; then
20971 cat >>confdefs.h <<\_ACEOF
20972 #define HAVE_BOOL 1
20973 _ACEOF
20974
20975 fi
20976
20977
20978
20979 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20980 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20981 if test "${wx_cv_explicit+set}" = set; then
20982 echo $ECHO_N "(cached) $ECHO_C" >&6
20983 else
20984
20985
20986
20987 ac_ext=cc
20988 ac_cpp='$CXXCPP $CPPFLAGS'
20989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20992
20993
20994 cat >conftest.$ac_ext <<_ACEOF
20995 /* confdefs.h. */
20996 _ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000
21001 class Foo { public: explicit Foo(int) {} };
21002
21003 int
21004 main ()
21005 {
21006
21007 return 0;
21008
21009 ;
21010 return 0;
21011 }
21012 _ACEOF
21013 rm -f conftest.$ac_objext
21014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21015 (eval $ac_compile) 2>conftest.er1
21016 ac_status=$?
21017 grep -v '^ *+' conftest.er1 >conftest.err
21018 rm -f conftest.er1
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } &&
21022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21025 ac_status=$?
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; } &&
21028 { ac_try='test -s conftest.$ac_objext'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; }; then
21034
21035 cat >conftest.$ac_ext <<_ACEOF
21036 /* confdefs.h. */
21037 _ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041
21042 class Foo { public: explicit Foo(int) {} };
21043 static void TakeFoo(const Foo& foo) { }
21044
21045 int
21046 main ()
21047 {
21048
21049 TakeFoo(17);
21050 return 0;
21051
21052 ;
21053 return 0;
21054 }
21055 _ACEOF
21056 rm -f conftest.$ac_objext
21057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21058 (eval $ac_compile) 2>conftest.er1
21059 ac_status=$?
21060 grep -v '^ *+' conftest.er1 >conftest.err
21061 rm -f conftest.er1
21062 cat conftest.err >&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } &&
21065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21068 ac_status=$?
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; } &&
21071 { ac_try='test -s conftest.$ac_objext'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21074 ac_status=$?
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; }; then
21077 wx_cv_explicit=no
21078 else
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21081
21082 wx_cv_explicit=yes
21083
21084 fi
21085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21086
21087 else
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.$ac_ext >&5
21090
21091 wx_cv_explicit=no
21092
21093 fi
21094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21095
21096 ac_ext=c
21097 ac_cpp='$CPP $CPPFLAGS'
21098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21101
21102
21103 fi
21104 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21105 echo "${ECHO_T}$wx_cv_explicit" >&6
21106
21107 if test "$wx_cv_explicit" = "yes"; then
21108 cat >>confdefs.h <<\_ACEOF
21109 #define HAVE_EXPLICIT 1
21110 _ACEOF
21111
21112 fi
21113
21114
21115 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21116 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21117 if test "${ac_cv_cxx_const_cast+set}" = set; then
21118 echo $ECHO_N "(cached) $ECHO_C" >&6
21119 else
21120
21121
21122 ac_ext=cc
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21127
21128 cat >conftest.$ac_ext <<_ACEOF
21129 /* confdefs.h. */
21130 _ACEOF
21131 cat confdefs.h >>conftest.$ac_ext
21132 cat >>conftest.$ac_ext <<_ACEOF
21133 /* end confdefs.h. */
21134
21135 int
21136 main ()
21137 {
21138 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21139 ;
21140 return 0;
21141 }
21142 _ACEOF
21143 rm -f conftest.$ac_objext
21144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21145 (eval $ac_compile) 2>conftest.er1
21146 ac_status=$?
21147 grep -v '^ *+' conftest.er1 >conftest.err
21148 rm -f conftest.er1
21149 cat conftest.err >&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); } &&
21152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try='test -s conftest.$ac_objext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 ac_cv_cxx_const_cast=yes
21165 else
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.$ac_ext >&5
21168
21169 ac_cv_cxx_const_cast=no
21170 fi
21171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21172 ac_ext=c
21173 ac_cpp='$CPP $CPPFLAGS'
21174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21177
21178
21179 fi
21180 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21181 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21182 if test "$ac_cv_cxx_const_cast" = yes; then
21183
21184 cat >>confdefs.h <<\_ACEOF
21185 #define HAVE_CONST_CAST
21186 _ACEOF
21187
21188 fi
21189
21190 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21191 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21192 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 else
21195
21196
21197 ac_ext=cc
21198 ac_cpp='$CXXCPP $CPPFLAGS'
21199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21202
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 #include <typeinfo>
21210 class Base { public : Base () {} virtual void f () = 0;};
21211 class Derived : public Base { public : Derived () {} virtual void f () {} };
21212 class Unrelated { public : Unrelated () {} };
21213 int g (Unrelated&) { return 0; }
21214 int
21215 main ()
21216 {
21217
21218 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21219 ;
21220 return 0;
21221 }
21222 _ACEOF
21223 rm -f conftest.$ac_objext
21224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21225 (eval $ac_compile) 2>conftest.er1
21226 ac_status=$?
21227 grep -v '^ *+' conftest.er1 >conftest.err
21228 rm -f conftest.er1
21229 cat conftest.err >&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } &&
21232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21235 ac_status=$?
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; } &&
21238 { ac_try='test -s conftest.$ac_objext'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21241 ac_status=$?
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; }; then
21244 ac_cv_cxx_reinterpret_cast=yes
21245 else
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21248
21249 ac_cv_cxx_reinterpret_cast=no
21250 fi
21251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21252 ac_ext=c
21253 ac_cpp='$CPP $CPPFLAGS'
21254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21257
21258
21259 fi
21260 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21261 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21262 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21263
21264 cat >>confdefs.h <<\_ACEOF
21265 #define HAVE_REINTERPRET_CAST
21266 _ACEOF
21267
21268 fi
21269
21270 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21271 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21272 if test "${ac_cv_cxx_static_cast+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 else
21275
21276
21277 ac_ext=cc
21278 ac_cpp='$CXXCPP $CPPFLAGS'
21279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21282
21283 cat >conftest.$ac_ext <<_ACEOF
21284 /* confdefs.h. */
21285 _ACEOF
21286 cat confdefs.h >>conftest.$ac_ext
21287 cat >>conftest.$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 #include <typeinfo>
21290 class Base { public : Base () {} virtual void f () = 0; };
21291 class Derived : public Base { public : Derived () {} virtual void f () {} };
21292 int g (Derived&) { return 0; }
21293 int
21294 main ()
21295 {
21296
21297 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 rm -f conftest.$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21305 ac_status=$?
21306 grep -v '^ *+' conftest.er1 >conftest.err
21307 rm -f conftest.er1
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21314 ac_status=$?
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21320 ac_status=$?
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_cv_cxx_static_cast=yes
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_cv_cxx_static_cast=no
21329 fi
21330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21331 ac_ext=c
21332 ac_cpp='$CPP $CPPFLAGS'
21333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21336
21337
21338 fi
21339 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21340 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21341 if test "$ac_cv_cxx_static_cast" = yes; then
21342
21343 cat >>confdefs.h <<\_ACEOF
21344 #define HAVE_STATIC_CAST
21345 _ACEOF
21346
21347 fi
21348
21349
21350 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21351 ac_ext=cc
21352 ac_cpp='$CXXCPP $CPPFLAGS'
21353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21356
21357
21358 if test "$wxUSE_UNICODE" = "yes"; then
21359 std_string="std::wstring"
21360 char_type="wchar_t"
21361 else
21362 std_string="std::string"
21363 char_type="char"
21364 fi
21365
21366 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21367 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21368 cat >conftest.$ac_ext <<_ACEOF
21369 /* confdefs.h. */
21370 _ACEOF
21371 cat confdefs.h >>conftest.$ac_ext
21372 cat >>conftest.$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21374 #include <string>
21375 int
21376 main ()
21377 {
21378 $std_string foo;
21379 ;
21380 return 0;
21381 }
21382 _ACEOF
21383 rm -f conftest.$ac_objext
21384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21385 (eval $ac_compile) 2>conftest.er1
21386 ac_status=$?
21387 grep -v '^ *+' conftest.er1 >conftest.err
21388 rm -f conftest.er1
21389 cat conftest.err >&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } &&
21392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21395 ac_status=$?
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; } &&
21398 { ac_try='test -s conftest.$ac_objext'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21401 ac_status=$?
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; }; then
21404 echo "$as_me:$LINENO: result: yes" >&5
21405 echo "${ECHO_T}yes" >&6
21406 cat >>confdefs.h <<\_ACEOF
21407 #define HAVE_STD_WSTRING 1
21408 _ACEOF
21409
21410 else
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.$ac_ext >&5
21413
21414 echo "$as_me:$LINENO: result: no" >&5
21415 echo "${ECHO_T}no" >&6
21416 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21417 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21418 cat >conftest.$ac_ext <<_ACEOF
21419 /* confdefs.h. */
21420 _ACEOF
21421 cat confdefs.h >>conftest.$ac_ext
21422 cat >>conftest.$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424
21425 #ifdef HAVE_WCHAR_H
21426 # ifdef __CYGWIN__
21427 # include <stddef.h>
21428 # endif
21429 # include <wchar.h>
21430 #endif
21431 #ifdef HAVE_STDLIB_H
21432 # include <stdlib.h>
21433 #endif
21434 #include <stdio.h>
21435 #include <string>
21436
21437 int
21438 main ()
21439 {
21440 std::basic_string<$char_type> foo;
21441 const $char_type* dummy = foo.c_str();
21442 ;
21443 return 0;
21444 }
21445 _ACEOF
21446 rm -f conftest.$ac_objext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21448 (eval $ac_compile) 2>conftest.er1
21449 ac_status=$?
21450 grep -v '^ *+' conftest.er1 >conftest.err
21451 rm -f conftest.er1
21452 cat conftest.err >&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); } &&
21455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21458 ac_status=$?
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try='test -s conftest.$ac_objext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 echo "$as_me:$LINENO: result: yes" >&5
21468 echo "${ECHO_T}yes" >&6
21469 else
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.$ac_ext >&5
21472
21473 echo "$as_me:$LINENO: result: no" >&5
21474 echo "${ECHO_T}no" >&6
21475 if test "$wxUSE_STL" = "yes"; then
21476 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21477 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21478 { (exit 1); exit 1; }; }
21479 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21480 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21481 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21482 { (exit 1); exit 1; }; }
21483 else
21484 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21485 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21486 wxUSE_STD_STRING=no
21487 fi
21488
21489
21490 fi
21491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21492
21493 fi
21494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21495
21496 ac_ext=c
21497 ac_cpp='$CPP $CPPFLAGS'
21498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21501
21502 fi
21503
21504 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21505 ac_ext=cc
21506 ac_cpp='$CXXCPP $CPPFLAGS'
21507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21510
21511
21512 echo "$as_me:$LINENO: checking for std::istream" >&5
21513 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21514 if test "${ac_cv_type_std__istream+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 else
21517 cat >conftest.$ac_ext <<_ACEOF
21518 /* confdefs.h. */
21519 _ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 #include <iostream>
21524
21525 int
21526 main ()
21527 {
21528 if ((std::istream *) 0)
21529 return 0;
21530 if (sizeof (std::istream))
21531 return 0;
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21538 (eval $ac_compile) 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_cv_type_std__istream=yes
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21561
21562 ac_cv_type_std__istream=no
21563 fi
21564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21565 fi
21566 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21567 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21568 if test $ac_cv_type_std__istream = yes; then
21569
21570 cat >>confdefs.h <<_ACEOF
21571 #define HAVE_STD__ISTREAM 1
21572 _ACEOF
21573
21574
21575 else
21576 wxUSE_STD_IOSTREAM=no
21577 fi
21578 echo "$as_me:$LINENO: checking for std::ostream" >&5
21579 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21580 if test "${ac_cv_type_std__ostream+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21583 cat >conftest.$ac_ext <<_ACEOF
21584 /* confdefs.h. */
21585 _ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 #include <iostream>
21590
21591 int
21592 main ()
21593 {
21594 if ((std::ostream *) 0)
21595 return 0;
21596 if (sizeof (std::ostream))
21597 return 0;
21598 ;
21599 return 0;
21600 }
21601 _ACEOF
21602 rm -f conftest.$ac_objext
21603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21604 (eval $ac_compile) 2>conftest.er1
21605 ac_status=$?
21606 grep -v '^ *+' conftest.er1 >conftest.err
21607 rm -f conftest.er1
21608 cat conftest.err >&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } &&
21611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21614 ac_status=$?
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; } &&
21617 { ac_try='test -s conftest.$ac_objext'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21620 ac_status=$?
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; }; then
21623 ac_cv_type_std__ostream=yes
21624 else
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21627
21628 ac_cv_type_std__ostream=no
21629 fi
21630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21631 fi
21632 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21633 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21634 if test $ac_cv_type_std__ostream = yes; then
21635
21636 cat >>confdefs.h <<_ACEOF
21637 #define HAVE_STD__OSTREAM 1
21638 _ACEOF
21639
21640
21641 else
21642 wxUSE_STD_IOSTREAM=no
21643 fi
21644
21645
21646 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21647 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21648 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21649 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21650 { (exit 1); exit 1; }; }
21651 else
21652 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21653 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21654 fi
21655 fi
21656
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662
21663 fi
21664
21665 if test "$wxUSE_STL" = "yes"; then
21666 ac_ext=cc
21667 ac_cpp='$CXXCPP $CPPFLAGS'
21668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21671
21672
21673 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21674 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21675 cat >conftest.$ac_ext <<_ACEOF
21676 /* confdefs.h. */
21677 _ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21681 #include <string>
21682 #include <functional>
21683 #include <algorithm>
21684 #include <vector>
21685 #include <list>
21686 int
21687 main ()
21688 {
21689 std::vector<int> moo;
21690 std::list<int> foo;
21691 std::vector<int>::iterator it =
21692 std::find_if(moo.begin(), moo.end(),
21693 std::bind2nd(std::less<int>(), 3));
21694 ;
21695 return 0;
21696 }
21697 _ACEOF
21698 rm -f conftest.$ac_objext
21699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21700 (eval $ac_compile) 2>conftest.er1
21701 ac_status=$?
21702 grep -v '^ *+' conftest.er1 >conftest.err
21703 rm -f conftest.er1
21704 cat conftest.err >&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); } &&
21707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21713 { ac_try='test -s conftest.$ac_objext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 echo "$as_me:$LINENO: result: yes" >&5
21720 echo "${ECHO_T}yes" >&6
21721 else
21722 echo "$as_me: failed program was:" >&5
21723 sed 's/^/| /' conftest.$ac_ext >&5
21724
21725 echo "$as_me:$LINENO: result: no" >&5
21726 echo "${ECHO_T}no" >&6
21727 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21728 echo "$as_me: error: Basic STL functionality missing" >&2;}
21729 { (exit 1); exit 1; }; }
21730 fi
21731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21732
21733 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21734 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21735 cat >conftest.$ac_ext <<_ACEOF
21736 /* confdefs.h. */
21737 _ACEOF
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21741 #include <string>
21742 int
21743 main ()
21744 {
21745 std::string foo, bar;
21746 foo.compare(bar);
21747 foo.compare(1, 1, bar);
21748 foo.compare(1, 1, bar, 1, 1);
21749 foo.compare("");
21750 foo.compare(1, 1, "");
21751 foo.compare(1, 1, "", 2);
21752 ;
21753 return 0;
21754 }
21755 _ACEOF
21756 rm -f conftest.$ac_objext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21758 (eval $ac_compile) 2>conftest.er1
21759 ac_status=$?
21760 grep -v '^ *+' conftest.er1 >conftest.err
21761 rm -f conftest.er1
21762 cat conftest.err >&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); } &&
21765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21771 { ac_try='test -s conftest.$ac_objext'
21772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21773 (eval $ac_try) 2>&5
21774 ac_status=$?
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; }; then
21777 echo "$as_me:$LINENO: result: yes" >&5
21778 echo "${ECHO_T}yes" >&6
21779 cat >>confdefs.h <<\_ACEOF
21780 #define HAVE_STD_STRING_COMPARE 1
21781 _ACEOF
21782
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 echo "$as_me:$LINENO: result: no" >&5
21788 echo "${ECHO_T}no" >&6
21789 fi
21790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21791
21792 if test "${ac_cv_header_hash_map+set}" = set; then
21793 echo "$as_me:$LINENO: checking for hash_map" >&5
21794 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21795 if test "${ac_cv_header_hash_map+set}" = set; then
21796 echo $ECHO_N "(cached) $ECHO_C" >&6
21797 fi
21798 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21799 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21800 else
21801 # Is the header compilable?
21802 echo "$as_me:$LINENO: checking hash_map usability" >&5
21803 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21804 cat >conftest.$ac_ext <<_ACEOF
21805 /* confdefs.h. */
21806 _ACEOF
21807 cat confdefs.h >>conftest.$ac_ext
21808 cat >>conftest.$ac_ext <<_ACEOF
21809 /* end confdefs.h. */
21810 $ac_includes_default
21811 #include <hash_map>
21812 _ACEOF
21813 rm -f conftest.$ac_objext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21815 (eval $ac_compile) 2>conftest.er1
21816 ac_status=$?
21817 grep -v '^ *+' conftest.er1 >conftest.err
21818 rm -f conftest.er1
21819 cat conftest.err >&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21825 ac_status=$?
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; } &&
21828 { ac_try='test -s conftest.$ac_objext'
21829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21830 (eval $ac_try) 2>&5
21831 ac_status=$?
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; }; then
21834 ac_header_compiler=yes
21835 else
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 ac_header_compiler=no
21840 fi
21841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21843 echo "${ECHO_T}$ac_header_compiler" >&6
21844
21845 # Is the header present?
21846 echo "$as_me:$LINENO: checking hash_map presence" >&5
21847 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21848 cat >conftest.$ac_ext <<_ACEOF
21849 /* confdefs.h. */
21850 _ACEOF
21851 cat confdefs.h >>conftest.$ac_ext
21852 cat >>conftest.$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854 #include <hash_map>
21855 _ACEOF
21856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21857 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21858 ac_status=$?
21859 grep -v '^ *+' conftest.er1 >conftest.err
21860 rm -f conftest.er1
21861 cat conftest.err >&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } >/dev/null; then
21864 if test -s conftest.err; then
21865 ac_cpp_err=$ac_cxx_preproc_warn_flag
21866 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21867 else
21868 ac_cpp_err=
21869 fi
21870 else
21871 ac_cpp_err=yes
21872 fi
21873 if test -z "$ac_cpp_err"; then
21874 ac_header_preproc=yes
21875 else
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21878
21879 ac_header_preproc=no
21880 fi
21881 rm -f conftest.err conftest.$ac_ext
21882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21883 echo "${ECHO_T}$ac_header_preproc" >&6
21884
21885 # So? What about this header?
21886 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21887 yes:no: )
21888 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21889 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21890 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21891 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21892 ac_header_preproc=yes
21893 ;;
21894 no:yes:* )
21895 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21896 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21897 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21898 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21899 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21900 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21901 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21902 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21903 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21904 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21905 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21906 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21907 (
21908 cat <<\_ASBOX
21909 ## ----------------------------------------- ##
21910 ## Report this to wx-dev@lists.wxwidgets.org ##
21911 ## ----------------------------------------- ##
21912 _ASBOX
21913 ) |
21914 sed "s/^/$as_me: WARNING: /" >&2
21915 ;;
21916 esac
21917 echo "$as_me:$LINENO: checking for hash_map" >&5
21918 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21919 if test "${ac_cv_header_hash_map+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 else
21922 ac_cv_header_hash_map=$ac_header_preproc
21923 fi
21924 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21925 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21926
21927 fi
21928 if test $ac_cv_header_hash_map = yes; then
21929 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21930 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21931 cat >conftest.$ac_ext <<_ACEOF
21932 /* confdefs.h. */
21933 _ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 #include <hash_map>
21938 #include <hash_set>
21939 int
21940 main ()
21941 {
21942 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21943 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21944 ;
21945 return 0;
21946 }
21947 _ACEOF
21948 rm -f conftest.$ac_objext
21949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21950 (eval $ac_compile) 2>conftest.er1
21951 ac_status=$?
21952 grep -v '^ *+' conftest.er1 >conftest.err
21953 rm -f conftest.er1
21954 cat conftest.err >&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; } &&
21963 { ac_try='test -s conftest.$ac_objext'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21966 ac_status=$?
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; }; then
21969 echo "$as_me:$LINENO: result: yes" >&5
21970 echo "${ECHO_T}yes" >&6
21971 cat >>confdefs.h <<\_ACEOF
21972 #define HAVE_HASH_MAP 1
21973 _ACEOF
21974
21975 cat >>confdefs.h <<\_ACEOF
21976 #define HAVE_STD_HASH_MAP 1
21977 _ACEOF
21978
21979 else
21980 echo "$as_me: failed program was:" >&5
21981 sed 's/^/| /' conftest.$ac_ext >&5
21982
21983 echo "$as_me:$LINENO: result: no" >&5
21984 echo "${ECHO_T}no" >&6
21985 fi
21986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21987
21988 fi
21989
21990
21991
21992 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21993 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21994 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21995 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21996 echo $ECHO_N "(cached) $ECHO_C" >&6
21997 fi
21998 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21999 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22000 else
22001 # Is the header compilable?
22002 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22003 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22004 cat >conftest.$ac_ext <<_ACEOF
22005 /* confdefs.h. */
22006 _ACEOF
22007 cat confdefs.h >>conftest.$ac_ext
22008 cat >>conftest.$ac_ext <<_ACEOF
22009 /* end confdefs.h. */
22010 $ac_includes_default
22011 #include <ext/hash_map>
22012 _ACEOF
22013 rm -f conftest.$ac_objext
22014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22015 (eval $ac_compile) 2>conftest.er1
22016 ac_status=$?
22017 grep -v '^ *+' conftest.er1 >conftest.err
22018 rm -f conftest.er1
22019 cat conftest.err >&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } &&
22022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22025 ac_status=$?
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; } &&
22028 { ac_try='test -s conftest.$ac_objext'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22031 ac_status=$?
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; }; then
22034 ac_header_compiler=yes
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22038
22039 ac_header_compiler=no
22040 fi
22041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22042 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22043 echo "${ECHO_T}$ac_header_compiler" >&6
22044
22045 # Is the header present?
22046 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22047 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22048 cat >conftest.$ac_ext <<_ACEOF
22049 /* confdefs.h. */
22050 _ACEOF
22051 cat confdefs.h >>conftest.$ac_ext
22052 cat >>conftest.$ac_ext <<_ACEOF
22053 /* end confdefs.h. */
22054 #include <ext/hash_map>
22055 _ACEOF
22056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22058 ac_status=$?
22059 grep -v '^ *+' conftest.er1 >conftest.err
22060 rm -f conftest.er1
22061 cat conftest.err >&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); } >/dev/null; then
22064 if test -s conftest.err; then
22065 ac_cpp_err=$ac_cxx_preproc_warn_flag
22066 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22067 else
22068 ac_cpp_err=
22069 fi
22070 else
22071 ac_cpp_err=yes
22072 fi
22073 if test -z "$ac_cpp_err"; then
22074 ac_header_preproc=yes
22075 else
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22078
22079 ac_header_preproc=no
22080 fi
22081 rm -f conftest.err conftest.$ac_ext
22082 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22083 echo "${ECHO_T}$ac_header_preproc" >&6
22084
22085 # So? What about this header?
22086 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22087 yes:no: )
22088 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22089 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22090 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22091 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22092 ac_header_preproc=yes
22093 ;;
22094 no:yes:* )
22095 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22096 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22097 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22098 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22099 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22100 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22101 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22102 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22103 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22104 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22105 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22106 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22107 (
22108 cat <<\_ASBOX
22109 ## ----------------------------------------- ##
22110 ## Report this to wx-dev@lists.wxwidgets.org ##
22111 ## ----------------------------------------- ##
22112 _ASBOX
22113 ) |
22114 sed "s/^/$as_me: WARNING: /" >&2
22115 ;;
22116 esac
22117 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22118 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22119 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22121 else
22122 ac_cv_header_ext_hash_map=$ac_header_preproc
22123 fi
22124 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22125 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22126
22127 fi
22128 if test $ac_cv_header_ext_hash_map = yes; then
22129 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22130 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22131 cat >conftest.$ac_ext <<_ACEOF
22132 /* confdefs.h. */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 #include <ext/hash_map>
22138 #include <ext/hash_set>
22139 int
22140 main ()
22141 {
22142 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22143 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22144 ;
22145 return 0;
22146 }
22147 _ACEOF
22148 rm -f conftest.$ac_objext
22149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22150 (eval $ac_compile) 2>conftest.er1
22151 ac_status=$?
22152 grep -v '^ *+' conftest.er1 >conftest.err
22153 rm -f conftest.er1
22154 cat conftest.err >&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } &&
22157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22159 (eval $ac_try) 2>&5
22160 ac_status=$?
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; } &&
22163 { ac_try='test -s conftest.$ac_objext'
22164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22165 (eval $ac_try) 2>&5
22166 ac_status=$?
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); }; }; then
22169 echo "$as_me:$LINENO: result: yes" >&5
22170 echo "${ECHO_T}yes" >&6
22171 cat >>confdefs.h <<\_ACEOF
22172 #define HAVE_EXT_HASH_MAP 1
22173 _ACEOF
22174
22175 cat >>confdefs.h <<\_ACEOF
22176 #define HAVE_GNU_CXX_HASH_MAP 1
22177 _ACEOF
22178
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 echo "$as_me:$LINENO: result: no" >&5
22184 echo "${ECHO_T}no" >&6
22185 fi
22186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22187
22188 fi
22189
22190
22191
22192 ac_ext=c
22193 ac_cpp='$CPP $CPPFLAGS'
22194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22197
22198 fi
22199
22200
22201 SEARCH_INCLUDE="\
22202 /usr/local/include \
22203 \
22204 /usr/Motif-2.1/include \
22205 /usr/Motif-1.2/include \
22206 /usr/include/Motif1.2 \
22207 /opt/xpm/include/X11 \
22208 /opt/GBxpm/include/ \
22209 /opt/GBxpm/X11/include/ \
22210 \
22211 /usr/dt/include \
22212 /usr/openwin/include \
22213 \
22214 /usr/include/Xm \
22215 \
22216 /usr/X11R6/include \
22217 /usr/X11R6.4/include \
22218 /usr/X11R5/include \
22219 /usr/X11R4/include \
22220 \
22221 /usr/include/X11R6 \
22222 /usr/include/X11R5 \
22223 /usr/include/X11R4 \
22224 \
22225 /usr/local/X11R6/include \
22226 /usr/local/X11R5/include \
22227 /usr/local/X11R4/include \
22228 \
22229 /usr/local/include/X11R6 \
22230 /usr/local/include/X11R5 \
22231 /usr/local/include/X11R4 \
22232 \
22233 /usr/X11/include \
22234 /usr/include/X11 \
22235 /usr/local/X11/include \
22236 /usr/local/include/X11 \
22237 \
22238 /usr/X386/include \
22239 /usr/x386/include \
22240 /usr/XFree86/include/X11 \
22241 \
22242 X:/XFree86/include \
22243 X:/XFree86/include/X11 \
22244 \
22245 /usr/include/gtk \
22246 /usr/local/include/gtk \
22247 /usr/include/glib \
22248 /usr/local/include/glib \
22249 \
22250 /usr/include/qt \
22251 /usr/local/include/qt \
22252 \
22253 /usr/local/arm/3.3.2/include \
22254 \
22255 /usr/include/windows \
22256 /usr/include/wine \
22257 /usr/local/include/wine \
22258 \
22259 /usr/unsupported/include \
22260 /usr/athena/include \
22261 /usr/local/x11r5/include \
22262 /usr/lpp/Xamples/include \
22263 \
22264 /usr/openwin/share/include"
22265
22266 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22267
22268
22269 cat >confcache <<\_ACEOF
22270 # This file is a shell script that caches the results of configure
22271 # tests run on this system so they can be shared between configure
22272 # scripts and configure runs, see configure's option --config-cache.
22273 # It is not useful on other systems. If it contains results you don't
22274 # want to keep, you may remove or edit it.
22275 #
22276 # config.status only pays attention to the cache file if you give it
22277 # the --recheck option to rerun configure.
22278 #
22279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22281 # following values.
22282
22283 _ACEOF
22284
22285 # The following way of writing the cache mishandles newlines in values,
22286 # but we know of no workaround that is simple, portable, and efficient.
22287 # So, don't put newlines in cache variables' values.
22288 # Ultrix sh set writes to stderr and can't be redirected directly,
22289 # and sets the high bit in the cache file unless we assign to the vars.
22290 {
22291 (set) 2>&1 |
22292 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22293 *ac_space=\ *)
22294 # `set' does not quote correctly, so add quotes (double-quote
22295 # substitution turns \\\\ into \\, and sed turns \\ into \).
22296 sed -n \
22297 "s/'/'\\\\''/g;
22298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22299 ;;
22300 *)
22301 # `set' quotes correctly as required by POSIX, so do not add quotes.
22302 sed -n \
22303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22304 ;;
22305 esac;
22306 } |
22307 sed '
22308 t clear
22309 : clear
22310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22311 t end
22312 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22313 : end' >>confcache
22314 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22315 if test -w $cache_file; then
22316 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22317 cat confcache >$cache_file
22318 else
22319 echo "not updating unwritable cache $cache_file"
22320 fi
22321 fi
22322 rm -f confcache
22323
22324 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22325 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22326 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22327 if test "${wx_cv_lib_glibc21+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 else
22330
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #include <features.h>
22338 int
22339 main ()
22340 {
22341
22342 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22343 #error not glibc2.1
22344 #endif
22345
22346 ;
22347 return 0;
22348 }
22349 _ACEOF
22350 rm -f conftest.$ac_objext
22351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352 (eval $ac_compile) 2>conftest.er1
22353 ac_status=$?
22354 grep -v '^ *+' conftest.er1 >conftest.err
22355 rm -f conftest.er1
22356 cat conftest.err >&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); } &&
22359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try='test -s conftest.$ac_objext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22368 ac_status=$?
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371
22372 wx_cv_lib_glibc21=yes
22373
22374 else
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.$ac_ext >&5
22377
22378
22379 wx_cv_lib_glibc21=no
22380
22381
22382 fi
22383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22384
22385 fi
22386 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22387 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22388 if test "$wx_cv_lib_glibc21" = "yes"; then
22389 cat >>confdefs.h <<\_ACEOF
22390 #define wxHAVE_GLIBC2 1
22391 _ACEOF
22392
22393 fi
22394 fi
22395
22396 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22397 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22398 cat >>confdefs.h <<\_ACEOF
22399 #define _GNU_SOURCE 1
22400 _ACEOF
22401
22402 fi
22403 fi
22404
22405
22406
22407 if test "$wxUSE_REGEX" != "no"; then
22408 cat >>confdefs.h <<\_ACEOF
22409 #define wxUSE_REGEX 1
22410 _ACEOF
22411
22412
22413 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22414 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22415 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22416 wxUSE_REGEX=builtin
22417 fi
22418
22419 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22420 if test "${ac_cv_header_regex_h+set}" = set; then
22421 echo "$as_me:$LINENO: checking for regex.h" >&5
22422 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22423 if test "${ac_cv_header_regex_h+set}" = set; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22425 fi
22426 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22427 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22428 else
22429 # Is the header compilable?
22430 echo "$as_me:$LINENO: checking regex.h usability" >&5
22431 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22432 cat >conftest.$ac_ext <<_ACEOF
22433 /* confdefs.h. */
22434 _ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 $ac_includes_default
22439 #include <regex.h>
22440 _ACEOF
22441 rm -f conftest.$ac_objext
22442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22443 (eval $ac_compile) 2>conftest.er1
22444 ac_status=$?
22445 grep -v '^ *+' conftest.er1 >conftest.err
22446 rm -f conftest.er1
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } &&
22450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22453 ac_status=$?
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; } &&
22456 { ac_try='test -s conftest.$ac_objext'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22459 ac_status=$?
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 ac_header_compiler=yes
22463 else
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.$ac_ext >&5
22466
22467 ac_header_compiler=no
22468 fi
22469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22471 echo "${ECHO_T}$ac_header_compiler" >&6
22472
22473 # Is the header present?
22474 echo "$as_me:$LINENO: checking regex.h presence" >&5
22475 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22476 cat >conftest.$ac_ext <<_ACEOF
22477 /* confdefs.h. */
22478 _ACEOF
22479 cat confdefs.h >>conftest.$ac_ext
22480 cat >>conftest.$ac_ext <<_ACEOF
22481 /* end confdefs.h. */
22482 #include <regex.h>
22483 _ACEOF
22484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22486 ac_status=$?
22487 grep -v '^ *+' conftest.er1 >conftest.err
22488 rm -f conftest.er1
22489 cat conftest.err >&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } >/dev/null; then
22492 if test -s conftest.err; then
22493 ac_cpp_err=$ac_c_preproc_warn_flag
22494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22495 else
22496 ac_cpp_err=
22497 fi
22498 else
22499 ac_cpp_err=yes
22500 fi
22501 if test -z "$ac_cpp_err"; then
22502 ac_header_preproc=yes
22503 else
22504 echo "$as_me: failed program was:" >&5
22505 sed 's/^/| /' conftest.$ac_ext >&5
22506
22507 ac_header_preproc=no
22508 fi
22509 rm -f conftest.err conftest.$ac_ext
22510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22511 echo "${ECHO_T}$ac_header_preproc" >&6
22512
22513 # So? What about this header?
22514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22515 yes:no: )
22516 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22517 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22518 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22519 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22520 ac_header_preproc=yes
22521 ;;
22522 no:yes:* )
22523 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22524 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22525 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22526 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22527 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22528 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22529 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22530 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22531 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22532 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22533 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22534 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22535 (
22536 cat <<\_ASBOX
22537 ## ----------------------------------------- ##
22538 ## Report this to wx-dev@lists.wxwidgets.org ##
22539 ## ----------------------------------------- ##
22540 _ASBOX
22541 ) |
22542 sed "s/^/$as_me: WARNING: /" >&2
22543 ;;
22544 esac
22545 echo "$as_me:$LINENO: checking for regex.h" >&5
22546 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22547 if test "${ac_cv_header_regex_h+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 else
22550 ac_cv_header_regex_h=$ac_header_preproc
22551 fi
22552 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22553 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22554
22555 fi
22556 if test $ac_cv_header_regex_h = yes; then
22557
22558 for ac_func in regcomp
22559 do
22560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22561 echo "$as_me:$LINENO: checking for $ac_func" >&5
22562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22563 if eval "test \"\${$as_ac_var+set}\" = set"; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 else
22566 cat >conftest.$ac_ext <<_ACEOF
22567 /* confdefs.h. */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22574 #define $ac_func innocuous_$ac_func
22575
22576 /* System header to define __stub macros and hopefully few prototypes,
22577 which can conflict with char $ac_func (); below.
22578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22579 <limits.h> exists even on freestanding compilers. */
22580
22581 #ifdef __STDC__
22582 # include <limits.h>
22583 #else
22584 # include <assert.h>
22585 #endif
22586
22587 #undef $ac_func
22588
22589 /* Override any gcc2 internal prototype to avoid an error. */
22590 #ifdef __cplusplus
22591 extern "C"
22592 {
22593 #endif
22594 /* We use char because int might match the return type of a gcc2
22595 builtin and then its argument prototype would still apply. */
22596 char $ac_func ();
22597 /* The GNU C library defines this for functions which it implements
22598 to always fail with ENOSYS. Some functions are actually named
22599 something starting with __ and the normal name is an alias. */
22600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22601 choke me
22602 #else
22603 char (*f) () = $ac_func;
22604 #endif
22605 #ifdef __cplusplus
22606 }
22607 #endif
22608
22609 int
22610 main ()
22611 {
22612 return f != $ac_func;
22613 ;
22614 return 0;
22615 }
22616 _ACEOF
22617 rm -f conftest.$ac_objext conftest$ac_exeext
22618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22619 (eval $ac_link) 2>conftest.er1
22620 ac_status=$?
22621 grep -v '^ *+' conftest.er1 >conftest.err
22622 rm -f conftest.er1
22623 cat conftest.err >&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } &&
22626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628 (eval $ac_try) 2>&5
22629 ac_status=$?
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); }; } &&
22632 { ac_try='test -s conftest$ac_exeext'
22633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634 (eval $ac_try) 2>&5
22635 ac_status=$?
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22638 eval "$as_ac_var=yes"
22639 else
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22642
22643 eval "$as_ac_var=no"
22644 fi
22645 rm -f conftest.err conftest.$ac_objext \
22646 conftest$ac_exeext conftest.$ac_ext
22647 fi
22648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22650 if test `eval echo '${'$as_ac_var'}'` = yes; then
22651 cat >>confdefs.h <<_ACEOF
22652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22653 _ACEOF
22654
22655 fi
22656 done
22657
22658 fi
22659
22660
22661
22662 if test "x$ac_cv_func_regcomp" != "xyes"; then
22663 if test "$wxUSE_REGEX" = "sys" ; then
22664 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22665 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22666 { (exit 1); exit 1; }; }
22667 else
22668 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22669 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22670 wxUSE_REGEX=builtin
22671 fi
22672 else
22673 wxUSE_REGEX=sys
22674 cat >>confdefs.h <<\_ACEOF
22675 #define WX_NO_REGEX_ADVANCED 1
22676 _ACEOF
22677
22678 fi
22679 fi
22680 fi
22681
22682
22683 ZLIB_LINK=
22684 if test "$wxUSE_ZLIB" != "no" ; then
22685 cat >>confdefs.h <<\_ACEOF
22686 #define wxUSE_ZLIB 1
22687 _ACEOF
22688
22689
22690 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22691 if test "$USE_DARWIN" = 1; then
22692 system_zlib_h_ok="yes"
22693 else
22694 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22695 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22696 if test "${ac_cv_header_zlib_h+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22698 else
22699 if test "$cross_compiling" = yes; then
22700 unset ac_cv_header_zlib_h
22701
22702 else
22703 cat >conftest.$ac_ext <<_ACEOF
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709
22710 #include <zlib.h>
22711 #include <stdio.h>
22712
22713 int main()
22714 {
22715 FILE *f=fopen("conftestval", "w");
22716 if (!f) exit(1);
22717 fprintf(f, "%s",
22718 ZLIB_VERSION[0] == '1' &&
22719 (ZLIB_VERSION[2] > '1' ||
22720 (ZLIB_VERSION[2] == '1' &&
22721 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22722 exit(0);
22723 }
22724
22725 _ACEOF
22726 rm -f conftest$ac_exeext
22727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22728 (eval $ac_link) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22734 ac_status=$?
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_cv_header_zlib_h=`cat conftestval`
22738 else
22739 echo "$as_me: program exited with status $ac_status" >&5
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.$ac_ext >&5
22742
22743 ( exit $ac_status )
22744 ac_cv_header_zlib_h=no
22745 fi
22746 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22747 fi
22748
22749 fi
22750 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22751 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22752 if test "${ac_cv_header_zlib_h+set}" = set; then
22753 echo "$as_me:$LINENO: checking for zlib.h" >&5
22754 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22755 if test "${ac_cv_header_zlib_h+set}" = set; then
22756 echo $ECHO_N "(cached) $ECHO_C" >&6
22757 fi
22758 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22759 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22760 else
22761 # Is the header compilable?
22762 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22763 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22764 cat >conftest.$ac_ext <<_ACEOF
22765 /* confdefs.h. */
22766 _ACEOF
22767 cat confdefs.h >>conftest.$ac_ext
22768 cat >>conftest.$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22770 $ac_includes_default
22771 #include <zlib.h>
22772 _ACEOF
22773 rm -f conftest.$ac_objext
22774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22775 (eval $ac_compile) 2>conftest.er1
22776 ac_status=$?
22777 grep -v '^ *+' conftest.er1 >conftest.err
22778 rm -f conftest.er1
22779 cat conftest.err >&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22784 (eval $ac_try) 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); }; } &&
22788 { ac_try='test -s conftest.$ac_objext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22791 ac_status=$?
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 ac_header_compiler=yes
22795 else
22796 echo "$as_me: failed program was:" >&5
22797 sed 's/^/| /' conftest.$ac_ext >&5
22798
22799 ac_header_compiler=no
22800 fi
22801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22803 echo "${ECHO_T}$ac_header_compiler" >&6
22804
22805 # Is the header present?
22806 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22807 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22808 cat >conftest.$ac_ext <<_ACEOF
22809 /* confdefs.h. */
22810 _ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814 #include <zlib.h>
22815 _ACEOF
22816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22818 ac_status=$?
22819 grep -v '^ *+' conftest.er1 >conftest.err
22820 rm -f conftest.er1
22821 cat conftest.err >&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } >/dev/null; then
22824 if test -s conftest.err; then
22825 ac_cpp_err=$ac_c_preproc_warn_flag
22826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22827 else
22828 ac_cpp_err=
22829 fi
22830 else
22831 ac_cpp_err=yes
22832 fi
22833 if test -z "$ac_cpp_err"; then
22834 ac_header_preproc=yes
22835 else
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.$ac_ext >&5
22838
22839 ac_header_preproc=no
22840 fi
22841 rm -f conftest.err conftest.$ac_ext
22842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22843 echo "${ECHO_T}$ac_header_preproc" >&6
22844
22845 # So? What about this header?
22846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22847 yes:no: )
22848 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22849 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22850 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22851 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22852 ac_header_preproc=yes
22853 ;;
22854 no:yes:* )
22855 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22856 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22857 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22858 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22859 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22860 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22861 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22862 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22863 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22864 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22865 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22866 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22867 (
22868 cat <<\_ASBOX
22869 ## ----------------------------------------- ##
22870 ## Report this to wx-dev@lists.wxwidgets.org ##
22871 ## ----------------------------------------- ##
22872 _ASBOX
22873 ) |
22874 sed "s/^/$as_me: WARNING: /" >&2
22875 ;;
22876 esac
22877 echo "$as_me:$LINENO: checking for zlib.h" >&5
22878 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22879 if test "${ac_cv_header_zlib_h+set}" = set; then
22880 echo $ECHO_N "(cached) $ECHO_C" >&6
22881 else
22882 ac_cv_header_zlib_h=$ac_header_preproc
22883 fi
22884 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22885 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22886
22887 fi
22888
22889
22890
22891 system_zlib_h_ok=$ac_cv_header_zlib_h
22892 fi
22893
22894 if test "$system_zlib_h_ok" = "yes"; then
22895 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22896 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22897 if test "${ac_cv_lib_z_deflate+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 else
22900 ac_check_lib_save_LIBS=$LIBS
22901 LIBS="-lz $LIBS"
22902 cat >conftest.$ac_ext <<_ACEOF
22903 /* confdefs.h. */
22904 _ACEOF
22905 cat confdefs.h >>conftest.$ac_ext
22906 cat >>conftest.$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22908
22909 /* Override any gcc2 internal prototype to avoid an error. */
22910 #ifdef __cplusplus
22911 extern "C"
22912 #endif
22913 /* We use char because int might match the return type of a gcc2
22914 builtin and then its argument prototype would still apply. */
22915 char deflate ();
22916 int
22917 main ()
22918 {
22919 deflate ();
22920 ;
22921 return 0;
22922 }
22923 _ACEOF
22924 rm -f conftest.$ac_objext conftest$ac_exeext
22925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22926 (eval $ac_link) 2>conftest.er1
22927 ac_status=$?
22928 grep -v '^ *+' conftest.er1 >conftest.err
22929 rm -f conftest.er1
22930 cat conftest.err >&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); } &&
22933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22936 ac_status=$?
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; } &&
22939 { ac_try='test -s conftest$ac_exeext'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22942 ac_status=$?
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_lib_z_deflate=yes
22946 else
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22949
22950 ac_cv_lib_z_deflate=no
22951 fi
22952 rm -f conftest.err conftest.$ac_objext \
22953 conftest$ac_exeext conftest.$ac_ext
22954 LIBS=$ac_check_lib_save_LIBS
22955 fi
22956 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22957 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22958 if test $ac_cv_lib_z_deflate = yes; then
22959 ZLIB_LINK=" -lz"
22960 fi
22961
22962 fi
22963
22964 if test "x$ZLIB_LINK" = "x" ; then
22965 if test "$wxUSE_ZLIB" = "sys" ; then
22966 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22967 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22968 { (exit 1); exit 1; }; }
22969 else
22970 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22971 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22972 wxUSE_ZLIB=builtin
22973 fi
22974 else
22975 wxUSE_ZLIB=sys
22976 fi
22977 fi
22978 fi
22979
22980
22981 PNG_LINK=
22982 if test "$wxUSE_LIBPNG" != "no" ; then
22983 cat >>confdefs.h <<\_ACEOF
22984 #define wxUSE_LIBPNG 1
22985 _ACEOF
22986
22987
22988 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22989 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22990 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22991 wxUSE_LIBPNG=sys
22992 fi
22993
22994 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22995 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22996 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22997 wxUSE_LIBPNG=builtin
22998 fi
22999
23000 if test "$wxUSE_MGL" != 1 ; then
23001 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23002 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23003 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23004 if test "${ac_cv_header_png_h+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23006 else
23007 if test "$cross_compiling" = yes; then
23008 unset ac_cv_header_png_h
23009
23010 else
23011 cat >conftest.$ac_ext <<_ACEOF
23012 /* confdefs.h. */
23013 _ACEOF
23014 cat confdefs.h >>conftest.$ac_ext
23015 cat >>conftest.$ac_ext <<_ACEOF
23016 /* end confdefs.h. */
23017
23018 #include <png.h>
23019 #include <stdio.h>
23020
23021 int main()
23022 {
23023 FILE *f=fopen("conftestval", "w");
23024 if (!f) exit(1);
23025 fprintf(f, "%s",
23026 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23027 exit(0);
23028 }
23029
23030 _ACEOF
23031 rm -f conftest$ac_exeext
23032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23033 (eval $ac_link) 2>&5
23034 ac_status=$?
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23039 ac_status=$?
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 ac_cv_header_png_h=`cat conftestval`
23043 else
23044 echo "$as_me: program exited with status $ac_status" >&5
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.$ac_ext >&5
23047
23048 ( exit $ac_status )
23049 ac_cv_header_png_h=no
23050 fi
23051 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23052 fi
23053
23054 fi
23055 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23056 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23057 if test "${ac_cv_header_png_h+set}" = set; then
23058 echo "$as_me:$LINENO: checking for png.h" >&5
23059 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23060 if test "${ac_cv_header_png_h+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 fi
23063 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23064 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23065 else
23066 # Is the header compilable?
23067 echo "$as_me:$LINENO: checking png.h usability" >&5
23068 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23069 cat >conftest.$ac_ext <<_ACEOF
23070 /* confdefs.h. */
23071 _ACEOF
23072 cat confdefs.h >>conftest.$ac_ext
23073 cat >>conftest.$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075 $ac_includes_default
23076 #include <png.h>
23077 _ACEOF
23078 rm -f conftest.$ac_objext
23079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23080 (eval $ac_compile) 2>conftest.er1
23081 ac_status=$?
23082 grep -v '^ *+' conftest.er1 >conftest.err
23083 rm -f conftest.er1
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } &&
23087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23090 ac_status=$?
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; } &&
23093 { ac_try='test -s conftest.$ac_objext'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23096 ac_status=$?
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; }; then
23099 ac_header_compiler=yes
23100 else
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.$ac_ext >&5
23103
23104 ac_header_compiler=no
23105 fi
23106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23108 echo "${ECHO_T}$ac_header_compiler" >&6
23109
23110 # Is the header present?
23111 echo "$as_me:$LINENO: checking png.h presence" >&5
23112 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23113 cat >conftest.$ac_ext <<_ACEOF
23114 /* confdefs.h. */
23115 _ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119 #include <png.h>
23120 _ACEOF
23121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23123 ac_status=$?
23124 grep -v '^ *+' conftest.er1 >conftest.err
23125 rm -f conftest.er1
23126 cat conftest.err >&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } >/dev/null; then
23129 if test -s conftest.err; then
23130 ac_cpp_err=$ac_c_preproc_warn_flag
23131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23132 else
23133 ac_cpp_err=
23134 fi
23135 else
23136 ac_cpp_err=yes
23137 fi
23138 if test -z "$ac_cpp_err"; then
23139 ac_header_preproc=yes
23140 else
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23143
23144 ac_header_preproc=no
23145 fi
23146 rm -f conftest.err conftest.$ac_ext
23147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23148 echo "${ECHO_T}$ac_header_preproc" >&6
23149
23150 # So? What about this header?
23151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23152 yes:no: )
23153 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23154 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23156 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23157 ac_header_preproc=yes
23158 ;;
23159 no:yes:* )
23160 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23161 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23162 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23163 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23164 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23165 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23166 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23167 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23168 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23169 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23170 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23171 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23172 (
23173 cat <<\_ASBOX
23174 ## ----------------------------------------- ##
23175 ## Report this to wx-dev@lists.wxwidgets.org ##
23176 ## ----------------------------------------- ##
23177 _ASBOX
23178 ) |
23179 sed "s/^/$as_me: WARNING: /" >&2
23180 ;;
23181 esac
23182 echo "$as_me:$LINENO: checking for png.h" >&5
23183 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23184 if test "${ac_cv_header_png_h+set}" = set; then
23185 echo $ECHO_N "(cached) $ECHO_C" >&6
23186 else
23187 ac_cv_header_png_h=$ac_header_preproc
23188 fi
23189 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23190 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23191
23192 fi
23193
23194
23195
23196 if test "$ac_cv_header_png_h" = "yes"; then
23197 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23198 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23199 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 else
23202 ac_check_lib_save_LIBS=$LIBS
23203 LIBS="-lpng -lz -lm $LIBS"
23204 cat >conftest.$ac_ext <<_ACEOF
23205 /* confdefs.h. */
23206 _ACEOF
23207 cat confdefs.h >>conftest.$ac_ext
23208 cat >>conftest.$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23210
23211 /* Override any gcc2 internal prototype to avoid an error. */
23212 #ifdef __cplusplus
23213 extern "C"
23214 #endif
23215 /* We use char because int might match the return type of a gcc2
23216 builtin and then its argument prototype would still apply. */
23217 char png_check_sig ();
23218 int
23219 main ()
23220 {
23221 png_check_sig ();
23222 ;
23223 return 0;
23224 }
23225 _ACEOF
23226 rm -f conftest.$ac_objext conftest$ac_exeext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23228 (eval $ac_link) 2>conftest.er1
23229 ac_status=$?
23230 grep -v '^ *+' conftest.er1 >conftest.err
23231 rm -f conftest.er1
23232 cat conftest.err >&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23238 ac_status=$?
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; } &&
23241 { ac_try='test -s conftest$ac_exeext'
23242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23243 (eval $ac_try) 2>&5
23244 ac_status=$?
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); }; }; then
23247 ac_cv_lib_png_png_check_sig=yes
23248 else
23249 echo "$as_me: failed program was:" >&5
23250 sed 's/^/| /' conftest.$ac_ext >&5
23251
23252 ac_cv_lib_png_png_check_sig=no
23253 fi
23254 rm -f conftest.err conftest.$ac_objext \
23255 conftest$ac_exeext conftest.$ac_ext
23256 LIBS=$ac_check_lib_save_LIBS
23257 fi
23258 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23259 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23260 if test $ac_cv_lib_png_png_check_sig = yes; then
23261 PNG_LINK=" -lpng -lz"
23262 fi
23263
23264 fi
23265
23266 if test "x$PNG_LINK" = "x" ; then
23267 if test "$wxUSE_LIBPNG" = "sys" ; then
23268 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23269 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23270 { (exit 1); exit 1; }; }
23271 else
23272 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23273 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23274 wxUSE_LIBPNG=builtin
23275 fi
23276 else
23277 wxUSE_LIBPNG=sys
23278 fi
23279 fi
23280 fi
23281
23282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23283 fi
23284
23285
23286 JPEG_LINK=
23287 if test "$wxUSE_LIBJPEG" != "no" ; then
23288 cat >>confdefs.h <<\_ACEOF
23289 #define wxUSE_LIBJPEG 1
23290 _ACEOF
23291
23292
23293 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23294 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23295 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23296 wxUSE_LIBJPEG=sys
23297 fi
23298
23299 if test "$wxUSE_MGL" != 1 ; then
23300 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23301 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23302 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23303 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23304 echo $ECHO_N "(cached) $ECHO_C" >&6
23305 else
23306 cat >conftest.$ac_ext <<_ACEOF
23307 /* confdefs.h. */
23308 _ACEOF
23309 cat confdefs.h >>conftest.$ac_ext
23310 cat >>conftest.$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312
23313 #undef HAVE_STDLIB_H
23314 #include <stdio.h>
23315 #include <jpeglib.h>
23316
23317 int
23318 main ()
23319 {
23320
23321
23322 ;
23323 return 0;
23324 }
23325 _ACEOF
23326 rm -f conftest.$ac_objext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23328 (eval $ac_compile) 2>conftest.er1
23329 ac_status=$?
23330 grep -v '^ *+' conftest.er1 >conftest.err
23331 rm -f conftest.er1
23332 cat conftest.err >&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } &&
23335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; } &&
23341 { ac_try='test -s conftest.$ac_objext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 ac_cv_header_jpeglib_h=yes
23348 else
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23351
23352 ac_cv_header_jpeglib_h=no
23353
23354 fi
23355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23356
23357 fi
23358
23359 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23360 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23361
23362 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23363 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23364 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23365 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23367 else
23368 ac_check_lib_save_LIBS=$LIBS
23369 LIBS="-ljpeg $LIBS"
23370 cat >conftest.$ac_ext <<_ACEOF
23371 /* confdefs.h. */
23372 _ACEOF
23373 cat confdefs.h >>conftest.$ac_ext
23374 cat >>conftest.$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23376
23377 /* Override any gcc2 internal prototype to avoid an error. */
23378 #ifdef __cplusplus
23379 extern "C"
23380 #endif
23381 /* We use char because int might match the return type of a gcc2
23382 builtin and then its argument prototype would still apply. */
23383 char jpeg_read_header ();
23384 int
23385 main ()
23386 {
23387 jpeg_read_header ();
23388 ;
23389 return 0;
23390 }
23391 _ACEOF
23392 rm -f conftest.$ac_objext conftest$ac_exeext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23394 (eval $ac_link) 2>conftest.er1
23395 ac_status=$?
23396 grep -v '^ *+' conftest.er1 >conftest.err
23397 rm -f conftest.er1
23398 cat conftest.err >&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); } &&
23401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23403 (eval $ac_try) 2>&5
23404 ac_status=$?
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); }; } &&
23407 { ac_try='test -s conftest$ac_exeext'
23408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23409 (eval $ac_try) 2>&5
23410 ac_status=$?
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); }; }; then
23413 ac_cv_lib_jpeg_jpeg_read_header=yes
23414 else
23415 echo "$as_me: failed program was:" >&5
23416 sed 's/^/| /' conftest.$ac_ext >&5
23417
23418 ac_cv_lib_jpeg_jpeg_read_header=no
23419 fi
23420 rm -f conftest.err conftest.$ac_objext \
23421 conftest$ac_exeext conftest.$ac_ext
23422 LIBS=$ac_check_lib_save_LIBS
23423 fi
23424 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23425 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23426 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23427 JPEG_LINK=" -ljpeg"
23428 fi
23429
23430 fi
23431
23432 if test "x$JPEG_LINK" = "x" ; then
23433 if test "$wxUSE_LIBJPEG" = "sys" ; then
23434 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23435 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23436 { (exit 1); exit 1; }; }
23437 else
23438 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23439 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23440 wxUSE_LIBJPEG=builtin
23441 fi
23442 else
23443 wxUSE_LIBJPEG=sys
23444 fi
23445 fi
23446 fi
23447 fi
23448
23449
23450 TIFF_LINK=
23451 TIFF_PREREQ_LINKS=-lm
23452 if test "$wxUSE_LIBTIFF" != "no" ; then
23453 cat >>confdefs.h <<\_ACEOF
23454 #define wxUSE_LIBTIFF 1
23455 _ACEOF
23456
23457
23458 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23459 if test "$wxUSE_LIBJPEG" = "sys"; then
23460 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23461 fi
23462 if test "$wxUSE_ZLIB" = "sys"; then
23463 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23464 fi
23465 if test "${ac_cv_header_tiffio_h+set}" = set; then
23466 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23467 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23468 if test "${ac_cv_header_tiffio_h+set}" = set; then
23469 echo $ECHO_N "(cached) $ECHO_C" >&6
23470 fi
23471 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23472 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23473 else
23474 # Is the header compilable?
23475 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23476 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23477 cat >conftest.$ac_ext <<_ACEOF
23478 /* confdefs.h. */
23479 _ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 #include <tiffio.h>
23485 _ACEOF
23486 rm -f conftest.$ac_objext
23487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23488 (eval $ac_compile) 2>conftest.er1
23489 ac_status=$?
23490 grep -v '^ *+' conftest.er1 >conftest.err
23491 rm -f conftest.er1
23492 cat conftest.err >&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); } &&
23495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; } &&
23501 { ac_try='test -s conftest.$ac_objext'
23502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503 (eval $ac_try) 2>&5
23504 ac_status=$?
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); }; }; then
23507 ac_header_compiler=yes
23508 else
23509 echo "$as_me: failed program was:" >&5
23510 sed 's/^/| /' conftest.$ac_ext >&5
23511
23512 ac_header_compiler=no
23513 fi
23514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23516 echo "${ECHO_T}$ac_header_compiler" >&6
23517
23518 # Is the header present?
23519 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23520 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23521 cat >conftest.$ac_ext <<_ACEOF
23522 /* confdefs.h. */
23523 _ACEOF
23524 cat confdefs.h >>conftest.$ac_ext
23525 cat >>conftest.$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527 #include <tiffio.h>
23528 _ACEOF
23529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23531 ac_status=$?
23532 grep -v '^ *+' conftest.er1 >conftest.err
23533 rm -f conftest.er1
23534 cat conftest.err >&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } >/dev/null; then
23537 if test -s conftest.err; then
23538 ac_cpp_err=$ac_c_preproc_warn_flag
23539 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23540 else
23541 ac_cpp_err=
23542 fi
23543 else
23544 ac_cpp_err=yes
23545 fi
23546 if test -z "$ac_cpp_err"; then
23547 ac_header_preproc=yes
23548 else
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.$ac_ext >&5
23551
23552 ac_header_preproc=no
23553 fi
23554 rm -f conftest.err conftest.$ac_ext
23555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23556 echo "${ECHO_T}$ac_header_preproc" >&6
23557
23558 # So? What about this header?
23559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23560 yes:no: )
23561 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23562 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23564 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23565 ac_header_preproc=yes
23566 ;;
23567 no:yes:* )
23568 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23569 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23570 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23571 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23572 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23573 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23574 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23575 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23576 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23577 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23578 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23579 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23580 (
23581 cat <<\_ASBOX
23582 ## ----------------------------------------- ##
23583 ## Report this to wx-dev@lists.wxwidgets.org ##
23584 ## ----------------------------------------- ##
23585 _ASBOX
23586 ) |
23587 sed "s/^/$as_me: WARNING: /" >&2
23588 ;;
23589 esac
23590 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23591 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23592 if test "${ac_cv_header_tiffio_h+set}" = set; then
23593 echo $ECHO_N "(cached) $ECHO_C" >&6
23594 else
23595 ac_cv_header_tiffio_h=$ac_header_preproc
23596 fi
23597 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23598 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23599
23600 fi
23601 if test $ac_cv_header_tiffio_h = yes; then
23602
23603 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23604 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23605 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608 ac_check_lib_save_LIBS=$LIBS
23609 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23610 cat >conftest.$ac_ext <<_ACEOF
23611 /* confdefs.h. */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23616
23617 /* Override any gcc2 internal prototype to avoid an error. */
23618 #ifdef __cplusplus
23619 extern "C"
23620 #endif
23621 /* We use char because int might match the return type of a gcc2
23622 builtin and then its argument prototype would still apply. */
23623 char TIFFError ();
23624 int
23625 main ()
23626 {
23627 TIFFError ();
23628 ;
23629 return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext conftest$ac_exeext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23634 (eval $ac_link) 2>conftest.er1
23635 ac_status=$?
23636 grep -v '^ *+' conftest.er1 >conftest.err
23637 rm -f conftest.er1
23638 cat conftest.err >&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try='test -s conftest$ac_exeext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23650 ac_status=$?
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 ac_cv_lib_tiff_TIFFError=yes
23654 else
23655 echo "$as_me: failed program was:" >&5
23656 sed 's/^/| /' conftest.$ac_ext >&5
23657
23658 ac_cv_lib_tiff_TIFFError=no
23659 fi
23660 rm -f conftest.err conftest.$ac_objext \
23661 conftest$ac_exeext conftest.$ac_ext
23662 LIBS=$ac_check_lib_save_LIBS
23663 fi
23664 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23665 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23666 if test $ac_cv_lib_tiff_TIFFError = yes; then
23667 TIFF_LINK=" -ltiff"
23668 fi
23669
23670
23671
23672 fi
23673
23674
23675
23676 if test "x$TIFF_LINK" = "x" ; then
23677 if test "$wxUSE_LIBTIFF" = "sys" ; then
23678 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23679 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23680 { (exit 1); exit 1; }; }
23681 else
23682 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23683 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23684 wxUSE_LIBTIFF=builtin
23685 fi
23686 else
23687 wxUSE_LIBTIFF=sys
23688 fi
23689 fi
23690 fi
23691
23692
23693 if test "$wxUSE_WCHAR_T" != "yes"; then
23694 if test "$wxUSE_EXPAT" != "no"; then
23695 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23696 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23697 wxUSE_EXPAT=no
23698 fi
23699 if test "$wxUSE_XML" != "no"; then
23700 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23701 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23702 wxUSE_XML=no
23703 fi
23704 fi
23705
23706 if test "$wxUSE_EXPAT" != "no"; then
23707 wxUSE_XML=yes
23708 cat >>confdefs.h <<\_ACEOF
23709 #define wxUSE_EXPAT 1
23710 _ACEOF
23711
23712 cat >>confdefs.h <<\_ACEOF
23713 #define wxUSE_XML 1
23714 _ACEOF
23715
23716
23717 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23718 if test "${ac_cv_header_expat_h+set}" = set; then
23719 echo "$as_me:$LINENO: checking for expat.h" >&5
23720 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23721 if test "${ac_cv_header_expat_h+set}" = set; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6
23723 fi
23724 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23725 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23726 else
23727 # Is the header compilable?
23728 echo "$as_me:$LINENO: checking expat.h usability" >&5
23729 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23730 cat >conftest.$ac_ext <<_ACEOF
23731 /* confdefs.h. */
23732 _ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 $ac_includes_default
23737 #include <expat.h>
23738 _ACEOF
23739 rm -f conftest.$ac_objext
23740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23741 (eval $ac_compile) 2>conftest.er1
23742 ac_status=$?
23743 grep -v '^ *+' conftest.er1 >conftest.err
23744 rm -f conftest.er1
23745 cat conftest.err >&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); } &&
23748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750 (eval $ac_try) 2>&5
23751 ac_status=$?
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); }; } &&
23754 { ac_try='test -s conftest.$ac_objext'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; }; then
23760 ac_header_compiler=yes
23761 else
23762 echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.$ac_ext >&5
23764
23765 ac_header_compiler=no
23766 fi
23767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23769 echo "${ECHO_T}$ac_header_compiler" >&6
23770
23771 # Is the header present?
23772 echo "$as_me:$LINENO: checking expat.h presence" >&5
23773 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23774 cat >conftest.$ac_ext <<_ACEOF
23775 /* confdefs.h. */
23776 _ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23780 #include <expat.h>
23781 _ACEOF
23782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23784 ac_status=$?
23785 grep -v '^ *+' conftest.er1 >conftest.err
23786 rm -f conftest.er1
23787 cat conftest.err >&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } >/dev/null; then
23790 if test -s conftest.err; then
23791 ac_cpp_err=$ac_c_preproc_warn_flag
23792 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23793 else
23794 ac_cpp_err=
23795 fi
23796 else
23797 ac_cpp_err=yes
23798 fi
23799 if test -z "$ac_cpp_err"; then
23800 ac_header_preproc=yes
23801 else
23802 echo "$as_me: failed program was:" >&5
23803 sed 's/^/| /' conftest.$ac_ext >&5
23804
23805 ac_header_preproc=no
23806 fi
23807 rm -f conftest.err conftest.$ac_ext
23808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23809 echo "${ECHO_T}$ac_header_preproc" >&6
23810
23811 # So? What about this header?
23812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23813 yes:no: )
23814 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23815 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23816 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23817 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23818 ac_header_preproc=yes
23819 ;;
23820 no:yes:* )
23821 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23822 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23823 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23824 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23825 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23826 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23827 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23828 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23829 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23830 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23832 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23833 (
23834 cat <<\_ASBOX
23835 ## ----------------------------------------- ##
23836 ## Report this to wx-dev@lists.wxwidgets.org ##
23837 ## ----------------------------------------- ##
23838 _ASBOX
23839 ) |
23840 sed "s/^/$as_me: WARNING: /" >&2
23841 ;;
23842 esac
23843 echo "$as_me:$LINENO: checking for expat.h" >&5
23844 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23845 if test "${ac_cv_header_expat_h+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 else
23848 ac_cv_header_expat_h=$ac_header_preproc
23849 fi
23850 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23851 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23852
23853 fi
23854 if test $ac_cv_header_expat_h = yes; then
23855 found_expat_h=1
23856 fi
23857
23858
23859 if test "x$found_expat_h" = "x1"; then
23860 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23861 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23862 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 else
23865
23866
23867
23868 ac_ext=cc
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873
23874 cat >conftest.$ac_ext <<_ACEOF
23875 /* confdefs.h. */
23876 _ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880 #include <expat.h>
23881 int
23882 main ()
23883 {
23884
23885 ;
23886 return 0;
23887 }
23888 _ACEOF
23889 rm -f conftest.$ac_objext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23891 (eval $ac_compile) 2>conftest.er1
23892 ac_status=$?
23893 grep -v '^ *+' conftest.er1 >conftest.err
23894 rm -f conftest.er1
23895 cat conftest.err >&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23901 ac_status=$?
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; } &&
23904 { ac_try='test -s conftest.$ac_objext'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; }; then
23910 wx_cv_expat_is_not_broken=yes
23911 else
23912 echo "$as_me: failed program was:" >&5
23913 sed 's/^/| /' conftest.$ac_ext >&5
23914
23915 wx_cv_expat_is_not_broken=no
23916
23917 fi
23918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23919 ac_ext=c
23920 ac_cpp='$CPP $CPPFLAGS'
23921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23924
23925
23926
23927 fi
23928 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23929 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23930 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23931 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23932 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23933 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23934 echo $ECHO_N "(cached) $ECHO_C" >&6
23935 else
23936 ac_check_lib_save_LIBS=$LIBS
23937 LIBS="-lexpat $LIBS"
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944
23945 /* Override any gcc2 internal prototype to avoid an error. */
23946 #ifdef __cplusplus
23947 extern "C"
23948 #endif
23949 /* We use char because int might match the return type of a gcc2
23950 builtin and then its argument prototype would still apply. */
23951 char XML_ParserCreate ();
23952 int
23953 main ()
23954 {
23955 XML_ParserCreate ();
23956 ;
23957 return 0;
23958 }
23959 _ACEOF
23960 rm -f conftest.$ac_objext conftest$ac_exeext
23961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23962 (eval $ac_link) 2>conftest.er1
23963 ac_status=$?
23964 grep -v '^ *+' conftest.er1 >conftest.err
23965 rm -f conftest.er1
23966 cat conftest.err >&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); } &&
23969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23972 ac_status=$?
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; } &&
23975 { ac_try='test -s conftest$ac_exeext'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23978 ac_status=$?
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; }; then
23981 ac_cv_lib_expat_XML_ParserCreate=yes
23982 else
23983 echo "$as_me: failed program was:" >&5
23984 sed 's/^/| /' conftest.$ac_ext >&5
23985
23986 ac_cv_lib_expat_XML_ParserCreate=no
23987 fi
23988 rm -f conftest.err conftest.$ac_objext \
23989 conftest$ac_exeext conftest.$ac_ext
23990 LIBS=$ac_check_lib_save_LIBS
23991 fi
23992 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23993 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23994 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23995 EXPAT_LINK=" -lexpat"
23996 fi
23997
23998 fi
23999 fi
24000 if test "x$EXPAT_LINK" = "x" ; then
24001 if test "$wxUSE_EXPAT" = "sys" ; then
24002 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24003 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24004 { (exit 1); exit 1; }; }
24005 else
24006 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24007 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24008 wxUSE_EXPAT=builtin
24009 fi
24010 else
24011 wxUSE_EXPAT=sys
24012 fi
24013 fi
24014 if test "$wxUSE_EXPAT" = "builtin" ; then
24015
24016
24017 subdirs="$subdirs src/expat"
24018
24019 fi
24020 fi
24021
24022
24023
24024 if test "$wxUSE_LIBMSPACK" != "no"; then
24025 if test "${ac_cv_header_mspack_h+set}" = set; then
24026 echo "$as_me:$LINENO: checking for mspack.h" >&5
24027 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24028 if test "${ac_cv_header_mspack_h+set}" = set; then
24029 echo $ECHO_N "(cached) $ECHO_C" >&6
24030 fi
24031 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24032 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24033 else
24034 # Is the header compilable?
24035 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24036 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24037 cat >conftest.$ac_ext <<_ACEOF
24038 /* confdefs.h. */
24039 _ACEOF
24040 cat confdefs.h >>conftest.$ac_ext
24041 cat >>conftest.$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24043 $ac_includes_default
24044 #include <mspack.h>
24045 _ACEOF
24046 rm -f conftest.$ac_objext
24047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24048 (eval $ac_compile) 2>conftest.er1
24049 ac_status=$?
24050 grep -v '^ *+' conftest.er1 >conftest.err
24051 rm -f conftest.er1
24052 cat conftest.err >&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } &&
24055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24058 ac_status=$?
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; } &&
24061 { ac_try='test -s conftest.$ac_objext'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24064 ac_status=$?
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; }; then
24067 ac_header_compiler=yes
24068 else
24069 echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.$ac_ext >&5
24071
24072 ac_header_compiler=no
24073 fi
24074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24076 echo "${ECHO_T}$ac_header_compiler" >&6
24077
24078 # Is the header present?
24079 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24080 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24081 cat >conftest.$ac_ext <<_ACEOF
24082 /* confdefs.h. */
24083 _ACEOF
24084 cat confdefs.h >>conftest.$ac_ext
24085 cat >>conftest.$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24087 #include <mspack.h>
24088 _ACEOF
24089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24091 ac_status=$?
24092 grep -v '^ *+' conftest.er1 >conftest.err
24093 rm -f conftest.er1
24094 cat conftest.err >&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); } >/dev/null; then
24097 if test -s conftest.err; then
24098 ac_cpp_err=$ac_c_preproc_warn_flag
24099 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24100 else
24101 ac_cpp_err=
24102 fi
24103 else
24104 ac_cpp_err=yes
24105 fi
24106 if test -z "$ac_cpp_err"; then
24107 ac_header_preproc=yes
24108 else
24109 echo "$as_me: failed program was:" >&5
24110 sed 's/^/| /' conftest.$ac_ext >&5
24111
24112 ac_header_preproc=no
24113 fi
24114 rm -f conftest.err conftest.$ac_ext
24115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24116 echo "${ECHO_T}$ac_header_preproc" >&6
24117
24118 # So? What about this header?
24119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24120 yes:no: )
24121 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24122 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24123 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24124 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24125 ac_header_preproc=yes
24126 ;;
24127 no:yes:* )
24128 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24129 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24130 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24131 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24132 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24133 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24135 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24136 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24137 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24138 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24139 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24140 (
24141 cat <<\_ASBOX
24142 ## ----------------------------------------- ##
24143 ## Report this to wx-dev@lists.wxwidgets.org ##
24144 ## ----------------------------------------- ##
24145 _ASBOX
24146 ) |
24147 sed "s/^/$as_me: WARNING: /" >&2
24148 ;;
24149 esac
24150 echo "$as_me:$LINENO: checking for mspack.h" >&5
24151 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24152 if test "${ac_cv_header_mspack_h+set}" = set; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 else
24155 ac_cv_header_mspack_h=$ac_header_preproc
24156 fi
24157 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24158 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24159
24160 fi
24161 if test $ac_cv_header_mspack_h = yes; then
24162 found_mspack_h=1
24163 fi
24164
24165
24166 if test "x$found_mspack_h" = "x1"; then
24167 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24168 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24169 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24170 echo $ECHO_N "(cached) $ECHO_C" >&6
24171 else
24172 ac_check_lib_save_LIBS=$LIBS
24173 LIBS="-lmspack $LIBS"
24174 cat >conftest.$ac_ext <<_ACEOF
24175 /* confdefs.h. */
24176 _ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24180
24181 /* Override any gcc2 internal prototype to avoid an error. */
24182 #ifdef __cplusplus
24183 extern "C"
24184 #endif
24185 /* We use char because int might match the return type of a gcc2
24186 builtin and then its argument prototype would still apply. */
24187 char mspack_create_chm_decompressor ();
24188 int
24189 main ()
24190 {
24191 mspack_create_chm_decompressor ();
24192 ;
24193 return 0;
24194 }
24195 _ACEOF
24196 rm -f conftest.$ac_objext conftest$ac_exeext
24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24198 (eval $ac_link) 2>conftest.er1
24199 ac_status=$?
24200 grep -v '^ *+' conftest.er1 >conftest.err
24201 rm -f conftest.er1
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24208 ac_status=$?
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; } &&
24211 { ac_try='test -s conftest$ac_exeext'
24212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213 (eval $ac_try) 2>&5
24214 ac_status=$?
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); }; }; then
24217 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24218 else
24219 echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24221
24222 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24223 fi
24224 rm -f conftest.err conftest.$ac_objext \
24225 conftest$ac_exeext conftest.$ac_ext
24226 LIBS=$ac_check_lib_save_LIBS
24227 fi
24228 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24229 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24230 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24231 MSPACK_LINK=" -lmspack"
24232 fi
24233
24234 fi
24235 if test "x$MSPACK_LINK" = "x" ; then
24236 wxUSE_LIBMSPACK=no
24237 fi
24238 fi
24239
24240 if test "$wxUSE_LIBMSPACK" != "no"; then
24241 cat >>confdefs.h <<\_ACEOF
24242 #define wxUSE_LIBMSPACK 1
24243 _ACEOF
24244
24245 fi
24246
24247
24248
24249 AFMINSTALL=
24250 WIN32INSTALL=
24251
24252 TOOLKIT=
24253 TOOLKIT_INCLUDE=
24254 WIDGET_SET=
24255
24256 if test "$USE_WIN32" = 1 ; then
24257
24258 for ac_header in w32api.h
24259 do
24260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24262 echo "$as_me:$LINENO: checking for $ac_header" >&5
24263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24265 echo $ECHO_N "(cached) $ECHO_C" >&6
24266 fi
24267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24269 else
24270 # Is the header compilable?
24271 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24273 cat >conftest.$ac_ext <<_ACEOF
24274 /* confdefs.h. */
24275 _ACEOF
24276 cat confdefs.h >>conftest.$ac_ext
24277 cat >>conftest.$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24279 $ac_includes_default
24280 #include <$ac_header>
24281 _ACEOF
24282 rm -f conftest.$ac_objext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24284 (eval $ac_compile) 2>conftest.er1
24285 ac_status=$?
24286 grep -v '^ *+' conftest.er1 >conftest.err
24287 rm -f conftest.er1
24288 cat conftest.err >&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } &&
24291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24294 ac_status=$?
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; } &&
24297 { ac_try='test -s conftest.$ac_objext'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24300 ac_status=$?
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; }; then
24303 ac_header_compiler=yes
24304 else
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.$ac_ext >&5
24307
24308 ac_header_compiler=no
24309 fi
24310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24312 echo "${ECHO_T}$ac_header_compiler" >&6
24313
24314 # Is the header present?
24315 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h. */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 #include <$ac_header>
24324 _ACEOF
24325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24327 ac_status=$?
24328 grep -v '^ *+' conftest.er1 >conftest.err
24329 rm -f conftest.er1
24330 cat conftest.err >&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } >/dev/null; then
24333 if test -s conftest.err; then
24334 ac_cpp_err=$ac_c_preproc_warn_flag
24335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24336 else
24337 ac_cpp_err=
24338 fi
24339 else
24340 ac_cpp_err=yes
24341 fi
24342 if test -z "$ac_cpp_err"; then
24343 ac_header_preproc=yes
24344 else
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.$ac_ext >&5
24347
24348 ac_header_preproc=no
24349 fi
24350 rm -f conftest.err conftest.$ac_ext
24351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24352 echo "${ECHO_T}$ac_header_preproc" >&6
24353
24354 # So? What about this header?
24355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24356 yes:no: )
24357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24361 ac_header_preproc=yes
24362 ;;
24363 no:yes:* )
24364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24376 (
24377 cat <<\_ASBOX
24378 ## ----------------------------------------- ##
24379 ## Report this to wx-dev@lists.wxwidgets.org ##
24380 ## ----------------------------------------- ##
24381 _ASBOX
24382 ) |
24383 sed "s/^/$as_me: WARNING: /" >&2
24384 ;;
24385 esac
24386 echo "$as_me:$LINENO: checking for $ac_header" >&5
24387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 else
24391 eval "$as_ac_Header=\$ac_header_preproc"
24392 fi
24393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24395
24396 fi
24397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24398 cat >>confdefs.h <<_ACEOF
24399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24400 _ACEOF
24401
24402 fi
24403
24404 done
24405
24406 if test "${ac_cv_header_windows_h+set}" = set; then
24407 echo "$as_me:$LINENO: checking for windows.h" >&5
24408 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24409 if test "${ac_cv_header_windows_h+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 fi
24412 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24413 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24414 else
24415 # Is the header compilable?
24416 echo "$as_me:$LINENO: checking windows.h usability" >&5
24417 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24418 cat >conftest.$ac_ext <<_ACEOF
24419 /* confdefs.h. */
24420 _ACEOF
24421 cat confdefs.h >>conftest.$ac_ext
24422 cat >>conftest.$ac_ext <<_ACEOF
24423 /* end confdefs.h. */
24424 $ac_includes_default
24425 #include <windows.h>
24426 _ACEOF
24427 rm -f conftest.$ac_objext
24428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24429 (eval $ac_compile) 2>conftest.er1
24430 ac_status=$?
24431 grep -v '^ *+' conftest.er1 >conftest.err
24432 rm -f conftest.er1
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } &&
24436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24439 ac_status=$?
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; } &&
24442 { ac_try='test -s conftest.$ac_objext'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24445 ac_status=$?
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; }; then
24448 ac_header_compiler=yes
24449 else
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 ac_header_compiler=no
24454 fi
24455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24457 echo "${ECHO_T}$ac_header_compiler" >&6
24458
24459 # Is the header present?
24460 echo "$as_me:$LINENO: checking windows.h presence" >&5
24461 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24462 cat >conftest.$ac_ext <<_ACEOF
24463 /* confdefs.h. */
24464 _ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 #include <windows.h>
24469 _ACEOF
24470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24472 ac_status=$?
24473 grep -v '^ *+' conftest.er1 >conftest.err
24474 rm -f conftest.er1
24475 cat conftest.err >&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); } >/dev/null; then
24478 if test -s conftest.err; then
24479 ac_cpp_err=$ac_c_preproc_warn_flag
24480 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24481 else
24482 ac_cpp_err=
24483 fi
24484 else
24485 ac_cpp_err=yes
24486 fi
24487 if test -z "$ac_cpp_err"; then
24488 ac_header_preproc=yes
24489 else
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.$ac_ext >&5
24492
24493 ac_header_preproc=no
24494 fi
24495 rm -f conftest.err conftest.$ac_ext
24496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24497 echo "${ECHO_T}$ac_header_preproc" >&6
24498
24499 # So? What about this header?
24500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24501 yes:no: )
24502 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24503 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24504 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24505 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24506 ac_header_preproc=yes
24507 ;;
24508 no:yes:* )
24509 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24510 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24511 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24512 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24513 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24514 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24515 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24516 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24517 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24518 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24519 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24520 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24521 (
24522 cat <<\_ASBOX
24523 ## ----------------------------------------- ##
24524 ## Report this to wx-dev@lists.wxwidgets.org ##
24525 ## ----------------------------------------- ##
24526 _ASBOX
24527 ) |
24528 sed "s/^/$as_me: WARNING: /" >&2
24529 ;;
24530 esac
24531 echo "$as_me:$LINENO: checking for windows.h" >&5
24532 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24533 if test "${ac_cv_header_windows_h+set}" = set; then
24534 echo $ECHO_N "(cached) $ECHO_C" >&6
24535 else
24536 ac_cv_header_windows_h=$ac_header_preproc
24537 fi
24538 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24539 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24540
24541 fi
24542 if test $ac_cv_header_windows_h = yes; then
24543 :
24544 else
24545
24546 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24547 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24548 { (exit 1); exit 1; }; }
24549
24550 fi
24551
24552
24553
24554 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24555
24556 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24557 LIBS="$LIBS -loleacc"
24558 fi
24559
24560 case "${host}" in
24561 *-*-cygwin* )
24562 LIBS="$LIBS -lkernel32 -luser32"
24563 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24564 esac
24565
24566 if test "$wxUSE_ODBC" = "sys" ; then
24567 wxUSE_ODBC = "yes"
24568 fi
24569 if test "$wxUSE_ODBC" = "yes" ; then
24570 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24571 cat >>confdefs.h <<\_ACEOF
24572 #define wxUSE_ODBC 1
24573 _ACEOF
24574
24575 fi
24576
24577 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24578 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24579
24580 WIN32INSTALL=win32install
24581 fi
24582
24583 if test "$wxUSE_GUI" = "yes"; then
24584 USE_GUI=1
24585
24586 GUI_TK_LIBRARY=
24587
24588 WXGTK12=
24589 WXGTK127=
24590 WXGTK20=
24591 WXGPE=
24592
24593 if test "$wxUSE_COCOA" = 1 ; then
24594 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24595 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24596 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24597 wxUSE_PRINTING_ARCHITECTURE=no
24598 fi
24599 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24600 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24601 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24602 wxUSE_DRAG_AND_DROP=no
24603 fi
24604 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24605 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24606 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24607 wxUSE_DRAGIMAGE=no
24608 fi
24609 fi
24610
24611 if test "$wxUSE_MSW" = 1 ; then
24612 TOOLKIT=MSW
24613 GUIDIST=MSW_DIST
24614
24615 case "${host}" in
24616 *-*-mingw32* )
24617 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24618 esac
24619 fi
24620
24621 if test "$wxUSE_GTK" = 1; then
24622 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24623 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24624
24625 gtk_version_cached=1
24626 if test "${wx_cv_lib_gtk+set}" = set; then
24627 echo $ECHO_N "(cached) $ECHO_C" >&6
24628 else
24629
24630 gtk_version_cached=0
24631 echo "$as_me:$LINENO: result: " >&5
24632 echo "${ECHO_T}" >&6
24633
24634 GTK_MODULES=
24635 if test "$wxUSE_THREADS" = "yes"; then
24636 GTK_MODULES=gthread
24637 fi
24638
24639 wx_cv_lib_gtk=
24640 if test "x$wxGTK_VERSION" != "x1"; then
24641 # Check whether --enable-gtktest or --disable-gtktest was given.
24642 if test "${enable_gtktest+set}" = set; then
24643 enableval="$enable_gtktest"
24644
24645 else
24646 enable_gtktest=yes
24647 fi;
24648
24649 pkg_config_args=gtk+-2.0
24650 for module in . $GTK_MODULES
24651 do
24652 case "$module" in
24653 gthread)
24654 pkg_config_args="$pkg_config_args gthread-2.0"
24655 ;;
24656 esac
24657 done
24658
24659 no_gtk=""
24660
24661 # Extract the first word of "pkg-config", so it can be a program name with args.
24662 set dummy pkg-config; ac_word=$2
24663 echo "$as_me:$LINENO: checking for $ac_word" >&5
24664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24665 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24667 else
24668 case $PKG_CONFIG in
24669 [\\/]* | ?:[\\/]*)
24670 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24671 ;;
24672 *)
24673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24674 for as_dir in $PATH
24675 do
24676 IFS=$as_save_IFS
24677 test -z "$as_dir" && as_dir=.
24678 for ac_exec_ext in '' $ac_executable_extensions; do
24679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24680 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24682 break 2
24683 fi
24684 done
24685 done
24686
24687 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24688 ;;
24689 esac
24690 fi
24691 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24692
24693 if test -n "$PKG_CONFIG"; then
24694 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24695 echo "${ECHO_T}$PKG_CONFIG" >&6
24696 else
24697 echo "$as_me:$LINENO: result: no" >&5
24698 echo "${ECHO_T}no" >&6
24699 fi
24700
24701
24702 if test x$PKG_CONFIG != xno ; then
24703 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24704 :
24705 else
24706 echo "*** pkg-config too old; version 0.7 or better required."
24707 no_gtk=yes
24708 PKG_CONFIG=no
24709 fi
24710 else
24711 no_gtk=yes
24712 fi
24713
24714 min_gtk_version=2.0.0
24715 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24716 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24717
24718 if test x$PKG_CONFIG != xno ; then
24719 ## don't try to run the test against uninstalled libtool libs
24720 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24721 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24722 enable_gtktest=no
24723 fi
24724
24725 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24726 :
24727 else
24728 no_gtk=yes
24729 fi
24730 fi
24731
24732 if test x"$no_gtk" = x ; then
24733 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24734 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24735 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24737 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24739 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24741 if test "x$enable_gtktest" = "xyes" ; then
24742 ac_save_CFLAGS="$CFLAGS"
24743 ac_save_LIBS="$LIBS"
24744 CFLAGS="$CFLAGS $GTK_CFLAGS"
24745 LIBS="$GTK_LIBS $LIBS"
24746 rm -f conf.gtktest
24747 if test "$cross_compiling" = yes; then
24748 echo $ac_n "cross compiling; assumed OK... $ac_c"
24749 else
24750 cat >conftest.$ac_ext <<_ACEOF
24751 /* confdefs.h. */
24752 _ACEOF
24753 cat confdefs.h >>conftest.$ac_ext
24754 cat >>conftest.$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24756
24757 #include <gtk/gtk.h>
24758 #include <stdio.h>
24759 #include <stdlib.h>
24760
24761 int
24762 main ()
24763 {
24764 int major, minor, micro;
24765 char *tmp_version;
24766
24767 system ("touch conf.gtktest");
24768
24769 /* HP/UX 9 (%@#!) writes to sscanf strings */
24770 tmp_version = g_strdup("$min_gtk_version");
24771 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24772 printf("%s, bad version string\n", "$min_gtk_version");
24773 exit(1);
24774 }
24775
24776 if ((gtk_major_version != $gtk_config_major_version) ||
24777 (gtk_minor_version != $gtk_config_minor_version) ||
24778 (gtk_micro_version != $gtk_config_micro_version))
24779 {
24780 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24781 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24782 gtk_major_version, gtk_minor_version, gtk_micro_version);
24783 printf ("*** was found! If pkg-config was correct, then it is best\n");
24784 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24785 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24786 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24787 printf("*** required on your system.\n");
24788 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24789 printf("*** to point to the correct configuration files\n");
24790 }
24791 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24792 (gtk_minor_version != GTK_MINOR_VERSION) ||
24793 (gtk_micro_version != GTK_MICRO_VERSION))
24794 {
24795 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24796 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24797 printf("*** library (version %d.%d.%d)\n",
24798 gtk_major_version, gtk_minor_version, gtk_micro_version);
24799 }
24800 else
24801 {
24802 if ((gtk_major_version > major) ||
24803 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24804 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24805 {
24806 return 0;
24807 }
24808 else
24809 {
24810 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24811 gtk_major_version, gtk_minor_version, gtk_micro_version);
24812 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24813 major, minor, micro);
24814 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24815 printf("***\n");
24816 printf("*** If you have already installed a sufficiently new version, this error\n");
24817 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24818 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24819 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24820 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24821 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24822 printf("*** so that the correct libraries are found at run-time))\n");
24823 }
24824 }
24825 return 1;
24826 }
24827
24828 _ACEOF
24829 rm -f conftest$ac_exeext
24830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24831 (eval $ac_link) 2>&5
24832 ac_status=$?
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24840 :
24841 else
24842 echo "$as_me: program exited with status $ac_status" >&5
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.$ac_ext >&5
24845
24846 ( exit $ac_status )
24847 no_gtk=yes
24848 fi
24849 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24850 fi
24851 CFLAGS="$ac_save_CFLAGS"
24852 LIBS="$ac_save_LIBS"
24853 fi
24854 fi
24855 if test "x$no_gtk" = x ; then
24856 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24857 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24858 wx_cv_lib_gtk=2.0
24859 else
24860 echo "$as_me:$LINENO: result: no" >&5
24861 echo "${ECHO_T}no" >&6
24862 if test "$PKG_CONFIG" = "no" ; then
24863 echo "*** A new enough version of pkg-config was not found."
24864 echo "*** See http://pkgconfig.sourceforge.net"
24865 else
24866 if test -f conf.gtktest ; then
24867 :
24868 else
24869 echo "*** Could not run GTK+ test program, checking why..."
24870 ac_save_CFLAGS="$CFLAGS"
24871 ac_save_LIBS="$LIBS"
24872 CFLAGS="$CFLAGS $GTK_CFLAGS"
24873 LIBS="$LIBS $GTK_LIBS"
24874 cat >conftest.$ac_ext <<_ACEOF
24875 /* confdefs.h. */
24876 _ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880
24881 #include <gtk/gtk.h>
24882 #include <stdio.h>
24883
24884 int
24885 main ()
24886 {
24887 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24888 ;
24889 return 0;
24890 }
24891 _ACEOF
24892 rm -f conftest.$ac_objext conftest$ac_exeext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24894 (eval $ac_link) 2>conftest.er1
24895 ac_status=$?
24896 grep -v '^ *+' conftest.er1 >conftest.err
24897 rm -f conftest.er1
24898 cat conftest.err >&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24904 ac_status=$?
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; } &&
24907 { ac_try='test -s conftest$ac_exeext'
24908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24909 (eval $ac_try) 2>&5
24910 ac_status=$?
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); }; }; then
24913 echo "*** The test program compiled, but did not run. This usually means"
24914 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24915 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24916 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24917 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24918 echo "*** is required on your system"
24919 echo "***"
24920 echo "*** If you have an old version installed, it is best to remove it, although"
24921 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24922 else
24923 echo "$as_me: failed program was:" >&5
24924 sed 's/^/| /' conftest.$ac_ext >&5
24925
24926 echo "*** The test program failed to compile or link. See the file config.log for the"
24927 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24928 fi
24929 rm -f conftest.err conftest.$ac_objext \
24930 conftest$ac_exeext conftest.$ac_ext
24931 CFLAGS="$ac_save_CFLAGS"
24932 LIBS="$ac_save_LIBS"
24933 fi
24934 fi
24935 GTK_CFLAGS=""
24936 GTK_LIBS=""
24937 :
24938 fi
24939
24940
24941 rm -f conf.gtktest
24942
24943 fi
24944
24945 if test -z "$wx_cv_lib_gtk"; then
24946 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24947
24948 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24949 if test "${with_gtk_prefix+set}" = set; then
24950 withval="$with_gtk_prefix"
24951 gtk_config_prefix="$withval"
24952 else
24953 gtk_config_prefix=""
24954 fi;
24955
24956 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24957 if test "${with_gtk_exec_prefix+set}" = set; then
24958 withval="$with_gtk_exec_prefix"
24959 gtk_config_exec_prefix="$withval"
24960 else
24961 gtk_config_exec_prefix=""
24962 fi;
24963 # Check whether --enable-gtktest or --disable-gtktest was given.
24964 if test "${enable_gtktest+set}" = set; then
24965 enableval="$enable_gtktest"
24966
24967 else
24968 enable_gtktest=yes
24969 fi;
24970
24971 for module in . $GTK_MODULES
24972 do
24973 case "$module" in
24974 gthread)
24975 gtk_config_args="$gtk_config_args gthread"
24976 ;;
24977 esac
24978 done
24979
24980 if test x$gtk_config_exec_prefix != x ; then
24981 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24982 if test x${GTK_CONFIG+set} != xset ; then
24983 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24984 fi
24985 fi
24986 if test x$gtk_config_prefix != x ; then
24987 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24988 if test x${GTK_CONFIG+set} != xset ; then
24989 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24990 fi
24991 fi
24992
24993 # Extract the first word of "gtk-config", so it can be a program name with args.
24994 set dummy gtk-config; ac_word=$2
24995 echo "$as_me:$LINENO: checking for $ac_word" >&5
24996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24997 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 else
25000 case $GTK_CONFIG in
25001 [\\/]* | ?:[\\/]*)
25002 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25003 ;;
25004 *)
25005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25006 for as_dir in $PATH
25007 do
25008 IFS=$as_save_IFS
25009 test -z "$as_dir" && as_dir=.
25010 for ac_exec_ext in '' $ac_executable_extensions; do
25011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25012 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25014 break 2
25015 fi
25016 done
25017 done
25018
25019 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25020 ;;
25021 esac
25022 fi
25023 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25024
25025 if test -n "$GTK_CONFIG"; then
25026 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25027 echo "${ECHO_T}$GTK_CONFIG" >&6
25028 else
25029 echo "$as_me:$LINENO: result: no" >&5
25030 echo "${ECHO_T}no" >&6
25031 fi
25032
25033 min_gtk_version=1.2.7
25034 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25035 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25036 no_gtk=""
25037 if test "$GTK_CONFIG" = "no" ; then
25038 no_gtk=yes
25039 else
25040 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25041 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25042 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25044 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25046 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25048 if test "x$enable_gtktest" = "xyes" ; then
25049 ac_save_CFLAGS="$CFLAGS"
25050 ac_save_LIBS="$LIBS"
25051 CFLAGS="$CFLAGS $GTK_CFLAGS"
25052 LIBS="$GTK_LIBS $LIBS"
25053 rm -f conf.gtktest
25054 if test "$cross_compiling" = yes; then
25055 echo $ac_n "cross compiling; assumed OK... $ac_c"
25056 else
25057 cat >conftest.$ac_ext <<_ACEOF
25058 /* confdefs.h. */
25059 _ACEOF
25060 cat confdefs.h >>conftest.$ac_ext
25061 cat >>conftest.$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25063
25064 #include <gtk/gtk.h>
25065 #include <stdio.h>
25066 #include <stdlib.h>
25067
25068 int
25069 main ()
25070 {
25071 int major, minor, micro;
25072 char *tmp_version;
25073
25074 system ("touch conf.gtktest");
25075
25076 /* HP/UX 9 (%@#!) writes to sscanf strings */
25077 tmp_version = g_strdup("$min_gtk_version");
25078 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25079 printf("%s, bad version string\n", "$min_gtk_version");
25080 exit(1);
25081 }
25082
25083 if ((gtk_major_version != $gtk_config_major_version) ||
25084 (gtk_minor_version != $gtk_config_minor_version) ||
25085 (gtk_micro_version != $gtk_config_micro_version))
25086 {
25087 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25089 gtk_major_version, gtk_minor_version, gtk_micro_version);
25090 printf ("*** was found! If gtk-config was correct, then it is best\n");
25091 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25093 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25094 printf("*** required on your system.\n");
25095 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25096 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25097 printf("*** before re-running configure\n");
25098 }
25099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25101 (gtk_minor_version != GTK_MINOR_VERSION) ||
25102 (gtk_micro_version != GTK_MICRO_VERSION))
25103 {
25104 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25106 printf("*** library (version %d.%d.%d)\n",
25107 gtk_major_version, gtk_minor_version, gtk_micro_version);
25108 }
25109 #endif /* defined (GTK_MAJOR_VERSION) ... */
25110 else
25111 {
25112 if ((gtk_major_version > major) ||
25113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25115 {
25116 return 0;
25117 }
25118 else
25119 {
25120 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25121 gtk_major_version, gtk_minor_version, gtk_micro_version);
25122 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25123 major, minor, micro);
25124 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25125 printf("***\n");
25126 printf("*** If you have already installed a sufficiently new version, this error\n");
25127 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25128 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25129 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25130 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25131 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25132 printf("*** so that the correct libraries are found at run-time))\n");
25133 }
25134 }
25135 return 1;
25136 }
25137
25138 _ACEOF
25139 rm -f conftest$ac_exeext
25140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25141 (eval $ac_link) 2>&5
25142 ac_status=$?
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25146 (eval $ac_try) 2>&5
25147 ac_status=$?
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); }; }; then
25150 :
25151 else
25152 echo "$as_me: program exited with status $ac_status" >&5
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.$ac_ext >&5
25155
25156 ( exit $ac_status )
25157 no_gtk=yes
25158 fi
25159 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25160 fi
25161 CFLAGS="$ac_save_CFLAGS"
25162 LIBS="$ac_save_LIBS"
25163 fi
25164 fi
25165 if test "x$no_gtk" = x ; then
25166 echo "$as_me:$LINENO: result: yes" >&5
25167 echo "${ECHO_T}yes" >&6
25168 wx_cv_lib_gtk=1.2.7
25169 else
25170 echo "$as_me:$LINENO: result: no" >&5
25171 echo "${ECHO_T}no" >&6
25172 if test "$GTK_CONFIG" = "no" ; then
25173 echo "*** The gtk-config script installed by GTK could not be found"
25174 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25175 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25176 echo "*** full path to gtk-config."
25177 else
25178 if test -f conf.gtktest ; then
25179 :
25180 else
25181 echo "*** Could not run GTK test program, checking why..."
25182 CFLAGS="$CFLAGS $GTK_CFLAGS"
25183 LIBS="$LIBS $GTK_LIBS"
25184 cat >conftest.$ac_ext <<_ACEOF
25185 /* confdefs.h. */
25186 _ACEOF
25187 cat confdefs.h >>conftest.$ac_ext
25188 cat >>conftest.$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190
25191 #include <gtk/gtk.h>
25192 #include <stdio.h>
25193
25194 int
25195 main ()
25196 {
25197 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25198 ;
25199 return 0;
25200 }
25201 _ACEOF
25202 rm -f conftest.$ac_objext conftest$ac_exeext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25204 (eval $ac_link) 2>conftest.er1
25205 ac_status=$?
25206 grep -v '^ *+' conftest.er1 >conftest.err
25207 rm -f conftest.er1
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25214 ac_status=$?
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; } &&
25217 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
25223 echo "*** The test program compiled, but did not run. This usually means"
25224 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25225 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25226 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25227 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25228 echo "*** is required on your system"
25229 echo "***"
25230 echo "*** If you have an old version installed, it is best to remove it, although"
25231 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25232 echo "***"
25233 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25234 echo "*** came with the system with the command"
25235 echo "***"
25236 echo "*** rpm --erase --nodeps gtk gtk-devel"
25237 else
25238 echo "$as_me: failed program was:" >&5
25239 sed 's/^/| /' conftest.$ac_ext >&5
25240
25241 echo "*** The test program failed to compile or link. See the file config.log for the"
25242 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25243 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25244 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25245 fi
25246 rm -f conftest.err conftest.$ac_objext \
25247 conftest$ac_exeext conftest.$ac_ext
25248 CFLAGS="$ac_save_CFLAGS"
25249 LIBS="$ac_save_LIBS"
25250 fi
25251 fi
25252 GTK_CFLAGS=""
25253 GTK_LIBS=""
25254 :
25255 fi
25256
25257
25258 rm -f conf.gtktest
25259
25260
25261 if test -z "$wx_cv_lib_gtk"; then
25262
25263 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25264 if test "${with_gtk_prefix+set}" = set; then
25265 withval="$with_gtk_prefix"
25266 gtk_config_prefix="$withval"
25267 else
25268 gtk_config_prefix=""
25269 fi;
25270
25271 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25272 if test "${with_gtk_exec_prefix+set}" = set; then
25273 withval="$with_gtk_exec_prefix"
25274 gtk_config_exec_prefix="$withval"
25275 else
25276 gtk_config_exec_prefix=""
25277 fi;
25278 # Check whether --enable-gtktest or --disable-gtktest was given.
25279 if test "${enable_gtktest+set}" = set; then
25280 enableval="$enable_gtktest"
25281
25282 else
25283 enable_gtktest=yes
25284 fi;
25285
25286 for module in . $GTK_MODULES
25287 do
25288 case "$module" in
25289 gthread)
25290 gtk_config_args="$gtk_config_args gthread"
25291 ;;
25292 esac
25293 done
25294
25295 if test x$gtk_config_exec_prefix != x ; then
25296 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25297 if test x${GTK_CONFIG+set} != xset ; then
25298 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25299 fi
25300 fi
25301 if test x$gtk_config_prefix != x ; then
25302 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25303 if test x${GTK_CONFIG+set} != xset ; then
25304 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25305 fi
25306 fi
25307
25308 # Extract the first word of "gtk-config", so it can be a program name with args.
25309 set dummy gtk-config; ac_word=$2
25310 echo "$as_me:$LINENO: checking for $ac_word" >&5
25311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25312 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 else
25315 case $GTK_CONFIG in
25316 [\\/]* | ?:[\\/]*)
25317 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25318 ;;
25319 *)
25320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25321 for as_dir in $PATH
25322 do
25323 IFS=$as_save_IFS
25324 test -z "$as_dir" && as_dir=.
25325 for ac_exec_ext in '' $ac_executable_extensions; do
25326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25327 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25329 break 2
25330 fi
25331 done
25332 done
25333
25334 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25335 ;;
25336 esac
25337 fi
25338 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25339
25340 if test -n "$GTK_CONFIG"; then
25341 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25342 echo "${ECHO_T}$GTK_CONFIG" >&6
25343 else
25344 echo "$as_me:$LINENO: result: no" >&5
25345 echo "${ECHO_T}no" >&6
25346 fi
25347
25348 min_gtk_version=1.2.3
25349 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25350 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25351 no_gtk=""
25352 if test "$GTK_CONFIG" = "no" ; then
25353 no_gtk=yes
25354 else
25355 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25356 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25357 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25359 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25361 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25363 if test "x$enable_gtktest" = "xyes" ; then
25364 ac_save_CFLAGS="$CFLAGS"
25365 ac_save_LIBS="$LIBS"
25366 CFLAGS="$CFLAGS $GTK_CFLAGS"
25367 LIBS="$GTK_LIBS $LIBS"
25368 rm -f conf.gtktest
25369 if test "$cross_compiling" = yes; then
25370 echo $ac_n "cross compiling; assumed OK... $ac_c"
25371 else
25372 cat >conftest.$ac_ext <<_ACEOF
25373 /* confdefs.h. */
25374 _ACEOF
25375 cat confdefs.h >>conftest.$ac_ext
25376 cat >>conftest.$ac_ext <<_ACEOF
25377 /* end confdefs.h. */
25378
25379 #include <gtk/gtk.h>
25380 #include <stdio.h>
25381 #include <stdlib.h>
25382
25383 int
25384 main ()
25385 {
25386 int major, minor, micro;
25387 char *tmp_version;
25388
25389 system ("touch conf.gtktest");
25390
25391 /* HP/UX 9 (%@#!) writes to sscanf strings */
25392 tmp_version = g_strdup("$min_gtk_version");
25393 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25394 printf("%s, bad version string\n", "$min_gtk_version");
25395 exit(1);
25396 }
25397
25398 if ((gtk_major_version != $gtk_config_major_version) ||
25399 (gtk_minor_version != $gtk_config_minor_version) ||
25400 (gtk_micro_version != $gtk_config_micro_version))
25401 {
25402 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25403 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25404 gtk_major_version, gtk_minor_version, gtk_micro_version);
25405 printf ("*** was found! If gtk-config was correct, then it is best\n");
25406 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25407 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25408 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25409 printf("*** required on your system.\n");
25410 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25411 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25412 printf("*** before re-running configure\n");
25413 }
25414 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25415 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25416 (gtk_minor_version != GTK_MINOR_VERSION) ||
25417 (gtk_micro_version != GTK_MICRO_VERSION))
25418 {
25419 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25420 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25421 printf("*** library (version %d.%d.%d)\n",
25422 gtk_major_version, gtk_minor_version, gtk_micro_version);
25423 }
25424 #endif /* defined (GTK_MAJOR_VERSION) ... */
25425 else
25426 {
25427 if ((gtk_major_version > major) ||
25428 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25429 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25430 {
25431 return 0;
25432 }
25433 else
25434 {
25435 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25436 gtk_major_version, gtk_minor_version, gtk_micro_version);
25437 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25438 major, minor, micro);
25439 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25440 printf("***\n");
25441 printf("*** If you have already installed a sufficiently new version, this error\n");
25442 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25443 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25444 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25445 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25446 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25447 printf("*** so that the correct libraries are found at run-time))\n");
25448 }
25449 }
25450 return 1;
25451 }
25452
25453 _ACEOF
25454 rm -f conftest$ac_exeext
25455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25456 (eval $ac_link) 2>&5
25457 ac_status=$?
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25461 (eval $ac_try) 2>&5
25462 ac_status=$?
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); }; }; then
25465 :
25466 else
25467 echo "$as_me: program exited with status $ac_status" >&5
25468 echo "$as_me: failed program was:" >&5
25469 sed 's/^/| /' conftest.$ac_ext >&5
25470
25471 ( exit $ac_status )
25472 no_gtk=yes
25473 fi
25474 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25475 fi
25476 CFLAGS="$ac_save_CFLAGS"
25477 LIBS="$ac_save_LIBS"
25478 fi
25479 fi
25480 if test "x$no_gtk" = x ; then
25481 echo "$as_me:$LINENO: result: yes" >&5
25482 echo "${ECHO_T}yes" >&6
25483 wx_cv_lib_gtk=1.2.3
25484 else
25485 echo "$as_me:$LINENO: result: no" >&5
25486 echo "${ECHO_T}no" >&6
25487 if test "$GTK_CONFIG" = "no" ; then
25488 echo "*** The gtk-config script installed by GTK could not be found"
25489 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25490 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25491 echo "*** full path to gtk-config."
25492 else
25493 if test -f conf.gtktest ; then
25494 :
25495 else
25496 echo "*** Could not run GTK test program, checking why..."
25497 CFLAGS="$CFLAGS $GTK_CFLAGS"
25498 LIBS="$LIBS $GTK_LIBS"
25499 cat >conftest.$ac_ext <<_ACEOF
25500 /* confdefs.h. */
25501 _ACEOF
25502 cat confdefs.h >>conftest.$ac_ext
25503 cat >>conftest.$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25505
25506 #include <gtk/gtk.h>
25507 #include <stdio.h>
25508
25509 int
25510 main ()
25511 {
25512 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25513 ;
25514 return 0;
25515 }
25516 _ACEOF
25517 rm -f conftest.$ac_objext conftest$ac_exeext
25518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25519 (eval $ac_link) 2>conftest.er1
25520 ac_status=$?
25521 grep -v '^ *+' conftest.er1 >conftest.err
25522 rm -f conftest.er1
25523 cat conftest.err >&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); } &&
25526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25528 (eval $ac_try) 2>&5
25529 ac_status=$?
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); }; } &&
25532 { ac_try='test -s conftest$ac_exeext'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25535 ac_status=$?
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; }; then
25538 echo "*** The test program compiled, but did not run. This usually means"
25539 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25540 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25541 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25542 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25543 echo "*** is required on your system"
25544 echo "***"
25545 echo "*** If you have an old version installed, it is best to remove it, although"
25546 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25547 echo "***"
25548 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25549 echo "*** came with the system with the command"
25550 echo "***"
25551 echo "*** rpm --erase --nodeps gtk gtk-devel"
25552 else
25553 echo "$as_me: failed program was:" >&5
25554 sed 's/^/| /' conftest.$ac_ext >&5
25555
25556 echo "*** The test program failed to compile or link. See the file config.log for the"
25557 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25558 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25559 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25560 fi
25561 rm -f conftest.err conftest.$ac_objext \
25562 conftest$ac_exeext conftest.$ac_ext
25563 CFLAGS="$ac_save_CFLAGS"
25564 LIBS="$ac_save_LIBS"
25565 fi
25566 fi
25567 GTK_CFLAGS=""
25568 GTK_LIBS=""
25569 :
25570 fi
25571
25572
25573 rm -f conf.gtktest
25574
25575 fi
25576 fi
25577 fi
25578
25579 if test -z "$wx_cv_lib_gtk"; then
25580 wx_cv_lib_gtk=none
25581 else
25582 wx_cv_cflags_gtk=$GTK_CFLAGS
25583 wx_cv_libs_gtk=$GTK_LIBS
25584 fi
25585
25586
25587 fi
25588
25589
25590 if test "$gtk_version_cached" = 1; then
25591 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25592 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25593 fi
25594
25595 case "$wx_cv_lib_gtk" in
25596 2.0) WXGTK20=1
25597 TOOLKIT_VERSION=2
25598 ;;
25599 1.2.7) WXGTK127=1
25600 WXGTK12=1
25601 ;;
25602 1.2.3) WXGTK12=1
25603 ;;
25604 *) { { echo "$as_me:$LINENO: error:
25605 The development files for GTK+ were not found. For GTK+ 2, please
25606 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25607 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25608 and that the version is 1.2.3 or above. Also check that the
25609 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25610 --libs' are in the LD_LIBRARY_PATH or equivalent.
25611 " >&5
25612 echo "$as_me: error:
25613 The development files for GTK+ were not found. For GTK+ 2, please
25614 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25615 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25616 and that the version is 1.2.3 or above. Also check that the
25617 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25618 --libs' are in the LD_LIBRARY_PATH or equivalent.
25619 " >&2;}
25620 { (exit 1); exit 1; }; }
25621 ;;
25622 esac
25623
25624 if test "$WXGTK20" = 1; then
25625 save_CFLAGS="$CFLAGS"
25626 save_LIBS="$LIBS"
25627 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25628 LIBS="$LIBS $wx_cv_libs_gtk"
25629
25630
25631 for ac_func in pango_font_family_is_monospace
25632 do
25633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25634 echo "$as_me:$LINENO: checking for $ac_func" >&5
25635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25636 if eval "test \"\${$as_ac_var+set}\" = set"; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 else
25639 cat >conftest.$ac_ext <<_ACEOF
25640 /* confdefs.h. */
25641 _ACEOF
25642 cat confdefs.h >>conftest.$ac_ext
25643 cat >>conftest.$ac_ext <<_ACEOF
25644 /* end confdefs.h. */
25645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25647 #define $ac_func innocuous_$ac_func
25648
25649 /* System header to define __stub macros and hopefully few prototypes,
25650 which can conflict with char $ac_func (); below.
25651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25652 <limits.h> exists even on freestanding compilers. */
25653
25654 #ifdef __STDC__
25655 # include <limits.h>
25656 #else
25657 # include <assert.h>
25658 #endif
25659
25660 #undef $ac_func
25661
25662 /* Override any gcc2 internal prototype to avoid an error. */
25663 #ifdef __cplusplus
25664 extern "C"
25665 {
25666 #endif
25667 /* We use char because int might match the return type of a gcc2
25668 builtin and then its argument prototype would still apply. */
25669 char $ac_func ();
25670 /* The GNU C library defines this for functions which it implements
25671 to always fail with ENOSYS. Some functions are actually named
25672 something starting with __ and the normal name is an alias. */
25673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25674 choke me
25675 #else
25676 char (*f) () = $ac_func;
25677 #endif
25678 #ifdef __cplusplus
25679 }
25680 #endif
25681
25682 int
25683 main ()
25684 {
25685 return f != $ac_func;
25686 ;
25687 return 0;
25688 }
25689 _ACEOF
25690 rm -f conftest.$ac_objext conftest$ac_exeext
25691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25692 (eval $ac_link) 2>conftest.er1
25693 ac_status=$?
25694 grep -v '^ *+' conftest.er1 >conftest.err
25695 rm -f conftest.er1
25696 cat conftest.err >&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } &&
25699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25702 ac_status=$?
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; } &&
25705 { ac_try='test -s conftest$ac_exeext'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25708 ac_status=$?
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; }; then
25711 eval "$as_ac_var=yes"
25712 else
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25715
25716 eval "$as_ac_var=no"
25717 fi
25718 rm -f conftest.err conftest.$ac_objext \
25719 conftest$ac_exeext conftest.$ac_ext
25720 fi
25721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25723 if test `eval echo '${'$as_ac_var'}'` = yes; then
25724 cat >>confdefs.h <<_ACEOF
25725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25726 _ACEOF
25727
25728 fi
25729 done
25730
25731
25732 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25733 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25734 cat >conftest.$ac_ext <<_ACEOF
25735 /* confdefs.h. */
25736 _ACEOF
25737 cat confdefs.h >>conftest.$ac_ext
25738 cat >>conftest.$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25740
25741 #include <gtk/gtk.h>
25742
25743 int
25744 main ()
25745 {
25746
25747 void *f = gtk_icon_size_lookup;
25748
25749 ;
25750 return 0;
25751 }
25752 _ACEOF
25753 rm -f conftest.$ac_objext
25754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25755 (eval $ac_compile) 2>conftest.er1
25756 ac_status=$?
25757 grep -v '^ *+' conftest.er1 >conftest.err
25758 rm -f conftest.er1
25759 cat conftest.err >&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } &&
25762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; } &&
25768 { ac_try='test -s conftest.$ac_objext'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25771 ac_status=$?
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; }; then
25774
25775 echo "$as_me:$LINENO: result: no" >&5
25776 echo "${ECHO_T}no" >&6
25777
25778 else
25779 echo "$as_me: failed program was:" >&5
25780 sed 's/^/| /' conftest.$ac_ext >&5
25781
25782
25783 cat >>confdefs.h <<\_ACEOF
25784 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25785 _ACEOF
25786
25787 echo "$as_me:$LINENO: result: yes" >&5
25788 echo "${ECHO_T}yes" >&6
25789
25790 fi
25791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25792
25793 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25794 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25795 cat >conftest.$ac_ext <<_ACEOF
25796 /* confdefs.h. */
25797 _ACEOF
25798 cat confdefs.h >>conftest.$ac_ext
25799 cat >>conftest.$ac_ext <<_ACEOF
25800 /* end confdefs.h. */
25801
25802 #include <gtk/gtk.h>
25803
25804 int
25805 main ()
25806 {
25807
25808 #if !GTK_CHECK_VERSION(2,4,0)
25809 #error "Not GTK+ 2.4"
25810 #endif
25811
25812 ;
25813 return 0;
25814 }
25815 _ACEOF
25816 rm -f conftest.$ac_objext
25817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25818 (eval $ac_compile) 2>conftest.er1
25819 ac_status=$?
25820 grep -v '^ *+' conftest.er1 >conftest.err
25821 rm -f conftest.er1
25822 cat conftest.err >&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); } &&
25825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25827 (eval $ac_try) 2>&5
25828 ac_status=$?
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); }; } &&
25831 { ac_try='test -s conftest.$ac_objext'
25832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833 (eval $ac_try) 2>&5
25834 ac_status=$?
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; }; then
25837
25838 cat >>confdefs.h <<\_ACEOF
25839 #define __WXGTK24__ 1
25840 _ACEOF
25841
25842 echo "$as_me:$LINENO: result: yes" >&5
25843 echo "${ECHO_T}yes" >&6
25844
25845 else
25846 echo "$as_me: failed program was:" >&5
25847 sed 's/^/| /' conftest.$ac_ext >&5
25848
25849
25850 echo "$as_me:$LINENO: result: no" >&5
25851 echo "${ECHO_T}no" >&6
25852
25853 fi
25854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25855
25856 CFLAGS="$save_CFLAGS"
25857 LIBS="$save_LIBS"
25858 else
25859 if test "$wxUSE_UNICODE" = "yes"; then
25860 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25861 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25862 wxUSE_UNICODE=no
25863 fi
25864 fi
25865
25866 if test "$USE_DARWIN" != 1; then
25867
25868 for ac_func in poll
25869 do
25870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25871 echo "$as_me:$LINENO: checking for $ac_func" >&5
25872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25873 if eval "test \"\${$as_ac_var+set}\" = set"; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25875 else
25876 cat >conftest.$ac_ext <<_ACEOF
25877 /* confdefs.h. */
25878 _ACEOF
25879 cat confdefs.h >>conftest.$ac_ext
25880 cat >>conftest.$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25884 #define $ac_func innocuous_$ac_func
25885
25886 /* System header to define __stub macros and hopefully few prototypes,
25887 which can conflict with char $ac_func (); below.
25888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25889 <limits.h> exists even on freestanding compilers. */
25890
25891 #ifdef __STDC__
25892 # include <limits.h>
25893 #else
25894 # include <assert.h>
25895 #endif
25896
25897 #undef $ac_func
25898
25899 /* Override any gcc2 internal prototype to avoid an error. */
25900 #ifdef __cplusplus
25901 extern "C"
25902 {
25903 #endif
25904 /* We use char because int might match the return type of a gcc2
25905 builtin and then its argument prototype would still apply. */
25906 char $ac_func ();
25907 /* The GNU C library defines this for functions which it implements
25908 to always fail with ENOSYS. Some functions are actually named
25909 something starting with __ and the normal name is an alias. */
25910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25911 choke me
25912 #else
25913 char (*f) () = $ac_func;
25914 #endif
25915 #ifdef __cplusplus
25916 }
25917 #endif
25918
25919 int
25920 main ()
25921 {
25922 return f != $ac_func;
25923 ;
25924 return 0;
25925 }
25926 _ACEOF
25927 rm -f conftest.$ac_objext conftest$ac_exeext
25928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25929 (eval $ac_link) 2>conftest.er1
25930 ac_status=$?
25931 grep -v '^ *+' conftest.er1 >conftest.err
25932 rm -f conftest.er1
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } &&
25936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; } &&
25942 { ac_try='test -s conftest$ac_exeext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25945 ac_status=$?
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 eval "$as_ac_var=yes"
25949 else
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25952
25953 eval "$as_ac_var=no"
25954 fi
25955 rm -f conftest.err conftest.$ac_objext \
25956 conftest$ac_exeext conftest.$ac_ext
25957 fi
25958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25960 if test `eval echo '${'$as_ac_var'}'` = yes; then
25961 cat >>confdefs.h <<_ACEOF
25962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25963 _ACEOF
25964
25965 fi
25966 done
25967
25968 fi
25969
25970 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25971 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25972
25973 AFMINSTALL=afminstall
25974 TOOLKIT=GTK
25975 GUIDIST=GTK_DIST
25976
25977 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25978 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25979 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25980 echo $ECHO_N "(cached) $ECHO_C" >&6
25981 else
25982 ac_check_lib_save_LIBS=$LIBS
25983 LIBS="-lgdk $LIBS"
25984 cat >conftest.$ac_ext <<_ACEOF
25985 /* confdefs.h. */
25986 _ACEOF
25987 cat confdefs.h >>conftest.$ac_ext
25988 cat >>conftest.$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25990
25991 /* Override any gcc2 internal prototype to avoid an error. */
25992 #ifdef __cplusplus
25993 extern "C"
25994 #endif
25995 /* We use char because int might match the return type of a gcc2
25996 builtin and then its argument prototype would still apply. */
25997 char gdk_im_open ();
25998 int
25999 main ()
26000 {
26001 gdk_im_open ();
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" || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26018 ac_status=$?
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try='test -s conftest$ac_exeext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26024 ac_status=$?
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26027 ac_cv_lib_gdk_gdk_im_open=yes
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 ac_cv_lib_gdk_gdk_im_open=no
26033 fi
26034 rm -f conftest.err conftest.$ac_objext \
26035 conftest$ac_exeext conftest.$ac_ext
26036 LIBS=$ac_check_lib_save_LIBS
26037 fi
26038 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26039 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26040 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26041 cat >>confdefs.h <<\_ACEOF
26042 #define HAVE_XIM 1
26043 _ACEOF
26044
26045 fi
26046
26047
26048
26049 if test "$wxUSE_GPE" = "yes"; then
26050 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26051 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26052
26053 ac_find_libraries=
26054 for ac_dir in $SEARCH_LIB /usr/lib;
26055 do
26056 for ac_extension in a so sl dylib; do
26057 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26058 ac_find_libraries=$ac_dir
26059 break 2
26060 fi
26061 done
26062 done
26063
26064 if test "$ac_find_libraries" != "" ; then
26065
26066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26067 result=$?
26068 if test $result = 0; then
26069 ac_path_to_link=""
26070 else
26071 ac_path_to_link=" -L$ac_find_libraries"
26072 fi
26073
26074 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26075 WXGPE=1
26076 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26077 echo "${ECHO_T}found at $ac_find_libraries" >&6
26078 else
26079 echo "$as_me:$LINENO: result: not found" >&5
26080 echo "${ECHO_T}not found" >&6
26081 fi
26082
26083 fi
26084 fi
26085
26086 if test "$wxUSE_MGL" = 1; then
26087 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26088 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26089 if test "x$MGL_ROOT" = x ; then
26090 echo "$as_me:$LINENO: result: not found" >&5
26091 echo "${ECHO_T}not found" >&6
26092 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26093 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26094 { (exit 1); exit 1; }; }
26095 else
26096 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26097 echo "${ECHO_T}$MGL_ROOT" >&6
26098 fi
26099
26100 echo "$as_me:$LINENO: checking for libmgl location" >&5
26101 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26102 case "${host}" in
26103 *-*-linux* )
26104 if test "x$wxUSE_SHARED" = xyes ; then
26105 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26106 else
26107 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26108 fi
26109 ;;
26110 *-pc-msdosdjgpp )
26111 mgl_os_candidates="dos32/dj2"
26112 ;;
26113 *)
26114 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26115 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26116 { (exit 1); exit 1; }; }
26117 esac
26118
26119 mgl_lib_type=""
26120 mgl_os=""
26121
26122 for mgl_os_i in $mgl_os_candidates ; do
26123 if test "x$mgl_os" = x ; then
26124 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26125 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26126 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26127 mgl_lib_type=debug
26128 mgl_os=$mgl_os_i
26129 fi
26130 fi
26131 if test "x$mgl_lib_type" = x ; then
26132 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26133 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26134 mgl_lib_type=release
26135 mgl_os=$mgl_os_i
26136 fi
26137 fi
26138 fi
26139 done
26140
26141 if test "x$mgl_os" = x ; then
26142 echo "$as_me:$LINENO: result: not found" >&5
26143 echo "${ECHO_T}not found" >&6
26144 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26145 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26146 { (exit 1); exit 1; }; }
26147 fi
26148 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26149 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26150
26151 wxUSE_UNIVERSAL="yes"
26152
26153 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26154 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26155
26156 AFMINSTALL=afminstall
26157 TOOLKIT=MGL
26158 GUIDIST=MGL_DIST
26159 fi
26160
26161 if test "$wxUSE_MICROWIN" = 1; then
26162 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26163 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26164 if test "x$MICROWINDOWS" = x ; then
26165 echo "$as_me:$LINENO: result: not found" >&5
26166 echo "${ECHO_T}not found" >&6
26167 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26168 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26169 { (exit 1); exit 1; }; }
26170 else
26171 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26172 echo "${ECHO_T}$MICROWINDOWS" >&6
26173 fi
26174
26175 if test -f $MICROWINDOWS/lib/libmwin.a; then
26176 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26177 echo "${ECHO_T}MicroWindows' libraries found." >&6
26178 else
26179 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26180 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26181 { (exit 1); exit 1; }; }
26182 fi
26183
26184 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26185 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26186
26187 wxUSE_UNIVERSAL="yes"
26188
26189 AFMINSTALL=afminstall
26190 TOOLKIT=MICROWIN
26191 GUIDIST=MICROWIN_DIST
26192
26193 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26194 fi
26195
26196 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26197
26198 if test "x$ac_path_x_has_been_run" != xyes; then
26199 echo "$as_me:$LINENO: checking for X" >&5
26200 echo $ECHO_N "checking for X... $ECHO_C" >&6
26201
26202 ac_path_x_has_been_run=yes
26203
26204 # Check whether --with-x or --without-x was given.
26205 if test "${with_x+set}" = set; then
26206 withval="$with_x"
26207
26208 fi;
26209 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26210 if test "x$with_x" = xno; then
26211 # The user explicitly disabled X.
26212 have_x=disabled
26213 else
26214 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26215 # Both variables are already set.
26216 have_x=yes
26217 else
26218 if test "${ac_cv_have_x+set}" = set; then
26219 echo $ECHO_N "(cached) $ECHO_C" >&6
26220 else
26221 # One or both of the vars are not set, and there is no cached value.
26222 ac_x_includes=no ac_x_libraries=no
26223 rm -fr conftest.dir
26224 if mkdir conftest.dir; then
26225 cd conftest.dir
26226 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26227 cat >Imakefile <<'_ACEOF'
26228 acfindx:
26229 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26230 _ACEOF
26231 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26233 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26234 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26235 for ac_extension in a so sl; do
26236 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26237 test -f $ac_im_libdir/libX11.$ac_extension; then
26238 ac_im_usrlibdir=$ac_im_libdir; break
26239 fi
26240 done
26241 # Screen out bogus values from the imake configuration. They are
26242 # bogus both because they are the default anyway, and because
26243 # using them would break gcc on systems where it needs fixed includes.
26244 case $ac_im_incroot in
26245 /usr/include) ;;
26246 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26247 esac
26248 case $ac_im_usrlibdir in
26249 /usr/lib | /lib) ;;
26250 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26251 esac
26252 fi
26253 cd ..
26254 rm -fr conftest.dir
26255 fi
26256
26257 # Standard set of common directories for X headers.
26258 # Check X11 before X11Rn because it is often a symlink to the current release.
26259 ac_x_header_dirs='
26260 /usr/X11/include
26261 /usr/X11R6/include
26262 /usr/X11R5/include
26263 /usr/X11R4/include
26264
26265 /usr/include/X11
26266 /usr/include/X11R6
26267 /usr/include/X11R5
26268 /usr/include/X11R4
26269
26270 /usr/local/X11/include
26271 /usr/local/X11R6/include
26272 /usr/local/X11R5/include
26273 /usr/local/X11R4/include
26274
26275 /usr/local/include/X11
26276 /usr/local/include/X11R6
26277 /usr/local/include/X11R5
26278 /usr/local/include/X11R4
26279
26280 /usr/X386/include
26281 /usr/x386/include
26282 /usr/XFree86/include/X11
26283
26284 /usr/include
26285 /usr/local/include
26286 /usr/unsupported/include
26287 /usr/athena/include
26288 /usr/local/x11r5/include
26289 /usr/lpp/Xamples/include
26290
26291 /usr/openwin/include
26292 /usr/openwin/share/include'
26293
26294 if test "$ac_x_includes" = no; then
26295 # Guess where to find include files, by looking for a specified header file.
26296 # First, try using that file with no special directory specified.
26297 cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h. */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 #include <X11/Intrinsic.h>
26304 _ACEOF
26305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26307 ac_status=$?
26308 grep -v '^ *+' conftest.er1 >conftest.err
26309 rm -f conftest.er1
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } >/dev/null; then
26313 if test -s conftest.err; then
26314 ac_cpp_err=$ac_c_preproc_warn_flag
26315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26316 else
26317 ac_cpp_err=
26318 fi
26319 else
26320 ac_cpp_err=yes
26321 fi
26322 if test -z "$ac_cpp_err"; then
26323 # We can compile using X headers with no special include directory.
26324 ac_x_includes=
26325 else
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.$ac_ext >&5
26328
26329 for ac_dir in $ac_x_header_dirs; do
26330 if test -r "$ac_dir/X11/Intrinsic.h"; then
26331 ac_x_includes=$ac_dir
26332 break
26333 fi
26334 done
26335 fi
26336 rm -f conftest.err conftest.$ac_ext
26337 fi # $ac_x_includes = no
26338
26339 if test "$ac_x_libraries" = no; then
26340 # Check for the libraries.
26341 # See if we find them without any special options.
26342 # Don't add to $LIBS permanently.
26343 ac_save_LIBS=$LIBS
26344 LIBS="-lXt $LIBS"
26345 cat >conftest.$ac_ext <<_ACEOF
26346 /* confdefs.h. */
26347 _ACEOF
26348 cat confdefs.h >>conftest.$ac_ext
26349 cat >>conftest.$ac_ext <<_ACEOF
26350 /* end confdefs.h. */
26351 #include <X11/Intrinsic.h>
26352 int
26353 main ()
26354 {
26355 XtMalloc (0)
26356 ;
26357 return 0;
26358 }
26359 _ACEOF
26360 rm -f conftest.$ac_objext conftest$ac_exeext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26362 (eval $ac_link) 2>conftest.er1
26363 ac_status=$?
26364 grep -v '^ *+' conftest.er1 >conftest.err
26365 rm -f conftest.er1
26366 cat conftest.err >&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } &&
26369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26372 ac_status=$?
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; } &&
26375 { ac_try='test -s conftest$ac_exeext'
26376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377 (eval $ac_try) 2>&5
26378 ac_status=$?
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); }; }; then
26381 LIBS=$ac_save_LIBS
26382 # We can link X programs with no special library path.
26383 ac_x_libraries=
26384 else
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26387
26388 LIBS=$ac_save_LIBS
26389 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26390 do
26391 # Don't even attempt the hair of trying to link an X program!
26392 for ac_extension in a so sl; do
26393 if test -r $ac_dir/libXt.$ac_extension; then
26394 ac_x_libraries=$ac_dir
26395 break 2
26396 fi
26397 done
26398 done
26399 fi
26400 rm -f conftest.err conftest.$ac_objext \
26401 conftest$ac_exeext conftest.$ac_ext
26402 fi # $ac_x_libraries = no
26403
26404 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26405 # Didn't find X anywhere. Cache the known absence of X.
26406 ac_cv_have_x="have_x=no"
26407 else
26408 # Record where we found X for the cache.
26409 ac_cv_have_x="have_x=yes \
26410 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26411 fi
26412 fi
26413
26414 fi
26415 eval "$ac_cv_have_x"
26416 fi # $with_x != no
26417
26418 if test "$have_x" != yes; then
26419 echo "$as_me:$LINENO: result: $have_x" >&5
26420 echo "${ECHO_T}$have_x" >&6
26421 no_x=yes
26422 else
26423 # If each of the values was on the command line, it overrides each guess.
26424 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26425 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26426 # Update the cache value to reflect the command line values.
26427 ac_cv_have_x="have_x=yes \
26428 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26429 # It might be that x_includes is empty (headers are found in the
26430 # standard search path. Then output the corresponding message
26431 ac_out_x_includes=$x_includes
26432 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
26433 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26434 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26435 fi
26436
26437 fi
26438 if test "$no_x" = yes; then
26439 # Not all programs may use this symbol, but it does not hurt to define it.
26440
26441 cat >>confdefs.h <<\_ACEOF
26442 #define X_DISPLAY_MISSING 1
26443 _ACEOF
26444
26445 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26446 else
26447 if test -n "$x_includes"; then
26448 X_CFLAGS="$X_CFLAGS -I$x_includes"
26449 fi
26450
26451 # It would also be nice to do this for all -L options, not just this one.
26452 if test -n "$x_libraries"; then
26453 X_LIBS="$X_LIBS -L$x_libraries"
26454 # For Solaris; some versions of Sun CC require a space after -R and
26455 # others require no space. Words are not sufficient . . . .
26456 case `(uname -sr) 2>/dev/null` in
26457 "SunOS 5"*)
26458 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26459 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26460 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26461 cat >conftest.$ac_ext <<_ACEOF
26462 /* confdefs.h. */
26463 _ACEOF
26464 cat confdefs.h >>conftest.$ac_ext
26465 cat >>conftest.$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26467
26468 int
26469 main ()
26470 {
26471
26472 ;
26473 return 0;
26474 }
26475 _ACEOF
26476 rm -f conftest.$ac_objext conftest$ac_exeext
26477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26478 (eval $ac_link) 2>conftest.er1
26479 ac_status=$?
26480 grep -v '^ *+' conftest.er1 >conftest.err
26481 rm -f conftest.er1
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try='test -s conftest$ac_exeext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26494 ac_status=$?
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26497 ac_R_nospace=yes
26498 else
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.$ac_ext >&5
26501
26502 ac_R_nospace=no
26503 fi
26504 rm -f conftest.err conftest.$ac_objext \
26505 conftest$ac_exeext conftest.$ac_ext
26506 if test $ac_R_nospace = yes; then
26507 echo "$as_me:$LINENO: result: no" >&5
26508 echo "${ECHO_T}no" >&6
26509 X_LIBS="$X_LIBS -R$x_libraries"
26510 else
26511 LIBS="$ac_xsave_LIBS -R $x_libraries"
26512 cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h. */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26518
26519 int
26520 main ()
26521 {
26522
26523 ;
26524 return 0;
26525 }
26526 _ACEOF
26527 rm -f conftest.$ac_objext conftest$ac_exeext
26528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26529 (eval $ac_link) 2>conftest.er1
26530 ac_status=$?
26531 grep -v '^ *+' conftest.er1 >conftest.err
26532 rm -f conftest.er1
26533 cat conftest.err >&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } &&
26536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538 (eval $ac_try) 2>&5
26539 ac_status=$?
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; } &&
26542 { ac_try='test -s conftest$ac_exeext'
26543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26544 (eval $ac_try) 2>&5
26545 ac_status=$?
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); }; }; then
26548 ac_R_space=yes
26549 else
26550 echo "$as_me: failed program was:" >&5
26551 sed 's/^/| /' conftest.$ac_ext >&5
26552
26553 ac_R_space=no
26554 fi
26555 rm -f conftest.err conftest.$ac_objext \
26556 conftest$ac_exeext conftest.$ac_ext
26557 if test $ac_R_space = yes; then
26558 echo "$as_me:$LINENO: result: yes" >&5
26559 echo "${ECHO_T}yes" >&6
26560 X_LIBS="$X_LIBS -R $x_libraries"
26561 else
26562 echo "$as_me:$LINENO: result: neither works" >&5
26563 echo "${ECHO_T}neither works" >&6
26564 fi
26565 fi
26566 LIBS=$ac_xsave_LIBS
26567 esac
26568 fi
26569
26570 # Check for system-dependent libraries X programs must link with.
26571 # Do this before checking for the system-independent R6 libraries
26572 # (-lICE), since we may need -lsocket or whatever for X linking.
26573
26574 if test "$ISC" = yes; then
26575 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26576 else
26577 # Martyn Johnson says this is needed for Ultrix, if the X
26578 # libraries were built with DECnet support. And Karl Berry says
26579 # the Alpha needs dnet_stub (dnet does not exist).
26580 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26581 cat >conftest.$ac_ext <<_ACEOF
26582 /* confdefs.h. */
26583 _ACEOF
26584 cat confdefs.h >>conftest.$ac_ext
26585 cat >>conftest.$ac_ext <<_ACEOF
26586 /* end confdefs.h. */
26587
26588 /* Override any gcc2 internal prototype to avoid an error. */
26589 #ifdef __cplusplus
26590 extern "C"
26591 #endif
26592 /* We use char because int might match the return type of a gcc2
26593 builtin and then its argument prototype would still apply. */
26594 char XOpenDisplay ();
26595 int
26596 main ()
26597 {
26598 XOpenDisplay ();
26599 ;
26600 return 0;
26601 }
26602 _ACEOF
26603 rm -f conftest.$ac_objext conftest$ac_exeext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26605 (eval $ac_link) 2>conftest.er1
26606 ac_status=$?
26607 grep -v '^ *+' conftest.er1 >conftest.err
26608 rm -f conftest.er1
26609 cat conftest.err >&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26615 ac_status=$?
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26624 :
26625 else
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26628
26629 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26630 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26631 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 else
26634 ac_check_lib_save_LIBS=$LIBS
26635 LIBS="-ldnet $LIBS"
26636 cat >conftest.$ac_ext <<_ACEOF
26637 /* confdefs.h. */
26638 _ACEOF
26639 cat confdefs.h >>conftest.$ac_ext
26640 cat >>conftest.$ac_ext <<_ACEOF
26641 /* end confdefs.h. */
26642
26643 /* Override any gcc2 internal prototype to avoid an error. */
26644 #ifdef __cplusplus
26645 extern "C"
26646 #endif
26647 /* We use char because int might match the return type of a gcc2
26648 builtin and then its argument prototype would still apply. */
26649 char dnet_ntoa ();
26650 int
26651 main ()
26652 {
26653 dnet_ntoa ();
26654 ;
26655 return 0;
26656 }
26657 _ACEOF
26658 rm -f conftest.$ac_objext conftest$ac_exeext
26659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26660 (eval $ac_link) 2>conftest.er1
26661 ac_status=$?
26662 grep -v '^ *+' conftest.er1 >conftest.err
26663 rm -f conftest.er1
26664 cat conftest.err >&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); } &&
26667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26670 ac_status=$?
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; } &&
26673 { ac_try='test -s conftest$ac_exeext'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 ac_cv_lib_dnet_dnet_ntoa=yes
26680 else
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.$ac_ext >&5
26683
26684 ac_cv_lib_dnet_dnet_ntoa=no
26685 fi
26686 rm -f conftest.err conftest.$ac_objext \
26687 conftest$ac_exeext conftest.$ac_ext
26688 LIBS=$ac_check_lib_save_LIBS
26689 fi
26690 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26691 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26692 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26693 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26694 fi
26695
26696 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26697 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26698 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26699 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 else
26702 ac_check_lib_save_LIBS=$LIBS
26703 LIBS="-ldnet_stub $LIBS"
26704 cat >conftest.$ac_ext <<_ACEOF
26705 /* confdefs.h. */
26706 _ACEOF
26707 cat confdefs.h >>conftest.$ac_ext
26708 cat >>conftest.$ac_ext <<_ACEOF
26709 /* end confdefs.h. */
26710
26711 /* Override any gcc2 internal prototype to avoid an error. */
26712 #ifdef __cplusplus
26713 extern "C"
26714 #endif
26715 /* We use char because int might match the return type of a gcc2
26716 builtin and then its argument prototype would still apply. */
26717 char dnet_ntoa ();
26718 int
26719 main ()
26720 {
26721 dnet_ntoa ();
26722 ;
26723 return 0;
26724 }
26725 _ACEOF
26726 rm -f conftest.$ac_objext conftest$ac_exeext
26727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26728 (eval $ac_link) 2>conftest.er1
26729 ac_status=$?
26730 grep -v '^ *+' conftest.er1 >conftest.err
26731 rm -f conftest.er1
26732 cat conftest.err >&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } &&
26735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
26741 { ac_try='test -s conftest$ac_exeext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26744 ac_status=$?
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26747 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26748 else
26749 echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.$ac_ext >&5
26751
26752 ac_cv_lib_dnet_stub_dnet_ntoa=no
26753 fi
26754 rm -f conftest.err conftest.$ac_objext \
26755 conftest$ac_exeext conftest.$ac_ext
26756 LIBS=$ac_check_lib_save_LIBS
26757 fi
26758 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26759 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26760 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26761 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26762 fi
26763
26764 fi
26765 fi
26766 rm -f conftest.err conftest.$ac_objext \
26767 conftest$ac_exeext conftest.$ac_ext
26768 LIBS="$ac_xsave_LIBS"
26769
26770 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26771 # to get the SysV transport functions.
26772 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26773 # needs -lnsl.
26774 # The nsl library prevents programs from opening the X display
26775 # on Irix 5.2, according to T.E. Dickey.
26776 # The functions gethostbyname, getservbyname, and inet_addr are
26777 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26778 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26779 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26780 if test "${ac_cv_func_gethostbyname+set}" = set; then
26781 echo $ECHO_N "(cached) $ECHO_C" >&6
26782 else
26783 cat >conftest.$ac_ext <<_ACEOF
26784 /* confdefs.h. */
26785 _ACEOF
26786 cat confdefs.h >>conftest.$ac_ext
26787 cat >>conftest.$ac_ext <<_ACEOF
26788 /* end confdefs.h. */
26789 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26791 #define gethostbyname innocuous_gethostbyname
26792
26793 /* System header to define __stub macros and hopefully few prototypes,
26794 which can conflict with char gethostbyname (); below.
26795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26796 <limits.h> exists even on freestanding compilers. */
26797
26798 #ifdef __STDC__
26799 # include <limits.h>
26800 #else
26801 # include <assert.h>
26802 #endif
26803
26804 #undef gethostbyname
26805
26806 /* Override any gcc2 internal prototype to avoid an error. */
26807 #ifdef __cplusplus
26808 extern "C"
26809 {
26810 #endif
26811 /* We use char because int might match the return type of a gcc2
26812 builtin and then its argument prototype would still apply. */
26813 char gethostbyname ();
26814 /* The GNU C library defines this for functions which it implements
26815 to always fail with ENOSYS. Some functions are actually named
26816 something starting with __ and the normal name is an alias. */
26817 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26818 choke me
26819 #else
26820 char (*f) () = gethostbyname;
26821 #endif
26822 #ifdef __cplusplus
26823 }
26824 #endif
26825
26826 int
26827 main ()
26828 {
26829 return f != gethostbyname;
26830 ;
26831 return 0;
26832 }
26833 _ACEOF
26834 rm -f conftest.$ac_objext conftest$ac_exeext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26836 (eval $ac_link) 2>conftest.er1
26837 ac_status=$?
26838 grep -v '^ *+' conftest.er1 >conftest.err
26839 rm -f conftest.er1
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26846 ac_status=$?
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try='test -s conftest$ac_exeext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26852 ac_status=$?
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26855 ac_cv_func_gethostbyname=yes
26856 else
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26859
26860 ac_cv_func_gethostbyname=no
26861 fi
26862 rm -f conftest.err conftest.$ac_objext \
26863 conftest$ac_exeext conftest.$ac_ext
26864 fi
26865 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26866 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26867
26868 if test $ac_cv_func_gethostbyname = no; then
26869 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26870 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26871 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26873 else
26874 ac_check_lib_save_LIBS=$LIBS
26875 LIBS="-lnsl $LIBS"
26876 cat >conftest.$ac_ext <<_ACEOF
26877 /* confdefs.h. */
26878 _ACEOF
26879 cat confdefs.h >>conftest.$ac_ext
26880 cat >>conftest.$ac_ext <<_ACEOF
26881 /* end confdefs.h. */
26882
26883 /* Override any gcc2 internal prototype to avoid an error. */
26884 #ifdef __cplusplus
26885 extern "C"
26886 #endif
26887 /* We use char because int might match the return type of a gcc2
26888 builtin and then its argument prototype would still apply. */
26889 char gethostbyname ();
26890 int
26891 main ()
26892 {
26893 gethostbyname ();
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" || test ! -s conftest.err'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26910 ac_status=$?
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; } &&
26913 { ac_try='test -s conftest$ac_exeext'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; }; then
26919 ac_cv_lib_nsl_gethostbyname=yes
26920 else
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.$ac_ext >&5
26923
26924 ac_cv_lib_nsl_gethostbyname=no
26925 fi
26926 rm -f conftest.err conftest.$ac_objext \
26927 conftest$ac_exeext conftest.$ac_ext
26928 LIBS=$ac_check_lib_save_LIBS
26929 fi
26930 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26931 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26932 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26933 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26934 fi
26935
26936 if test $ac_cv_lib_nsl_gethostbyname = no; then
26937 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26938 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26939 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26940 echo $ECHO_N "(cached) $ECHO_C" >&6
26941 else
26942 ac_check_lib_save_LIBS=$LIBS
26943 LIBS="-lbsd $LIBS"
26944 cat >conftest.$ac_ext <<_ACEOF
26945 /* confdefs.h. */
26946 _ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26950
26951 /* Override any gcc2 internal prototype to avoid an error. */
26952 #ifdef __cplusplus
26953 extern "C"
26954 #endif
26955 /* We use char because int might match the return type of a gcc2
26956 builtin and then its argument prototype would still apply. */
26957 char gethostbyname ();
26958 int
26959 main ()
26960 {
26961 gethostbyname ();
26962 ;
26963 return 0;
26964 }
26965 _ACEOF
26966 rm -f conftest.$ac_objext conftest$ac_exeext
26967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26968 (eval $ac_link) 2>conftest.er1
26969 ac_status=$?
26970 grep -v '^ *+' conftest.er1 >conftest.err
26971 rm -f conftest.er1
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } &&
26975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; } &&
26981 { ac_try='test -s conftest$ac_exeext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 ac_cv_lib_bsd_gethostbyname=yes
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 ac_cv_lib_bsd_gethostbyname=no
26993 fi
26994 rm -f conftest.err conftest.$ac_objext \
26995 conftest$ac_exeext conftest.$ac_ext
26996 LIBS=$ac_check_lib_save_LIBS
26997 fi
26998 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26999 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27000 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27001 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27002 fi
27003
27004 fi
27005 fi
27006
27007 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27008 # socket/setsockopt and other routines are undefined under SCO ODT
27009 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27010 # on later versions), says Simon Leinen: it contains gethostby*
27011 # variants that don't use the name server (or something). -lsocket
27012 # must be given before -lnsl if both are needed. We assume that
27013 # if connect needs -lnsl, so does gethostbyname.
27014 echo "$as_me:$LINENO: checking for connect" >&5
27015 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27016 if test "${ac_cv_func_connect+set}" = set; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27018 else
27019 cat >conftest.$ac_ext <<_ACEOF
27020 /* confdefs.h. */
27021 _ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27025 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27027 #define connect innocuous_connect
27028
27029 /* System header to define __stub macros and hopefully few prototypes,
27030 which can conflict with char connect (); below.
27031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27032 <limits.h> exists even on freestanding compilers. */
27033
27034 #ifdef __STDC__
27035 # include <limits.h>
27036 #else
27037 # include <assert.h>
27038 #endif
27039
27040 #undef connect
27041
27042 /* Override any gcc2 internal prototype to avoid an error. */
27043 #ifdef __cplusplus
27044 extern "C"
27045 {
27046 #endif
27047 /* We use char because int might match the return type of a gcc2
27048 builtin and then its argument prototype would still apply. */
27049 char connect ();
27050 /* The GNU C library defines this for functions which it implements
27051 to always fail with ENOSYS. Some functions are actually named
27052 something starting with __ and the normal name is an alias. */
27053 #if defined (__stub_connect) || defined (__stub___connect)
27054 choke me
27055 #else
27056 char (*f) () = connect;
27057 #endif
27058 #ifdef __cplusplus
27059 }
27060 #endif
27061
27062 int
27063 main ()
27064 {
27065 return f != connect;
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 rm -f conftest.$ac_objext conftest$ac_exeext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27072 (eval $ac_link) 2>conftest.er1
27073 ac_status=$?
27074 grep -v '^ *+' conftest.er1 >conftest.err
27075 rm -f conftest.er1
27076 cat conftest.err >&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try='test -s conftest$ac_exeext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_cv_func_connect=yes
27092 else
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27095
27096 ac_cv_func_connect=no
27097 fi
27098 rm -f conftest.err conftest.$ac_objext \
27099 conftest$ac_exeext conftest.$ac_ext
27100 fi
27101 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27102 echo "${ECHO_T}$ac_cv_func_connect" >&6
27103
27104 if test $ac_cv_func_connect = no; then
27105 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27106 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27107 if test "${ac_cv_lib_socket_connect+set}" = set; then
27108 echo $ECHO_N "(cached) $ECHO_C" >&6
27109 else
27110 ac_check_lib_save_LIBS=$LIBS
27111 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27112 cat >conftest.$ac_ext <<_ACEOF
27113 /* confdefs.h. */
27114 _ACEOF
27115 cat confdefs.h >>conftest.$ac_ext
27116 cat >>conftest.$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27118
27119 /* Override any gcc2 internal prototype to avoid an error. */
27120 #ifdef __cplusplus
27121 extern "C"
27122 #endif
27123 /* We use char because int might match the return type of a gcc2
27124 builtin and then its argument prototype would still apply. */
27125 char connect ();
27126 int
27127 main ()
27128 {
27129 connect ();
27130 ;
27131 return 0;
27132 }
27133 _ACEOF
27134 rm -f conftest.$ac_objext conftest$ac_exeext
27135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27136 (eval $ac_link) 2>conftest.er1
27137 ac_status=$?
27138 grep -v '^ *+' conftest.er1 >conftest.err
27139 rm -f conftest.er1
27140 cat conftest.err >&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); } &&
27143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27146 ac_status=$?
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; } &&
27149 { ac_try='test -s conftest$ac_exeext'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; }; then
27155 ac_cv_lib_socket_connect=yes
27156 else
27157 echo "$as_me: failed program was:" >&5
27158 sed 's/^/| /' conftest.$ac_ext >&5
27159
27160 ac_cv_lib_socket_connect=no
27161 fi
27162 rm -f conftest.err conftest.$ac_objext \
27163 conftest$ac_exeext conftest.$ac_ext
27164 LIBS=$ac_check_lib_save_LIBS
27165 fi
27166 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27167 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27168 if test $ac_cv_lib_socket_connect = yes; then
27169 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27170 fi
27171
27172 fi
27173
27174 # Guillermo Gomez says -lposix is necessary on A/UX.
27175 echo "$as_me:$LINENO: checking for remove" >&5
27176 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27177 if test "${ac_cv_func_remove+set}" = set; then
27178 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 else
27180 cat >conftest.$ac_ext <<_ACEOF
27181 /* confdefs.h. */
27182 _ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27188 #define remove innocuous_remove
27189
27190 /* System header to define __stub macros and hopefully few prototypes,
27191 which can conflict with char remove (); below.
27192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27193 <limits.h> exists even on freestanding compilers. */
27194
27195 #ifdef __STDC__
27196 # include <limits.h>
27197 #else
27198 # include <assert.h>
27199 #endif
27200
27201 #undef remove
27202
27203 /* Override any gcc2 internal prototype to avoid an error. */
27204 #ifdef __cplusplus
27205 extern "C"
27206 {
27207 #endif
27208 /* We use char because int might match the return type of a gcc2
27209 builtin and then its argument prototype would still apply. */
27210 char remove ();
27211 /* The GNU C library defines this for functions which it implements
27212 to always fail with ENOSYS. Some functions are actually named
27213 something starting with __ and the normal name is an alias. */
27214 #if defined (__stub_remove) || defined (__stub___remove)
27215 choke me
27216 #else
27217 char (*f) () = remove;
27218 #endif
27219 #ifdef __cplusplus
27220 }
27221 #endif
27222
27223 int
27224 main ()
27225 {
27226 return f != remove;
27227 ;
27228 return 0;
27229 }
27230 _ACEOF
27231 rm -f conftest.$ac_objext conftest$ac_exeext
27232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27233 (eval $ac_link) 2>conftest.er1
27234 ac_status=$?
27235 grep -v '^ *+' conftest.er1 >conftest.err
27236 rm -f conftest.er1
27237 cat conftest.err >&5
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); } &&
27240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27242 (eval $ac_try) 2>&5
27243 ac_status=$?
27244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27245 (exit $ac_status); }; } &&
27246 { ac_try='test -s conftest$ac_exeext'
27247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27248 (eval $ac_try) 2>&5
27249 ac_status=$?
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); }; }; then
27252 ac_cv_func_remove=yes
27253 else
27254 echo "$as_me: failed program was:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27256
27257 ac_cv_func_remove=no
27258 fi
27259 rm -f conftest.err conftest.$ac_objext \
27260 conftest$ac_exeext conftest.$ac_ext
27261 fi
27262 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27263 echo "${ECHO_T}$ac_cv_func_remove" >&6
27264
27265 if test $ac_cv_func_remove = no; then
27266 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27267 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27268 if test "${ac_cv_lib_posix_remove+set}" = set; then
27269 echo $ECHO_N "(cached) $ECHO_C" >&6
27270 else
27271 ac_check_lib_save_LIBS=$LIBS
27272 LIBS="-lposix $LIBS"
27273 cat >conftest.$ac_ext <<_ACEOF
27274 /* confdefs.h. */
27275 _ACEOF
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279
27280 /* Override any gcc2 internal prototype to avoid an error. */
27281 #ifdef __cplusplus
27282 extern "C"
27283 #endif
27284 /* We use char because int might match the return type of a gcc2
27285 builtin and then its argument prototype would still apply. */
27286 char remove ();
27287 int
27288 main ()
27289 {
27290 remove ();
27291 ;
27292 return 0;
27293 }
27294 _ACEOF
27295 rm -f conftest.$ac_objext conftest$ac_exeext
27296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27297 (eval $ac_link) 2>conftest.er1
27298 ac_status=$?
27299 grep -v '^ *+' conftest.er1 >conftest.err
27300 rm -f conftest.er1
27301 cat conftest.err >&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); } &&
27304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27306 (eval $ac_try) 2>&5
27307 ac_status=$?
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); }; } &&
27310 { ac_try='test -s conftest$ac_exeext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27313 ac_status=$?
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 ac_cv_lib_posix_remove=yes
27317 else
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.$ac_ext >&5
27320
27321 ac_cv_lib_posix_remove=no
27322 fi
27323 rm -f conftest.err conftest.$ac_objext \
27324 conftest$ac_exeext conftest.$ac_ext
27325 LIBS=$ac_check_lib_save_LIBS
27326 fi
27327 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27328 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27329 if test $ac_cv_lib_posix_remove = yes; then
27330 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27331 fi
27332
27333 fi
27334
27335 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27336 echo "$as_me:$LINENO: checking for shmat" >&5
27337 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27338 if test "${ac_cv_func_shmat+set}" = set; then
27339 echo $ECHO_N "(cached) $ECHO_C" >&6
27340 else
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27349 #define shmat innocuous_shmat
27350
27351 /* System header to define __stub macros and hopefully few prototypes,
27352 which can conflict with char shmat (); below.
27353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27354 <limits.h> exists even on freestanding compilers. */
27355
27356 #ifdef __STDC__
27357 # include <limits.h>
27358 #else
27359 # include <assert.h>
27360 #endif
27361
27362 #undef shmat
27363
27364 /* Override any gcc2 internal prototype to avoid an error. */
27365 #ifdef __cplusplus
27366 extern "C"
27367 {
27368 #endif
27369 /* We use char because int might match the return type of a gcc2
27370 builtin and then its argument prototype would still apply. */
27371 char shmat ();
27372 /* The GNU C library defines this for functions which it implements
27373 to always fail with ENOSYS. Some functions are actually named
27374 something starting with __ and the normal name is an alias. */
27375 #if defined (__stub_shmat) || defined (__stub___shmat)
27376 choke me
27377 #else
27378 char (*f) () = shmat;
27379 #endif
27380 #ifdef __cplusplus
27381 }
27382 #endif
27383
27384 int
27385 main ()
27386 {
27387 return f != shmat;
27388 ;
27389 return 0;
27390 }
27391 _ACEOF
27392 rm -f conftest.$ac_objext conftest$ac_exeext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27394 (eval $ac_link) 2>conftest.er1
27395 ac_status=$?
27396 grep -v '^ *+' conftest.er1 >conftest.err
27397 rm -f conftest.er1
27398 cat conftest.err >&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); } &&
27401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27404 ac_status=$?
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; } &&
27407 { ac_try='test -s conftest$ac_exeext'
27408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409 (eval $ac_try) 2>&5
27410 ac_status=$?
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; }; then
27413 ac_cv_func_shmat=yes
27414 else
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27417
27418 ac_cv_func_shmat=no
27419 fi
27420 rm -f conftest.err conftest.$ac_objext \
27421 conftest$ac_exeext conftest.$ac_ext
27422 fi
27423 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27424 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27425
27426 if test $ac_cv_func_shmat = no; then
27427 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27428 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27429 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27430 echo $ECHO_N "(cached) $ECHO_C" >&6
27431 else
27432 ac_check_lib_save_LIBS=$LIBS
27433 LIBS="-lipc $LIBS"
27434 cat >conftest.$ac_ext <<_ACEOF
27435 /* confdefs.h. */
27436 _ACEOF
27437 cat confdefs.h >>conftest.$ac_ext
27438 cat >>conftest.$ac_ext <<_ACEOF
27439 /* end confdefs.h. */
27440
27441 /* Override any gcc2 internal prototype to avoid an error. */
27442 #ifdef __cplusplus
27443 extern "C"
27444 #endif
27445 /* We use char because int might match the return type of a gcc2
27446 builtin and then its argument prototype would still apply. */
27447 char shmat ();
27448 int
27449 main ()
27450 {
27451 shmat ();
27452 ;
27453 return 0;
27454 }
27455 _ACEOF
27456 rm -f conftest.$ac_objext conftest$ac_exeext
27457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27458 (eval $ac_link) 2>conftest.er1
27459 ac_status=$?
27460 grep -v '^ *+' conftest.er1 >conftest.err
27461 rm -f conftest.er1
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } &&
27465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27468 ac_status=$?
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try='test -s conftest$ac_exeext'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27474 ac_status=$?
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 ac_cv_lib_ipc_shmat=yes
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27481
27482 ac_cv_lib_ipc_shmat=no
27483 fi
27484 rm -f conftest.err conftest.$ac_objext \
27485 conftest$ac_exeext conftest.$ac_ext
27486 LIBS=$ac_check_lib_save_LIBS
27487 fi
27488 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27489 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27490 if test $ac_cv_lib_ipc_shmat = yes; then
27491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27492 fi
27493
27494 fi
27495 fi
27496
27497 # Check for libraries that X11R6 Xt/Xaw programs need.
27498 ac_save_LDFLAGS=$LDFLAGS
27499 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27500 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27501 # check for ICE first), but we must link in the order -lSM -lICE or
27502 # we get undefined symbols. So assume we have SM if we have ICE.
27503 # These have to be linked with before -lX11, unlike the other
27504 # libraries we check for below, so use a different variable.
27505 # John Interrante, Karl Berry
27506 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27507 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27508 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27509 echo $ECHO_N "(cached) $ECHO_C" >&6
27510 else
27511 ac_check_lib_save_LIBS=$LIBS
27512 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27513 cat >conftest.$ac_ext <<_ACEOF
27514 /* confdefs.h. */
27515 _ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27519
27520 /* Override any gcc2 internal prototype to avoid an error. */
27521 #ifdef __cplusplus
27522 extern "C"
27523 #endif
27524 /* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27526 char IceConnectionNumber ();
27527 int
27528 main ()
27529 {
27530 IceConnectionNumber ();
27531 ;
27532 return 0;
27533 }
27534 _ACEOF
27535 rm -f conftest.$ac_objext conftest$ac_exeext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27537 (eval $ac_link) 2>conftest.er1
27538 ac_status=$?
27539 grep -v '^ *+' conftest.er1 >conftest.err
27540 rm -f conftest.er1
27541 cat conftest.err >&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } &&
27544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27546 (eval $ac_try) 2>&5
27547 ac_status=$?
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); }; } &&
27550 { ac_try='test -s conftest$ac_exeext'
27551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552 (eval $ac_try) 2>&5
27553 ac_status=$?
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; }; then
27556 ac_cv_lib_ICE_IceConnectionNumber=yes
27557 else
27558 echo "$as_me: failed program was:" >&5
27559 sed 's/^/| /' conftest.$ac_ext >&5
27560
27561 ac_cv_lib_ICE_IceConnectionNumber=no
27562 fi
27563 rm -f conftest.err conftest.$ac_objext \
27564 conftest$ac_exeext conftest.$ac_ext
27565 LIBS=$ac_check_lib_save_LIBS
27566 fi
27567 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27568 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27569 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27570 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27571 fi
27572
27573 LDFLAGS=$ac_save_LDFLAGS
27574
27575 fi
27576
27577
27578 if test "$no_x" = "yes"; then
27579 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27580 echo "$as_me: error: X11 not found" >&2;}
27581 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27582 fi
27583
27584 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27585 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27586 AFMINSTALL=afminstall
27587 COMPILED_X_PROGRAM=0
27588
27589 fi
27590
27591 if test "$wxUSE_X11" = 1; then
27592 if test "$wxUSE_NANOX" = "yes"; then
27593 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27594 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27595 if test "x$MICROWIN" = x ; then
27596 echo "$as_me:$LINENO: result: not found" >&5
27597 echo "${ECHO_T}not found" >&6
27598 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27599 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27600 { (exit 1); exit 1; }; }
27601 else
27602 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27603 echo "${ECHO_T}$MICROWIN" >&6
27604 cat >>confdefs.h <<\_ACEOF
27605 #define wxUSE_NANOX 1
27606 _ACEOF
27607
27608 fi
27609 fi
27610
27611 if test "$wxUSE_UNICODE" = "yes"; then
27612
27613 succeeded=no
27614
27615 if test -z "$PKG_CONFIG"; then
27616 # Extract the first word of "pkg-config", so it can be a program name with args.
27617 set dummy pkg-config; ac_word=$2
27618 echo "$as_me:$LINENO: checking for $ac_word" >&5
27619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27620 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27623 case $PKG_CONFIG in
27624 [\\/]* | ?:[\\/]*)
27625 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27626 ;;
27627 *)
27628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27629 for as_dir in $PATH
27630 do
27631 IFS=$as_save_IFS
27632 test -z "$as_dir" && as_dir=.
27633 for ac_exec_ext in '' $ac_executable_extensions; do
27634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27635 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27637 break 2
27638 fi
27639 done
27640 done
27641
27642 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27643 ;;
27644 esac
27645 fi
27646 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27647
27648 if test -n "$PKG_CONFIG"; then
27649 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27650 echo "${ECHO_T}$PKG_CONFIG" >&6
27651 else
27652 echo "$as_me:$LINENO: result: no" >&5
27653 echo "${ECHO_T}no" >&6
27654 fi
27655
27656 fi
27657
27658 if test "$PKG_CONFIG" = "no" ; then
27659 echo "*** The pkg-config script could not be found. Make sure it is"
27660 echo "*** in your path, or set the PKG_CONFIG environment variable"
27661 echo "*** to the full path to pkg-config."
27662 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27663 else
27664 PKG_CONFIG_MIN_VERSION=0.9.0
27665 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27666 echo "$as_me:$LINENO: checking for pangox" >&5
27667 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27668
27669 if $PKG_CONFIG --exists "pangox" ; then
27670 echo "$as_me:$LINENO: result: yes" >&5
27671 echo "${ECHO_T}yes" >&6
27672 succeeded=yes
27673
27674 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27675 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27676 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27677 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27678 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27679
27680 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27681 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27682 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27683 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27684 echo "${ECHO_T}$PANGOX_LIBS" >&6
27685 else
27686 PANGOX_CFLAGS=""
27687 PANGOX_LIBS=""
27688 ## If we have a custom action on failure, don't print errors, but
27689 ## do set a variable so people can do so.
27690 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27691
27692 fi
27693
27694
27695
27696 else
27697 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27698 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27699 fi
27700 fi
27701
27702 if test $succeeded = yes; then
27703
27704 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27705 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27706
27707 else
27708
27709 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27710 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27711 { (exit 1); exit 1; }; }
27712
27713
27714 fi
27715
27716
27717 succeeded=no
27718
27719 if test -z "$PKG_CONFIG"; then
27720 # Extract the first word of "pkg-config", so it can be a program name with args.
27721 set dummy pkg-config; ac_word=$2
27722 echo "$as_me:$LINENO: checking for $ac_word" >&5
27723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27724 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27726 else
27727 case $PKG_CONFIG in
27728 [\\/]* | ?:[\\/]*)
27729 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27730 ;;
27731 *)
27732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27733 for as_dir in $PATH
27734 do
27735 IFS=$as_save_IFS
27736 test -z "$as_dir" && as_dir=.
27737 for ac_exec_ext in '' $ac_executable_extensions; do
27738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27739 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27741 break 2
27742 fi
27743 done
27744 done
27745
27746 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27747 ;;
27748 esac
27749 fi
27750 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27751
27752 if test -n "$PKG_CONFIG"; then
27753 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27754 echo "${ECHO_T}$PKG_CONFIG" >&6
27755 else
27756 echo "$as_me:$LINENO: result: no" >&5
27757 echo "${ECHO_T}no" >&6
27758 fi
27759
27760 fi
27761
27762 if test "$PKG_CONFIG" = "no" ; then
27763 echo "*** The pkg-config script could not be found. Make sure it is"
27764 echo "*** in your path, or set the PKG_CONFIG environment variable"
27765 echo "*** to the full path to pkg-config."
27766 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27767 else
27768 PKG_CONFIG_MIN_VERSION=0.9.0
27769 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27770 echo "$as_me:$LINENO: checking for pangoft2" >&5
27771 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27772
27773 if $PKG_CONFIG --exists "pangoft2" ; then
27774 echo "$as_me:$LINENO: result: yes" >&5
27775 echo "${ECHO_T}yes" >&6
27776 succeeded=yes
27777
27778 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27779 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27780 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27781 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27782 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27783
27784 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27785 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27786 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27787 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27788 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27789 else
27790 PANGOFT2_CFLAGS=""
27791 PANGOFT2_LIBS=""
27792 ## If we have a custom action on failure, don't print errors, but
27793 ## do set a variable so people can do so.
27794 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27795
27796 fi
27797
27798
27799
27800 else
27801 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27802 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27803 fi
27804 fi
27805
27806 if test $succeeded = yes; then
27807
27808 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27809 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27810
27811 else
27812
27813 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27814 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27815 wxUSE_PRINTING_ARCHITECTURE="no"
27816
27817
27818 fi
27819
27820
27821 succeeded=no
27822
27823 if test -z "$PKG_CONFIG"; then
27824 # Extract the first word of "pkg-config", so it can be a program name with args.
27825 set dummy pkg-config; ac_word=$2
27826 echo "$as_me:$LINENO: checking for $ac_word" >&5
27827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27828 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27829 echo $ECHO_N "(cached) $ECHO_C" >&6
27830 else
27831 case $PKG_CONFIG in
27832 [\\/]* | ?:[\\/]*)
27833 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27834 ;;
27835 *)
27836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27837 for as_dir in $PATH
27838 do
27839 IFS=$as_save_IFS
27840 test -z "$as_dir" && as_dir=.
27841 for ac_exec_ext in '' $ac_executable_extensions; do
27842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27843 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27845 break 2
27846 fi
27847 done
27848 done
27849
27850 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27851 ;;
27852 esac
27853 fi
27854 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27855
27856 if test -n "$PKG_CONFIG"; then
27857 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27858 echo "${ECHO_T}$PKG_CONFIG" >&6
27859 else
27860 echo "$as_me:$LINENO: result: no" >&5
27861 echo "${ECHO_T}no" >&6
27862 fi
27863
27864 fi
27865
27866 if test "$PKG_CONFIG" = "no" ; then
27867 echo "*** The pkg-config script could not be found. Make sure it is"
27868 echo "*** in your path, or set the PKG_CONFIG environment variable"
27869 echo "*** to the full path to pkg-config."
27870 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27871 else
27872 PKG_CONFIG_MIN_VERSION=0.9.0
27873 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27874 echo "$as_me:$LINENO: checking for pangoxft" >&5
27875 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27876
27877 if $PKG_CONFIG --exists "pangoxft" ; then
27878 echo "$as_me:$LINENO: result: yes" >&5
27879 echo "${ECHO_T}yes" >&6
27880 succeeded=yes
27881
27882 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27883 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27884 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27885 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27886 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27887
27888 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27889 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27890 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27891 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27892 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27893 else
27894 PANGOXFT_CFLAGS=""
27895 PANGOXFT_LIBS=""
27896 ## If we have a custom action on failure, don't print errors, but
27897 ## do set a variable so people can do so.
27898 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27899
27900 fi
27901
27902
27903
27904 else
27905 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27906 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27907 fi
27908 fi
27909
27910 if test $succeeded = yes; then
27911
27912 cat >>confdefs.h <<\_ACEOF
27913 #define HAVE_PANGO_XFT 1
27914 _ACEOF
27915
27916 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27917 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27918
27919 else
27920
27921 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27922 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27923
27924
27925 fi
27926
27927 save_CFLAGS="$CFLAGS"
27928 save_LIBS="$LIBS"
27929 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27930 LIBS="$LIBS $PANGOX_LIBS"
27931
27932 for ac_func in pango_font_family_is_monospace
27933 do
27934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27935 echo "$as_me:$LINENO: checking for $ac_func" >&5
27936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27937 if eval "test \"\${$as_ac_var+set}\" = set"; then
27938 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 else
27940 cat >conftest.$ac_ext <<_ACEOF
27941 /* confdefs.h. */
27942 _ACEOF
27943 cat confdefs.h >>conftest.$ac_ext
27944 cat >>conftest.$ac_ext <<_ACEOF
27945 /* end confdefs.h. */
27946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27948 #define $ac_func innocuous_$ac_func
27949
27950 /* System header to define __stub macros and hopefully few prototypes,
27951 which can conflict with char $ac_func (); below.
27952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27953 <limits.h> exists even on freestanding compilers. */
27954
27955 #ifdef __STDC__
27956 # include <limits.h>
27957 #else
27958 # include <assert.h>
27959 #endif
27960
27961 #undef $ac_func
27962
27963 /* Override any gcc2 internal prototype to avoid an error. */
27964 #ifdef __cplusplus
27965 extern "C"
27966 {
27967 #endif
27968 /* We use char because int might match the return type of a gcc2
27969 builtin and then its argument prototype would still apply. */
27970 char $ac_func ();
27971 /* The GNU C library defines this for functions which it implements
27972 to always fail with ENOSYS. Some functions are actually named
27973 something starting with __ and the normal name is an alias. */
27974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27975 choke me
27976 #else
27977 char (*f) () = $ac_func;
27978 #endif
27979 #ifdef __cplusplus
27980 }
27981 #endif
27982
27983 int
27984 main ()
27985 {
27986 return f != $ac_func;
27987 ;
27988 return 0;
27989 }
27990 _ACEOF
27991 rm -f conftest.$ac_objext conftest$ac_exeext
27992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27993 (eval $ac_link) 2>conftest.er1
27994 ac_status=$?
27995 grep -v '^ *+' conftest.er1 >conftest.err
27996 rm -f conftest.er1
27997 cat conftest.err >&5
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); } &&
28000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28002 (eval $ac_try) 2>&5
28003 ac_status=$?
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); }; } &&
28006 { ac_try='test -s conftest$ac_exeext'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28009 ac_status=$?
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; }; then
28012 eval "$as_ac_var=yes"
28013 else
28014 echo "$as_me: failed program was:" >&5
28015 sed 's/^/| /' conftest.$ac_ext >&5
28016
28017 eval "$as_ac_var=no"
28018 fi
28019 rm -f conftest.err conftest.$ac_objext \
28020 conftest$ac_exeext conftest.$ac_ext
28021 fi
28022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28024 if test `eval echo '${'$as_ac_var'}'` = yes; then
28025 cat >>confdefs.h <<_ACEOF
28026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28027 _ACEOF
28028
28029 fi
28030 done
28031
28032 CFLAGS="$save_CFLAGS"
28033 LIBS="$save_LIBS"
28034 fi
28035
28036 wxUSE_UNIVERSAL="yes"
28037
28038 if test "$wxUSE_NANOX" = "yes"; then
28039 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28040 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"
28041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28042 else
28043 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28044 fi
28045
28046 TOOLKIT=X11
28047 GUIDIST=X11_DIST
28048 fi
28049
28050 if test "$wxUSE_MOTIF" = 1; then
28051 if test "$wxUSE_UNICODE" = "yes"; then
28052 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28053 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28054 { (exit 1); exit 1; }; }
28055 fi
28056
28057 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28058 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28059
28060 ac_find_includes=
28061 for ac_dir in $SEARCH_INCLUDE /usr/include;
28062 do
28063 if test -f "$ac_dir/Xm/Xm.h"; then
28064 ac_find_includes=$ac_dir
28065 break
28066 fi
28067 done
28068
28069 if test "$ac_find_includes" != "" ; then
28070 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28071 echo "${ECHO_T}found in $ac_find_includes" >&6
28072
28073 if test "x$ac_find_includes" = "x/usr/include"; then
28074 ac_path_to_include=""
28075 else
28076 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28077 result=$?
28078 if test $result = 0; then
28079 ac_path_to_include=""
28080 else
28081 ac_path_to_include=" -I$ac_find_includes"
28082 fi
28083 fi
28084
28085 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28086 else
28087 cat >conftest.$ac_ext <<_ACEOF
28088 /* confdefs.h. */
28089 _ACEOF
28090 cat confdefs.h >>conftest.$ac_ext
28091 cat >>conftest.$ac_ext <<_ACEOF
28092 /* end confdefs.h. */
28093
28094 #include <Xm/Xm.h>
28095
28096 int
28097 main ()
28098 {
28099
28100 int version;
28101 version = xmUseVersion;
28102
28103 ;
28104 return 0;
28105 }
28106 _ACEOF
28107 rm -f conftest.$ac_objext
28108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28109 (eval $ac_compile) 2>conftest.er1
28110 ac_status=$?
28111 grep -v '^ *+' conftest.er1 >conftest.err
28112 rm -f conftest.er1
28113 cat conftest.err >&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } &&
28116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28119 ac_status=$?
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; } &&
28122 { ac_try='test -s conftest.$ac_objext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28125 ac_status=$?
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28128
28129 echo "$as_me:$LINENO: result: found in default search path" >&5
28130 echo "${ECHO_T}found in default search path" >&6
28131 COMPILED_X_PROGRAM=1
28132
28133 else
28134 echo "$as_me: failed program was:" >&5
28135 sed 's/^/| /' conftest.$ac_ext >&5
28136
28137
28138 echo "$as_me:$LINENO: result: no" >&5
28139 echo "${ECHO_T}no" >&6
28140 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28141 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28142 { (exit 1); exit 1; }; }
28143
28144
28145 fi
28146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28147 fi
28148
28149 if test "$COMPILED_X_PROGRAM" = 0; then
28150 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28151 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28152
28153 ac_find_libraries=
28154 for ac_dir in $SEARCH_LIB /usr/lib;
28155 do
28156 for ac_extension in a so sl dylib; do
28157 if test -f "$ac_dir/libXm.$ac_extension"; then
28158 ac_find_libraries=$ac_dir
28159 break 2
28160 fi
28161 done
28162 done
28163
28164 if test "$ac_find_libraries" != "" ; then
28165 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28166 echo "${ECHO_T}found at $ac_find_libraries" >&6
28167
28168
28169 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28170 result=$?
28171 if test $result = 0; then
28172 ac_path_to_link=""
28173 else
28174 ac_path_to_link=" -L$ac_find_libraries"
28175 fi
28176
28177 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28178 else
28179 save_CFLAGS=$CFLAGS
28180 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28181
28182 cat >conftest.$ac_ext <<_ACEOF
28183 /* confdefs.h. */
28184 _ACEOF
28185 cat confdefs.h >>conftest.$ac_ext
28186 cat >>conftest.$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28188
28189 #include <Xm/Xm.h>
28190
28191 int
28192 main ()
28193 {
28194
28195 int version;
28196 version = xmUseVersion;
28197
28198 ;
28199 return 0;
28200 }
28201 _ACEOF
28202 rm -f conftest.$ac_objext
28203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28204 (eval $ac_compile) 2>conftest.er1
28205 ac_status=$?
28206 grep -v '^ *+' conftest.er1 >conftest.err
28207 rm -f conftest.er1
28208 cat conftest.err >&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; } &&
28217 { ac_try='test -s conftest.$ac_objext'
28218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219 (eval $ac_try) 2>&5
28220 ac_status=$?
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; }; then
28223
28224 echo "$as_me:$LINENO: result: found in default search path" >&5
28225 echo "${ECHO_T}found in default search path" >&6
28226 COMPILED_X_PROGRAM=1
28227
28228 else
28229 echo "$as_me: failed program was:" >&5
28230 sed 's/^/| /' conftest.$ac_ext >&5
28231
28232
28233 echo "$as_me:$LINENO: result: no" >&5
28234 echo "${ECHO_T}no" >&6
28235 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28236 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28237 { (exit 1); exit 1; }; }
28238
28239
28240 fi
28241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28242
28243 CFLAGS=$save_CFLAGS
28244 fi
28245 fi
28246
28247 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28248 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28249 libp_link=""
28250 libsm_ice_link=""
28251 libs_found=0
28252 for libp in "" " -lXp"; do
28253 if test "$libs_found" = "0"; then
28254 for libsm_ice in "" " -lSM -lICE"; do
28255 if test "$libs_found" = "0"; then
28256 save_LIBS="$LIBS"
28257 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28258 save_CFLAGS=$CFLAGS
28259 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28260
28261 cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h. */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267
28268 #include <Xm/Xm.h>
28269 #include <Xm/List.h>
28270
28271 int
28272 main ()
28273 {
28274
28275 XmString string = NULL;
28276 Widget w = NULL;
28277 int position = 0;
28278 XmListAddItem(w, string, position);
28279
28280 ;
28281 return 0;
28282 }
28283 _ACEOF
28284 rm -f conftest.$ac_objext conftest$ac_exeext
28285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28286 (eval $ac_link) 2>conftest.er1
28287 ac_status=$?
28288 grep -v '^ *+' conftest.er1 >conftest.err
28289 rm -f conftest.er1
28290 cat conftest.err >&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } &&
28293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28296 ac_status=$?
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; } &&
28299 { ac_try='test -s conftest$ac_exeext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28305
28306 libp_link="$libp"
28307 libsm_ice_link="$libsm_ice"
28308 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28309 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28310 libs_found=1
28311
28312 else
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28315
28316
28317
28318 fi
28319 rm -f conftest.err conftest.$ac_objext \
28320 conftest$ac_exeext conftest.$ac_ext
28321
28322 LIBS="$save_LIBS"
28323 CFLAGS=$save_CFLAGS
28324 fi
28325 done
28326 fi
28327 done
28328
28329 if test "$libs_found" = "0"; then
28330 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28331 echo "${ECHO_T}can't find the right libraries" >&6
28332 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28333 echo "$as_me: error: can't link a simple motif program" >&2;}
28334 { (exit 1); exit 1; }; }
28335 fi
28336
28337 save_CFLAGS=$CFLAGS
28338 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28339 echo "$as_me:$LINENO: checking for Motif 2" >&5
28340 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28341 cat >conftest.$ac_ext <<_ACEOF
28342 /* confdefs.h. */
28343 _ACEOF
28344 cat confdefs.h >>conftest.$ac_ext
28345 cat >>conftest.$ac_ext <<_ACEOF
28346 /* end confdefs.h. */
28347
28348 #include <Xm/Xm.h>
28349
28350 int
28351 main ()
28352 {
28353
28354 #if XmVersion < 2000
28355 #error "Not Motif 2"
28356 #endif
28357
28358 ;
28359 return 0;
28360 }
28361 _ACEOF
28362 rm -f conftest.$ac_objext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28364 (eval $ac_compile) 2>conftest.er1
28365 ac_status=$?
28366 grep -v '^ *+' conftest.er1 >conftest.err
28367 rm -f conftest.er1
28368 cat conftest.err >&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28374 ac_status=$?
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; } &&
28377 { ac_try='test -s conftest.$ac_objext'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28380 ac_status=$?
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; }; then
28383
28384 cat >>confdefs.h <<\_ACEOF
28385 #define __WXMOTIF20__ 1
28386 _ACEOF
28387
28388 echo "$as_me:$LINENO: result: found" >&5
28389 echo "${ECHO_T}found" >&6
28390
28391 else
28392 echo "$as_me: failed program was:" >&5
28393 sed 's/^/| /' conftest.$ac_ext >&5
28394
28395
28396 cat >>confdefs.h <<\_ACEOF
28397 #define __WXMOTIF20__ 0
28398 _ACEOF
28399
28400 echo "$as_me:$LINENO: result: not found" >&5
28401 echo "${ECHO_T}not found" >&6
28402
28403 fi
28404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28405 CFLAGS=$save_CFLAGS
28406
28407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28408 TOOLKIT=MOTIF
28409 GUIDIST=MOTIF_DIST
28410 fi
28411
28412 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28413 if test "$wxUSE_LIBXPM" = "sys"; then
28414 echo "$as_me:$LINENO: checking for Xpm library" >&5
28415 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28416
28417 ac_find_libraries=
28418 for ac_dir in $SEARCH_LIB /usr/lib;
28419 do
28420 for ac_extension in a so sl dylib; do
28421 if test -f "$ac_dir/libXpm.$ac_extension"; then
28422 ac_find_libraries=$ac_dir
28423 break 2
28424 fi
28425 done
28426 done
28427
28428 if test "$ac_find_libraries" != "" ; then
28429
28430 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28431 result=$?
28432 if test $result = 0; then
28433 ac_path_to_link=""
28434 else
28435 ac_path_to_link=" -L$ac_find_libraries"
28436 fi
28437
28438 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28439 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28440 echo "${ECHO_T}found at $ac_find_libraries" >&6
28441
28442 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28443 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28444 if test "${wx_cv_x11_xpm_h+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 else
28447
28448 save_CFLAGS=$CFLAGS
28449 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28450
28451 cat >conftest.$ac_ext <<_ACEOF
28452 /* confdefs.h. */
28453 _ACEOF
28454 cat confdefs.h >>conftest.$ac_ext
28455 cat >>conftest.$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28457
28458 #include <X11/xpm.h>
28459
28460 int
28461 main ()
28462 {
28463
28464 int version;
28465 version = XpmLibraryVersion();
28466
28467 ;
28468 return 0;
28469 }
28470 _ACEOF
28471 rm -f conftest.$ac_objext
28472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28473 (eval $ac_compile) 2>conftest.er1
28474 ac_status=$?
28475 grep -v '^ *+' conftest.er1 >conftest.err
28476 rm -f conftest.er1
28477 cat conftest.err >&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); } &&
28480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28482 (eval $ac_try) 2>&5
28483 ac_status=$?
28484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 (exit $ac_status); }; } &&
28486 { ac_try='test -s conftest.$ac_objext'
28487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28488 (eval $ac_try) 2>&5
28489 ac_status=$?
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); }; }; then
28492 wx_cv_x11_xpm_h=yes
28493 else
28494 echo "$as_me: failed program was:" >&5
28495 sed 's/^/| /' conftest.$ac_ext >&5
28496
28497 wx_cv_x11_xpm_h=no
28498
28499 fi
28500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28501
28502 CFLAGS=$save_CFLAGS
28503
28504
28505 fi
28506 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28507 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28508
28509 if test $wx_cv_x11_xpm_h = "yes"; then
28510 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28511 cat >>confdefs.h <<\_ACEOF
28512 #define wxHAVE_LIB_XPM 1
28513 _ACEOF
28514
28515 else
28516 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28517 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28518 fi
28519 fi
28520
28521 fi
28522
28523 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28524 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28525 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28527 else
28528 ac_check_lib_save_LIBS=$LIBS
28529 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28530 cat >conftest.$ac_ext <<_ACEOF
28531 /* confdefs.h. */
28532 _ACEOF
28533 cat confdefs.h >>conftest.$ac_ext
28534 cat >>conftest.$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28536
28537 /* Override any gcc2 internal prototype to avoid an error. */
28538 #ifdef __cplusplus
28539 extern "C"
28540 #endif
28541 /* We use char because int might match the return type of a gcc2
28542 builtin and then its argument prototype would still apply. */
28543 char XShapeQueryExtension ();
28544 int
28545 main ()
28546 {
28547 XShapeQueryExtension ();
28548 ;
28549 return 0;
28550 }
28551 _ACEOF
28552 rm -f conftest.$ac_objext conftest$ac_exeext
28553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28554 (eval $ac_link) 2>conftest.er1
28555 ac_status=$?
28556 grep -v '^ *+' conftest.er1 >conftest.err
28557 rm -f conftest.er1
28558 cat conftest.err >&5
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); } &&
28561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28563 (eval $ac_try) 2>&5
28564 ac_status=$?
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; } &&
28567 { ac_try='test -s conftest$ac_exeext'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28570 ac_status=$?
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; }; then
28573 ac_cv_lib_Xext_XShapeQueryExtension=yes
28574 else
28575 echo "$as_me: failed program was:" >&5
28576 sed 's/^/| /' conftest.$ac_ext >&5
28577
28578 ac_cv_lib_Xext_XShapeQueryExtension=no
28579 fi
28580 rm -f conftest.err conftest.$ac_objext \
28581 conftest$ac_exeext conftest.$ac_ext
28582 LIBS=$ac_check_lib_save_LIBS
28583 fi
28584 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28585 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28586 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28587
28588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28589 wxHAVE_XEXT_LIB=1
28590
28591 fi
28592
28593
28594 if test "$wxHAVE_XEXT_LIB" = 1; then
28595 save_CFLAGS="$CFLAGS"
28596 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28597
28598 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28599 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28600 cat >conftest.$ac_ext <<_ACEOF
28601 /* confdefs.h. */
28602 _ACEOF
28603 cat confdefs.h >>conftest.$ac_ext
28604 cat >>conftest.$ac_ext <<_ACEOF
28605 /* end confdefs.h. */
28606
28607 #include <X11/Xlib.h>
28608 #include <X11/extensions/shape.h>
28609
28610 int
28611 main ()
28612 {
28613
28614 int dummy1, dummy2;
28615 XShapeQueryExtension((Display*)NULL,
28616 (int*)NULL, (int*)NULL);
28617
28618 ;
28619 return 0;
28620 }
28621 _ACEOF
28622 rm -f conftest.$ac_objext
28623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28624 (eval $ac_compile) 2>conftest.er1
28625 ac_status=$?
28626 grep -v '^ *+' conftest.er1 >conftest.err
28627 rm -f conftest.er1
28628 cat conftest.err >&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); } &&
28631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28633 (eval $ac_try) 2>&5
28634 ac_status=$?
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); }; } &&
28637 { ac_try='test -s conftest.$ac_objext'
28638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28639 (eval $ac_try) 2>&5
28640 ac_status=$?
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); }; }; then
28643
28644 cat >>confdefs.h <<\_ACEOF
28645 #define HAVE_XSHAPE 1
28646 _ACEOF
28647
28648 echo "$as_me:$LINENO: result: found" >&5
28649 echo "${ECHO_T}found" >&6
28650
28651 else
28652 echo "$as_me: failed program was:" >&5
28653 sed 's/^/| /' conftest.$ac_ext >&5
28654
28655
28656 echo "$as_me:$LINENO: result: not found" >&5
28657 echo "${ECHO_T}not found" >&6
28658
28659 fi
28660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28661 CFLAGS="$save_CFLAGS"
28662
28663 fi
28664 fi
28665
28666 if test "$wxUSE_MAC" = 1; then
28667 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28668 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28669 if test "$GCC" = yes; then
28670 echo "$as_me:$LINENO: result: gcc" >&5
28671 echo "${ECHO_T}gcc" >&6
28672 CPPFLAGS_PASCAL="-fpascal-strings"
28673 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28674 echo "$as_me:$LINENO: result: xlc" >&5
28675 echo "${ECHO_T}xlc" >&6
28676 CPPFLAGS_PASCAL="-qmacpstr"
28677 else
28678 echo "$as_me:$LINENO: result: none" >&5
28679 echo "${ECHO_T}none" >&6
28680 fi
28681
28682 if test "x$wxUSE_UNIX" = "xyes"; then
28683 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28684 else
28685 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28686 fi
28687
28688 TOOLKIT=MAC
28689 GUIDIST=MACX_DIST
28690 WXBASEPORT="_carbon"
28691 fi
28692
28693 if test "$wxUSE_COCOA" = 1; then
28694 TOOLKIT=COCOA
28695 GUIDIST=COCOA_DIST
28696 fi
28697
28698 if test "$wxUSE_PM" = 1; then
28699 TOOLKIT=PM
28700 GUIDIST=PM_DIST
28701 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28702 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28703 if test "${wx_cv_spbcdata+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28705 else
28706
28707 cat >conftest.$ac_ext <<_ACEOF
28708 /* confdefs.h. */
28709 _ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28713
28714 #define INCL_PM
28715 #include <os2.h>
28716
28717 int
28718 main ()
28719 {
28720
28721 SPBCDATA test;
28722
28723 ;
28724 return 0;
28725 }
28726 _ACEOF
28727 rm -f conftest.$ac_objext
28728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28729 (eval $ac_compile) 2>conftest.er1
28730 ac_status=$?
28731 grep -v '^ *+' conftest.er1 >conftest.err
28732 rm -f conftest.er1
28733 cat conftest.err >&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); } &&
28736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28738 (eval $ac_try) 2>&5
28739 ac_status=$?
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); }; } &&
28742 { ac_try='test -s conftest.$ac_objext'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28745 ac_status=$?
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; }; then
28748 wx_cv_spbcdata=yes
28749 else
28750 echo "$as_me: failed program was:" >&5
28751 sed 's/^/| /' conftest.$ac_ext >&5
28752
28753 wx_cv_spbcdata=no
28754
28755 fi
28756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28757
28758
28759 fi
28760 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28761 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28762
28763 if test $wx_cv_spbcdata = "yes"; then
28764 cat >>confdefs.h <<\_ACEOF
28765 #define HAVE_SPBCDATA 1
28766 _ACEOF
28767
28768 fi
28769 fi
28770
28771 if test "$TOOLKIT" = "PM" ; then
28772 TOOLKIT_DIR="os2"
28773 else
28774 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28775 fi
28776
28777 if test "$wxUSE_UNIVERSAL" = "yes"; then
28778 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28779 WIDGET_SET=univ
28780 fi
28781
28782 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28783 DISTDIR="wx\$(TOOLKIT)"
28784 else
28785 USE_GUI=0
28786
28787 TOOLKIT_DIR="base"
28788
28789 if test "$USE_WIN32" = 1 ; then
28790 TOOLKIT="MSW"
28791 fi
28792
28793 GUIDIST="BASE_DIST"
28794 DISTDIR="wxBase"
28795 fi
28796
28797
28798
28799
28800 IODBC_C_SRC=""
28801
28802
28803 if test "$TOOLKIT" != "MSW" ; then
28804
28805 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28806
28807 if test "${ac_cv_header_sql_h+set}" = set; then
28808 echo "$as_me:$LINENO: checking for sql.h" >&5
28809 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28810 if test "${ac_cv_header_sql_h+set}" = set; then
28811 echo $ECHO_N "(cached) $ECHO_C" >&6
28812 fi
28813 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28814 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28815 else
28816 # Is the header compilable?
28817 echo "$as_me:$LINENO: checking sql.h usability" >&5
28818 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28819 cat >conftest.$ac_ext <<_ACEOF
28820 /* confdefs.h. */
28821 _ACEOF
28822 cat confdefs.h >>conftest.$ac_ext
28823 cat >>conftest.$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825 $ac_includes_default
28826 #include <sql.h>
28827 _ACEOF
28828 rm -f conftest.$ac_objext
28829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28830 (eval $ac_compile) 2>conftest.er1
28831 ac_status=$?
28832 grep -v '^ *+' conftest.er1 >conftest.err
28833 rm -f conftest.er1
28834 cat conftest.err >&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); } &&
28837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
28843 { ac_try='test -s conftest.$ac_objext'
28844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28845 (eval $ac_try) 2>&5
28846 ac_status=$?
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); }; }; then
28849 ac_header_compiler=yes
28850 else
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.$ac_ext >&5
28853
28854 ac_header_compiler=no
28855 fi
28856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28858 echo "${ECHO_T}$ac_header_compiler" >&6
28859
28860 # Is the header present?
28861 echo "$as_me:$LINENO: checking sql.h presence" >&5
28862 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28863 cat >conftest.$ac_ext <<_ACEOF
28864 /* confdefs.h. */
28865 _ACEOF
28866 cat confdefs.h >>conftest.$ac_ext
28867 cat >>conftest.$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28869 #include <sql.h>
28870 _ACEOF
28871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28873 ac_status=$?
28874 grep -v '^ *+' conftest.er1 >conftest.err
28875 rm -f conftest.er1
28876 cat conftest.err >&5
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); } >/dev/null; then
28879 if test -s conftest.err; then
28880 ac_cpp_err=$ac_c_preproc_warn_flag
28881 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28882 else
28883 ac_cpp_err=
28884 fi
28885 else
28886 ac_cpp_err=yes
28887 fi
28888 if test -z "$ac_cpp_err"; then
28889 ac_header_preproc=yes
28890 else
28891 echo "$as_me: failed program was:" >&5
28892 sed 's/^/| /' conftest.$ac_ext >&5
28893
28894 ac_header_preproc=no
28895 fi
28896 rm -f conftest.err conftest.$ac_ext
28897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28898 echo "${ECHO_T}$ac_header_preproc" >&6
28899
28900 # So? What about this header?
28901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28902 yes:no: )
28903 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28904 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28905 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28906 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28907 ac_header_preproc=yes
28908 ;;
28909 no:yes:* )
28910 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28911 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28912 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28913 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28914 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28915 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28916 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28917 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28918 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28919 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28920 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28921 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28922 (
28923 cat <<\_ASBOX
28924 ## ----------------------------------------- ##
28925 ## Report this to wx-dev@lists.wxwidgets.org ##
28926 ## ----------------------------------------- ##
28927 _ASBOX
28928 ) |
28929 sed "s/^/$as_me: WARNING: /" >&2
28930 ;;
28931 esac
28932 echo "$as_me:$LINENO: checking for sql.h" >&5
28933 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28934 if test "${ac_cv_header_sql_h+set}" = set; then
28935 echo $ECHO_N "(cached) $ECHO_C" >&6
28936 else
28937 ac_cv_header_sql_h=$ac_header_preproc
28938 fi
28939 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28940 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28941
28942 fi
28943 if test $ac_cv_header_sql_h = yes; then
28944 found_sql_h=1
28945 fi
28946
28947
28948 if test "x$found_sql_h" = "x1" ; then
28949 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28950 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28951 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28953 else
28954 ac_check_lib_save_LIBS=$LIBS
28955 LIBS="-liodbc $LIBS"
28956 cat >conftest.$ac_ext <<_ACEOF
28957 /* confdefs.h. */
28958 _ACEOF
28959 cat confdefs.h >>conftest.$ac_ext
28960 cat >>conftest.$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28962
28963 /* Override any gcc2 internal prototype to avoid an error. */
28964 #ifdef __cplusplus
28965 extern "C"
28966 #endif
28967 /* We use char because int might match the return type of a gcc2
28968 builtin and then its argument prototype would still apply. */
28969 char SQLAllocEnv ();
28970 int
28971 main ()
28972 {
28973 SQLAllocEnv ();
28974 ;
28975 return 0;
28976 }
28977 _ACEOF
28978 rm -f conftest.$ac_objext conftest$ac_exeext
28979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28980 (eval $ac_link) 2>conftest.er1
28981 ac_status=$?
28982 grep -v '^ *+' conftest.er1 >conftest.err
28983 rm -f conftest.er1
28984 cat conftest.err >&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); } &&
28987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989 (eval $ac_try) 2>&5
28990 ac_status=$?
28991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); }; } &&
28993 { ac_try='test -s conftest$ac_exeext'
28994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28995 (eval $ac_try) 2>&5
28996 ac_status=$?
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); }; }; then
28999 ac_cv_lib_iodbc_SQLAllocEnv=yes
29000 else
29001 echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.$ac_ext >&5
29003
29004 ac_cv_lib_iodbc_SQLAllocEnv=no
29005 fi
29006 rm -f conftest.err conftest.$ac_objext \
29007 conftest$ac_exeext conftest.$ac_ext
29008 LIBS=$ac_check_lib_save_LIBS
29009 fi
29010 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29011 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29012 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29013 ODBC_LINK=" -liodbc"
29014 else
29015
29016 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29017 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29018 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29019 echo $ECHO_N "(cached) $ECHO_C" >&6
29020 else
29021 ac_check_lib_save_LIBS=$LIBS
29022 LIBS="-lunixodbc $LIBS"
29023 cat >conftest.$ac_ext <<_ACEOF
29024 /* confdefs.h. */
29025 _ACEOF
29026 cat confdefs.h >>conftest.$ac_ext
29027 cat >>conftest.$ac_ext <<_ACEOF
29028 /* end confdefs.h. */
29029
29030 /* Override any gcc2 internal prototype to avoid an error. */
29031 #ifdef __cplusplus
29032 extern "C"
29033 #endif
29034 /* We use char because int might match the return type of a gcc2
29035 builtin and then its argument prototype would still apply. */
29036 char SQLAllocEnv ();
29037 int
29038 main ()
29039 {
29040 SQLAllocEnv ();
29041 ;
29042 return 0;
29043 }
29044 _ACEOF
29045 rm -f conftest.$ac_objext conftest$ac_exeext
29046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29047 (eval $ac_link) 2>conftest.er1
29048 ac_status=$?
29049 grep -v '^ *+' conftest.er1 >conftest.err
29050 rm -f conftest.er1
29051 cat conftest.err >&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } &&
29054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29056 (eval $ac_try) 2>&5
29057 ac_status=$?
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); }; } &&
29060 { ac_try='test -s conftest$ac_exeext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29063 ac_status=$?
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29067 else
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.$ac_ext >&5
29070
29071 ac_cv_lib_unixodbc_SQLAllocEnv=no
29072 fi
29073 rm -f conftest.err conftest.$ac_objext \
29074 conftest$ac_exeext conftest.$ac_ext
29075 LIBS=$ac_check_lib_save_LIBS
29076 fi
29077 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29078 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29079 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29080 ODBC_LINK=" -lunixodbc"
29081 else
29082
29083 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29084 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29085 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29086 echo $ECHO_N "(cached) $ECHO_C" >&6
29087 else
29088 ac_check_lib_save_LIBS=$LIBS
29089 LIBS="-lodbc $LIBS"
29090 cat >conftest.$ac_ext <<_ACEOF
29091 /* confdefs.h. */
29092 _ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29096
29097 /* Override any gcc2 internal prototype to avoid an error. */
29098 #ifdef __cplusplus
29099 extern "C"
29100 #endif
29101 /* We use char because int might match the return type of a gcc2
29102 builtin and then its argument prototype would still apply. */
29103 char SQLAllocEnv ();
29104 int
29105 main ()
29106 {
29107 SQLAllocEnv ();
29108 ;
29109 return 0;
29110 }
29111 _ACEOF
29112 rm -f conftest.$ac_objext conftest$ac_exeext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29114 (eval $ac_link) 2>conftest.er1
29115 ac_status=$?
29116 grep -v '^ *+' conftest.er1 >conftest.err
29117 rm -f conftest.er1
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } &&
29121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29124 ac_status=$?
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; } &&
29127 { ac_try='test -s conftest$ac_exeext'
29128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29129 (eval $ac_try) 2>&5
29130 ac_status=$?
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); }; }; then
29133 ac_cv_lib_odbc_SQLAllocEnv=yes
29134 else
29135 echo "$as_me: failed program was:" >&5
29136 sed 's/^/| /' conftest.$ac_ext >&5
29137
29138 ac_cv_lib_odbc_SQLAllocEnv=no
29139 fi
29140 rm -f conftest.err conftest.$ac_objext \
29141 conftest$ac_exeext conftest.$ac_ext
29142 LIBS=$ac_check_lib_save_LIBS
29143 fi
29144 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29145 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29146 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29147 ODBC_LINK=" -lodbc"
29148 fi
29149
29150
29151 fi
29152
29153
29154 fi
29155
29156 fi
29157 if test "x$ODBC_LINK" = "x" ; then
29158 if test "$wxUSE_ODBC" = "sys" ; then
29159 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29160 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29161 { (exit 1); exit 1; }; }
29162 else
29163 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29164 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29165 wxUSE_ODBC=builtin
29166 fi
29167 else
29168 wxUSE_ODBC=sys
29169 fi
29170 fi
29171
29172 if test "$wxUSE_ODBC" = "builtin" ; then
29173 cat >>confdefs.h <<\_ACEOF
29174 #define wxUSE_BUILTIN_IODBC 1
29175 _ACEOF
29176
29177 fi
29178 fi
29179
29180 if test "$wxUSE_ODBC" != "no" ; then
29181 cat >>confdefs.h <<\_ACEOF
29182 #define wxUSE_ODBC 1
29183 _ACEOF
29184
29185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29186
29187 WXODBCFLAG="-D_IODBC_"
29188 fi
29189
29190
29191 if test "$wxUSE_DISPLAY" = "yes"; then
29192 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29193 echo "$as_me:$LINENO: checking for Xinerama" >&5
29194 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29195
29196 ac_find_libraries=
29197 for ac_dir in $SEARCH_LIB /usr/lib;
29198 do
29199 for ac_extension in a so sl dylib; do
29200 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29201 ac_find_libraries=$ac_dir
29202 break 2
29203 fi
29204 done
29205 done
29206
29207 if test "$ac_find_libraries" != "" ; then
29208
29209 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29210 result=$?
29211 if test $result = 0; then
29212 ac_path_to_link=""
29213 else
29214 ac_path_to_link=" -L$ac_find_libraries"
29215 fi
29216
29217 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29218 LDFLAGS="$LDFLAGS $ac_path_to_link"
29219 fi
29220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29221 echo "$as_me:$LINENO: result: yes" >&5
29222 echo "${ECHO_T}yes" >&6
29223
29224 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29225 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29226
29227 ac_find_libraries=
29228 for ac_dir in $SEARCH_LIB /usr/lib;
29229 do
29230 for ac_extension in a so sl dylib; do
29231 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29232 ac_find_libraries=$ac_dir
29233 break 2
29234 fi
29235 done
29236 done
29237
29238 if test "$ac_find_libraries" != "" ; then
29239 echo "$as_me:$LINENO: result: yes" >&5
29240 echo "${ECHO_T}yes" >&6
29241
29242 for ac_header in X11/extensions/xf86vmode.h
29243 do
29244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29245 echo "$as_me:$LINENO: checking for $ac_header" >&5
29246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29249 else
29250 cat >conftest.$ac_ext <<_ACEOF
29251 /* confdefs.h. */
29252 _ACEOF
29253 cat confdefs.h >>conftest.$ac_ext
29254 cat >>conftest.$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256
29257 #if HAVE_X11_XLIB_H
29258 #include <X11/Xlib.h>
29259 #endif
29260
29261
29262 #include <$ac_header>
29263 _ACEOF
29264 rm -f conftest.$ac_objext
29265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29266 (eval $ac_compile) 2>conftest.er1
29267 ac_status=$?
29268 grep -v '^ *+' conftest.er1 >conftest.err
29269 rm -f conftest.er1
29270 cat conftest.err >&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); } &&
29273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29276 ac_status=$?
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; } &&
29279 { ac_try='test -s conftest.$ac_objext'
29280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29281 (eval $ac_try) 2>&5
29282 ac_status=$?
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); }; }; then
29285 eval "$as_ac_Header=yes"
29286 else
29287 echo "$as_me: failed program was:" >&5
29288 sed 's/^/| /' conftest.$ac_ext >&5
29289
29290 eval "$as_ac_Header=no"
29291 fi
29292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29293 fi
29294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29297 cat >>confdefs.h <<_ACEOF
29298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29299 _ACEOF
29300
29301 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29302
29303 fi
29304
29305 done
29306
29307 else
29308 echo "$as_me:$LINENO: result: no" >&5
29309 echo "${ECHO_T}no" >&6
29310 fi
29311
29312 else
29313 echo "$as_me:$LINENO: result: no" >&5
29314 echo "${ECHO_T}no" >&6
29315 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29316 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29317 wxUSE_DISPLAY="no"
29318 fi
29319 elif test "$wxUSE_MSW" = 1; then
29320
29321
29322 for ac_header in multimon.h ddraw.h
29323 do
29324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29325 echo "$as_me:$LINENO: checking for $ac_header" >&5
29326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29329 else
29330 cat >conftest.$ac_ext <<_ACEOF
29331 /* confdefs.h. */
29332 _ACEOF
29333 cat confdefs.h >>conftest.$ac_ext
29334 cat >>conftest.$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29336 #include <windows.h>
29337
29338 #include <$ac_header>
29339 _ACEOF
29340 rm -f conftest.$ac_objext
29341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29342 (eval $ac_compile) 2>conftest.er1
29343 ac_status=$?
29344 grep -v '^ *+' conftest.er1 >conftest.err
29345 rm -f conftest.er1
29346 cat conftest.err >&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } &&
29349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29352 ac_status=$?
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; } &&
29355 { ac_try='test -s conftest.$ac_objext'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29358 ac_status=$?
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; }; then
29361 eval "$as_ac_Header=yes"
29362 else
29363 echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.$ac_ext >&5
29365
29366 eval "$as_ac_Header=no"
29367 fi
29368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29369 fi
29370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29373 cat >>confdefs.h <<_ACEOF
29374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29375 _ACEOF
29376
29377 else
29378
29379 wxUSE_DISPLAY="no"
29380 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29381 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29382
29383 fi
29384
29385 done
29386
29387 fi
29388 fi
29389
29390
29391 USE_OPENGL=0
29392 if test "$wxUSE_OPENGL" = "yes"; then
29393 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29394 OPENGL_LIBS="-framework OpenGL -framework AGL"
29395 elif test "$wxUSE_MSW" = 1; then
29396 OPENGL_LIBS="-lopengl32 -lglu32"
29397 else
29398
29399
29400 ac_find_includes=
29401 for ac_dir in $SEARCH_INCLUDE /usr/include;
29402 do
29403 if test -f "$ac_dir/GL/gl.h"; then
29404 ac_find_includes=$ac_dir
29405 break
29406 fi
29407 done
29408
29409 if test "$ac_find_includes" != "" ; then
29410 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29411 echo "${ECHO_T}found in $ac_find_includes" >&6
29412
29413 if test "x$ac_find_includes" = "x/usr/include"; then
29414 ac_path_to_include=""
29415 else
29416 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29417 result=$?
29418 if test $result = 0; then
29419 ac_path_to_include=""
29420 else
29421 ac_path_to_include=" -I$ac_find_includes"
29422 fi
29423 fi
29424
29425 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29426 fi
29427
29428 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29429 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29430 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29431 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29432 echo $ECHO_N "(cached) $ECHO_C" >&6
29433 fi
29434 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29435 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29436 else
29437 # Is the header compilable?
29438 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29439 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29440 cat >conftest.$ac_ext <<_ACEOF
29441 /* confdefs.h. */
29442 _ACEOF
29443 cat confdefs.h >>conftest.$ac_ext
29444 cat >>conftest.$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29446 $ac_includes_default
29447 #include <GL/gl.h>
29448 _ACEOF
29449 rm -f conftest.$ac_objext
29450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29451 (eval $ac_compile) 2>conftest.er1
29452 ac_status=$?
29453 grep -v '^ *+' conftest.er1 >conftest.err
29454 rm -f conftest.er1
29455 cat conftest.err >&5
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); } &&
29458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29461 ac_status=$?
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; } &&
29464 { ac_try='test -s conftest.$ac_objext'
29465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29466 (eval $ac_try) 2>&5
29467 ac_status=$?
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); }; }; then
29470 ac_header_compiler=yes
29471 else
29472 echo "$as_me: failed program was:" >&5
29473 sed 's/^/| /' conftest.$ac_ext >&5
29474
29475 ac_header_compiler=no
29476 fi
29477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29479 echo "${ECHO_T}$ac_header_compiler" >&6
29480
29481 # Is the header present?
29482 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29483 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29484 cat >conftest.$ac_ext <<_ACEOF
29485 /* confdefs.h. */
29486 _ACEOF
29487 cat confdefs.h >>conftest.$ac_ext
29488 cat >>conftest.$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29490 #include <GL/gl.h>
29491 _ACEOF
29492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29494 ac_status=$?
29495 grep -v '^ *+' conftest.er1 >conftest.err
29496 rm -f conftest.er1
29497 cat conftest.err >&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } >/dev/null; then
29500 if test -s conftest.err; then
29501 ac_cpp_err=$ac_c_preproc_warn_flag
29502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29503 else
29504 ac_cpp_err=
29505 fi
29506 else
29507 ac_cpp_err=yes
29508 fi
29509 if test -z "$ac_cpp_err"; then
29510 ac_header_preproc=yes
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29514
29515 ac_header_preproc=no
29516 fi
29517 rm -f conftest.err conftest.$ac_ext
29518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29519 echo "${ECHO_T}$ac_header_preproc" >&6
29520
29521 # So? What about this header?
29522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29523 yes:no: )
29524 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29525 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29526 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29527 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29528 ac_header_preproc=yes
29529 ;;
29530 no:yes:* )
29531 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29532 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29533 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29534 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29535 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29536 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29537 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29538 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29539 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29540 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29541 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29542 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29543 (
29544 cat <<\_ASBOX
29545 ## ----------------------------------------- ##
29546 ## Report this to wx-dev@lists.wxwidgets.org ##
29547 ## ----------------------------------------- ##
29548 _ASBOX
29549 ) |
29550 sed "s/^/$as_me: WARNING: /" >&2
29551 ;;
29552 esac
29553 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29554 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29555 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29557 else
29558 ac_cv_header_GL_gl_h=$ac_header_preproc
29559 fi
29560 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29561 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29562
29563 fi
29564 if test $ac_cv_header_GL_gl_h = yes; then
29565
29566 found_gl=0
29567
29568 echo "$as_me:$LINENO: checking for -lGL" >&5
29569 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29570
29571 ac_find_libraries=
29572 for ac_dir in $SEARCH_LIB /usr/lib;
29573 do
29574 for ac_extension in a so sl dylib; do
29575 if test -f "$ac_dir/libGL.$ac_extension"; then
29576 ac_find_libraries=$ac_dir
29577 break 2
29578 fi
29579 done
29580 done
29581
29582 if test "$ac_find_libraries" != "" ; then
29583 echo "$as_me:$LINENO: result: yes" >&5
29584 echo "${ECHO_T}yes" >&6
29585
29586
29587 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29588 result=$?
29589 if test $result = 0; then
29590 ac_path_to_link=""
29591 else
29592 ac_path_to_link=" -L$ac_find_libraries"
29593 fi
29594
29595 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29596 LDFLAGS_GL="$ac_path_to_link"
29597 fi
29598
29599 echo "$as_me:$LINENO: checking for -lGLU" >&5
29600 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29601
29602 ac_find_libraries=
29603 for ac_dir in $SEARCH_LIB /usr/lib;
29604 do
29605 for ac_extension in a so sl dylib; do
29606 if test -f "$ac_dir/libGLU.$ac_extension"; then
29607 ac_find_libraries=$ac_dir
29608 break 2
29609 fi
29610 done
29611 done
29612
29613 if test "$ac_find_libraries" != "" ; then
29614
29615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29616 result=$?
29617 if test $result = 0; then
29618 ac_path_to_link=""
29619 else
29620 ac_path_to_link=" -L$ac_find_libraries"
29621 fi
29622
29623 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29624 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29625 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29626 fi
29627
29628 found_gl=1
29629 OPENGL_LIBS="-lGL -lGLU"
29630 echo "$as_me:$LINENO: result: yes" >&5
29631 echo "${ECHO_T}yes" >&6
29632 else
29633 echo "$as_me:$LINENO: result: no" >&5
29634 echo "${ECHO_T}no" >&6
29635 fi
29636 else
29637 echo "$as_me:$LINENO: result: no" >&5
29638 echo "${ECHO_T}no" >&6
29639 fi
29640
29641 if test "$found_gl" != 1; then
29642 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29643 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29644
29645 ac_find_libraries=
29646 for ac_dir in $SEARCH_LIB /usr/lib;
29647 do
29648 for ac_extension in a so sl dylib; do
29649 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29650 ac_find_libraries=$ac_dir
29651 break 2
29652 fi
29653 done
29654 done
29655
29656 if test "$ac_find_libraries" != "" ; then
29657
29658 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29659 result=$?
29660 if test $result = 0; then
29661 ac_path_to_link=""
29662 else
29663 ac_path_to_link=" -L$ac_find_libraries"
29664 fi
29665
29666 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29667 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29668 echo "$as_me:$LINENO: result: yes" >&5
29669 echo "${ECHO_T}yes" >&6
29670 else
29671 echo "$as_me:$LINENO: result: no" >&5
29672 echo "${ECHO_T}no" >&6
29673 fi
29674 fi
29675
29676 fi
29677
29678
29679
29680 if test "x$OPENGL_LIBS" = "x"; then
29681 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29682 echo "$as_me: error: OpenGL libraries not available" >&2;}
29683 { (exit 1); exit 1; }; }
29684 fi
29685 fi
29686
29687 if test "$wxUSE_OPENGL" = "yes"; then
29688 USE_OPENGL=1
29689 cat >>confdefs.h <<\_ACEOF
29690 #define wxUSE_OPENGL 1
29691 _ACEOF
29692
29693 cat >>confdefs.h <<\_ACEOF
29694 #define wxUSE_GLCANVAS 1
29695 _ACEOF
29696
29697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29698 fi
29699 fi
29700
29701
29702 if test -n "$TOOLKIT" ; then
29703 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29704 fi
29705
29706
29707
29708 if test "$wxUSE_SHARED" = "yes"; then
29709 case "${host}" in
29710 *-pc-msdosdjgpp )
29711 wxUSE_SHARED=no
29712 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29713 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29714 ;;
29715 esac
29716 fi
29717
29718 if test "$wxUSE_SHARED" = "yes"; then
29719
29720
29721 found_versioning=no
29722
29723
29724 if test $found_versioning = no ; then
29725 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29726 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29727 if test "${wx_cv_version_script+set}" = set; then
29728 echo $ECHO_N "(cached) $ECHO_C" >&6
29729 else
29730
29731 echo "VER_1 { *; };" >conftest.sym
29732 echo "int main() { return 0; }" >conftest.cpp
29733
29734 if { ac_try='
29735 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29736 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29739 ac_status=$?
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; } ; then
29742 if test -s conftest.stderr ; then
29743 wx_cv_version_script=no
29744 else
29745 wx_cv_version_script=yes
29746 fi
29747 else
29748 wx_cv_version_script=no
29749 fi
29750
29751 if test $wx_cv_version_script = yes
29752 then
29753 echo "struct B { virtual ~B() { } }; \
29754 struct D : public B { }; \
29755 void F() { D d; }" > conftest.cpp
29756
29757 if { ac_try='
29758 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29759 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29761 (eval $ac_try) 2>&5
29762 ac_status=$?
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; } &&
29765 { ac_try='
29766 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29767 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29769 (eval $ac_try) 2>&5
29770 ac_status=$?
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); }; }
29773 then
29774 if { ac_try='
29775 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29776 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29779 ac_status=$?
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; }
29782 then
29783 wx_cv_version_script=yes
29784 else
29785 wx_cv_version_script=no
29786 fi
29787 fi
29788 fi
29789
29790 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29791 rm -f conftest1.output conftest2.output conftest3.output
29792
29793 fi
29794 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29795 echo "${ECHO_T}$wx_cv_version_script" >&6
29796 if test $wx_cv_version_script = yes ; then
29797 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29798 fi
29799 fi
29800
29801
29802 case "${host}" in
29803 *-*-linux* | *-*-gnu* )
29804 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29805 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29806 ;;
29807
29808 *-*-solaris2* )
29809 if test "$GCC" = yes ; then
29810 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29811
29812 saveLdflags="$LDFLAGS"
29813 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29814 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29815 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822
29823 int
29824 main ()
29825 {
29826
29827 ;
29828 return 0;
29829 }
29830 _ACEOF
29831 rm -f conftest.$ac_objext conftest$ac_exeext
29832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29833 (eval $ac_link) 2>conftest.er1
29834 ac_status=$?
29835 grep -v '^ *+' conftest.er1 >conftest.err
29836 rm -f conftest.er1
29837 cat conftest.err >&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); } &&
29840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29842 (eval $ac_try) 2>&5
29843 ac_status=$?
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); }; } &&
29846 { ac_try='test -s conftest$ac_exeext'
29847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29848 (eval $ac_try) 2>&5
29849 ac_status=$?
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); }; }; then
29852
29853 echo "$as_me:$LINENO: result: yes" >&5
29854 echo "${ECHO_T}yes" >&6
29855 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29856 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29857
29858 else
29859 echo "$as_me: failed program was:" >&5
29860 sed 's/^/| /' conftest.$ac_ext >&5
29861
29862
29863 echo "$as_me:$LINENO: result: no" >&5
29864 echo "${ECHO_T}no" >&6
29865 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29866 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29867 LDFLAGS="$saveLdflags -Wl,-R,/"
29868 cat >conftest.$ac_ext <<_ACEOF
29869 /* confdefs.h. */
29870 _ACEOF
29871 cat confdefs.h >>conftest.$ac_ext
29872 cat >>conftest.$ac_ext <<_ACEOF
29873 /* end confdefs.h. */
29874
29875 int
29876 main ()
29877 {
29878
29879 ;
29880 return 0;
29881 }
29882 _ACEOF
29883 rm -f conftest.$ac_objext conftest$ac_exeext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29885 (eval $ac_link) 2>conftest.er1
29886 ac_status=$?
29887 grep -v '^ *+' conftest.er1 >conftest.err
29888 rm -f conftest.er1
29889 cat conftest.err >&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } &&
29892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; } &&
29898 { ac_try='test -s conftest$ac_exeext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904
29905 echo "$as_me:$LINENO: result: yes" >&5
29906 echo "${ECHO_T}yes" >&6
29907 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29908 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29909
29910 else
29911 echo "$as_me: failed program was:" >&5
29912 sed 's/^/| /' conftest.$ac_ext >&5
29913
29914
29915 echo "$as_me:$LINENO: result: no" >&5
29916 echo "${ECHO_T}no" >&6
29917
29918 fi
29919 rm -f conftest.err conftest.$ac_objext \
29920 conftest$ac_exeext conftest.$ac_ext
29921
29922 fi
29923 rm -f conftest.err conftest.$ac_objext \
29924 conftest$ac_exeext conftest.$ac_ext
29925 LDFLAGS="$saveLdflags"
29926 else
29927 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29928 WXCONFIG_RPATH="-R\$libdir"
29929 fi
29930 ;;
29931
29932 powerpc-*-darwin* )
29933 install_name_tool=`which install_name_tool`
29934 if test "$install_name_tool" -a -x "$install_name_tool"; then
29935 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29936 cat <<EOF >change-install-names
29937 #!/bin/sh
29938 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29939 inst_cmd="install_name_tool "
29940 for i in \${libnames} ; do
29941 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29942 done
29943 \${inst_cmd} \${3}
29944 EOF
29945 chmod +x change-install-names
29946 fi
29947 ;;
29948
29949 *-*-cygwin* | *-*-mingw32* )
29950 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29951 ;;
29952
29953 *-*-hpux* )
29954 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29955 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29956 ;;
29957
29958 esac
29959
29960 if test $wxUSE_RPATH = "no"; then
29961 SAMPLES_RPATH_FLAG=''
29962 SAMPLES_RPATH_POSTLINK=''
29963 WXCONFIG_RPATH=''
29964 fi
29965
29966 SHARED=1
29967
29968 else
29969
29970 config_linkage_component="-static"
29971 SHARED=0
29972
29973 fi
29974
29975
29976 UNICODE=0
29977 lib_unicode_suffix=
29978 WX_CHARTYPE="ansi"
29979 if test "$wxUSE_UNICODE" = "yes"; then
29980 lib_unicode_suffix=u
29981 WX_CHARTYPE="unicode"
29982 UNICODE=1
29983 fi
29984
29985 lib_debug_suffix=
29986 WX_DEBUGTYPE="release"
29987 DEBUG_FLAG=0
29988 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29989 lib_debug_suffix=d
29990 WX_DEBUGTYPE="debug"
29991 DEBUG_FLAG=1
29992 fi
29993
29994 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29995 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29996
29997 DEBUG_INFO=0
29998 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29999 DEBUG_INFO=1
30000 fi
30001
30002 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30003
30004 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30005
30006 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30007
30008 if test "$cross_compiling" = "yes"; then
30009 HOST_SUFFIX="-$host_alias"
30010 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30011 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30012 fi
30013
30014 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30015 if test "${TOOLKIT_DIR}" = "os2"; then
30016 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30017 else
30018 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30019 fi
30020
30021
30022
30023 if test "$wxUSE_COCOA" = 1; then
30024
30025
30026 ac_ext=c
30027 ac_cpp='$CPP $CPPFLAGS'
30028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30031
30032 ac_ext=m
30033
30034 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30035 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30036 cat >conftest.$ac_ext <<_ACEOF
30037 /* confdefs.h. */
30038 _ACEOF
30039 cat confdefs.h >>conftest.$ac_ext
30040 cat >>conftest.$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042 #include <AppKit/NSEvent.h>
30043 #include <CoreFoundation/CoreFoundation.h>
30044
30045 int
30046 main ()
30047 {
30048
30049 ;
30050 return 0;
30051 }
30052 _ACEOF
30053 rm -f conftest.$ac_objext
30054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30055 (eval $ac_compile) 2>conftest.er1
30056 ac_status=$?
30057 grep -v '^ *+' conftest.er1 >conftest.err
30058 rm -f conftest.er1
30059 cat conftest.err >&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); } &&
30062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064 (eval $ac_try) 2>&5
30065 ac_status=$?
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); }; } &&
30068 { ac_try='test -s conftest.$ac_objext'
30069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30070 (eval $ac_try) 2>&5
30071 ac_status=$?
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); }; }; then
30074 echo "$as_me:$LINENO: result: no" >&5
30075 echo "${ECHO_T}no" >&6
30076 else
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30079
30080 echo "$as_me:$LINENO: result: yes" >&5
30081 echo "${ECHO_T}yes" >&6
30082 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30083 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30084 cat >conftest.$ac_ext <<_ACEOF
30085 /* confdefs.h. */
30086 _ACEOF
30087 cat confdefs.h >>conftest.$ac_ext
30088 cat >>conftest.$ac_ext <<_ACEOF
30089 /* end confdefs.h. */
30090 #define __Point__ 1
30091 #include <AppKit/NSEvent.h>
30092 #include <CoreFoundation/CoreFoundation.h>
30093
30094 int
30095 main ()
30096 {
30097
30098 ;
30099 return 0;
30100 }
30101 _ACEOF
30102 rm -f conftest.$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30105 ac_status=$?
30106 grep -v '^ *+' conftest.er1 >conftest.err
30107 rm -f conftest.er1
30108 cat conftest.err >&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30113 (eval $ac_try) 2>&5
30114 ac_status=$?
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; } &&
30117 { ac_try='test -s conftest.$ac_objext'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30120 ac_status=$?
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; }; then
30123 echo "$as_me:$LINENO: result: yes" >&5
30124 echo "${ECHO_T}yes" >&6
30125 cat >>confdefs.h <<\_ACEOF
30126 #define __Point__ 1
30127 _ACEOF
30128
30129
30130 else
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.$ac_ext >&5
30133
30134 { { echo "$as_me:$LINENO: error: no
30135 See \`config.log' for more details." >&5
30136 echo "$as_me: error: no
30137 See \`config.log' for more details." >&2;}
30138 { (exit 1); exit 1; }; }
30139
30140 fi
30141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30142
30143 fi
30144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150
30151 fi
30152
30153 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30154 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30155 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30156
30157 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30158
30159 # Extract the first word of "Rez", so it can be a program name with args.
30160 set dummy Rez; ac_word=$2
30161 echo "$as_me:$LINENO: checking for $ac_word" >&5
30162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30163 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 else
30166 if test -n "$RESCOMP"; then
30167 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30168 else
30169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30170 for as_dir in $PATH
30171 do
30172 IFS=$as_save_IFS
30173 test -z "$as_dir" && as_dir=.
30174 for ac_exec_ext in '' $ac_executable_extensions; do
30175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30176 ac_cv_prog_RESCOMP="Rez"
30177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30178 break 2
30179 fi
30180 done
30181 done
30182
30183 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30184 fi
30185 fi
30186 RESCOMP=$ac_cv_prog_RESCOMP
30187 if test -n "$RESCOMP"; then
30188 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30189 echo "${ECHO_T}$RESCOMP" >&6
30190 else
30191 echo "$as_me:$LINENO: result: no" >&5
30192 echo "${ECHO_T}no" >&6
30193 fi
30194
30195 # Extract the first word of "DeRez", so it can be a program name with args.
30196 set dummy DeRez; ac_word=$2
30197 echo "$as_me:$LINENO: checking for $ac_word" >&5
30198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30199 if test "${ac_cv_prog_DEREZ+set}" = set; then
30200 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 else
30202 if test -n "$DEREZ"; then
30203 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30204 else
30205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30206 for as_dir in $PATH
30207 do
30208 IFS=$as_save_IFS
30209 test -z "$as_dir" && as_dir=.
30210 for ac_exec_ext in '' $ac_executable_extensions; do
30211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30212 ac_cv_prog_DEREZ="DeRez"
30213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30214 break 2
30215 fi
30216 done
30217 done
30218
30219 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30220 fi
30221 fi
30222 DEREZ=$ac_cv_prog_DEREZ
30223 if test -n "$DEREZ"; then
30224 echo "$as_me:$LINENO: result: $DEREZ" >&5
30225 echo "${ECHO_T}$DEREZ" >&6
30226 else
30227 echo "$as_me:$LINENO: result: no" >&5
30228 echo "${ECHO_T}no" >&6
30229 fi
30230
30231 # Extract the first word of "SetFile", so it can be a program name with args.
30232 set dummy SetFile; ac_word=$2
30233 echo "$as_me:$LINENO: checking for $ac_word" >&5
30234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30235 if test "${ac_cv_prog_SETFILE+set}" = set; then
30236 echo $ECHO_N "(cached) $ECHO_C" >&6
30237 else
30238 if test -n "$SETFILE"; then
30239 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30240 else
30241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30242 for as_dir in $PATH
30243 do
30244 IFS=$as_save_IFS
30245 test -z "$as_dir" && as_dir=.
30246 for ac_exec_ext in '' $ac_executable_extensions; do
30247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30248 ac_cv_prog_SETFILE="SetFile"
30249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30250 break 2
30251 fi
30252 done
30253 done
30254
30255 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30256 fi
30257 fi
30258 SETFILE=$ac_cv_prog_SETFILE
30259 if test -n "$SETFILE"; then
30260 echo "$as_me:$LINENO: result: $SETFILE" >&5
30261 echo "${ECHO_T}$SETFILE" >&6
30262 else
30263 echo "$as_me:$LINENO: result: no" >&5
30264 echo "${ECHO_T}no" >&6
30265 fi
30266
30267
30268 MACSETFILE="\$(SETFILE)"
30269
30270 if test "$wxUSE_MAC" = 1; then
30271 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30272
30273 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30274 else
30275 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30276 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30277 fi
30278 else
30279 MACSETFILE="@true"
30280 MACRESWXCONFIG="@true"
30281
30282 if test "$wxUSE_PM" = 1; then
30283 MACRESCOMP="emxbind -ep"
30284 else
30285 MACRESCOMP="@true"
30286 fi
30287 fi
30288
30289
30290
30291 echo "$as_me:$LINENO: checking for mode_t" >&5
30292 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30293 if test "${ac_cv_type_mode_t+set}" = set; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 else
30296 cat >conftest.$ac_ext <<_ACEOF
30297 /* confdefs.h. */
30298 _ACEOF
30299 cat confdefs.h >>conftest.$ac_ext
30300 cat >>conftest.$ac_ext <<_ACEOF
30301 /* end confdefs.h. */
30302 $ac_includes_default
30303 int
30304 main ()
30305 {
30306 if ((mode_t *) 0)
30307 return 0;
30308 if (sizeof (mode_t))
30309 return 0;
30310 ;
30311 return 0;
30312 }
30313 _ACEOF
30314 rm -f conftest.$ac_objext
30315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30316 (eval $ac_compile) 2>conftest.er1
30317 ac_status=$?
30318 grep -v '^ *+' conftest.er1 >conftest.err
30319 rm -f conftest.er1
30320 cat conftest.err >&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); } &&
30323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30326 ac_status=$?
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; } &&
30329 { ac_try='test -s conftest.$ac_objext'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30332 ac_status=$?
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; }; then
30335 ac_cv_type_mode_t=yes
30336 else
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30339
30340 ac_cv_type_mode_t=no
30341 fi
30342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30343 fi
30344 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30345 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30346 if test $ac_cv_type_mode_t = yes; then
30347 :
30348 else
30349
30350 cat >>confdefs.h <<_ACEOF
30351 #define mode_t int
30352 _ACEOF
30353
30354 fi
30355
30356 echo "$as_me:$LINENO: checking for off_t" >&5
30357 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30358 if test "${ac_cv_type_off_t+set}" = set; then
30359 echo $ECHO_N "(cached) $ECHO_C" >&6
30360 else
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h. */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30367 $ac_includes_default
30368 int
30369 main ()
30370 {
30371 if ((off_t *) 0)
30372 return 0;
30373 if (sizeof (off_t))
30374 return 0;
30375 ;
30376 return 0;
30377 }
30378 _ACEOF
30379 rm -f conftest.$ac_objext
30380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30381 (eval $ac_compile) 2>conftest.er1
30382 ac_status=$?
30383 grep -v '^ *+' conftest.er1 >conftest.err
30384 rm -f conftest.er1
30385 cat conftest.err >&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); } &&
30388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30391 ac_status=$?
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; } &&
30394 { ac_try='test -s conftest.$ac_objext'
30395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396 (eval $ac_try) 2>&5
30397 ac_status=$?
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); }; }; then
30400 ac_cv_type_off_t=yes
30401 else
30402 echo "$as_me: failed program was:" >&5
30403 sed 's/^/| /' conftest.$ac_ext >&5
30404
30405 ac_cv_type_off_t=no
30406 fi
30407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30408 fi
30409 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30410 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30411 if test $ac_cv_type_off_t = yes; then
30412 :
30413 else
30414
30415 cat >>confdefs.h <<_ACEOF
30416 #define off_t long
30417 _ACEOF
30418
30419 fi
30420
30421 echo "$as_me:$LINENO: checking for pid_t" >&5
30422 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30423 if test "${ac_cv_type_pid_t+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30425 else
30426 cat >conftest.$ac_ext <<_ACEOF
30427 /* confdefs.h. */
30428 _ACEOF
30429 cat confdefs.h >>conftest.$ac_ext
30430 cat >>conftest.$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 $ac_includes_default
30433 int
30434 main ()
30435 {
30436 if ((pid_t *) 0)
30437 return 0;
30438 if (sizeof (pid_t))
30439 return 0;
30440 ;
30441 return 0;
30442 }
30443 _ACEOF
30444 rm -f conftest.$ac_objext
30445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30446 (eval $ac_compile) 2>conftest.er1
30447 ac_status=$?
30448 grep -v '^ *+' conftest.er1 >conftest.err
30449 rm -f conftest.er1
30450 cat conftest.err >&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } &&
30453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455 (eval $ac_try) 2>&5
30456 ac_status=$?
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try='test -s conftest.$ac_objext'
30460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30461 (eval $ac_try) 2>&5
30462 ac_status=$?
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; }; then
30465 ac_cv_type_pid_t=yes
30466 else
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.$ac_ext >&5
30469
30470 ac_cv_type_pid_t=no
30471 fi
30472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30473 fi
30474 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30475 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30476 if test $ac_cv_type_pid_t = yes; then
30477 :
30478 else
30479
30480 cat >>confdefs.h <<_ACEOF
30481 #define pid_t int
30482 _ACEOF
30483
30484 fi
30485
30486 echo "$as_me:$LINENO: checking for size_t" >&5
30487 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30488 if test "${ac_cv_type_size_t+set}" = set; then
30489 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 else
30491 cat >conftest.$ac_ext <<_ACEOF
30492 /* confdefs.h. */
30493 _ACEOF
30494 cat confdefs.h >>conftest.$ac_ext
30495 cat >>conftest.$ac_ext <<_ACEOF
30496 /* end confdefs.h. */
30497 $ac_includes_default
30498 int
30499 main ()
30500 {
30501 if ((size_t *) 0)
30502 return 0;
30503 if (sizeof (size_t))
30504 return 0;
30505 ;
30506 return 0;
30507 }
30508 _ACEOF
30509 rm -f conftest.$ac_objext
30510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30511 (eval $ac_compile) 2>conftest.er1
30512 ac_status=$?
30513 grep -v '^ *+' conftest.er1 >conftest.err
30514 rm -f conftest.er1
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } &&
30518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30520 (eval $ac_try) 2>&5
30521 ac_status=$?
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); }; } &&
30524 { ac_try='test -s conftest.$ac_objext'
30525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30526 (eval $ac_try) 2>&5
30527 ac_status=$?
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); }; }; then
30530 ac_cv_type_size_t=yes
30531 else
30532 echo "$as_me: failed program was:" >&5
30533 sed 's/^/| /' conftest.$ac_ext >&5
30534
30535 ac_cv_type_size_t=no
30536 fi
30537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30538 fi
30539 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30540 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30541 if test $ac_cv_type_size_t = yes; then
30542 :
30543 else
30544
30545 cat >>confdefs.h <<_ACEOF
30546 #define size_t unsigned
30547 _ACEOF
30548
30549 fi
30550
30551 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30552 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30553 if test "${ac_cv_type_uid_t+set}" = set; then
30554 echo $ECHO_N "(cached) $ECHO_C" >&6
30555 else
30556 cat >conftest.$ac_ext <<_ACEOF
30557 /* confdefs.h. */
30558 _ACEOF
30559 cat confdefs.h >>conftest.$ac_ext
30560 cat >>conftest.$ac_ext <<_ACEOF
30561 /* end confdefs.h. */
30562 #include <sys/types.h>
30563
30564 _ACEOF
30565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30566 $EGREP "uid_t" >/dev/null 2>&1; then
30567 ac_cv_type_uid_t=yes
30568 else
30569 ac_cv_type_uid_t=no
30570 fi
30571 rm -f conftest*
30572
30573 fi
30574 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30575 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30576 if test $ac_cv_type_uid_t = no; then
30577
30578 cat >>confdefs.h <<\_ACEOF
30579 #define uid_t int
30580 _ACEOF
30581
30582
30583 cat >>confdefs.h <<\_ACEOF
30584 #define gid_t int
30585 _ACEOF
30586
30587 fi
30588
30589
30590 echo "$as_me:$LINENO: checking for ssize_t" >&5
30591 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30592 if test "${ac_cv_type_ssize_t+set}" = set; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30594 else
30595 cat >conftest.$ac_ext <<_ACEOF
30596 /* confdefs.h. */
30597 _ACEOF
30598 cat confdefs.h >>conftest.$ac_ext
30599 cat >>conftest.$ac_ext <<_ACEOF
30600 /* end confdefs.h. */
30601 $ac_includes_default
30602 int
30603 main ()
30604 {
30605 if ((ssize_t *) 0)
30606 return 0;
30607 if (sizeof (ssize_t))
30608 return 0;
30609 ;
30610 return 0;
30611 }
30612 _ACEOF
30613 rm -f conftest.$ac_objext
30614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30615 (eval $ac_compile) 2>conftest.er1
30616 ac_status=$?
30617 grep -v '^ *+' conftest.er1 >conftest.err
30618 rm -f conftest.er1
30619 cat conftest.err >&5
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); } &&
30622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30624 (eval $ac_try) 2>&5
30625 ac_status=$?
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); }; } &&
30628 { ac_try='test -s conftest.$ac_objext'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30631 ac_status=$?
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; }; then
30634 ac_cv_type_ssize_t=yes
30635 else
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.$ac_ext >&5
30638
30639 ac_cv_type_ssize_t=no
30640 fi
30641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30642 fi
30643 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30644 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30645 if test $ac_cv_type_ssize_t = yes; then
30646
30647 cat >>confdefs.h <<_ACEOF
30648 #define HAVE_SSIZE_T 1
30649 _ACEOF
30650
30651
30652 fi
30653
30654
30655
30656
30657 ac_ext=cc
30658 ac_cpp='$CXXCPP $CPPFLAGS'
30659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662
30663 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30664 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30665 if test "${wx_cv_size_t_is_uint+set}" = set; then
30666 echo $ECHO_N "(cached) $ECHO_C" >&6
30667 else
30668
30669 cat >conftest.$ac_ext <<_ACEOF
30670 /* confdefs.h. */
30671 _ACEOF
30672 cat confdefs.h >>conftest.$ac_ext
30673 cat >>conftest.$ac_ext <<_ACEOF
30674 /* end confdefs.h. */
30675 #include <stddef.h>
30676 int
30677 main ()
30678 {
30679
30680 return 0; }
30681
30682 struct Foo { void foo(size_t); void foo(unsigned int); };
30683
30684 int bar() {
30685
30686 ;
30687 return 0;
30688 }
30689 _ACEOF
30690 rm -f conftest.$ac_objext
30691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30692 (eval $ac_compile) 2>conftest.er1
30693 ac_status=$?
30694 grep -v '^ *+' conftest.er1 >conftest.err
30695 rm -f conftest.er1
30696 cat conftest.err >&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); } &&
30699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30701 (eval $ac_try) 2>&5
30702 ac_status=$?
30703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30704 (exit $ac_status); }; } &&
30705 { ac_try='test -s conftest.$ac_objext'
30706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30707 (eval $ac_try) 2>&5
30708 ac_status=$?
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); }; }; then
30711 wx_cv_size_t_is_uint=no
30712 else
30713 echo "$as_me: failed program was:" >&5
30714 sed 's/^/| /' conftest.$ac_ext >&5
30715
30716 wx_cv_size_t_is_uint=yes
30717
30718 fi
30719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30720
30721
30722 fi
30723 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30724 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30725
30726 if test "$wx_cv_size_t_is_uint" = "yes"; then
30727 cat >>confdefs.h <<\_ACEOF
30728 #define wxSIZE_T_IS_UINT 1
30729 _ACEOF
30730
30731 else
30732 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30733 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30734 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30735 echo $ECHO_N "(cached) $ECHO_C" >&6
30736 else
30737 cat >conftest.$ac_ext <<_ACEOF
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 #include <stddef.h>
30744 int
30745 main ()
30746 {
30747
30748 return 0; }
30749
30750 struct Foo { void foo(size_t); void foo(unsigned long); };
30751
30752 int bar() {
30753
30754 ;
30755 return 0;
30756 }
30757 _ACEOF
30758 rm -f conftest.$ac_objext
30759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30760 (eval $ac_compile) 2>conftest.er1
30761 ac_status=$?
30762 grep -v '^ *+' conftest.er1 >conftest.err
30763 rm -f conftest.er1
30764 cat conftest.err >&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); } &&
30767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30770 ac_status=$?
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; } &&
30773 { ac_try='test -s conftest.$ac_objext'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30776 ac_status=$?
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; }; then
30779 wx_cv_size_t_is_ulong=no
30780 else
30781 echo "$as_me: failed program was:" >&5
30782 sed 's/^/| /' conftest.$ac_ext >&5
30783
30784 wx_cv_size_t_is_ulong=yes
30785
30786 fi
30787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30788
30789 fi
30790 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30791 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30792
30793 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30794 cat >>confdefs.h <<\_ACEOF
30795 #define wxSIZE_T_IS_ULONG 1
30796 _ACEOF
30797
30798 fi
30799 fi
30800
30801 ac_ext=c
30802 ac_cpp='$CPP $CPPFLAGS'
30803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30806
30807
30808
30809 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30810 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30811 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30812 echo $ECHO_N "(cached) $ECHO_C" >&6
30813 else
30814
30815 cat >conftest.$ac_ext <<_ACEOF
30816 /* confdefs.h. */
30817 _ACEOF
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h. */
30821 #include <pwd.h>
30822 int
30823 main ()
30824 {
30825
30826 char *p;
30827 struct passwd *pw;
30828 p = pw->pw_gecos;
30829
30830 ;
30831 return 0;
30832 }
30833 _ACEOF
30834 rm -f conftest.$ac_objext
30835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30836 (eval $ac_compile) 2>conftest.er1
30837 ac_status=$?
30838 grep -v '^ *+' conftest.er1 >conftest.err
30839 rm -f conftest.er1
30840 cat conftest.err >&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } &&
30843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30846 ac_status=$?
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; } &&
30849 { ac_try='test -s conftest.$ac_objext'
30850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30851 (eval $ac_try) 2>&5
30852 ac_status=$?
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); }; }; then
30855
30856 wx_cv_struct_pw_gecos=yes
30857
30858 else
30859 echo "$as_me: failed program was:" >&5
30860 sed 's/^/| /' conftest.$ac_ext >&5
30861
30862
30863 wx_cv_struct_pw_gecos=no
30864
30865
30866 fi
30867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30868
30869
30870 fi
30871 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30872 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30873
30874 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30875 cat >>confdefs.h <<\_ACEOF
30876 #define HAVE_PW_GECOS 1
30877 _ACEOF
30878
30879 fi
30880
30881
30882 if test "$wxUSE_WCHAR_T" = "yes"; then
30883 cat >>confdefs.h <<\_ACEOF
30884 #define wxUSE_WCHAR_T 1
30885 _ACEOF
30886
30887
30888 WCSLEN_FOUND=0
30889 WCHAR_LINK=
30890
30891 for ac_func in wcslen
30892 do
30893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30894 echo "$as_me:$LINENO: checking for $ac_func" >&5
30895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30896 if eval "test \"\${$as_ac_var+set}\" = set"; then
30897 echo $ECHO_N "(cached) $ECHO_C" >&6
30898 else
30899 cat >conftest.$ac_ext <<_ACEOF
30900 /* confdefs.h. */
30901 _ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30907 #define $ac_func innocuous_$ac_func
30908
30909 /* System header to define __stub macros and hopefully few prototypes,
30910 which can conflict with char $ac_func (); below.
30911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30912 <limits.h> exists even on freestanding compilers. */
30913
30914 #ifdef __STDC__
30915 # include <limits.h>
30916 #else
30917 # include <assert.h>
30918 #endif
30919
30920 #undef $ac_func
30921
30922 /* Override any gcc2 internal prototype to avoid an error. */
30923 #ifdef __cplusplus
30924 extern "C"
30925 {
30926 #endif
30927 /* We use char because int might match the return type of a gcc2
30928 builtin and then its argument prototype would still apply. */
30929 char $ac_func ();
30930 /* The GNU C library defines this for functions which it implements
30931 to always fail with ENOSYS. Some functions are actually named
30932 something starting with __ and the normal name is an alias. */
30933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30934 choke me
30935 #else
30936 char (*f) () = $ac_func;
30937 #endif
30938 #ifdef __cplusplus
30939 }
30940 #endif
30941
30942 int
30943 main ()
30944 {
30945 return f != $ac_func;
30946 ;
30947 return 0;
30948 }
30949 _ACEOF
30950 rm -f conftest.$ac_objext conftest$ac_exeext
30951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30952 (eval $ac_link) 2>conftest.er1
30953 ac_status=$?
30954 grep -v '^ *+' conftest.er1 >conftest.err
30955 rm -f conftest.er1
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } &&
30959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30961 (eval $ac_try) 2>&5
30962 ac_status=$?
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); }; } &&
30965 { ac_try='test -s conftest$ac_exeext'
30966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30967 (eval $ac_try) 2>&5
30968 ac_status=$?
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); }; }; then
30971 eval "$as_ac_var=yes"
30972 else
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.$ac_ext >&5
30975
30976 eval "$as_ac_var=no"
30977 fi
30978 rm -f conftest.err conftest.$ac_objext \
30979 conftest$ac_exeext conftest.$ac_ext
30980 fi
30981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30983 if test `eval echo '${'$as_ac_var'}'` = yes; then
30984 cat >>confdefs.h <<_ACEOF
30985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30986 _ACEOF
30987 WCSLEN_FOUND=1
30988 fi
30989 done
30990
30991
30992 if test "$WCSLEN_FOUND" = 0; then
30993 if test "$TOOLKIT" = "MSW"; then
30994 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30995 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30996 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30997 echo $ECHO_N "(cached) $ECHO_C" >&6
30998 else
30999 ac_check_lib_save_LIBS=$LIBS
31000 LIBS="-lmsvcrt $LIBS"
31001 cat >conftest.$ac_ext <<_ACEOF
31002 /* confdefs.h. */
31003 _ACEOF
31004 cat confdefs.h >>conftest.$ac_ext
31005 cat >>conftest.$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31007
31008 /* Override any gcc2 internal prototype to avoid an error. */
31009 #ifdef __cplusplus
31010 extern "C"
31011 #endif
31012 /* We use char because int might match the return type of a gcc2
31013 builtin and then its argument prototype would still apply. */
31014 char wcslen ();
31015 int
31016 main ()
31017 {
31018 wcslen ();
31019 ;
31020 return 0;
31021 }
31022 _ACEOF
31023 rm -f conftest.$ac_objext conftest$ac_exeext
31024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31025 (eval $ac_link) 2>conftest.er1
31026 ac_status=$?
31027 grep -v '^ *+' conftest.er1 >conftest.err
31028 rm -f conftest.er1
31029 cat conftest.err >&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); } &&
31032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31034 (eval $ac_try) 2>&5
31035 ac_status=$?
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; } &&
31038 { ac_try='test -s conftest$ac_exeext'
31039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040 (eval $ac_try) 2>&5
31041 ac_status=$?
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; }; then
31044 ac_cv_lib_msvcrt_wcslen=yes
31045 else
31046 echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.$ac_ext >&5
31048
31049 ac_cv_lib_msvcrt_wcslen=no
31050 fi
31051 rm -f conftest.err conftest.$ac_objext \
31052 conftest$ac_exeext conftest.$ac_ext
31053 LIBS=$ac_check_lib_save_LIBS
31054 fi
31055 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31056 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31057 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31058 WCHAR_OK=1
31059 fi
31060
31061 else
31062 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31063 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31064 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067 ac_check_lib_save_LIBS=$LIBS
31068 LIBS="-lw $LIBS"
31069 cat >conftest.$ac_ext <<_ACEOF
31070 /* confdefs.h. */
31071 _ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31075
31076 /* Override any gcc2 internal prototype to avoid an error. */
31077 #ifdef __cplusplus
31078 extern "C"
31079 #endif
31080 /* We use char because int might match the return type of a gcc2
31081 builtin and then its argument prototype would still apply. */
31082 char wcslen ();
31083 int
31084 main ()
31085 {
31086 wcslen ();
31087 ;
31088 return 0;
31089 }
31090 _ACEOF
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31093 (eval $ac_link) 2>conftest.er1
31094 ac_status=$?
31095 grep -v '^ *+' conftest.er1 >conftest.err
31096 rm -f conftest.er1
31097 cat conftest.err >&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); } &&
31100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102 (eval $ac_try) 2>&5
31103 ac_status=$?
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; } &&
31106 { ac_try='test -s conftest$ac_exeext'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31109 ac_status=$?
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; }; then
31112 ac_cv_lib_w_wcslen=yes
31113 else
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.$ac_ext >&5
31116
31117 ac_cv_lib_w_wcslen=no
31118 fi
31119 rm -f conftest.err conftest.$ac_objext \
31120 conftest$ac_exeext conftest.$ac_ext
31121 LIBS=$ac_check_lib_save_LIBS
31122 fi
31123 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31124 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31125 if test $ac_cv_lib_w_wcslen = yes; then
31126
31127 WCHAR_LINK=" -lw"
31128 WCSLEN_FOUND=1
31129
31130 fi
31131
31132 fi
31133 fi
31134
31135 if test "$WCSLEN_FOUND" = 1; then
31136 cat >>confdefs.h <<\_ACEOF
31137 #define HAVE_WCSLEN 1
31138 _ACEOF
31139
31140 fi
31141
31142 if test "$USE_HPUX" = 1; then
31143 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31144 fi
31145
31146
31147 for ac_func in wcsrtombs
31148 do
31149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31150 echo "$as_me:$LINENO: checking for $ac_func" >&5
31151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31152 if eval "test \"\${$as_ac_var+set}\" = set"; then
31153 echo $ECHO_N "(cached) $ECHO_C" >&6
31154 else
31155 cat >conftest.$ac_ext <<_ACEOF
31156 /* confdefs.h. */
31157 _ACEOF
31158 cat confdefs.h >>conftest.$ac_ext
31159 cat >>conftest.$ac_ext <<_ACEOF
31160 /* end confdefs.h. */
31161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31163 #define $ac_func innocuous_$ac_func
31164
31165 /* System header to define __stub macros and hopefully few prototypes,
31166 which can conflict with char $ac_func (); below.
31167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31168 <limits.h> exists even on freestanding compilers. */
31169
31170 #ifdef __STDC__
31171 # include <limits.h>
31172 #else
31173 # include <assert.h>
31174 #endif
31175
31176 #undef $ac_func
31177
31178 /* Override any gcc2 internal prototype to avoid an error. */
31179 #ifdef __cplusplus
31180 extern "C"
31181 {
31182 #endif
31183 /* We use char because int might match the return type of a gcc2
31184 builtin and then its argument prototype would still apply. */
31185 char $ac_func ();
31186 /* The GNU C library defines this for functions which it implements
31187 to always fail with ENOSYS. Some functions are actually named
31188 something starting with __ and the normal name is an alias. */
31189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31190 choke me
31191 #else
31192 char (*f) () = $ac_func;
31193 #endif
31194 #ifdef __cplusplus
31195 }
31196 #endif
31197
31198 int
31199 main ()
31200 {
31201 return f != $ac_func;
31202 ;
31203 return 0;
31204 }
31205 _ACEOF
31206 rm -f conftest.$ac_objext conftest$ac_exeext
31207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31208 (eval $ac_link) 2>conftest.er1
31209 ac_status=$?
31210 grep -v '^ *+' conftest.er1 >conftest.err
31211 rm -f conftest.er1
31212 cat conftest.err >&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); } &&
31215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31218 ac_status=$?
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; } &&
31221 { ac_try='test -s conftest$ac_exeext'
31222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31223 (eval $ac_try) 2>&5
31224 ac_status=$?
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; }; then
31227 eval "$as_ac_var=yes"
31228 else
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.$ac_ext >&5
31231
31232 eval "$as_ac_var=no"
31233 fi
31234 rm -f conftest.err conftest.$ac_objext \
31235 conftest$ac_exeext conftest.$ac_ext
31236 fi
31237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31239 if test `eval echo '${'$as_ac_var'}'` = yes; then
31240 cat >>confdefs.h <<_ACEOF
31241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31242 _ACEOF
31243
31244 fi
31245 done
31246
31247 else
31248 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31249 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31250 fi
31251
31252
31253
31254 ac_ext=cc
31255 ac_cpp='$CXXCPP $CPPFLAGS'
31256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31259
31260
31261
31262 for ac_func in vsnprintf
31263 do
31264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31265 echo "$as_me:$LINENO: checking for $ac_func" >&5
31266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31267 if eval "test \"\${$as_ac_var+set}\" = set"; then
31268 echo $ECHO_N "(cached) $ECHO_C" >&6
31269 else
31270 cat >conftest.$ac_ext <<_ACEOF
31271 /* confdefs.h. */
31272 _ACEOF
31273 cat confdefs.h >>conftest.$ac_ext
31274 cat >>conftest.$ac_ext <<_ACEOF
31275 /* end confdefs.h. */
31276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31278 #define $ac_func innocuous_$ac_func
31279
31280 /* System header to define __stub macros and hopefully few prototypes,
31281 which can conflict with char $ac_func (); below.
31282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31283 <limits.h> exists even on freestanding compilers. */
31284
31285 #ifdef __STDC__
31286 # include <limits.h>
31287 #else
31288 # include <assert.h>
31289 #endif
31290
31291 #undef $ac_func
31292
31293 /* Override any gcc2 internal prototype to avoid an error. */
31294 #ifdef __cplusplus
31295 extern "C"
31296 {
31297 #endif
31298 /* We use char because int might match the return type of a gcc2
31299 builtin and then its argument prototype would still apply. */
31300 char $ac_func ();
31301 /* The GNU C library defines this for functions which it implements
31302 to always fail with ENOSYS. Some functions are actually named
31303 something starting with __ and the normal name is an alias. */
31304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31305 choke me
31306 #else
31307 char (*f) () = $ac_func;
31308 #endif
31309 #ifdef __cplusplus
31310 }
31311 #endif
31312
31313 int
31314 main ()
31315 {
31316 return f != $ac_func;
31317 ;
31318 return 0;
31319 }
31320 _ACEOF
31321 rm -f conftest.$ac_objext conftest$ac_exeext
31322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31323 (eval $ac_link) 2>conftest.er1
31324 ac_status=$?
31325 grep -v '^ *+' conftest.er1 >conftest.err
31326 rm -f conftest.er1
31327 cat conftest.err >&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } &&
31330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31333 ac_status=$?
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; } &&
31336 { ac_try='test -s conftest$ac_exeext'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31339 ac_status=$?
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; }; then
31342 eval "$as_ac_var=yes"
31343 else
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31346
31347 eval "$as_ac_var=no"
31348 fi
31349 rm -f conftest.err conftest.$ac_objext \
31350 conftest$ac_exeext conftest.$ac_ext
31351 fi
31352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31354 if test `eval echo '${'$as_ac_var'}'` = yes; then
31355 cat >>confdefs.h <<_ACEOF
31356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31357 _ACEOF
31358
31359 fi
31360 done
31361
31362
31363 if test "$ac_cv_func_vsnprintf" = "yes"; then
31364 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31365 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31366 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31367 echo $ECHO_N "(cached) $ECHO_C" >&6
31368 else
31369
31370 cat >conftest.$ac_ext <<_ACEOF
31371 /* confdefs.h. */
31372 _ACEOF
31373 cat confdefs.h >>conftest.$ac_ext
31374 cat >>conftest.$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31376
31377 #include <stdio.h>
31378 #include <stdarg.h>
31379
31380 int
31381 main ()
31382 {
31383
31384 char *buf;
31385 va_list ap;
31386 vsnprintf(buf, 10u, "%s", ap);
31387
31388 ;
31389 return 0;
31390 }
31391 _ACEOF
31392 rm -f conftest.$ac_objext
31393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31394 (eval $ac_compile) 2>conftest.er1
31395 ac_status=$?
31396 grep -v '^ *+' conftest.er1 >conftest.err
31397 rm -f conftest.er1
31398 cat conftest.err >&5
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); } &&
31401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31403 (eval $ac_try) 2>&5
31404 ac_status=$?
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); }; } &&
31407 { ac_try='test -s conftest.$ac_objext'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31410 ac_status=$?
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; }; then
31413 wx_cv_func_vsnprintf_decl=yes
31414 else
31415 echo "$as_me: failed program was:" >&5
31416 sed 's/^/| /' conftest.$ac_ext >&5
31417
31418
31419 cat >conftest.$ac_ext <<_ACEOF
31420 /* confdefs.h. */
31421 _ACEOF
31422 cat confdefs.h >>conftest.$ac_ext
31423 cat >>conftest.$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31425
31426 #include <stdio.h>
31427 #include <stdarg.h>
31428 using namespace std;
31429
31430 int
31431 main ()
31432 {
31433
31434 char *buf;
31435 va_list ap;
31436 vsnprintf(buf, 10u, "%s", ap);
31437
31438 ;
31439 return 0;
31440 }
31441 _ACEOF
31442 rm -f conftest.$ac_objext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31444 (eval $ac_compile) 2>conftest.er1
31445 ac_status=$?
31446 grep -v '^ *+' conftest.er1 >conftest.err
31447 rm -f conftest.er1
31448 cat conftest.err >&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; } &&
31457 { ac_try='test -s conftest.$ac_objext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31460 ac_status=$?
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 wx_cv_func_vsnprintf_decl=yes
31464 else
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.$ac_ext >&5
31467
31468 wx_cv_func_vsnprintf_decl=no
31469
31470 fi
31471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31472
31473
31474 fi
31475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31476
31477
31478 fi
31479 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31480 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31481
31482 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31483 cat >>confdefs.h <<\_ACEOF
31484 #define HAVE_VSNPRINTF_DECL 1
31485 _ACEOF
31486
31487 fi
31488 fi
31489
31490 if test "$wxUSE_UNICODE" = yes; then
31491
31492
31493
31494
31495
31496
31497 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31498 do
31499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31500 echo "$as_me:$LINENO: checking for $ac_func" >&5
31501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31502 if eval "test \"\${$as_ac_var+set}\" = set"; then
31503 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 else
31505 cat >conftest.$ac_ext <<_ACEOF
31506 /* confdefs.h. */
31507 _ACEOF
31508 cat confdefs.h >>conftest.$ac_ext
31509 cat >>conftest.$ac_ext <<_ACEOF
31510 /* end confdefs.h. */
31511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31513 #define $ac_func innocuous_$ac_func
31514
31515 /* System header to define __stub macros and hopefully few prototypes,
31516 which can conflict with char $ac_func (); below.
31517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31518 <limits.h> exists even on freestanding compilers. */
31519
31520 #ifdef __STDC__
31521 # include <limits.h>
31522 #else
31523 # include <assert.h>
31524 #endif
31525
31526 #undef $ac_func
31527
31528 /* Override any gcc2 internal prototype to avoid an error. */
31529 #ifdef __cplusplus
31530 extern "C"
31531 {
31532 #endif
31533 /* We use char because int might match the return type of a gcc2
31534 builtin and then its argument prototype would still apply. */
31535 char $ac_func ();
31536 /* The GNU C library defines this for functions which it implements
31537 to always fail with ENOSYS. Some functions are actually named
31538 something starting with __ and the normal name is an alias. */
31539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31540 choke me
31541 #else
31542 char (*f) () = $ac_func;
31543 #endif
31544 #ifdef __cplusplus
31545 }
31546 #endif
31547
31548 int
31549 main ()
31550 {
31551 return f != $ac_func;
31552 ;
31553 return 0;
31554 }
31555 _ACEOF
31556 rm -f conftest.$ac_objext conftest$ac_exeext
31557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31558 (eval $ac_link) 2>conftest.er1
31559 ac_status=$?
31560 grep -v '^ *+' conftest.er1 >conftest.err
31561 rm -f conftest.er1
31562 cat conftest.err >&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); } &&
31565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31567 (eval $ac_try) 2>&5
31568 ac_status=$?
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); }; } &&
31571 { ac_try='test -s conftest$ac_exeext'
31572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573 (eval $ac_try) 2>&5
31574 ac_status=$?
31575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 (exit $ac_status); }; }; then
31577 eval "$as_ac_var=yes"
31578 else
31579 echo "$as_me: failed program was:" >&5
31580 sed 's/^/| /' conftest.$ac_ext >&5
31581
31582 eval "$as_ac_var=no"
31583 fi
31584 rm -f conftest.err conftest.$ac_objext \
31585 conftest$ac_exeext conftest.$ac_ext
31586 fi
31587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31589 if test `eval echo '${'$as_ac_var'}'` = yes; then
31590 cat >>confdefs.h <<_ACEOF
31591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31592 _ACEOF
31593
31594 fi
31595 done
31596
31597
31598 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31599 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31600 cat >conftest.$ac_ext <<_ACEOF
31601 /* confdefs.h. */
31602 _ACEOF
31603 cat confdefs.h >>conftest.$ac_ext
31604 cat >>conftest.$ac_ext <<_ACEOF
31605 /* end confdefs.h. */
31606 #include <wchar.h>
31607 int
31608 main ()
31609 {
31610 &_vsnwprintf;
31611 ;
31612 return 0;
31613 }
31614 _ACEOF
31615 rm -f conftest.$ac_objext
31616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31617 (eval $ac_compile) 2>conftest.er1
31618 ac_status=$?
31619 grep -v '^ *+' conftest.er1 >conftest.err
31620 rm -f conftest.er1
31621 cat conftest.err >&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } &&
31624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31627 ac_status=$?
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; } &&
31630 { ac_try='test -s conftest.$ac_objext'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31633 ac_status=$?
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; }; then
31636 echo "$as_me:$LINENO: result: yes" >&5
31637 echo "${ECHO_T}yes" >&6
31638 cat >>confdefs.h <<\_ACEOF
31639 #define HAVE__VSNWPRINTF 1
31640 _ACEOF
31641
31642 else
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.$ac_ext >&5
31645
31646 echo "$as_me:$LINENO: result: no" >&5
31647 echo "${ECHO_T}no" >&6
31648 fi
31649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31650 fi
31651
31652 ac_ext=c
31653 ac_cpp='$CPP $CPPFLAGS'
31654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31657
31658
31659
31660
31661 if test "$TOOLKIT" != "MSW"; then
31662
31663
31664
31665
31666 ac_ext=cc
31667 ac_cpp='$CXXCPP $CPPFLAGS'
31668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31671
31672
31673
31674
31675 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31676 if test "${with_libiconv_prefix+set}" = set; then
31677 withval="$with_libiconv_prefix"
31678
31679 for dir in `echo "$withval" | tr : ' '`; do
31680 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31681 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31682 done
31683
31684 fi;
31685
31686 echo "$as_me:$LINENO: checking for iconv" >&5
31687 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31688 if test "${am_cv_func_iconv+set}" = set; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31690 else
31691
31692 am_cv_func_iconv="no, consider installing GNU libiconv"
31693 am_cv_lib_iconv=no
31694 cat >conftest.$ac_ext <<_ACEOF
31695 /* confdefs.h. */
31696 _ACEOF
31697 cat confdefs.h >>conftest.$ac_ext
31698 cat >>conftest.$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31700 #include <stdlib.h>
31701 #include <iconv.h>
31702 int
31703 main ()
31704 {
31705 iconv_t cd = iconv_open("","");
31706 iconv(cd,NULL,NULL,NULL,NULL);
31707 iconv_close(cd);
31708 ;
31709 return 0;
31710 }
31711 _ACEOF
31712 rm -f conftest.$ac_objext conftest$ac_exeext
31713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31714 (eval $ac_link) 2>conftest.er1
31715 ac_status=$?
31716 grep -v '^ *+' conftest.er1 >conftest.err
31717 rm -f conftest.er1
31718 cat conftest.err >&5
31719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720 (exit $ac_status); } &&
31721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31723 (eval $ac_try) 2>&5
31724 ac_status=$?
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); }; } &&
31727 { ac_try='test -s conftest$ac_exeext'
31728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729 (eval $ac_try) 2>&5
31730 ac_status=$?
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); }; }; then
31733 am_cv_func_iconv=yes
31734 else
31735 echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.$ac_ext >&5
31737
31738 fi
31739 rm -f conftest.err conftest.$ac_objext \
31740 conftest$ac_exeext conftest.$ac_ext
31741 if test "$am_cv_func_iconv" != yes; then
31742 am_save_LIBS="$LIBS"
31743 LIBS="$LIBS -liconv"
31744 cat >conftest.$ac_ext <<_ACEOF
31745 /* confdefs.h. */
31746 _ACEOF
31747 cat confdefs.h >>conftest.$ac_ext
31748 cat >>conftest.$ac_ext <<_ACEOF
31749 /* end confdefs.h. */
31750 #include <stdlib.h>
31751 #include <iconv.h>
31752 int
31753 main ()
31754 {
31755 iconv_t cd = iconv_open("","");
31756 iconv(cd,NULL,NULL,NULL,NULL);
31757 iconv_close(cd);
31758 ;
31759 return 0;
31760 }
31761 _ACEOF
31762 rm -f conftest.$ac_objext conftest$ac_exeext
31763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31764 (eval $ac_link) 2>conftest.er1
31765 ac_status=$?
31766 grep -v '^ *+' conftest.er1 >conftest.err
31767 rm -f conftest.er1
31768 cat conftest.err >&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } &&
31771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; } &&
31777 { ac_try='test -s conftest$ac_exeext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 am_cv_lib_iconv=yes
31784 am_cv_func_iconv=yes
31785 else
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.$ac_ext >&5
31788
31789 fi
31790 rm -f conftest.err conftest.$ac_objext \
31791 conftest$ac_exeext conftest.$ac_ext
31792 LIBS="$am_save_LIBS"
31793 fi
31794
31795 fi
31796 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31797 echo "${ECHO_T}$am_cv_func_iconv" >&6
31798 if test "$am_cv_func_iconv" = yes; then
31799
31800 cat >>confdefs.h <<\_ACEOF
31801 #define HAVE_ICONV 1
31802 _ACEOF
31803
31804 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31805 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31806 if test "${wx_cv_func_iconv_const+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31808 else
31809 cat >conftest.$ac_ext <<_ACEOF
31810 /* confdefs.h. */
31811 _ACEOF
31812 cat confdefs.h >>conftest.$ac_ext
31813 cat >>conftest.$ac_ext <<_ACEOF
31814 /* end confdefs.h. */
31815
31816 #include <stdlib.h>
31817 #include <iconv.h>
31818 extern
31819 #ifdef __cplusplus
31820 "C"
31821 #endif
31822 #if defined(__STDC__) || defined(__cplusplus)
31823 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31824 #else
31825 size_t iconv();
31826 #endif
31827
31828 int
31829 main ()
31830 {
31831
31832 ;
31833 return 0;
31834 }
31835 _ACEOF
31836 rm -f conftest.$ac_objext
31837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31838 (eval $ac_compile) 2>conftest.er1
31839 ac_status=$?
31840 grep -v '^ *+' conftest.er1 >conftest.err
31841 rm -f conftest.er1
31842 cat conftest.err >&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } &&
31845 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31848 ac_status=$?
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; } &&
31851 { ac_try='test -s conftest.$ac_objext'
31852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853 (eval $ac_try) 2>&5
31854 ac_status=$?
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); }; }; then
31857 wx_cv_func_iconv_const="no"
31858 else
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862 wx_cv_func_iconv_const="yes"
31863
31864 fi
31865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31866
31867 fi
31868 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31869 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31870
31871 iconv_const=
31872 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31873 iconv_const="const"
31874 fi
31875
31876
31877 cat >>confdefs.h <<_ACEOF
31878 #define ICONV_CONST $iconv_const
31879 _ACEOF
31880
31881 fi
31882 LIBICONV=
31883 if test "$am_cv_lib_iconv" = yes; then
31884 LIBICONV="-liconv"
31885 fi
31886
31887
31888 LIBS="$LIBICONV $LIBS"
31889 ac_ext=c
31890 ac_cpp='$CPP $CPPFLAGS'
31891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31894
31895
31896 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31897
31898 for ac_func in sigaction
31899 do
31900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31901 echo "$as_me:$LINENO: checking for $ac_func" >&5
31902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31903 if eval "test \"\${$as_ac_var+set}\" = set"; then
31904 echo $ECHO_N "(cached) $ECHO_C" >&6
31905 else
31906 cat >conftest.$ac_ext <<_ACEOF
31907 /* confdefs.h. */
31908 _ACEOF
31909 cat confdefs.h >>conftest.$ac_ext
31910 cat >>conftest.$ac_ext <<_ACEOF
31911 /* end confdefs.h. */
31912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31914 #define $ac_func innocuous_$ac_func
31915
31916 /* System header to define __stub macros and hopefully few prototypes,
31917 which can conflict with char $ac_func (); below.
31918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31919 <limits.h> exists even on freestanding compilers. */
31920
31921 #ifdef __STDC__
31922 # include <limits.h>
31923 #else
31924 # include <assert.h>
31925 #endif
31926
31927 #undef $ac_func
31928
31929 /* Override any gcc2 internal prototype to avoid an error. */
31930 #ifdef __cplusplus
31931 extern "C"
31932 {
31933 #endif
31934 /* We use char because int might match the return type of a gcc2
31935 builtin and then its argument prototype would still apply. */
31936 char $ac_func ();
31937 /* The GNU C library defines this for functions which it implements
31938 to always fail with ENOSYS. Some functions are actually named
31939 something starting with __ and the normal name is an alias. */
31940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31941 choke me
31942 #else
31943 char (*f) () = $ac_func;
31944 #endif
31945 #ifdef __cplusplus
31946 }
31947 #endif
31948
31949 int
31950 main ()
31951 {
31952 return f != $ac_func;
31953 ;
31954 return 0;
31955 }
31956 _ACEOF
31957 rm -f conftest.$ac_objext conftest$ac_exeext
31958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31959 (eval $ac_link) 2>conftest.er1
31960 ac_status=$?
31961 grep -v '^ *+' conftest.er1 >conftest.err
31962 rm -f conftest.er1
31963 cat conftest.err >&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } &&
31966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; } &&
31972 { ac_try='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31975 ac_status=$?
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31979 else
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.$ac_ext >&5
31982
31983 eval "$as_ac_var=no"
31984 fi
31985 rm -f conftest.err conftest.$ac_objext \
31986 conftest$ac_exeext conftest.$ac_ext
31987 fi
31988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31990 if test `eval echo '${'$as_ac_var'}'` = yes; then
31991 cat >>confdefs.h <<_ACEOF
31992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31993 _ACEOF
31994
31995 fi
31996 done
31997
31998
31999 if test "$ac_cv_func_sigaction" = "no"; then
32000 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32001 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32002 wxUSE_ON_FATAL_EXCEPTION=no
32003 fi
32004
32005 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32006
32007
32008 ac_ext=cc
32009 ac_cpp='$CXXCPP $CPPFLAGS'
32010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32013
32014
32015 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32016 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32017 if test "${wx_cv_type_sa_handler+set}" = set; then
32018 echo $ECHO_N "(cached) $ECHO_C" >&6
32019 else
32020
32021 cat >conftest.$ac_ext <<_ACEOF
32022 /* confdefs.h. */
32023 _ACEOF
32024 cat confdefs.h >>conftest.$ac_ext
32025 cat >>conftest.$ac_ext <<_ACEOF
32026 /* end confdefs.h. */
32027 #include <signal.h>
32028 int
32029 main ()
32030 {
32031
32032 extern void testSigHandler(int);
32033
32034 struct sigaction sa;
32035 sa.sa_handler = testSigHandler;
32036
32037 ;
32038 return 0;
32039 }
32040 _ACEOF
32041 rm -f conftest.$ac_objext
32042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32043 (eval $ac_compile) 2>conftest.er1
32044 ac_status=$?
32045 grep -v '^ *+' conftest.er1 >conftest.err
32046 rm -f conftest.er1
32047 cat conftest.err >&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); } &&
32050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052 (eval $ac_try) 2>&5
32053 ac_status=$?
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); }; } &&
32056 { ac_try='test -s conftest.$ac_objext'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32059 ac_status=$?
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; }; then
32062
32063 wx_cv_type_sa_handler=int
32064
32065 else
32066 echo "$as_me: failed program was:" >&5
32067 sed 's/^/| /' conftest.$ac_ext >&5
32068
32069
32070 wx_cv_type_sa_handler=void
32071
32072 fi
32073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32074
32075 fi
32076 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32077 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32078
32079 ac_ext=c
32080 ac_cpp='$CPP $CPPFLAGS'
32081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32084
32085
32086 cat >>confdefs.h <<_ACEOF
32087 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32088 _ACEOF
32089
32090 fi
32091 fi
32092
32093 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32094
32095
32096 ac_ext=cc
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101
32102
32103 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32104 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32105 if test "${wx_cv_func_backtrace+set}" = set; then
32106 echo $ECHO_N "(cached) $ECHO_C" >&6
32107 else
32108
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 #include <execinfo.h>
32116 int
32117 main ()
32118 {
32119
32120 void *trace[1];
32121 char **messages;
32122
32123 backtrace(trace, 1);
32124 messages = backtrace_symbols(trace, 1);
32125
32126 ;
32127 return 0;
32128 }
32129 _ACEOF
32130 rm -f conftest.$ac_objext
32131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32132 (eval $ac_compile) 2>conftest.er1
32133 ac_status=$?
32134 grep -v '^ *+' conftest.er1 >conftest.err
32135 rm -f conftest.er1
32136 cat conftest.err >&5
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); } &&
32139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32141 (eval $ac_try) 2>&5
32142 ac_status=$?
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); }; } &&
32145 { ac_try='test -s conftest.$ac_objext'
32146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32147 (eval $ac_try) 2>&5
32148 ac_status=$?
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); }; }; then
32151 wx_cv_func_backtrace=yes
32152 else
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32155
32156 wx_cv_func_backtrace=no
32157
32158 fi
32159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32160
32161
32162 fi
32163 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32164 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32165
32166
32167 if test "$wx_cv_func_backtrace" = "no"; then
32168 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32169 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32170 wxUSE_STACKWALKER=no
32171 else
32172 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32173 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32174 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32175 echo $ECHO_N "(cached) $ECHO_C" >&6
32176 else
32177
32178 cat >conftest.$ac_ext <<_ACEOF
32179 /* confdefs.h. */
32180 _ACEOF
32181 cat confdefs.h >>conftest.$ac_ext
32182 cat >>conftest.$ac_ext <<_ACEOF
32183 /* end confdefs.h. */
32184 #include <cxxabi.h>
32185 int
32186 main ()
32187 {
32188
32189 int rc;
32190 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32191
32192 ;
32193 return 0;
32194 }
32195 _ACEOF
32196 rm -f conftest.$ac_objext conftest$ac_exeext
32197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32198 (eval $ac_link) 2>conftest.er1
32199 ac_status=$?
32200 grep -v '^ *+' conftest.er1 >conftest.err
32201 rm -f conftest.er1
32202 cat conftest.err >&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } &&
32205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32208 ac_status=$?
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; } &&
32211 { ac_try='test -s conftest$ac_exeext'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32214 ac_status=$?
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; }; then
32217 wx_cv_func_cxa_demangle=yes
32218 else
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.$ac_ext >&5
32221
32222 wx_cv_func_cxa_demangle=no
32223
32224 fi
32225 rm -f conftest.err conftest.$ac_objext \
32226 conftest$ac_exeext conftest.$ac_ext
32227
32228
32229 fi
32230 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32231 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32232
32233 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32234 cat >>confdefs.h <<\_ACEOF
32235 #define HAVE_CXA_DEMANGLE 1
32236 _ACEOF
32237
32238 fi
32239 fi
32240
32241 ac_ext=c
32242 ac_cpp='$CPP $CPPFLAGS'
32243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32246
32247 fi
32248
32249 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32250 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32251 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32252 wxUSE_STACKWALKER=no
32253 fi
32254
32255
32256
32257
32258 for ac_func in mkstemp mktemp
32259 do
32260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32261 echo "$as_me:$LINENO: checking for $ac_func" >&5
32262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32263 if eval "test \"\${$as_ac_var+set}\" = set"; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32265 else
32266 cat >conftest.$ac_ext <<_ACEOF
32267 /* confdefs.h. */
32268 _ACEOF
32269 cat confdefs.h >>conftest.$ac_ext
32270 cat >>conftest.$ac_ext <<_ACEOF
32271 /* end confdefs.h. */
32272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32274 #define $ac_func innocuous_$ac_func
32275
32276 /* System header to define __stub macros and hopefully few prototypes,
32277 which can conflict with char $ac_func (); below.
32278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32279 <limits.h> exists even on freestanding compilers. */
32280
32281 #ifdef __STDC__
32282 # include <limits.h>
32283 #else
32284 # include <assert.h>
32285 #endif
32286
32287 #undef $ac_func
32288
32289 /* Override any gcc2 internal prototype to avoid an error. */
32290 #ifdef __cplusplus
32291 extern "C"
32292 {
32293 #endif
32294 /* We use char because int might match the return type of a gcc2
32295 builtin and then its argument prototype would still apply. */
32296 char $ac_func ();
32297 /* The GNU C library defines this for functions which it implements
32298 to always fail with ENOSYS. Some functions are actually named
32299 something starting with __ and the normal name is an alias. */
32300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32301 choke me
32302 #else
32303 char (*f) () = $ac_func;
32304 #endif
32305 #ifdef __cplusplus
32306 }
32307 #endif
32308
32309 int
32310 main ()
32311 {
32312 return f != $ac_func;
32313 ;
32314 return 0;
32315 }
32316 _ACEOF
32317 rm -f conftest.$ac_objext conftest$ac_exeext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32319 (eval $ac_link) 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32329 ac_status=$?
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; } &&
32332 { ac_try='test -s conftest$ac_exeext'
32333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 (eval $ac_try) 2>&5
32335 ac_status=$?
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); }; }; then
32338 eval "$as_ac_var=yes"
32339 else
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.$ac_ext >&5
32342
32343 eval "$as_ac_var=no"
32344 fi
32345 rm -f conftest.err conftest.$ac_objext \
32346 conftest$ac_exeext conftest.$ac_ext
32347 fi
32348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32350 if test `eval echo '${'$as_ac_var'}'` = yes; then
32351 cat >>confdefs.h <<_ACEOF
32352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32353 _ACEOF
32354 break
32355 fi
32356 done
32357
32358
32359 echo "$as_me:$LINENO: checking for statfs" >&5
32360 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32361 if test "${wx_cv_func_statfs+set}" = set; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32363 else
32364 cat >conftest.$ac_ext <<_ACEOF
32365 /* confdefs.h. */
32366 _ACEOF
32367 cat confdefs.h >>conftest.$ac_ext
32368 cat >>conftest.$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32370
32371 #if defined(__BSD__)
32372 #include <sys/param.h>
32373 #include <sys/mount.h>
32374 #else
32375 #include <sys/vfs.h>
32376 #endif
32377
32378 int
32379 main ()
32380 {
32381
32382 long l;
32383 struct statfs fs;
32384 statfs("/", &fs);
32385 l = fs.f_bsize;
32386 l += fs.f_blocks;
32387 l += fs.f_bavail;
32388
32389 ;
32390 return 0;
32391 }
32392 _ACEOF
32393 rm -f conftest.$ac_objext
32394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32395 (eval $ac_compile) 2>conftest.er1
32396 ac_status=$?
32397 grep -v '^ *+' conftest.er1 >conftest.err
32398 rm -f conftest.er1
32399 cat conftest.err >&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); } &&
32402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32405 ac_status=$?
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; } &&
32408 { ac_try='test -s conftest.$ac_objext'
32409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32410 (eval $ac_try) 2>&5
32411 ac_status=$?
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; }; then
32414
32415 wx_cv_func_statfs=yes
32416
32417 else
32418 echo "$as_me: failed program was:" >&5
32419 sed 's/^/| /' conftest.$ac_ext >&5
32420
32421
32422 wx_cv_func_statfs=no
32423
32424
32425 fi
32426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32427
32428 fi
32429 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32430 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32431
32432 if test "$wx_cv_func_statfs" = "yes"; then
32433 wx_cv_type_statvfs_t="struct statfs"
32434 cat >>confdefs.h <<\_ACEOF
32435 #define HAVE_STATFS 1
32436 _ACEOF
32437
32438 else
32439 echo "$as_me:$LINENO: checking for statvfs" >&5
32440 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32441 if test "${wx_cv_func_statvfs+set}" = set; then
32442 echo $ECHO_N "(cached) $ECHO_C" >&6
32443 else
32444 cat >conftest.$ac_ext <<_ACEOF
32445 /* confdefs.h. */
32446 _ACEOF
32447 cat confdefs.h >>conftest.$ac_ext
32448 cat >>conftest.$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32450
32451 #include <stddef.h>
32452 #include <sys/statvfs.h>
32453
32454 int
32455 main ()
32456 {
32457
32458 statvfs("/", NULL);
32459
32460 ;
32461 return 0;
32462 }
32463 _ACEOF
32464 rm -f conftest.$ac_objext
32465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32466 (eval $ac_compile) 2>conftest.er1
32467 ac_status=$?
32468 grep -v '^ *+' conftest.er1 >conftest.err
32469 rm -f conftest.er1
32470 cat conftest.err >&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); } &&
32473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32476 ac_status=$?
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; } &&
32479 { ac_try='test -s conftest.$ac_objext'
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32482 ac_status=$?
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; }; then
32485 wx_cv_func_statvfs=yes
32486 else
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32489
32490 wx_cv_func_statvfs=no
32491
32492 fi
32493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32494
32495 fi
32496 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32497 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32498
32499 if test "$wx_cv_func_statvfs" = "yes"; then
32500
32501
32502 ac_ext=cc
32503 ac_cpp='$CXXCPP $CPPFLAGS'
32504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32507
32508
32509 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32510 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32511 if test "${wx_cv_type_statvfs_t+set}" = set; then
32512 echo $ECHO_N "(cached) $ECHO_C" >&6
32513 else
32514 cat >conftest.$ac_ext <<_ACEOF
32515 /* confdefs.h. */
32516 _ACEOF
32517 cat confdefs.h >>conftest.$ac_ext
32518 cat >>conftest.$ac_ext <<_ACEOF
32519 /* end confdefs.h. */
32520
32521 #include <sys/statvfs.h>
32522
32523 int
32524 main ()
32525 {
32526
32527 long l;
32528 statvfs_t fs;
32529 statvfs("/", &fs);
32530 l = fs.f_bsize;
32531 l += fs.f_blocks;
32532 l += fs.f_bavail;
32533
32534 ;
32535 return 0;
32536 }
32537 _ACEOF
32538 rm -f conftest.$ac_objext
32539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32540 (eval $ac_compile) 2>conftest.er1
32541 ac_status=$?
32542 grep -v '^ *+' conftest.er1 >conftest.err
32543 rm -f conftest.er1
32544 cat conftest.err >&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); } &&
32547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32549 (eval $ac_try) 2>&5
32550 ac_status=$?
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); }; } &&
32553 { ac_try='test -s conftest.$ac_objext'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32556 ac_status=$?
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; }; then
32559 wx_cv_type_statvfs_t=statvfs_t
32560 else
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.$ac_ext >&5
32563
32564
32565 cat >conftest.$ac_ext <<_ACEOF
32566 /* confdefs.h. */
32567 _ACEOF
32568 cat confdefs.h >>conftest.$ac_ext
32569 cat >>conftest.$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32571
32572 #include <sys/statvfs.h>
32573
32574 int
32575 main ()
32576 {
32577
32578 long l;
32579 struct statvfs fs;
32580 statvfs("/", &fs);
32581 l = fs.f_bsize;
32582 l += fs.f_blocks;
32583 l += fs.f_bavail;
32584
32585 ;
32586 return 0;
32587 }
32588 _ACEOF
32589 rm -f conftest.$ac_objext
32590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32591 (eval $ac_compile) 2>conftest.er1
32592 ac_status=$?
32593 grep -v '^ *+' conftest.er1 >conftest.err
32594 rm -f conftest.er1
32595 cat conftest.err >&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32601 ac_status=$?
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; } &&
32604 { ac_try='test -s conftest.$ac_objext'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32607 ac_status=$?
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; }; then
32610 wx_cv_type_statvfs_t="struct statvfs"
32611 else
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.$ac_ext >&5
32614
32615 wx_cv_type_statvfs_t="unknown"
32616
32617 fi
32618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32619
32620
32621 fi
32622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32623
32624 fi
32625 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32626 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32627
32628 ac_ext=c
32629 ac_cpp='$CPP $CPPFLAGS'
32630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32633
32634
32635 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32636 cat >>confdefs.h <<\_ACEOF
32637 #define HAVE_STATVFS 1
32638 _ACEOF
32639
32640 fi
32641 else
32642 wx_cv_type_statvfs_t="unknown"
32643 fi
32644 fi
32645
32646 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32647 cat >>confdefs.h <<_ACEOF
32648 #define WX_STATFS_T $wx_cv_type_statvfs_t
32649 _ACEOF
32650
32651 else
32652 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32653 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32654 fi
32655
32656 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32657
32658
32659 for ac_func in fcntl flock
32660 do
32661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32662 echo "$as_me:$LINENO: checking for $ac_func" >&5
32663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32664 if eval "test \"\${$as_ac_var+set}\" = set"; then
32665 echo $ECHO_N "(cached) $ECHO_C" >&6
32666 else
32667 cat >conftest.$ac_ext <<_ACEOF
32668 /* confdefs.h. */
32669 _ACEOF
32670 cat confdefs.h >>conftest.$ac_ext
32671 cat >>conftest.$ac_ext <<_ACEOF
32672 /* end confdefs.h. */
32673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32675 #define $ac_func innocuous_$ac_func
32676
32677 /* System header to define __stub macros and hopefully few prototypes,
32678 which can conflict with char $ac_func (); below.
32679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32680 <limits.h> exists even on freestanding compilers. */
32681
32682 #ifdef __STDC__
32683 # include <limits.h>
32684 #else
32685 # include <assert.h>
32686 #endif
32687
32688 #undef $ac_func
32689
32690 /* Override any gcc2 internal prototype to avoid an error. */
32691 #ifdef __cplusplus
32692 extern "C"
32693 {
32694 #endif
32695 /* We use char because int might match the return type of a gcc2
32696 builtin and then its argument prototype would still apply. */
32697 char $ac_func ();
32698 /* The GNU C library defines this for functions which it implements
32699 to always fail with ENOSYS. Some functions are actually named
32700 something starting with __ and the normal name is an alias. */
32701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32702 choke me
32703 #else
32704 char (*f) () = $ac_func;
32705 #endif
32706 #ifdef __cplusplus
32707 }
32708 #endif
32709
32710 int
32711 main ()
32712 {
32713 return f != $ac_func;
32714 ;
32715 return 0;
32716 }
32717 _ACEOF
32718 rm -f conftest.$ac_objext conftest$ac_exeext
32719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32720 (eval $ac_link) 2>conftest.er1
32721 ac_status=$?
32722 grep -v '^ *+' conftest.er1 >conftest.err
32723 rm -f conftest.er1
32724 cat conftest.err >&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); } &&
32727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32730 ac_status=$?
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; } &&
32733 { ac_try='test -s conftest$ac_exeext'
32734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32735 (eval $ac_try) 2>&5
32736 ac_status=$?
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); }; }; then
32739 eval "$as_ac_var=yes"
32740 else
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.$ac_ext >&5
32743
32744 eval "$as_ac_var=no"
32745 fi
32746 rm -f conftest.err conftest.$ac_objext \
32747 conftest$ac_exeext conftest.$ac_ext
32748 fi
32749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32751 if test `eval echo '${'$as_ac_var'}'` = yes; then
32752 cat >>confdefs.h <<_ACEOF
32753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32754 _ACEOF
32755 break
32756 fi
32757 done
32758
32759
32760 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32761 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32762 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32763 wxUSE_SNGLINST_CHECKER=no
32764 fi
32765 fi
32766
32767
32768 for ac_func in timegm
32769 do
32770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32771 echo "$as_me:$LINENO: checking for $ac_func" >&5
32772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32773 if eval "test \"\${$as_ac_var+set}\" = set"; then
32774 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 else
32776 cat >conftest.$ac_ext <<_ACEOF
32777 /* confdefs.h. */
32778 _ACEOF
32779 cat confdefs.h >>conftest.$ac_ext
32780 cat >>conftest.$ac_ext <<_ACEOF
32781 /* end confdefs.h. */
32782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32784 #define $ac_func innocuous_$ac_func
32785
32786 /* System header to define __stub macros and hopefully few prototypes,
32787 which can conflict with char $ac_func (); below.
32788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32789 <limits.h> exists even on freestanding compilers. */
32790
32791 #ifdef __STDC__
32792 # include <limits.h>
32793 #else
32794 # include <assert.h>
32795 #endif
32796
32797 #undef $ac_func
32798
32799 /* Override any gcc2 internal prototype to avoid an error. */
32800 #ifdef __cplusplus
32801 extern "C"
32802 {
32803 #endif
32804 /* We use char because int might match the return type of a gcc2
32805 builtin and then its argument prototype would still apply. */
32806 char $ac_func ();
32807 /* The GNU C library defines this for functions which it implements
32808 to always fail with ENOSYS. Some functions are actually named
32809 something starting with __ and the normal name is an alias. */
32810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32811 choke me
32812 #else
32813 char (*f) () = $ac_func;
32814 #endif
32815 #ifdef __cplusplus
32816 }
32817 #endif
32818
32819 int
32820 main ()
32821 {
32822 return f != $ac_func;
32823 ;
32824 return 0;
32825 }
32826 _ACEOF
32827 rm -f conftest.$ac_objext conftest$ac_exeext
32828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32829 (eval $ac_link) 2>conftest.er1
32830 ac_status=$?
32831 grep -v '^ *+' conftest.er1 >conftest.err
32832 rm -f conftest.er1
32833 cat conftest.err >&5
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); } &&
32836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32845 ac_status=$?
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 eval "$as_ac_var=yes"
32849 else
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.$ac_ext >&5
32852
32853 eval "$as_ac_var=no"
32854 fi
32855 rm -f conftest.err conftest.$ac_objext \
32856 conftest$ac_exeext conftest.$ac_ext
32857 fi
32858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32860 if test `eval echo '${'$as_ac_var'}'` = yes; then
32861 cat >>confdefs.h <<_ACEOF
32862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32863 _ACEOF
32864
32865 fi
32866 done
32867
32868
32869
32870
32871 for ac_func in putenv setenv
32872 do
32873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32874 echo "$as_me:$LINENO: checking for $ac_func" >&5
32875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32876 if eval "test \"\${$as_ac_var+set}\" = set"; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 else
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32887 #define $ac_func innocuous_$ac_func
32888
32889 /* System header to define __stub macros and hopefully few prototypes,
32890 which can conflict with char $ac_func (); below.
32891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32892 <limits.h> exists even on freestanding compilers. */
32893
32894 #ifdef __STDC__
32895 # include <limits.h>
32896 #else
32897 # include <assert.h>
32898 #endif
32899
32900 #undef $ac_func
32901
32902 /* Override any gcc2 internal prototype to avoid an error. */
32903 #ifdef __cplusplus
32904 extern "C"
32905 {
32906 #endif
32907 /* We use char because int might match the return type of a gcc2
32908 builtin and then its argument prototype would still apply. */
32909 char $ac_func ();
32910 /* The GNU C library defines this for functions which it implements
32911 to always fail with ENOSYS. Some functions are actually named
32912 something starting with __ and the normal name is an alias. */
32913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32914 choke me
32915 #else
32916 char (*f) () = $ac_func;
32917 #endif
32918 #ifdef __cplusplus
32919 }
32920 #endif
32921
32922 int
32923 main ()
32924 {
32925 return f != $ac_func;
32926 ;
32927 return 0;
32928 }
32929 _ACEOF
32930 rm -f conftest.$ac_objext conftest$ac_exeext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32932 (eval $ac_link) 2>conftest.er1
32933 ac_status=$?
32934 grep -v '^ *+' conftest.er1 >conftest.err
32935 rm -f conftest.er1
32936 cat conftest.err >&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32942 ac_status=$?
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try='test -s conftest$ac_exeext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32948 ac_status=$?
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 eval "$as_ac_var=yes"
32952 else
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.$ac_ext >&5
32955
32956 eval "$as_ac_var=no"
32957 fi
32958 rm -f conftest.err conftest.$ac_objext \
32959 conftest$ac_exeext conftest.$ac_ext
32960 fi
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h <<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32966 _ACEOF
32967 break
32968 fi
32969 done
32970
32971
32972 HAVE_SOME_SLEEP_FUNC=0
32973 if test "$USE_BEOS" = 1; then
32974 cat >>confdefs.h <<\_ACEOF
32975 #define HAVE_SLEEP 1
32976 _ACEOF
32977
32978 HAVE_SOME_SLEEP_FUNC=1
32979 fi
32980
32981 if test "$USE_DARWIN" = 1; then
32982 cat >>confdefs.h <<\_ACEOF
32983 #define HAVE_USLEEP 1
32984 _ACEOF
32985
32986 HAVE_SOME_SLEEP_FUNC=1
32987 fi
32988
32989 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32990 POSIX4_LINK=
32991
32992 for ac_func in nanosleep
32993 do
32994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32995 echo "$as_me:$LINENO: checking for $ac_func" >&5
32996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32997 if eval "test \"\${$as_ac_var+set}\" = set"; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 else
33000 cat >conftest.$ac_ext <<_ACEOF
33001 /* confdefs.h. */
33002 _ACEOF
33003 cat confdefs.h >>conftest.$ac_ext
33004 cat >>conftest.$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33008 #define $ac_func innocuous_$ac_func
33009
33010 /* System header to define __stub macros and hopefully few prototypes,
33011 which can conflict with char $ac_func (); below.
33012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33013 <limits.h> exists even on freestanding compilers. */
33014
33015 #ifdef __STDC__
33016 # include <limits.h>
33017 #else
33018 # include <assert.h>
33019 #endif
33020
33021 #undef $ac_func
33022
33023 /* Override any gcc2 internal prototype to avoid an error. */
33024 #ifdef __cplusplus
33025 extern "C"
33026 {
33027 #endif
33028 /* We use char because int might match the return type of a gcc2
33029 builtin and then its argument prototype would still apply. */
33030 char $ac_func ();
33031 /* The GNU C library defines this for functions which it implements
33032 to always fail with ENOSYS. Some functions are actually named
33033 something starting with __ and the normal name is an alias. */
33034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33035 choke me
33036 #else
33037 char (*f) () = $ac_func;
33038 #endif
33039 #ifdef __cplusplus
33040 }
33041 #endif
33042
33043 int
33044 main ()
33045 {
33046 return f != $ac_func;
33047 ;
33048 return 0;
33049 }
33050 _ACEOF
33051 rm -f conftest.$ac_objext conftest$ac_exeext
33052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33053 (eval $ac_link) 2>conftest.er1
33054 ac_status=$?
33055 grep -v '^ *+' conftest.er1 >conftest.err
33056 rm -f conftest.er1
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } &&
33060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; } &&
33066 { ac_try='test -s conftest$ac_exeext'
33067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33068 (eval $ac_try) 2>&5
33069 ac_status=$?
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); }; }; then
33072 eval "$as_ac_var=yes"
33073 else
33074 echo "$as_me: failed program was:" >&5
33075 sed 's/^/| /' conftest.$ac_ext >&5
33076
33077 eval "$as_ac_var=no"
33078 fi
33079 rm -f conftest.err conftest.$ac_objext \
33080 conftest$ac_exeext conftest.$ac_ext
33081 fi
33082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33084 if test `eval echo '${'$as_ac_var'}'` = yes; then
33085 cat >>confdefs.h <<_ACEOF
33086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33087 _ACEOF
33088 cat >>confdefs.h <<\_ACEOF
33089 #define HAVE_NANOSLEEP 1
33090 _ACEOF
33091
33092 else
33093
33094 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33095 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33096 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33098 else
33099 ac_check_lib_save_LIBS=$LIBS
33100 LIBS="-lposix4 $LIBS"
33101 cat >conftest.$ac_ext <<_ACEOF
33102 /* confdefs.h. */
33103 _ACEOF
33104 cat confdefs.h >>conftest.$ac_ext
33105 cat >>conftest.$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33107
33108 /* Override any gcc2 internal prototype to avoid an error. */
33109 #ifdef __cplusplus
33110 extern "C"
33111 #endif
33112 /* We use char because int might match the return type of a gcc2
33113 builtin and then its argument prototype would still apply. */
33114 char nanosleep ();
33115 int
33116 main ()
33117 {
33118 nanosleep ();
33119 ;
33120 return 0;
33121 }
33122 _ACEOF
33123 rm -f conftest.$ac_objext conftest$ac_exeext
33124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33125 (eval $ac_link) 2>conftest.er1
33126 ac_status=$?
33127 grep -v '^ *+' conftest.er1 >conftest.err
33128 rm -f conftest.er1
33129 cat conftest.err >&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); } &&
33132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33134 (eval $ac_try) 2>&5
33135 ac_status=$?
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); }; } &&
33138 { ac_try='test -s conftest$ac_exeext'
33139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33140 (eval $ac_try) 2>&5
33141 ac_status=$?
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); }; }; then
33144 ac_cv_lib_posix4_nanosleep=yes
33145 else
33146 echo "$as_me: failed program was:" >&5
33147 sed 's/^/| /' conftest.$ac_ext >&5
33148
33149 ac_cv_lib_posix4_nanosleep=no
33150 fi
33151 rm -f conftest.err conftest.$ac_objext \
33152 conftest$ac_exeext conftest.$ac_ext
33153 LIBS=$ac_check_lib_save_LIBS
33154 fi
33155 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33156 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33157 if test $ac_cv_lib_posix4_nanosleep = yes; then
33158
33159 cat >>confdefs.h <<\_ACEOF
33160 #define HAVE_NANOSLEEP 1
33161 _ACEOF
33162
33163 POSIX4_LINK=" -lposix4"
33164
33165 else
33166
33167
33168 for ac_func in usleep
33169 do
33170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33171 echo "$as_me:$LINENO: checking for $ac_func" >&5
33172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33173 if eval "test \"\${$as_ac_var+set}\" = set"; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 else
33176 cat >conftest.$ac_ext <<_ACEOF
33177 /* confdefs.h. */
33178 _ACEOF
33179 cat confdefs.h >>conftest.$ac_ext
33180 cat >>conftest.$ac_ext <<_ACEOF
33181 /* end confdefs.h. */
33182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33184 #define $ac_func innocuous_$ac_func
33185
33186 /* System header to define __stub macros and hopefully few prototypes,
33187 which can conflict with char $ac_func (); below.
33188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33189 <limits.h> exists even on freestanding compilers. */
33190
33191 #ifdef __STDC__
33192 # include <limits.h>
33193 #else
33194 # include <assert.h>
33195 #endif
33196
33197 #undef $ac_func
33198
33199 /* Override any gcc2 internal prototype to avoid an error. */
33200 #ifdef __cplusplus
33201 extern "C"
33202 {
33203 #endif
33204 /* We use char because int might match the return type of a gcc2
33205 builtin and then its argument prototype would still apply. */
33206 char $ac_func ();
33207 /* The GNU C library defines this for functions which it implements
33208 to always fail with ENOSYS. Some functions are actually named
33209 something starting with __ and the normal name is an alias. */
33210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33211 choke me
33212 #else
33213 char (*f) () = $ac_func;
33214 #endif
33215 #ifdef __cplusplus
33216 }
33217 #endif
33218
33219 int
33220 main ()
33221 {
33222 return f != $ac_func;
33223 ;
33224 return 0;
33225 }
33226 _ACEOF
33227 rm -f conftest.$ac_objext conftest$ac_exeext
33228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33229 (eval $ac_link) 2>conftest.er1
33230 ac_status=$?
33231 grep -v '^ *+' conftest.er1 >conftest.err
33232 rm -f conftest.er1
33233 cat conftest.err >&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); } &&
33236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33239 ac_status=$?
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; } &&
33242 { ac_try='test -s conftest$ac_exeext'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33245 ac_status=$?
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; }; then
33248 eval "$as_ac_var=yes"
33249 else
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.$ac_ext >&5
33252
33253 eval "$as_ac_var=no"
33254 fi
33255 rm -f conftest.err conftest.$ac_objext \
33256 conftest$ac_exeext conftest.$ac_ext
33257 fi
33258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33260 if test `eval echo '${'$as_ac_var'}'` = yes; then
33261 cat >>confdefs.h <<_ACEOF
33262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33263 _ACEOF
33264 cat >>confdefs.h <<\_ACEOF
33265 #define HAVE_USLEEP 1
33266 _ACEOF
33267
33268 else
33269 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33270 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33271
33272 fi
33273 done
33274
33275
33276
33277 fi
33278
33279
33280
33281 fi
33282 done
33283
33284 fi
33285
33286
33287
33288 for ac_func in uname gethostname
33289 do
33290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33291 echo "$as_me:$LINENO: checking for $ac_func" >&5
33292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33293 if eval "test \"\${$as_ac_var+set}\" = set"; then
33294 echo $ECHO_N "(cached) $ECHO_C" >&6
33295 else
33296 cat >conftest.$ac_ext <<_ACEOF
33297 /* confdefs.h. */
33298 _ACEOF
33299 cat confdefs.h >>conftest.$ac_ext
33300 cat >>conftest.$ac_ext <<_ACEOF
33301 /* end confdefs.h. */
33302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33304 #define $ac_func innocuous_$ac_func
33305
33306 /* System header to define __stub macros and hopefully few prototypes,
33307 which can conflict with char $ac_func (); below.
33308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33309 <limits.h> exists even on freestanding compilers. */
33310
33311 #ifdef __STDC__
33312 # include <limits.h>
33313 #else
33314 # include <assert.h>
33315 #endif
33316
33317 #undef $ac_func
33318
33319 /* Override any gcc2 internal prototype to avoid an error. */
33320 #ifdef __cplusplus
33321 extern "C"
33322 {
33323 #endif
33324 /* We use char because int might match the return type of a gcc2
33325 builtin and then its argument prototype would still apply. */
33326 char $ac_func ();
33327 /* The GNU C library defines this for functions which it implements
33328 to always fail with ENOSYS. Some functions are actually named
33329 something starting with __ and the normal name is an alias. */
33330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33331 choke me
33332 #else
33333 char (*f) () = $ac_func;
33334 #endif
33335 #ifdef __cplusplus
33336 }
33337 #endif
33338
33339 int
33340 main ()
33341 {
33342 return f != $ac_func;
33343 ;
33344 return 0;
33345 }
33346 _ACEOF
33347 rm -f conftest.$ac_objext conftest$ac_exeext
33348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33349 (eval $ac_link) 2>conftest.er1
33350 ac_status=$?
33351 grep -v '^ *+' conftest.er1 >conftest.err
33352 rm -f conftest.er1
33353 cat conftest.err >&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } &&
33356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33359 ac_status=$?
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try='test -s conftest$ac_exeext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33365 ac_status=$?
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 eval "$as_ac_var=yes"
33369 else
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.$ac_ext >&5
33372
33373 eval "$as_ac_var=no"
33374 fi
33375 rm -f conftest.err conftest.$ac_objext \
33376 conftest$ac_exeext conftest.$ac_ext
33377 fi
33378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33380 if test `eval echo '${'$as_ac_var'}'` = yes; then
33381 cat >>confdefs.h <<_ACEOF
33382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33383 _ACEOF
33384 break
33385 fi
33386 done
33387
33388
33389
33390
33391 ac_ext=cc
33392 ac_cpp='$CXXCPP $CPPFLAGS'
33393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33396
33397
33398
33399 for ac_func in strtok_r
33400 do
33401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33402 echo "$as_me:$LINENO: checking for $ac_func" >&5
33403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33404 if eval "test \"\${$as_ac_var+set}\" = set"; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33406 else
33407 cat >conftest.$ac_ext <<_ACEOF
33408 /* confdefs.h. */
33409 _ACEOF
33410 cat confdefs.h >>conftest.$ac_ext
33411 cat >>conftest.$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33415 #define $ac_func innocuous_$ac_func
33416
33417 /* System header to define __stub macros and hopefully few prototypes,
33418 which can conflict with char $ac_func (); below.
33419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33420 <limits.h> exists even on freestanding compilers. */
33421
33422 #ifdef __STDC__
33423 # include <limits.h>
33424 #else
33425 # include <assert.h>
33426 #endif
33427
33428 #undef $ac_func
33429
33430 /* Override any gcc2 internal prototype to avoid an error. */
33431 #ifdef __cplusplus
33432 extern "C"
33433 {
33434 #endif
33435 /* We use char because int might match the return type of a gcc2
33436 builtin and then its argument prototype would still apply. */
33437 char $ac_func ();
33438 /* The GNU C library defines this for functions which it implements
33439 to always fail with ENOSYS. Some functions are actually named
33440 something starting with __ and the normal name is an alias. */
33441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33442 choke me
33443 #else
33444 char (*f) () = $ac_func;
33445 #endif
33446 #ifdef __cplusplus
33447 }
33448 #endif
33449
33450 int
33451 main ()
33452 {
33453 return f != $ac_func;
33454 ;
33455 return 0;
33456 }
33457 _ACEOF
33458 rm -f conftest.$ac_objext conftest$ac_exeext
33459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33460 (eval $ac_link) 2>conftest.er1
33461 ac_status=$?
33462 grep -v '^ *+' conftest.er1 >conftest.err
33463 rm -f conftest.er1
33464 cat conftest.err >&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); } &&
33467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; } &&
33473 { ac_try='test -s conftest$ac_exeext'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33476 ac_status=$?
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; }; then
33479 eval "$as_ac_var=yes"
33480 else
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.$ac_ext >&5
33483
33484 eval "$as_ac_var=no"
33485 fi
33486 rm -f conftest.err conftest.$ac_objext \
33487 conftest$ac_exeext conftest.$ac_ext
33488 fi
33489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33491 if test `eval echo '${'$as_ac_var'}'` = yes; then
33492 cat >>confdefs.h <<_ACEOF
33493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33494 _ACEOF
33495
33496 fi
33497 done
33498
33499
33500 ac_ext=c
33501 ac_cpp='$CPP $CPPFLAGS'
33502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33505
33506
33507 INET_LINK=
33508
33509 for ac_func in inet_addr
33510 do
33511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33512 echo "$as_me:$LINENO: checking for $ac_func" >&5
33513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33514 if eval "test \"\${$as_ac_var+set}\" = set"; then
33515 echo $ECHO_N "(cached) $ECHO_C" >&6
33516 else
33517 cat >conftest.$ac_ext <<_ACEOF
33518 /* confdefs.h. */
33519 _ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33525 #define $ac_func innocuous_$ac_func
33526
33527 /* System header to define __stub macros and hopefully few prototypes,
33528 which can conflict with char $ac_func (); below.
33529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33530 <limits.h> exists even on freestanding compilers. */
33531
33532 #ifdef __STDC__
33533 # include <limits.h>
33534 #else
33535 # include <assert.h>
33536 #endif
33537
33538 #undef $ac_func
33539
33540 /* Override any gcc2 internal prototype to avoid an error. */
33541 #ifdef __cplusplus
33542 extern "C"
33543 {
33544 #endif
33545 /* We use char because int might match the return type of a gcc2
33546 builtin and then its argument prototype would still apply. */
33547 char $ac_func ();
33548 /* The GNU C library defines this for functions which it implements
33549 to always fail with ENOSYS. Some functions are actually named
33550 something starting with __ and the normal name is an alias. */
33551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33552 choke me
33553 #else
33554 char (*f) () = $ac_func;
33555 #endif
33556 #ifdef __cplusplus
33557 }
33558 #endif
33559
33560 int
33561 main ()
33562 {
33563 return f != $ac_func;
33564 ;
33565 return 0;
33566 }
33567 _ACEOF
33568 rm -f conftest.$ac_objext conftest$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570 (eval $ac_link) 2>conftest.er1
33571 ac_status=$?
33572 grep -v '^ *+' conftest.er1 >conftest.err
33573 rm -f conftest.er1
33574 cat conftest.err >&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33579 (eval $ac_try) 2>&5
33580 ac_status=$?
33581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33582 (exit $ac_status); }; } &&
33583 { ac_try='test -s conftest$ac_exeext'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33586 ac_status=$?
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; }; then
33589 eval "$as_ac_var=yes"
33590 else
33591 echo "$as_me: failed program was:" >&5
33592 sed 's/^/| /' conftest.$ac_ext >&5
33593
33594 eval "$as_ac_var=no"
33595 fi
33596 rm -f conftest.err conftest.$ac_objext \
33597 conftest$ac_exeext conftest.$ac_ext
33598 fi
33599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33601 if test `eval echo '${'$as_ac_var'}'` = yes; then
33602 cat >>confdefs.h <<_ACEOF
33603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33604 _ACEOF
33605 cat >>confdefs.h <<\_ACEOF
33606 #define HAVE_INET_ADDR 1
33607 _ACEOF
33608
33609 else
33610
33611 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33612 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33613 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33615 else
33616 ac_check_lib_save_LIBS=$LIBS
33617 LIBS="-lnsl $LIBS"
33618 cat >conftest.$ac_ext <<_ACEOF
33619 /* confdefs.h. */
33620 _ACEOF
33621 cat confdefs.h >>conftest.$ac_ext
33622 cat >>conftest.$ac_ext <<_ACEOF
33623 /* end confdefs.h. */
33624
33625 /* Override any gcc2 internal prototype to avoid an error. */
33626 #ifdef __cplusplus
33627 extern "C"
33628 #endif
33629 /* We use char because int might match the return type of a gcc2
33630 builtin and then its argument prototype would still apply. */
33631 char inet_addr ();
33632 int
33633 main ()
33634 {
33635 inet_addr ();
33636 ;
33637 return 0;
33638 }
33639 _ACEOF
33640 rm -f conftest.$ac_objext conftest$ac_exeext
33641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33642 (eval $ac_link) 2>conftest.er1
33643 ac_status=$?
33644 grep -v '^ *+' conftest.er1 >conftest.err
33645 rm -f conftest.er1
33646 cat conftest.err >&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); } &&
33649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33652 ac_status=$?
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; } &&
33655 { ac_try='test -s conftest$ac_exeext'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33658 ac_status=$?
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; }; then
33661 ac_cv_lib_nsl_inet_addr=yes
33662 else
33663 echo "$as_me: failed program was:" >&5
33664 sed 's/^/| /' conftest.$ac_ext >&5
33665
33666 ac_cv_lib_nsl_inet_addr=no
33667 fi
33668 rm -f conftest.err conftest.$ac_objext \
33669 conftest$ac_exeext conftest.$ac_ext
33670 LIBS=$ac_check_lib_save_LIBS
33671 fi
33672 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33673 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33674 if test $ac_cv_lib_nsl_inet_addr = yes; then
33675 INET_LINK="nsl"
33676 else
33677
33678 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33679 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33680 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 else
33683 ac_check_lib_save_LIBS=$LIBS
33684 LIBS="-lresolv $LIBS"
33685 cat >conftest.$ac_ext <<_ACEOF
33686 /* confdefs.h. */
33687 _ACEOF
33688 cat confdefs.h >>conftest.$ac_ext
33689 cat >>conftest.$ac_ext <<_ACEOF
33690 /* end confdefs.h. */
33691
33692 /* Override any gcc2 internal prototype to avoid an error. */
33693 #ifdef __cplusplus
33694 extern "C"
33695 #endif
33696 /* We use char because int might match the return type of a gcc2
33697 builtin and then its argument prototype would still apply. */
33698 char inet_addr ();
33699 int
33700 main ()
33701 {
33702 inet_addr ();
33703 ;
33704 return 0;
33705 }
33706 _ACEOF
33707 rm -f conftest.$ac_objext conftest$ac_exeext
33708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33709 (eval $ac_link) 2>conftest.er1
33710 ac_status=$?
33711 grep -v '^ *+' conftest.er1 >conftest.err
33712 rm -f conftest.er1
33713 cat conftest.err >&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); } &&
33716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33718 (eval $ac_try) 2>&5
33719 ac_status=$?
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); }; } &&
33722 { ac_try='test -s conftest$ac_exeext'
33723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33724 (eval $ac_try) 2>&5
33725 ac_status=$?
33726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33727 (exit $ac_status); }; }; then
33728 ac_cv_lib_resolv_inet_addr=yes
33729 else
33730 echo "$as_me: failed program was:" >&5
33731 sed 's/^/| /' conftest.$ac_ext >&5
33732
33733 ac_cv_lib_resolv_inet_addr=no
33734 fi
33735 rm -f conftest.err conftest.$ac_objext \
33736 conftest$ac_exeext conftest.$ac_ext
33737 LIBS=$ac_check_lib_save_LIBS
33738 fi
33739 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33740 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33741 if test $ac_cv_lib_resolv_inet_addr = yes; then
33742 INET_LINK="resolv"
33743 else
33744
33745 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33746 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33747 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 else
33750 ac_check_lib_save_LIBS=$LIBS
33751 LIBS="-lsocket $LIBS"
33752 cat >conftest.$ac_ext <<_ACEOF
33753 /* confdefs.h. */
33754 _ACEOF
33755 cat confdefs.h >>conftest.$ac_ext
33756 cat >>conftest.$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33758
33759 /* Override any gcc2 internal prototype to avoid an error. */
33760 #ifdef __cplusplus
33761 extern "C"
33762 #endif
33763 /* We use char because int might match the return type of a gcc2
33764 builtin and then its argument prototype would still apply. */
33765 char inet_addr ();
33766 int
33767 main ()
33768 {
33769 inet_addr ();
33770 ;
33771 return 0;
33772 }
33773 _ACEOF
33774 rm -f conftest.$ac_objext conftest$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>conftest.er1
33777 ac_status=$?
33778 grep -v '^ *+' conftest.er1 >conftest.err
33779 rm -f conftest.er1
33780 cat conftest.err >&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33786 ac_status=$?
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; } &&
33789 { ac_try='test -s conftest$ac_exeext'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33792 ac_status=$?
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; }; then
33795 ac_cv_lib_socket_inet_addr=yes
33796 else
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.$ac_ext >&5
33799
33800 ac_cv_lib_socket_inet_addr=no
33801 fi
33802 rm -f conftest.err conftest.$ac_objext \
33803 conftest$ac_exeext conftest.$ac_ext
33804 LIBS=$ac_check_lib_save_LIBS
33805 fi
33806 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33807 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33808 if test $ac_cv_lib_socket_inet_addr = yes; then
33809 INET_LINK="socket"
33810
33811 fi
33812
33813
33814
33815 fi
33816
33817
33818
33819 fi
33820
33821
33822
33823 fi
33824 done
33825
33826
33827
33828 for ac_func in inet_aton
33829 do
33830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33831 echo "$as_me:$LINENO: checking for $ac_func" >&5
33832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33833 if eval "test \"\${$as_ac_var+set}\" = set"; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33835 else
33836 cat >conftest.$ac_ext <<_ACEOF
33837 /* confdefs.h. */
33838 _ACEOF
33839 cat confdefs.h >>conftest.$ac_ext
33840 cat >>conftest.$ac_ext <<_ACEOF
33841 /* end confdefs.h. */
33842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33844 #define $ac_func innocuous_$ac_func
33845
33846 /* System header to define __stub macros and hopefully few prototypes,
33847 which can conflict with char $ac_func (); below.
33848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33849 <limits.h> exists even on freestanding compilers. */
33850
33851 #ifdef __STDC__
33852 # include <limits.h>
33853 #else
33854 # include <assert.h>
33855 #endif
33856
33857 #undef $ac_func
33858
33859 /* Override any gcc2 internal prototype to avoid an error. */
33860 #ifdef __cplusplus
33861 extern "C"
33862 {
33863 #endif
33864 /* We use char because int might match the return type of a gcc2
33865 builtin and then its argument prototype would still apply. */
33866 char $ac_func ();
33867 /* The GNU C library defines this for functions which it implements
33868 to always fail with ENOSYS. Some functions are actually named
33869 something starting with __ and the normal name is an alias. */
33870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33871 choke me
33872 #else
33873 char (*f) () = $ac_func;
33874 #endif
33875 #ifdef __cplusplus
33876 }
33877 #endif
33878
33879 int
33880 main ()
33881 {
33882 return f != $ac_func;
33883 ;
33884 return 0;
33885 }
33886 _ACEOF
33887 rm -f conftest.$ac_objext conftest$ac_exeext
33888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33889 (eval $ac_link) 2>conftest.er1
33890 ac_status=$?
33891 grep -v '^ *+' conftest.er1 >conftest.err
33892 rm -f conftest.er1
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } &&
33896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33898 (eval $ac_try) 2>&5
33899 ac_status=$?
33900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901 (exit $ac_status); }; } &&
33902 { ac_try='test -s conftest$ac_exeext'
33903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33904 (eval $ac_try) 2>&5
33905 ac_status=$?
33906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907 (exit $ac_status); }; }; then
33908 eval "$as_ac_var=yes"
33909 else
33910 echo "$as_me: failed program was:" >&5
33911 sed 's/^/| /' conftest.$ac_ext >&5
33912
33913 eval "$as_ac_var=no"
33914 fi
33915 rm -f conftest.err conftest.$ac_objext \
33916 conftest$ac_exeext conftest.$ac_ext
33917 fi
33918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33920 if test `eval echo '${'$as_ac_var'}'` = yes; then
33921 cat >>confdefs.h <<_ACEOF
33922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33923 _ACEOF
33924 cat >>confdefs.h <<\_ACEOF
33925 #define HAVE_INET_ATON 1
33926 _ACEOF
33927
33928 else
33929
33930 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33931 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33932 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33933 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33934 echo $ECHO_N "(cached) $ECHO_C" >&6
33935 else
33936 ac_check_lib_save_LIBS=$LIBS
33937 LIBS="-l$INET_LINK $LIBS"
33938 cat >conftest.$ac_ext <<_ACEOF
33939 /* confdefs.h. */
33940 _ACEOF
33941 cat confdefs.h >>conftest.$ac_ext
33942 cat >>conftest.$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33944
33945 /* Override any gcc2 internal prototype to avoid an error. */
33946 #ifdef __cplusplus
33947 extern "C"
33948 #endif
33949 /* We use char because int might match the return type of a gcc2
33950 builtin and then its argument prototype would still apply. */
33951 char inet_aton ();
33952 int
33953 main ()
33954 {
33955 inet_aton ();
33956 ;
33957 return 0;
33958 }
33959 _ACEOF
33960 rm -f conftest.$ac_objext conftest$ac_exeext
33961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33962 (eval $ac_link) 2>conftest.er1
33963 ac_status=$?
33964 grep -v '^ *+' conftest.er1 >conftest.err
33965 rm -f conftest.er1
33966 cat conftest.err >&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); } &&
33969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33971 (eval $ac_try) 2>&5
33972 ac_status=$?
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); }; } &&
33975 { ac_try='test -s conftest$ac_exeext'
33976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33977 (eval $ac_try) 2>&5
33978 ac_status=$?
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); }; }; then
33981 eval "$as_ac_Lib=yes"
33982 else
33983 echo "$as_me: failed program was:" >&5
33984 sed 's/^/| /' conftest.$ac_ext >&5
33985
33986 eval "$as_ac_Lib=no"
33987 fi
33988 rm -f conftest.err conftest.$ac_objext \
33989 conftest$ac_exeext conftest.$ac_ext
33990 LIBS=$ac_check_lib_save_LIBS
33991 fi
33992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33993 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33994 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33995 cat >>confdefs.h <<\_ACEOF
33996 #define HAVE_INET_ATON 1
33997 _ACEOF
33998
33999 fi
34000
34001
34002 fi
34003 done
34004
34005
34006 if test "x$INET_LINK" != "x"; then
34007 cat >>confdefs.h <<\_ACEOF
34008 #define HAVE_INET_ADDR 1
34009 _ACEOF
34010
34011 INET_LINK=" -l$INET_LINK"
34012 fi
34013
34014 fi
34015
34016
34017
34018 EXTRALIBS_ESD=
34019 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34020 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34021 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34023 else
34024 ac_check_lib_save_LIBS=$LIBS
34025 LIBS="-lesd $LIBS"
34026 cat >conftest.$ac_ext <<_ACEOF
34027 /* confdefs.h. */
34028 _ACEOF
34029 cat confdefs.h >>conftest.$ac_ext
34030 cat >>conftest.$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34032
34033 /* Override any gcc2 internal prototype to avoid an error. */
34034 #ifdef __cplusplus
34035 extern "C"
34036 #endif
34037 /* We use char because int might match the return type of a gcc2
34038 builtin and then its argument prototype would still apply. */
34039 char esd_close ();
34040 int
34041 main ()
34042 {
34043 esd_close ();
34044 ;
34045 return 0;
34046 }
34047 _ACEOF
34048 rm -f conftest.$ac_objext conftest$ac_exeext
34049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34050 (eval $ac_link) 2>conftest.er1
34051 ac_status=$?
34052 grep -v '^ *+' conftest.er1 >conftest.err
34053 rm -f conftest.er1
34054 cat conftest.err >&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); } &&
34057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34059 (eval $ac_try) 2>&5
34060 ac_status=$?
34061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34062 (exit $ac_status); }; } &&
34063 { ac_try='test -s conftest$ac_exeext'
34064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34065 (eval $ac_try) 2>&5
34066 ac_status=$?
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); }; }; then
34069 ac_cv_lib_esd_esd_close=yes
34070 else
34071 echo "$as_me: failed program was:" >&5
34072 sed 's/^/| /' conftest.$ac_ext >&5
34073
34074 ac_cv_lib_esd_esd_close=no
34075 fi
34076 rm -f conftest.err conftest.$ac_objext \
34077 conftest$ac_exeext conftest.$ac_ext
34078 LIBS=$ac_check_lib_save_LIBS
34079 fi
34080 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34081 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34082 if test $ac_cv_lib_esd_esd_close = yes; then
34083
34084
34085 for ac_header in esd.h
34086 do
34087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34089 echo "$as_me:$LINENO: checking for $ac_header" >&5
34090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34092 echo $ECHO_N "(cached) $ECHO_C" >&6
34093 fi
34094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34096 else
34097 # Is the header compilable?
34098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34100 cat >conftest.$ac_ext <<_ACEOF
34101 /* confdefs.h. */
34102 _ACEOF
34103 cat confdefs.h >>conftest.$ac_ext
34104 cat >>conftest.$ac_ext <<_ACEOF
34105 /* end confdefs.h. */
34106 $ac_includes_default
34107 #include <$ac_header>
34108 _ACEOF
34109 rm -f conftest.$ac_objext
34110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34111 (eval $ac_compile) 2>conftest.er1
34112 ac_status=$?
34113 grep -v '^ *+' conftest.er1 >conftest.err
34114 rm -f conftest.er1
34115 cat conftest.err >&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } &&
34118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34121 ac_status=$?
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; } &&
34124 { ac_try='test -s conftest.$ac_objext'
34125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34126 (eval $ac_try) 2>&5
34127 ac_status=$?
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); }; }; then
34130 ac_header_compiler=yes
34131 else
34132 echo "$as_me: failed program was:" >&5
34133 sed 's/^/| /' conftest.$ac_ext >&5
34134
34135 ac_header_compiler=no
34136 fi
34137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34139 echo "${ECHO_T}$ac_header_compiler" >&6
34140
34141 # Is the header present?
34142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34144 cat >conftest.$ac_ext <<_ACEOF
34145 /* confdefs.h. */
34146 _ACEOF
34147 cat confdefs.h >>conftest.$ac_ext
34148 cat >>conftest.$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34150 #include <$ac_header>
34151 _ACEOF
34152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34154 ac_status=$?
34155 grep -v '^ *+' conftest.er1 >conftest.err
34156 rm -f conftest.er1
34157 cat conftest.err >&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); } >/dev/null; then
34160 if test -s conftest.err; then
34161 ac_cpp_err=$ac_c_preproc_warn_flag
34162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34163 else
34164 ac_cpp_err=
34165 fi
34166 else
34167 ac_cpp_err=yes
34168 fi
34169 if test -z "$ac_cpp_err"; then
34170 ac_header_preproc=yes
34171 else
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.$ac_ext >&5
34174
34175 ac_header_preproc=no
34176 fi
34177 rm -f conftest.err conftest.$ac_ext
34178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34179 echo "${ECHO_T}$ac_header_preproc" >&6
34180
34181 # So? What about this header?
34182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34183 yes:no: )
34184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34188 ac_header_preproc=yes
34189 ;;
34190 no:yes:* )
34191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34203 (
34204 cat <<\_ASBOX
34205 ## ----------------------------------------- ##
34206 ## Report this to wx-dev@lists.wxwidgets.org ##
34207 ## ----------------------------------------- ##
34208 _ASBOX
34209 ) |
34210 sed "s/^/$as_me: WARNING: /" >&2
34211 ;;
34212 esac
34213 echo "$as_me:$LINENO: checking for $ac_header" >&5
34214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34217 else
34218 eval "$as_ac_Header=\$ac_header_preproc"
34219 fi
34220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34222
34223 fi
34224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34225 cat >>confdefs.h <<_ACEOF
34226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34227 _ACEOF
34228
34229 EXTRALIBS_ESD="-lesd"
34230
34231 fi
34232
34233 done
34234
34235
34236 fi
34237
34238
34239
34240 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34241 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34242 cat >conftest.$ac_ext <<_ACEOF
34243 /* confdefs.h. */
34244 _ACEOF
34245 cat confdefs.h >>conftest.$ac_ext
34246 cat >>conftest.$ac_ext <<_ACEOF
34247 /* end confdefs.h. */
34248 #ifdef __linux__
34249 #include <linux/cdrom.h>
34250 #else
34251 /* For Solaris */
34252 #include <sys/cdio.h>
34253 #endif
34254
34255 int
34256 main ()
34257 {
34258 struct cdrom_tocentry entry, old_entry;
34259 ;
34260 return 0;
34261 }
34262 _ACEOF
34263 rm -f conftest.$ac_objext
34264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34265 (eval $ac_compile) 2>conftest.er1
34266 ac_status=$?
34267 grep -v '^ *+' conftest.er1 >conftest.err
34268 rm -f conftest.er1
34269 cat conftest.err >&5
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); } &&
34272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34274 (eval $ac_try) 2>&5
34275 ac_status=$?
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); }; } &&
34278 { ac_try='test -s conftest.$ac_objext'
34279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34280 (eval $ac_try) 2>&5
34281 ac_status=$?
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); }; }; then
34284 echo "$as_me:$LINENO: result: yes" >&5
34285 echo "${ECHO_T}yes" >&6
34286 cat >>confdefs.h <<\_ACEOF
34287 #define HAVE_KNOWN_CDROM_INTERFACE 1
34288 _ACEOF
34289
34290 else
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.$ac_ext >&5
34293
34294 echo "$as_me:$LINENO: result: no" >&5
34295 echo "${ECHO_T}no" >&6
34296 fi
34297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34298
34299
34300 cat >confcache <<\_ACEOF
34301 # This file is a shell script that caches the results of configure
34302 # tests run on this system so they can be shared between configure
34303 # scripts and configure runs, see configure's option --config-cache.
34304 # It is not useful on other systems. If it contains results you don't
34305 # want to keep, you may remove or edit it.
34306 #
34307 # config.status only pays attention to the cache file if you give it
34308 # the --recheck option to rerun configure.
34309 #
34310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34312 # following values.
34313
34314 _ACEOF
34315
34316 # The following way of writing the cache mishandles newlines in values,
34317 # but we know of no workaround that is simple, portable, and efficient.
34318 # So, don't put newlines in cache variables' values.
34319 # Ultrix sh set writes to stderr and can't be redirected directly,
34320 # and sets the high bit in the cache file unless we assign to the vars.
34321 {
34322 (set) 2>&1 |
34323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34324 *ac_space=\ *)
34325 # `set' does not quote correctly, so add quotes (double-quote
34326 # substitution turns \\\\ into \\, and sed turns \\ into \).
34327 sed -n \
34328 "s/'/'\\\\''/g;
34329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34330 ;;
34331 *)
34332 # `set' quotes correctly as required by POSIX, so do not add quotes.
34333 sed -n \
34334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34335 ;;
34336 esac;
34337 } |
34338 sed '
34339 t clear
34340 : clear
34341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34342 t end
34343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34344 : end' >>confcache
34345 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34346 if test -w $cache_file; then
34347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34348 cat confcache >$cache_file
34349 else
34350 echo "not updating unwritable cache $cache_file"
34351 fi
34352 fi
34353 rm -f confcache
34354
34355
34356 CPP_MT_FLAG=
34357 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34358
34359
34360 THREADS_LINK=
34361 THREADS_CFLAGS=
34362
34363 if test "$wxUSE_THREADS" = "yes" ; then
34364 if test "$USE_BEOS" = 1; then
34365 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34366 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34367 wxUSE_THREADS="no"
34368 fi
34369 fi
34370
34371 if test "$wxUSE_THREADS" = "yes" ; then
34372
34373
34374 THREAD_OPTS="-pthread"
34375 case "${host}" in
34376 *-*-solaris2* | *-*-sunos4* )
34377 if test "x$GCC" = "xyes"; then
34378 THREAD_OPTS="-pthreads $THREAD_OPTS"
34379 else
34380 THREAD_OPTS="-mt $THREAD_OPTS"
34381 fi
34382 ;;
34383 *-*-freebsd*)
34384 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34385 ;;
34386 *-*-darwin* | *-*-cygwin* )
34387 THREAD_OPTS=""
34388 ;;
34389 *-*-aix*)
34390 THREAD_OPTS="pthreads"
34391 ;;
34392 *-hp-hpux* )
34393 if test "x$GCC" != "xyes"; then
34394 THREAD_OPTS=""
34395 fi
34396 ;;
34397
34398 *-*-irix* )
34399 if test "x$GCC" = "xyes"; then
34400 THREAD_OPTS=""
34401 fi
34402 ;;
34403
34404 *-*-*UnixWare*)
34405 if test "x$GCC" != "xyes"; then
34406 THREAD_OPTS="-Ethread"
34407 fi
34408 ;;
34409 esac
34410
34411 THREAD_OPTS="$THREAD_OPTS pthread none"
34412
34413 THREADS_OK=no
34414 for flag in $THREAD_OPTS; do
34415 case $flag in
34416 none)
34417 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34418 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34419 ;;
34420
34421 -*)
34422 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34423 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34424 THREADS_CFLAGS="$flag"
34425 ;;
34426
34427 *)
34428 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34429 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34430 THREADS_LINK="-l$flag"
34431 ;;
34432 esac
34433
34434 save_LIBS="$LIBS"
34435 save_CFLAGS="$CFLAGS"
34436 LIBS="$THREADS_LINK $LIBS"
34437 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34438
34439 cat >conftest.$ac_ext <<_ACEOF
34440 /* confdefs.h. */
34441 _ACEOF
34442 cat confdefs.h >>conftest.$ac_ext
34443 cat >>conftest.$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34445 #include <pthread.h>
34446 int
34447 main ()
34448 {
34449 pthread_create(0,0,0,0);
34450 ;
34451 return 0;
34452 }
34453 _ACEOF
34454 rm -f conftest.$ac_objext conftest$ac_exeext
34455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34456 (eval $ac_link) 2>conftest.er1
34457 ac_status=$?
34458 grep -v '^ *+' conftest.er1 >conftest.err
34459 rm -f conftest.er1
34460 cat conftest.err >&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } &&
34463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34466 ac_status=$?
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; } &&
34469 { ac_try='test -s conftest$ac_exeext'
34470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34471 (eval $ac_try) 2>&5
34472 ac_status=$?
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); }; }; then
34475 THREADS_OK=yes
34476 else
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.$ac_ext >&5
34479
34480 fi
34481 rm -f conftest.err conftest.$ac_objext \
34482 conftest$ac_exeext conftest.$ac_ext
34483
34484 LIBS="$save_LIBS"
34485 CFLAGS="$save_CFLAGS"
34486
34487 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34488 echo "${ECHO_T}$THREADS_OK" >&6
34489 if test "x$THREADS_OK" = "xyes"; then
34490 break;
34491 fi
34492
34493 THREADS_LINK=""
34494 THREADS_CFLAGS=""
34495 done
34496
34497 if test "x$THREADS_OK" != "xyes"; then
34498 wxUSE_THREADS=no
34499 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34500 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34501 else
34502 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34503 LIBS="$THREADS_LINK $LIBS"
34504
34505 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34506 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34507 flag=no
34508 case "${host}" in
34509 *-aix*)
34510 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34511 flag="-D_THREAD_SAFE"
34512 ;;
34513 *-freebsd*)
34514 flag="-D_THREAD_SAFE"
34515 ;;
34516 *-hp-hpux* )
34517 flag="-D_REENTRANT"
34518 if test "x$GCC" != "xyes"; then
34519 flag="$flag -D_RWSTD_MULTI_THREAD"
34520 fi
34521 ;;
34522 *solaris* | alpha*-osf*)
34523 flag="-D_REENTRANT"
34524 ;;
34525 esac
34526 echo "$as_me:$LINENO: result: ${flag}" >&5
34527 echo "${ECHO_T}${flag}" >&6
34528 if test "x$flag" != xno; then
34529 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34530 fi
34531
34532 if test "x$THREADS_CFLAGS" != "x"; then
34533 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34534 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34535 fi
34536 fi
34537 fi
34538
34539 if test "$wxUSE_THREADS" = "yes" ; then
34540
34541 for ac_func in thr_setconcurrency
34542 do
34543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34544 echo "$as_me:$LINENO: checking for $ac_func" >&5
34545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34546 if eval "test \"\${$as_ac_var+set}\" = set"; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34548 else
34549 cat >conftest.$ac_ext <<_ACEOF
34550 /* confdefs.h. */
34551 _ACEOF
34552 cat confdefs.h >>conftest.$ac_ext
34553 cat >>conftest.$ac_ext <<_ACEOF
34554 /* end confdefs.h. */
34555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34557 #define $ac_func innocuous_$ac_func
34558
34559 /* System header to define __stub macros and hopefully few prototypes,
34560 which can conflict with char $ac_func (); below.
34561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34562 <limits.h> exists even on freestanding compilers. */
34563
34564 #ifdef __STDC__
34565 # include <limits.h>
34566 #else
34567 # include <assert.h>
34568 #endif
34569
34570 #undef $ac_func
34571
34572 /* Override any gcc2 internal prototype to avoid an error. */
34573 #ifdef __cplusplus
34574 extern "C"
34575 {
34576 #endif
34577 /* We use char because int might match the return type of a gcc2
34578 builtin and then its argument prototype would still apply. */
34579 char $ac_func ();
34580 /* The GNU C library defines this for functions which it implements
34581 to always fail with ENOSYS. Some functions are actually named
34582 something starting with __ and the normal name is an alias. */
34583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34584 choke me
34585 #else
34586 char (*f) () = $ac_func;
34587 #endif
34588 #ifdef __cplusplus
34589 }
34590 #endif
34591
34592 int
34593 main ()
34594 {
34595 return f != $ac_func;
34596 ;
34597 return 0;
34598 }
34599 _ACEOF
34600 rm -f conftest.$ac_objext conftest$ac_exeext
34601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34602 (eval $ac_link) 2>conftest.er1
34603 ac_status=$?
34604 grep -v '^ *+' conftest.er1 >conftest.err
34605 rm -f conftest.er1
34606 cat conftest.err >&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } &&
34609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34612 ac_status=$?
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; } &&
34615 { ac_try='test -s conftest$ac_exeext'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34618 ac_status=$?
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; }; then
34621 eval "$as_ac_var=yes"
34622 else
34623 echo "$as_me: failed program was:" >&5
34624 sed 's/^/| /' conftest.$ac_ext >&5
34625
34626 eval "$as_ac_var=no"
34627 fi
34628 rm -f conftest.err conftest.$ac_objext \
34629 conftest$ac_exeext conftest.$ac_ext
34630 fi
34631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34633 if test `eval echo '${'$as_ac_var'}'` = yes; then
34634 cat >>confdefs.h <<_ACEOF
34635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34636 _ACEOF
34637
34638 fi
34639 done
34640
34641
34642
34643 for ac_header in sched.h
34644 do
34645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34647 echo "$as_me:$LINENO: checking for $ac_header" >&5
34648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34650 echo $ECHO_N "(cached) $ECHO_C" >&6
34651 fi
34652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34654 else
34655 # Is the header compilable?
34656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34658 cat >conftest.$ac_ext <<_ACEOF
34659 /* confdefs.h. */
34660 _ACEOF
34661 cat confdefs.h >>conftest.$ac_ext
34662 cat >>conftest.$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 $ac_includes_default
34665 #include <$ac_header>
34666 _ACEOF
34667 rm -f conftest.$ac_objext
34668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34669 (eval $ac_compile) 2>conftest.er1
34670 ac_status=$?
34671 grep -v '^ *+' conftest.er1 >conftest.err
34672 rm -f conftest.er1
34673 cat conftest.err >&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); } &&
34676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34678 (eval $ac_try) 2>&5
34679 ac_status=$?
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); }; } &&
34682 { ac_try='test -s conftest.$ac_objext'
34683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34684 (eval $ac_try) 2>&5
34685 ac_status=$?
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); }; }; then
34688 ac_header_compiler=yes
34689 else
34690 echo "$as_me: failed program was:" >&5
34691 sed 's/^/| /' conftest.$ac_ext >&5
34692
34693 ac_header_compiler=no
34694 fi
34695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34697 echo "${ECHO_T}$ac_header_compiler" >&6
34698
34699 # Is the header present?
34700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34702 cat >conftest.$ac_ext <<_ACEOF
34703 /* confdefs.h. */
34704 _ACEOF
34705 cat confdefs.h >>conftest.$ac_ext
34706 cat >>conftest.$ac_ext <<_ACEOF
34707 /* end confdefs.h. */
34708 #include <$ac_header>
34709 _ACEOF
34710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34712 ac_status=$?
34713 grep -v '^ *+' conftest.er1 >conftest.err
34714 rm -f conftest.er1
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } >/dev/null; then
34718 if test -s conftest.err; then
34719 ac_cpp_err=$ac_c_preproc_warn_flag
34720 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34721 else
34722 ac_cpp_err=
34723 fi
34724 else
34725 ac_cpp_err=yes
34726 fi
34727 if test -z "$ac_cpp_err"; then
34728 ac_header_preproc=yes
34729 else
34730 echo "$as_me: failed program was:" >&5
34731 sed 's/^/| /' conftest.$ac_ext >&5
34732
34733 ac_header_preproc=no
34734 fi
34735 rm -f conftest.err conftest.$ac_ext
34736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34737 echo "${ECHO_T}$ac_header_preproc" >&6
34738
34739 # So? What about this header?
34740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34741 yes:no: )
34742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34746 ac_header_preproc=yes
34747 ;;
34748 no:yes:* )
34749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34761 (
34762 cat <<\_ASBOX
34763 ## ----------------------------------------- ##
34764 ## Report this to wx-dev@lists.wxwidgets.org ##
34765 ## ----------------------------------------- ##
34766 _ASBOX
34767 ) |
34768 sed "s/^/$as_me: WARNING: /" >&2
34769 ;;
34770 esac
34771 echo "$as_me:$LINENO: checking for $ac_header" >&5
34772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34774 echo $ECHO_N "(cached) $ECHO_C" >&6
34775 else
34776 eval "$as_ac_Header=\$ac_header_preproc"
34777 fi
34778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34780
34781 fi
34782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34783 cat >>confdefs.h <<_ACEOF
34784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34785 _ACEOF
34786
34787 fi
34788
34789 done
34790
34791 if test "$ac_cv_header_sched_h" = "yes"; then
34792 echo "$as_me:$LINENO: checking for sched_yield" >&5
34793 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34794 if test "${ac_cv_func_sched_yield+set}" = set; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34796 else
34797 cat >conftest.$ac_ext <<_ACEOF
34798 /* confdefs.h. */
34799 _ACEOF
34800 cat confdefs.h >>conftest.$ac_ext
34801 cat >>conftest.$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34803 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34805 #define sched_yield innocuous_sched_yield
34806
34807 /* System header to define __stub macros and hopefully few prototypes,
34808 which can conflict with char sched_yield (); below.
34809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34810 <limits.h> exists even on freestanding compilers. */
34811
34812 #ifdef __STDC__
34813 # include <limits.h>
34814 #else
34815 # include <assert.h>
34816 #endif
34817
34818 #undef sched_yield
34819
34820 /* Override any gcc2 internal prototype to avoid an error. */
34821 #ifdef __cplusplus
34822 extern "C"
34823 {
34824 #endif
34825 /* We use char because int might match the return type of a gcc2
34826 builtin and then its argument prototype would still apply. */
34827 char sched_yield ();
34828 /* The GNU C library defines this for functions which it implements
34829 to always fail with ENOSYS. Some functions are actually named
34830 something starting with __ and the normal name is an alias. */
34831 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34832 choke me
34833 #else
34834 char (*f) () = sched_yield;
34835 #endif
34836 #ifdef __cplusplus
34837 }
34838 #endif
34839
34840 int
34841 main ()
34842 {
34843 return f != sched_yield;
34844 ;
34845 return 0;
34846 }
34847 _ACEOF
34848 rm -f conftest.$ac_objext conftest$ac_exeext
34849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34850 (eval $ac_link) 2>conftest.er1
34851 ac_status=$?
34852 grep -v '^ *+' conftest.er1 >conftest.err
34853 rm -f conftest.er1
34854 cat conftest.err >&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } &&
34857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34860 ac_status=$?
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; } &&
34863 { ac_try='test -s conftest$ac_exeext'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34866 ac_status=$?
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; }; then
34869 ac_cv_func_sched_yield=yes
34870 else
34871 echo "$as_me: failed program was:" >&5
34872 sed 's/^/| /' conftest.$ac_ext >&5
34873
34874 ac_cv_func_sched_yield=no
34875 fi
34876 rm -f conftest.err conftest.$ac_objext \
34877 conftest$ac_exeext conftest.$ac_ext
34878 fi
34879 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34880 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34881 if test $ac_cv_func_sched_yield = yes; then
34882 cat >>confdefs.h <<\_ACEOF
34883 #define HAVE_SCHED_YIELD 1
34884 _ACEOF
34885
34886 else
34887
34888 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34889 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34890 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34891 echo $ECHO_N "(cached) $ECHO_C" >&6
34892 else
34893 ac_check_lib_save_LIBS=$LIBS
34894 LIBS="-lposix4 $LIBS"
34895 cat >conftest.$ac_ext <<_ACEOF
34896 /* confdefs.h. */
34897 _ACEOF
34898 cat confdefs.h >>conftest.$ac_ext
34899 cat >>conftest.$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34901
34902 /* Override any gcc2 internal prototype to avoid an error. */
34903 #ifdef __cplusplus
34904 extern "C"
34905 #endif
34906 /* We use char because int might match the return type of a gcc2
34907 builtin and then its argument prototype would still apply. */
34908 char sched_yield ();
34909 int
34910 main ()
34911 {
34912 sched_yield ();
34913 ;
34914 return 0;
34915 }
34916 _ACEOF
34917 rm -f conftest.$ac_objext conftest$ac_exeext
34918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34919 (eval $ac_link) 2>conftest.er1
34920 ac_status=$?
34921 grep -v '^ *+' conftest.er1 >conftest.err
34922 rm -f conftest.er1
34923 cat conftest.err >&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } &&
34926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34929 ac_status=$?
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; } &&
34932 { ac_try='test -s conftest$ac_exeext'
34933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34934 (eval $ac_try) 2>&5
34935 ac_status=$?
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); }; }; then
34938 ac_cv_lib_posix4_sched_yield=yes
34939 else
34940 echo "$as_me: failed program was:" >&5
34941 sed 's/^/| /' conftest.$ac_ext >&5
34942
34943 ac_cv_lib_posix4_sched_yield=no
34944 fi
34945 rm -f conftest.err conftest.$ac_objext \
34946 conftest$ac_exeext conftest.$ac_ext
34947 LIBS=$ac_check_lib_save_LIBS
34948 fi
34949 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34950 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34951 if test $ac_cv_lib_posix4_sched_yield = yes; then
34952 cat >>confdefs.h <<\_ACEOF
34953 #define HAVE_SCHED_YIELD 1
34954 _ACEOF
34955 POSIX4_LINK=" -lposix4"
34956 else
34957 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34958 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34959
34960 fi
34961
34962
34963
34964 fi
34965
34966 fi
34967
34968 HAVE_PRIOR_FUNCS=0
34969 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34970 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34971 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34972 echo $ECHO_N "(cached) $ECHO_C" >&6
34973 else
34974 cat >conftest.$ac_ext <<_ACEOF
34975 /* confdefs.h. */
34976 _ACEOF
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34982 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34983
34984 /* System header to define __stub macros and hopefully few prototypes,
34985 which can conflict with char pthread_attr_getschedpolicy (); below.
34986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34987 <limits.h> exists even on freestanding compilers. */
34988
34989 #ifdef __STDC__
34990 # include <limits.h>
34991 #else
34992 # include <assert.h>
34993 #endif
34994
34995 #undef pthread_attr_getschedpolicy
34996
34997 /* Override any gcc2 internal prototype to avoid an error. */
34998 #ifdef __cplusplus
34999 extern "C"
35000 {
35001 #endif
35002 /* We use char because int might match the return type of a gcc2
35003 builtin and then its argument prototype would still apply. */
35004 char pthread_attr_getschedpolicy ();
35005 /* The GNU C library defines this for functions which it implements
35006 to always fail with ENOSYS. Some functions are actually named
35007 something starting with __ and the normal name is an alias. */
35008 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35009 choke me
35010 #else
35011 char (*f) () = pthread_attr_getschedpolicy;
35012 #endif
35013 #ifdef __cplusplus
35014 }
35015 #endif
35016
35017 int
35018 main ()
35019 {
35020 return f != pthread_attr_getschedpolicy;
35021 ;
35022 return 0;
35023 }
35024 _ACEOF
35025 rm -f conftest.$ac_objext conftest$ac_exeext
35026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35027 (eval $ac_link) 2>conftest.er1
35028 ac_status=$?
35029 grep -v '^ *+' conftest.er1 >conftest.err
35030 rm -f conftest.er1
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } &&
35034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; } &&
35040 { ac_try='test -s conftest$ac_exeext'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35043 ac_status=$?
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; }; then
35046 ac_cv_func_pthread_attr_getschedpolicy=yes
35047 else
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35050
35051 ac_cv_func_pthread_attr_getschedpolicy=no
35052 fi
35053 rm -f conftest.err conftest.$ac_objext \
35054 conftest$ac_exeext conftest.$ac_ext
35055 fi
35056 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35057 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35058 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35059 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35060 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35061 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35062 echo $ECHO_N "(cached) $ECHO_C" >&6
35063 else
35064 cat >conftest.$ac_ext <<_ACEOF
35065 /* confdefs.h. */
35066 _ACEOF
35067 cat confdefs.h >>conftest.$ac_ext
35068 cat >>conftest.$ac_ext <<_ACEOF
35069 /* end confdefs.h. */
35070 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35072 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35073
35074 /* System header to define __stub macros and hopefully few prototypes,
35075 which can conflict with char pthread_attr_setschedparam (); below.
35076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35077 <limits.h> exists even on freestanding compilers. */
35078
35079 #ifdef __STDC__
35080 # include <limits.h>
35081 #else
35082 # include <assert.h>
35083 #endif
35084
35085 #undef pthread_attr_setschedparam
35086
35087 /* Override any gcc2 internal prototype to avoid an error. */
35088 #ifdef __cplusplus
35089 extern "C"
35090 {
35091 #endif
35092 /* We use char because int might match the return type of a gcc2
35093 builtin and then its argument prototype would still apply. */
35094 char pthread_attr_setschedparam ();
35095 /* The GNU C library defines this for functions which it implements
35096 to always fail with ENOSYS. Some functions are actually named
35097 something starting with __ and the normal name is an alias. */
35098 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35099 choke me
35100 #else
35101 char (*f) () = pthread_attr_setschedparam;
35102 #endif
35103 #ifdef __cplusplus
35104 }
35105 #endif
35106
35107 int
35108 main ()
35109 {
35110 return f != pthread_attr_setschedparam;
35111 ;
35112 return 0;
35113 }
35114 _ACEOF
35115 rm -f conftest.$ac_objext conftest$ac_exeext
35116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35117 (eval $ac_link) 2>conftest.er1
35118 ac_status=$?
35119 grep -v '^ *+' conftest.er1 >conftest.err
35120 rm -f conftest.er1
35121 cat conftest.err >&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); } &&
35124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35126 (eval $ac_try) 2>&5
35127 ac_status=$?
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); }; } &&
35130 { ac_try='test -s conftest$ac_exeext'
35131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35132 (eval $ac_try) 2>&5
35133 ac_status=$?
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); }; }; then
35136 ac_cv_func_pthread_attr_setschedparam=yes
35137 else
35138 echo "$as_me: failed program was:" >&5
35139 sed 's/^/| /' conftest.$ac_ext >&5
35140
35141 ac_cv_func_pthread_attr_setschedparam=no
35142 fi
35143 rm -f conftest.err conftest.$ac_objext \
35144 conftest$ac_exeext conftest.$ac_ext
35145 fi
35146 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35147 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35148 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35149 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35150 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35151 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35153 else
35154 cat >conftest.$ac_ext <<_ACEOF
35155 /* confdefs.h. */
35156 _ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35162 #define sched_get_priority_max innocuous_sched_get_priority_max
35163
35164 /* System header to define __stub macros and hopefully few prototypes,
35165 which can conflict with char sched_get_priority_max (); below.
35166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35167 <limits.h> exists even on freestanding compilers. */
35168
35169 #ifdef __STDC__
35170 # include <limits.h>
35171 #else
35172 # include <assert.h>
35173 #endif
35174
35175 #undef sched_get_priority_max
35176
35177 /* Override any gcc2 internal prototype to avoid an error. */
35178 #ifdef __cplusplus
35179 extern "C"
35180 {
35181 #endif
35182 /* We use char because int might match the return type of a gcc2
35183 builtin and then its argument prototype would still apply. */
35184 char sched_get_priority_max ();
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35189 choke me
35190 #else
35191 char (*f) () = sched_get_priority_max;
35192 #endif
35193 #ifdef __cplusplus
35194 }
35195 #endif
35196
35197 int
35198 main ()
35199 {
35200 return f != sched_get_priority_max;
35201 ;
35202 return 0;
35203 }
35204 _ACEOF
35205 rm -f conftest.$ac_objext conftest$ac_exeext
35206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35207 (eval $ac_link) 2>conftest.er1
35208 ac_status=$?
35209 grep -v '^ *+' conftest.er1 >conftest.err
35210 rm -f conftest.er1
35211 cat conftest.err >&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } &&
35214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35217 ac_status=$?
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; } &&
35220 { ac_try='test -s conftest$ac_exeext'
35221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222 (eval $ac_try) 2>&5
35223 ac_status=$?
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 ac_cv_func_sched_get_priority_max=yes
35227 else
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.$ac_ext >&5
35230
35231 ac_cv_func_sched_get_priority_max=no
35232 fi
35233 rm -f conftest.err conftest.$ac_objext \
35234 conftest$ac_exeext conftest.$ac_ext
35235 fi
35236 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35237 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35238 if test $ac_cv_func_sched_get_priority_max = yes; then
35239 HAVE_PRIOR_FUNCS=1
35240 else
35241 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35242 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35243 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35245 else
35246 ac_check_lib_save_LIBS=$LIBS
35247 LIBS="-lposix4 $LIBS"
35248 cat >conftest.$ac_ext <<_ACEOF
35249 /* confdefs.h. */
35250 _ACEOF
35251 cat confdefs.h >>conftest.$ac_ext
35252 cat >>conftest.$ac_ext <<_ACEOF
35253 /* end confdefs.h. */
35254
35255 /* Override any gcc2 internal prototype to avoid an error. */
35256 #ifdef __cplusplus
35257 extern "C"
35258 #endif
35259 /* We use char because int might match the return type of a gcc2
35260 builtin and then its argument prototype would still apply. */
35261 char sched_get_priority_max ();
35262 int
35263 main ()
35264 {
35265 sched_get_priority_max ();
35266 ;
35267 return 0;
35268 }
35269 _ACEOF
35270 rm -f conftest.$ac_objext conftest$ac_exeext
35271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35272 (eval $ac_link) 2>conftest.er1
35273 ac_status=$?
35274 grep -v '^ *+' conftest.er1 >conftest.err
35275 rm -f conftest.er1
35276 cat conftest.err >&5
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); } &&
35279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35282 ac_status=$?
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; } &&
35285 { ac_try='test -s conftest$ac_exeext'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35288 ac_status=$?
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; }; then
35291 ac_cv_lib_posix4_sched_get_priority_max=yes
35292 else
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.$ac_ext >&5
35295
35296 ac_cv_lib_posix4_sched_get_priority_max=no
35297 fi
35298 rm -f conftest.err conftest.$ac_objext \
35299 conftest$ac_exeext conftest.$ac_ext
35300 LIBS=$ac_check_lib_save_LIBS
35301 fi
35302 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35303 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35304 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35305
35306 HAVE_PRIOR_FUNCS=1
35307 POSIX4_LINK=" -lposix4"
35308
35309 fi
35310
35311
35312 fi
35313
35314
35315 fi
35316
35317
35318 fi
35319
35320
35321 if test "$HAVE_PRIOR_FUNCS" = 1; then
35322 cat >>confdefs.h <<\_ACEOF
35323 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35324 _ACEOF
35325
35326 else
35327 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35328 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35329 fi
35330
35331 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35332 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35333 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35335 else
35336 cat >conftest.$ac_ext <<_ACEOF
35337 /* confdefs.h. */
35338 _ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35342 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35344 #define pthread_cancel innocuous_pthread_cancel
35345
35346 /* System header to define __stub macros and hopefully few prototypes,
35347 which can conflict with char pthread_cancel (); below.
35348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35349 <limits.h> exists even on freestanding compilers. */
35350
35351 #ifdef __STDC__
35352 # include <limits.h>
35353 #else
35354 # include <assert.h>
35355 #endif
35356
35357 #undef pthread_cancel
35358
35359 /* Override any gcc2 internal prototype to avoid an error. */
35360 #ifdef __cplusplus
35361 extern "C"
35362 {
35363 #endif
35364 /* We use char because int might match the return type of a gcc2
35365 builtin and then its argument prototype would still apply. */
35366 char pthread_cancel ();
35367 /* The GNU C library defines this for functions which it implements
35368 to always fail with ENOSYS. Some functions are actually named
35369 something starting with __ and the normal name is an alias. */
35370 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35371 choke me
35372 #else
35373 char (*f) () = pthread_cancel;
35374 #endif
35375 #ifdef __cplusplus
35376 }
35377 #endif
35378
35379 int
35380 main ()
35381 {
35382 return f != pthread_cancel;
35383 ;
35384 return 0;
35385 }
35386 _ACEOF
35387 rm -f conftest.$ac_objext conftest$ac_exeext
35388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35389 (eval $ac_link) 2>conftest.er1
35390 ac_status=$?
35391 grep -v '^ *+' conftest.er1 >conftest.err
35392 rm -f conftest.er1
35393 cat conftest.err >&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); } &&
35396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35399 ac_status=$?
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; } &&
35402 { ac_try='test -s conftest$ac_exeext'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35405 ac_status=$?
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; }; then
35408 ac_cv_func_pthread_cancel=yes
35409 else
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35412
35413 ac_cv_func_pthread_cancel=no
35414 fi
35415 rm -f conftest.err conftest.$ac_objext \
35416 conftest$ac_exeext conftest.$ac_ext
35417 fi
35418 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35419 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35420 if test $ac_cv_func_pthread_cancel = yes; then
35421 cat >>confdefs.h <<\_ACEOF
35422 #define HAVE_PTHREAD_CANCEL 1
35423 _ACEOF
35424
35425 else
35426 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35427 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35428 fi
35429
35430
35431 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35432 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35433 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35434 echo $ECHO_N "(cached) $ECHO_C" >&6
35435 else
35436 cat >conftest.$ac_ext <<_ACEOF
35437 /* confdefs.h. */
35438 _ACEOF
35439 cat confdefs.h >>conftest.$ac_ext
35440 cat >>conftest.$ac_ext <<_ACEOF
35441 /* end confdefs.h. */
35442 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35444 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35445
35446 /* System header to define __stub macros and hopefully few prototypes,
35447 which can conflict with char pthread_attr_setstacksize (); below.
35448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35449 <limits.h> exists even on freestanding compilers. */
35450
35451 #ifdef __STDC__
35452 # include <limits.h>
35453 #else
35454 # include <assert.h>
35455 #endif
35456
35457 #undef pthread_attr_setstacksize
35458
35459 /* Override any gcc2 internal prototype to avoid an error. */
35460 #ifdef __cplusplus
35461 extern "C"
35462 {
35463 #endif
35464 /* We use char because int might match the return type of a gcc2
35465 builtin and then its argument prototype would still apply. */
35466 char pthread_attr_setstacksize ();
35467 /* The GNU C library defines this for functions which it implements
35468 to always fail with ENOSYS. Some functions are actually named
35469 something starting with __ and the normal name is an alias. */
35470 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35471 choke me
35472 #else
35473 char (*f) () = pthread_attr_setstacksize;
35474 #endif
35475 #ifdef __cplusplus
35476 }
35477 #endif
35478
35479 int
35480 main ()
35481 {
35482 return f != pthread_attr_setstacksize;
35483 ;
35484 return 0;
35485 }
35486 _ACEOF
35487 rm -f conftest.$ac_objext conftest$ac_exeext
35488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35489 (eval $ac_link) 2>conftest.er1
35490 ac_status=$?
35491 grep -v '^ *+' conftest.er1 >conftest.err
35492 rm -f conftest.er1
35493 cat conftest.err >&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); } &&
35496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; } &&
35502 { ac_try='test -s conftest$ac_exeext'
35503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35504 (eval $ac_try) 2>&5
35505 ac_status=$?
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; }; then
35508 ac_cv_func_pthread_attr_setstacksize=yes
35509 else
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.$ac_ext >&5
35512
35513 ac_cv_func_pthread_attr_setstacksize=no
35514 fi
35515 rm -f conftest.err conftest.$ac_objext \
35516 conftest$ac_exeext conftest.$ac_ext
35517 fi
35518 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35519 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35520 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35521 cat >>confdefs.h <<\_ACEOF
35522 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35523 _ACEOF
35524
35525 fi
35526
35527
35528
35529 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35530 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35531 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35532 echo $ECHO_N "(cached) $ECHO_C" >&6
35533 else
35534
35535 cat >conftest.$ac_ext <<_ACEOF
35536 /* confdefs.h. */
35537 _ACEOF
35538 cat confdefs.h >>conftest.$ac_ext
35539 cat >>conftest.$ac_ext <<_ACEOF
35540 /* end confdefs.h. */
35541 #include <pthread.h>
35542 int
35543 main ()
35544 {
35545
35546 pthread_mutexattr_t attr;
35547 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35548
35549 ;
35550 return 0;
35551 }
35552 _ACEOF
35553 rm -f conftest.$ac_objext
35554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35555 (eval $ac_compile) 2>conftest.er1
35556 ac_status=$?
35557 grep -v '^ *+' conftest.er1 >conftest.err
35558 rm -f conftest.er1
35559 cat conftest.err >&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); } &&
35562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35565 ac_status=$?
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; } &&
35568 { ac_try='test -s conftest.$ac_objext'
35569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35570 (eval $ac_try) 2>&5
35571 ac_status=$?
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; }; then
35574
35575 wx_cv_type_pthread_mutexattr_t=yes
35576
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35580
35581
35582 wx_cv_type_pthread_mutexattr_t=no
35583
35584
35585 fi
35586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35587
35588 fi
35589 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35590 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35591
35592 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35593 cat >>confdefs.h <<\_ACEOF
35594 #define HAVE_PTHREAD_MUTEXATTR_T 1
35595 _ACEOF
35596
35597 else
35598 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35599 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35600 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 else
35603
35604 cat >conftest.$ac_ext <<_ACEOF
35605 /* confdefs.h. */
35606 _ACEOF
35607 cat confdefs.h >>conftest.$ac_ext
35608 cat >>conftest.$ac_ext <<_ACEOF
35609 /* end confdefs.h. */
35610 #include <pthread.h>
35611 int
35612 main ()
35613 {
35614
35615 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35616
35617 ;
35618 return 0;
35619 }
35620 _ACEOF
35621 rm -f conftest.$ac_objext
35622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35623 (eval $ac_compile) 2>conftest.er1
35624 ac_status=$?
35625 grep -v '^ *+' conftest.er1 >conftest.err
35626 rm -f conftest.er1
35627 cat conftest.err >&5
35628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629 (exit $ac_status); } &&
35630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35632 (eval $ac_try) 2>&5
35633 ac_status=$?
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); }; } &&
35636 { ac_try='test -s conftest.$ac_objext'
35637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35638 (eval $ac_try) 2>&5
35639 ac_status=$?
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); }; }; then
35642
35643 wx_cv_type_pthread_rec_mutex_init=yes
35644
35645 else
35646 echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.$ac_ext >&5
35648
35649
35650 wx_cv_type_pthread_rec_mutex_init=no
35651
35652
35653 fi
35654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35655
35656 fi
35657 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35658 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35659 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35660 cat >>confdefs.h <<\_ACEOF
35661 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35662 _ACEOF
35663
35664 else
35665 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35666 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35667 fi
35668 fi
35669 fi
35670
35671 else
35672 if test "$wxUSE_THREADS" = "yes" ; then
35673 case "${host}" in
35674 *-*-mingw32* )
35675 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35676 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35677 if test "${wx_cv_cflags_mthread+set}" = set; then
35678 echo $ECHO_N "(cached) $ECHO_C" >&6
35679 else
35680
35681 CFLAGS_OLD="$CFLAGS"
35682 CFLAGS="$CFLAGS -mthreads"
35683 cat >conftest.$ac_ext <<_ACEOF
35684 /* confdefs.h. */
35685 _ACEOF
35686 cat confdefs.h >>conftest.$ac_ext
35687 cat >>conftest.$ac_ext <<_ACEOF
35688 /* end confdefs.h. */
35689
35690 int
35691 main ()
35692 {
35693
35694 ;
35695 return 0;
35696 }
35697 _ACEOF
35698 rm -f conftest.$ac_objext
35699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35700 (eval $ac_compile) 2>conftest.er1
35701 ac_status=$?
35702 grep -v '^ *+' conftest.er1 >conftest.err
35703 rm -f conftest.er1
35704 cat conftest.err >&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); } &&
35707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try='test -s conftest.$ac_objext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 wx_cv_cflags_mthread=yes
35720 else
35721 echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.$ac_ext >&5
35723
35724 wx_cv_cflags_mthread=no
35725
35726 fi
35727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35728
35729
35730 fi
35731 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35732 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35733
35734 if test "$wx_cv_cflags_mthread" = "yes"; then
35735 CXXFLAGS="$CXXFLAGS -mthreads"
35736 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
35737 LDFLAGS="$LDFLAGS -mthreads"
35738 else
35739 CFLAGS="$CFLAGS_OLD"
35740 fi
35741 ;;
35742 *-pc-os2*emx )
35743 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35744 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35745 LDFLAGS="$LDFLAGS -Zmt"
35746 ;;
35747 esac
35748 fi
35749 fi
35750
35751 if test "$wxUSE_THREADS" = "yes"; then
35752 cat >>confdefs.h <<\_ACEOF
35753 #define wxUSE_THREADS 1
35754 _ACEOF
35755
35756
35757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
35758 else
35759 if test "$ac_cv_func_strtok_r" = "yes"; then
35760 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35761 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35762 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35763 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35764 echo "$as_me:$LINENO: result: yes" >&5
35765 echo "${ECHO_T}yes" >&6
35766 else
35767 echo "$as_me:$LINENO: result: no" >&5
35768 echo "${ECHO_T}no" >&6
35769 fi
35770 fi
35771 fi
35772
35773 if test "$WXGTK20" = 1 ; then
35774 cat >>confdefs.h <<_ACEOF
35775 #define __WXGTK20__ $WXGTK20
35776 _ACEOF
35777
35778 WXGTK12=1
35779 fi
35780
35781 if test "$WXGTK12" = 1 ; then
35782 cat >>confdefs.h <<_ACEOF
35783 #define __WXGTK12__ $WXGTK12
35784 _ACEOF
35785
35786 fi
35787
35788 if test "$WXGTK127" = 1 ; then
35789 cat >>confdefs.h <<_ACEOF
35790 #define __WXGTK127__ $WXGTK127
35791 _ACEOF
35792
35793 fi
35794
35795 if test "$WXGPE" = 1 ; then
35796 cat >>confdefs.h <<_ACEOF
35797 #define __WXGPE__ $WXGPE
35798 _ACEOF
35799
35800 fi
35801
35802 WXDEBUG=
35803
35804 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35805 WXDEBUG="-g"
35806 wxUSE_OPTIMISE=no
35807 fi
35808
35809 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35810 wxUSE_DEBUG_INFO=yes
35811 if test "$GCC" = yes; then
35812 WXDEBUG="-ggdb"
35813 fi
35814 fi
35815
35816 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35817 cat >>confdefs.h <<\_ACEOF
35818 #define WXDEBUG 1
35819 _ACEOF
35820
35821 WXDEBUG_DEFINE="-D__WXDEBUG__"
35822 else
35823 if test "$wxUSE_GTK" = 1 ; then
35824 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35825 fi
35826 fi
35827
35828 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35829 cat >>confdefs.h <<\_ACEOF
35830 #define wxUSE_MEMORY_TRACING 1
35831 _ACEOF
35832
35833 cat >>confdefs.h <<\_ACEOF
35834 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35835 _ACEOF
35836
35837 cat >>confdefs.h <<\_ACEOF
35838 #define wxUSE_DEBUG_NEW_ALWAYS 1
35839 _ACEOF
35840
35841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35842 fi
35843
35844 if test "$wxUSE_DMALLOC" = "yes" ; then
35845 DMALLOC_LIBS="-ldmallocthcxx"
35846 fi
35847
35848 PROFILE=
35849 if test "$wxUSE_PROFILE" = "yes" ; then
35850 PROFILE=" -pg"
35851 fi
35852
35853 CODE_GEN_FLAGS=
35854 CODE_GEN_FLAGS_CXX=
35855 if test "$GCC" = "yes" ; then
35856 if test "$wxUSE_NO_RTTI" = "yes" ; then
35857 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35858 fi
35859 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35860 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35861 fi
35862 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35863 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35864 fi
35865
35866 case "${host}" in
35867 powerpc*-*-aix* )
35868 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35869 ;;
35870 *-hppa* )
35871 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35872 ;;
35873 esac
35874 fi
35875
35876 OPTIMISE=
35877 if test "$wxUSE_OPTIMISE" = "no" ; then
35878 if test "$GCC" = yes ; then
35879 OPTIMISE="-O0"
35880 fi
35881 else
35882 if test "$GCC" = yes ; then
35883 OPTIMISE="-O2"
35884
35885 case "${host}" in
35886 i586-*-*|i686-*-* )
35887 OPTIMISE="${OPTIMISE} "
35888 ;;
35889 esac
35890 else
35891 OPTIMISE="-O"
35892 fi
35893 fi
35894
35895
35896 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35897 cat >>confdefs.h <<\_ACEOF
35898 #define WXWIN_COMPATIBILITY_2_2 1
35899 _ACEOF
35900
35901
35902 WXWIN_COMPATIBILITY_2_4="yes"
35903 fi
35904
35905 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35906 cat >>confdefs.h <<\_ACEOF
35907 #define WXWIN_COMPATIBILITY_2_4 1
35908 _ACEOF
35909
35910 fi
35911
35912
35913 if test "$wxUSE_GUI" = "yes"; then
35914 cat >>confdefs.h <<\_ACEOF
35915 #define wxUSE_GUI 1
35916 _ACEOF
35917
35918
35919 fi
35920
35921
35922 if test "$wxUSE_UNIX" = "yes"; then
35923 cat >>confdefs.h <<\_ACEOF
35924 #define wxUSE_UNIX 1
35925 _ACEOF
35926
35927 fi
35928
35929
35930 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35931
35932 HAVE_DL_FUNCS=0
35933 HAVE_SHL_FUNCS=0
35934 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35935 if test "$USE_DARWIN" = 1; then
35936 HAVE_DL_FUNCS=1
35937 elif test "$USE_DOS" = 1; then
35938 HAVE_DL_FUNCS=0
35939 else
35940
35941 for ac_func in dlopen
35942 do
35943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35944 echo "$as_me:$LINENO: checking for $ac_func" >&5
35945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35946 if eval "test \"\${$as_ac_var+set}\" = set"; then
35947 echo $ECHO_N "(cached) $ECHO_C" >&6
35948 else
35949 cat >conftest.$ac_ext <<_ACEOF
35950 /* confdefs.h. */
35951 _ACEOF
35952 cat confdefs.h >>conftest.$ac_ext
35953 cat >>conftest.$ac_ext <<_ACEOF
35954 /* end confdefs.h. */
35955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35957 #define $ac_func innocuous_$ac_func
35958
35959 /* System header to define __stub macros and hopefully few prototypes,
35960 which can conflict with char $ac_func (); below.
35961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35962 <limits.h> exists even on freestanding compilers. */
35963
35964 #ifdef __STDC__
35965 # include <limits.h>
35966 #else
35967 # include <assert.h>
35968 #endif
35969
35970 #undef $ac_func
35971
35972 /* Override any gcc2 internal prototype to avoid an error. */
35973 #ifdef __cplusplus
35974 extern "C"
35975 {
35976 #endif
35977 /* We use char because int might match the return type of a gcc2
35978 builtin and then its argument prototype would still apply. */
35979 char $ac_func ();
35980 /* The GNU C library defines this for functions which it implements
35981 to always fail with ENOSYS. Some functions are actually named
35982 something starting with __ and the normal name is an alias. */
35983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35984 choke me
35985 #else
35986 char (*f) () = $ac_func;
35987 #endif
35988 #ifdef __cplusplus
35989 }
35990 #endif
35991
35992 int
35993 main ()
35994 {
35995 return f != $ac_func;
35996 ;
35997 return 0;
35998 }
35999 _ACEOF
36000 rm -f conftest.$ac_objext conftest$ac_exeext
36001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36002 (eval $ac_link) 2>conftest.er1
36003 ac_status=$?
36004 grep -v '^ *+' conftest.er1 >conftest.err
36005 rm -f conftest.er1
36006 cat conftest.err >&5
36007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36008 (exit $ac_status); } &&
36009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36011 (eval $ac_try) 2>&5
36012 ac_status=$?
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); }; } &&
36015 { ac_try='test -s conftest$ac_exeext'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36018 ac_status=$?
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; }; then
36021 eval "$as_ac_var=yes"
36022 else
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36025
36026 eval "$as_ac_var=no"
36027 fi
36028 rm -f conftest.err conftest.$ac_objext \
36029 conftest$ac_exeext conftest.$ac_ext
36030 fi
36031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36033 if test `eval echo '${'$as_ac_var'}'` = yes; then
36034 cat >>confdefs.h <<_ACEOF
36035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36036 _ACEOF
36037
36038 cat >>confdefs.h <<\_ACEOF
36039 #define HAVE_DLOPEN 1
36040 _ACEOF
36041
36042 HAVE_DL_FUNCS=1
36043
36044 else
36045
36046 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36047 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36048 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36049 echo $ECHO_N "(cached) $ECHO_C" >&6
36050 else
36051 ac_check_lib_save_LIBS=$LIBS
36052 LIBS="-ldl $LIBS"
36053 cat >conftest.$ac_ext <<_ACEOF
36054 /* confdefs.h. */
36055 _ACEOF
36056 cat confdefs.h >>conftest.$ac_ext
36057 cat >>conftest.$ac_ext <<_ACEOF
36058 /* end confdefs.h. */
36059
36060 /* Override any gcc2 internal prototype to avoid an error. */
36061 #ifdef __cplusplus
36062 extern "C"
36063 #endif
36064 /* We use char because int might match the return type of a gcc2
36065 builtin and then its argument prototype would still apply. */
36066 char dlopen ();
36067 int
36068 main ()
36069 {
36070 dlopen ();
36071 ;
36072 return 0;
36073 }
36074 _ACEOF
36075 rm -f conftest.$ac_objext conftest$ac_exeext
36076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36077 (eval $ac_link) 2>conftest.er1
36078 ac_status=$?
36079 grep -v '^ *+' conftest.er1 >conftest.err
36080 rm -f conftest.er1
36081 cat conftest.err >&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } &&
36084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36087 ac_status=$?
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; } &&
36090 { ac_try='test -s conftest$ac_exeext'
36091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36092 (eval $ac_try) 2>&5
36093 ac_status=$?
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); }; }; then
36096 ac_cv_lib_dl_dlopen=yes
36097 else
36098 echo "$as_me: failed program was:" >&5
36099 sed 's/^/| /' conftest.$ac_ext >&5
36100
36101 ac_cv_lib_dl_dlopen=no
36102 fi
36103 rm -f conftest.err conftest.$ac_objext \
36104 conftest$ac_exeext conftest.$ac_ext
36105 LIBS=$ac_check_lib_save_LIBS
36106 fi
36107 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36108 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36109 if test $ac_cv_lib_dl_dlopen = yes; then
36110
36111 cat >>confdefs.h <<\_ACEOF
36112 #define HAVE_DLOPEN 1
36113 _ACEOF
36114
36115 HAVE_DL_FUNCS=1
36116 DL_LINK=" -ldl$DL_LINK"
36117
36118 else
36119
36120
36121 for ac_func in shl_load
36122 do
36123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36124 echo "$as_me:$LINENO: checking for $ac_func" >&5
36125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36126 if eval "test \"\${$as_ac_var+set}\" = set"; then
36127 echo $ECHO_N "(cached) $ECHO_C" >&6
36128 else
36129 cat >conftest.$ac_ext <<_ACEOF
36130 /* confdefs.h. */
36131 _ACEOF
36132 cat confdefs.h >>conftest.$ac_ext
36133 cat >>conftest.$ac_ext <<_ACEOF
36134 /* end confdefs.h. */
36135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36137 #define $ac_func innocuous_$ac_func
36138
36139 /* System header to define __stub macros and hopefully few prototypes,
36140 which can conflict with char $ac_func (); below.
36141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36142 <limits.h> exists even on freestanding compilers. */
36143
36144 #ifdef __STDC__
36145 # include <limits.h>
36146 #else
36147 # include <assert.h>
36148 #endif
36149
36150 #undef $ac_func
36151
36152 /* Override any gcc2 internal prototype to avoid an error. */
36153 #ifdef __cplusplus
36154 extern "C"
36155 {
36156 #endif
36157 /* We use char because int might match the return type of a gcc2
36158 builtin and then its argument prototype would still apply. */
36159 char $ac_func ();
36160 /* The GNU C library defines this for functions which it implements
36161 to always fail with ENOSYS. Some functions are actually named
36162 something starting with __ and the normal name is an alias. */
36163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36164 choke me
36165 #else
36166 char (*f) () = $ac_func;
36167 #endif
36168 #ifdef __cplusplus
36169 }
36170 #endif
36171
36172 int
36173 main ()
36174 {
36175 return f != $ac_func;
36176 ;
36177 return 0;
36178 }
36179 _ACEOF
36180 rm -f conftest.$ac_objext conftest$ac_exeext
36181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36182 (eval $ac_link) 2>conftest.er1
36183 ac_status=$?
36184 grep -v '^ *+' conftest.er1 >conftest.err
36185 rm -f conftest.er1
36186 cat conftest.err >&5
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); } &&
36189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36191 (eval $ac_try) 2>&5
36192 ac_status=$?
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); }; } &&
36195 { ac_try='test -s conftest$ac_exeext'
36196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36197 (eval $ac_try) 2>&5
36198 ac_status=$?
36199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36200 (exit $ac_status); }; }; then
36201 eval "$as_ac_var=yes"
36202 else
36203 echo "$as_me: failed program was:" >&5
36204 sed 's/^/| /' conftest.$ac_ext >&5
36205
36206 eval "$as_ac_var=no"
36207 fi
36208 rm -f conftest.err conftest.$ac_objext \
36209 conftest$ac_exeext conftest.$ac_ext
36210 fi
36211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36213 if test `eval echo '${'$as_ac_var'}'` = yes; then
36214 cat >>confdefs.h <<_ACEOF
36215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36216 _ACEOF
36217
36218 cat >>confdefs.h <<\_ACEOF
36219 #define HAVE_SHL_LOAD 1
36220 _ACEOF
36221
36222 HAVE_SHL_FUNCS=1
36223
36224 else
36225
36226 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36227 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36228 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36229 echo $ECHO_N "(cached) $ECHO_C" >&6
36230 else
36231 ac_check_lib_save_LIBS=$LIBS
36232 LIBS="-lshl_load $LIBS"
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
36240 /* Override any gcc2 internal prototype to avoid an error. */
36241 #ifdef __cplusplus
36242 extern "C"
36243 #endif
36244 /* We use char because int might match the return type of a gcc2
36245 builtin and then its argument prototype would still apply. */
36246 char dld ();
36247 int
36248 main ()
36249 {
36250 dld ();
36251 ;
36252 return 0;
36253 }
36254 _ACEOF
36255 rm -f conftest.$ac_objext conftest$ac_exeext
36256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36257 (eval $ac_link) 2>conftest.er1
36258 ac_status=$?
36259 grep -v '^ *+' conftest.er1 >conftest.err
36260 rm -f conftest.er1
36261 cat conftest.err >&5
36262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36263 (exit $ac_status); } &&
36264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36266 (eval $ac_try) 2>&5
36267 ac_status=$?
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); }; } &&
36270 { ac_try='test -s conftest$ac_exeext'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36273 ac_status=$?
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; }; then
36276 ac_cv_lib_shl_load_dld=yes
36277 else
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.$ac_ext >&5
36280
36281 ac_cv_lib_shl_load_dld=no
36282 fi
36283 rm -f conftest.err conftest.$ac_objext \
36284 conftest$ac_exeext conftest.$ac_ext
36285 LIBS=$ac_check_lib_save_LIBS
36286 fi
36287 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36288 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36289 if test $ac_cv_lib_shl_load_dld = yes; then
36290
36291 HAVE_SHL_FUNCS=1
36292 DL_LINK=" -ldld$DL_LINK"
36293
36294 fi
36295
36296
36297 fi
36298 done
36299
36300
36301 fi
36302
36303
36304 fi
36305 done
36306
36307
36308 if test "$HAVE_DL_FUNCS" = 1; then
36309
36310 for ac_func in dlerror
36311 do
36312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36313 echo "$as_me:$LINENO: checking for $ac_func" >&5
36314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36315 if eval "test \"\${$as_ac_var+set}\" = set"; then
36316 echo $ECHO_N "(cached) $ECHO_C" >&6
36317 else
36318 cat >conftest.$ac_ext <<_ACEOF
36319 /* confdefs.h. */
36320 _ACEOF
36321 cat confdefs.h >>conftest.$ac_ext
36322 cat >>conftest.$ac_ext <<_ACEOF
36323 /* end confdefs.h. */
36324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36326 #define $ac_func innocuous_$ac_func
36327
36328 /* System header to define __stub macros and hopefully few prototypes,
36329 which can conflict with char $ac_func (); below.
36330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36331 <limits.h> exists even on freestanding compilers. */
36332
36333 #ifdef __STDC__
36334 # include <limits.h>
36335 #else
36336 # include <assert.h>
36337 #endif
36338
36339 #undef $ac_func
36340
36341 /* Override any gcc2 internal prototype to avoid an error. */
36342 #ifdef __cplusplus
36343 extern "C"
36344 {
36345 #endif
36346 /* We use char because int might match the return type of a gcc2
36347 builtin and then its argument prototype would still apply. */
36348 char $ac_func ();
36349 /* The GNU C library defines this for functions which it implements
36350 to always fail with ENOSYS. Some functions are actually named
36351 something starting with __ and the normal name is an alias. */
36352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36353 choke me
36354 #else
36355 char (*f) () = $ac_func;
36356 #endif
36357 #ifdef __cplusplus
36358 }
36359 #endif
36360
36361 int
36362 main ()
36363 {
36364 return f != $ac_func;
36365 ;
36366 return 0;
36367 }
36368 _ACEOF
36369 rm -f conftest.$ac_objext conftest$ac_exeext
36370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36371 (eval $ac_link) 2>conftest.er1
36372 ac_status=$?
36373 grep -v '^ *+' conftest.er1 >conftest.err
36374 rm -f conftest.er1
36375 cat conftest.err >&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); } &&
36378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36380 (eval $ac_try) 2>&5
36381 ac_status=$?
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); }; } &&
36384 { ac_try='test -s conftest$ac_exeext'
36385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36386 (eval $ac_try) 2>&5
36387 ac_status=$?
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); }; }; then
36390 eval "$as_ac_var=yes"
36391 else
36392 echo "$as_me: failed program was:" >&5
36393 sed 's/^/| /' conftest.$ac_ext >&5
36394
36395 eval "$as_ac_var=no"
36396 fi
36397 rm -f conftest.err conftest.$ac_objext \
36398 conftest$ac_exeext conftest.$ac_ext
36399 fi
36400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36402 if test `eval echo '${'$as_ac_var'}'` = yes; then
36403 cat >>confdefs.h <<_ACEOF
36404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36405 _ACEOF
36406 cat >>confdefs.h <<\_ACEOF
36407 #define HAVE_DLERROR 1
36408 _ACEOF
36409
36410 else
36411
36412 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36413 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36414 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36415 echo $ECHO_N "(cached) $ECHO_C" >&6
36416 else
36417 ac_check_lib_save_LIBS=$LIBS
36418 LIBS="-ldl $LIBS"
36419 cat >conftest.$ac_ext <<_ACEOF
36420 /* confdefs.h. */
36421 _ACEOF
36422 cat confdefs.h >>conftest.$ac_ext
36423 cat >>conftest.$ac_ext <<_ACEOF
36424 /* end confdefs.h. */
36425
36426 /* Override any gcc2 internal prototype to avoid an error. */
36427 #ifdef __cplusplus
36428 extern "C"
36429 #endif
36430 /* We use char because int might match the return type of a gcc2
36431 builtin and then its argument prototype would still apply. */
36432 char dlerror ();
36433 int
36434 main ()
36435 {
36436 dlerror ();
36437 ;
36438 return 0;
36439 }
36440 _ACEOF
36441 rm -f conftest.$ac_objext conftest$ac_exeext
36442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36443 (eval $ac_link) 2>conftest.er1
36444 ac_status=$?
36445 grep -v '^ *+' conftest.er1 >conftest.err
36446 rm -f conftest.er1
36447 cat conftest.err >&5
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); } &&
36450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36452 (eval $ac_try) 2>&5
36453 ac_status=$?
36454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36455 (exit $ac_status); }; } &&
36456 { ac_try='test -s conftest$ac_exeext'
36457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 (eval $ac_try) 2>&5
36459 ac_status=$?
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; }; then
36462 ac_cv_lib_dl_dlerror=yes
36463 else
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.$ac_ext >&5
36466
36467 ac_cv_lib_dl_dlerror=no
36468 fi
36469 rm -f conftest.err conftest.$ac_objext \
36470 conftest$ac_exeext conftest.$ac_ext
36471 LIBS=$ac_check_lib_save_LIBS
36472 fi
36473 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36474 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36475 if test $ac_cv_lib_dl_dlerror = yes; then
36476 cat >>confdefs.h <<\_ACEOF
36477 #define HAVE_DLERROR 1
36478 _ACEOF
36479
36480 fi
36481
36482
36483
36484 fi
36485 done
36486
36487 fi
36488 fi
36489
36490 if test "$HAVE_DL_FUNCS" = 0; then
36491 if test "$HAVE_SHL_FUNCS" = 0; then
36492 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36493 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36494 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36495 wxUSE_DYNAMIC_LOADER=no
36496 wxUSE_DYNLIB_CLASS=no
36497 else
36498 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36499 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36500 fi
36501 fi
36502 fi
36503 fi
36504 fi
36505
36506 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36507 cat >>confdefs.h <<\_ACEOF
36508 #define wxUSE_DYNAMIC_LOADER 1
36509 _ACEOF
36510
36511 fi
36512 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36513 cat >>confdefs.h <<\_ACEOF
36514 #define wxUSE_DYNLIB_CLASS 1
36515 _ACEOF
36516
36517 fi
36518
36519
36520
36521 if test "$wxUSE_PLUGINS" = "yes" ; then
36522 if test "$wxUSE_SHARED" = "no" ; then
36523 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36524 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36525 wxUSE_PLUGINS=no
36526 fi
36527 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36528 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36529 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36530 wxUSE_PLUGINS=no
36531 fi
36532 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36533 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36534 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36535 wxUSE_PLUGINS=no
36536 fi
36537 if test "$wxUSE_PLUGINS" = "yes" ; then
36538 cat >>confdefs.h <<\_ACEOF
36539 #define wxUSE_PLUGINS 1
36540 _ACEOF
36541
36542 fi
36543 fi
36544
36545
36546 if test "$wxUSE_STL" = "yes"; then
36547 cat >>confdefs.h <<\_ACEOF
36548 #define wxUSE_STL 1
36549 _ACEOF
36550
36551 fi
36552
36553 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36554 cat >>confdefs.h <<\_ACEOF
36555 #define wxUSE_APPLE_IEEE 1
36556 _ACEOF
36557
36558 fi
36559
36560 if test "$wxUSE_TIMER" = "yes"; then
36561 cat >>confdefs.h <<\_ACEOF
36562 #define wxUSE_TIMER 1
36563 _ACEOF
36564
36565 fi
36566
36567 if test "$USE_UNIX" = "1" ; then
36568
36569 for ac_header in sys/soundcard.h
36570 do
36571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36573 echo "$as_me:$LINENO: checking for $ac_header" >&5
36574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36576 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 fi
36578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36580 else
36581 # Is the header compilable?
36582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
36591 #include <$ac_header>
36592 _ACEOF
36593 rm -f conftest.$ac_objext
36594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36595 (eval $ac_compile) 2>conftest.er1
36596 ac_status=$?
36597 grep -v '^ *+' conftest.er1 >conftest.err
36598 rm -f conftest.er1
36599 cat conftest.err >&5
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); } &&
36602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36604 (eval $ac_try) 2>&5
36605 ac_status=$?
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); }; } &&
36608 { ac_try='test -s conftest.$ac_objext'
36609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610 (eval $ac_try) 2>&5
36611 ac_status=$?
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); }; }; then
36614 ac_header_compiler=yes
36615 else
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.$ac_ext >&5
36618
36619 ac_header_compiler=no
36620 fi
36621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36623 echo "${ECHO_T}$ac_header_compiler" >&6
36624
36625 # Is the header present?
36626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36628 cat >conftest.$ac_ext <<_ACEOF
36629 /* confdefs.h. */
36630 _ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 #include <$ac_header>
36635 _ACEOF
36636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36638 ac_status=$?
36639 grep -v '^ *+' conftest.er1 >conftest.err
36640 rm -f conftest.er1
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } >/dev/null; then
36644 if test -s conftest.err; then
36645 ac_cpp_err=$ac_c_preproc_warn_flag
36646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36647 else
36648 ac_cpp_err=
36649 fi
36650 else
36651 ac_cpp_err=yes
36652 fi
36653 if test -z "$ac_cpp_err"; then
36654 ac_header_preproc=yes
36655 else
36656 echo "$as_me: failed program was:" >&5
36657 sed 's/^/| /' conftest.$ac_ext >&5
36658
36659 ac_header_preproc=no
36660 fi
36661 rm -f conftest.err conftest.$ac_ext
36662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36663 echo "${ECHO_T}$ac_header_preproc" >&6
36664
36665 # So? What about this header?
36666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36667 yes:no: )
36668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36672 ac_header_preproc=yes
36673 ;;
36674 no:yes:* )
36675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36687 (
36688 cat <<\_ASBOX
36689 ## ----------------------------------------- ##
36690 ## Report this to wx-dev@lists.wxwidgets.org ##
36691 ## ----------------------------------------- ##
36692 _ASBOX
36693 ) |
36694 sed "s/^/$as_me: WARNING: /" >&2
36695 ;;
36696 esac
36697 echo "$as_me:$LINENO: checking for $ac_header" >&5
36698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36700 echo $ECHO_N "(cached) $ECHO_C" >&6
36701 else
36702 eval "$as_ac_Header=\$ac_header_preproc"
36703 fi
36704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36706
36707 fi
36708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36709 cat >>confdefs.h <<_ACEOF
36710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36711 _ACEOF
36712
36713 else
36714 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
36715 fi
36716
36717 done
36718
36719 fi
36720 WITH_PLUGIN_SDL=0
36721 if test "$wxUSE_SOUND" = "yes"; then
36722 if test "$USE_UNIX" = "1" ; then
36723 if test "$wxUSE_LIBSDL" != "no"; then
36724
36725 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36726 if test "${with_sdl_prefix+set}" = set; then
36727 withval="$with_sdl_prefix"
36728 sdl_prefix="$withval"
36729 else
36730 sdl_prefix=""
36731 fi;
36732
36733 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36734 if test "${with_sdl_exec_prefix+set}" = set; then
36735 withval="$with_sdl_exec_prefix"
36736 sdl_exec_prefix="$withval"
36737 else
36738 sdl_exec_prefix=""
36739 fi;
36740 # Check whether --enable-sdltest or --disable-sdltest was given.
36741 if test "${enable_sdltest+set}" = set; then
36742 enableval="$enable_sdltest"
36743
36744 else
36745 enable_sdltest=yes
36746 fi;
36747
36748 if test x$sdl_exec_prefix != x ; then
36749 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
36750 if test x${SDL_CONFIG+set} != xset ; then
36751 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
36752 fi
36753 fi
36754 if test x$sdl_prefix != x ; then
36755 sdl_args="$sdl_args --prefix=$sdl_prefix"
36756 if test x${SDL_CONFIG+set} != xset ; then
36757 SDL_CONFIG=$sdl_prefix/bin/sdl-config
36758 fi
36759 fi
36760
36761
36762 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
36763 # Extract the first word of "sdl-config", so it can be a program name with args.
36764 set dummy sdl-config; ac_word=$2
36765 echo "$as_me:$LINENO: checking for $ac_word" >&5
36766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36767 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36769 else
36770 case $SDL_CONFIG in
36771 [\\/]* | ?:[\\/]*)
36772 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36773 ;;
36774 *)
36775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36776 for as_dir in $PATH
36777 do
36778 IFS=$as_save_IFS
36779 test -z "$as_dir" && as_dir=.
36780 for ac_exec_ext in '' $ac_executable_extensions; do
36781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36782 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36784 break 2
36785 fi
36786 done
36787 done
36788
36789 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36790 ;;
36791 esac
36792 fi
36793 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36794
36795 if test -n "$SDL_CONFIG"; then
36796 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36797 echo "${ECHO_T}$SDL_CONFIG" >&6
36798 else
36799 echo "$as_me:$LINENO: result: no" >&5
36800 echo "${ECHO_T}no" >&6
36801 fi
36802
36803 min_sdl_version=1.2.0
36804 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36805 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36806 no_sdl=""
36807 if test "$SDL_CONFIG" = "no" ; then
36808 no_sdl=yes
36809 else
36810 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36811 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36812
36813 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36815 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36817 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36819 if test "x$enable_sdltest" = "xyes" ; then
36820 ac_save_CFLAGS="$CFLAGS"
36821 ac_save_CXXFLAGS="$CXXFLAGS"
36822 ac_save_LIBS="$LIBS"
36823 CFLAGS="$CFLAGS $SDL_CFLAGS"
36824 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36825 LIBS="$LIBS $SDL_LIBS"
36826 rm -f conf.sdltest
36827 if test "$cross_compiling" = yes; then
36828 echo $ac_n "cross compiling; assumed OK... $ac_c"
36829 else
36830 cat >conftest.$ac_ext <<_ACEOF
36831 /* confdefs.h. */
36832 _ACEOF
36833 cat confdefs.h >>conftest.$ac_ext
36834 cat >>conftest.$ac_ext <<_ACEOF
36835 /* end confdefs.h. */
36836
36837 #include <stdio.h>
36838 #include <stdlib.h>
36839 #include <string.h>
36840 #include "SDL.h"
36841
36842 char*
36843 my_strdup (char *str)
36844 {
36845 char *new_str;
36846
36847 if (str)
36848 {
36849 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36850 strcpy (new_str, str);
36851 }
36852 else
36853 new_str = NULL;
36854
36855 return new_str;
36856 }
36857
36858 int main (int argc, char *argv[])
36859 {
36860 int major, minor, micro;
36861 char *tmp_version;
36862
36863 /* This hangs on some systems (?)
36864 system ("touch conf.sdltest");
36865 */
36866 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36867
36868 /* HP/UX 9 (%@#!) writes to sscanf strings */
36869 tmp_version = my_strdup("$min_sdl_version");
36870 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36871 printf("%s, bad version string\n", "$min_sdl_version");
36872 exit(1);
36873 }
36874
36875 if (($sdl_major_version > major) ||
36876 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36877 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36878 {
36879 return 0;
36880 }
36881 else
36882 {
36883 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36884 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36885 printf("*** best to upgrade to the required version.\n");
36886 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36887 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36888 printf("*** config.cache before re-running configure\n");
36889 return 1;
36890 }
36891 }
36892
36893
36894 _ACEOF
36895 rm -f conftest$ac_exeext
36896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36897 (eval $ac_link) 2>&5
36898 ac_status=$?
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902 (eval $ac_try) 2>&5
36903 ac_status=$?
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); }; }; then
36906 :
36907 else
36908 echo "$as_me: program exited with status $ac_status" >&5
36909 echo "$as_me: failed program was:" >&5
36910 sed 's/^/| /' conftest.$ac_ext >&5
36911
36912 ( exit $ac_status )
36913 no_sdl=yes
36914 fi
36915 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36916 fi
36917 CFLAGS="$ac_save_CFLAGS"
36918 CXXFLAGS="$ac_save_CXXFLAGS"
36919 LIBS="$ac_save_LIBS"
36920 fi
36921 fi
36922 if test "x$no_sdl" = x ; then
36923 echo "$as_me:$LINENO: result: yes" >&5
36924 echo "${ECHO_T}yes" >&6
36925
36926 EXTRALIBS_SDL="$SDL_LIBS"
36927 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36928 cat >>confdefs.h <<\_ACEOF
36929 #define wxUSE_LIBSDL 1
36930 _ACEOF
36931
36932
36933 else
36934 echo "$as_me:$LINENO: result: no" >&5
36935 echo "${ECHO_T}no" >&6
36936 if test "$SDL_CONFIG" = "no" ; then
36937 echo "*** The sdl-config script installed by SDL could not be found"
36938 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36939 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36940 echo "*** full path to sdl-config."
36941 else
36942 if test -f conf.sdltest ; then
36943 :
36944 else
36945 echo "*** Could not run SDL test program, checking why..."
36946 CFLAGS="$CFLAGS $SDL_CFLAGS"
36947 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36948 LIBS="$LIBS $SDL_LIBS"
36949 cat >conftest.$ac_ext <<_ACEOF
36950 /* confdefs.h. */
36951 _ACEOF
36952 cat confdefs.h >>conftest.$ac_ext
36953 cat >>conftest.$ac_ext <<_ACEOF
36954 /* end confdefs.h. */
36955
36956 #include <stdio.h>
36957 #include "SDL.h"
36958
36959 int main(int argc, char *argv[])
36960 { return 0; }
36961 #undef main
36962 #define main K_and_R_C_main
36963
36964 int
36965 main ()
36966 {
36967 return 0;
36968 ;
36969 return 0;
36970 }
36971 _ACEOF
36972 rm -f conftest.$ac_objext conftest$ac_exeext
36973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36974 (eval $ac_link) 2>conftest.er1
36975 ac_status=$?
36976 grep -v '^ *+' conftest.er1 >conftest.err
36977 rm -f conftest.er1
36978 cat conftest.err >&5
36979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36980 (exit $ac_status); } &&
36981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983 (eval $ac_try) 2>&5
36984 ac_status=$?
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); }; } &&
36987 { ac_try='test -s conftest$ac_exeext'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36990 ac_status=$?
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; }; then
36993 echo "*** The test program compiled, but did not run. This usually means"
36994 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36995 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36996 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36997 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36998 echo "*** is required on your system"
36999 echo "***"
37000 echo "*** If you have an old version installed, it is best to remove it, although"
37001 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37002 else
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.$ac_ext >&5
37005
37006 echo "*** The test program failed to compile or link. See the file config.log for the"
37007 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37008 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37009 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37010 fi
37011 rm -f conftest.err conftest.$ac_objext \
37012 conftest$ac_exeext conftest.$ac_ext
37013 CFLAGS="$ac_save_CFLAGS"
37014 CXXFLAGS="$ac_save_CXXFLAGS"
37015 LIBS="$ac_save_LIBS"
37016 fi
37017 fi
37018 SDL_CFLAGS=""
37019 SDL_LIBS=""
37020 wxUSE_LIBSDL="no"
37021 fi
37022
37023
37024 rm -f conf.sdltest
37025
37026 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37027 WITH_PLUGIN_SDL=1
37028 fi
37029 fi
37030 fi
37031
37032 cat >>confdefs.h <<\_ACEOF
37033 #define wxUSE_SOUND 1
37034 _ACEOF
37035
37036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
37037 fi
37038
37039 if test "$WXGTK20" = 1; then
37040 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37041 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37042
37043
37044 succeeded=no
37045
37046 if test -z "$PKG_CONFIG"; then
37047 # Extract the first word of "pkg-config", so it can be a program name with args.
37048 set dummy pkg-config; ac_word=$2
37049 echo "$as_me:$LINENO: checking for $ac_word" >&5
37050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37051 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 else
37054 case $PKG_CONFIG in
37055 [\\/]* | ?:[\\/]*)
37056 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37057 ;;
37058 *)
37059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37060 for as_dir in $PATH
37061 do
37062 IFS=$as_save_IFS
37063 test -z "$as_dir" && as_dir=.
37064 for ac_exec_ext in '' $ac_executable_extensions; do
37065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37066 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37068 break 2
37069 fi
37070 done
37071 done
37072
37073 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37074 ;;
37075 esac
37076 fi
37077 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37078
37079 if test -n "$PKG_CONFIG"; then
37080 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37081 echo "${ECHO_T}$PKG_CONFIG" >&6
37082 else
37083 echo "$as_me:$LINENO: result: no" >&5
37084 echo "${ECHO_T}no" >&6
37085 fi
37086
37087 fi
37088
37089 if test "$PKG_CONFIG" = "no" ; then
37090 echo "*** The pkg-config script could not be found. Make sure it is"
37091 echo "*** in your path, or set the PKG_CONFIG environment variable"
37092 echo "*** to the full path to pkg-config."
37093 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37094 else
37095 PKG_CONFIG_MIN_VERSION=0.9.0
37096 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37097 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37098 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37099
37100 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37101 echo "$as_me:$LINENO: result: yes" >&5
37102 echo "${ECHO_T}yes" >&6
37103 succeeded=yes
37104
37105 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37106 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37107 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37108 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37109 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37110
37111 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37112 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37113 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37114 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37115 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37116 else
37117 LIBGNOMEPRINTUI_CFLAGS=""
37118 LIBGNOMEPRINTUI_LIBS=""
37119 ## If we have a custom action on failure, don't print errors, but
37120 ## do set a variable so people can do so.
37121 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37122
37123 fi
37124
37125
37126
37127 else
37128 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37129 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37130 fi
37131 fi
37132
37133 if test $succeeded = yes; then
37134
37135 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37136 cat >>confdefs.h <<\_ACEOF
37137 #define wxUSE_LIBGNOMEPRINT 1
37138 _ACEOF
37139
37140
37141 else
37142
37143 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37144 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37145 wxUSE_LIBGNOMEPRINT="no"
37146
37147
37148 fi
37149
37150 fi
37151 fi
37152 fi
37153
37154
37155 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37156 cat >>confdefs.h <<\_ACEOF
37157 #define wxUSE_CMDLINE_PARSER 1
37158 _ACEOF
37159
37160 fi
37161
37162 if test "$wxUSE_STOPWATCH" = "yes"; then
37163 cat >>confdefs.h <<\_ACEOF
37164 #define wxUSE_STOPWATCH 1
37165 _ACEOF
37166
37167 fi
37168
37169 if test "$wxUSE_DATETIME" = "yes"; then
37170 cat >>confdefs.h <<\_ACEOF
37171 #define wxUSE_DATETIME 1
37172 _ACEOF
37173
37174 fi
37175
37176 if test "$wxUSE_FILE" = "yes"; then
37177 cat >>confdefs.h <<\_ACEOF
37178 #define wxUSE_FILE 1
37179 _ACEOF
37180
37181 fi
37182
37183 if test "$wxUSE_FFILE" = "yes"; then
37184 cat >>confdefs.h <<\_ACEOF
37185 #define wxUSE_FFILE 1
37186 _ACEOF
37187
37188 fi
37189
37190 if test "$wxUSE_FILESYSTEM" = "yes"; then
37191 cat >>confdefs.h <<\_ACEOF
37192 #define wxUSE_FILESYSTEM 1
37193 _ACEOF
37194
37195 fi
37196
37197 if test "$wxUSE_FS_ZIP" = "yes"; then
37198 cat >>confdefs.h <<\_ACEOF
37199 #define wxUSE_FS_ZIP 1
37200 _ACEOF
37201
37202 fi
37203
37204 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37205 cat >>confdefs.h <<\_ACEOF
37206 #define wxUSE_ARCHIVE_STREAMS 1
37207 _ACEOF
37208
37209 fi
37210
37211 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37212 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37213 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37214 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37215 elif test "$wxUSE_ZLIB" = "no"; then
37216 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37217 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37218 else
37219 cat >>confdefs.h <<\_ACEOF
37220 #define wxUSE_ZIPSTREAM 1
37221 _ACEOF
37222
37223 fi
37224 fi
37225
37226 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37227 if test "$USE_UNIX" != 1; then
37228 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37229 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37230 wxUSE_ON_FATAL_EXCEPTION=no
37231 else
37232 cat >>confdefs.h <<\_ACEOF
37233 #define wxUSE_ON_FATAL_EXCEPTION 1
37234 _ACEOF
37235
37236 fi
37237 fi
37238
37239 if test "$wxUSE_STACKWALKER" = "yes"; then
37240 cat >>confdefs.h <<\_ACEOF
37241 #define wxUSE_STACKWALKER 1
37242 _ACEOF
37243
37244 fi
37245
37246 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37247 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37248 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37249 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37250 wxUSE_DEBUGREPORT=no
37251 else
37252 cat >>confdefs.h <<\_ACEOF
37253 #define wxUSE_DEBUGREPORT 1
37254 _ACEOF
37255
37256 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37258 fi
37259 fi
37260 fi
37261
37262 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37263 cat >>confdefs.h <<\_ACEOF
37264 #define wxUSE_SNGLINST_CHECKER 1
37265 _ACEOF
37266
37267 fi
37268
37269 if test "$wxUSE_BUSYINFO" = "yes"; then
37270 cat >>confdefs.h <<\_ACEOF
37271 #define wxUSE_BUSYINFO 1
37272 _ACEOF
37273
37274 fi
37275
37276 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37277 cat >>confdefs.h <<\_ACEOF
37278 #define wxUSE_STD_IOSTREAM 1
37279 _ACEOF
37280
37281 fi
37282
37283 if test "$wxUSE_STD_STRING" = "yes"; then
37284 cat >>confdefs.h <<\_ACEOF
37285 #define wxUSE_STD_STRING 1
37286 _ACEOF
37287
37288 fi
37289
37290 if test "$wxUSE_STDPATHS" = "yes"; then
37291 cat >>confdefs.h <<\_ACEOF
37292 #define wxUSE_STDPATHS 1
37293 _ACEOF
37294
37295 fi
37296
37297 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37298 cat >>confdefs.h <<\_ACEOF
37299 #define wxUSE_TEXTBUFFER 1
37300 _ACEOF
37301
37302 fi
37303
37304 if test "$wxUSE_TEXTFILE" = "yes"; then
37305 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37306 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37307 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37308 else
37309 cat >>confdefs.h <<\_ACEOF
37310 #define wxUSE_TEXTFILE 1
37311 _ACEOF
37312
37313 fi
37314 fi
37315
37316 if test "$wxUSE_CONFIG" = "yes" ; then
37317 if test "$wxUSE_TEXTFILE" != "yes"; then
37318 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37319 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37320 else
37321 cat >>confdefs.h <<\_ACEOF
37322 #define wxUSE_CONFIG 1
37323 _ACEOF
37324
37325 cat >>confdefs.h <<\_ACEOF
37326 #define wxUSE_CONFIG_NATIVE 1
37327 _ACEOF
37328
37329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37330 fi
37331 fi
37332
37333 if test "$wxUSE_INTL" = "yes" ; then
37334 if test "$wxUSE_FILE" != "yes"; then
37335 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37336 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37337 else
37338 cat >>confdefs.h <<\_ACEOF
37339 #define wxUSE_INTL 1
37340 _ACEOF
37341
37342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37343 GUIDIST="$GUIDIST INTL_DIST"
37344 fi
37345 fi
37346
37347 if test "$wxUSE_LOG" = "yes"; then
37348 cat >>confdefs.h <<\_ACEOF
37349 #define wxUSE_LOG 1
37350 _ACEOF
37351
37352
37353 if test "$wxUSE_LOGGUI" = "yes"; then
37354 cat >>confdefs.h <<\_ACEOF
37355 #define wxUSE_LOGGUI 1
37356 _ACEOF
37357
37358 fi
37359
37360 if test "$wxUSE_LOGWINDOW" = "yes"; then
37361 cat >>confdefs.h <<\_ACEOF
37362 #define wxUSE_LOGWINDOW 1
37363 _ACEOF
37364
37365 fi
37366
37367 if test "$wxUSE_LOGDIALOG" = "yes"; then
37368 cat >>confdefs.h <<\_ACEOF
37369 #define wxUSE_LOG_DIALOG 1
37370 _ACEOF
37371
37372 fi
37373
37374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37375 fi
37376
37377 if test "$wxUSE_LONGLONG" = "yes"; then
37378 cat >>confdefs.h <<\_ACEOF
37379 #define wxUSE_LONGLONG 1
37380 _ACEOF
37381
37382 fi
37383
37384 if test "$wxUSE_GEOMETRY" = "yes"; then
37385 cat >>confdefs.h <<\_ACEOF
37386 #define wxUSE_GEOMETRY 1
37387 _ACEOF
37388
37389 fi
37390
37391 if test "$wxUSE_STREAMS" = "yes" ; then
37392 cat >>confdefs.h <<\_ACEOF
37393 #define wxUSE_STREAMS 1
37394 _ACEOF
37395
37396 fi
37397
37398
37399 if test "$wxUSE_DATETIME" = "yes"; then
37400
37401 for ac_func in strptime
37402 do
37403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37404 echo "$as_me:$LINENO: checking for $ac_func" >&5
37405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37406 if eval "test \"\${$as_ac_var+set}\" = set"; then
37407 echo $ECHO_N "(cached) $ECHO_C" >&6
37408 else
37409 cat >conftest.$ac_ext <<_ACEOF
37410 /* confdefs.h. */
37411 _ACEOF
37412 cat confdefs.h >>conftest.$ac_ext
37413 cat >>conftest.$ac_ext <<_ACEOF
37414 /* end confdefs.h. */
37415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37417 #define $ac_func innocuous_$ac_func
37418
37419 /* System header to define __stub macros and hopefully few prototypes,
37420 which can conflict with char $ac_func (); below.
37421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37422 <limits.h> exists even on freestanding compilers. */
37423
37424 #ifdef __STDC__
37425 # include <limits.h>
37426 #else
37427 # include <assert.h>
37428 #endif
37429
37430 #undef $ac_func
37431
37432 /* Override any gcc2 internal prototype to avoid an error. */
37433 #ifdef __cplusplus
37434 extern "C"
37435 {
37436 #endif
37437 /* We use char because int might match the return type of a gcc2
37438 builtin and then its argument prototype would still apply. */
37439 char $ac_func ();
37440 /* The GNU C library defines this for functions which it implements
37441 to always fail with ENOSYS. Some functions are actually named
37442 something starting with __ and the normal name is an alias. */
37443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37444 choke me
37445 #else
37446 char (*f) () = $ac_func;
37447 #endif
37448 #ifdef __cplusplus
37449 }
37450 #endif
37451
37452 int
37453 main ()
37454 {
37455 return f != $ac_func;
37456 ;
37457 return 0;
37458 }
37459 _ACEOF
37460 rm -f conftest.$ac_objext conftest$ac_exeext
37461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37462 (eval $ac_link) 2>conftest.er1
37463 ac_status=$?
37464 grep -v '^ *+' conftest.er1 >conftest.err
37465 rm -f conftest.er1
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } &&
37469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471 (eval $ac_try) 2>&5
37472 ac_status=$?
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; } &&
37475 { ac_try='test -s conftest$ac_exeext'
37476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477 (eval $ac_try) 2>&5
37478 ac_status=$?
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); }; }; then
37481 eval "$as_ac_var=yes"
37482 else
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37485
37486 eval "$as_ac_var=no"
37487 fi
37488 rm -f conftest.err conftest.$ac_objext \
37489 conftest$ac_exeext conftest.$ac_ext
37490 fi
37491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37493 if test `eval echo '${'$as_ac_var'}'` = yes; then
37494 cat >>confdefs.h <<_ACEOF
37495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37496 _ACEOF
37497
37498 fi
37499 done
37500
37501
37502 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37503 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37504 if test "${wx_cv_var_timezone+set}" = set; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37506 else
37507
37508 cat >conftest.$ac_ext <<_ACEOF
37509 /* confdefs.h. */
37510 _ACEOF
37511 cat confdefs.h >>conftest.$ac_ext
37512 cat >>conftest.$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37514
37515 #include <time.h>
37516
37517 int
37518 main ()
37519 {
37520
37521 int tz;
37522 tz = timezone;
37523
37524 ;
37525 return 0;
37526 }
37527 _ACEOF
37528 rm -f conftest.$ac_objext
37529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37530 (eval $ac_compile) 2>conftest.er1
37531 ac_status=$?
37532 grep -v '^ *+' conftest.er1 >conftest.err
37533 rm -f conftest.er1
37534 cat conftest.err >&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } &&
37537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37539 (eval $ac_try) 2>&5
37540 ac_status=$?
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); }; } &&
37543 { ac_try='test -s conftest.$ac_objext'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37546 ac_status=$?
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; }; then
37549
37550 wx_cv_var_timezone=timezone
37551
37552 else
37553 echo "$as_me: failed program was:" >&5
37554 sed 's/^/| /' conftest.$ac_ext >&5
37555
37556
37557 cat >conftest.$ac_ext <<_ACEOF
37558 /* confdefs.h. */
37559 _ACEOF
37560 cat confdefs.h >>conftest.$ac_ext
37561 cat >>conftest.$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37563
37564 #include <time.h>
37565
37566 int
37567 main ()
37568 {
37569
37570 int tz;
37571 tz = _timezone;
37572
37573 ;
37574 return 0;
37575 }
37576 _ACEOF
37577 rm -f conftest.$ac_objext
37578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37579 (eval $ac_compile) 2>conftest.er1
37580 ac_status=$?
37581 grep -v '^ *+' conftest.er1 >conftest.err
37582 rm -f conftest.er1
37583 cat conftest.err >&5
37584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37585 (exit $ac_status); } &&
37586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37588 (eval $ac_try) 2>&5
37589 ac_status=$?
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); }; } &&
37592 { ac_try='test -s conftest.$ac_objext'
37593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37594 (eval $ac_try) 2>&5
37595 ac_status=$?
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); }; }; then
37598
37599 wx_cv_var_timezone=_timezone
37600
37601 else
37602 echo "$as_me: failed program was:" >&5
37603 sed 's/^/| /' conftest.$ac_ext >&5
37604
37605
37606 cat >conftest.$ac_ext <<_ACEOF
37607 /* confdefs.h. */
37608 _ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612
37613 #include <time.h>
37614
37615 int
37616 main ()
37617 {
37618
37619 int tz;
37620 tz = __timezone;
37621
37622 ;
37623 return 0;
37624 }
37625 _ACEOF
37626 rm -f conftest.$ac_objext
37627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37628 (eval $ac_compile) 2>conftest.er1
37629 ac_status=$?
37630 grep -v '^ *+' conftest.er1 >conftest.err
37631 rm -f conftest.er1
37632 cat conftest.err >&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } &&
37635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37637 (eval $ac_try) 2>&5
37638 ac_status=$?
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); }; } &&
37641 { ac_try='test -s conftest.$ac_objext'
37642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37643 (eval $ac_try) 2>&5
37644 ac_status=$?
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); }; }; then
37647
37648 wx_cv_var_timezone=__timezone
37649
37650 else
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.$ac_ext >&5
37653
37654
37655 if test "$USE_DOS" = 0 ; then
37656 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37657 echo "$as_me: WARNING: no timezone variable" >&2;}
37658 fi
37659
37660
37661 fi
37662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37663
37664
37665 fi
37666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37667
37668
37669 fi
37670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37671
37672
37673 fi
37674 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37675 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37676
37677 if test "x$wx_cv_var_timezone" != x ; then
37678 cat >>confdefs.h <<_ACEOF
37679 #define WX_TIMEZONE $wx_cv_var_timezone
37680 _ACEOF
37681
37682 fi
37683
37684
37685 for ac_func in localtime
37686 do
37687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37688 echo "$as_me:$LINENO: checking for $ac_func" >&5
37689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37690 if eval "test \"\${$as_ac_var+set}\" = set"; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 else
37693 cat >conftest.$ac_ext <<_ACEOF
37694 /* confdefs.h. */
37695 _ACEOF
37696 cat confdefs.h >>conftest.$ac_ext
37697 cat >>conftest.$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37701 #define $ac_func innocuous_$ac_func
37702
37703 /* System header to define __stub macros and hopefully few prototypes,
37704 which can conflict with char $ac_func (); below.
37705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37706 <limits.h> exists even on freestanding compilers. */
37707
37708 #ifdef __STDC__
37709 # include <limits.h>
37710 #else
37711 # include <assert.h>
37712 #endif
37713
37714 #undef $ac_func
37715
37716 /* Override any gcc2 internal prototype to avoid an error. */
37717 #ifdef __cplusplus
37718 extern "C"
37719 {
37720 #endif
37721 /* We use char because int might match the return type of a gcc2
37722 builtin and then its argument prototype would still apply. */
37723 char $ac_func ();
37724 /* The GNU C library defines this for functions which it implements
37725 to always fail with ENOSYS. Some functions are actually named
37726 something starting with __ and the normal name is an alias. */
37727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37728 choke me
37729 #else
37730 char (*f) () = $ac_func;
37731 #endif
37732 #ifdef __cplusplus
37733 }
37734 #endif
37735
37736 int
37737 main ()
37738 {
37739 return f != $ac_func;
37740 ;
37741 return 0;
37742 }
37743 _ACEOF
37744 rm -f conftest.$ac_objext conftest$ac_exeext
37745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37746 (eval $ac_link) 2>conftest.er1
37747 ac_status=$?
37748 grep -v '^ *+' conftest.er1 >conftest.err
37749 rm -f conftest.er1
37750 cat conftest.err >&5
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); } &&
37753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37756 ac_status=$?
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; } &&
37759 { ac_try='test -s conftest$ac_exeext'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37762 ac_status=$?
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; }; then
37765 eval "$as_ac_var=yes"
37766 else
37767 echo "$as_me: failed program was:" >&5
37768 sed 's/^/| /' conftest.$ac_ext >&5
37769
37770 eval "$as_ac_var=no"
37771 fi
37772 rm -f conftest.err conftest.$ac_objext \
37773 conftest$ac_exeext conftest.$ac_ext
37774 fi
37775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37777 if test `eval echo '${'$as_ac_var'}'` = yes; then
37778 cat >>confdefs.h <<_ACEOF
37779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37780 _ACEOF
37781
37782 fi
37783 done
37784
37785
37786 if test "$ac_cv_func_localtime" = "yes"; then
37787 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37788 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37789 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37790 echo $ECHO_N "(cached) $ECHO_C" >&6
37791 else
37792
37793 cat >conftest.$ac_ext <<_ACEOF
37794 /* confdefs.h. */
37795 _ACEOF
37796 cat confdefs.h >>conftest.$ac_ext
37797 cat >>conftest.$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37799
37800 #include <time.h>
37801
37802 int
37803 main ()
37804 {
37805
37806 struct tm tm;
37807 tm.tm_gmtoff++;
37808
37809 ;
37810 return 0;
37811 }
37812 _ACEOF
37813 rm -f conftest.$ac_objext
37814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37815 (eval $ac_compile) 2>conftest.er1
37816 ac_status=$?
37817 grep -v '^ *+' conftest.er1 >conftest.err
37818 rm -f conftest.er1
37819 cat conftest.err >&5
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); } &&
37822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37824 (eval $ac_try) 2>&5
37825 ac_status=$?
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); }; } &&
37828 { ac_try='test -s conftest.$ac_objext'
37829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37830 (eval $ac_try) 2>&5
37831 ac_status=$?
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); }; }; then
37834
37835 wx_cv_struct_tm_has_gmtoff=yes
37836
37837 else
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37840
37841 wx_cv_struct_tm_has_gmtoff=no
37842
37843 fi
37844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37845
37846 fi
37847 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37848 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37849 fi
37850
37851 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37852 cat >>confdefs.h <<\_ACEOF
37853 #define WX_GMTOFF_IN_TM 1
37854 _ACEOF
37855
37856 fi
37857
37858
37859
37860 for ac_func in gettimeofday ftime
37861 do
37862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37863 echo "$as_me:$LINENO: checking for $ac_func" >&5
37864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37865 if eval "test \"\${$as_ac_var+set}\" = set"; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 else
37868 cat >conftest.$ac_ext <<_ACEOF
37869 /* confdefs.h. */
37870 _ACEOF
37871 cat confdefs.h >>conftest.$ac_ext
37872 cat >>conftest.$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37876 #define $ac_func innocuous_$ac_func
37877
37878 /* System header to define __stub macros and hopefully few prototypes,
37879 which can conflict with char $ac_func (); below.
37880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37881 <limits.h> exists even on freestanding compilers. */
37882
37883 #ifdef __STDC__
37884 # include <limits.h>
37885 #else
37886 # include <assert.h>
37887 #endif
37888
37889 #undef $ac_func
37890
37891 /* Override any gcc2 internal prototype to avoid an error. */
37892 #ifdef __cplusplus
37893 extern "C"
37894 {
37895 #endif
37896 /* We use char because int might match the return type of a gcc2
37897 builtin and then its argument prototype would still apply. */
37898 char $ac_func ();
37899 /* The GNU C library defines this for functions which it implements
37900 to always fail with ENOSYS. Some functions are actually named
37901 something starting with __ and the normal name is an alias. */
37902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37903 choke me
37904 #else
37905 char (*f) () = $ac_func;
37906 #endif
37907 #ifdef __cplusplus
37908 }
37909 #endif
37910
37911 int
37912 main ()
37913 {
37914 return f != $ac_func;
37915 ;
37916 return 0;
37917 }
37918 _ACEOF
37919 rm -f conftest.$ac_objext conftest$ac_exeext
37920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37921 (eval $ac_link) 2>conftest.er1
37922 ac_status=$?
37923 grep -v '^ *+' conftest.er1 >conftest.err
37924 rm -f conftest.er1
37925 cat conftest.err >&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } &&
37928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930 (eval $ac_try) 2>&5
37931 ac_status=$?
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); }; } &&
37934 { ac_try='test -s conftest$ac_exeext'
37935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37936 (eval $ac_try) 2>&5
37937 ac_status=$?
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); }; }; then
37940 eval "$as_ac_var=yes"
37941 else
37942 echo "$as_me: failed program was:" >&5
37943 sed 's/^/| /' conftest.$ac_ext >&5
37944
37945 eval "$as_ac_var=no"
37946 fi
37947 rm -f conftest.err conftest.$ac_objext \
37948 conftest$ac_exeext conftest.$ac_ext
37949 fi
37950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37952 if test `eval echo '${'$as_ac_var'}'` = yes; then
37953 cat >>confdefs.h <<_ACEOF
37954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37955 _ACEOF
37956 break
37957 fi
37958 done
37959
37960
37961 if test "$ac_cv_func_gettimeofday" = "yes"; then
37962 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37963 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37964 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37965 echo $ECHO_N "(cached) $ECHO_C" >&6
37966 else
37967
37968
37969
37970 ac_ext=cc
37971 ac_cpp='$CXXCPP $CPPFLAGS'
37972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37975
37976
37977 cat >conftest.$ac_ext <<_ACEOF
37978 /* confdefs.h. */
37979 _ACEOF
37980 cat confdefs.h >>conftest.$ac_ext
37981 cat >>conftest.$ac_ext <<_ACEOF
37982 /* end confdefs.h. */
37983
37984 #include <sys/time.h>
37985 #include <unistd.h>
37986
37987 int
37988 main ()
37989 {
37990
37991 struct timeval tv;
37992 gettimeofday(&tv, NULL);
37993
37994 ;
37995 return 0;
37996 }
37997 _ACEOF
37998 rm -f conftest.$ac_objext
37999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38000 (eval $ac_compile) 2>conftest.er1
38001 ac_status=$?
38002 grep -v '^ *+' conftest.er1 >conftest.err
38003 rm -f conftest.er1
38004 cat conftest.err >&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); } &&
38007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38009 (eval $ac_try) 2>&5
38010 ac_status=$?
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); }; } &&
38013 { ac_try='test -s conftest.$ac_objext'
38014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38015 (eval $ac_try) 2>&5
38016 ac_status=$?
38017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38018 (exit $ac_status); }; }; then
38019 wx_cv_func_gettimeofday_has_2_args=yes
38020 else
38021 echo "$as_me: failed program was:" >&5
38022 sed 's/^/| /' conftest.$ac_ext >&5
38023
38024 cat >conftest.$ac_ext <<_ACEOF
38025 /* confdefs.h. */
38026 _ACEOF
38027 cat confdefs.h >>conftest.$ac_ext
38028 cat >>conftest.$ac_ext <<_ACEOF
38029 /* end confdefs.h. */
38030
38031 #include <sys/time.h>
38032 #include <unistd.h>
38033
38034 int
38035 main ()
38036 {
38037
38038 struct timeval tv;
38039 gettimeofday(&tv);
38040
38041 ;
38042 return 0;
38043 }
38044 _ACEOF
38045 rm -f conftest.$ac_objext
38046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38047 (eval $ac_compile) 2>conftest.er1
38048 ac_status=$?
38049 grep -v '^ *+' conftest.er1 >conftest.err
38050 rm -f conftest.er1
38051 cat conftest.err >&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } &&
38054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38057 ac_status=$?
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; } &&
38060 { ac_try='test -s conftest.$ac_objext'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38063 ac_status=$?
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 wx_cv_func_gettimeofday_has_2_args=no
38067 else
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38070
38071
38072 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38073 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38074 wx_cv_func_gettimeofday_has_2_args=unknown
38075
38076
38077 fi
38078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38079
38080 fi
38081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38082 ac_ext=c
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38087
38088
38089 fi
38090 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38091 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38092
38093 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38094 cat >>confdefs.h <<\_ACEOF
38095 #define WX_GETTIMEOFDAY_NO_TZ 1
38096 _ACEOF
38097
38098 fi
38099 fi
38100
38101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38102 fi
38103
38104
38105 if test "$wxUSE_SOCKETS" = "yes"; then
38106 if test "$wxUSE_MGL" = "1"; then
38107 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38108 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38109 wxUSE_SOCKETS="no"
38110 fi
38111 fi
38112
38113 if test "$wxUSE_SOCKETS" = "yes"; then
38114 if test "$TOOLKIT" != "MSW"; then
38115 echo "$as_me:$LINENO: checking for socket" >&5
38116 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38117 if test "${ac_cv_func_socket+set}" = set; then
38118 echo $ECHO_N "(cached) $ECHO_C" >&6
38119 else
38120 cat >conftest.$ac_ext <<_ACEOF
38121 /* confdefs.h. */
38122 _ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38126 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38128 #define socket innocuous_socket
38129
38130 /* System header to define __stub macros and hopefully few prototypes,
38131 which can conflict with char socket (); below.
38132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38133 <limits.h> exists even on freestanding compilers. */
38134
38135 #ifdef __STDC__
38136 # include <limits.h>
38137 #else
38138 # include <assert.h>
38139 #endif
38140
38141 #undef socket
38142
38143 /* Override any gcc2 internal prototype to avoid an error. */
38144 #ifdef __cplusplus
38145 extern "C"
38146 {
38147 #endif
38148 /* We use char because int might match the return type of a gcc2
38149 builtin and then its argument prototype would still apply. */
38150 char socket ();
38151 /* The GNU C library defines this for functions which it implements
38152 to always fail with ENOSYS. Some functions are actually named
38153 something starting with __ and the normal name is an alias. */
38154 #if defined (__stub_socket) || defined (__stub___socket)
38155 choke me
38156 #else
38157 char (*f) () = socket;
38158 #endif
38159 #ifdef __cplusplus
38160 }
38161 #endif
38162
38163 int
38164 main ()
38165 {
38166 return f != socket;
38167 ;
38168 return 0;
38169 }
38170 _ACEOF
38171 rm -f conftest.$ac_objext conftest$ac_exeext
38172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38173 (eval $ac_link) 2>conftest.er1
38174 ac_status=$?
38175 grep -v '^ *+' conftest.er1 >conftest.err
38176 rm -f conftest.er1
38177 cat conftest.err >&5
38178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38179 (exit $ac_status); } &&
38180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38182 (eval $ac_try) 2>&5
38183 ac_status=$?
38184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38185 (exit $ac_status); }; } &&
38186 { ac_try='test -s conftest$ac_exeext'
38187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38188 (eval $ac_try) 2>&5
38189 ac_status=$?
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); }; }; then
38192 ac_cv_func_socket=yes
38193 else
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38196
38197 ac_cv_func_socket=no
38198 fi
38199 rm -f conftest.err conftest.$ac_objext \
38200 conftest$ac_exeext conftest.$ac_ext
38201 fi
38202 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38203 echo "${ECHO_T}$ac_cv_func_socket" >&6
38204 if test $ac_cv_func_socket = yes; then
38205 :
38206 else
38207
38208 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38209 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38210 if test "${ac_cv_lib_socket_socket+set}" = set; then
38211 echo $ECHO_N "(cached) $ECHO_C" >&6
38212 else
38213 ac_check_lib_save_LIBS=$LIBS
38214 LIBS="-lsocket $LIBS"
38215 cat >conftest.$ac_ext <<_ACEOF
38216 /* confdefs.h. */
38217 _ACEOF
38218 cat confdefs.h >>conftest.$ac_ext
38219 cat >>conftest.$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38221
38222 /* Override any gcc2 internal prototype to avoid an error. */
38223 #ifdef __cplusplus
38224 extern "C"
38225 #endif
38226 /* We use char because int might match the return type of a gcc2
38227 builtin and then its argument prototype would still apply. */
38228 char socket ();
38229 int
38230 main ()
38231 {
38232 socket ();
38233 ;
38234 return 0;
38235 }
38236 _ACEOF
38237 rm -f conftest.$ac_objext conftest$ac_exeext
38238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38239 (eval $ac_link) 2>conftest.er1
38240 ac_status=$?
38241 grep -v '^ *+' conftest.er1 >conftest.err
38242 rm -f conftest.er1
38243 cat conftest.err >&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); } &&
38246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248 (eval $ac_try) 2>&5
38249 ac_status=$?
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); }; } &&
38252 { ac_try='test -s conftest$ac_exeext'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38255 ac_status=$?
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; }; then
38258 ac_cv_lib_socket_socket=yes
38259 else
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38262
38263 ac_cv_lib_socket_socket=no
38264 fi
38265 rm -f conftest.err conftest.$ac_objext \
38266 conftest$ac_exeext conftest.$ac_ext
38267 LIBS=$ac_check_lib_save_LIBS
38268 fi
38269 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38270 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38271 if test $ac_cv_lib_socket_socket = yes; then
38272 if test "$INET_LINK" != " -lsocket"; then
38273 INET_LINK="$INET_LINK -lsocket"
38274 fi
38275 else
38276
38277 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38278 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38279 wxUSE_SOCKETS=no
38280
38281
38282 fi
38283
38284
38285
38286 fi
38287
38288 fi
38289 fi
38290
38291 if test "$wxUSE_SOCKETS" = "yes" ; then
38292 if test "$TOOLKIT" != "MSW"; then
38293 ac_ext=cc
38294 ac_cpp='$CXXCPP $CPPFLAGS'
38295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38298
38299 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38300 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38301 if test "${wx_cv_type_getsockname3+set}" = set; then
38302 echo $ECHO_N "(cached) $ECHO_C" >&6
38303 else
38304
38305 cat >conftest.$ac_ext <<_ACEOF
38306 /* confdefs.h. */
38307 _ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38311
38312 #include <sys/types.h>
38313 #include <sys/socket.h>
38314
38315 int
38316 main ()
38317 {
38318
38319 socklen_t len;
38320 getsockname(0, 0, &len);
38321
38322 ;
38323 return 0;
38324 }
38325 _ACEOF
38326 rm -f conftest.$ac_objext
38327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38328 (eval $ac_compile) 2>conftest.er1
38329 ac_status=$?
38330 grep -v '^ *+' conftest.er1 >conftest.err
38331 rm -f conftest.er1
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } &&
38335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337 (eval $ac_try) 2>&5
38338 ac_status=$?
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; } &&
38341 { ac_try='test -s conftest.$ac_objext'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38344 ac_status=$?
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; }; then
38347 wx_cv_type_getsockname3=socklen_t
38348 else
38349 echo "$as_me: failed program was:" >&5
38350 sed 's/^/| /' conftest.$ac_ext >&5
38351
38352
38353 CFLAGS_OLD="$CFLAGS"
38354 if test "$GCC" = yes ; then
38355 CFLAGS="$CFLAGS -Werror"
38356 fi
38357
38358 cat >conftest.$ac_ext <<_ACEOF
38359 /* confdefs.h. */
38360 _ACEOF
38361 cat confdefs.h >>conftest.$ac_ext
38362 cat >>conftest.$ac_ext <<_ACEOF
38363 /* end confdefs.h. */
38364
38365 #include <sys/types.h>
38366 #include <sys/socket.h>
38367
38368 int
38369 main ()
38370 {
38371
38372 size_t len;
38373 getsockname(0, 0, &len);
38374
38375 ;
38376 return 0;
38377 }
38378 _ACEOF
38379 rm -f conftest.$ac_objext
38380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38381 (eval $ac_compile) 2>conftest.er1
38382 ac_status=$?
38383 grep -v '^ *+' conftest.er1 >conftest.err
38384 rm -f conftest.er1
38385 cat conftest.err >&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); } &&
38388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38391 ac_status=$?
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; } &&
38394 { ac_try='test -s conftest.$ac_objext'
38395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 (eval $ac_try) 2>&5
38397 ac_status=$?
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); }; }; then
38400 wx_cv_type_getsockname3=size_t
38401 else
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.$ac_ext >&5
38404
38405 cat >conftest.$ac_ext <<_ACEOF
38406 /* confdefs.h. */
38407 _ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38411
38412 #include <sys/types.h>
38413 #include <sys/socket.h>
38414
38415 int
38416 main ()
38417 {
38418
38419 int len;
38420 getsockname(0, 0, &len);
38421
38422 ;
38423 return 0;
38424 }
38425 _ACEOF
38426 rm -f conftest.$ac_objext
38427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38428 (eval $ac_compile) 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } &&
38435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38437 (eval $ac_try) 2>&5
38438 ac_status=$?
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); }; } &&
38441 { ac_try='test -s conftest.$ac_objext'
38442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38443 (eval $ac_try) 2>&5
38444 ac_status=$?
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); }; }; then
38447 wx_cv_type_getsockname3=int
38448 else
38449 echo "$as_me: failed program was:" >&5
38450 sed 's/^/| /' conftest.$ac_ext >&5
38451
38452 wx_cv_type_getsockname3=unknown
38453
38454 fi
38455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38456
38457 fi
38458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38459
38460 CFLAGS="$CFLAGS_OLD"
38461
38462
38463 fi
38464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38465
38466 fi
38467 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38468 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38469
38470 if test "$wx_cv_type_getsockname3" = "unknown"; then
38471 wxUSE_SOCKETS=no
38472 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38473 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38474 else
38475 cat >>confdefs.h <<_ACEOF
38476 #define SOCKLEN_T $wx_cv_type_getsockname3
38477 _ACEOF
38478
38479 fi
38480 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38481 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38482 if test "${wx_cv_type_getsockopt5+set}" = set; then
38483 echo $ECHO_N "(cached) $ECHO_C" >&6
38484 else
38485
38486 cat >conftest.$ac_ext <<_ACEOF
38487 /* confdefs.h. */
38488 _ACEOF
38489 cat confdefs.h >>conftest.$ac_ext
38490 cat >>conftest.$ac_ext <<_ACEOF
38491 /* end confdefs.h. */
38492
38493 #include <sys/types.h>
38494 #include <sys/socket.h>
38495
38496 int
38497 main ()
38498 {
38499
38500 socklen_t len;
38501 getsockopt(0, 0, 0, 0, &len);
38502
38503 ;
38504 return 0;
38505 }
38506 _ACEOF
38507 rm -f conftest.$ac_objext
38508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38509 (eval $ac_compile) 2>conftest.er1
38510 ac_status=$?
38511 grep -v '^ *+' conftest.er1 >conftest.err
38512 rm -f conftest.er1
38513 cat conftest.err >&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); } &&
38516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38519 ac_status=$?
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; } &&
38522 { ac_try='test -s conftest.$ac_objext'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38525 ac_status=$?
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; }; then
38528 wx_cv_type_getsockopt5=socklen_t
38529 else
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38532
38533
38534 CFLAGS_OLD="$CFLAGS"
38535 if test "$GCC" = yes ; then
38536 CFLAGS="$CFLAGS -Werror"
38537 fi
38538
38539 cat >conftest.$ac_ext <<_ACEOF
38540 /* confdefs.h. */
38541 _ACEOF
38542 cat confdefs.h >>conftest.$ac_ext
38543 cat >>conftest.$ac_ext <<_ACEOF
38544 /* end confdefs.h. */
38545
38546 #include <sys/types.h>
38547 #include <sys/socket.h>
38548
38549 int
38550 main ()
38551 {
38552
38553 size_t len;
38554 getsockopt(0, 0, 0, 0, &len);
38555
38556 ;
38557 return 0;
38558 }
38559 _ACEOF
38560 rm -f conftest.$ac_objext
38561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38562 (eval $ac_compile) 2>conftest.er1
38563 ac_status=$?
38564 grep -v '^ *+' conftest.er1 >conftest.err
38565 rm -f conftest.er1
38566 cat conftest.err >&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); } &&
38569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38571 (eval $ac_try) 2>&5
38572 ac_status=$?
38573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574 (exit $ac_status); }; } &&
38575 { ac_try='test -s conftest.$ac_objext'
38576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38577 (eval $ac_try) 2>&5
38578 ac_status=$?
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); }; }; then
38581 wx_cv_type_getsockopt5=size_t
38582 else
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38585
38586 cat >conftest.$ac_ext <<_ACEOF
38587 /* confdefs.h. */
38588 _ACEOF
38589 cat confdefs.h >>conftest.$ac_ext
38590 cat >>conftest.$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38592
38593 #include <sys/types.h>
38594 #include <sys/socket.h>
38595
38596 int
38597 main ()
38598 {
38599
38600 int len;
38601 getsockopt(0, 0, 0, 0, &len);
38602
38603 ;
38604 return 0;
38605 }
38606 _ACEOF
38607 rm -f conftest.$ac_objext
38608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38609 (eval $ac_compile) 2>conftest.er1
38610 ac_status=$?
38611 grep -v '^ *+' conftest.er1 >conftest.err
38612 rm -f conftest.er1
38613 cat conftest.err >&5
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); } &&
38616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38618 (eval $ac_try) 2>&5
38619 ac_status=$?
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); }; } &&
38622 { ac_try='test -s conftest.$ac_objext'
38623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38624 (eval $ac_try) 2>&5
38625 ac_status=$?
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); }; }; then
38628 wx_cv_type_getsockopt5=int
38629 else
38630 echo "$as_me: failed program was:" >&5
38631 sed 's/^/| /' conftest.$ac_ext >&5
38632
38633 wx_cv_type_getsockopt5=unknown
38634
38635 fi
38636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38637
38638 fi
38639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38640
38641 CFLAGS="$CFLAGS_OLD"
38642
38643
38644 fi
38645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38646
38647 fi
38648 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38649 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38650
38651 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38652 wxUSE_SOCKETS=no
38653 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38654 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38655 else
38656 cat >>confdefs.h <<_ACEOF
38657 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38658 _ACEOF
38659
38660 fi
38661 ac_ext=c
38662 ac_cpp='$CPP $CPPFLAGS'
38663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38666
38667 fi
38668 fi
38669
38670 if test "$wxUSE_SOCKETS" = "yes" ; then
38671 cat >>confdefs.h <<\_ACEOF
38672 #define wxUSE_SOCKETS 1
38673 _ACEOF
38674
38675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38676 fi
38677
38678 if test "$wxUSE_PROTOCOL" = "yes"; then
38679 if test "$wxUSE_SOCKETS" != "yes"; then
38680 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38681 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38682 wxUSE_PROTOCOL=no
38683 fi
38684 fi
38685
38686 if test "$wxUSE_PROTOCOL" = "yes"; then
38687 cat >>confdefs.h <<\_ACEOF
38688 #define wxUSE_PROTOCOL 1
38689 _ACEOF
38690
38691
38692 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38693 cat >>confdefs.h <<\_ACEOF
38694 #define wxUSE_PROTOCOL_HTTP 1
38695 _ACEOF
38696
38697 fi
38698 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38699 cat >>confdefs.h <<\_ACEOF
38700 #define wxUSE_PROTOCOL_FTP 1
38701 _ACEOF
38702
38703 fi
38704 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38705 cat >>confdefs.h <<\_ACEOF
38706 #define wxUSE_PROTOCOL_FILE 1
38707 _ACEOF
38708
38709 fi
38710 else
38711 if test "$wxUSE_FS_INET" = "yes"; then
38712 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38713 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38714 wxUSE_FS_INET="no"
38715 fi
38716 fi
38717
38718 if test "$wxUSE_URL" = "yes"; then
38719 if test "$wxUSE_PROTOCOL" != "yes"; then
38720 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38721 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38722 wxUSE_URL=no
38723 fi
38724 if test "$wxUSE_URL" = "yes"; then
38725 cat >>confdefs.h <<\_ACEOF
38726 #define wxUSE_URL 1
38727 _ACEOF
38728
38729 fi
38730 fi
38731
38732 if test "$wxUSE_FS_INET" = "yes"; then
38733 cat >>confdefs.h <<\_ACEOF
38734 #define wxUSE_FS_INET 1
38735 _ACEOF
38736
38737 fi
38738
38739
38740 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
38741 wxUSE_JOYSTICK=no
38742
38743 if test "$TOOLKIT" = "MSW"; then
38744 wxUSE_JOYSTICK=yes
38745
38746 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
38747 if test "$USE_DARWIN" = 1; then
38748 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
38749 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
38750 ac_ext=cc
38751 ac_cpp='$CXXCPP $CPPFLAGS'
38752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38755
38756 cat >conftest.$ac_ext <<_ACEOF
38757 /* confdefs.h. */
38758 _ACEOF
38759 cat confdefs.h >>conftest.$ac_ext
38760 cat >>conftest.$ac_ext <<_ACEOF
38761 /* end confdefs.h. */
38762 #include <IOKit/hid/IOHIDLib.h>
38763 int
38764 main ()
38765 {
38766 IOHIDQueueInterface *qi = NULL;
38767 IOHIDCallbackFunction cb = NULL;
38768 qi->setEventCallout(NULL, cb, NULL, NULL);
38769 ;
38770 return 0;
38771 }
38772 _ACEOF
38773 rm -f conftest.$ac_objext
38774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38775 (eval $ac_compile) 2>conftest.er1
38776 ac_status=$?
38777 grep -v '^ *+' conftest.er1 >conftest.err
38778 rm -f conftest.er1
38779 cat conftest.err >&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } &&
38782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38784 (eval $ac_try) 2>&5
38785 ac_status=$?
38786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38787 (exit $ac_status); }; } &&
38788 { ac_try='test -s conftest.$ac_objext'
38789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38790 (eval $ac_try) 2>&5
38791 ac_status=$?
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); }; }; then
38794 wxUSE_JOYSTICK=yes
38795
38796 else
38797 echo "$as_me: failed program was:" >&5
38798 sed 's/^/| /' conftest.$ac_ext >&5
38799
38800 fi
38801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38802 ac_ext=c
38803 ac_cpp='$CPP $CPPFLAGS'
38804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38807
38808 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
38809 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
38810 fi
38811
38812 else
38813
38814 for ac_header in linux/joystick.h
38815 do
38816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38818 echo "$as_me:$LINENO: checking for $ac_header" >&5
38819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38821 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 fi
38823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38825 else
38826 # Is the header compilable?
38827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38829 cat >conftest.$ac_ext <<_ACEOF
38830 /* confdefs.h. */
38831 _ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 $ac_includes_default
38836 #include <$ac_header>
38837 _ACEOF
38838 rm -f conftest.$ac_objext
38839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38840 (eval $ac_compile) 2>conftest.er1
38841 ac_status=$?
38842 grep -v '^ *+' conftest.er1 >conftest.err
38843 rm -f conftest.er1
38844 cat conftest.err >&5
38845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38846 (exit $ac_status); } &&
38847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38849 (eval $ac_try) 2>&5
38850 ac_status=$?
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); }; } &&
38853 { ac_try='test -s conftest.$ac_objext'
38854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38855 (eval $ac_try) 2>&5
38856 ac_status=$?
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); }; }; then
38859 ac_header_compiler=yes
38860 else
38861 echo "$as_me: failed program was:" >&5
38862 sed 's/^/| /' conftest.$ac_ext >&5
38863
38864 ac_header_compiler=no
38865 fi
38866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38868 echo "${ECHO_T}$ac_header_compiler" >&6
38869
38870 # Is the header present?
38871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38873 cat >conftest.$ac_ext <<_ACEOF
38874 /* confdefs.h. */
38875 _ACEOF
38876 cat confdefs.h >>conftest.$ac_ext
38877 cat >>conftest.$ac_ext <<_ACEOF
38878 /* end confdefs.h. */
38879 #include <$ac_header>
38880 _ACEOF
38881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38883 ac_status=$?
38884 grep -v '^ *+' conftest.er1 >conftest.err
38885 rm -f conftest.er1
38886 cat conftest.err >&5
38887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38888 (exit $ac_status); } >/dev/null; then
38889 if test -s conftest.err; then
38890 ac_cpp_err=$ac_c_preproc_warn_flag
38891 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38892 else
38893 ac_cpp_err=
38894 fi
38895 else
38896 ac_cpp_err=yes
38897 fi
38898 if test -z "$ac_cpp_err"; then
38899 ac_header_preproc=yes
38900 else
38901 echo "$as_me: failed program was:" >&5
38902 sed 's/^/| /' conftest.$ac_ext >&5
38903
38904 ac_header_preproc=no
38905 fi
38906 rm -f conftest.err conftest.$ac_ext
38907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38908 echo "${ECHO_T}$ac_header_preproc" >&6
38909
38910 # So? What about this header?
38911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38912 yes:no: )
38913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38917 ac_header_preproc=yes
38918 ;;
38919 no:yes:* )
38920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38932 (
38933 cat <<\_ASBOX
38934 ## ----------------------------------------- ##
38935 ## Report this to wx-dev@lists.wxwidgets.org ##
38936 ## ----------------------------------------- ##
38937 _ASBOX
38938 ) |
38939 sed "s/^/$as_me: WARNING: /" >&2
38940 ;;
38941 esac
38942 echo "$as_me:$LINENO: checking for $ac_header" >&5
38943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38945 echo $ECHO_N "(cached) $ECHO_C" >&6
38946 else
38947 eval "$as_ac_Header=\$ac_header_preproc"
38948 fi
38949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38951
38952 fi
38953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38954 cat >>confdefs.h <<_ACEOF
38955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38956 _ACEOF
38957 wxUSE_JOYSTICK=yes
38958 fi
38959
38960 done
38961
38962 fi
38963
38964 if test "$wxUSE_JOYSTICK" = "yes"; then
38965 cat >>confdefs.h <<\_ACEOF
38966 #define wxUSE_JOYSTICK 1
38967 _ACEOF
38968
38969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38970 else
38971 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38972 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38973 fi
38974 fi
38975
38976
38977
38978 if test "$wxUSE_FONTMAP" = "yes" ; then
38979 cat >>confdefs.h <<\_ACEOF
38980 #define wxUSE_FONTMAP 1
38981 _ACEOF
38982
38983 fi
38984
38985 if test "$wxUSE_UNICODE" = "yes" ; then
38986 cat >>confdefs.h <<\_ACEOF
38987 #define wxUSE_UNICODE 1
38988 _ACEOF
38989
38990
38991 if test "$USE_WIN32" != 1; then
38992 wxUSE_UNICODE_MSLU=no
38993 fi
38994
38995 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38996 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38997 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38998 if test "${ac_cv_lib_unicows_main+set}" = set; then
38999 echo $ECHO_N "(cached) $ECHO_C" >&6
39000 else
39001 ac_check_lib_save_LIBS=$LIBS
39002 LIBS="-lunicows $LIBS"
39003 cat >conftest.$ac_ext <<_ACEOF
39004 /* confdefs.h. */
39005 _ACEOF
39006 cat confdefs.h >>conftest.$ac_ext
39007 cat >>conftest.$ac_ext <<_ACEOF
39008 /* end confdefs.h. */
39009
39010
39011 int
39012 main ()
39013 {
39014 main ();
39015 ;
39016 return 0;
39017 }
39018 _ACEOF
39019 rm -f conftest.$ac_objext conftest$ac_exeext
39020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39021 (eval $ac_link) 2>conftest.er1
39022 ac_status=$?
39023 grep -v '^ *+' conftest.er1 >conftest.err
39024 rm -f conftest.er1
39025 cat conftest.err >&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); } &&
39028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030 (eval $ac_try) 2>&5
39031 ac_status=$?
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); }; } &&
39034 { ac_try='test -s conftest$ac_exeext'
39035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39036 (eval $ac_try) 2>&5
39037 ac_status=$?
39038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039 (exit $ac_status); }; }; then
39040 ac_cv_lib_unicows_main=yes
39041 else
39042 echo "$as_me: failed program was:" >&5
39043 sed 's/^/| /' conftest.$ac_ext >&5
39044
39045 ac_cv_lib_unicows_main=no
39046 fi
39047 rm -f conftest.err conftest.$ac_objext \
39048 conftest$ac_exeext conftest.$ac_ext
39049 LIBS=$ac_check_lib_save_LIBS
39050 fi
39051 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39052 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39053 if test $ac_cv_lib_unicows_main = yes; then
39054
39055 cat >>confdefs.h <<\_ACEOF
39056 #define wxUSE_UNICODE_MSLU 1
39057 _ACEOF
39058
39059
39060 else
39061
39062 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39063 Applications will only run on Windows NT/2000/XP!" >&5
39064 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39065 Applications will only run on Windows NT/2000/XP!" >&2;}
39066 wxUSE_UNICODE_MSLU=no
39067
39068 fi
39069
39070 fi
39071 fi
39072
39073 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39074 cat >>confdefs.h <<\_ACEOF
39075 #define wxUSE_EXPERIMENTAL_PRINTF 1
39076 _ACEOF
39077
39078 fi
39079
39080
39081 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39082 cat >>confdefs.h <<\_ACEOF
39083 #define wxUSE_POSTSCRIPT 1
39084 _ACEOF
39085
39086 fi
39087
39088 cat >>confdefs.h <<\_ACEOF
39089 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39090 _ACEOF
39091
39092
39093 cat >>confdefs.h <<\_ACEOF
39094 #define wxUSE_NORMALIZED_PS_FONTS 1
39095 _ACEOF
39096
39097
39098
39099 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39100 cat >>confdefs.h <<\_ACEOF
39101 #define wxUSE_CONSTRAINTS 1
39102 _ACEOF
39103
39104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
39105 fi
39106
39107 if test "$wxUSE_MDI" = "yes"; then
39108 cat >>confdefs.h <<\_ACEOF
39109 #define wxUSE_MDI 1
39110 _ACEOF
39111
39112
39113 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39114 cat >>confdefs.h <<\_ACEOF
39115 #define wxUSE_MDI_ARCHITECTURE 1
39116 _ACEOF
39117
39118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39119 fi
39120 fi
39121
39122 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39123 cat >>confdefs.h <<\_ACEOF
39124 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39125 _ACEOF
39126
39127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39128 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39130 fi
39131 fi
39132
39133 if test "$wxUSE_HELP" = "yes"; then
39134 cat >>confdefs.h <<\_ACEOF
39135 #define wxUSE_HELP 1
39136 _ACEOF
39137
39138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39139
39140 if test "$wxUSE_MSW" = 1; then
39141 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39142 cat >>confdefs.h <<\_ACEOF
39143 #define wxUSE_MS_HTML_HELP 1
39144 _ACEOF
39145
39146 fi
39147 fi
39148
39149 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39150 if test "$wxUSE_HTML" = "yes"; then
39151 cat >>confdefs.h <<\_ACEOF
39152 #define wxUSE_WXHTML_HELP 1
39153 _ACEOF
39154
39155 else
39156 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39157 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39158 wxUSE_WXHTML_HELP=no
39159 fi
39160 fi
39161 fi
39162
39163 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39164 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39165 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39166 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39167 else
39168 cat >>confdefs.h <<\_ACEOF
39169 #define wxUSE_PRINTING_ARCHITECTURE 1
39170 _ACEOF
39171
39172 fi
39173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39174 fi
39175
39176 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39177 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39178 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39179 { (exit 1); exit 1; }; }
39180 fi
39181
39182
39183 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39184 -o "$wxUSE_CLIPBOARD" = "yes" \
39185 -o "$wxUSE_OLE" = "yes" \
39186 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39187
39188 for ac_header in ole2.h
39189 do
39190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39192 echo "$as_me:$LINENO: checking for $ac_header" >&5
39193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39195 echo $ECHO_N "(cached) $ECHO_C" >&6
39196 fi
39197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39199 else
39200 # Is the header compilable?
39201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39203 cat >conftest.$ac_ext <<_ACEOF
39204 /* confdefs.h. */
39205 _ACEOF
39206 cat confdefs.h >>conftest.$ac_ext
39207 cat >>conftest.$ac_ext <<_ACEOF
39208 /* end confdefs.h. */
39209 $ac_includes_default
39210 #include <$ac_header>
39211 _ACEOF
39212 rm -f conftest.$ac_objext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39214 (eval $ac_compile) 2>conftest.er1
39215 ac_status=$?
39216 grep -v '^ *+' conftest.er1 >conftest.err
39217 rm -f conftest.er1
39218 cat conftest.err >&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } &&
39221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223 (eval $ac_try) 2>&5
39224 ac_status=$?
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); }; } &&
39227 { ac_try='test -s conftest.$ac_objext'
39228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39229 (eval $ac_try) 2>&5
39230 ac_status=$?
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; }; then
39233 ac_header_compiler=yes
39234 else
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39237
39238 ac_header_compiler=no
39239 fi
39240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39242 echo "${ECHO_T}$ac_header_compiler" >&6
39243
39244 # Is the header present?
39245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39247 cat >conftest.$ac_ext <<_ACEOF
39248 /* confdefs.h. */
39249 _ACEOF
39250 cat confdefs.h >>conftest.$ac_ext
39251 cat >>conftest.$ac_ext <<_ACEOF
39252 /* end confdefs.h. */
39253 #include <$ac_header>
39254 _ACEOF
39255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39257 ac_status=$?
39258 grep -v '^ *+' conftest.er1 >conftest.err
39259 rm -f conftest.er1
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } >/dev/null; then
39263 if test -s conftest.err; then
39264 ac_cpp_err=$ac_c_preproc_warn_flag
39265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39266 else
39267 ac_cpp_err=
39268 fi
39269 else
39270 ac_cpp_err=yes
39271 fi
39272 if test -z "$ac_cpp_err"; then
39273 ac_header_preproc=yes
39274 else
39275 echo "$as_me: failed program was:" >&5
39276 sed 's/^/| /' conftest.$ac_ext >&5
39277
39278 ac_header_preproc=no
39279 fi
39280 rm -f conftest.err conftest.$ac_ext
39281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39282 echo "${ECHO_T}$ac_header_preproc" >&6
39283
39284 # So? What about this header?
39285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39286 yes:no: )
39287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39291 ac_header_preproc=yes
39292 ;;
39293 no:yes:* )
39294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39306 (
39307 cat <<\_ASBOX
39308 ## ----------------------------------------- ##
39309 ## Report this to wx-dev@lists.wxwidgets.org ##
39310 ## ----------------------------------------- ##
39311 _ASBOX
39312 ) |
39313 sed "s/^/$as_me: WARNING: /" >&2
39314 ;;
39315 esac
39316 echo "$as_me:$LINENO: checking for $ac_header" >&5
39317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39319 echo $ECHO_N "(cached) $ECHO_C" >&6
39320 else
39321 eval "$as_ac_Header=\$ac_header_preproc"
39322 fi
39323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39325
39326 fi
39327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39328 cat >>confdefs.h <<_ACEOF
39329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39330 _ACEOF
39331
39332 fi
39333
39334 done
39335
39336
39337 if test "$ac_cv_header_ole2_h" = "yes" ; then
39338 if test "$GCC" = yes ; then
39339
39340
39341 ac_ext=cc
39342 ac_cpp='$CXXCPP $CPPFLAGS'
39343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39346
39347
39348 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39349 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39350 cat >conftest.$ac_ext <<_ACEOF
39351 /* confdefs.h. */
39352 _ACEOF
39353 cat confdefs.h >>conftest.$ac_ext
39354 cat >>conftest.$ac_ext <<_ACEOF
39355 /* end confdefs.h. */
39356 #include <windows.h>
39357 #include <ole2.h>
39358 int
39359 main ()
39360 {
39361
39362 ;
39363 return 0;
39364 }
39365 _ACEOF
39366 rm -f conftest.$ac_objext
39367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39368 (eval $ac_compile) 2>conftest.er1
39369 ac_status=$?
39370 grep -v '^ *+' conftest.er1 >conftest.err
39371 rm -f conftest.er1
39372 cat conftest.err >&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); } &&
39375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377 (eval $ac_try) 2>&5
39378 ac_status=$?
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); }; } &&
39381 { ac_try='test -s conftest.$ac_objext'
39382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39383 (eval $ac_try) 2>&5
39384 ac_status=$?
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); }; }; then
39387 echo "$as_me:$LINENO: result: no" >&5
39388 echo "${ECHO_T}no" >&6
39389 else
39390 echo "$as_me: failed program was:" >&5
39391 sed 's/^/| /' conftest.$ac_ext >&5
39392
39393 echo "$as_me:$LINENO: result: yes" >&5
39394 echo "${ECHO_T}yes" >&6
39395 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39396 fi
39397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39398 ac_ext=c
39399 ac_cpp='$CPP $CPPFLAGS'
39400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403
39404 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39405 if test "$wxUSE_OLE" = "yes" ; then
39406 cat >>confdefs.h <<\_ACEOF
39407 #define wxUSE_OLE 1
39408 _ACEOF
39409
39410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39411 fi
39412 fi
39413
39414 if test "$wxUSE_DATAOBJ" = "yes" ; then
39415 cat >>confdefs.h <<\_ACEOF
39416 #define wxUSE_DATAOBJ 1
39417 _ACEOF
39418
39419 fi
39420 else
39421 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39422 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39423
39424 wxUSE_CLIPBOARD=no
39425 wxUSE_DRAG_AND_DROP=no
39426 wxUSE_DATAOBJ=no
39427 wxUSE_OLE=no
39428 fi
39429
39430 if test "$wxUSE_METAFILE" = "yes"; then
39431 cat >>confdefs.h <<\_ACEOF
39432 #define wxUSE_METAFILE 1
39433 _ACEOF
39434
39435
39436 cat >>confdefs.h <<\_ACEOF
39437 #define wxUSE_ENH_METAFILE 1
39438 _ACEOF
39439
39440 fi
39441 fi
39442
39443 if test "$wxUSE_IPC" = "yes"; then
39444 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39445 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39446 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39447 wxUSE_IPC=no
39448 fi
39449
39450 if test "$wxUSE_IPC" = "yes"; then
39451 cat >>confdefs.h <<\_ACEOF
39452 #define wxUSE_IPC 1
39453 _ACEOF
39454
39455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39456 fi
39457 fi
39458
39459 if test "$wxUSE_CLIPBOARD" = "yes"; then
39460 if test "$wxUSE_MGL" = 1; then
39461 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39462 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39463 wxUSE_CLIPBOARD=no
39464 fi
39465
39466 if test "$wxUSE_CLIPBOARD" = "yes"; then
39467 cat >>confdefs.h <<\_ACEOF
39468 #define wxUSE_CLIPBOARD 1
39469 _ACEOF
39470
39471
39472 cat >>confdefs.h <<\_ACEOF
39473 #define wxUSE_DATAOBJ 1
39474 _ACEOF
39475
39476 fi
39477 fi
39478
39479 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39480 if test "$wxUSE_GTK" = 1; then
39481 if test "$WXGTK12" != 1; then
39482 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39483 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39484 wxUSE_DRAG_AND_DROP=no
39485 fi
39486 fi
39487
39488 if test "$wxUSE_MOTIF" = 1; then
39489 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39490 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39491 wxUSE_DRAG_AND_DROP=no
39492 fi
39493
39494 if test "$wxUSE_X11" = 1; then
39495 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39496 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39497 wxUSE_DRAG_AND_DROP=no
39498 fi
39499
39500 if test "$wxUSE_MGL" = 1; then
39501 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39502 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39503 wxUSE_DRAG_AND_DROP=no
39504 fi
39505
39506 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39507 cat >>confdefs.h <<\_ACEOF
39508 #define wxUSE_DRAG_AND_DROP 1
39509 _ACEOF
39510
39511 fi
39512
39513 fi
39514
39515 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
39517 fi
39518
39519 if test "$wxUSE_SPLINES" = "yes" ; then
39520 cat >>confdefs.h <<\_ACEOF
39521 #define wxUSE_SPLINES 1
39522 _ACEOF
39523
39524 fi
39525
39526 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39527 cat >>confdefs.h <<\_ACEOF
39528 #define wxUSE_MOUSEWHEEL 1
39529 _ACEOF
39530
39531 fi
39532
39533
39534 USES_CONTROLS=0
39535 if test "$wxUSE_CONTROLS" = "yes"; then
39536 USES_CONTROLS=1
39537 fi
39538
39539 if test "$wxUSE_ACCEL" = "yes"; then
39540 cat >>confdefs.h <<\_ACEOF
39541 #define wxUSE_ACCEL 1
39542 _ACEOF
39543
39544 USES_CONTROLS=1
39545 fi
39546
39547 if test "$wxUSE_BUTTON" = "yes"; then
39548 cat >>confdefs.h <<\_ACEOF
39549 #define wxUSE_BUTTON 1
39550 _ACEOF
39551
39552 USES_CONTROLS=1
39553 fi
39554
39555 if test "$wxUSE_BMPBUTTON" = "yes"; then
39556 cat >>confdefs.h <<\_ACEOF
39557 #define wxUSE_BMPBUTTON 1
39558 _ACEOF
39559
39560 USES_CONTROLS=1
39561 fi
39562
39563 if test "$wxUSE_CALCTRL" = "yes"; then
39564 cat >>confdefs.h <<\_ACEOF
39565 #define wxUSE_CALENDARCTRL 1
39566 _ACEOF
39567
39568 USES_CONTROLS=1
39569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39570 fi
39571
39572 if test "$wxUSE_CARET" = "yes"; then
39573 cat >>confdefs.h <<\_ACEOF
39574 #define wxUSE_CARET 1
39575 _ACEOF
39576
39577 USES_CONTROLS=1
39578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39579 fi
39580
39581 if test "$wxUSE_COMBOBOX" = "yes"; then
39582 cat >>confdefs.h <<\_ACEOF
39583 #define wxUSE_COMBOBOX 1
39584 _ACEOF
39585
39586 USES_CONTROLS=1
39587 fi
39588
39589 if test "$wxUSE_CHOICE" = "yes"; then
39590 cat >>confdefs.h <<\_ACEOF
39591 #define wxUSE_CHOICE 1
39592 _ACEOF
39593
39594 USES_CONTROLS=1
39595 fi
39596
39597 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39598 cat >>confdefs.h <<\_ACEOF
39599 #define wxUSE_CHOICEBOOK 1
39600 _ACEOF
39601
39602 USES_CONTROLS=1
39603 fi
39604
39605 if test "$wxUSE_CHECKBOX" = "yes"; then
39606 cat >>confdefs.h <<\_ACEOF
39607 #define wxUSE_CHECKBOX 1
39608 _ACEOF
39609
39610 USES_CONTROLS=1
39611 fi
39612
39613 if test "$wxUSE_CHECKLST" = "yes"; then
39614 cat >>confdefs.h <<\_ACEOF
39615 #define wxUSE_CHECKLISTBOX 1
39616 _ACEOF
39617
39618 USES_CONTROLS=1
39619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39620 fi
39621
39622 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39623 cat >>confdefs.h <<\_ACEOF
39624 #define wxUSE_DATEPICKCTRL 1
39625 _ACEOF
39626
39627 USES_CONTROLS=1
39628 fi
39629
39630 if test "$wxUSE_DISPLAY" = "yes"; then
39631 cat >>confdefs.h <<\_ACEOF
39632 #define wxUSE_DISPLAY 1
39633 _ACEOF
39634
39635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39636 fi
39637
39638 if test "$wxUSE_GAUGE" = "yes"; then
39639 cat >>confdefs.h <<\_ACEOF
39640 #define wxUSE_GAUGE 1
39641 _ACEOF
39642
39643 USES_CONTROLS=1
39644 fi
39645
39646 if test "$wxUSE_GRID" = "yes"; then
39647 cat >>confdefs.h <<\_ACEOF
39648 #define wxUSE_GRID 1
39649 _ACEOF
39650
39651 USES_CONTROLS=1
39652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39653 fi
39654
39655 if test "$wxUSE_IMAGLIST" = "yes"; then
39656 cat >>confdefs.h <<\_ACEOF
39657 #define wxUSE_IMAGLIST 1
39658 _ACEOF
39659
39660 fi
39661
39662 if test "$wxUSE_LISTBOOK" = "yes"; then
39663 cat >>confdefs.h <<\_ACEOF
39664 #define wxUSE_LISTBOOK 1
39665 _ACEOF
39666
39667 USES_CONTROLS=1
39668 fi
39669
39670 if test "$wxUSE_LISTBOX" = "yes"; then
39671 cat >>confdefs.h <<\_ACEOF
39672 #define wxUSE_LISTBOX 1
39673 _ACEOF
39674
39675 USES_CONTROLS=1
39676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39677 fi
39678
39679 if test "$wxUSE_LISTCTRL" = "yes"; then
39680 if test "$wxUSE_IMAGLIST" = "yes"; then
39681 cat >>confdefs.h <<\_ACEOF
39682 #define wxUSE_LISTCTRL 1
39683 _ACEOF
39684
39685 USES_CONTROLS=1
39686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39687 else
39688 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39689 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39690 fi
39691 fi
39692
39693 if test "$wxUSE_NOTEBOOK" = "yes"; then
39694 cat >>confdefs.h <<\_ACEOF
39695 #define wxUSE_NOTEBOOK 1
39696 _ACEOF
39697
39698 USES_CONTROLS=1
39699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39700 fi
39701
39702
39703 if test "$wxUSE_RADIOBOX" = "yes"; then
39704 cat >>confdefs.h <<\_ACEOF
39705 #define wxUSE_RADIOBOX 1
39706 _ACEOF
39707
39708 USES_CONTROLS=1
39709 fi
39710
39711 if test "$wxUSE_RADIOBTN" = "yes"; then
39712 cat >>confdefs.h <<\_ACEOF
39713 #define wxUSE_RADIOBTN 1
39714 _ACEOF
39715
39716 USES_CONTROLS=1
39717 fi
39718
39719 if test "$wxUSE_SASH" = "yes"; then
39720 cat >>confdefs.h <<\_ACEOF
39721 #define wxUSE_SASH 1
39722 _ACEOF
39723
39724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
39725 fi
39726
39727 if test "$wxUSE_SCROLLBAR" = "yes"; then
39728 cat >>confdefs.h <<\_ACEOF
39729 #define wxUSE_SCROLLBAR 1
39730 _ACEOF
39731
39732 USES_CONTROLS=1
39733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
39734 fi
39735
39736 if test "$wxUSE_SLIDER" = "yes"; then
39737 cat >>confdefs.h <<\_ACEOF
39738 #define wxUSE_SLIDER 1
39739 _ACEOF
39740
39741 USES_CONTROLS=1
39742 fi
39743
39744 if test "$wxUSE_SPINBTN" = "yes"; then
39745 cat >>confdefs.h <<\_ACEOF
39746 #define wxUSE_SPINBTN 1
39747 _ACEOF
39748
39749 USES_CONTROLS=1
39750 fi
39751
39752 if test "$wxUSE_SPINCTRL" = "yes"; then
39753 cat >>confdefs.h <<\_ACEOF
39754 #define wxUSE_SPINCTRL 1
39755 _ACEOF
39756
39757 USES_CONTROLS=1
39758 fi
39759
39760 if test "$wxUSE_SPLITTER" = "yes"; then
39761 cat >>confdefs.h <<\_ACEOF
39762 #define wxUSE_SPLITTER 1
39763 _ACEOF
39764
39765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
39766 fi
39767
39768 if test "$wxUSE_STATBMP" = "yes"; then
39769 cat >>confdefs.h <<\_ACEOF
39770 #define wxUSE_STATBMP 1
39771 _ACEOF
39772
39773 USES_CONTROLS=1
39774 fi
39775
39776 if test "$wxUSE_STATBOX" = "yes"; then
39777 cat >>confdefs.h <<\_ACEOF
39778 #define wxUSE_STATBOX 1
39779 _ACEOF
39780
39781 USES_CONTROLS=1
39782 fi
39783
39784 if test "$wxUSE_STATTEXT" = "yes"; then
39785 cat >>confdefs.h <<\_ACEOF
39786 #define wxUSE_STATTEXT 1
39787 _ACEOF
39788
39789 USES_CONTROLS=1
39790 fi
39791
39792 if test "$wxUSE_STATLINE" = "yes"; then
39793 cat >>confdefs.h <<\_ACEOF
39794 #define wxUSE_STATLINE 1
39795 _ACEOF
39796
39797 USES_CONTROLS=1
39798 fi
39799
39800 if test "$wxUSE_STATUSBAR" = "yes"; then
39801 cat >>confdefs.h <<\_ACEOF
39802 #define wxUSE_NATIVE_STATUSBAR 1
39803 _ACEOF
39804
39805 cat >>confdefs.h <<\_ACEOF
39806 #define wxUSE_STATUSBAR 1
39807 _ACEOF
39808
39809 USES_CONTROLS=1
39810
39811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
39812 fi
39813
39814 if test "$wxUSE_TABDIALOG" = "yes"; then
39815 cat >>confdefs.h <<\_ACEOF
39816 #define wxUSE_TAB_DIALOG 1
39817 _ACEOF
39818
39819 fi
39820
39821 if test "$wxUSE_TEXTCTRL" = "yes"; then
39822 cat >>confdefs.h <<\_ACEOF
39823 #define wxUSE_TEXTCTRL 1
39824 _ACEOF
39825
39826 USES_CONTROLS=1
39827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
39828 fi
39829
39830 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39831 if test "$wxUSE_COCOA" = 1 ; then
39832 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39833 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39834 wxUSE_TOGGLEBTN=no
39835 fi
39836 if test "$wxUSE_UNIVERSAL" = "yes"; then
39837 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39838 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39839 wxUSE_TOGGLEBTN=no
39840 fi
39841
39842 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39843 cat >>confdefs.h <<\_ACEOF
39844 #define wxUSE_TOGGLEBTN 1
39845 _ACEOF
39846
39847 USES_CONTROLS=1
39848 fi
39849 fi
39850
39851 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define wxUSE_TOOLBAR_SIMPLE 1
39854 _ACEOF
39855
39856 wxUSE_TOOLBAR="yes"
39857 USES_CONTROLS=1
39858 fi
39859
39860 if test "$wxUSE_TOOLBAR" = "yes"; then
39861 cat >>confdefs.h <<\_ACEOF
39862 #define wxUSE_TOOLBAR 1
39863 _ACEOF
39864
39865 USES_CONTROLS=1
39866
39867 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39868 wxUSE_TOOLBAR_NATIVE="yes"
39869 fi
39870
39871 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39872 cat >>confdefs.h <<\_ACEOF
39873 #define wxUSE_TOOLBAR_NATIVE 1
39874 _ACEOF
39875
39876 USES_CONTROLS=1
39877 fi
39878
39879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39880 fi
39881
39882 if test "$wxUSE_TOOLTIPS" = "yes"; then
39883 if test "$wxUSE_MOTIF" = 1; then
39884 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39885 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39886 else
39887 if test "$wxUSE_UNIVERSAL" = "yes"; then
39888 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39889 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39890 else
39891 cat >>confdefs.h <<\_ACEOF
39892 #define wxUSE_TOOLTIPS 1
39893 _ACEOF
39894
39895 fi
39896 fi
39897 fi
39898
39899 if test "$wxUSE_TREECTRL" = "yes"; then
39900 if test "$wxUSE_IMAGLIST" = "yes"; then
39901 cat >>confdefs.h <<\_ACEOF
39902 #define wxUSE_TREECTRL 1
39903 _ACEOF
39904
39905 USES_CONTROLS=1
39906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39907 else
39908 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39909 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39910 fi
39911 fi
39912
39913 if test "$wxUSE_POPUPWIN" = "yes"; then
39914 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39915 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39916 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39917 else
39918 if test "$wxUSE_PM" = 1; then
39919 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39920 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39921 else
39922 cat >>confdefs.h <<\_ACEOF
39923 #define wxUSE_POPUPWIN 1
39924 _ACEOF
39925
39926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39927
39928 USES_CONTROLS=1
39929 fi
39930 fi
39931 fi
39932
39933 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39934 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39935 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39936 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39937 else
39938 cat >>confdefs.h <<\_ACEOF
39939 #define wxUSE_DIALUP_MANAGER 1
39940 _ACEOF
39941
39942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39943 fi
39944 fi
39945
39946 if test "$wxUSE_TIPWINDOW" = "yes"; then
39947 if test "$wxUSE_PM" = 1; then
39948 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39949 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39950 else
39951 cat >>confdefs.h <<\_ACEOF
39952 #define wxUSE_TIPWINDOW 1
39953 _ACEOF
39954
39955 fi
39956 fi
39957
39958 if test "$USES_CONTROLS" = 1; then
39959 cat >>confdefs.h <<\_ACEOF
39960 #define wxUSE_CONTROLS 1
39961 _ACEOF
39962
39963 fi
39964
39965
39966 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39967 cat >>confdefs.h <<\_ACEOF
39968 #define wxUSE_ACCESSIBILITY 1
39969 _ACEOF
39970
39971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39972 fi
39973
39974 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39975 cat >>confdefs.h <<\_ACEOF
39976 #define wxUSE_DRAGIMAGE 1
39977 _ACEOF
39978
39979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39980 fi
39981
39982 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39983 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39984 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39985 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39986 else
39987 cat >>confdefs.h <<\_ACEOF
39988 #define wxUSE_EXCEPTIONS 1
39989 _ACEOF
39990
39991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39992 fi
39993 fi
39994
39995 USE_HTML=0
39996 if test "$wxUSE_HTML" = "yes"; then
39997 cat >>confdefs.h <<\_ACEOF
39998 #define wxUSE_HTML 1
39999 _ACEOF
40000
40001 USE_HTML=1
40002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40003 if test "$wxUSE_MAC" = 1; then
40004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
40005 fi
40006 fi
40007 if test "$wxUSE_WEBKIT" = "yes"; then
40008 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40009 old_CPPFLAGS="$CPPFLAGS"
40010 CPPFLAGS="$CPPFLAGS -x objective-c++"
40011 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40012 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40013 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40014 echo $ECHO_N "(cached) $ECHO_C" >&6
40015 else
40016 cat >conftest.$ac_ext <<_ACEOF
40017 /* confdefs.h. */
40018 _ACEOF
40019 cat confdefs.h >>conftest.$ac_ext
40020 cat >>conftest.$ac_ext <<_ACEOF
40021 /* end confdefs.h. */
40022 #include <Carbon/Carbon.h>
40023
40024 #include <WebKit/HIWebView.h>
40025 _ACEOF
40026 rm -f conftest.$ac_objext
40027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40028 (eval $ac_compile) 2>conftest.er1
40029 ac_status=$?
40030 grep -v '^ *+' conftest.er1 >conftest.err
40031 rm -f conftest.er1
40032 cat conftest.err >&5
40033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40034 (exit $ac_status); } &&
40035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40037 (eval $ac_try) 2>&5
40038 ac_status=$?
40039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40040 (exit $ac_status); }; } &&
40041 { ac_try='test -s conftest.$ac_objext'
40042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40043 (eval $ac_try) 2>&5
40044 ac_status=$?
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; }; then
40047 ac_cv_header_WebKit_HIWebView_h=yes
40048 else
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.$ac_ext >&5
40051
40052 ac_cv_header_WebKit_HIWebView_h=no
40053 fi
40054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40055 fi
40056 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40057 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40058 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40059
40060 cat >>confdefs.h <<\_ACEOF
40061 #define wxUSE_WEBKIT 1
40062 _ACEOF
40063
40064 WEBKIT_LINK="-framework WebKit"
40065
40066 else
40067
40068 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40069 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40070 wxUSE_WEBKIT=no
40071
40072 fi
40073
40074
40075 CPPFLAGS="$old_CPPFLAGS"
40076 elif test "$wxUSE_COCOA" = 1; then
40077 cat >>confdefs.h <<\_ACEOF
40078 #define wxUSE_WEBKIT 1
40079 _ACEOF
40080
40081 else
40082 wxUSE_WEBKIT=no
40083 fi
40084 fi
40085
40086 USE_XRC=0
40087 if test "$wxUSE_XRC" = "yes"; then
40088 if test "$wxUSE_XML" != "yes"; then
40089 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40090 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40091 wxUSE_XRC=no
40092 else
40093 cat >>confdefs.h <<\_ACEOF
40094 #define wxUSE_XRC 1
40095 _ACEOF
40096
40097 USE_XRC=1
40098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
40099 fi
40100 fi
40101
40102 if test "$wxUSE_MENUS" = "yes"; then
40103 cat >>confdefs.h <<\_ACEOF
40104 #define wxUSE_MENUS 1
40105 _ACEOF
40106
40107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40108 fi
40109
40110 if test "$wxUSE_METAFILE" = "yes"; then
40111 cat >>confdefs.h <<\_ACEOF
40112 #define wxUSE_METAFILE 1
40113 _ACEOF
40114
40115 fi
40116
40117 if test "$wxUSE_MIMETYPE" = "yes"; then
40118 cat >>confdefs.h <<\_ACEOF
40119 #define wxUSE_MIMETYPE 1
40120 _ACEOF
40121
40122 fi
40123
40124 if test "$wxUSE_MINIFRAME" = "yes"; then
40125 cat >>confdefs.h <<\_ACEOF
40126 #define wxUSE_MINIFRAME 1
40127 _ACEOF
40128
40129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40130 fi
40131
40132 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40133 cat >>confdefs.h <<\_ACEOF
40134 #define wxUSE_SYSTEM_OPTIONS 1
40135 _ACEOF
40136
40137 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40138 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40140 fi
40141 fi
40142
40143
40144 if test "$wxUSE_VALIDATORS" = "yes"; then
40145 cat >>confdefs.h <<\_ACEOF
40146 #define wxUSE_VALIDATORS 1
40147 _ACEOF
40148
40149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40150 fi
40151
40152 if test "$wxUSE_PALETTE" = "yes" ; then
40153 cat >>confdefs.h <<\_ACEOF
40154 #define wxUSE_PALETTE 1
40155 _ACEOF
40156
40157 fi
40158
40159 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40160 LIBS=" -lunicows $LIBS"
40161 fi
40162
40163
40164 if test "$wxUSE_IMAGE" = "yes" ; then
40165 cat >>confdefs.h <<\_ACEOF
40166 #define wxUSE_IMAGE 1
40167 _ACEOF
40168
40169
40170 if test "$wxUSE_GIF" = "yes" ; then
40171 cat >>confdefs.h <<\_ACEOF
40172 #define wxUSE_GIF 1
40173 _ACEOF
40174
40175 fi
40176
40177 if test "$wxUSE_PCX" = "yes" ; then
40178 cat >>confdefs.h <<\_ACEOF
40179 #define wxUSE_PCX 1
40180 _ACEOF
40181
40182 fi
40183
40184 if test "$wxUSE_IFF" = "yes" ; then
40185 cat >>confdefs.h <<\_ACEOF
40186 #define wxUSE_IFF 1
40187 _ACEOF
40188
40189 fi
40190
40191 if test "$wxUSE_PNM" = "yes" ; then
40192 cat >>confdefs.h <<\_ACEOF
40193 #define wxUSE_PNM 1
40194 _ACEOF
40195
40196 fi
40197
40198 if test "$wxUSE_XPM" = "yes" ; then
40199 cat >>confdefs.h <<\_ACEOF
40200 #define wxUSE_XPM 1
40201 _ACEOF
40202
40203 fi
40204
40205 if test "$wxUSE_ICO_CUR" = "yes" ; then
40206 cat >>confdefs.h <<\_ACEOF
40207 #define wxUSE_ICO_CUR 1
40208 _ACEOF
40209
40210 fi
40211 fi
40212
40213
40214 if test "$wxUSE_CHOICEDLG" = "yes"; then
40215 cat >>confdefs.h <<\_ACEOF
40216 #define wxUSE_CHOICEDLG 1
40217 _ACEOF
40218
40219 fi
40220
40221 if test "$wxUSE_COLOURDLG" = "yes"; then
40222 cat >>confdefs.h <<\_ACEOF
40223 #define wxUSE_COLOURDLG 1
40224 _ACEOF
40225
40226 fi
40227
40228 if test "$wxUSE_FILEDLG" = "yes"; then
40229 cat >>confdefs.h <<\_ACEOF
40230 #define wxUSE_FILEDLG 1
40231 _ACEOF
40232
40233 fi
40234
40235 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40236 cat >>confdefs.h <<\_ACEOF
40237 #define wxUSE_FINDREPLDLG 1
40238 _ACEOF
40239
40240 fi
40241
40242 if test "$wxUSE_FONTDLG" = "yes"; then
40243 cat >>confdefs.h <<\_ACEOF
40244 #define wxUSE_FONTDLG 1
40245 _ACEOF
40246
40247 fi
40248
40249 if test "$wxUSE_DIRDLG" = "yes"; then
40250 if test "$wxUSE_TREECTRL" != "yes"; then
40251 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40252 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40253 else
40254 cat >>confdefs.h <<\_ACEOF
40255 #define wxUSE_DIRDLG 1
40256 _ACEOF
40257
40258 fi
40259 fi
40260
40261 if test "$wxUSE_MSGDLG" = "yes"; then
40262 cat >>confdefs.h <<\_ACEOF
40263 #define wxUSE_MSGDLG 1
40264 _ACEOF
40265
40266 fi
40267
40268 if test "$wxUSE_NUMBERDLG" = "yes"; then
40269 cat >>confdefs.h <<\_ACEOF
40270 #define wxUSE_NUMBERDLG 1
40271 _ACEOF
40272
40273 fi
40274
40275 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40276 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40277 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40278 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40279 else
40280 cat >>confdefs.h <<\_ACEOF
40281 #define wxUSE_PROGRESSDLG 1
40282 _ACEOF
40283
40284 fi
40285 fi
40286
40287 if test "$wxUSE_SPLASH" = "yes"; then
40288 cat >>confdefs.h <<\_ACEOF
40289 #define wxUSE_SPLASH 1
40290 _ACEOF
40291
40292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40293 fi
40294
40295 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40296 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40297 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40298 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40299 else
40300 cat >>confdefs.h <<\_ACEOF
40301 #define wxUSE_STARTUP_TIPS 1
40302 _ACEOF
40303
40304 fi
40305 fi
40306
40307 if test "$wxUSE_TEXTDLG" = "yes"; then
40308 cat >>confdefs.h <<\_ACEOF
40309 #define wxUSE_TEXTDLG 1
40310 _ACEOF
40311
40312 fi
40313
40314 if test "$wxUSE_WIZARDDLG" = "yes"; then
40315 cat >>confdefs.h <<\_ACEOF
40316 #define wxUSE_WIZARDDLG 1
40317 _ACEOF
40318
40319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40320 fi
40321
40322
40323 if test "$wxUSE_MEDIACTRL" = "yes"; then
40324 if test "$wxUSE_GTK" = 1; then
40325 wxUSE_GSTREAMER="yes"
40326
40327
40328 succeeded=no
40329
40330 if test -z "$PKG_CONFIG"; then
40331 # Extract the first word of "pkg-config", so it can be a program name with args.
40332 set dummy pkg-config; ac_word=$2
40333 echo "$as_me:$LINENO: checking for $ac_word" >&5
40334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40335 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40336 echo $ECHO_N "(cached) $ECHO_C" >&6
40337 else
40338 case $PKG_CONFIG in
40339 [\\/]* | ?:[\\/]*)
40340 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40341 ;;
40342 *)
40343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40344 for as_dir in $PATH
40345 do
40346 IFS=$as_save_IFS
40347 test -z "$as_dir" && as_dir=.
40348 for ac_exec_ext in '' $ac_executable_extensions; do
40349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40350 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40352 break 2
40353 fi
40354 done
40355 done
40356
40357 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40358 ;;
40359 esac
40360 fi
40361 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40362
40363 if test -n "$PKG_CONFIG"; then
40364 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40365 echo "${ECHO_T}$PKG_CONFIG" >&6
40366 else
40367 echo "$as_me:$LINENO: result: no" >&5
40368 echo "${ECHO_T}no" >&6
40369 fi
40370
40371 fi
40372
40373 if test "$PKG_CONFIG" = "no" ; then
40374 echo "*** The pkg-config script could not be found. Make sure it is"
40375 echo "*** in your path, or set the PKG_CONFIG environment variable"
40376 echo "*** to the full path to pkg-config."
40377 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40378 else
40379 PKG_CONFIG_MIN_VERSION=0.9.0
40380 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40381 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40382 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40383
40384 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40385 echo "$as_me:$LINENO: result: yes" >&5
40386 echo "${ECHO_T}yes" >&6
40387 succeeded=yes
40388
40389 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40390 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40391 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40392 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40393 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40394
40395 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40396 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40397 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40398 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40399 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40400 else
40401 GSTREAMER_CFLAGS=""
40402 GSTREAMER_LIBS=""
40403 ## If we have a custom action on failure, don't print errors, but
40404 ## do set a variable so people can do so.
40405 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40406
40407 fi
40408
40409
40410
40411 else
40412 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40413 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40414 fi
40415 fi
40416
40417 if test $succeeded = yes; then
40418
40419 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40420 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40421
40422 else
40423
40424 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40425 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40426 wxUSE_GSTREAMER="no"
40427
40428 fi
40429
40430
40431
40432
40433
40434 if test "x$GST_INSPECT" == "x"; then
40435 # Extract the first word of "gst-inspect", so it can be a program name with args.
40436 set dummy gst-inspect; ac_word=$2
40437 echo "$as_me:$LINENO: checking for $ac_word" >&5
40438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40439 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 else
40442 if test -n "$GST_INSPECT"; then
40443 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40444 else
40445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40446 for as_dir in $PATH
40447 do
40448 IFS=$as_save_IFS
40449 test -z "$as_dir" && as_dir=.
40450 for ac_exec_ext in '' $ac_executable_extensions; do
40451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40452 ac_cv_prog_GST_INSPECT="gst-inspect"
40453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40454 break 2
40455 fi
40456 done
40457 done
40458
40459 fi
40460 fi
40461 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40462 if test -n "$GST_INSPECT"; then
40463 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40464 echo "${ECHO_T}$GST_INSPECT" >&6
40465 else
40466 echo "$as_me:$LINENO: result: no" >&5
40467 echo "${ECHO_T}no" >&6
40468 fi
40469
40470 fi
40471
40472 if test "x$GST_INSPECT" != "x"; then
40473 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40474 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40475 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40476 echo "$as_me:$LINENO: result: found." >&5
40477 echo "${ECHO_T}found." >&6
40478
40479 else
40480 echo "$as_me:$LINENO: result: not found." >&5
40481 echo "${ECHO_T}not found." >&6
40482
40483 wxUSE_GSTREAMER="no"
40484 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40485 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40486
40487 fi
40488 fi
40489
40490
40491 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40492 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40493 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40494 echo $ECHO_N "(cached) $ECHO_C" >&6
40495 else
40496 cat >conftest.$ac_ext <<_ACEOF
40497 /* confdefs.h. */
40498 _ACEOF
40499 cat confdefs.h >>conftest.$ac_ext
40500 cat >>conftest.$ac_ext <<_ACEOF
40501 /* end confdefs.h. */
40502 #include <gst/gst.h>
40503
40504 #include <gst/xoverlay/xoverlay.h>
40505 _ACEOF
40506 rm -f conftest.$ac_objext
40507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40508 (eval $ac_compile) 2>conftest.er1
40509 ac_status=$?
40510 grep -v '^ *+' conftest.er1 >conftest.err
40511 rm -f conftest.er1
40512 cat conftest.err >&5
40513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514 (exit $ac_status); } &&
40515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40517 (eval $ac_try) 2>&5
40518 ac_status=$?
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); }; } &&
40521 { ac_try='test -s conftest.$ac_objext'
40522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40523 (eval $ac_try) 2>&5
40524 ac_status=$?
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); }; }; then
40527 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40528 else
40529 echo "$as_me: failed program was:" >&5
40530 sed 's/^/| /' conftest.$ac_ext >&5
40531
40532 ac_cv_header_gst_xoverlay_xoverlay_h=no
40533 fi
40534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40535 fi
40536 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40537 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40538 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40539 :
40540 else
40541
40542 wxUSE_GSTREAMER="no"
40543 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40544 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40545
40546 fi
40547
40548
40549
40550 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40551 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40552
40553 ac_find_libraries=
40554 for ac_dir in $SEARCH_LIB /usr/lib;
40555 do
40556 for ac_extension in a so sl dylib; do
40557 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40558 ac_find_libraries=$ac_dir
40559 break 2
40560 fi
40561 done
40562 done
40563
40564
40565 if test "$ac_find_libraries" = "" ; then
40566 echo "$as_me:$LINENO: result: no" >&5
40567 echo "${ECHO_T}no" >&6
40568 wxUSE_GSTREAMER="no"
40569 else
40570 echo "$as_me:$LINENO: result: yes" >&5
40571 echo "${ECHO_T}yes" >&6
40572 fi
40573
40574 if test "$wxUSE_GSTREAMER" = "yes"; then
40575 cat >>confdefs.h <<\_ACEOF
40576 #define wxUSE_GSTREAMER 1
40577 _ACEOF
40578
40579 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40580 echo "${ECHO_T}GStreamer detection successful" >&6
40581 fi
40582 fi
40583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40584 cat >>confdefs.h <<\_ACEOF
40585 #define wxUSE_MEDIACTRL 1
40586 _ACEOF
40587
40588 fi
40589
40590
40591 if test "$cross_compiling" = "yes"; then
40592 OSINFO="\"$host\""
40593 else
40594 OSINFO=`uname -s -r -m`
40595 OSINFO="\"$OSINFO\""
40596 fi
40597
40598 cat >>confdefs.h <<_ACEOF
40599 #define WXWIN_OS_DESCRIPTION $OSINFO
40600 _ACEOF
40601
40602
40603
40604 if test "x$prefix" != "xNONE"; then
40605 wxPREFIX=$prefix
40606 else
40607 wxPREFIX=$ac_default_prefix
40608 fi
40609
40610 cat >>confdefs.h <<_ACEOF
40611 #define wxINSTALL_PREFIX "$wxPREFIX"
40612 _ACEOF
40613
40614
40615
40616
40617 CORE_BASE_LIBS="net base"
40618 CORE_GUI_LIBS="adv core"
40619
40620 if test "$wxUSE_XML" = "yes" ; then
40621 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40622 fi
40623 if test "$wxUSE_ODBC" != "no" ; then
40624 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40625 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40626 fi
40627 if test "$wxUSE_HTML" = "yes" ; then
40628 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40629 fi
40630 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40631 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40632 fi
40633 if test "$wxUSE_XRC" = "yes" ; then
40634 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40635 fi
40636
40637 if test "$wxUSE_GUI" != "yes"; then
40638 CORE_GUI_LIBS=""
40639 fi
40640
40641
40642
40643
40644
40645
40646
40647
40648 if test "$wxUSE_MAC" = 1 ; then
40649 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40650 if test "$USE_DARWIN" = 1; then
40651 LDFLAGS="$LDFLAGS -framework QuickTime"
40652 else
40653 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40654 fi
40655 fi
40656 if test "$USE_DARWIN" = 1; then
40657 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40658 else
40659 LDFLAGS="$LDFLAGS -lCarbonLib"
40660 fi
40661 fi
40662 if test "$wxUSE_COCOA" = 1 ; then
40663 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40664 if test "$wxUSE_MEDIACTRL" = "yes"; then
40665 LDFLAGS="$LDFLAGS -framework QuickTime"
40666 fi
40667 fi
40668 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40669 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40670 fi
40671
40672
40673 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40674
40675 have_cos=0
40676 have_floor=0
40677
40678 for ac_func in cos
40679 do
40680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40681 echo "$as_me:$LINENO: checking for $ac_func" >&5
40682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40683 if eval "test \"\${$as_ac_var+set}\" = set"; then
40684 echo $ECHO_N "(cached) $ECHO_C" >&6
40685 else
40686 cat >conftest.$ac_ext <<_ACEOF
40687 /* confdefs.h. */
40688 _ACEOF
40689 cat confdefs.h >>conftest.$ac_ext
40690 cat >>conftest.$ac_ext <<_ACEOF
40691 /* end confdefs.h. */
40692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40694 #define $ac_func innocuous_$ac_func
40695
40696 /* System header to define __stub macros and hopefully few prototypes,
40697 which can conflict with char $ac_func (); below.
40698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40699 <limits.h> exists even on freestanding compilers. */
40700
40701 #ifdef __STDC__
40702 # include <limits.h>
40703 #else
40704 # include <assert.h>
40705 #endif
40706
40707 #undef $ac_func
40708
40709 /* Override any gcc2 internal prototype to avoid an error. */
40710 #ifdef __cplusplus
40711 extern "C"
40712 {
40713 #endif
40714 /* We use char because int might match the return type of a gcc2
40715 builtin and then its argument prototype would still apply. */
40716 char $ac_func ();
40717 /* The GNU C library defines this for functions which it implements
40718 to always fail with ENOSYS. Some functions are actually named
40719 something starting with __ and the normal name is an alias. */
40720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40721 choke me
40722 #else
40723 char (*f) () = $ac_func;
40724 #endif
40725 #ifdef __cplusplus
40726 }
40727 #endif
40728
40729 int
40730 main ()
40731 {
40732 return f != $ac_func;
40733 ;
40734 return 0;
40735 }
40736 _ACEOF
40737 rm -f conftest.$ac_objext conftest$ac_exeext
40738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40739 (eval $ac_link) 2>conftest.er1
40740 ac_status=$?
40741 grep -v '^ *+' conftest.er1 >conftest.err
40742 rm -f conftest.er1
40743 cat conftest.err >&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); } &&
40746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40748 (eval $ac_try) 2>&5
40749 ac_status=$?
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); }; } &&
40752 { ac_try='test -s conftest$ac_exeext'
40753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 (eval $ac_try) 2>&5
40755 ac_status=$?
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); }; }; then
40758 eval "$as_ac_var=yes"
40759 else
40760 echo "$as_me: failed program was:" >&5
40761 sed 's/^/| /' conftest.$ac_ext >&5
40762
40763 eval "$as_ac_var=no"
40764 fi
40765 rm -f conftest.err conftest.$ac_objext \
40766 conftest$ac_exeext conftest.$ac_ext
40767 fi
40768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40770 if test `eval echo '${'$as_ac_var'}'` = yes; then
40771 cat >>confdefs.h <<_ACEOF
40772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40773 _ACEOF
40774 have_cos=1
40775 fi
40776 done
40777
40778
40779 for ac_func in floor
40780 do
40781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40782 echo "$as_me:$LINENO: checking for $ac_func" >&5
40783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40784 if eval "test \"\${$as_ac_var+set}\" = set"; then
40785 echo $ECHO_N "(cached) $ECHO_C" >&6
40786 else
40787 cat >conftest.$ac_ext <<_ACEOF
40788 /* confdefs.h. */
40789 _ACEOF
40790 cat confdefs.h >>conftest.$ac_ext
40791 cat >>conftest.$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40795 #define $ac_func innocuous_$ac_func
40796
40797 /* System header to define __stub macros and hopefully few prototypes,
40798 which can conflict with char $ac_func (); below.
40799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40800 <limits.h> exists even on freestanding compilers. */
40801
40802 #ifdef __STDC__
40803 # include <limits.h>
40804 #else
40805 # include <assert.h>
40806 #endif
40807
40808 #undef $ac_func
40809
40810 /* Override any gcc2 internal prototype to avoid an error. */
40811 #ifdef __cplusplus
40812 extern "C"
40813 {
40814 #endif
40815 /* We use char because int might match the return type of a gcc2
40816 builtin and then its argument prototype would still apply. */
40817 char $ac_func ();
40818 /* The GNU C library defines this for functions which it implements
40819 to always fail with ENOSYS. Some functions are actually named
40820 something starting with __ and the normal name is an alias. */
40821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40822 choke me
40823 #else
40824 char (*f) () = $ac_func;
40825 #endif
40826 #ifdef __cplusplus
40827 }
40828 #endif
40829
40830 int
40831 main ()
40832 {
40833 return f != $ac_func;
40834 ;
40835 return 0;
40836 }
40837 _ACEOF
40838 rm -f conftest.$ac_objext conftest$ac_exeext
40839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40840 (eval $ac_link) 2>conftest.er1
40841 ac_status=$?
40842 grep -v '^ *+' conftest.er1 >conftest.err
40843 rm -f conftest.er1
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } &&
40847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40849 (eval $ac_try) 2>&5
40850 ac_status=$?
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); }; } &&
40853 { ac_try='test -s conftest$ac_exeext'
40854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40855 (eval $ac_try) 2>&5
40856 ac_status=$?
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); }; }; then
40859 eval "$as_ac_var=yes"
40860 else
40861 echo "$as_me: failed program was:" >&5
40862 sed 's/^/| /' conftest.$ac_ext >&5
40863
40864 eval "$as_ac_var=no"
40865 fi
40866 rm -f conftest.err conftest.$ac_objext \
40867 conftest$ac_exeext conftest.$ac_ext
40868 fi
40869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40871 if test `eval echo '${'$as_ac_var'}'` = yes; then
40872 cat >>confdefs.h <<_ACEOF
40873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40874 _ACEOF
40875 have_floor=1
40876 fi
40877 done
40878
40879 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40880 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40881 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40882 echo "$as_me:$LINENO: result: yes" >&5
40883 echo "${ECHO_T}yes" >&6
40884 else
40885 echo "$as_me:$LINENO: result: no" >&5
40886 echo "${ECHO_T}no" >&6
40887 LIBS="$LIBS -lm"
40888 # use different functions to avoid configure caching
40889 have_sin=0
40890 have_ceil=0
40891
40892 for ac_func in sin
40893 do
40894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40895 echo "$as_me:$LINENO: checking for $ac_func" >&5
40896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40897 if eval "test \"\${$as_ac_var+set}\" = set"; then
40898 echo $ECHO_N "(cached) $ECHO_C" >&6
40899 else
40900 cat >conftest.$ac_ext <<_ACEOF
40901 /* confdefs.h. */
40902 _ACEOF
40903 cat confdefs.h >>conftest.$ac_ext
40904 cat >>conftest.$ac_ext <<_ACEOF
40905 /* end confdefs.h. */
40906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40908 #define $ac_func innocuous_$ac_func
40909
40910 /* System header to define __stub macros and hopefully few prototypes,
40911 which can conflict with char $ac_func (); below.
40912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40913 <limits.h> exists even on freestanding compilers. */
40914
40915 #ifdef __STDC__
40916 # include <limits.h>
40917 #else
40918 # include <assert.h>
40919 #endif
40920
40921 #undef $ac_func
40922
40923 /* Override any gcc2 internal prototype to avoid an error. */
40924 #ifdef __cplusplus
40925 extern "C"
40926 {
40927 #endif
40928 /* We use char because int might match the return type of a gcc2
40929 builtin and then its argument prototype would still apply. */
40930 char $ac_func ();
40931 /* The GNU C library defines this for functions which it implements
40932 to always fail with ENOSYS. Some functions are actually named
40933 something starting with __ and the normal name is an alias. */
40934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40935 choke me
40936 #else
40937 char (*f) () = $ac_func;
40938 #endif
40939 #ifdef __cplusplus
40940 }
40941 #endif
40942
40943 int
40944 main ()
40945 {
40946 return f != $ac_func;
40947 ;
40948 return 0;
40949 }
40950 _ACEOF
40951 rm -f conftest.$ac_objext conftest$ac_exeext
40952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40953 (eval $ac_link) 2>conftest.er1
40954 ac_status=$?
40955 grep -v '^ *+' conftest.er1 >conftest.err
40956 rm -f conftest.er1
40957 cat conftest.err >&5
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); } &&
40960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40962 (eval $ac_try) 2>&5
40963 ac_status=$?
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); }; } &&
40966 { ac_try='test -s conftest$ac_exeext'
40967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40968 (eval $ac_try) 2>&5
40969 ac_status=$?
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); }; }; then
40972 eval "$as_ac_var=yes"
40973 else
40974 echo "$as_me: failed program was:" >&5
40975 sed 's/^/| /' conftest.$ac_ext >&5
40976
40977 eval "$as_ac_var=no"
40978 fi
40979 rm -f conftest.err conftest.$ac_objext \
40980 conftest$ac_exeext conftest.$ac_ext
40981 fi
40982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40984 if test `eval echo '${'$as_ac_var'}'` = yes; then
40985 cat >>confdefs.h <<_ACEOF
40986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40987 _ACEOF
40988 have_sin=1
40989 fi
40990 done
40991
40992
40993 for ac_func in ceil
40994 do
40995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40996 echo "$as_me:$LINENO: checking for $ac_func" >&5
40997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40998 if eval "test \"\${$as_ac_var+set}\" = set"; then
40999 echo $ECHO_N "(cached) $ECHO_C" >&6
41000 else
41001 cat >conftest.$ac_ext <<_ACEOF
41002 /* confdefs.h. */
41003 _ACEOF
41004 cat confdefs.h >>conftest.$ac_ext
41005 cat >>conftest.$ac_ext <<_ACEOF
41006 /* end confdefs.h. */
41007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41009 #define $ac_func innocuous_$ac_func
41010
41011 /* System header to define __stub macros and hopefully few prototypes,
41012 which can conflict with char $ac_func (); below.
41013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41014 <limits.h> exists even on freestanding compilers. */
41015
41016 #ifdef __STDC__
41017 # include <limits.h>
41018 #else
41019 # include <assert.h>
41020 #endif
41021
41022 #undef $ac_func
41023
41024 /* Override any gcc2 internal prototype to avoid an error. */
41025 #ifdef __cplusplus
41026 extern "C"
41027 {
41028 #endif
41029 /* We use char because int might match the return type of a gcc2
41030 builtin and then its argument prototype would still apply. */
41031 char $ac_func ();
41032 /* The GNU C library defines this for functions which it implements
41033 to always fail with ENOSYS. Some functions are actually named
41034 something starting with __ and the normal name is an alias. */
41035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41036 choke me
41037 #else
41038 char (*f) () = $ac_func;
41039 #endif
41040 #ifdef __cplusplus
41041 }
41042 #endif
41043
41044 int
41045 main ()
41046 {
41047 return f != $ac_func;
41048 ;
41049 return 0;
41050 }
41051 _ACEOF
41052 rm -f conftest.$ac_objext conftest$ac_exeext
41053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41054 (eval $ac_link) 2>conftest.er1
41055 ac_status=$?
41056 grep -v '^ *+' conftest.er1 >conftest.err
41057 rm -f conftest.er1
41058 cat conftest.err >&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } &&
41061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41063 (eval $ac_try) 2>&5
41064 ac_status=$?
41065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41066 (exit $ac_status); }; } &&
41067 { ac_try='test -s conftest$ac_exeext'
41068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41069 (eval $ac_try) 2>&5
41070 ac_status=$?
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); }; }; then
41073 eval "$as_ac_var=yes"
41074 else
41075 echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.$ac_ext >&5
41077
41078 eval "$as_ac_var=no"
41079 fi
41080 rm -f conftest.err conftest.$ac_objext \
41081 conftest$ac_exeext conftest.$ac_ext
41082 fi
41083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41085 if test `eval echo '${'$as_ac_var'}'` = yes; then
41086 cat >>confdefs.h <<_ACEOF
41087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41088 _ACEOF
41089 have_ceil=1
41090 fi
41091 done
41092
41093 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41094 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41095 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41096 echo "$as_me:$LINENO: result: yes" >&5
41097 echo "${ECHO_T}yes" >&6
41098 else
41099 echo "$as_me:$LINENO: result: no" >&5
41100 echo "${ECHO_T}no" >&6
41101 # not sure we should warn the user, crash, etc.
41102 fi
41103 fi
41104
41105 if test "$wxUSE_GUI" = "yes"; then
41106
41107
41108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41109 dynamic erase event exec font image minimal mobile \
41110 mobile/wxedit mobile/styles propsize render \
41111 richedit rotate shaped vscroll widgets"
41112
41113 if test "$wxUSE_MONOLITHIC" != "yes"; then
41114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41115 fi
41116 if test "$TOOLKIT" = "MSW"; then
41117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41118 if test "$wxUSE_UNIVERSAL" != "yes"; then
41119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41120 fi
41121 fi
41122 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41124 fi
41125 else
41126 SAMPLES_SUBDIRS="console"
41127 fi
41128
41129
41130 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41131 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41132
41133 if test "$GXX" = yes ; then
41134 CWARNINGS="-Wall"
41135 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41136 fi
41137
41138 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41139
41140 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41141 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41142 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41143
41144 if test "x$MWCC" = "xyes"; then
41145
41146 CC="$CC -cwd source -I-"
41147 CXX="$CXX -cwd source -I-"
41148 fi
41149
41150
41151 LIBS=`echo $LIBS`
41152 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41153 EXTRALIBS_XML="$EXPAT_LINK"
41154 EXTRALIBS_HTML="$MSPACK_LINK"
41155 EXTRALIBS_ODBC="$ODBC_LINK"
41156 if test "$wxUSE_GUI" = "yes"; then
41157 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41158 fi
41159 if test "$wxUSE_OPENGL" = "yes"; then
41160 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41161 fi
41162
41163 LDFLAGS="$LDFLAGS $PROFILE"
41164
41165 if test "$wxUSE_GTK" = 1; then
41166 WXCONFIG_INCLUDE=
41167 else
41168 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41169 fi
41170
41171 WXCONFIG_EXTRALIBS="$LIBS"
41172
41173 if test "$wxUSE_REGEX" = "builtin" ; then
41174 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41175 fi
41176 if test "$wxUSE_EXPAT" = "builtin" ; then
41177 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41178 fi
41179 if test "$wxUSE_ODBC" = "builtin" ; then
41180 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41181 fi
41182 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41183 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41184 fi
41185 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41186 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41187 fi
41188 if test "$wxUSE_LIBPNG" = "builtin" ; then
41189 wxconfig_3rdparty="png $wxconfig_3rdparty"
41190 fi
41191 if test "$wxUSE_ZLIB" = "builtin" ; then
41192 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41193 fi
41194
41195 for i in $wxconfig_3rdparty ; do
41196 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41197 done
41198
41199
41200 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41201 WXUNIV=1
41202 else
41203 WXUNIV=0
41204 fi
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214 if test $wxUSE_MONOLITHIC = "yes" ; then
41215 MONOLITHIC=1
41216 else
41217 MONOLITHIC=0
41218 fi
41219
41220 if test $wxUSE_PLUGINS = "yes" ; then
41221 USE_PLUGINS=1
41222 else
41223 USE_PLUGINS=0
41224 fi
41225
41226 if test $wxUSE_ODBC != "no" ; then
41227 USE_ODBC=1
41228 else
41229 USE_ODBC=0
41230 fi
41231
41232 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41233 USE_QA=1
41234 else
41235 USE_QA=0
41236 fi
41237
41238 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41239 OFFICIAL_BUILD=1
41240 else
41241 OFFICIAL_BUILD=0
41242 fi
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41267
41268
41269
41270
41271
41272
41273
41274
41275 case "$TOOLKIT" in
41276 GTK)
41277 TOOLKIT_USER="GTK+"
41278 if test "$WXGTK20" = 1; then
41279 TOOLKIT_USER="$TOOLKIT_USER 2"
41280 fi
41281 ;;
41282
41283 *)
41284 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41285 ;;
41286 esac
41287
41288 if test "$wxUSE_WINE" = "yes"; then
41289 BAKEFILE_FORCE_PLATFORM=win32
41290 fi
41291
41292
41293
41294
41295 if test "x$BAKEFILE_HOST" = "x"; then
41296 BAKEFILE_HOST="${host}"
41297 fi
41298
41299 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41300
41301 if test -n "$ac_tool_prefix"; then
41302 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41303 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41304 echo "$as_me:$LINENO: checking for $ac_word" >&5
41305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41306 if test "${ac_cv_prog_RANLIB+set}" = set; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 else
41309 if test -n "$RANLIB"; then
41310 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41311 else
41312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41313 for as_dir in $PATH
41314 do
41315 IFS=$as_save_IFS
41316 test -z "$as_dir" && as_dir=.
41317 for ac_exec_ext in '' $ac_executable_extensions; do
41318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41319 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41321 break 2
41322 fi
41323 done
41324 done
41325
41326 fi
41327 fi
41328 RANLIB=$ac_cv_prog_RANLIB
41329 if test -n "$RANLIB"; then
41330 echo "$as_me:$LINENO: result: $RANLIB" >&5
41331 echo "${ECHO_T}$RANLIB" >&6
41332 else
41333 echo "$as_me:$LINENO: result: no" >&5
41334 echo "${ECHO_T}no" >&6
41335 fi
41336
41337 fi
41338 if test -z "$ac_cv_prog_RANLIB"; then
41339 ac_ct_RANLIB=$RANLIB
41340 # Extract the first word of "ranlib", so it can be a program name with args.
41341 set dummy ranlib; ac_word=$2
41342 echo "$as_me:$LINENO: checking for $ac_word" >&5
41343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41344 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41345 echo $ECHO_N "(cached) $ECHO_C" >&6
41346 else
41347 if test -n "$ac_ct_RANLIB"; then
41348 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41349 else
41350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41351 for as_dir in $PATH
41352 do
41353 IFS=$as_save_IFS
41354 test -z "$as_dir" && as_dir=.
41355 for ac_exec_ext in '' $ac_executable_extensions; do
41356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41357 ac_cv_prog_ac_ct_RANLIB="ranlib"
41358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41359 break 2
41360 fi
41361 done
41362 done
41363
41364 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41365 fi
41366 fi
41367 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41368 if test -n "$ac_ct_RANLIB"; then
41369 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41370 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41371 else
41372 echo "$as_me:$LINENO: result: no" >&5
41373 echo "${ECHO_T}no" >&6
41374 fi
41375
41376 RANLIB=$ac_ct_RANLIB
41377 else
41378 RANLIB="$ac_cv_prog_RANLIB"
41379 fi
41380
41381 # Find a good install program. We prefer a C program (faster),
41382 # so one script is as good as another. But avoid the broken or
41383 # incompatible versions:
41384 # SysV /etc/install, /usr/sbin/install
41385 # SunOS /usr/etc/install
41386 # IRIX /sbin/install
41387 # AIX /bin/install
41388 # AmigaOS /C/install, which installs bootblocks on floppy discs
41389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41392 # OS/2's system install, which has a completely different semantic
41393 # ./install, which can be erroneously created by make from ./install.sh.
41394 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41395 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41396 if test -z "$INSTALL"; then
41397 if test "${ac_cv_path_install+set}" = set; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41399 else
41400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41401 for as_dir in $PATH
41402 do
41403 IFS=$as_save_IFS
41404 test -z "$as_dir" && as_dir=.
41405 # Account for people who put trailing slashes in PATH elements.
41406 case $as_dir/ in
41407 ./ | .// | /cC/* | \
41408 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41409 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41410 /usr/ucb/* ) ;;
41411 *)
41412 # OSF1 and SCO ODT 3.0 have their own names for install.
41413 # Don't use installbsd from OSF since it installs stuff as root
41414 # by default.
41415 for ac_prog in ginstall scoinst install; do
41416 for ac_exec_ext in '' $ac_executable_extensions; do
41417 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41418 if test $ac_prog = install &&
41419 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41420 # AIX install. It has an incompatible calling convention.
41421 :
41422 elif test $ac_prog = install &&
41423 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41424 # program-specific install script used by HP pwplus--don't use.
41425 :
41426 else
41427 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41428 break 3
41429 fi
41430 fi
41431 done
41432 done
41433 ;;
41434 esac
41435 done
41436
41437
41438 fi
41439 if test "${ac_cv_path_install+set}" = set; then
41440 INSTALL=$ac_cv_path_install
41441 else
41442 # As a last resort, use the slow shell script. We don't cache a
41443 # path for INSTALL within a source directory, because that will
41444 # break other packages using the cache if that directory is
41445 # removed, or if the path is relative.
41446 INSTALL=$ac_install_sh
41447 fi
41448 fi
41449 echo "$as_me:$LINENO: result: $INSTALL" >&5
41450 echo "${ECHO_T}$INSTALL" >&6
41451
41452 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41453 # It thinks the first close brace ends the variable substitution.
41454 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41455
41456 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41457
41458 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41459
41460 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41461 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41462 LN_S=$as_ln_s
41463 if test "$LN_S" = "ln -s"; then
41464 echo "$as_me:$LINENO: result: yes" >&5
41465 echo "${ECHO_T}yes" >&6
41466 else
41467 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41468 echo "${ECHO_T}no, using $LN_S" >&6
41469 fi
41470
41471
41472 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41473 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41474 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41475 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41476 echo $ECHO_N "(cached) $ECHO_C" >&6
41477 else
41478 cat >conftest.make <<\_ACEOF
41479 all:
41480 @echo 'ac_maketemp="$(MAKE)"'
41481 _ACEOF
41482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41483 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41484 if test -n "$ac_maketemp"; then
41485 eval ac_cv_prog_make_${ac_make}_set=yes
41486 else
41487 eval ac_cv_prog_make_${ac_make}_set=no
41488 fi
41489 rm -f conftest.make
41490 fi
41491 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41492 echo "$as_me:$LINENO: result: yes" >&5
41493 echo "${ECHO_T}yes" >&6
41494 SET_MAKE=
41495 else
41496 echo "$as_me:$LINENO: result: no" >&5
41497 echo "${ECHO_T}no" >&6
41498 SET_MAKE="MAKE=${MAKE-make}"
41499 fi
41500
41501
41502
41503 if test -n "$ac_tool_prefix"; then
41504 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41505 set dummy ${ac_tool_prefix}ar; ac_word=$2
41506 echo "$as_me:$LINENO: checking for $ac_word" >&5
41507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41508 if test "${ac_cv_prog_AR+set}" = set; then
41509 echo $ECHO_N "(cached) $ECHO_C" >&6
41510 else
41511 if test -n "$AR"; then
41512 ac_cv_prog_AR="$AR" # Let the user override the test.
41513 else
41514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41515 for as_dir in $PATH
41516 do
41517 IFS=$as_save_IFS
41518 test -z "$as_dir" && as_dir=.
41519 for ac_exec_ext in '' $ac_executable_extensions; do
41520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41521 ac_cv_prog_AR="${ac_tool_prefix}ar"
41522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41523 break 2
41524 fi
41525 done
41526 done
41527
41528 fi
41529 fi
41530 AR=$ac_cv_prog_AR
41531 if test -n "$AR"; then
41532 echo "$as_me:$LINENO: result: $AR" >&5
41533 echo "${ECHO_T}$AR" >&6
41534 else
41535 echo "$as_me:$LINENO: result: no" >&5
41536 echo "${ECHO_T}no" >&6
41537 fi
41538
41539 fi
41540 if test -z "$ac_cv_prog_AR"; then
41541 ac_ct_AR=$AR
41542 # Extract the first word of "ar", so it can be a program name with args.
41543 set dummy ar; ac_word=$2
41544 echo "$as_me:$LINENO: checking for $ac_word" >&5
41545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41547 echo $ECHO_N "(cached) $ECHO_C" >&6
41548 else
41549 if test -n "$ac_ct_AR"; then
41550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41551 else
41552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41553 for as_dir in $PATH
41554 do
41555 IFS=$as_save_IFS
41556 test -z "$as_dir" && as_dir=.
41557 for ac_exec_ext in '' $ac_executable_extensions; do
41558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41559 ac_cv_prog_ac_ct_AR="ar"
41560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41561 break 2
41562 fi
41563 done
41564 done
41565
41566 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41567 fi
41568 fi
41569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41570 if test -n "$ac_ct_AR"; then
41571 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41572 echo "${ECHO_T}$ac_ct_AR" >&6
41573 else
41574 echo "$as_me:$LINENO: result: no" >&5
41575 echo "${ECHO_T}no" >&6
41576 fi
41577
41578 AR=$ac_ct_AR
41579 else
41580 AR="$ac_cv_prog_AR"
41581 fi
41582
41583 if test -n "$ac_tool_prefix"; then
41584 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41585 set dummy ${ac_tool_prefix}strip; ac_word=$2
41586 echo "$as_me:$LINENO: checking for $ac_word" >&5
41587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41588 if test "${ac_cv_prog_STRIP+set}" = set; then
41589 echo $ECHO_N "(cached) $ECHO_C" >&6
41590 else
41591 if test -n "$STRIP"; then
41592 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41593 else
41594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41595 for as_dir in $PATH
41596 do
41597 IFS=$as_save_IFS
41598 test -z "$as_dir" && as_dir=.
41599 for ac_exec_ext in '' $ac_executable_extensions; do
41600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41601 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41603 break 2
41604 fi
41605 done
41606 done
41607
41608 fi
41609 fi
41610 STRIP=$ac_cv_prog_STRIP
41611 if test -n "$STRIP"; then
41612 echo "$as_me:$LINENO: result: $STRIP" >&5
41613 echo "${ECHO_T}$STRIP" >&6
41614 else
41615 echo "$as_me:$LINENO: result: no" >&5
41616 echo "${ECHO_T}no" >&6
41617 fi
41618
41619 fi
41620 if test -z "$ac_cv_prog_STRIP"; then
41621 ac_ct_STRIP=$STRIP
41622 # Extract the first word of "strip", so it can be a program name with args.
41623 set dummy strip; ac_word=$2
41624 echo "$as_me:$LINENO: checking for $ac_word" >&5
41625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41626 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41627 echo $ECHO_N "(cached) $ECHO_C" >&6
41628 else
41629 if test -n "$ac_ct_STRIP"; then
41630 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41631 else
41632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41633 for as_dir in $PATH
41634 do
41635 IFS=$as_save_IFS
41636 test -z "$as_dir" && as_dir=.
41637 for ac_exec_ext in '' $ac_executable_extensions; do
41638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41639 ac_cv_prog_ac_ct_STRIP="strip"
41640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41641 break 2
41642 fi
41643 done
41644 done
41645
41646 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41647 fi
41648 fi
41649 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41650 if test -n "$ac_ct_STRIP"; then
41651 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41652 echo "${ECHO_T}$ac_ct_STRIP" >&6
41653 else
41654 echo "$as_me:$LINENO: result: no" >&5
41655 echo "${ECHO_T}no" >&6
41656 fi
41657
41658 STRIP=$ac_ct_STRIP
41659 else
41660 STRIP="$ac_cv_prog_STRIP"
41661 fi
41662
41663 if test -n "$ac_tool_prefix"; then
41664 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41665 set dummy ${ac_tool_prefix}nm; ac_word=$2
41666 echo "$as_me:$LINENO: checking for $ac_word" >&5
41667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41668 if test "${ac_cv_prog_NM+set}" = set; then
41669 echo $ECHO_N "(cached) $ECHO_C" >&6
41670 else
41671 if test -n "$NM"; then
41672 ac_cv_prog_NM="$NM" # Let the user override the test.
41673 else
41674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41675 for as_dir in $PATH
41676 do
41677 IFS=$as_save_IFS
41678 test -z "$as_dir" && as_dir=.
41679 for ac_exec_ext in '' $ac_executable_extensions; do
41680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41681 ac_cv_prog_NM="${ac_tool_prefix}nm"
41682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41683 break 2
41684 fi
41685 done
41686 done
41687
41688 fi
41689 fi
41690 NM=$ac_cv_prog_NM
41691 if test -n "$NM"; then
41692 echo "$as_me:$LINENO: result: $NM" >&5
41693 echo "${ECHO_T}$NM" >&6
41694 else
41695 echo "$as_me:$LINENO: result: no" >&5
41696 echo "${ECHO_T}no" >&6
41697 fi
41698
41699 fi
41700 if test -z "$ac_cv_prog_NM"; then
41701 ac_ct_NM=$NM
41702 # Extract the first word of "nm", so it can be a program name with args.
41703 set dummy nm; ac_word=$2
41704 echo "$as_me:$LINENO: checking for $ac_word" >&5
41705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41706 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41707 echo $ECHO_N "(cached) $ECHO_C" >&6
41708 else
41709 if test -n "$ac_ct_NM"; then
41710 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
41711 else
41712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41713 for as_dir in $PATH
41714 do
41715 IFS=$as_save_IFS
41716 test -z "$as_dir" && as_dir=.
41717 for ac_exec_ext in '' $ac_executable_extensions; do
41718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41719 ac_cv_prog_ac_ct_NM="nm"
41720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41721 break 2
41722 fi
41723 done
41724 done
41725
41726 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
41727 fi
41728 fi
41729 ac_ct_NM=$ac_cv_prog_ac_ct_NM
41730 if test -n "$ac_ct_NM"; then
41731 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41732 echo "${ECHO_T}$ac_ct_NM" >&6
41733 else
41734 echo "$as_me:$LINENO: result: no" >&5
41735 echo "${ECHO_T}no" >&6
41736 fi
41737
41738 NM=$ac_ct_NM
41739 else
41740 NM="$ac_cv_prog_NM"
41741 fi
41742
41743
41744 case ${BAKEFILE_HOST} in
41745 *-hp-hpux* )
41746 INSTALL_DIR="mkdir -p"
41747 ;;
41748 *) INSTALL_DIR="$INSTALL -d"
41749 ;;
41750 esac
41751
41752
41753 LDFLAGS_GUI=
41754 case ${BAKEFILE_HOST} in
41755 *-*-cygwin* | *-*-mingw32* )
41756 LDFLAGS_GUI="-mwindows"
41757 esac
41758
41759
41760 fi
41761
41762 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41763 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41764 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41765 echo $ECHO_N "(cached) $ECHO_C" >&6
41766 else
41767
41768 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
41769 egrep -s GNU > /dev/null); then
41770 bakefile_cv_prog_makeisgnu="yes"
41771 else
41772 bakefile_cv_prog_makeisgnu="no"
41773 fi
41774
41775 fi
41776 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41777 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41778
41779 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41780 IF_GNU_MAKE=""
41781 else
41782 IF_GNU_MAKE="#"
41783 fi
41784
41785
41786
41787 PLATFORM_UNIX=0
41788 PLATFORM_WIN32=0
41789 PLATFORM_MSDOS=0
41790 PLATFORM_MAC=0
41791 PLATFORM_MACOS=0
41792 PLATFORM_MACOSX=0
41793 PLATFORM_OS2=0
41794 PLATFORM_BEOS=0
41795
41796 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41797 case "${BAKEFILE_HOST}" in
41798 *-*-cygwin* | *-*-mingw32* )
41799 PLATFORM_WIN32=1
41800 ;;
41801 *-pc-msdosdjgpp )
41802 PLATFORM_MSDOS=1
41803 ;;
41804 *-pc-os2_emx | *-pc-os2-emx )
41805 PLATFORM_OS2=1
41806 ;;
41807 powerpc-*-darwin* )
41808 PLATFORM_MAC=1
41809 PLATFORM_MACOSX=1
41810 ;;
41811 *-*-beos* )
41812 PLATFORM_BEOS=1
41813 ;;
41814 powerpc-apple-macos* )
41815 PLATFORM_MAC=1
41816 PLATFORM_MACOS=1
41817 ;;
41818 * )
41819 PLATFORM_UNIX=1
41820 ;;
41821 esac
41822 else
41823 case "$BAKEFILE_FORCE_PLATFORM" in
41824 win32 )
41825 PLATFORM_WIN32=1
41826 ;;
41827 msdos )
41828 PLATFORM_MSDOS=1
41829 ;;
41830 os2 )
41831 PLATFORM_OS2=1
41832 ;;
41833 darwin )
41834 PLATFORM_MAC=1
41835 PLATFORM_MACOSX=1
41836 ;;
41837 unix )
41838 PLATFORM_UNIX=1
41839 ;;
41840 beos )
41841 PLATFORM_BEOS=1
41842 ;;
41843 * )
41844 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41845 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41846 { (exit 1); exit 1; }; }
41847 ;;
41848 esac
41849 fi
41850
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861 # Check whether --enable-omf or --disable-omf was given.
41862 if test "${enable_omf+set}" = set; then
41863 enableval="$enable_omf"
41864 bk_os2_use_omf="$enableval"
41865 fi;
41866
41867 case "${BAKEFILE_HOST}" in
41868 *-*-darwin* )
41869 CFLAGS="$CFLAGS -fno-common"
41870 CXXFLAGS="$CXXFLAGS -fno-common"
41871 ;;
41872
41873 *-pc-os2_emx | *-pc-os2-emx )
41874 if test "x$bk_os2_use_omf" = "xyes" ; then
41875 AR=emxomfar
41876 RANLIB=:
41877 LDFLAGS="-Zomf $LDFLAGS"
41878 CFLAGS="-Zomf $CFLAGS"
41879 CXXFLAGS="-Zomf $CXXFLAGS"
41880 OS2_LIBEXT="lib"
41881 else
41882 OS2_LIBEXT="a"
41883 fi
41884 ;;
41885
41886 i*86-*-beos* )
41887 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41888 ;;
41889 esac
41890
41891
41892 SO_SUFFIX="so"
41893 SO_SUFFIX_MODULE="so"
41894 EXEEXT=""
41895 LIBPREFIX="lib"
41896 LIBEXT=".a"
41897 DLLPREFIX="lib"
41898 DLLPREFIX_MODULE=""
41899 DLLIMP_SUFFIX=""
41900
41901 case "${BAKEFILE_HOST}" in
41902 *-hp-hpux* )
41903 SO_SUFFIX="sl"
41904 SO_SUFFIX_MODULE="sl"
41905 ;;
41906 *-*-aix* )
41907 SO_SUFFIX="a"
41908 SO_SUFFIX_MODULE="a"
41909 ;;
41910 *-*-cygwin* | *-*-mingw32* )
41911 SO_SUFFIX="dll"
41912 SO_SUFFIX_MODULE="dll"
41913 DLLIMP_SUFFIX="dll.a"
41914 EXEEXT=".exe"
41915 DLLPREFIX=""
41916 ;;
41917 *-pc-msdosdjgpp )
41918 EXEEXT=".exe"
41919 DLLPREFIX=""
41920 ;;
41921 *-pc-os2_emx | *-pc-os2-emx )
41922 SO_SUFFIX="dll"
41923 SO_SUFFIX_MODULE="dll"
41924 DLLIMP_SUFFIX=$OS2_LIBEXT
41925 EXEEXT=".exe"
41926 DLLPREFIX=""
41927 LIBPREFIX=""
41928 LIBEXT=".$OS2_LIBEXT"
41929 ;;
41930 powerpc-*-darwin* )
41931 SO_SUFFIX="dylib"
41932 SO_SUFFIX_MODULE="bundle"
41933 ;;
41934 esac
41935
41936 if test "x$DLLIMP_SUFFIX" = "x" ; then
41937 DLLIMP_SUFFIX="$SO_SUFFIX"
41938 fi
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950 PIC_FLAG=""
41951 if test "x$GCC" = "xyes"; then
41952 PIC_FLAG="-fPIC"
41953 fi
41954
41955 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41956 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41957
41958 case "${BAKEFILE_HOST}" in
41959 *-hp-hpux* )
41960 if test "x$GCC" != "xyes"; then
41961 LDFLAGS="$LDFLAGS -L/usr/lib"
41962
41963 SHARED_LD_CC="${CC} -b -o"
41964 SHARED_LD_CXX="${CXX} -b -o"
41965 PIC_FLAG="+Z"
41966 fi
41967 ;;
41968
41969 *-*-linux* )
41970 if test "x$GCC" != "xyes"; then
41971 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41972 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41973 if test "${bakefile_cv_prog_icc+set}" = set; then
41974 echo $ECHO_N "(cached) $ECHO_C" >&6
41975 else
41976
41977 cat >conftest.$ac_ext <<_ACEOF
41978 /* confdefs.h. */
41979 _ACEOF
41980 cat confdefs.h >>conftest.$ac_ext
41981 cat >>conftest.$ac_ext <<_ACEOF
41982 /* end confdefs.h. */
41983
41984 int
41985 main ()
41986 {
41987
41988 #ifndef __INTEL_COMPILER
41989 #error Not icc
41990 #endif
41991
41992 ;
41993 return 0;
41994 }
41995 _ACEOF
41996 rm -f conftest.$ac_objext
41997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41998 (eval $ac_compile) 2>conftest.er1
41999 ac_status=$?
42000 grep -v '^ *+' conftest.er1 >conftest.err
42001 rm -f conftest.er1
42002 cat conftest.err >&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); } &&
42005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42007 (eval $ac_try) 2>&5
42008 ac_status=$?
42009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42010 (exit $ac_status); }; } &&
42011 { ac_try='test -s conftest.$ac_objext'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42014 ac_status=$?
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; }; then
42017 bakefile_cv_prog_icc=yes
42018 else
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.$ac_ext >&5
42021
42022 bakefile_cv_prog_icc=no
42023
42024 fi
42025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42026
42027 fi
42028 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42029 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42030 if test "$bakefile_cv_prog_icc" = "yes"; then
42031 PIC_FLAG="-KPIC"
42032 fi
42033 fi
42034 ;;
42035
42036 *-*-solaris2* )
42037 if test "x$GCC" != xyes ; then
42038 SHARED_LD_CC="${CC} -G -o"
42039 SHARED_LD_CXX="${CXX} -G -o"
42040 PIC_FLAG="-KPIC"
42041 fi
42042 ;;
42043
42044 *-*-darwin* )
42045
42046 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42047 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42048 if test "${wx_cv_gcc31+set}" = set; then
42049 echo $ECHO_N "(cached) $ECHO_C" >&6
42050 else
42051
42052 cat >conftest.$ac_ext <<_ACEOF
42053 /* confdefs.h. */
42054 _ACEOF
42055 cat confdefs.h >>conftest.$ac_ext
42056 cat >>conftest.$ac_ext <<_ACEOF
42057 /* end confdefs.h. */
42058
42059 int
42060 main ()
42061 {
42062
42063 #if (__GNUC__ < 3) || \
42064 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42065 #error old gcc
42066 #endif
42067
42068 ;
42069 return 0;
42070 }
42071 _ACEOF
42072 rm -f conftest.$ac_objext
42073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42074 (eval $ac_compile) 2>conftest.er1
42075 ac_status=$?
42076 grep -v '^ *+' conftest.er1 >conftest.err
42077 rm -f conftest.er1
42078 cat conftest.err >&5
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); } &&
42081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42083 (eval $ac_try) 2>&5
42084 ac_status=$?
42085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42086 (exit $ac_status); }; } &&
42087 { ac_try='test -s conftest.$ac_objext'
42088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42089 (eval $ac_try) 2>&5
42090 ac_status=$?
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); }; }; then
42093
42094 wx_cv_gcc31=yes
42095
42096 else
42097 echo "$as_me: failed program was:" >&5
42098 sed 's/^/| /' conftest.$ac_ext >&5
42099
42100
42101 wx_cv_gcc31=no
42102
42103
42104 fi
42105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42106
42107 fi
42108 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42109 echo "${ECHO_T}$wx_cv_gcc31" >&6
42110 if test "$wx_cv_gcc31" = "no"; then
42111
42112 D='$'
42113 cat <<EOF >shared-ld-sh
42114 #!/bin/sh
42115 #-----------------------------------------------------------------------------
42116 #-- Name: distrib/mac/shared-ld-sh
42117 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42118 #-- Author: Gilles Depeyrot
42119 #-- Copyright: (c) 2002 Gilles Depeyrot
42120 #-- Licence: any use permitted
42121 #-----------------------------------------------------------------------------
42122
42123 verbose=0
42124 args=""
42125 objects=""
42126 linking_flag="-dynamiclib"
42127
42128 while test ${D}# -gt 0; do
42129 case ${D}1 in
42130
42131 -v)
42132 verbose=1
42133 ;;
42134
42135 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42136 # collect these options and values
42137 args="${D}{args} ${D}1 ${D}2"
42138 shift
42139 ;;
42140
42141 -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names)
42142 # collect these options
42143 args="${D}{args} ${D}1"
42144 ;;
42145
42146 -dynamiclib|-bundle)
42147 linking_flag="${D}1"
42148 ;;
42149
42150 -*)
42151 echo "shared-ld: unhandled option '${D}1'"
42152 exit 1
42153 ;;
42154
42155 *.o | *.a | *.dylib)
42156 # collect object files
42157 objects="${D}{objects} ${D}1"
42158 ;;
42159
42160 *)
42161 echo "shared-ld: unhandled argument '${D}1'"
42162 exit 1
42163 ;;
42164
42165 esac
42166 shift
42167 done
42168
42169 #
42170 # Link one module containing all the others
42171 #
42172 if test ${D}{verbose} = 1; then
42173 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42174 fi
42175 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42176 status=${D}?
42177 if test ${D}{status} != 0; then
42178 exit ${D}{status}
42179 fi
42180
42181 #
42182 # Link the shared library from the single module created
42183 #
42184 if test ${D}{verbose} = 1; then
42185 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42186 fi
42187 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42188 status=${D}?
42189 if test ${D}{status} != 0; then
42190 exit ${D}{status}
42191 fi
42192
42193 #
42194 # Remove intermediate module
42195 #
42196 rm -f master.${D}${D}.o
42197
42198 exit 0
42199 EOF
42200
42201 chmod +x shared-ld-sh
42202
42203 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42204 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42205 SHARED_LD_CXX="$SHARED_LD_CC"
42206 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42207 else
42208 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42209 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42210 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42211 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42212 fi
42213
42214 PIC_FLAG="-dynamic -fPIC"
42215 ;;
42216
42217 *-*-aix* )
42218 if test "x$GCC" != "xyes"; then
42219 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42220 set dummy makeC++SharedLib; ac_word=$2
42221 echo "$as_me:$LINENO: checking for $ac_word" >&5
42222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42223 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42224 echo $ECHO_N "(cached) $ECHO_C" >&6
42225 else
42226 if test -n "$AIX_CXX_LD"; then
42227 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42228 else
42229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42230 for as_dir in $PATH
42231 do
42232 IFS=$as_save_IFS
42233 test -z "$as_dir" && as_dir=.
42234 for ac_exec_ext in '' $ac_executable_extensions; do
42235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42236 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42238 break 2
42239 fi
42240 done
42241 done
42242
42243 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42244 fi
42245 fi
42246 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42247 if test -n "$AIX_CXX_LD"; then
42248 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42249 echo "${ECHO_T}$AIX_CXX_LD" >&6
42250 else
42251 echo "$as_me:$LINENO: result: no" >&5
42252 echo "${ECHO_T}no" >&6
42253 fi
42254
42255 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42256 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42257 fi
42258 ;;
42259
42260 *-*-beos* )
42261 SHARED_LD_CC="${LD} -nostart -o"
42262 SHARED_LD_CXX="${LD} -nostart -o"
42263 ;;
42264
42265 *-*-irix* )
42266 if test "x$GCC" != "xyes"; then
42267 PIC_FLAG="-KPIC"
42268 fi
42269 ;;
42270
42271 *-*-cygwin* | *-*-mingw32* )
42272 PIC_FLAG=""
42273 SHARED_LD_CC="\$(CC) -shared -o"
42274 SHARED_LD_CXX="\$(CXX) -shared -o"
42275 ;;
42276
42277 *-pc-os2_emx | *-pc-os2-emx )
42278 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42279 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42280 PIC_FLAG=""
42281
42282 D='$'
42283 cat <<EOF >dllar.sh
42284 #!/bin/sh
42285 #
42286 # dllar - a tool to build both a .dll and an .a file
42287 # from a set of object (.o) files for EMX/OS2.
42288 #
42289 # Written by Andrew Zabolotny, bit@freya.etu.ru
42290 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42291 #
42292 # This script will accept a set of files on the command line.
42293 # All the public symbols from the .o files will be exported into
42294 # a .DEF file, then linker will be run (through gcc) against them to
42295 # build a shared library consisting of all given .o files. All libraries
42296 # (.a) will be first decompressed into component .o files then act as
42297 # described above. You can optionally give a description (-d "description")
42298 # which will be put into .DLL. To see the list of accepted options (as well
42299 # as command-line format) simply run this program without options. The .DLL
42300 # is built to be imported by name (there is no guarantee that new versions
42301 # of the library you build will have same ordinals for same symbols).
42302 #
42303 # dllar is free software; you can redistribute it and/or modify
42304 # it under the terms of the GNU General Public License as published by
42305 # the Free Software Foundation; either version 2, or (at your option)
42306 # any later version.
42307 #
42308 # dllar is distributed in the hope that it will be useful,
42309 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42310 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42311 # GNU General Public License for more details.
42312 #
42313 # You should have received a copy of the GNU General Public License
42314 # along with dllar; see the file COPYING. If not, write to the Free
42315 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42316 # 02111-1307, USA.
42317
42318 # To successfuly run this program you will need:
42319 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42320 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42321 # - gcc
42322 # (used to build the .dll)
42323 # - emxexp
42324 # (used to create .def file from .o files)
42325 # - emximp
42326 # (used to create .a file from .def file)
42327 # - GNU text utilites (cat, sort, uniq)
42328 # used to process emxexp output
42329 # - GNU file utilities (mv, rm)
42330 # - GNU sed
42331 # - lxlite (optional, see flag below)
42332 # (used for general .dll cleanup)
42333 #
42334
42335 flag_USE_LXLITE=1;
42336
42337 #
42338 # helper functions
42339 # basnam, variant of basename, which does _not_ remove the path, _iff_
42340 # second argument (suffix to remove) is given
42341 basnam(){
42342 case ${D}# in
42343 1)
42344 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42345 ;;
42346 2)
42347 echo ${D}1 | sed 's/'${D}2'${D}//'
42348 ;;
42349 *)
42350 echo "error in basnam ${D}*"
42351 exit 8
42352 ;;
42353 esac
42354 }
42355
42356 # Cleanup temporary files and output
42357 CleanUp() {
42358 cd ${D}curDir
42359 for i in ${D}inputFiles ; do
42360 case ${D}i in
42361 *!)
42362 rm -rf \`basnam ${D}i !\`
42363 ;;
42364 *)
42365 ;;
42366 esac
42367 done
42368
42369 # Kill result in case of failure as there is just to many stupid make/nmake
42370 # things out there which doesn't do this.
42371 if [ ${D}# -eq 0 ]; then
42372 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42373 fi
42374 }
42375
42376 # Print usage and exit script with rc=1.
42377 PrintHelp() {
42378 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42379 echo ' [-name-mangler-script script.sh]'
42380 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42381 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42382 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42383 echo ' [*.o] [*.a]'
42384 echo '*> "output_file" should have no extension.'
42385 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42386 echo ' The import library name is derived from this and is set to "name".a,'
42387 echo ' unless overridden by -import'
42388 echo '*> "importlib_name" should have no extension.'
42389 echo ' If it has the .o, or .a extension, it is automatically removed.'
42390 echo ' This name is used as the import library name and may be longer and'
42391 echo ' more descriptive than the DLL name which has to follow the old '
42392 echo ' 8.3 convention of FAT.'
42393 echo '*> "script.sh may be given to override the output_file name by a'
42394 echo ' different name. It is mainly useful if the regular make process'
42395 echo ' of some package does not take into account OS/2 restriction of'
42396 echo ' DLL name lengths. It takes the importlib name as input and is'
42397 echo ' supposed to procude a shorter name as output. The script should'
42398 echo ' expect to get importlib_name without extension and should produce'
42399 echo ' a (max.) 8 letter name without extension.'
42400 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42401 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42402 echo ' These flags will be put at the start of GCC command line.'
42403 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42404 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42405 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42406 echo ' If the last character of a symbol is "*", all symbols beginning'
42407 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42408 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42409 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42410 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42411 echo ' C runtime DLLs.'
42412 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42413 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42414 echo ' unchanged to GCC at the end of command line.'
42415 echo '*> If you create a DLL from a library and you do not specify -o,'
42416 echo ' the basename for DLL and import library will be set to library name,'
42417 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42418 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42419 echo ' library will be renamed into gcc_s.a.'
42420 echo '--------'
42421 echo 'Example:'
42422 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42423 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42424 CleanUp
42425 exit 1
42426 }
42427
42428 # Execute a command.
42429 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42430 # @Uses Whatever CleanUp() uses.
42431 doCommand() {
42432 echo "${D}*"
42433 eval ${D}*
42434 rcCmd=${D}?
42435
42436 if [ ${D}rcCmd -ne 0 ]; then
42437 echo "command failed, exit code="${D}rcCmd
42438 CleanUp
42439 exit ${D}rcCmd
42440 fi
42441 }
42442
42443 # main routine
42444 # setup globals
42445 cmdLine=${D}*
42446 outFile=""
42447 outimpFile=""
42448 inputFiles=""
42449 renameScript=""
42450 description=""
42451 CC=gcc.exe
42452 CFLAGS="-s -Zcrtdll"
42453 EXTRA_CFLAGS=""
42454 EXPORT_BY_ORDINALS=0
42455 exclude_symbols=""
42456 library_flags=""
42457 curDir=\`pwd\`
42458 curDirS=curDir
42459 case ${D}curDirS in
42460 */)
42461 ;;
42462 *)
42463 curDirS=${D}{curDirS}"/"
42464 ;;
42465 esac
42466 # Parse commandline
42467 libsToLink=0
42468 omfLinking=0
42469 while [ ${D}1 ]; do
42470 case ${D}1 in
42471 -ord*)
42472 EXPORT_BY_ORDINALS=1;
42473 ;;
42474 -o*)
42475 shift
42476 outFile=${D}1
42477 ;;
42478 -i*)
42479 shift
42480 outimpFile=${D}1
42481 ;;
42482 -name-mangler-script)
42483 shift
42484 renameScript=${D}1
42485 ;;
42486 -d*)
42487 shift
42488 description=${D}1
42489 ;;
42490 -f*)
42491 shift
42492 CFLAGS=${D}1
42493 ;;
42494 -c*)
42495 shift
42496 CC=${D}1
42497 ;;
42498 -h*)
42499 PrintHelp
42500 ;;
42501 -ex*)
42502 shift
42503 exclude_symbols=${D}{exclude_symbols}${D}1" "
42504 ;;
42505 -libf*)
42506 shift
42507 library_flags=${D}{library_flags}${D}1" "
42508 ;;
42509 -nocrt*)
42510 CFLAGS="-s"
42511 ;;
42512 -nolxl*)
42513 flag_USE_LXLITE=0
42514 ;;
42515 -* | /*)
42516 case ${D}1 in
42517 -L* | -l*)
42518 libsToLink=1
42519 ;;
42520 -Zomf)
42521 omfLinking=1
42522 ;;
42523 *)
42524 ;;
42525 esac
42526 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42527 ;;
42528 *.dll)
42529 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42530 if [ ${D}omfLinking -eq 1 ]; then
42531 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42532 else
42533 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42534 fi
42535 ;;
42536 *)
42537 found=0;
42538 if [ ${D}libsToLink -ne 0 ]; then
42539 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42540 else
42541 for file in ${D}1 ; do
42542 if [ -f ${D}file ]; then
42543 inputFiles="${D}{inputFiles} ${D}file"
42544 found=1
42545 fi
42546 done
42547 if [ ${D}found -eq 0 ]; then
42548 echo "ERROR: No file(s) found: "${D}1
42549 exit 8
42550 fi
42551 fi
42552 ;;
42553 esac
42554 shift
42555 done # iterate cmdline words
42556
42557 #
42558 if [ -z "${D}inputFiles" ]; then
42559 echo "dllar: no input files"
42560 PrintHelp
42561 fi
42562
42563 # Now extract all .o files from .a files
42564 newInputFiles=""
42565 for file in ${D}inputFiles ; do
42566 case ${D}file in
42567 *.a | *.lib)
42568 case ${D}file in
42569 *.a)
42570 suffix=".a"
42571 AR="ar"
42572 ;;
42573 *.lib)
42574 suffix=".lib"
42575 AR="emxomfar"
42576 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42577 ;;
42578 *)
42579 ;;
42580 esac
42581 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42582 mkdir ${D}dirname
42583 if [ ${D}? -ne 0 ]; then
42584 echo "Failed to create subdirectory ./${D}dirname"
42585 CleanUp
42586 exit 8;
42587 fi
42588 # Append '!' to indicate archive
42589 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42590 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42591 cd ${D}curDir
42592 found=0;
42593 for subfile in ${D}dirname/*.o* ; do
42594 if [ -f ${D}subfile ]; then
42595 found=1
42596 if [ -s ${D}subfile ]; then
42597 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42598 newInputFiles="${D}newInputFiles ${D}subfile"
42599 fi
42600 fi
42601 done
42602 if [ ${D}found -eq 0 ]; then
42603 echo "WARNING: there are no files in archive \\'${D}file\\'"
42604 fi
42605 ;;
42606 *)
42607 newInputFiles="${D}{newInputFiles} ${D}file"
42608 ;;
42609 esac
42610 done
42611 inputFiles="${D}newInputFiles"
42612
42613 # Output filename(s).
42614 do_backup=0;
42615 if [ -z ${D}outFile ]; then
42616 do_backup=1;
42617 set outFile ${D}inputFiles; outFile=${D}2
42618 fi
42619
42620 # If it is an archive, remove the '!' and the '_%' suffixes
42621 case ${D}outFile in
42622 *_%!)
42623 outFile=\`basnam ${D}outFile _%!\`
42624 ;;
42625 *)
42626 ;;
42627 esac
42628 case ${D}outFile in
42629 *.dll)
42630 outFile=\`basnam ${D}outFile .dll\`
42631 ;;
42632 *.DLL)
42633 outFile=\`basnam ${D}outFile .DLL\`
42634 ;;
42635 *.o)
42636 outFile=\`basnam ${D}outFile .o\`
42637 ;;
42638 *.obj)
42639 outFile=\`basnam ${D}outFile .obj\`
42640 ;;
42641 *.a)
42642 outFile=\`basnam ${D}outFile .a\`
42643 ;;
42644 *.lib)
42645 outFile=\`basnam ${D}outFile .lib\`
42646 ;;
42647 *)
42648 ;;
42649 esac
42650 case ${D}outimpFile in
42651 *.a)
42652 outimpFile=\`basnam ${D}outimpFile .a\`
42653 ;;
42654 *.lib)
42655 outimpFile=\`basnam ${D}outimpFile .lib\`
42656 ;;
42657 *)
42658 ;;
42659 esac
42660 if [ -z ${D}outimpFile ]; then
42661 outimpFile=${D}outFile
42662 fi
42663 defFile="${D}{outFile}.def"
42664 arcFile="${D}{outimpFile}.a"
42665 arcFile2="${D}{outimpFile}.lib"
42666
42667 #create ${D}dllFile as something matching 8.3 restrictions,
42668 if [ -z ${D}renameScript ] ; then
42669 dllFile="${D}outFile"
42670 else
42671 dllFile=\`${D}renameScript ${D}outimpFile\`
42672 fi
42673
42674 if [ ${D}do_backup -ne 0 ] ; then
42675 if [ -f ${D}arcFile ] ; then
42676 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42677 fi
42678 if [ -f ${D}arcFile2 ] ; then
42679 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42680 fi
42681 fi
42682
42683 # Extract public symbols from all the object files.
42684 tmpdefFile=${D}{defFile}_%
42685 rm -f ${D}tmpdefFile
42686 for file in ${D}inputFiles ; do
42687 case ${D}file in
42688 *!)
42689 ;;
42690 *)
42691 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42692 ;;
42693 esac
42694 done
42695
42696 # Create the def file.
42697 rm -f ${D}defFile
42698 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42699 dllFile="${D}{dllFile}.dll"
42700 if [ ! -z ${D}description ]; then
42701 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42702 fi
42703 echo "EXPORTS" >> ${D}defFile
42704
42705 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42706 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42707
42708 # Checks if the export is ok or not.
42709 for word in ${D}exclude_symbols; do
42710 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42711 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42712 done
42713
42714
42715 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42716 sed "=" < ${D}tmpdefFile | \\
42717 sed '
42718 N
42719 : loop
42720 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42721 t loop
42722 ' > ${D}{tmpdefFile}%
42723 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42724 else
42725 rm -f ${D}{tmpdefFile}%
42726 fi
42727 cat ${D}tmpdefFile >> ${D}defFile
42728 rm -f ${D}tmpdefFile
42729
42730 # Do linking, create implib, and apply lxlite.
42731 gccCmdl="";
42732 for file in ${D}inputFiles ; do
42733 case ${D}file in
42734 *!)
42735 ;;
42736 *)
42737 gccCmdl="${D}gccCmdl ${D}file"
42738 ;;
42739 esac
42740 done
42741 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42742 touch "${D}{outFile}.dll"
42743
42744 doCommand "emximp -o ${D}arcFile ${D}defFile"
42745 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42746 add_flags="";
42747 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42748 add_flags="-ynd"
42749 fi
42750 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42751 fi
42752 doCommand "emxomf -s -l ${D}arcFile"
42753
42754 # Successful exit.
42755 CleanUp 1
42756 exit 0
42757 EOF
42758
42759 chmod +x dllar.sh
42760 ;;
42761
42762 powerpc-apple-macos* | \
42763 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42764 *-*-sunos4* | \
42765 *-*-osf* | \
42766 *-*-dgux5* | \
42767 *-*-sysv5* | \
42768 *-pc-msdosdjgpp )
42769 ;;
42770
42771 *)
42772 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42773 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42774 { (exit 1); exit 1; }; }
42775 esac
42776
42777 if test "x$PIC_FLAG" != "x" ; then
42778 PIC_FLAG="$PIC_FLAG -DPIC"
42779 fi
42780
42781 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42782 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42783 fi
42784 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42785 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42786 fi
42787
42788
42789
42790
42791
42792
42793
42794
42795 USE_SOVERSION=0
42796 USE_SOVERLINUX=0
42797 USE_SOVERSOLARIS=0
42798 USE_SOSYMLINKS=0
42799 USE_MACVERSION=0
42800 SONAME_FLAG=
42801
42802 case "${BAKEFILE_HOST}" in
42803 *-*-linux* | *-*-freebsd* )
42804 SONAME_FLAG="-Wl,-soname,"
42805 USE_SOVERSION=1
42806 USE_SOVERLINUX=1
42807 USE_SOSYMLINKS=1
42808 ;;
42809
42810 *-*-solaris2* )
42811 SONAME_FLAG="-h "
42812 USE_SOVERSION=1
42813 USE_SOVERSOLARIS=1
42814 USE_SOSYMLINKS=1
42815 ;;
42816
42817 *-*-darwin* )
42818 USE_MACVERSION=1
42819 USE_SOVERSION=1
42820 USE_SOSYMLINKS=1
42821 ;;
42822 esac
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42833 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42834 DEPS_TRACKING=0
42835
42836 if test "x$GCC" = "xyes"; then
42837 DEPSMODE=gcc
42838 DEPS_TRACKING=1
42839 case "${BAKEFILE_HOST}" in
42840 powerpc-*-darwin* )
42841 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42842 ;;
42843 * )
42844 DEPSFLAG_GCC="-MMD"
42845 ;;
42846 esac
42847 echo "$as_me:$LINENO: result: gcc" >&5
42848 echo "${ECHO_T}gcc" >&6
42849 elif test "x$MWCC" = "xyes"; then
42850 DEPSMODE=mwcc
42851 DEPS_TRACKING=1
42852 DEPSFLAG_MWCC="-MM"
42853 echo "$as_me:$LINENO: result: mwcc" >&5
42854 echo "${ECHO_T}mwcc" >&6
42855 elif test "x$SUNCC" = "xyes"; then
42856 DEPSMODE=suncc
42857 DEPS_TRACKING=1
42858 DEPSFLAG_SUNCC="-xM1"
42859 echo "$as_me:$LINENO: result: suncc" >&5
42860 echo "${ECHO_T}suncc" >&6
42861 else
42862 echo "$as_me:$LINENO: result: none" >&5
42863 echo "${ECHO_T}none" >&6
42864 fi
42865
42866 if test $DEPS_TRACKING = 1 ; then
42867
42868 D='$'
42869 cat <<EOF >bk-deps
42870 #!/bin/sh
42871
42872 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42873 # script. It is used to track C/C++ files dependencies in portable way.
42874 #
42875 # Permission is given to use this file in any way.
42876
42877 DEPSMODE=${DEPSMODE}
42878 DEPSDIR=.deps
42879 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42880 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42881 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
42882
42883 mkdir -p ${D}DEPSDIR
42884
42885 if test ${D}DEPSMODE = gcc ; then
42886 ${D}* ${D}{DEPSFLAG_GCC}
42887 status=${D}?
42888 if test ${D}{status} != 0 ; then
42889 exit ${D}{status}
42890 fi
42891 # move created file to the location we want it in:
42892 while test ${D}# -gt 0; do
42893 case "${D}1" in
42894 -o )
42895 shift
42896 objfile=${D}1
42897 ;;
42898 -* )
42899 ;;
42900 * )
42901 srcfile=${D}1
42902 ;;
42903 esac
42904 shift
42905 done
42906 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42907 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42908 if test -f ${D}depfile ; then
42909 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42910 rm -f ${D}depfile
42911 else
42912 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42913 if test -f ${D}depfile ; then
42914 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42915 rm -f ${D}depfile
42916 fi
42917 fi
42918 exit 0
42919 elif test ${D}DEPSMODE = mwcc ; then
42920 ${D}*
42921 status=${D}?
42922 if test ${D}{status} != 0 ; then
42923 exit ${D}{status}
42924 fi
42925 # Run mwcc again with -MM and redirect into the dep file we want
42926 # NOTE: We can't use shift here because we need ${D}* to be valid
42927 prevarg=
42928 for arg in ${D}* ; do
42929 if test "${D}prevarg" = "-o"; then
42930 objfile=${D}arg
42931 else
42932 case "${D}arg" in
42933 -* )
42934 ;;
42935 * )
42936 srcfile=${D}arg
42937 ;;
42938 esac
42939 fi
42940 prevarg="${D}arg"
42941 done
42942 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42943 exit 0
42944 elif test ${D}DEPSMODE = suncc; then
42945 ${D}* || exit
42946 # Run compiler again with deps flag and redirect into the dep file.
42947 # It doesn't work if the '-o FILE' option is used, but without it the
42948 # dependency file will contain the wrong name for the object. So it is
42949 # removed from the command line, and the dep file is fixed with sed.
42950 cmd=""
42951 while test ${D}# -gt 0; do
42952 case "${D}1" in
42953 -o )
42954 shift
42955 objfile=${D}1
42956 ;;
42957 * )
42958 eval arg${D}#=\\${D}1
42959 cmd="${D}cmd \\${D}arg${D}#"
42960 ;;
42961 esac
42962 shift
42963 done
42964 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
42965 exit 0
42966 else
42967 ${D}*
42968 exit ${D}?
42969 fi
42970 EOF
42971
42972 chmod +x bk-deps
42973 fi
42974
42975
42976
42977
42978 RESCOMP=
42979 SETFILE=
42980
42981 case ${BAKEFILE_HOST} in
42982 *-*-cygwin* | *-*-mingw32* )
42983 if test "$build" != "$host" ; then
42984 RESCOMP=$host_alias-windres
42985 else
42986 # Extract the first word of "windres", so it can be a program name with args.
42987 set dummy windres; ac_word=$2
42988 echo "$as_me:$LINENO: checking for $ac_word" >&5
42989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42990 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42991 echo $ECHO_N "(cached) $ECHO_C" >&6
42992 else
42993 if test -n "$RESCOMP"; then
42994 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42995 else
42996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42997 for as_dir in $PATH
42998 do
42999 IFS=$as_save_IFS
43000 test -z "$as_dir" && as_dir=.
43001 for ac_exec_ext in '' $ac_executable_extensions; do
43002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43003 ac_cv_prog_RESCOMP="windres"
43004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43005 break 2
43006 fi
43007 done
43008 done
43009
43010 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
43011 fi
43012 fi
43013 RESCOMP=$ac_cv_prog_RESCOMP
43014 if test -n "$RESCOMP"; then
43015 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43016 echo "${ECHO_T}$RESCOMP" >&6
43017 else
43018 echo "$as_me:$LINENO: result: no" >&5
43019 echo "${ECHO_T}no" >&6
43020 fi
43021
43022 fi
43023 ;;
43024
43025 *-*-darwin* | powerpc-apple-macos* )
43026 # Extract the first word of "Rez", so it can be a program name with args.
43027 set dummy Rez; ac_word=$2
43028 echo "$as_me:$LINENO: checking for $ac_word" >&5
43029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43030 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43032 else
43033 if test -n "$RESCOMP"; then
43034 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43035 else
43036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43037 for as_dir in $PATH
43038 do
43039 IFS=$as_save_IFS
43040 test -z "$as_dir" && as_dir=.
43041 for ac_exec_ext in '' $ac_executable_extensions; do
43042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43043 ac_cv_prog_RESCOMP="Rez"
43044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43045 break 2
43046 fi
43047 done
43048 done
43049
43050 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43051 fi
43052 fi
43053 RESCOMP=$ac_cv_prog_RESCOMP
43054 if test -n "$RESCOMP"; then
43055 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43056 echo "${ECHO_T}$RESCOMP" >&6
43057 else
43058 echo "$as_me:$LINENO: result: no" >&5
43059 echo "${ECHO_T}no" >&6
43060 fi
43061
43062 # Extract the first word of "SetFile", so it can be a program name with args.
43063 set dummy SetFile; ac_word=$2
43064 echo "$as_me:$LINENO: checking for $ac_word" >&5
43065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43066 if test "${ac_cv_prog_SETFILE+set}" = set; then
43067 echo $ECHO_N "(cached) $ECHO_C" >&6
43068 else
43069 if test -n "$SETFILE"; then
43070 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43071 else
43072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43073 for as_dir in $PATH
43074 do
43075 IFS=$as_save_IFS
43076 test -z "$as_dir" && as_dir=.
43077 for ac_exec_ext in '' $ac_executable_extensions; do
43078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43079 ac_cv_prog_SETFILE="SetFile"
43080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43081 break 2
43082 fi
43083 done
43084 done
43085
43086 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43087 fi
43088 fi
43089 SETFILE=$ac_cv_prog_SETFILE
43090 if test -n "$SETFILE"; then
43091 echo "$as_me:$LINENO: result: $SETFILE" >&5
43092 echo "${ECHO_T}$SETFILE" >&6
43093 else
43094 echo "$as_me:$LINENO: result: no" >&5
43095 echo "${ECHO_T}no" >&6
43096 fi
43097
43098 ;;
43099 esac
43100
43101
43102
43103
43104
43105 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
43106
43107
43108 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
43109
43110
43111
43112 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43113 if test "${enable_precomp_headers+set}" = set; then
43114 enableval="$enable_precomp_headers"
43115 bk_use_pch="$enableval"
43116 fi;
43117
43118 GCC_PCH=0
43119
43120 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43121 if test "x$GCC" = "xyes"; then
43122 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43123 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43124 cat >conftest.$ac_ext <<_ACEOF
43125 /* confdefs.h. */
43126 _ACEOF
43127 cat confdefs.h >>conftest.$ac_ext
43128 cat >>conftest.$ac_ext <<_ACEOF
43129 /* end confdefs.h. */
43130
43131 int
43132 main ()
43133 {
43134
43135 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43136 #error "no pch support"
43137 #endif
43138 #if (__GNUC__ < 3)
43139 #error "no pch support"
43140 #endif
43141 #if (__GNUC__ == 3) && \
43142 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43143 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43144 #error "no pch support"
43145 #endif
43146
43147 ;
43148 return 0;
43149 }
43150 _ACEOF
43151 rm -f conftest.$ac_objext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43153 (eval $ac_compile) 2>conftest.er1
43154 ac_status=$?
43155 grep -v '^ *+' conftest.er1 >conftest.err
43156 rm -f conftest.er1
43157 cat conftest.err >&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43163 ac_status=$?
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; } &&
43166 { ac_try='test -s conftest.$ac_objext'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43169 ac_status=$?
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; }; then
43172
43173 echo "$as_me:$LINENO: result: yes" >&5
43174 echo "${ECHO_T}yes" >&6
43175 GCC_PCH=1
43176
43177 else
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.$ac_ext >&5
43180
43181
43182 echo "$as_me:$LINENO: result: no" >&5
43183 echo "${ECHO_T}no" >&6
43184
43185 fi
43186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43187 if test $GCC_PCH = 1 ; then
43188
43189 D='$'
43190 cat <<EOF >bk-make-pch
43191 #!/bin/sh
43192
43193 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43194 # script. It is used to generated precompiled headers.
43195 #
43196 # Permission is given to use this file in any way.
43197
43198 outfile="${D}{1}"
43199 header="${D}{2}"
43200 shift
43201 shift
43202
43203 compiler=
43204 headerfile=
43205 while test ${D}{#} -gt 0; do
43206 case "${D}{1}" in
43207 -I* )
43208 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43209 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43210 headerfile="${D}{incdir}/${D}{header}"
43211 fi
43212 ;;
43213 esac
43214 compiler="${D}{compiler} ${D}{1}"
43215 shift
43216 done
43217
43218 if test "x${D}{headerfile}" = "x" ; then
43219 echo "error: can't find header ${D}{header} in include paths" >2
43220 else
43221 if test -f ${D}{outfile} ; then
43222 rm -f ${D}{outfile}
43223 else
43224 mkdir -p \`dirname ${D}{outfile}\`
43225 fi
43226 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43227 mkdir -p .deps
43228 # can do this because gcc is >= 3.4:
43229 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43230 exit ${D}{?}
43231 fi
43232 EOF
43233
43234 chmod +x bk-make-pch
43235 fi
43236 fi
43237 fi
43238
43239
43240
43241 COND_BUILD_DEBUG="#"
43242 if test "x$BUILD" = "xdebug" ; then
43243 COND_BUILD_DEBUG=""
43244 fi
43245
43246 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43247 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43248 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43249 fi
43250
43251 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43252 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43253 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43254 fi
43255
43256 COND_BUILD_DEBUG_UNICODE_0="#"
43257 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43258 COND_BUILD_DEBUG_UNICODE_0=""
43259 fi
43260
43261 COND_BUILD_DEBUG_UNICODE_1="#"
43262 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43263 COND_BUILD_DEBUG_UNICODE_1=""
43264 fi
43265
43266 COND_BUILD_RELEASE="#"
43267 if test "x$BUILD" = "xrelease" ; then
43268 COND_BUILD_RELEASE=""
43269 fi
43270
43271 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43272 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43273 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43274 fi
43275
43276 COND_BUILD_RELEASE_UNICODE_0="#"
43277 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43278 COND_BUILD_RELEASE_UNICODE_0=""
43279 fi
43280
43281 COND_BUILD_RELEASE_UNICODE_1="#"
43282 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43283 COND_BUILD_RELEASE_UNICODE_1=""
43284 fi
43285
43286 COND_DEBUG_FLAG_1="#"
43287 if test "x$DEBUG_FLAG" = "x1" ; then
43288 COND_DEBUG_FLAG_1=""
43289 fi
43290
43291 COND_DEBUG_INFO_0="#"
43292 if test "x$DEBUG_INFO" = "x0" ; then
43293 COND_DEBUG_INFO_0=""
43294 fi
43295
43296 COND_DEBUG_INFO_1="#"
43297 if test "x$DEBUG_INFO" = "x1" ; then
43298 COND_DEBUG_INFO_1=""
43299 fi
43300
43301 COND_DEPS_TRACKING_0="#"
43302 if test "x$DEPS_TRACKING" = "x0" ; then
43303 COND_DEPS_TRACKING_0=""
43304 fi
43305
43306 COND_DEPS_TRACKING_1="#"
43307 if test "x$DEPS_TRACKING" = "x1" ; then
43308 COND_DEPS_TRACKING_1=""
43309 fi
43310
43311 COND_GCC_PCH_1="#"
43312 if test "x$GCC_PCH" = "x1" ; then
43313 COND_GCC_PCH_1=""
43314 fi
43315
43316 COND_MONOLITHIC_0="#"
43317 if test "x$MONOLITHIC" = "x0" ; then
43318 COND_MONOLITHIC_0=""
43319 fi
43320
43321 COND_MONOLITHIC_0_SHARED_0="#"
43322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43323 COND_MONOLITHIC_0_SHARED_0=""
43324 fi
43325
43326 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43328 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43329 fi
43330
43331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43333 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43334 fi
43335
43336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43339 fi
43340
43341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43343 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43344 fi
43345
43346 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43348 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43349 fi
43350
43351 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43353 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43354 fi
43355
43356 COND_MONOLITHIC_0_SHARED_1="#"
43357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43358 COND_MONOLITHIC_0_SHARED_1=""
43359 fi
43360
43361 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43364 fi
43365
43366 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43369 fi
43370
43371 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43374 fi
43375
43376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43379 fi
43380
43381 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43383 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43384 fi
43385
43386 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43388 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43389 fi
43390
43391 COND_MONOLITHIC_0_USE_ODBC_1="#"
43392 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43393 COND_MONOLITHIC_0_USE_ODBC_1=""
43394 fi
43395
43396 COND_MONOLITHIC_1="#"
43397 if test "x$MONOLITHIC" = "x1" ; then
43398 COND_MONOLITHIC_1=""
43399 fi
43400
43401 COND_MONOLITHIC_1_SHARED_0="#"
43402 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43403 COND_MONOLITHIC_1_SHARED_0=""
43404 fi
43405
43406 COND_MONOLITHIC_1_SHARED_1="#"
43407 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43408 COND_MONOLITHIC_1_SHARED_1=""
43409 fi
43410
43411 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43412 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43413 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43414 fi
43415
43416 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43417 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43418 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43419 fi
43420
43421 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43422 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43423 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43424 fi
43425
43426 COND_PLATFORM_MACOSX_1="#"
43427 if test "x$PLATFORM_MACOSX" = "x1" ; then
43428 COND_PLATFORM_MACOSX_1=""
43429 fi
43430
43431 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43432 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43433 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43434 fi
43435
43436 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43437 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43438 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43439 fi
43440
43441 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43442 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43443 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43444 fi
43445
43446 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43447 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43448 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
43449 fi
43450
43451 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
43452 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43453 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
43454 fi
43455
43456 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43457 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43458 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43459 fi
43460
43461 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
43462 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43463 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
43464 fi
43465
43466 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
43467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43468 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
43469 fi
43470
43471 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
43472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43473 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
43474 fi
43475
43476 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
43477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43478 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
43479 fi
43480
43481 COND_PLATFORM_MACOS_1="#"
43482 if test "x$PLATFORM_MACOS" = "x1" ; then
43483 COND_PLATFORM_MACOS_1=""
43484 fi
43485
43486 COND_PLATFORM_MAC_1="#"
43487 if test "x$PLATFORM_MAC" = "x1" ; then
43488 COND_PLATFORM_MAC_1=""
43489 fi
43490
43491 COND_PLATFORM_MSDOS_1="#"
43492 if test "x$PLATFORM_MSDOS" = "x1" ; then
43493 COND_PLATFORM_MSDOS_1=""
43494 fi
43495
43496 COND_PLATFORM_OS2_1="#"
43497 if test "x$PLATFORM_OS2" = "x1" ; then
43498 COND_PLATFORM_OS2_1=""
43499 fi
43500
43501 COND_PLATFORM_UNIX_0="#"
43502 if test "x$PLATFORM_UNIX" = "x0" ; then
43503 COND_PLATFORM_UNIX_0=""
43504 fi
43505
43506 COND_PLATFORM_UNIX_1="#"
43507 if test "x$PLATFORM_UNIX" = "x1" ; then
43508 COND_PLATFORM_UNIX_1=""
43509 fi
43510
43511 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43512 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43513 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43514 fi
43515
43516 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43517 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43518 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43519 fi
43520
43521 COND_PLATFORM_WIN32_0="#"
43522 if test "x$PLATFORM_WIN32" = "x0" ; then
43523 COND_PLATFORM_WIN32_0=""
43524 fi
43525
43526 COND_PLATFORM_WIN32_1="#"
43527 if test "x$PLATFORM_WIN32" = "x1" ; then
43528 COND_PLATFORM_WIN32_1=""
43529 fi
43530
43531 COND_SHARED_0="#"
43532 if test "x$SHARED" = "x0" ; then
43533 COND_SHARED_0=""
43534 fi
43535
43536 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43537 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43538 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43539 fi
43540
43541 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43542 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43543 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43544 fi
43545
43546 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43547 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43548 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43549 fi
43550
43551 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43552 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43553 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43554 fi
43555
43556 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43557 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43558 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43559 fi
43560
43561 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43562 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43563 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43564 fi
43565
43566 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43567 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43568 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43569 fi
43570
43571 COND_SHARED_0_USE_XRC_1="#"
43572 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43573 COND_SHARED_0_USE_XRC_1=""
43574 fi
43575
43576 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43577 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43578 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43579 fi
43580
43581 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43582 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43583 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43584 fi
43585
43586 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43587 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43588 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43589 fi
43590
43591 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43592 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43593 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43594 fi
43595
43596 COND_SHARED_1="#"
43597 if test "x$SHARED" = "x1" ; then
43598 COND_SHARED_1=""
43599 fi
43600
43601 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43602 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43603 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43604 fi
43605
43606 COND_SHARED_1_USE_XRC_1="#"
43607 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43608 COND_SHARED_1_USE_XRC_1=""
43609 fi
43610
43611 COND_TOOLKIT_="#"
43612 if test "x$TOOLKIT" = "x" ; then
43613 COND_TOOLKIT_=""
43614 fi
43615
43616 COND_TOOLKIT_COCOA="#"
43617 if test "x$TOOLKIT" = "xCOCOA" ; then
43618 COND_TOOLKIT_COCOA=""
43619 fi
43620
43621 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43622 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43623 COND_TOOLKIT_COCOA_USE_GUI_1=""
43624 fi
43625
43626 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43627 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43628 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43629 fi
43630
43631 COND_TOOLKIT_GTK="#"
43632 if test "x$TOOLKIT" = "xGTK" ; then
43633 COND_TOOLKIT_GTK=""
43634 fi
43635
43636 COND_TOOLKIT_GTK_USE_GUI_1="#"
43637 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43638 COND_TOOLKIT_GTK_USE_GUI_1=""
43639 fi
43640
43641 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43642 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43643 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43644 fi
43645
43646 COND_TOOLKIT_MAC="#"
43647 if test "x$TOOLKIT" = "xMAC" ; then
43648 COND_TOOLKIT_MAC=""
43649 fi
43650
43651 COND_TOOLKIT_MAC_USE_GUI_1="#"
43652 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43653 COND_TOOLKIT_MAC_USE_GUI_1=""
43654 fi
43655
43656 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43657 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43658 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43659 fi
43660
43661 COND_TOOLKIT_MGL="#"
43662 if test "x$TOOLKIT" = "xMGL" ; then
43663 COND_TOOLKIT_MGL=""
43664 fi
43665
43666 COND_TOOLKIT_MGL_USE_GUI_1="#"
43667 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43668 COND_TOOLKIT_MGL_USE_GUI_1=""
43669 fi
43670
43671 COND_TOOLKIT_MOTIF="#"
43672 if test "x$TOOLKIT" = "xMOTIF" ; then
43673 COND_TOOLKIT_MOTIF=""
43674 fi
43675
43676 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
43677 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43678 COND_TOOLKIT_MOTIF_USE_GUI_1=""
43679 fi
43680
43681 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
43682 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43683 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
43684 fi
43685
43686 COND_TOOLKIT_MSW="#"
43687 if test "x$TOOLKIT" = "xMSW" ; then
43688 COND_TOOLKIT_MSW=""
43689 fi
43690
43691 COND_TOOLKIT_MSW_USE_GUI_1="#"
43692 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43693 COND_TOOLKIT_MSW_USE_GUI_1=""
43694 fi
43695
43696 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
43697 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43698 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
43699 fi
43700
43701 COND_TOOLKIT_PM="#"
43702 if test "x$TOOLKIT" = "xPM" ; then
43703 COND_TOOLKIT_PM=""
43704 fi
43705
43706 COND_TOOLKIT_PM_USE_GUI_1="#"
43707 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43708 COND_TOOLKIT_PM_USE_GUI_1=""
43709 fi
43710
43711 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
43712 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
43714 fi
43715
43716 COND_TOOLKIT_WINCE="#"
43717 if test "x$TOOLKIT" = "xWINCE" ; then
43718 COND_TOOLKIT_WINCE=""
43719 fi
43720
43721 COND_TOOLKIT_WINCE_USE_GUI_1="#"
43722 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43723 COND_TOOLKIT_WINCE_USE_GUI_1=""
43724 fi
43725
43726 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
43727 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43728 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
43729 fi
43730
43731 COND_TOOLKIT_X11="#"
43732 if test "x$TOOLKIT" = "xX11" ; then
43733 COND_TOOLKIT_X11=""
43734 fi
43735
43736 COND_TOOLKIT_X11_USE_GUI_1="#"
43737 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43738 COND_TOOLKIT_X11_USE_GUI_1=""
43739 fi
43740
43741 COND_UNICODE_1="#"
43742 if test "x$UNICODE" = "x1" ; then
43743 COND_UNICODE_1=""
43744 fi
43745
43746 COND_USE_EXCEPTIONS_0="#"
43747 if test "x$USE_EXCEPTIONS" = "x0" ; then
43748 COND_USE_EXCEPTIONS_0=""
43749 fi
43750
43751 COND_USE_EXCEPTIONS_1="#"
43752 if test "x$USE_EXCEPTIONS" = "x1" ; then
43753 COND_USE_EXCEPTIONS_1=""
43754 fi
43755
43756 COND_USE_GUI_0="#"
43757 if test "x$USE_GUI" = "x0" ; then
43758 COND_USE_GUI_0=""
43759 fi
43760
43761 COND_USE_GUI_1="#"
43762 if test "x$USE_GUI" = "x1" ; then
43763 COND_USE_GUI_1=""
43764 fi
43765
43766 COND_USE_GUI_1_WXUNIV_0="#"
43767 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43768 COND_USE_GUI_1_WXUNIV_0=""
43769 fi
43770
43771 COND_USE_GUI_1_WXUNIV_1="#"
43772 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43773 COND_USE_GUI_1_WXUNIV_1=""
43774 fi
43775
43776 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43777 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43778 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43779 fi
43780
43781 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43782 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43783 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43784 fi
43785
43786 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43787 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43788 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43789 fi
43790
43791 COND_USE_ODBC_1="#"
43792 if test "x$USE_ODBC" = "x1" ; then
43793 COND_USE_ODBC_1=""
43794 fi
43795
43796 COND_USE_OPENGL_1="#"
43797 if test "x$USE_OPENGL" = "x1" ; then
43798 COND_USE_OPENGL_1=""
43799 fi
43800
43801 COND_USE_PLUGINS_0="#"
43802 if test "x$USE_PLUGINS" = "x0" ; then
43803 COND_USE_PLUGINS_0=""
43804 fi
43805
43806 COND_USE_RTTI_0="#"
43807 if test "x$USE_RTTI" = "x0" ; then
43808 COND_USE_RTTI_0=""
43809 fi
43810
43811 COND_USE_RTTI_1="#"
43812 if test "x$USE_RTTI" = "x1" ; then
43813 COND_USE_RTTI_1=""
43814 fi
43815
43816 COND_USE_SOSYMLINKS_1="#"
43817 if test "x$USE_SOSYMLINKS" = "x1" ; then
43818 COND_USE_SOSYMLINKS_1=""
43819 fi
43820
43821 COND_USE_SOVERLINUX_1="#"
43822 if test "x$USE_SOVERLINUX" = "x1" ; then
43823 COND_USE_SOVERLINUX_1=""
43824 fi
43825
43826 COND_USE_SOVERSION_0="#"
43827 if test "x$USE_SOVERSION" = "x0" ; then
43828 COND_USE_SOVERSION_0=""
43829 fi
43830
43831 COND_USE_SOVERSOLARIS_1="#"
43832 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43833 COND_USE_SOVERSOLARIS_1=""
43834 fi
43835
43836 COND_USE_THREADS_0="#"
43837 if test "x$USE_THREADS" = "x0" ; then
43838 COND_USE_THREADS_0=""
43839 fi
43840
43841 COND_USE_THREADS_1="#"
43842 if test "x$USE_THREADS" = "x1" ; then
43843 COND_USE_THREADS_1=""
43844 fi
43845
43846 COND_USE_XRC_1="#"
43847 if test "x$USE_XRC" = "x1" ; then
43848 COND_USE_XRC_1=""
43849 fi
43850
43851 COND_WITH_PLUGIN_SDL_1="#"
43852 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43853 COND_WITH_PLUGIN_SDL_1=""
43854 fi
43855
43856 COND_WXUNIV_0="#"
43857 if test "x$WXUNIV" = "x0" ; then
43858 COND_WXUNIV_0=""
43859 fi
43860
43861 COND_WXUNIV_1="#"
43862 if test "x$WXUNIV" = "x1" ; then
43863 COND_WXUNIV_1=""
43864 fi
43865
43866 COND_WXUSE_EXPAT_BUILTIN="#"
43867 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43868 COND_WXUSE_EXPAT_BUILTIN=""
43869 fi
43870
43871 COND_WXUSE_LIBJPEG_BUILTIN="#"
43872 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43873 COND_WXUSE_LIBJPEG_BUILTIN=""
43874 fi
43875
43876 COND_WXUSE_LIBPNG_BUILTIN="#"
43877 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43878 COND_WXUSE_LIBPNG_BUILTIN=""
43879 fi
43880
43881 COND_WXUSE_LIBTIFF_BUILTIN="#"
43882 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43883 COND_WXUSE_LIBTIFF_BUILTIN=""
43884 fi
43885
43886 COND_WXUSE_ODBC_BUILTIN="#"
43887 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43888 COND_WXUSE_ODBC_BUILTIN=""
43889 fi
43890
43891 COND_WXUSE_REGEX_BUILTIN="#"
43892 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43893 COND_WXUSE_REGEX_BUILTIN=""
43894 fi
43895
43896 COND_WXUSE_ZLIB_BUILTIN="#"
43897 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43898 COND_WXUSE_ZLIB_BUILTIN=""
43899 fi
43900
43901
43902
43903 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43904 { { 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
43905 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;}
43906 { (exit 1); exit 1; }; }
43907 fi
43908
43909
43910 if test "$wxUSE_WINE" = "yes"; then
43911 RESCOMP=wrc
43912 fi
43913
43914 if test "$wxUSE_SHARED" = "yes"; then
43915
43916 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43917 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43918
43919 case "${host}" in
43920 *-pc-os2_emx | *-pc-os2-emx )
43921 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43922 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43923 cp -p ${srcdir}/src/os2/dllnames.sh .
43924 cp -p ${srcdir}/src/os2/dllar.sh .
43925 ;;
43926 esac
43927 else
43928
43929 EXE_LINKER="$CXX -o"
43930
43931 fi
43932 if test "$wxUSE_OMF" = "yes"; then
43933 case "${host}" in
43934 *-pc-os2_emx | *-pc-os2-emx )
43935 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
43936 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43937 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43938 ;;
43939 esac
43940 fi
43941
43942 if test $GCC_PCH = 1 ; then
43943 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
43944 fi
43945
43946 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
43947
43948
43949 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44016 echo $ECHO_N "(cached) $ECHO_C" >&6
44017 else
44018 cat >conftest.make <<\_ACEOF
44019 all:
44020 @echo 'ac_maketemp="$(MAKE)"'
44021 _ACEOF
44022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44024 if test -n "$ac_maketemp"; then
44025 eval ac_cv_prog_make_${ac_make}_set=yes
44026 else
44027 eval ac_cv_prog_make_${ac_make}_set=no
44028 fi
44029 rm -f conftest.make
44030 fi
44031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44032 echo "$as_me:$LINENO: result: yes" >&5
44033 echo "${ECHO_T}yes" >&6
44034 SET_MAKE=
44035 else
44036 echo "$as_me:$LINENO: result: no" >&5
44037 echo "${ECHO_T}no" >&6
44038 SET_MAKE="MAKE=${MAKE-make}"
44039 fi
44040
44041
44042
44043 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44044
44045
44046 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44047
44048
44049 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44050
44051
44052 ac_config_files="$ac_config_files version-script Makefile"
44053
44054
44055 ac_config_commands="$ac_config_commands wx-config
44056 "
44057
44058
44059
44060
44061 if test "$wxUSE_GUI" = "yes"; then
44062 SUBDIRS="samples demos utils contrib"
44063 else SUBDIRS="samples utils"
44064 fi
44065
44066
44067
44068 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44069 if test "${with_cppunit_prefix+set}" = set; then
44070 withval="$with_cppunit_prefix"
44071 cppunit_config_prefix="$withval"
44072 else
44073 cppunit_config_prefix=""
44074 fi;
44075
44076 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44077 if test "${with_cppunit_exec_prefix+set}" = set; then
44078 withval="$with_cppunit_exec_prefix"
44079 cppunit_config_exec_prefix="$withval"
44080 else
44081 cppunit_config_exec_prefix=""
44082 fi;
44083
44084 if test x$cppunit_config_exec_prefix != x ; then
44085 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44086 if test x${CPPUNIT_CONFIG+set} != xset ; then
44087 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44088 fi
44089 fi
44090 if test x$cppunit_config_prefix != x ; then
44091 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44092 if test x${CPPUNIT_CONFIG+set} != xset ; then
44093 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44094 fi
44095 fi
44096
44097 # Extract the first word of "cppunit-config", so it can be a program name with args.
44098 set dummy cppunit-config; ac_word=$2
44099 echo "$as_me:$LINENO: checking for $ac_word" >&5
44100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44101 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44102 echo $ECHO_N "(cached) $ECHO_C" >&6
44103 else
44104 case $CPPUNIT_CONFIG in
44105 [\\/]* | ?:[\\/]*)
44106 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44107 ;;
44108 *)
44109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44110 for as_dir in $PATH
44111 do
44112 IFS=$as_save_IFS
44113 test -z "$as_dir" && as_dir=.
44114 for ac_exec_ext in '' $ac_executable_extensions; do
44115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44116 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44118 break 2
44119 fi
44120 done
44121 done
44122
44123 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44124 ;;
44125 esac
44126 fi
44127 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44128
44129 if test -n "$CPPUNIT_CONFIG"; then
44130 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44131 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44132 else
44133 echo "$as_me:$LINENO: result: no" >&5
44134 echo "${ECHO_T}no" >&6
44135 fi
44136
44137 cppunit_version_min=1.8.0
44138
44139 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44140 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44141 no_cppunit=""
44142 if test "$CPPUNIT_CONFIG" = "no" ; then
44143 no_cppunit=yes
44144 else
44145 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44146 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44147 cppunit_version=`$CPPUNIT_CONFIG --version`
44148
44149 cppunit_major_version=`echo $cppunit_version | \
44150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44151 cppunit_minor_version=`echo $cppunit_version | \
44152 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44153 cppunit_micro_version=`echo $cppunit_version | \
44154 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44155
44156 cppunit_major_min=`echo $cppunit_version_min | \
44157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44158 cppunit_minor_min=`echo $cppunit_version_min | \
44159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44160 cppunit_micro_min=`echo $cppunit_version_min | \
44161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44162
44163 cppunit_version_proper=`expr \
44164 $cppunit_major_version \> $cppunit_major_min \| \
44165 $cppunit_major_version \= $cppunit_major_min \& \
44166 $cppunit_minor_version \> $cppunit_minor_min \| \
44167 $cppunit_major_version \= $cppunit_major_min \& \
44168 $cppunit_minor_version \= $cppunit_minor_min \& \
44169 $cppunit_micro_version \>= $cppunit_micro_min `
44170
44171 if test "$cppunit_version_proper" = "1" ; then
44172 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44173 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44174 else
44175 echo "$as_me:$LINENO: result: no" >&5
44176 echo "${ECHO_T}no" >&6
44177 no_cppunit=yes
44178 fi
44179 fi
44180
44181 if test "x$no_cppunit" = x ; then
44182 SUBDIRS="$SUBDIRS tests"
44183 else
44184 CPPUNIT_CFLAGS=""
44185 CPPUNIT_LIBS=""
44186 :
44187 fi
44188
44189
44190
44191
44192
44193 for subdir in `echo $SUBDIRS`; do
44194 if test -d ${srcdir}/${subdir} ; then
44195 if test "$wxUSE_GUI" = "yes"; then
44196 if test ${subdir} = "samples"; then
44197 makefiles="samples/Makefile.in $makefiles"
44198 for sample in `echo $SAMPLES_SUBDIRS`; do
44199 if test -d $srcdir/samples/$sample; then
44200 makefiles="samples/$sample/Makefile.in $makefiles"
44201 fi
44202 done
44203 else
44204 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44205 eval "disabled=\$$disabled_var"
44206 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44207 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44208 fi
44209 else if test ${subdir} = "samples"; then
44210 makefiles="samples/Makefile.in samples/console/Makefile.in"
44211 elif test ${subdir} = "utils"; then
44212 makefiles=""
44213 for util in HelpGen tex2rtf ; do
44214 if test -d $srcdir/utils/$util ; then
44215 makefiles="utils/$util/Makefile.in \
44216 utils/$util/src/Makefile.in \
44217 $makefiles"
44218 fi
44219 done
44220 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44221 fi
44222 fi
44223
44224 for mkin in $makefiles ; do
44225 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44226 ac_config_files="$ac_config_files $mk"
44227
44228 done
44229 fi
44230 done
44231
44232
44233 cat >confcache <<\_ACEOF
44234 # This file is a shell script that caches the results of configure
44235 # tests run on this system so they can be shared between configure
44236 # scripts and configure runs, see configure's option --config-cache.
44237 # It is not useful on other systems. If it contains results you don't
44238 # want to keep, you may remove or edit it.
44239 #
44240 # config.status only pays attention to the cache file if you give it
44241 # the --recheck option to rerun configure.
44242 #
44243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44245 # following values.
44246
44247 _ACEOF
44248
44249 # The following way of writing the cache mishandles newlines in values,
44250 # but we know of no workaround that is simple, portable, and efficient.
44251 # So, don't put newlines in cache variables' values.
44252 # Ultrix sh set writes to stderr and can't be redirected directly,
44253 # and sets the high bit in the cache file unless we assign to the vars.
44254 {
44255 (set) 2>&1 |
44256 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44257 *ac_space=\ *)
44258 # `set' does not quote correctly, so add quotes (double-quote
44259 # substitution turns \\\\ into \\, and sed turns \\ into \).
44260 sed -n \
44261 "s/'/'\\\\''/g;
44262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44263 ;;
44264 *)
44265 # `set' quotes correctly as required by POSIX, so do not add quotes.
44266 sed -n \
44267 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44268 ;;
44269 esac;
44270 } |
44271 sed '
44272 t clear
44273 : clear
44274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44275 t end
44276 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44277 : end' >>confcache
44278 if diff $cache_file confcache >/dev/null 2>&1; then :; else
44279 if test -w $cache_file; then
44280 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44281 cat confcache >$cache_file
44282 else
44283 echo "not updating unwritable cache $cache_file"
44284 fi
44285 fi
44286 rm -f confcache
44287
44288 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44289 # Let make expand exec_prefix.
44290 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
44291
44292 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44293 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44294 # trailing colons and then remove the whole line if VPATH becomes empty
44295 # (actually we leave an empty line to preserve line numbers).
44296 if test "x$srcdir" = x.; then
44297 ac_vpsub='/^[ ]*VPATH[ ]*=/{
44298 s/:*\$(srcdir):*/:/;
44299 s/:*\${srcdir}:*/:/;
44300 s/:*@srcdir@:*/:/;
44301 s/^\([^=]*=[ ]*\):*/\1/;
44302 s/:*$//;
44303 s/^[^=]*=[ ]*$//;
44304 }'
44305 fi
44306
44307 DEFS=-DHAVE_CONFIG_H
44308
44309 ac_libobjs=
44310 ac_ltlibobjs=
44311 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44312 # 1. Remove the extension, and $U if already installed.
44313 ac_i=`echo "$ac_i" |
44314 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44315 # 2. Add them.
44316 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
44317 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
44318 done
44319 LIBOBJS=$ac_libobjs
44320
44321 LTLIBOBJS=$ac_ltlibobjs
44322
44323
44324
44325 : ${CONFIG_STATUS=./config.status}
44326 ac_clean_files_save=$ac_clean_files
44327 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44328 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44329 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44330 cat >$CONFIG_STATUS <<_ACEOF
44331 #! $SHELL
44332 # Generated by $as_me.
44333 # Run this file to recreate the current configuration.
44334 # Compiler output produced by configure, useful for debugging
44335 # configure, is in config.log if it exists.
44336
44337 debug=false
44338 ac_cs_recheck=false
44339 ac_cs_silent=false
44340 SHELL=\${CONFIG_SHELL-$SHELL}
44341 _ACEOF
44342
44343 cat >>$CONFIG_STATUS <<\_ACEOF
44344 ## --------------------- ##
44345 ## M4sh Initialization. ##
44346 ## --------------------- ##
44347
44348 # Be Bourne compatible
44349 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44350 emulate sh
44351 NULLCMD=:
44352 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44353 # is contrary to our usage. Disable this feature.
44354 alias -g '${1+"$@"}'='"$@"'
44355 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
44356 set -o posix
44357 fi
44358 DUALCASE=1; export DUALCASE # for MKS sh
44359
44360 # Support unset when possible.
44361 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
44362 as_unset=unset
44363 else
44364 as_unset=false
44365 fi
44366
44367
44368 # Work around bugs in pre-3.0 UWIN ksh.
44369 $as_unset ENV MAIL MAILPATH
44370 PS1='$ '
44371 PS2='> '
44372 PS4='+ '
44373
44374 # NLS nuisances.
44375 for as_var in \
44376 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44377 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44378 LC_TELEPHONE LC_TIME
44379 do
44380 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44381 eval $as_var=C; export $as_var
44382 else
44383 $as_unset $as_var
44384 fi
44385 done
44386
44387 # Required to use basename.
44388 if expr a : '\(a\)' >/dev/null 2>&1; then
44389 as_expr=expr
44390 else
44391 as_expr=false
44392 fi
44393
44394 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44395 as_basename=basename
44396 else
44397 as_basename=false
44398 fi
44399
44400
44401 # Name of the executable.
44402 as_me=`$as_basename "$0" ||
44403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44404 X"$0" : 'X\(//\)$' \| \
44405 X"$0" : 'X\(/\)$' \| \
44406 . : '\(.\)' 2>/dev/null ||
44407 echo X/"$0" |
44408 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44409 /^X\/\(\/\/\)$/{ s//\1/; q; }
44410 /^X\/\(\/\).*/{ s//\1/; q; }
44411 s/.*/./; q'`
44412
44413
44414 # PATH needs CR, and LINENO needs CR and PATH.
44415 # Avoid depending upon Character Ranges.
44416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44419 as_cr_digits='0123456789'
44420 as_cr_alnum=$as_cr_Letters$as_cr_digits
44421
44422 # The user is always right.
44423 if test "${PATH_SEPARATOR+set}" != set; then
44424 echo "#! /bin/sh" >conf$$.sh
44425 echo "exit 0" >>conf$$.sh
44426 chmod +x conf$$.sh
44427 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44428 PATH_SEPARATOR=';'
44429 else
44430 PATH_SEPARATOR=:
44431 fi
44432 rm -f conf$$.sh
44433 fi
44434
44435
44436 as_lineno_1=$LINENO
44437 as_lineno_2=$LINENO
44438 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44439 test "x$as_lineno_1" != "x$as_lineno_2" &&
44440 test "x$as_lineno_3" = "x$as_lineno_2" || {
44441 # Find who we are. Look in the path if we contain no path at all
44442 # relative or not.
44443 case $0 in
44444 *[\\/]* ) as_myself=$0 ;;
44445 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44446 for as_dir in $PATH
44447 do
44448 IFS=$as_save_IFS
44449 test -z "$as_dir" && as_dir=.
44450 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44451 done
44452
44453 ;;
44454 esac
44455 # We did not find ourselves, most probably we were run as `sh COMMAND'
44456 # in which case we are not to be found in the path.
44457 if test "x$as_myself" = x; then
44458 as_myself=$0
44459 fi
44460 if test ! -f "$as_myself"; then
44461 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44462 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44463 { (exit 1); exit 1; }; }
44464 fi
44465 case $CONFIG_SHELL in
44466 '')
44467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44468 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44469 do
44470 IFS=$as_save_IFS
44471 test -z "$as_dir" && as_dir=.
44472 for as_base in sh bash ksh sh5; do
44473 case $as_dir in
44474 /*)
44475 if ("$as_dir/$as_base" -c '
44476 as_lineno_1=$LINENO
44477 as_lineno_2=$LINENO
44478 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44479 test "x$as_lineno_1" != "x$as_lineno_2" &&
44480 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
44481 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
44482 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
44483 CONFIG_SHELL=$as_dir/$as_base
44484 export CONFIG_SHELL
44485 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44486 fi;;
44487 esac
44488 done
44489 done
44490 ;;
44491 esac
44492
44493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44494 # uniformly replaced by the line number. The first 'sed' inserts a
44495 # line-number line before each line; the second 'sed' does the real
44496 # work. The second script uses 'N' to pair each line-number line
44497 # with the numbered line, and appends trailing '-' during
44498 # substitution so that $LINENO is not a special case at line end.
44499 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44500 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44501 sed '=' <$as_myself |
44502 sed '
44503 N
44504 s,$,-,
44505 : loop
44506 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44507 t loop
44508 s,-$,,
44509 s,^['$as_cr_digits']*\n,,
44510 ' >$as_me.lineno &&
44511 chmod +x $as_me.lineno ||
44512 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44513 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44514 { (exit 1); exit 1; }; }
44515
44516 # Don't try to exec as it changes $[0], causing all sort of problems
44517 # (the dirname of $[0] is not the place where we might find the
44518 # original and so on. Autoconf is especially sensible to this).
44519 . ./$as_me.lineno
44520 # Exit status is that of the last command.
44521 exit
44522 }
44523
44524
44525 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44526 *c*,-n*) ECHO_N= ECHO_C='
44527 ' ECHO_T=' ' ;;
44528 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44529 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
44530 esac
44531
44532 if expr a : '\(a\)' >/dev/null 2>&1; then
44533 as_expr=expr
44534 else
44535 as_expr=false
44536 fi
44537
44538 rm -f conf$$ conf$$.exe conf$$.file
44539 echo >conf$$.file
44540 if ln -s conf$$.file conf$$ 2>/dev/null; then
44541 # We could just check for DJGPP; but this test a) works b) is more generic
44542 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44543 if test -f conf$$.exe; then
44544 # Don't use ln at all; we don't have any links
44545 as_ln_s='cp -p'
44546 else
44547 as_ln_s='ln -s'
44548 fi
44549 elif ln conf$$.file conf$$ 2>/dev/null; then
44550 as_ln_s=ln
44551 else
44552 as_ln_s='cp -p'
44553 fi
44554 rm -f conf$$ conf$$.exe conf$$.file
44555
44556 if mkdir -p . 2>/dev/null; then
44557 as_mkdir_p=:
44558 else
44559 test -d ./-p && rmdir ./-p
44560 as_mkdir_p=false
44561 fi
44562
44563 as_executable_p="test -f"
44564
44565 # Sed expression to map a string onto a valid CPP name.
44566 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44567
44568 # Sed expression to map a string onto a valid variable name.
44569 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44570
44571
44572 # IFS
44573 # We need space, tab and new line, in precisely that order.
44574 as_nl='
44575 '
44576 IFS=" $as_nl"
44577
44578 # CDPATH.
44579 $as_unset CDPATH
44580
44581 exec 6>&1
44582
44583 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44584 # report actual input values of CONFIG_FILES etc. instead of their
44585 # values after options handling. Logging --version etc. is OK.
44586 exec 5>>config.log
44587 {
44588 echo
44589 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44590 ## Running $as_me. ##
44591 _ASBOX
44592 } >&5
44593 cat >&5 <<_CSEOF
44594
44595 This file was extended by wxWidgets $as_me 2.6.1, which was
44596 generated by GNU Autoconf 2.59. Invocation command line was
44597
44598 CONFIG_FILES = $CONFIG_FILES
44599 CONFIG_HEADERS = $CONFIG_HEADERS
44600 CONFIG_LINKS = $CONFIG_LINKS
44601 CONFIG_COMMANDS = $CONFIG_COMMANDS
44602 $ $0 $@
44603
44604 _CSEOF
44605 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44606 echo >&5
44607 _ACEOF
44608
44609 # Files that config.status was made for.
44610 if test -n "$ac_config_files"; then
44611 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44612 fi
44613
44614 if test -n "$ac_config_headers"; then
44615 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44616 fi
44617
44618 if test -n "$ac_config_links"; then
44619 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44620 fi
44621
44622 if test -n "$ac_config_commands"; then
44623 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44624 fi
44625
44626 cat >>$CONFIG_STATUS <<\_ACEOF
44627
44628 ac_cs_usage="\
44629 \`$as_me' instantiates files from templates according to the
44630 current configuration.
44631
44632 Usage: $0 [OPTIONS] [FILE]...
44633
44634 -h, --help print this help, then exit
44635 -V, --version print version number, then exit
44636 -q, --quiet do not print progress messages
44637 -d, --debug don't remove temporary files
44638 --recheck update $as_me by reconfiguring in the same conditions
44639 --file=FILE[:TEMPLATE]
44640 instantiate the configuration file FILE
44641 --header=FILE[:TEMPLATE]
44642 instantiate the configuration header FILE
44643
44644 Configuration files:
44645 $config_files
44646
44647 Configuration headers:
44648 $config_headers
44649
44650 Configuration commands:
44651 $config_commands
44652
44653 Report bugs to <bug-autoconf@gnu.org>."
44654 _ACEOF
44655
44656 cat >>$CONFIG_STATUS <<_ACEOF
44657 ac_cs_version="\\
44658 wxWidgets config.status 2.6.1
44659 configured by $0, generated by GNU Autoconf 2.59,
44660 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44661
44662 Copyright (C) 2003 Free Software Foundation, Inc.
44663 This config.status script is free software; the Free Software Foundation
44664 gives unlimited permission to copy, distribute and modify it."
44665 srcdir=$srcdir
44666 INSTALL="$INSTALL"
44667 _ACEOF
44668
44669 cat >>$CONFIG_STATUS <<\_ACEOF
44670 # If no file are specified by the user, then we need to provide default
44671 # value. By we need to know if files were specified by the user.
44672 ac_need_defaults=:
44673 while test $# != 0
44674 do
44675 case $1 in
44676 --*=*)
44677 ac_option=`expr "x$1" : 'x\([^=]*\)='`
44678 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
44679 ac_shift=:
44680 ;;
44681 -*)
44682 ac_option=$1
44683 ac_optarg=$2
44684 ac_shift=shift
44685 ;;
44686 *) # This is not an option, so the user has probably given explicit
44687 # arguments.
44688 ac_option=$1
44689 ac_need_defaults=false;;
44690 esac
44691
44692 case $ac_option in
44693 # Handling of the options.
44694 _ACEOF
44695 cat >>$CONFIG_STATUS <<\_ACEOF
44696 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44697 ac_cs_recheck=: ;;
44698 --version | --vers* | -V )
44699 echo "$ac_cs_version"; exit 0 ;;
44700 --he | --h)
44701 # Conflict between --help and --header
44702 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44703 Try \`$0 --help' for more information." >&5
44704 echo "$as_me: error: ambiguous option: $1
44705 Try \`$0 --help' for more information." >&2;}
44706 { (exit 1); exit 1; }; };;
44707 --help | --hel | -h )
44708 echo "$ac_cs_usage"; exit 0 ;;
44709 --debug | --d* | -d )
44710 debug=: ;;
44711 --file | --fil | --fi | --f )
44712 $ac_shift
44713 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44714 ac_need_defaults=false;;
44715 --header | --heade | --head | --hea )
44716 $ac_shift
44717 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44718 ac_need_defaults=false;;
44719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44720 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44721 ac_cs_silent=: ;;
44722
44723 # This is an error.
44724 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44725 Try \`$0 --help' for more information." >&5
44726 echo "$as_me: error: unrecognized option: $1
44727 Try \`$0 --help' for more information." >&2;}
44728 { (exit 1); exit 1; }; } ;;
44729
44730 *) ac_config_targets="$ac_config_targets $1" ;;
44731
44732 esac
44733 shift
44734 done
44735
44736 ac_configure_extra_args=
44737
44738 if $ac_cs_silent; then
44739 exec 6>/dev/null
44740 ac_configure_extra_args="$ac_configure_extra_args --silent"
44741 fi
44742
44743 _ACEOF
44744 cat >>$CONFIG_STATUS <<_ACEOF
44745 if \$ac_cs_recheck; then
44746 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44747 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44748 fi
44749
44750 _ACEOF
44751
44752 cat >>$CONFIG_STATUS <<_ACEOF
44753 #
44754 # INIT-COMMANDS section.
44755 #
44756
44757 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44758 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44759 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44760 LN_S="${LN_S}"
44761
44762
44763 _ACEOF
44764
44765
44766
44767 cat >>$CONFIG_STATUS <<\_ACEOF
44768 for ac_config_target in $ac_config_targets
44769 do
44770 case "$ac_config_target" in
44771 # Handling of arguments.
44772 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44773 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44774 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44775 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44776 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44777 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44778 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44779 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44780 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44781 { (exit 1); exit 1; }; };;
44782 esac
44783 done
44784
44785 # If the user did not use the arguments to specify the items to instantiate,
44786 # then the envvar interface is used. Set only those that are not.
44787 # We use the long form for the default assignment because of an extremely
44788 # bizarre bug on SunOS 4.1.3.
44789 if $ac_need_defaults; then
44790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44791 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44792 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44793 fi
44794
44795 # Have a temporary directory for convenience. Make it in the build tree
44796 # simply because there is no reason to put it here, and in addition,
44797 # creating and moving files from /tmp can sometimes cause problems.
44798 # Create a temporary directory, and hook for its removal unless debugging.
44799 $debug ||
44800 {
44801 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44802 trap '{ (exit 1); exit 1; }' 1 2 13 15
44803 }
44804
44805 # Create a (secure) tmp directory for tmp files.
44806
44807 {
44808 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44809 test -n "$tmp" && test -d "$tmp"
44810 } ||
44811 {
44812 tmp=./confstat$$-$RANDOM
44813 (umask 077 && mkdir $tmp)
44814 } ||
44815 {
44816 echo "$me: cannot create a temporary directory in ." >&2
44817 { (exit 1); exit 1; }
44818 }
44819
44820 _ACEOF
44821
44822 cat >>$CONFIG_STATUS <<_ACEOF
44823
44824 #
44825 # CONFIG_FILES section.
44826 #
44827
44828 # No need to generate the scripts if there are no CONFIG_FILES.
44829 # This happens for instance when ./config.status config.h
44830 if test -n "\$CONFIG_FILES"; then
44831 # Protect against being on the right side of a sed subst in config.status.
44832 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44833 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44834 s,@SHELL@,$SHELL,;t t
44835 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44836 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44837 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44838 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44839 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44840 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44841 s,@exec_prefix@,$exec_prefix,;t t
44842 s,@prefix@,$prefix,;t t
44843 s,@program_transform_name@,$program_transform_name,;t t
44844 s,@bindir@,$bindir,;t t
44845 s,@sbindir@,$sbindir,;t t
44846 s,@libexecdir@,$libexecdir,;t t
44847 s,@datadir@,$datadir,;t t
44848 s,@sysconfdir@,$sysconfdir,;t t
44849 s,@sharedstatedir@,$sharedstatedir,;t t
44850 s,@localstatedir@,$localstatedir,;t t
44851 s,@libdir@,$libdir,;t t
44852 s,@includedir@,$includedir,;t t
44853 s,@oldincludedir@,$oldincludedir,;t t
44854 s,@infodir@,$infodir,;t t
44855 s,@mandir@,$mandir,;t t
44856 s,@build_alias@,$build_alias,;t t
44857 s,@host_alias@,$host_alias,;t t
44858 s,@target_alias@,$target_alias,;t t
44859 s,@DEFS@,$DEFS,;t t
44860 s,@ECHO_C@,$ECHO_C,;t t
44861 s,@ECHO_N@,$ECHO_N,;t t
44862 s,@ECHO_T@,$ECHO_T,;t t
44863 s,@LIBS@,$LIBS,;t t
44864 s,@build@,$build,;t t
44865 s,@build_cpu@,$build_cpu,;t t
44866 s,@build_vendor@,$build_vendor,;t t
44867 s,@build_os@,$build_os,;t t
44868 s,@host@,$host,;t t
44869 s,@host_cpu@,$host_cpu,;t t
44870 s,@host_vendor@,$host_vendor,;t t
44871 s,@host_os@,$host_os,;t t
44872 s,@target@,$target,;t t
44873 s,@target_cpu@,$target_cpu,;t t
44874 s,@target_vendor@,$target_vendor,;t t
44875 s,@target_os@,$target_os,;t t
44876 s,@CC@,$CC,;t t
44877 s,@CFLAGS@,$CFLAGS,;t t
44878 s,@LDFLAGS@,$LDFLAGS,;t t
44879 s,@CPPFLAGS@,$CPPFLAGS,;t t
44880 s,@ac_ct_CC@,$ac_ct_CC,;t t
44881 s,@EXEEXT@,$EXEEXT,;t t
44882 s,@OBJEXT@,$OBJEXT,;t t
44883 s,@CPP@,$CPP,;t t
44884 s,@EGREP@,$EGREP,;t t
44885 s,@CXX@,$CXX,;t t
44886 s,@CXXFLAGS@,$CXXFLAGS,;t t
44887 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44888 s,@RANLIB@,$RANLIB,;t t
44889 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44890 s,@AR@,$AR,;t t
44891 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44892 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44893 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44894 s,@STRIP@,$STRIP,;t t
44895 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44896 s,@LN_S@,$LN_S,;t t
44897 s,@CXXCPP@,$CXXCPP,;t t
44898 s,@subdirs@,$subdirs,;t t
44899 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44900 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44901 s,@GTK_LIBS@,$GTK_LIBS,;t t
44902 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44903 s,@X_CFLAGS@,$X_CFLAGS,;t t
44904 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44905 s,@X_LIBS@,$X_LIBS,;t t
44906 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44907 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44908 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44909 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44910 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44911 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44912 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44913 s,@RESCOMP@,$RESCOMP,;t t
44914 s,@DEREZ@,$DEREZ,;t t
44915 s,@SETFILE@,$SETFILE,;t t
44916 s,@LIBICONV@,$LIBICONV,;t t
44917 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44918 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44919 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44920 s,@SDL_LIBS@,$SDL_LIBS,;t t
44921 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44922 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44923 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44924 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44925 s,@GST_INSPECT@,$GST_INSPECT,;t t
44926 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44927 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44928 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44929 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44930 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44931 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44932 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44933 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44934 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44935 s,@VENDOR@,$VENDOR,;t t
44936 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44937 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44938 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44939 s,@WXUNIV@,$WXUNIV,;t t
44940 s,@MONOLITHIC@,$MONOLITHIC,;t t
44941 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44942 s,@EXTRALIBS@,$EXTRALIBS,;t t
44943 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44944 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44945 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44946 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44947 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44948 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44949 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44950 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44951 s,@UNICODE@,$UNICODE,;t t
44952 s,@BUILD@,$BUILD,;t t
44953 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44954 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44955 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44956 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44957 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44958 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44959 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44960 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44961 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44962 s,@SET_MAKE@,$SET_MAKE,;t t
44963 s,@MAKE_SET@,$MAKE_SET,;t t
44964 s,@ac_ct_AR@,$ac_ct_AR,;t t
44965 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44966 s,@NM@,$NM,;t t
44967 s,@ac_ct_NM@,$ac_ct_NM,;t t
44968 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44969 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44970 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44971 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44972 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44973 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44974 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44975 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44976 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44977 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44978 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44979 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44980 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44981 s,@LIBPREFIX@,$LIBPREFIX,;t t
44982 s,@LIBEXT@,$LIBEXT,;t t
44983 s,@DLLPREFIX@,$DLLPREFIX,;t t
44984 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44985 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44986 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44987 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44988 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44989 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44990 s,@PIC_FLAG@,$PIC_FLAG,;t t
44991 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44992 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44993 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44994 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44995 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44996 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44997 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44998 s,@GCC_PCH@,$GCC_PCH,;t t
44999 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45000 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45001 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45002 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45003 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45004 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45005 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45006 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45007 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45008 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45009 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45010 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45011 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45012 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45013 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45014 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45015 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45016 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45017 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
45018 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
45019 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
45020 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45021 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45022 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45023 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45024 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
45025 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
45026 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
45027 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45028 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45029 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45030 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45031 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45032 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45033 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45034 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45035 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45036 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45037 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45038 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45039 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45040 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45041 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45042 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
45043 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45044 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45045 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45046 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45047 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45048 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45049 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45050 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45051 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45052 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45053 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45054 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45055 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45056 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45057 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45058 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45059 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45060 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45061 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45062 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45063 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45064 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45065 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45066 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45067 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45068 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45069 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45070 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45071 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45072 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45073 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45074 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45075 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45076 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45077 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45078 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45079 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45080 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45081 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45082 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45083 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45084 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45085 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45086 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45087 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45088 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45089 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45090 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45091 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45092 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45093 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45094 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45095 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45096 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45097 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45098 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45099 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45100 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45101 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45102 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45103 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45104 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45105 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45106 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45107 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45108 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45109 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45110 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45111 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45112 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45113 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45114 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45115 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45116 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45117 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45118 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45119 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45120 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45121 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45122 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45123 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45124 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45125 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45126 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45127 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45128 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45129 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45130 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45131 s,@SHARED@,$SHARED,;t t
45132 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45133 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45134 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45135 s,@USE_GUI@,$USE_GUI,;t t
45136 s,@AFMINSTALL@,$AFMINSTALL,;t t
45137 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45138 s,@TOOLKIT@,$TOOLKIT,;t t
45139 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45140 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45141 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45142 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45143 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45144 s,@cross_compiling@,$cross_compiling,;t t
45145 s,@WIDGET_SET@,$WIDGET_SET,;t t
45146 s,@WX_RELEASE@,$WX_RELEASE,;t t
45147 s,@WX_VERSION@,$WX_VERSION,;t t
45148 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45149 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45150 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45151 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45152 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45153 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45154 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45155 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45156 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45157 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45158 s,@EXE_LINKER@,$EXE_LINKER,;t t
45159 s,@GUIDIST@,$GUIDIST,;t t
45160 s,@DISTDIR@,$DISTDIR,;t t
45161 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45162 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45163 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45164 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45165 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45166 s,@RESFLAGS@,$RESFLAGS,;t t
45167 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45168 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45169 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45170 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45171 s,@MACRESCOMP@,$MACRESCOMP,;t t
45172 s,@MACSETFILE@,$MACSETFILE,;t t
45173 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45174 s,@GCC@,$GCC,;t t
45175 s,@DLLTOOL@,$DLLTOOL,;t t
45176 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45177 s,@LIBOBJS@,$LIBOBJS,;t t
45178 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45179 CEOF
45180
45181 _ACEOF
45182
45183 cat >>$CONFIG_STATUS <<\_ACEOF
45184 # Split the substitutions into bite-sized pieces for seds with
45185 # small command number limits, like on Digital OSF/1 and HP-UX.
45186 ac_max_sed_lines=48
45187 ac_sed_frag=1 # Number of current file.
45188 ac_beg=1 # First line for current file.
45189 ac_end=$ac_max_sed_lines # Line after last line for current file.
45190 ac_more_lines=:
45191 ac_sed_cmds=
45192 while $ac_more_lines; do
45193 if test $ac_beg -gt 1; then
45194 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45195 else
45196 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45197 fi
45198 if test ! -s $tmp/subs.frag; then
45199 ac_more_lines=false
45200 else
45201 # The purpose of the label and of the branching condition is to
45202 # speed up the sed processing (if there are no `@' at all, there
45203 # is no need to browse any of the substitutions).
45204 # These are the two extra sed commands mentioned above.
45205 (echo ':t
45206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45207 if test -z "$ac_sed_cmds"; then
45208 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45209 else
45210 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45211 fi
45212 ac_sed_frag=`expr $ac_sed_frag + 1`
45213 ac_beg=$ac_end
45214 ac_end=`expr $ac_end + $ac_max_sed_lines`
45215 fi
45216 done
45217 if test -z "$ac_sed_cmds"; then
45218 ac_sed_cmds=cat
45219 fi
45220 fi # test -n "$CONFIG_FILES"
45221
45222 _ACEOF
45223 cat >>$CONFIG_STATUS <<\_ACEOF
45224 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45225 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45226 case $ac_file in
45227 - | *:- | *:-:* ) # input from stdin
45228 cat >$tmp/stdin
45229 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45230 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45231 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45232 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45233 * ) ac_file_in=$ac_file.in ;;
45234 esac
45235
45236 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45237 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45239 X"$ac_file" : 'X\(//\)[^/]' \| \
45240 X"$ac_file" : 'X\(//\)$' \| \
45241 X"$ac_file" : 'X\(/\)' \| \
45242 . : '\(.\)' 2>/dev/null ||
45243 echo X"$ac_file" |
45244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45246 /^X\(\/\/\)$/{ s//\1/; q; }
45247 /^X\(\/\).*/{ s//\1/; q; }
45248 s/.*/./; q'`
45249 { if $as_mkdir_p; then
45250 mkdir -p "$ac_dir"
45251 else
45252 as_dir="$ac_dir"
45253 as_dirs=
45254 while test ! -d "$as_dir"; do
45255 as_dirs="$as_dir $as_dirs"
45256 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45258 X"$as_dir" : 'X\(//\)[^/]' \| \
45259 X"$as_dir" : 'X\(//\)$' \| \
45260 X"$as_dir" : 'X\(/\)' \| \
45261 . : '\(.\)' 2>/dev/null ||
45262 echo X"$as_dir" |
45263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45265 /^X\(\/\/\)$/{ s//\1/; q; }
45266 /^X\(\/\).*/{ s//\1/; q; }
45267 s/.*/./; q'`
45268 done
45269 test ! -n "$as_dirs" || mkdir $as_dirs
45270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45272 { (exit 1); exit 1; }; }; }
45273
45274 ac_builddir=.
45275
45276 if test "$ac_dir" != .; then
45277 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45278 # A "../" for each directory in $ac_dir_suffix.
45279 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45280 else
45281 ac_dir_suffix= ac_top_builddir=
45282 fi
45283
45284 case $srcdir in
45285 .) # No --srcdir option. We are building in place.
45286 ac_srcdir=.
45287 if test -z "$ac_top_builddir"; then
45288 ac_top_srcdir=.
45289 else
45290 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45291 fi ;;
45292 [\\/]* | ?:[\\/]* ) # Absolute path.
45293 ac_srcdir=$srcdir$ac_dir_suffix;
45294 ac_top_srcdir=$srcdir ;;
45295 *) # Relative path.
45296 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45297 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45298 esac
45299
45300 # Do not use `cd foo && pwd` to compute absolute paths, because
45301 # the directories may not exist.
45302 case `pwd` in
45303 .) ac_abs_builddir="$ac_dir";;
45304 *)
45305 case "$ac_dir" in
45306 .) ac_abs_builddir=`pwd`;;
45307 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45308 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45309 esac;;
45310 esac
45311 case $ac_abs_builddir in
45312 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45313 *)
45314 case ${ac_top_builddir}. in
45315 .) ac_abs_top_builddir=$ac_abs_builddir;;
45316 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45317 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45318 esac;;
45319 esac
45320 case $ac_abs_builddir in
45321 .) ac_abs_srcdir=$ac_srcdir;;
45322 *)
45323 case $ac_srcdir in
45324 .) ac_abs_srcdir=$ac_abs_builddir;;
45325 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45326 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45327 esac;;
45328 esac
45329 case $ac_abs_builddir in
45330 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45331 *)
45332 case $ac_top_srcdir in
45333 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45334 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45335 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45336 esac;;
45337 esac
45338
45339
45340 case $INSTALL in
45341 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45342 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45343 esac
45344
45345 # Let's still pretend it is `configure' which instantiates (i.e., don't
45346 # use $as_me), people would be surprised to read:
45347 # /* config.h. Generated by config.status. */
45348 if test x"$ac_file" = x-; then
45349 configure_input=
45350 else
45351 configure_input="$ac_file. "
45352 fi
45353 configure_input=$configure_input"Generated from `echo $ac_file_in |
45354 sed 's,.*/,,'` by configure."
45355
45356 # First look for the input files in the build tree, otherwise in the
45357 # src tree.
45358 ac_file_inputs=`IFS=:
45359 for f in $ac_file_in; do
45360 case $f in
45361 -) echo $tmp/stdin ;;
45362 [\\/$]*)
45363 # Absolute (can't be DOS-style, as IFS=:)
45364 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45365 echo "$as_me: error: cannot find input file: $f" >&2;}
45366 { (exit 1); exit 1; }; }
45367 echo "$f";;
45368 *) # Relative
45369 if test -f "$f"; then
45370 # Build tree
45371 echo "$f"
45372 elif test -f "$srcdir/$f"; then
45373 # Source tree
45374 echo "$srcdir/$f"
45375 else
45376 # /dev/null tree
45377 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45378 echo "$as_me: error: cannot find input file: $f" >&2;}
45379 { (exit 1); exit 1; }; }
45380 fi;;
45381 esac
45382 done` || { (exit 1); exit 1; }
45383
45384 if test x"$ac_file" != x-; then
45385 { echo "$as_me:$LINENO: creating $ac_file" >&5
45386 echo "$as_me: creating $ac_file" >&6;}
45387 rm -f "$ac_file"
45388 fi
45389 _ACEOF
45390 cat >>$CONFIG_STATUS <<_ACEOF
45391 sed "$ac_vpsub
45392 $extrasub
45393 _ACEOF
45394 cat >>$CONFIG_STATUS <<\_ACEOF
45395 :t
45396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45397 s,@configure_input@,$configure_input,;t t
45398 s,@srcdir@,$ac_srcdir,;t t
45399 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45400 s,@top_srcdir@,$ac_top_srcdir,;t t
45401 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45402 s,@builddir@,$ac_builddir,;t t
45403 s,@abs_builddir@,$ac_abs_builddir,;t t
45404 s,@top_builddir@,$ac_top_builddir,;t t
45405 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45406 s,@INSTALL@,$ac_INSTALL,;t t
45407 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45408 rm -f $tmp/stdin
45409 if test x"$ac_file" != x-; then
45410 mv $tmp/out $ac_file
45411 else
45412 cat $tmp/out
45413 rm -f $tmp/out
45414 fi
45415
45416 # Run the commands associated with the file.
45417 case $ac_file in
45418 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45419 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45420 esac
45421 done
45422 _ACEOF
45423 cat >>$CONFIG_STATUS <<\_ACEOF
45424
45425 #
45426 # CONFIG_HEADER section.
45427 #
45428
45429 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45430 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45431 #
45432 # ac_d sets the value in "#define NAME VALUE" lines.
45433 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45434 ac_dB='[ ].*$,\1#\2'
45435 ac_dC=' '
45436 ac_dD=',;t'
45437 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45438 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45439 ac_uB='$,\1#\2define\3'
45440 ac_uC=' '
45441 ac_uD=',;t'
45442
45443 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45445 case $ac_file in
45446 - | *:- | *:-:* ) # input from stdin
45447 cat >$tmp/stdin
45448 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45449 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45450 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45451 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45452 * ) ac_file_in=$ac_file.in ;;
45453 esac
45454
45455 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45456 echo "$as_me: creating $ac_file" >&6;}
45457
45458 # First look for the input files in the build tree, otherwise in the
45459 # src tree.
45460 ac_file_inputs=`IFS=:
45461 for f in $ac_file_in; do
45462 case $f in
45463 -) echo $tmp/stdin ;;
45464 [\\/$]*)
45465 # Absolute (can't be DOS-style, as IFS=:)
45466 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45467 echo "$as_me: error: cannot find input file: $f" >&2;}
45468 { (exit 1); exit 1; }; }
45469 # Do quote $f, to prevent DOS paths from being IFS'd.
45470 echo "$f";;
45471 *) # Relative
45472 if test -f "$f"; then
45473 # Build tree
45474 echo "$f"
45475 elif test -f "$srcdir/$f"; then
45476 # Source tree
45477 echo "$srcdir/$f"
45478 else
45479 # /dev/null tree
45480 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45481 echo "$as_me: error: cannot find input file: $f" >&2;}
45482 { (exit 1); exit 1; }; }
45483 fi;;
45484 esac
45485 done` || { (exit 1); exit 1; }
45486 # Remove the trailing spaces.
45487 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45488
45489 _ACEOF
45490
45491 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45492 # `conftest.undefs', that substitutes the proper values into
45493 # config.h.in to produce config.h. The first handles `#define'
45494 # templates, and the second `#undef' templates.
45495 # And first: Protect against being on the right side of a sed subst in
45496 # config.status. Protect against being in an unquoted here document
45497 # in config.status.
45498 rm -f conftest.defines conftest.undefs
45499 # Using a here document instead of a string reduces the quoting nightmare.
45500 # Putting comments in sed scripts is not portable.
45501 #
45502 # `end' is used to avoid that the second main sed command (meant for
45503 # 0-ary CPP macros) applies to n-ary macro definitions.
45504 # See the Autoconf documentation for `clear'.
45505 cat >confdef2sed.sed <<\_ACEOF
45506 s/[\\&,]/\\&/g
45507 s,[\\$`],\\&,g
45508 t clear
45509 : clear
45510 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45511 t end
45512 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45513 : end
45514 _ACEOF
45515 # If some macros were called several times there might be several times
45516 # the same #defines, which is useless. Nevertheless, we may not want to
45517 # sort them, since we want the *last* AC-DEFINE to be honored.
45518 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45519 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45520 rm -f confdef2sed.sed
45521
45522 # This sed command replaces #undef with comments. This is necessary, for
45523 # example, in the case of _POSIX_SOURCE, which is predefined and required
45524 # on some systems where configure will not decide to define it.
45525 cat >>conftest.undefs <<\_ACEOF
45526 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45527 _ACEOF
45528
45529 # Break up conftest.defines because some shells have a limit on the size
45530 # of here documents, and old seds have small limits too (100 cmds).
45531 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45532 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45533 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45534 echo ' :' >>$CONFIG_STATUS
45535 rm -f conftest.tail
45536 while grep . conftest.defines >/dev/null
45537 do
45538 # Write a limited-size here document to $tmp/defines.sed.
45539 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45540 # Speed up: don't consider the non `#define' lines.
45541 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45542 # Work around the forget-to-reset-the-flag bug.
45543 echo 't clr' >>$CONFIG_STATUS
45544 echo ': clr' >>$CONFIG_STATUS
45545 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45546 echo 'CEOF
45547 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45548 rm -f $tmp/in
45549 mv $tmp/out $tmp/in
45550 ' >>$CONFIG_STATUS
45551 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45552 rm -f conftest.defines
45553 mv conftest.tail conftest.defines
45554 done
45555 rm -f conftest.defines
45556 echo ' fi # grep' >>$CONFIG_STATUS
45557 echo >>$CONFIG_STATUS
45558
45559 # Break up conftest.undefs because some shells have a limit on the size
45560 # of here documents, and old seds have small limits too (100 cmds).
45561 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45562 rm -f conftest.tail
45563 while grep . conftest.undefs >/dev/null
45564 do
45565 # Write a limited-size here document to $tmp/undefs.sed.
45566 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45567 # Speed up: don't consider the non `#undef'
45568 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45569 # Work around the forget-to-reset-the-flag bug.
45570 echo 't clr' >>$CONFIG_STATUS
45571 echo ': clr' >>$CONFIG_STATUS
45572 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45573 echo 'CEOF
45574 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45575 rm -f $tmp/in
45576 mv $tmp/out $tmp/in
45577 ' >>$CONFIG_STATUS
45578 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45579 rm -f conftest.undefs
45580 mv conftest.tail conftest.undefs
45581 done
45582 rm -f conftest.undefs
45583
45584 cat >>$CONFIG_STATUS <<\_ACEOF
45585 # Let's still pretend it is `configure' which instantiates (i.e., don't
45586 # use $as_me), people would be surprised to read:
45587 # /* config.h. Generated by config.status. */
45588 if test x"$ac_file" = x-; then
45589 echo "/* Generated by configure. */" >$tmp/config.h
45590 else
45591 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45592 fi
45593 cat $tmp/in >>$tmp/config.h
45594 rm -f $tmp/in
45595 if test x"$ac_file" != x-; then
45596 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
45597 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45598 echo "$as_me: $ac_file is unchanged" >&6;}
45599 else
45600 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45601 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45602 X"$ac_file" : 'X\(//\)[^/]' \| \
45603 X"$ac_file" : 'X\(//\)$' \| \
45604 X"$ac_file" : 'X\(/\)' \| \
45605 . : '\(.\)' 2>/dev/null ||
45606 echo X"$ac_file" |
45607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45608 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45609 /^X\(\/\/\)$/{ s//\1/; q; }
45610 /^X\(\/\).*/{ s//\1/; q; }
45611 s/.*/./; q'`
45612 { if $as_mkdir_p; then
45613 mkdir -p "$ac_dir"
45614 else
45615 as_dir="$ac_dir"
45616 as_dirs=
45617 while test ! -d "$as_dir"; do
45618 as_dirs="$as_dir $as_dirs"
45619 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45621 X"$as_dir" : 'X\(//\)[^/]' \| \
45622 X"$as_dir" : 'X\(//\)$' \| \
45623 X"$as_dir" : 'X\(/\)' \| \
45624 . : '\(.\)' 2>/dev/null ||
45625 echo X"$as_dir" |
45626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45628 /^X\(\/\/\)$/{ s//\1/; q; }
45629 /^X\(\/\).*/{ s//\1/; q; }
45630 s/.*/./; q'`
45631 done
45632 test ! -n "$as_dirs" || mkdir $as_dirs
45633 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45635 { (exit 1); exit 1; }; }; }
45636
45637 rm -f $ac_file
45638 mv $tmp/config.h $ac_file
45639 fi
45640 else
45641 cat $tmp/config.h
45642 rm -f $tmp/config.h
45643 fi
45644 done
45645 _ACEOF
45646 cat >>$CONFIG_STATUS <<\_ACEOF
45647
45648 #
45649 # CONFIG_COMMANDS section.
45650 #
45651 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
45652 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
45653 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45654 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
45655 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45656 X"$ac_dest" : 'X\(//\)[^/]' \| \
45657 X"$ac_dest" : 'X\(//\)$' \| \
45658 X"$ac_dest" : 'X\(/\)' \| \
45659 . : '\(.\)' 2>/dev/null ||
45660 echo X"$ac_dest" |
45661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45663 /^X\(\/\/\)$/{ s//\1/; q; }
45664 /^X\(\/\).*/{ s//\1/; q; }
45665 s/.*/./; q'`
45666 { if $as_mkdir_p; then
45667 mkdir -p "$ac_dir"
45668 else
45669 as_dir="$ac_dir"
45670 as_dirs=
45671 while test ! -d "$as_dir"; do
45672 as_dirs="$as_dir $as_dirs"
45673 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45675 X"$as_dir" : 'X\(//\)[^/]' \| \
45676 X"$as_dir" : 'X\(//\)$' \| \
45677 X"$as_dir" : 'X\(/\)' \| \
45678 . : '\(.\)' 2>/dev/null ||
45679 echo X"$as_dir" |
45680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45682 /^X\(\/\/\)$/{ s//\1/; q; }
45683 /^X\(\/\).*/{ s//\1/; q; }
45684 s/.*/./; q'`
45685 done
45686 test ! -n "$as_dirs" || mkdir $as_dirs
45687 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45688 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45689 { (exit 1); exit 1; }; }; }
45690
45691 ac_builddir=.
45692
45693 if test "$ac_dir" != .; then
45694 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45695 # A "../" for each directory in $ac_dir_suffix.
45696 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45697 else
45698 ac_dir_suffix= ac_top_builddir=
45699 fi
45700
45701 case $srcdir in
45702 .) # No --srcdir option. We are building in place.
45703 ac_srcdir=.
45704 if test -z "$ac_top_builddir"; then
45705 ac_top_srcdir=.
45706 else
45707 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45708 fi ;;
45709 [\\/]* | ?:[\\/]* ) # Absolute path.
45710 ac_srcdir=$srcdir$ac_dir_suffix;
45711 ac_top_srcdir=$srcdir ;;
45712 *) # Relative path.
45713 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45714 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45715 esac
45716
45717 # Do not use `cd foo && pwd` to compute absolute paths, because
45718 # the directories may not exist.
45719 case `pwd` in
45720 .) ac_abs_builddir="$ac_dir";;
45721 *)
45722 case "$ac_dir" in
45723 .) ac_abs_builddir=`pwd`;;
45724 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45725 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45726 esac;;
45727 esac
45728 case $ac_abs_builddir in
45729 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45730 *)
45731 case ${ac_top_builddir}. in
45732 .) ac_abs_top_builddir=$ac_abs_builddir;;
45733 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45734 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45735 esac;;
45736 esac
45737 case $ac_abs_builddir in
45738 .) ac_abs_srcdir=$ac_srcdir;;
45739 *)
45740 case $ac_srcdir in
45741 .) ac_abs_srcdir=$ac_abs_builddir;;
45742 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45743 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45744 esac;;
45745 esac
45746 case $ac_abs_builddir in
45747 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45748 *)
45749 case $ac_top_srcdir in
45750 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45751 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45752 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45753 esac;;
45754 esac
45755
45756
45757 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45758 echo "$as_me: executing $ac_dest commands" >&6;}
45759 case $ac_dest in
45760 wx-config ) rm -f wx-config
45761 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45762 ;;
45763 esac
45764 done
45765 _ACEOF
45766
45767 cat >>$CONFIG_STATUS <<\_ACEOF
45768
45769 { (exit 0); exit 0; }
45770 _ACEOF
45771 chmod +x $CONFIG_STATUS
45772 ac_clean_files=$ac_clean_files_save
45773
45774
45775 # configure is writing to config.log, and then calls config.status.
45776 # config.status does its own redirection, appending to config.log.
45777 # Unfortunately, on DOS this fails, as config.log is still kept open
45778 # by configure, so config.status won't be able to write to it; its
45779 # output is simply discarded. So we exec the FD to /dev/null,
45780 # effectively closing config.log, so it can be properly (re)opened and
45781 # appended to by config.status. When coming back to configure, we
45782 # need to make the FD available again.
45783 if test "$no_create" != yes; then
45784 ac_cs_success=:
45785 ac_config_status_args=
45786 test "$silent" = yes &&
45787 ac_config_status_args="$ac_config_status_args --quiet"
45788 exec 5>/dev/null
45789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45790 exec 5>>config.log
45791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45792 # would make configure fail if this is the last instruction.
45793 $ac_cs_success || { (exit 1); exit 1; }
45794 fi
45795
45796 #
45797 # CONFIG_SUBDIRS section.
45798 #
45799 if test "$no_recursion" != yes; then
45800
45801 # Remove --cache-file and --srcdir arguments so they do not pile up.
45802 ac_sub_configure_args=
45803 ac_prev=
45804 for ac_arg in $ac_configure_args; do
45805 if test -n "$ac_prev"; then
45806 ac_prev=
45807 continue
45808 fi
45809 case $ac_arg in
45810 -cache-file | --cache-file | --cache-fil | --cache-fi \
45811 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45812 ac_prev=cache_file ;;
45813 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45814 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45815 | --c=*)
45816 ;;
45817 --config-cache | -C)
45818 ;;
45819 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45820 ac_prev=srcdir ;;
45821 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45822 ;;
45823 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45824 ac_prev=prefix ;;
45825 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45826 ;;
45827 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45828 esac
45829 done
45830
45831 # Always prepend --prefix to ensure using the same prefix
45832 # in subdir configurations.
45833 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45834
45835 ac_popdir=`pwd`
45836 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45837
45838 # Do not complain, so a configure script can configure whichever
45839 # parts of a large source tree are present.
45840 test -d $srcdir/$ac_dir || continue
45841
45842 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45843 echo "$as_me: configuring in $ac_dir" >&6;}
45844 { if $as_mkdir_p; then
45845 mkdir -p "$ac_dir"
45846 else
45847 as_dir="$ac_dir"
45848 as_dirs=
45849 while test ! -d "$as_dir"; do
45850 as_dirs="$as_dir $as_dirs"
45851 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45853 X"$as_dir" : 'X\(//\)[^/]' \| \
45854 X"$as_dir" : 'X\(//\)$' \| \
45855 X"$as_dir" : 'X\(/\)' \| \
45856 . : '\(.\)' 2>/dev/null ||
45857 echo X"$as_dir" |
45858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45859 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45860 /^X\(\/\/\)$/{ s//\1/; q; }
45861 /^X\(\/\).*/{ s//\1/; q; }
45862 s/.*/./; q'`
45863 done
45864 test ! -n "$as_dirs" || mkdir $as_dirs
45865 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45866 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45867 { (exit 1); exit 1; }; }; }
45868
45869 ac_builddir=.
45870
45871 if test "$ac_dir" != .; then
45872 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45873 # A "../" for each directory in $ac_dir_suffix.
45874 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45875 else
45876 ac_dir_suffix= ac_top_builddir=
45877 fi
45878
45879 case $srcdir in
45880 .) # No --srcdir option. We are building in place.
45881 ac_srcdir=.
45882 if test -z "$ac_top_builddir"; then
45883 ac_top_srcdir=.
45884 else
45885 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45886 fi ;;
45887 [\\/]* | ?:[\\/]* ) # Absolute path.
45888 ac_srcdir=$srcdir$ac_dir_suffix;
45889 ac_top_srcdir=$srcdir ;;
45890 *) # Relative path.
45891 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45892 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45893 esac
45894
45895 # Do not use `cd foo && pwd` to compute absolute paths, because
45896 # the directories may not exist.
45897 case `pwd` in
45898 .) ac_abs_builddir="$ac_dir";;
45899 *)
45900 case "$ac_dir" in
45901 .) ac_abs_builddir=`pwd`;;
45902 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45903 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45904 esac;;
45905 esac
45906 case $ac_abs_builddir in
45907 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45908 *)
45909 case ${ac_top_builddir}. in
45910 .) ac_abs_top_builddir=$ac_abs_builddir;;
45911 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45912 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45913 esac;;
45914 esac
45915 case $ac_abs_builddir in
45916 .) ac_abs_srcdir=$ac_srcdir;;
45917 *)
45918 case $ac_srcdir in
45919 .) ac_abs_srcdir=$ac_abs_builddir;;
45920 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45921 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45922 esac;;
45923 esac
45924 case $ac_abs_builddir in
45925 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45926 *)
45927 case $ac_top_srcdir in
45928 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45929 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45930 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45931 esac;;
45932 esac
45933
45934
45935 cd $ac_dir
45936
45937 # Check for guested configure; otherwise get Cygnus style configure.
45938 if test -f $ac_srcdir/configure.gnu; then
45939 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45940 elif test -f $ac_srcdir/configure; then
45941 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45942 elif test -f $ac_srcdir/configure.in; then
45943 ac_sub_configure=$ac_configure
45944 else
45945 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45947 ac_sub_configure=
45948 fi
45949
45950 # The recursion is here.
45951 if test -n "$ac_sub_configure"; then
45952 # Make the cache file name correct relative to the subdirectory.
45953 case $cache_file in
45954 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45955 *) # Relative path.
45956 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45957 esac
45958
45959 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45960 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45961 # The eval makes quoting arguments work.
45962 eval $ac_sub_configure $ac_sub_configure_args \
45963 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45964 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45965 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45966 { (exit 1); exit 1; }; }
45967 fi
45968
45969 cd "$ac_popdir"
45970 done
45971 fi
45972
45973
45974 echo
45975 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45976 echo ""
45977 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45978 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45979
45980 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45981 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45982 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45983
45984 echo " What level of wxWidgets compatibility should be enabled?"
45985 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45986 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45987
45988 echo " Which libraries should wxWidgets use?"
45989 echo " jpeg ${wxUSE_LIBJPEG-none}"
45990 echo " png ${wxUSE_LIBPNG-none}"
45991 echo " regex ${wxUSE_REGEX}"
45992 echo " tiff ${wxUSE_LIBTIFF-none}"
45993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45994 echo " xpm ${wxUSE_LIBXPM-none}"
45995 fi
45996 echo " zlib ${wxUSE_ZLIB}"
45997 echo " odbc ${wxUSE_ODBC}"
45998 echo " expat ${wxUSE_EXPAT}"
45999 echo " libmspack ${wxUSE_LIBMSPACK}"
46000 echo " sdl ${wxUSE_LIBSDL}"
46001 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46002
46003 echo ""
46004