]> git.saurik.com Git - wxWidgets.git/blob - configure
Fixes for wxUSE_SPIN... == 0.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.3'
274 PACKAGE_STRING='wxWidgets 2.5.3'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG 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 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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.5.3:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --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-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-mediactrl use wxMediaCtrl class
935 --enable-wxprintfv use wxWidgets implementation of vprintf()
936 --enable-zipstream use wxZipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support in wxProtocol
940 --enable-protocol-ftp FTP support in wxProtocol
941 --enable-protocol-file FILE support in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use help subsystem
945 --enable-mshtmlhelp use MS HTML Help (win32)
946 --enable-html use wxHTML sub-library
947 --enable-htmlhelp use wxHTML-based help
948 --enable-xrc use XRC resources sub-library
949 --enable-constraints use layout-constraints system
950 --enable-printarch use printing architecture
951 --enable-mdi use multiple document interface architecture
952 --enable-mdidoc use docview architecture with MDI
953 --enable-loggui use standard GUI logger
954 --enable-logwin use wxLogWindow
955 --enable-logdialog use wxLogDialog
956 --enable-webkit use wxWebKitCtrl (Mac)
957 --enable-postscript use wxPostscriptDC device context (default for gtk+)
958 --enable-prologio not available; see contrib
959 --enable-resources not available; see contrib
960 --enable-clipboard use wxClipboard class
961 --enable-dnd use Drag'n'Drop classes
962 --enable-metafile use win32 metafiles
963 --enable-controls use all usual controls
964 --enable-accel use accelerators
965 --enable-button use wxButton class
966 --enable-bmpbutton use wxBitmapButton class
967 --enable-calendar use wxCalendarCtrl class
968 --enable-caret use wxCaret class
969 --enable-checkbox use wxCheckBox class
970 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
971 --enable-choice use wxChoice class
972 --enable-choicebook use wxChoicebook class
973 --enable-combobox use wxComboBox class
974 --enable-display use wxDisplay class
975 --enable-gauge use wxGauge class
976 --enable-grid use wxGrid class
977 --enable-imaglist use wxImageList class
978 --enable-listbook use wxListbook class
979 --enable-listbox use wxListBox class
980 --enable-listctrl use wxListCtrl class
981 --enable-notebook use wxNotebook class
982 --enable-radiobox use wxRadioBox class
983 --enable-radiobtn use wxRadioButton class
984 --enable-sash use wxSashWindow class
985 --enable-scrollbar use wxScrollBar class and scrollable windows
986 --enable-slider use wxSlider class
987 --enable-spinbtn use wxSpinButton class
988 --enable-spinctrl use wxSpinCtrl class
989 --enable-splitter use wxSplitterWindow class
990 --enable-statbmp use wxStaticBitmap class
991 --enable-statbox use wxStaticBox class
992 --enable-statline use wxStaticLine class
993 --enable-stattext use wxStaticText class
994 --enable-statusbar use wxStatusBar class
995 --enable-tabdialog use wxTabControl class
996 --enable-textctrl use wxTextCtrl class
997 --enable-togglebtn use wxToggleButton class
998 --enable-toolbar use wxToolBar class
999 --enable-tbarnative use native wxToolBar class
1000 --enable-tbarsmpl use wxToolBarSimple class
1001 --enable-treectrl use wxTreeCtrl class
1002 --enable-tipwindow use wxTipWindow class
1003 --enable-popupwin use wxPopUpWindow class
1004 --enable-commondlg use all common dialogs
1005 --enable-choicedlg use wxChoiceDialog
1006 --enable-coldlg use wxColourDialog
1007 --enable-filedlg use wxFileDialog
1008 --enable-finddlg use wxFindReplaceDialog
1009 --enable-fontdlg use wxFontDialog
1010 --enable-dirdlg use wxDirDialog
1011 --enable-msgdlg use wxMessageDialog
1012 --enable-numberdlg use wxNumberEntryDialog
1013 --enable-splash use wxSplashScreen
1014 --enable-textdlg use wxTextDialog
1015 --enable-tipdlg use startup tips
1016 --enable-progressdlg use wxProgressDialog
1017 --enable-wizarddlg use wxWizard
1018 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1019 --enable-miniframe use wxMiniFrame class
1020 --enable-tooltips use wxToolTip class
1021 --enable-splines use spline drawing code
1022 --enable-validators use wxValidator and derived classes
1023 --enable-busyinfo use wxBusyInfo
1024 --enable-joystick use wxJoystick (Linux only)
1025 --enable-metafiles use wxMetaFile (Windows only)
1026 --enable-dragimage use wxDragImage
1027 --enable-accessibility enable accessibility support
1028 --enable-palette use wxPalette class
1029 --enable-image use wxImage class
1030 --enable-gif use gif images (GIF file format)
1031 --enable-pcx use pcx images (PCX file format)
1032 --enable-iff use iff images (IFF file format)
1033 --enable-pnm use pnm images (PNM file format)
1034 --enable-xpm use xpm images (XPM file format)
1035 --enable-icocur use Windows ICO and CUR formats
1036 --enable-official_build official build of wxWidgets (win32 DLL only)
1037 --enable-vendor=VENDOR vendor name (win32 DLL only)
1038 --disable-largefile omit support for large files
1039 --disable-gtktest do not try to compile and run a test GTK+ program
1040 --disable-gtktest Do not try to compile and run a test GTK program
1041 --disable-sdltest Do not try to compile and run a test SDL program
1042 --enable-omf use OMF object format (OS/2)
1043 --disable-precomp-headers
1044 don't use precompiled headers even if compiler can
1045
1046 Optional Packages:
1047 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1048 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1049 --with-gtk use GTK+
1050 --with-motif use Motif/Lesstif
1051 --with-mac use Mac OS X
1052 --with-cocoa use Cocoa
1053 --with-wine use Wine
1054 --with-msw use MS-Windows
1055 --with-pm use OS/2 Presentation Manager
1056 --with-mgl use SciTech MGL
1057 --with-microwin use MicroWindows
1058 --with-x11 use X11
1059 --with-libpng use libpng (PNG image format)
1060 --with-libjpeg use libjpeg (JPEG file format)
1061 --with-libtiff use libtiff (TIFF file format)
1062 --with-libxpm use libxpm (XPM file format)
1063 --with-libmspack use libmspack (CHM help files loading)
1064 --with-sdl use SDL for audio on Unix
1065 --with-gnomeprint use GNOME print for printing under Unix
1066 --with-opengl use OpenGL (or Mesa)
1067 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1068 --with-regex enable support for wxRegEx class
1069 --with-zlib use zlib for LZW compression
1070 --with-odbc use the IODBC and wxODBC classes
1071 --with-expat enable XML support using expat parser
1072 --with-flavour=NAME specify a name to identify this build
1073 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1074 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1075 --with-x use the X Window System
1076 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1077 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1078 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1079 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1080 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1081
1082 Some influential environment variables:
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1089 CPP C preprocessor
1090 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags
1092 CXXCPP C++ preprocessor
1093
1094 Use these variables to override the choices made by `configure' or to help
1095 it to find libraries and programs with nonstandard names/locations.
1096
1097 Report bugs to <wx-dev@lists.wxwidgets.org>.
1098 _ACEOF
1099 fi
1100
1101 if test "$ac_init_help" = "recursive"; then
1102 # If there are subdirs, report their specific --help.
1103 ac_popdir=`pwd`
1104 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1105 test -d $ac_dir || continue
1106 ac_builddir=.
1107
1108 if test "$ac_dir" != .; then
1109 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1110 # A "../" for each directory in $ac_dir_suffix.
1111 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1112 else
1113 ac_dir_suffix= ac_top_builddir=
1114 fi
1115
1116 case $srcdir in
1117 .) # No --srcdir option. We are building in place.
1118 ac_srcdir=.
1119 if test -z "$ac_top_builddir"; then
1120 ac_top_srcdir=.
1121 else
1122 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1123 fi ;;
1124 [\\/]* | ?:[\\/]* ) # Absolute path.
1125 ac_srcdir=$srcdir$ac_dir_suffix;
1126 ac_top_srcdir=$srcdir ;;
1127 *) # Relative path.
1128 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1129 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1130 esac
1131
1132 # Do not use `cd foo && pwd` to compute absolute paths, because
1133 # the directories may not exist.
1134 case `pwd` in
1135 .) ac_abs_builddir="$ac_dir";;
1136 *)
1137 case "$ac_dir" in
1138 .) ac_abs_builddir=`pwd`;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1140 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1141 esac;;
1142 esac
1143 case $ac_abs_builddir in
1144 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 *)
1146 case ${ac_top_builddir}. in
1147 .) ac_abs_top_builddir=$ac_abs_builddir;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1149 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1150 esac;;
1151 esac
1152 case $ac_abs_builddir in
1153 .) ac_abs_srcdir=$ac_srcdir;;
1154 *)
1155 case $ac_srcdir in
1156 .) ac_abs_srcdir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1158 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1159 esac;;
1160 esac
1161 case $ac_abs_builddir in
1162 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 *)
1164 case $ac_top_srcdir in
1165 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1167 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1168 esac;;
1169 esac
1170
1171 cd $ac_dir
1172 # Check for guested configure; otherwise get Cygnus style configure.
1173 if test -f $ac_srcdir/configure.gnu; then
1174 echo
1175 $SHELL $ac_srcdir/configure.gnu --help=recursive
1176 elif test -f $ac_srcdir/configure; then
1177 echo
1178 $SHELL $ac_srcdir/configure --help=recursive
1179 elif test -f $ac_srcdir/configure.ac ||
1180 test -f $ac_srcdir/configure.in; then
1181 echo
1182 $ac_configure --help
1183 else
1184 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1185 fi
1186 cd "$ac_popdir"
1187 done
1188 fi
1189
1190 test -n "$ac_init_help" && exit 0
1191 if $ac_init_version; then
1192 cat <<\_ACEOF
1193 wxWidgets configure 2.5.3
1194 generated by GNU Autoconf 2.59
1195
1196 Copyright (C) 2003 Free Software Foundation, Inc.
1197 This configure script is free software; the Free Software Foundation
1198 gives unlimited permission to copy, distribute and modify it.
1199 _ACEOF
1200 exit 0
1201 fi
1202 exec 5>config.log
1203 cat >&5 <<_ACEOF
1204 This file contains any messages produced by compilers while
1205 running configure, to aid debugging if configure makes a mistake.
1206
1207 It was created by wxWidgets $as_me 2.5.3, which was
1208 generated by GNU Autoconf 2.59. Invocation command line was
1209
1210 $ $0 $@
1211
1212 _ACEOF
1213 {
1214 cat <<_ASUNAME
1215 ## --------- ##
1216 ## Platform. ##
1217 ## --------- ##
1218
1219 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1220 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1221 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1222 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1223 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1224
1225 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1226 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1227
1228 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1229 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1230 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1231 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1232 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1233 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1234 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1235
1236 _ASUNAME
1237
1238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1239 for as_dir in $PATH
1240 do
1241 IFS=$as_save_IFS
1242 test -z "$as_dir" && as_dir=.
1243 echo "PATH: $as_dir"
1244 done
1245
1246 } >&5
1247
1248 cat >&5 <<_ACEOF
1249
1250
1251 ## ----------- ##
1252 ## Core tests. ##
1253 ## ----------- ##
1254
1255 _ACEOF
1256
1257
1258 # Keep a trace of the command line.
1259 # Strip out --no-create and --no-recursion so they do not pile up.
1260 # Strip out --silent because we don't want to record it for future runs.
1261 # Also quote any args containing shell meta-characters.
1262 # Make two passes to allow for proper duplicate-argument suppression.
1263 ac_configure_args=
1264 ac_configure_args0=
1265 ac_configure_args1=
1266 ac_sep=
1267 ac_must_keep_next=false
1268 for ac_pass in 1 2
1269 do
1270 for ac_arg
1271 do
1272 case $ac_arg in
1273 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1275 | -silent | --silent | --silen | --sile | --sil)
1276 continue ;;
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 esac
1280 case $ac_pass in
1281 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1282 2)
1283 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1284 if test $ac_must_keep_next = true; then
1285 ac_must_keep_next=false # Got value, back to normal.
1286 else
1287 case $ac_arg in
1288 *=* | --config-cache | -C | -disable-* | --disable-* \
1289 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1290 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1291 | -with-* | --with-* | -without-* | --without-* | --x)
1292 case "$ac_configure_args0 " in
1293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1294 esac
1295 ;;
1296 -* ) ac_must_keep_next=true ;;
1297 esac
1298 fi
1299 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1300 # Get rid of the leading space.
1301 ac_sep=" "
1302 ;;
1303 esac
1304 done
1305 done
1306 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1307 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1308
1309 # When interrupted or exit'd, cleanup temporary files, and complete
1310 # config.log. We remove comments because anyway the quotes in there
1311 # would cause problems or look ugly.
1312 # WARNING: Be sure not to use single quotes in there, as some shells,
1313 # such as our DU 5.0 friend, will then `close' the trap.
1314 trap 'exit_status=$?
1315 # Save into config.log some information that might help in debugging.
1316 {
1317 echo
1318
1319 cat <<\_ASBOX
1320 ## ---------------- ##
1321 ## Cache variables. ##
1322 ## ---------------- ##
1323 _ASBOX
1324 echo
1325 # The following way of writing the cache mishandles newlines in values,
1326 {
1327 (set) 2>&1 |
1328 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1329 *ac_space=\ *)
1330 sed -n \
1331 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 ;;
1334 *)
1335 sed -n \
1336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 ;;
1338 esac;
1339 }
1340 echo
1341
1342 cat <<\_ASBOX
1343 ## ----------------- ##
1344 ## Output variables. ##
1345 ## ----------------- ##
1346 _ASBOX
1347 echo
1348 for ac_var in $ac_subst_vars
1349 do
1350 eval ac_val=$`echo $ac_var`
1351 echo "$ac_var='"'"'$ac_val'"'"'"
1352 done | sort
1353 echo
1354
1355 if test -n "$ac_subst_files"; then
1356 cat <<\_ASBOX
1357 ## ------------- ##
1358 ## Output files. ##
1359 ## ------------- ##
1360 _ASBOX
1361 echo
1362 for ac_var in $ac_subst_files
1363 do
1364 eval ac_val=$`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1366 done | sort
1367 echo
1368 fi
1369
1370 if test -s confdefs.h; then
1371 cat <<\_ASBOX
1372 ## ----------- ##
1373 ## confdefs.h. ##
1374 ## ----------- ##
1375 _ASBOX
1376 echo
1377 sed "/^$/d" confdefs.h | sort
1378 echo
1379 fi
1380 test "$ac_signal" != 0 &&
1381 echo "$as_me: caught signal $ac_signal"
1382 echo "$as_me: exit $exit_status"
1383 } >&5
1384 rm -f core *.core &&
1385 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1386 exit $exit_status
1387 ' 0
1388 for ac_signal in 1 2 13 15; do
1389 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1390 done
1391 ac_signal=0
1392
1393 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1394 rm -rf conftest* confdefs.h
1395 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1396 echo >confdefs.h
1397
1398 # Predefined preprocessor variables.
1399
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_NAME "$PACKAGE_NAME"
1402 _ACEOF
1403
1404
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1407 _ACEOF
1408
1409
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1412 _ACEOF
1413
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_STRING "$PACKAGE_STRING"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1422 _ACEOF
1423
1424
1425 # Let the site file select an alternate cache file if it wants to.
1426 # Prefer explicitly selected file to automatically selected ones.
1427 if test -z "$CONFIG_SITE"; then
1428 if test "x$prefix" != xNONE; then
1429 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1430 else
1431 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 fi
1433 fi
1434 for ac_site_file in $CONFIG_SITE; do
1435 if test -r "$ac_site_file"; then
1436 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1437 echo "$as_me: loading site script $ac_site_file" >&6;}
1438 sed 's/^/| /' "$ac_site_file" >&5
1439 . "$ac_site_file"
1440 fi
1441 done
1442
1443 if test -r "$cache_file"; then
1444 # Some versions of bash will fail to source /dev/null (special
1445 # files actually), so we avoid doing that.
1446 if test -f "$cache_file"; then
1447 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1448 echo "$as_me: loading cache $cache_file" >&6;}
1449 case $cache_file in
1450 [\\/]* | ?:[\\/]* ) . $cache_file;;
1451 *) . ./$cache_file;;
1452 esac
1453 fi
1454 else
1455 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1456 echo "$as_me: creating cache $cache_file" >&6;}
1457 >$cache_file
1458 fi
1459
1460 # Check that the precious variables saved in the cache have kept the same
1461 # value.
1462 ac_cache_corrupted=false
1463 for ac_var in `(set) 2>&1 |
1464 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1465 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1466 eval ac_new_set=\$ac_env_${ac_var}_set
1467 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1468 eval ac_new_val="\$ac_env_${ac_var}_value"
1469 case $ac_old_set,$ac_new_set in
1470 set,)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,set)
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1476 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1477 ac_cache_corrupted=: ;;
1478 ,);;
1479 *)
1480 if test "x$ac_old_val" != "x$ac_new_val"; then
1481 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1482 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1483 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1484 echo "$as_me: former value: $ac_old_val" >&2;}
1485 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1486 echo "$as_me: current value: $ac_new_val" >&2;}
1487 ac_cache_corrupted=:
1488 fi;;
1489 esac
1490 # Pass precious variables to config.status.
1491 if test "$ac_new_set" = set; then
1492 case $ac_new_val in
1493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1494 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1495 *) ac_arg=$ac_var=$ac_new_val ;;
1496 esac
1497 case " $ac_configure_args " in
1498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1499 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1500 esac
1501 fi
1502 done
1503 if $ac_cache_corrupted; then
1504 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1505 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1506 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1507 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1508 { (exit 1); exit 1; }; }
1509 fi
1510
1511 ac_ext=c
1512 ac_cpp='$CPP $CPPFLAGS'
1513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546 ac_aux_dir=
1547 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1548 if test -f $ac_dir/install-sh; then
1549 ac_aux_dir=$ac_dir
1550 ac_install_sh="$ac_aux_dir/install-sh -c"
1551 break
1552 elif test -f $ac_dir/install.sh; then
1553 ac_aux_dir=$ac_dir
1554 ac_install_sh="$ac_aux_dir/install.sh -c"
1555 break
1556 elif test -f $ac_dir/shtool; then
1557 ac_aux_dir=$ac_dir
1558 ac_install_sh="$ac_aux_dir/shtool install -c"
1559 break
1560 fi
1561 done
1562 if test -z "$ac_aux_dir"; then
1563 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1564 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1565 { (exit 1); exit 1; }; }
1566 fi
1567 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1568 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1569 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1570
1571 # Make sure we can run config.sub.
1572 $ac_config_sub sun4 >/dev/null 2>&1 ||
1573 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1574 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1575 { (exit 1); exit 1; }; }
1576
1577 echo "$as_me:$LINENO: checking build system type" >&5
1578 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1579 if test "${ac_cv_build+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 else
1582 ac_cv_build_alias=$build_alias
1583 test -z "$ac_cv_build_alias" &&
1584 ac_cv_build_alias=`$ac_config_guess`
1585 test -z "$ac_cv_build_alias" &&
1586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1587 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1588 { (exit 1); exit 1; }; }
1589 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1593
1594 fi
1595 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1596 echo "${ECHO_T}$ac_cv_build" >&6
1597 build=$ac_cv_build
1598 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601
1602
1603 echo "$as_me:$LINENO: checking host system type" >&5
1604 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1605 if test "${ac_cv_host+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 else
1608 ac_cv_host_alias=$host_alias
1609 test -z "$ac_cv_host_alias" &&
1610 ac_cv_host_alias=$ac_cv_build_alias
1611 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1615
1616 fi
1617 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1618 echo "${ECHO_T}$ac_cv_host" >&6
1619 host=$ac_cv_host
1620 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623
1624
1625 echo "$as_me:$LINENO: checking target system type" >&5
1626 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1627 if test "${ac_cv_target+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 else
1630 ac_cv_target_alias=$target_alias
1631 test "x$ac_cv_target_alias" = "x" &&
1632 ac_cv_target_alias=$ac_cv_host_alias
1633 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1637
1638 fi
1639 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1640 echo "${ECHO_T}$ac_cv_target" >&6
1641 target=$ac_cv_target
1642 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645
1646
1647 # The aliases save the names the user supplied, while $host etc.
1648 # will get canonicalized.
1649 test -n "$target_alias" &&
1650 test "$program_prefix$program_suffix$program_transform_name" = \
1651 NONENONEs,x,x, &&
1652 program_prefix=${target_alias}-
1653
1654
1655
1656 wx_major_version_number=2
1657 wx_minor_version_number=5
1658 wx_release_number=3
1659 wx_subrelease_number=3
1660
1661 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1662 WX_VERSION=$WX_RELEASE.$wx_release_number
1663 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1664
1665 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1666
1667 WX_CURRENT=3
1668 WX_REVISION=0
1669 WX_AGE=3
1670
1671
1672
1673 USE_UNIX=1
1674 USE_OS2=0
1675 USE_WIN32=0
1676 USE_DOS=0
1677 USE_BEOS=0
1678 USE_MAC=0
1679
1680 USE_AIX=
1681 USE_BSD= USE_DARWIN= USE_FREEBSD=
1682 USE_GNU= USE_HPUX=
1683 USE_LINUX=
1684 USE_NETBSD=
1685 USE_OPENBSD=
1686 USE_OSF= USE_SGI=
1687 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1688 USE_ULTRIX=
1689 USE_UNIXWARE=
1690
1691 USE_ALPHA=
1692
1693 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1694
1695 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1696
1697 DEFAULT_wxUSE_COCOA=0
1698 DEFAULT_wxUSE_GTK=0
1699 DEFAULT_wxUSE_MAC=0
1700 DEFAULT_wxUSE_MGL=0
1701 DEFAULT_wxUSE_MICROWIN=0
1702 DEFAULT_wxUSE_MOTIF=0
1703 DEFAULT_wxUSE_MSW=0
1704 DEFAULT_wxUSE_PM=0
1705 DEFAULT_wxUSE_X11=0
1706
1707 DEFAULT_DEFAULT_wxUSE_COCOA=0
1708 DEFAULT_DEFAULT_wxUSE_GTK=0
1709 DEFAULT_DEFAULT_wxUSE_MAC=0
1710 DEFAULT_DEFAULT_wxUSE_MGL=0
1711 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1712 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1713 DEFAULT_DEFAULT_wxUSE_MSW=0
1714 DEFAULT_DEFAULT_wxUSE_PM=0
1715 DEFAULT_DEFAULT_wxUSE_X11=0
1716
1717 PROGRAM_EXT=
1718 SO_SUFFIX=so
1719 SAMPLES_RPATH_FLAG=
1720 SAMPLES_RPATH_POSTLINK=
1721
1722 case "${host}" in
1723 *-hp-hpux* )
1724 USE_HPUX=1
1725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1727 SO_SUFFIX=sl
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __HPUX__ 1
1730 _ACEOF
1731
1732 ;;
1733 *-*-linux* )
1734 USE_LINUX=1
1735 cat >>confdefs.h <<\_ACEOF
1736 #define __LINUX__ 1
1737 _ACEOF
1738
1739 TMP=`uname -m`
1740 if test "x$TMP" = "xalpha"; then
1741 USE_ALPHA=1
1742 cat >>confdefs.h <<\_ACEOF
1743 #define __ALPHA__ 1
1744 _ACEOF
1745
1746 fi
1747 DEFAULT_DEFAULT_wxUSE_GTK=1
1748 ;;
1749 *-*-gnu* | *-*-k*bsd*-gnu )
1750 USE_GNU=1
1751 TMP=`uname -m`
1752 if test "x$TMP" = "xalpha"; then
1753 USE_ALPHA=1
1754 cat >>confdefs.h <<\_ACEOF
1755 #define __ALPHA__ 1
1756 _ACEOF
1757
1758 fi
1759 DEFAULT_DEFAULT_wxUSE_GTK=1
1760 ;;
1761 *-*-irix5* | *-*-irix6* )
1762 USE_SGI=1
1763 USE_SVR4=1
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __SGI__ 1
1766 _ACEOF
1767
1768 cat >>confdefs.h <<\_ACEOF
1769 #define __SVR4__ 1
1770 _ACEOF
1771
1772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1773 ;;
1774 *-*-solaris2* )
1775 USE_SUN=1
1776 USE_SOLARIS=1
1777 USE_SVR4=1
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __SUN__ 1
1780 _ACEOF
1781
1782 cat >>confdefs.h <<\_ACEOF
1783 #define __SOLARIS__ 1
1784 _ACEOF
1785
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __SVR4__ 1
1788 _ACEOF
1789
1790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1791 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1792 ;;
1793 *-*-sunos4* )
1794 USE_SUN=1
1795 USE_SUNOS=1
1796 USE_BSD=1
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __SUN__ 1
1799 _ACEOF
1800
1801 cat >>confdefs.h <<\_ACEOF
1802 #define __SUNOS__ 1
1803 _ACEOF
1804
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __BSD__ 1
1807 _ACEOF
1808
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 ;;
1811 *-*-freebsd*)
1812 USE_BSD=1
1813 USE_FREEBSD=1
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __FREEBSD__ 1
1816 _ACEOF
1817
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __BSD__ 1
1820 _ACEOF
1821
1822 DEFAULT_DEFAULT_wxUSE_GTK=1
1823 ;;
1824 *-*-openbsd*)
1825 USE_BSD=1
1826 USE_OPENBSD=1
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __OPENBSD__ 1
1829 _ACEOF
1830
1831 cat >>confdefs.h <<\_ACEOF
1832 #define __BSD__ 1
1833 _ACEOF
1834
1835 DEFAULT_DEFAULT_wxUSE_GTK=1
1836 ;;
1837 *-*-netbsd*)
1838 USE_BSD=1
1839 USE_NETBSD=1
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __NETBSD__ 1
1842 _ACEOF
1843
1844 cat >>confdefs.h <<\_ACEOF
1845 #define __BSD__ 1
1846 _ACEOF
1847
1848 DEFAULT_DEFAULT_wxUSE_GTK=1
1849 ;;
1850 *-*-osf* )
1851 USE_ALPHA=1
1852 USE_OSF=1
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __ALPHA__ 1
1855 _ACEOF
1856
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __OSF__ 1
1859 _ACEOF
1860
1861 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1863 ;;
1864 *-*-dgux5* )
1865 USE_ALPHA=1
1866 USE_SVR4=1
1867 cat >>confdefs.h <<\_ACEOF
1868 #define __ALPHA__ 1
1869 _ACEOF
1870
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __SVR4__ 1
1873 _ACEOF
1874
1875 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1876 ;;
1877 *-*-sysv5* )
1878 USE_SYSV=1
1879 USE_SVR4=1
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __SYSV__ 1
1882 _ACEOF
1883
1884 cat >>confdefs.h <<\_ACEOF
1885 #define __SVR4__ 1
1886 _ACEOF
1887
1888 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1889 ;;
1890 *-*-aix* )
1891 USE_AIX=1
1892 USE_SYSV=1
1893 USE_SVR4=1
1894 SO_SUFFIX=a
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __AIX__ 1
1897 _ACEOF
1898
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __SYSV__ 1
1901 _ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __SVR4__ 1
1905 _ACEOF
1906
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1908 ;;
1909
1910 *-*-*UnixWare*)
1911 USE_SYSV=1
1912 USE_SVR4=1
1913 USE_UNIXWARE=1
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __UNIXWARE__ 1
1916 _ACEOF
1917
1918 ;;
1919
1920 *-*-cygwin* | *-*-mingw32* )
1921 SO_SUFFIX=dll
1922 PROGRAM_EXT=".exe"
1923 RESCOMP=windres
1924 DEFAULT_DEFAULT_wxUSE_MSW=1
1925 ;;
1926
1927 *-pc-msdosdjgpp )
1928 USE_UNIX=0
1929 USE_DOS=1
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __DOS__ 1
1932 _ACEOF
1933
1934 PROGRAM_EXT=".exe"
1935 DEFAULT_DEFAULT_wxUSE_MGL=1
1936 LIBS="$LIBS -lstdc++"
1937 ;;
1938
1939 *-pc-os2_emx | *-pc-os2-emx )
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __EMX__ 1
1942 _ACEOF
1943
1944 USE_OS2=1
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __OS2__ 1
1947 _ACEOF
1948
1949 PROGRAM_EXT=".exe"
1950 DEFAULT_DEFAULT_wxUSE_PM=1
1951 CXX=gcc
1952 LDFLAGS="$LDFLAGS -Zcrtdll"
1953 ac_executable_extensions=".exe"
1954 export ac_executable_extensions
1955 ac_save_IFS="$IFS"
1956 IFS='\\'
1957 ac_TEMP_PATH=
1958 for ac_dir in $PATH; do
1959 IFS=$ac_save_IFS
1960 if test -z "$ac_TEMP_PATH"; then
1961 ac_TEMP_PATH="$ac_dir"
1962 else
1963 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1964 fi
1965 done
1966 export PATH="$ac_TEMP_PATH"
1967 unset ac_TEMP_PATH
1968 ;;
1969
1970 powerpc-*-darwin* )
1971 USE_BSD=1
1972 USE_DARWIN=1
1973 SO_SUFFIX=dylib
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __BSD__ 1
1976 _ACEOF
1977
1978 cat >>confdefs.h <<\_ACEOF
1979 #define __DARWIN__ 1
1980 _ACEOF
1981
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __POWERPC__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define TARGET_CARBON 1
1988 _ACEOF
1989
1990 DEFAULT_DEFAULT_wxUSE_MAC=1
1991 ;;
1992 powerpc-apple-macos* )
1993 USE_UNIX=0
1994 ac_cv_c_bigendian=yes
1995 SO_SUFFIX=shlib
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 ;;
1998
1999 *-*-beos* )
2000 USE_BEOS=1
2001 cat >>confdefs.h <<\_ACEOF
2002 #define __BEOS__ 1
2003 _ACEOF
2004
2005 ;;
2006
2007 *)
2008 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2009 echo "$as_me: error: unknown system type ${host}." >&2;}
2010 { (exit 1); exit 1; }; }
2011 esac
2012
2013
2014
2015
2016 wx_arg_cache_file="configarg.cache"
2017 echo "loading argument cache $wx_arg_cache_file"
2018 rm -f ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}
2021
2022
2023 DEBUG_CONFIGURE=0
2024 if test $DEBUG_CONFIGURE = 1; then
2025 DEFAULT_wxUSE_UNIVERSAL=no
2026 DEFAULT_wxUSE_STL=no
2027
2028 DEFAULT_wxUSE_NANOX=no
2029
2030 DEFAULT_wxUSE_THREADS=yes
2031
2032 DEFAULT_wxUSE_SHARED=yes
2033 DEFAULT_wxUSE_OPTIMISE=no
2034 DEFAULT_wxUSE_PROFILE=no
2035 DEFAULT_wxUSE_NO_DEPS=no
2036 DEFAULT_wxUSE_NO_RTTI=no
2037 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2038 DEFAULT_wxUSE_RPATH=yes
2039 DEFAULT_wxUSE_PERMISSIVE=no
2040 DEFAULT_wxUSE_DEBUG_FLAG=yes
2041 DEFAULT_wxUSE_DEBUG_INFO=yes
2042 DEFAULT_wxUSE_DEBUG_GDB=yes
2043 DEFAULT_wxUSE_MEM_TRACING=no
2044 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2045 DEFAULT_wxUSE_DMALLOC=no
2046 DEFAULT_wxUSE_APPLE_IEEE=no
2047
2048 DEFAULT_wxUSE_EXCEPTIONS=no
2049 DEFAULT_wxUSE_LOG=yes
2050 DEFAULT_wxUSE_LOGWINDOW=no
2051 DEFAULT_wxUSE_LOGGUI=no
2052 DEFAULT_wxUSE_LOGDIALOG=no
2053
2054 DEFAULT_wxUSE_GUI=yes
2055 DEFAULT_wxUSE_CONTROLS=no
2056
2057 DEFAULT_wxUSE_REGEX=no
2058 DEFAULT_wxUSE_XML=no
2059 DEFAULT_wxUSE_EXPAT=no
2060 DEFAULT_wxUSE_ZLIB=no
2061 DEFAULT_wxUSE_LIBPNG=no
2062 DEFAULT_wxUSE_LIBJPEG=no
2063 DEFAULT_wxUSE_LIBTIFF=no
2064 DEFAULT_wxUSE_LIBXPM=no
2065 DEFAULT_wxUSE_LIBMSPACK=no
2066 DEFAULT_wxUSE_LIBSDL=no
2067 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2068 DEFAULT_wxUSE_ODBC=no
2069 DEFAULT_wxUSE_OPENGL=no
2070
2071 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2072 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2073 DEFAULT_wxUSE_STD_IOSTREAM=no
2074 DEFAULT_wxUSE_CMDLINE_PARSER=no
2075 DEFAULT_wxUSE_DATETIME=no
2076 DEFAULT_wxUSE_TIMER=no
2077 DEFAULT_wxUSE_STOPWATCH=no
2078 DEFAULT_wxUSE_FILE=no
2079 DEFAULT_wxUSE_FFILE=no
2080 DEFAULT_wxUSE_TEXTBUFFER=no
2081 DEFAULT_wxUSE_TEXTFILE=no
2082 DEFAULT_wxUSE_SOUND=no
2083 DEFAULT_wxUSE_MEDIACTRL=no
2084 DEFAULT_wxUSE_DIRECTSHOW=no
2085 DEFAULT_wxUSE_INTL=no
2086 DEFAULT_wxUSE_CONFIG=no
2087 DEFAULT_wxUSE_FONTMAP=no
2088 DEFAULT_wxUSE_STREAMS=no
2089 DEFAULT_wxUSE_SOCKETS=no
2090 DEFAULT_wxUSE_OLE=no
2091 DEFAULT_wxUSE_DATAOBJ=no
2092 DEFAULT_wxUSE_DIALUP_MANAGER=no
2093 DEFAULT_wxUSE_JOYSTICK=no
2094 DEFAULT_wxUSE_DYNLIB_CLASS=no
2095 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2096 DEFAULT_wxUSE_LONGLONG=no
2097 DEFAULT_wxUSE_GEOMETRY=no
2098
2099 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2100 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2101 DEFAULT_wxUSE_POSTSCRIPT=no
2102
2103 DEFAULT_wxUSE_CLIPBOARD=no
2104 DEFAULT_wxUSE_TOOLTIPS=no
2105 DEFAULT_wxUSE_DRAG_AND_DROP=no
2106 DEFAULT_wxUSE_DRAGIMAGE=no
2107 DEFAULT_wxUSE_SPLINES=no
2108
2109 DEFAULT_wxUSE_MDI=no
2110 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2111 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2112 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2113
2114 DEFAULT_wxUSE_RESOURCES=no
2115 DEFAULT_wxUSE_CONSTRAINTS=no
2116 DEFAULT_wxUSE_IPC=no
2117 DEFAULT_wxUSE_HELP=no
2118 DEFAULT_wxUSE_MS_HTML_HELP=no
2119 DEFAULT_wxUSE_WXHTML_HELP=no
2120 DEFAULT_wxUSE_TREELAYOUT=no
2121 DEFAULT_wxUSE_METAFILE=no
2122 DEFAULT_wxUSE_MIMETYPE=no
2123 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2124 DEFAULT_wxUSE_PROTOCOL=no
2125 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2126 DEFAULT_wxUSE_PROTOCOL_FTP=no
2127 DEFAULT_wxUSE_PROTOCOL_FILE=no
2128 DEFAULT_wxUSE_URL=no
2129
2130 DEFAULT_wxUSE_COMMONDLGS=no
2131 DEFAULT_wxUSE_CHOICEDLG=no
2132 DEFAULT_wxUSE_COLOURDLG=no
2133 DEFAULT_wxUSE_DIRDLG=no
2134 DEFAULT_wxUSE_FILEDLG=no
2135 DEFAULT_wxUSE_FINDREPLDLG=no
2136 DEFAULT_wxUSE_FONTDLG=no
2137 DEFAULT_wxUSE_MSGDLG=no
2138 DEFAULT_wxUSE_NUMBERDLG=no
2139 DEFAULT_wxUSE_TEXTDLG=no
2140 DEFAULT_wxUSE_SPLASH=no
2141 DEFAULT_wxUSE_STARTUP_TIPS=no
2142 DEFAULT_wxUSE_PROGRESSDLG=no
2143 DEFAULT_wxUSE_WIZARDDLG=no
2144
2145 DEFAULT_wxUSE_MENUS=no
2146 DEFAULT_wxUSE_MINIFRAME=no
2147 DEFAULT_wxUSE_HTML=no
2148 DEFAULT_wxUSE_XRC=no
2149 DEFAULT_wxUSE_WEBKIT=no
2150 DEFAULT_wxUSE_FILESYSTEM=no
2151 DEFAULT_wxUSE_FS_INET=no
2152 DEFAULT_wxUSE_FS_ZIP=no
2153 DEFAULT_wxUSE_BUSYINFO=no
2154 DEFAULT_wxUSE_ZIPSTREAM=no
2155 DEFAULT_wxUSE_VALIDATORS=no
2156
2157 DEFAULT_wxUSE_ACCEL=no
2158 DEFAULT_wxUSE_BUTTON=no
2159 DEFAULT_wxUSE_BMPBUTTON=no
2160 DEFAULT_wxUSE_CALCTRL=no
2161 DEFAULT_wxUSE_CARET=no
2162 DEFAULT_wxUSE_CHECKBOX=no
2163 DEFAULT_wxUSE_CHECKLST=no
2164 DEFAULT_wxUSE_CHOICE=no
2165 DEFAULT_wxUSE_CHOICEBOOK=no
2166 DEFAULT_wxUSE_COMBOBOX=no
2167 DEFAULT_wxUSE_DISPLAY=no
2168 DEFAULT_wxUSE_GAUGE=no
2169 DEFAULT_wxUSE_GRID=no
2170 DEFAULT_wxUSE_IMAGLIST=no
2171 DEFAULT_wxUSE_LISTBOOK=no
2172 DEFAULT_wxUSE_LISTBOX=no
2173 DEFAULT_wxUSE_LISTCTRL=no
2174 DEFAULT_wxUSE_NOTEBOOK=no
2175 DEFAULT_wxUSE_RADIOBOX=no
2176 DEFAULT_wxUSE_RADIOBTN=no
2177 DEFAULT_wxUSE_SASH=no
2178 DEFAULT_wxUSE_SCROLLBAR=no
2179 DEFAULT_wxUSE_SLIDER=no
2180 DEFAULT_wxUSE_SPINBTN=no
2181 DEFAULT_wxUSE_SPINCTRL=no
2182 DEFAULT_wxUSE_SPLITTER=no
2183 DEFAULT_wxUSE_STATBMP=no
2184 DEFAULT_wxUSE_STATBOX=no
2185 DEFAULT_wxUSE_STATLINE=no
2186 DEFAULT_wxUSE_STATTEXT=no
2187 DEFAULT_wxUSE_STATUSBAR=yes
2188 DEFAULT_wxUSE_TABDIALOG=no
2189 DEFAULT_wxUSE_TEXTCTRL=no
2190 DEFAULT_wxUSE_TOGGLEBTN=no
2191 DEFAULT_wxUSE_TOOLBAR=no
2192 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2193 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2194 DEFAULT_wxUSE_TREECTRL=no
2195 DEFAULT_wxUSE_POPUPWIN=no
2196 DEFAULT_wxUSE_TIPWINDOW=no
2197
2198 DEFAULT_wxUSE_UNICODE=no
2199 DEFAULT_wxUSE_UNICODE_MSLU=no
2200 DEFAULT_wxUSE_WCSRTOMBS=no
2201
2202 DEFAULT_wxUSE_PALETTE=no
2203 DEFAULT_wxUSE_IMAGE=no
2204 DEFAULT_wxUSE_GIF=no
2205 DEFAULT_wxUSE_PCX=no
2206 DEFAULT_wxUSE_PNM=no
2207 DEFAULT_wxUSE_IFF=no
2208 DEFAULT_wxUSE_XPM=no
2209 DEFAULT_wxUSE_ICO_CUR=no
2210 DEFAULT_wxUSE_ACCESSIBILITY=no
2211
2212 DEFAULT_wxUSE_MONOLITHIC=no
2213 DEFAULT_wxUSE_PLUGINS=no
2214 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2215 else
2216 DEFAULT_wxUSE_UNIVERSAL=no
2217 DEFAULT_wxUSE_STL=no
2218
2219 DEFAULT_wxUSE_NANOX=no
2220
2221 DEFAULT_wxUSE_THREADS=yes
2222
2223 DEFAULT_wxUSE_SHARED=yes
2224 DEFAULT_wxUSE_OPTIMISE=yes
2225 DEFAULT_wxUSE_PROFILE=no
2226 DEFAULT_wxUSE_NO_DEPS=no
2227 DEFAULT_wxUSE_NO_RTTI=no
2228 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2229 DEFAULT_wxUSE_RPATH=yes
2230 DEFAULT_wxUSE_PERMISSIVE=no
2231 DEFAULT_wxUSE_DEBUG_FLAG=no
2232 DEFAULT_wxUSE_DEBUG_INFO=no
2233 DEFAULT_wxUSE_DEBUG_GDB=no
2234 DEFAULT_wxUSE_MEM_TRACING=no
2235 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2236 DEFAULT_wxUSE_DMALLOC=no
2237 DEFAULT_wxUSE_APPLE_IEEE=yes
2238
2239 DEFAULT_wxUSE_EXCEPTIONS=yes
2240 DEFAULT_wxUSE_LOG=yes
2241 DEFAULT_wxUSE_LOGWINDOW=yes
2242 DEFAULT_wxUSE_LOGGUI=yes
2243 DEFAULT_wxUSE_LOGDIALOG=yes
2244
2245 DEFAULT_wxUSE_GUI=yes
2246
2247 DEFAULT_wxUSE_REGEX=yes
2248 DEFAULT_wxUSE_XML=yes
2249 DEFAULT_wxUSE_EXPAT=yes
2250 DEFAULT_wxUSE_ZLIB=yes
2251 DEFAULT_wxUSE_LIBPNG=yes
2252 DEFAULT_wxUSE_LIBJPEG=yes
2253 DEFAULT_wxUSE_LIBTIFF=yes
2254 DEFAULT_wxUSE_LIBXPM=yes
2255 DEFAULT_wxUSE_LIBMSPACK=yes
2256 DEFAULT_wxUSE_LIBSDL=no
2257 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2258 DEFAULT_wxUSE_ODBC=no
2259 DEFAULT_wxUSE_OPENGL=no
2260
2261 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2262 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2263 DEFAULT_wxUSE_STD_IOSTREAM=no
2264 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2265 DEFAULT_wxUSE_DATETIME=yes
2266 DEFAULT_wxUSE_TIMER=yes
2267 DEFAULT_wxUSE_STOPWATCH=yes
2268 DEFAULT_wxUSE_FILE=yes
2269 DEFAULT_wxUSE_FFILE=yes
2270 DEFAULT_wxUSE_TEXTBUFFER=yes
2271 DEFAULT_wxUSE_TEXTFILE=yes
2272 DEFAULT_wxUSE_SOUND=yes
2273 DEFAULT_wxUSE_MEDIACTRL=no
2274 DEFAULT_wxUSE_DIRECTSHOW=no
2275 DEFAULT_wxUSE_INTL=yes
2276 DEFAULT_wxUSE_CONFIG=yes
2277 DEFAULT_wxUSE_FONTMAP=yes
2278 DEFAULT_wxUSE_STREAMS=yes
2279 DEFAULT_wxUSE_SOCKETS=yes
2280 DEFAULT_wxUSE_OLE=yes
2281 DEFAULT_wxUSE_DATAOBJ=yes
2282 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2283 DEFAULT_wxUSE_JOYSTICK=yes
2284 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2285 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2286 DEFAULT_wxUSE_LONGLONG=yes
2287 DEFAULT_wxUSE_GEOMETRY=yes
2288
2289 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2290 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2291 DEFAULT_wxUSE_POSTSCRIPT=yes
2292
2293 DEFAULT_wxUSE_CLIPBOARD=yes
2294 DEFAULT_wxUSE_TOOLTIPS=yes
2295 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2296 DEFAULT_wxUSE_DRAGIMAGE=yes
2297 DEFAULT_wxUSE_SPLINES=yes
2298
2299 DEFAULT_wxUSE_MDI=yes
2300 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2301 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2302 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2303
2304 DEFAULT_wxUSE_RESOURCES=no
2305 DEFAULT_wxUSE_CONSTRAINTS=yes
2306 DEFAULT_wxUSE_IPC=yes
2307 DEFAULT_wxUSE_HELP=yes
2308 DEFAULT_wxUSE_MS_HTML_HELP=yes
2309 DEFAULT_wxUSE_WXHTML_HELP=yes
2310 DEFAULT_wxUSE_TREELAYOUT=yes
2311 DEFAULT_wxUSE_METAFILE=yes
2312 DEFAULT_wxUSE_MIMETYPE=yes
2313 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2314 DEFAULT_wxUSE_PROTOCOL=yes
2315 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2316 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2317 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2318 DEFAULT_wxUSE_URL=yes
2319
2320 DEFAULT_wxUSE_COMMONDLGS=yes
2321 DEFAULT_wxUSE_CHOICEDLG=yes
2322 DEFAULT_wxUSE_COLOURDLG=yes
2323 DEFAULT_wxUSE_DIRDLG=yes
2324 DEFAULT_wxUSE_FILEDLG=yes
2325 DEFAULT_wxUSE_FINDREPLDLG=yes
2326 DEFAULT_wxUSE_FONTDLG=yes
2327 DEFAULT_wxUSE_MSGDLG=yes
2328 DEFAULT_wxUSE_NUMBERDLG=yes
2329 DEFAULT_wxUSE_TEXTDLG=yes
2330 DEFAULT_wxUSE_SPLASH=yes
2331 DEFAULT_wxUSE_STARTUP_TIPS=yes
2332 DEFAULT_wxUSE_PROGRESSDLG=yes
2333 DEFAULT_wxUSE_WIZARDDLG=yes
2334
2335 DEFAULT_wxUSE_MENUS=yes
2336 DEFAULT_wxUSE_MINIFRAME=yes
2337 DEFAULT_wxUSE_HTML=yes
2338 DEFAULT_wxUSE_XRC=yes
2339 DEFAULT_wxUSE_WEBKIT=yes
2340 DEFAULT_wxUSE_FILESYSTEM=yes
2341 DEFAULT_wxUSE_FS_INET=yes
2342 DEFAULT_wxUSE_FS_ZIP=yes
2343 DEFAULT_wxUSE_BUSYINFO=yes
2344 DEFAULT_wxUSE_ZIPSTREAM=yes
2345 DEFAULT_wxUSE_VALIDATORS=yes
2346
2347 DEFAULT_wxUSE_ACCEL=yes
2348 DEFAULT_wxUSE_BUTTON=yes
2349 DEFAULT_wxUSE_BMPBUTTON=yes
2350 DEFAULT_wxUSE_CALCTRL=yes
2351 DEFAULT_wxUSE_CARET=yes
2352 DEFAULT_wxUSE_CHECKBOX=yes
2353 DEFAULT_wxUSE_CHECKLST=yes
2354 DEFAULT_wxUSE_CHOICE=yes
2355 DEFAULT_wxUSE_CHOICEBOOK=yes
2356 DEFAULT_wxUSE_COMBOBOX=yes
2357 DEFAULT_wxUSE_DISPLAY=yes
2358 DEFAULT_wxUSE_GAUGE=yes
2359 DEFAULT_wxUSE_GRID=yes
2360 DEFAULT_wxUSE_IMAGLIST=yes
2361 DEFAULT_wxUSE_LISTBOOK=yes
2362 DEFAULT_wxUSE_LISTBOX=yes
2363 DEFAULT_wxUSE_LISTCTRL=yes
2364 DEFAULT_wxUSE_NOTEBOOK=yes
2365 DEFAULT_wxUSE_RADIOBOX=yes
2366 DEFAULT_wxUSE_RADIOBTN=yes
2367 DEFAULT_wxUSE_SASH=yes
2368 DEFAULT_wxUSE_SCROLLBAR=yes
2369 DEFAULT_wxUSE_SLIDER=yes
2370 DEFAULT_wxUSE_SPINBTN=yes
2371 DEFAULT_wxUSE_SPINCTRL=yes
2372 DEFAULT_wxUSE_SPLITTER=yes
2373 DEFAULT_wxUSE_STATBMP=yes
2374 DEFAULT_wxUSE_STATBOX=yes
2375 DEFAULT_wxUSE_STATLINE=yes
2376 DEFAULT_wxUSE_STATTEXT=yes
2377 DEFAULT_wxUSE_STATUSBAR=yes
2378 DEFAULT_wxUSE_TABDIALOG=no
2379 DEFAULT_wxUSE_TEXTCTRL=yes
2380 DEFAULT_wxUSE_TOGGLEBTN=yes
2381 DEFAULT_wxUSE_TOOLBAR=yes
2382 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2383 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2384 DEFAULT_wxUSE_TREECTRL=yes
2385 DEFAULT_wxUSE_POPUPWIN=yes
2386 DEFAULT_wxUSE_TIPWINDOW=yes
2387
2388 DEFAULT_wxUSE_UNICODE=no
2389 DEFAULT_wxUSE_UNICODE_MSLU=yes
2390 DEFAULT_wxUSE_WCSRTOMBS=no
2391
2392 DEFAULT_wxUSE_PALETTE=yes
2393 DEFAULT_wxUSE_IMAGE=yes
2394 DEFAULT_wxUSE_GIF=yes
2395 DEFAULT_wxUSE_PCX=yes
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_PNM=yes
2398 DEFAULT_wxUSE_XPM=yes
2399 DEFAULT_wxUSE_ICO_CUR=yes
2400 DEFAULT_wxUSE_ACCESSIBILITY=no
2401
2402 DEFAULT_wxUSE_MONOLITHIC=no
2403 DEFAULT_wxUSE_PLUGINS=no
2404 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2405
2406 DEFAULT_wxUSE_GTK2=yes
2407 fi
2408
2409
2410
2411 for toolkit in `echo $ALL_TOOLKITS`; do
2412 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2413 if test "x$LINE" != "x" ; then
2414 has_toolkit_in_cache=1
2415 eval "DEFAULT_$LINE"
2416 eval "CACHE_$toolkit=1"
2417 fi
2418 done
2419
2420
2421
2422 enablestring=
2423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2424 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2425 no_cache=0
2426 # Check whether --enable-gui or --disable-gui was given.
2427 if test "${enable_gui+set}" = set; then
2428 enableval="$enable_gui"
2429
2430 if test "$enableval" = yes; then
2431 ac_cv_use_gui='wxUSE_GUI=yes'
2432 else
2433 ac_cv_use_gui='wxUSE_GUI=no'
2434 fi
2435
2436 else
2437
2438 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x ; then
2440 eval "DEFAULT_$LINE"
2441 else
2442 no_cache=1
2443 fi
2444
2445 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2446
2447 fi;
2448
2449 eval "$ac_cv_use_gui"
2450 if test "$no_cache" != 1; then
2451 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2452 fi
2453
2454 if test "$wxUSE_GUI" = yes; then
2455 echo "$as_me:$LINENO: result: yes" >&5
2456 echo "${ECHO_T}yes" >&6
2457 else
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2460 fi
2461
2462
2463 enablestring=
2464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2465 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2466 no_cache=0
2467 # Check whether --enable-monolithic or --disable-monolithic was given.
2468 if test "${enable_monolithic+set}" = set; then
2469 enableval="$enable_monolithic"
2470
2471 if test "$enableval" = yes; then
2472 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2473 else
2474 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2475 fi
2476
2477 else
2478
2479 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x ; then
2481 eval "DEFAULT_$LINE"
2482 else
2483 no_cache=1
2484 fi
2485
2486 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2487
2488 fi;
2489
2490 eval "$ac_cv_use_monolithic"
2491 if test "$no_cache" != 1; then
2492 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2493 fi
2494
2495 if test "$wxUSE_MONOLITHIC" = yes; then
2496 echo "$as_me:$LINENO: result: yes" >&5
2497 echo "${ECHO_T}yes" >&6
2498 else
2499 echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6
2501 fi
2502
2503
2504 enablestring=
2505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2506 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2507 no_cache=0
2508 # Check whether --enable-plugins or --disable-plugins was given.
2509 if test "${enable_plugins+set}" = set; then
2510 enableval="$enable_plugins"
2511
2512 if test "$enableval" = yes; then
2513 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2514 else
2515 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2516 fi
2517
2518 else
2519
2520 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x ; then
2522 eval "DEFAULT_$LINE"
2523 else
2524 no_cache=1
2525 fi
2526
2527 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2528
2529 fi;
2530
2531 eval "$ac_cv_use_plugins"
2532 if test "$no_cache" != 1; then
2533 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2534 fi
2535
2536 if test "$wxUSE_PLUGINS" = yes; then
2537 echo "$as_me:$LINENO: result: yes" >&5
2538 echo "${ECHO_T}yes" >&6
2539 else
2540 echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6
2542 fi
2543
2544
2545 if test "$wxUSE_GUI" = "yes"; then
2546
2547
2548 enablestring=
2549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2550 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2551 no_cache=0
2552 # Check whether --enable-universal or --disable-universal was given.
2553 if test "${enable_universal+set}" = set; then
2554 enableval="$enable_universal"
2555
2556 if test "$enableval" = yes; then
2557 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2558 else
2559 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2560 fi
2561
2562 else
2563
2564 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x ; then
2566 eval "DEFAULT_$LINE"
2567 else
2568 no_cache=1
2569 fi
2570
2571 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2572
2573 fi;
2574
2575 eval "$ac_cv_use_universal"
2576 if test "$no_cache" != 1; then
2577 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2578 fi
2579
2580 if test "$wxUSE_UNIVERSAL" = yes; then
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2583 else
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2586 fi
2587
2588
2589 # Check whether --with-gtk or --without-gtk was given.
2590 if test "${with_gtk+set}" = set; then
2591 withval="$with_gtk"
2592 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2593 fi;
2594
2595 # Check whether --with-motif or --without-motif was given.
2596 if test "${with_motif+set}" = set; then
2597 withval="$with_motif"
2598 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2599 fi;
2600
2601 # Check whether --with-mac or --without-mac was given.
2602 if test "${with_mac+set}" = set; then
2603 withval="$with_mac"
2604 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2605 fi;
2606
2607 # Check whether --with-cocoa or --without-cocoa was given.
2608 if test "${with_cocoa+set}" = set; then
2609 withval="$with_cocoa"
2610 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2611 fi;
2612
2613 # Check whether --with-wine or --without-wine was given.
2614 if test "${with_wine+set}" = set; then
2615 withval="$with_wine"
2616 wxUSE_WINE="$withval" CACHE_WINE=1
2617 fi;
2618
2619 # Check whether --with-msw or --without-msw was given.
2620 if test "${with_msw+set}" = set; then
2621 withval="$with_msw"
2622 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2623 fi;
2624
2625 # Check whether --with-pm or --without-pm was given.
2626 if test "${with_pm+set}" = set; then
2627 withval="$with_pm"
2628 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2629 fi;
2630
2631 # Check whether --with-mgl or --without-mgl was given.
2632 if test "${with_mgl+set}" = set; then
2633 withval="$with_mgl"
2634 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2635 fi;
2636
2637 # Check whether --with-microwin or --without-microwin was given.
2638 if test "${with_microwin+set}" = set; then
2639 withval="$with_microwin"
2640 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2641 fi;
2642
2643 # Check whether --with-x11 or --without-x11 was given.
2644 if test "${with_x11+set}" = set; then
2645 withval="$with_x11"
2646 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2647 fi;
2648
2649 enablestring=
2650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2651 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2652 no_cache=0
2653 # Check whether --enable-nanox or --disable-nanox was given.
2654 if test "${enable_nanox+set}" = set; then
2655 enableval="$enable_nanox"
2656
2657 if test "$enableval" = yes; then
2658 ac_cv_use_nanox='wxUSE_NANOX=yes'
2659 else
2660 ac_cv_use_nanox='wxUSE_NANOX=no'
2661 fi
2662
2663 else
2664
2665 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x ; then
2667 eval "DEFAULT_$LINE"
2668 else
2669 no_cache=1
2670 fi
2671
2672 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2673
2674 fi;
2675
2676 eval "$ac_cv_use_nanox"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2679 fi
2680
2681 if test "$wxUSE_NANOX" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2684 else
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2687 fi
2688
2689
2690
2691 enablestring=
2692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2693 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2694 no_cache=0
2695 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2696 if test "${enable_gtk2+set}" = set; then
2697 enableval="$enable_gtk2"
2698
2699 if test "$enableval" = yes; then
2700 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2701 else
2702 ac_cv_use_gtk2='wxUSE_GTK2=no'
2703 fi
2704
2705 else
2706
2707 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x ; then
2709 eval "DEFAULT_$LINE"
2710 else
2711 no_cache=1
2712 fi
2713
2714 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2715
2716 fi;
2717
2718 eval "$ac_cv_use_gtk2"
2719 if test "$no_cache" != 1; then
2720 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2721 fi
2722
2723 if test "$wxUSE_GTK2" = yes; then
2724 echo "$as_me:$LINENO: result: yes" >&5
2725 echo "${ECHO_T}yes" >&6
2726 else
2727 echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2729 fi
2730
2731
2732 enablestring=
2733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2734 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2735 no_cache=0
2736 # Check whether --enable-gpe or --disable-gpe was given.
2737 if test "${enable_gpe+set}" = set; then
2738 enableval="$enable_gpe"
2739
2740 if test "$enableval" = yes; then
2741 ac_cv_use_gpe='wxUSE_GPE=yes'
2742 else
2743 ac_cv_use_gpe='wxUSE_GPE=no'
2744 fi
2745
2746 else
2747
2748 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x ; then
2750 eval "DEFAULT_$LINE"
2751 else
2752 no_cache=1
2753 fi
2754
2755 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2756
2757 fi;
2758
2759 eval "$ac_cv_use_gpe"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2762 fi
2763
2764 if test "$wxUSE_GPE" = yes; then
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2767 else
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2770 fi
2771
2772
2773
2774 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2775 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2776 no_cache=0
2777
2778 # Check whether --with-libpng or --without-libpng was given.
2779 if test "${with_libpng+set}" = set; then
2780 withval="$with_libpng"
2781
2782 if test "$withval" = yes; then
2783 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2784 elif test "$withval" = no; then
2785 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2786 elif test "$withval" = sys; then
2787 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2788 elif test "$withval" = builtin; then
2789 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2790 else
2791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2792 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2793 { (exit 1); exit 1; }; }
2794 fi
2795
2796 else
2797
2798 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x ; then
2800 eval "DEFAULT_$LINE"
2801 else
2802 no_cache=1
2803 fi
2804
2805 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2806
2807 fi;
2808
2809 eval "$ac_cv_use_libpng"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2812 fi
2813
2814 if test "$wxUSE_LIBPNG" = yes; then
2815 echo "$as_me:$LINENO: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2817 elif test "$wxUSE_LIBPNG" = no; then
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2820 elif test "$wxUSE_LIBPNG" = sys; then
2821 echo "$as_me:$LINENO: result: system version" >&5
2822 echo "${ECHO_T}system version" >&6
2823 elif test "$wxUSE_LIBPNG" = builtin; then
2824 echo "$as_me:$LINENO: result: builtin version" >&5
2825 echo "${ECHO_T}builtin version" >&6
2826 else
2827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2828 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2829 { (exit 1); exit 1; }; }
2830 fi
2831
2832
2833 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2834 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2835 no_cache=0
2836
2837 # Check whether --with-libjpeg or --without-libjpeg was given.
2838 if test "${with_libjpeg+set}" = set; then
2839 withval="$with_libjpeg"
2840
2841 if test "$withval" = yes; then
2842 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2843 elif test "$withval" = no; then
2844 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2845 elif test "$withval" = sys; then
2846 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2847 elif test "$withval" = builtin; then
2848 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2849 else
2850 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2851 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2852 { (exit 1); exit 1; }; }
2853 fi
2854
2855 else
2856
2857 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x ; then
2859 eval "DEFAULT_$LINE"
2860 else
2861 no_cache=1
2862 fi
2863
2864 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2865
2866 fi;
2867
2868 eval "$ac_cv_use_libjpeg"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2871 fi
2872
2873 if test "$wxUSE_LIBJPEG" = yes; then
2874 echo "$as_me:$LINENO: result: yes" >&5
2875 echo "${ECHO_T}yes" >&6
2876 elif test "$wxUSE_LIBJPEG" = no; then
2877 echo "$as_me:$LINENO: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2879 elif test "$wxUSE_LIBJPEG" = sys; then
2880 echo "$as_me:$LINENO: result: system version" >&5
2881 echo "${ECHO_T}system version" >&6
2882 elif test "$wxUSE_LIBJPEG" = builtin; then
2883 echo "$as_me:$LINENO: result: builtin version" >&5
2884 echo "${ECHO_T}builtin version" >&6
2885 else
2886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2887 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2888 { (exit 1); exit 1; }; }
2889 fi
2890
2891
2892 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2893 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2894 no_cache=0
2895
2896 # Check whether --with-libtiff or --without-libtiff was given.
2897 if test "${with_libtiff+set}" = set; then
2898 withval="$with_libtiff"
2899
2900 if test "$withval" = yes; then
2901 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2902 elif test "$withval" = no; then
2903 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2904 elif test "$withval" = sys; then
2905 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2906 elif test "$withval" = builtin; then
2907 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2908 else
2909 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2910 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2911 { (exit 1); exit 1; }; }
2912 fi
2913
2914 else
2915
2916 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x ; then
2918 eval "DEFAULT_$LINE"
2919 else
2920 no_cache=1
2921 fi
2922
2923 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2924
2925 fi;
2926
2927 eval "$ac_cv_use_libtiff"
2928 if test "$no_cache" != 1; then
2929 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2930 fi
2931
2932 if test "$wxUSE_LIBTIFF" = yes; then
2933 echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6
2935 elif test "$wxUSE_LIBTIFF" = no; then
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2938 elif test "$wxUSE_LIBTIFF" = sys; then
2939 echo "$as_me:$LINENO: result: system version" >&5
2940 echo "${ECHO_T}system version" >&6
2941 elif test "$wxUSE_LIBTIFF" = builtin; then
2942 echo "$as_me:$LINENO: result: builtin version" >&5
2943 echo "${ECHO_T}builtin version" >&6
2944 else
2945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2946 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2947 { (exit 1); exit 1; }; }
2948 fi
2949
2950
2951 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2952 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2953 no_cache=0
2954
2955 # Check whether --with-libxpm or --without-libxpm was given.
2956 if test "${with_libxpm+set}" = set; then
2957 withval="$with_libxpm"
2958
2959 if test "$withval" = yes; then
2960 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2961 elif test "$withval" = no; then
2962 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2963 elif test "$withval" = sys; then
2964 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2965 elif test "$withval" = builtin; then
2966 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2967 else
2968 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2969 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2970 { (exit 1); exit 1; }; }
2971 fi
2972
2973 else
2974
2975 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x ; then
2977 eval "DEFAULT_$LINE"
2978 else
2979 no_cache=1
2980 fi
2981
2982 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2983
2984 fi;
2985
2986 eval "$ac_cv_use_libxpm"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2989 fi
2990
2991 if test "$wxUSE_LIBXPM" = yes; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2994 elif test "$wxUSE_LIBXPM" = no; then
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
2997 elif test "$wxUSE_LIBXPM" = sys; then
2998 echo "$as_me:$LINENO: result: system version" >&5
2999 echo "${ECHO_T}system version" >&6
3000 elif test "$wxUSE_LIBXPM" = builtin; then
3001 echo "$as_me:$LINENO: result: builtin version" >&5
3002 echo "${ECHO_T}builtin version" >&6
3003 else
3004 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3005 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3006 { (exit 1); exit 1; }; }
3007 fi
3008
3009
3010 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3011 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3012 no_cache=0
3013
3014 # Check whether --with-libmspack or --without-libmspack was given.
3015 if test "${with_libmspack+set}" = set; then
3016 withval="$with_libmspack"
3017
3018 if test "$withval" = yes; then
3019 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3020 else
3021 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3022 fi
3023
3024 else
3025
3026 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x ; then
3028 eval "DEFAULT_$LINE"
3029 else
3030 no_cache=1
3031 fi
3032
3033 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3034
3035 fi;
3036
3037 eval "$ac_cv_use_libmspack"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3040 fi
3041
3042 if test "$wxUSE_LIBMSPACK" = yes; then
3043 echo "$as_me:$LINENO: result: yes" >&5
3044 echo "${ECHO_T}yes" >&6
3045 else
3046 echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6
3048 fi
3049
3050
3051 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3052 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3053 no_cache=0
3054
3055 # Check whether --with-sdl or --without-sdl was given.
3056 if test "${with_sdl+set}" = set; then
3057 withval="$with_sdl"
3058
3059 if test "$withval" = yes; then
3060 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3061 else
3062 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3063 fi
3064
3065 else
3066
3067 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x ; then
3069 eval "DEFAULT_$LINE"
3070 else
3071 no_cache=1
3072 fi
3073
3074 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3075
3076 fi;
3077
3078 eval "$ac_cv_use_sdl"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3081 fi
3082
3083 if test "$wxUSE_LIBSDL" = yes; then
3084 echo "$as_me:$LINENO: result: yes" >&5
3085 echo "${ECHO_T}yes" >&6
3086 else
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3089 fi
3090
3091
3092 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3093 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3094 no_cache=0
3095
3096 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3097 if test "${with_gnomeprint+set}" = set; then
3098 withval="$with_gnomeprint"
3099
3100 if test "$withval" = yes; then
3101 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3102 else
3103 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3104 fi
3105
3106 else
3107
3108 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3109 if test "x$LINE" != x ; then
3110 eval "DEFAULT_$LINE"
3111 else
3112 no_cache=1
3113 fi
3114
3115 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3116
3117 fi;
3118
3119 eval "$ac_cv_use_gnomeprint"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3122 fi
3123
3124 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3125 echo "$as_me:$LINENO: result: yes" >&5
3126 echo "${ECHO_T}yes" >&6
3127 else
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3130 fi
3131
3132
3133 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3134 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3135 no_cache=0
3136
3137 # Check whether --with-opengl or --without-opengl was given.
3138 if test "${with_opengl+set}" = set; then
3139 withval="$with_opengl"
3140
3141 if test "$withval" = yes; then
3142 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3143 else
3144 ac_cv_use_opengl='wxUSE_OPENGL=no'
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3157
3158 fi;
3159
3160 eval "$ac_cv_use_opengl"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3163 fi
3164
3165 if test "$wxUSE_OPENGL" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 else
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 fi
3172
3173
3174 fi
3175
3176
3177 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3178 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3179 no_cache=0
3180
3181 # Check whether --with-dmalloc or --without-dmalloc was given.
3182 if test "${with_dmalloc+set}" = set; then
3183 withval="$with_dmalloc"
3184
3185 if test "$withval" = yes; then
3186 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3187 else
3188 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3189 fi
3190
3191 else
3192
3193 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3194 if test "x$LINE" != x ; then
3195 eval "DEFAULT_$LINE"
3196 else
3197 no_cache=1
3198 fi
3199
3200 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3201
3202 fi;
3203
3204 eval "$ac_cv_use_dmalloc"
3205 if test "$no_cache" != 1; then
3206 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3207 fi
3208
3209 if test "$wxUSE_DMALLOC" = yes; then
3210 echo "$as_me:$LINENO: result: yes" >&5
3211 echo "${ECHO_T}yes" >&6
3212 else
3213 echo "$as_me:$LINENO: result: no" >&5
3214 echo "${ECHO_T}no" >&6
3215 fi
3216
3217
3218 echo "$as_me:$LINENO: checking for --with-regex" >&5
3219 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3220 no_cache=0
3221
3222 # Check whether --with-regex or --without-regex was given.
3223 if test "${with_regex+set}" = set; then
3224 withval="$with_regex"
3225
3226 if test "$withval" = yes; then
3227 ac_cv_use_regex='wxUSE_REGEX=yes'
3228 elif test "$withval" = no; then
3229 ac_cv_use_regex='wxUSE_REGEX=no'
3230 elif test "$withval" = sys; then
3231 ac_cv_use_regex='wxUSE_REGEX=sys'
3232 elif test "$withval" = builtin; then
3233 ac_cv_use_regex='wxUSE_REGEX=builtin'
3234 else
3235 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3236 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3237 { (exit 1); exit 1; }; }
3238 fi
3239
3240 else
3241
3242 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3245 else
3246 no_cache=1
3247 fi
3248
3249 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3250
3251 fi;
3252
3253 eval "$ac_cv_use_regex"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test "$wxUSE_REGEX" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3261 elif test "$wxUSE_REGEX" = no; then
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3264 elif test "$wxUSE_REGEX" = sys; then
3265 echo "$as_me:$LINENO: result: system version" >&5
3266 echo "${ECHO_T}system version" >&6
3267 elif test "$wxUSE_REGEX" = builtin; then
3268 echo "$as_me:$LINENO: result: builtin version" >&5
3269 echo "${ECHO_T}builtin version" >&6
3270 else
3271 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3272 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3273 { (exit 1); exit 1; }; }
3274 fi
3275
3276
3277 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3278 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3279 no_cache=0
3280
3281 # Check whether --with-zlib or --without-zlib was given.
3282 if test "${with_zlib+set}" = set; then
3283 withval="$with_zlib"
3284
3285 if test "$withval" = yes; then
3286 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3287 elif test "$withval" = no; then
3288 ac_cv_use_zlib='wxUSE_ZLIB=no'
3289 elif test "$withval" = sys; then
3290 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3291 elif test "$withval" = builtin; then
3292 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3293 else
3294 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3295 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3296 { (exit 1); exit 1; }; }
3297 fi
3298
3299 else
3300
3301 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3302 if test "x$LINE" != x ; then
3303 eval "DEFAULT_$LINE"
3304 else
3305 no_cache=1
3306 fi
3307
3308 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3309
3310 fi;
3311
3312 eval "$ac_cv_use_zlib"
3313 if test "$no_cache" != 1; then
3314 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3315 fi
3316
3317 if test "$wxUSE_ZLIB" = yes; then
3318 echo "$as_me:$LINENO: result: yes" >&5
3319 echo "${ECHO_T}yes" >&6
3320 elif test "$wxUSE_ZLIB" = no; then
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 elif test "$wxUSE_ZLIB" = sys; then
3324 echo "$as_me:$LINENO: result: system version" >&5
3325 echo "${ECHO_T}system version" >&6
3326 elif test "$wxUSE_ZLIB" = builtin; then
3327 echo "$as_me:$LINENO: result: builtin version" >&5
3328 echo "${ECHO_T}builtin version" >&6
3329 else
3330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3332 { (exit 1); exit 1; }; }
3333 fi
3334
3335
3336 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3338 no_cache=0
3339
3340 # Check whether --with-odbc or --without-odbc was given.
3341 if test "${with_odbc+set}" = set; then
3342 withval="$with_odbc"
3343
3344 if test "$withval" = yes; then
3345 ac_cv_use_odbc='wxUSE_ODBC=yes'
3346 elif test "$withval" = no; then
3347 ac_cv_use_odbc='wxUSE_ODBC=no'
3348 elif test "$withval" = sys; then
3349 ac_cv_use_odbc='wxUSE_ODBC=sys'
3350 elif test "$withval" = builtin; then
3351 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3352 else
3353 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3354 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3355 { (exit 1); exit 1; }; }
3356 fi
3357
3358 else
3359
3360 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x ; then
3362 eval "DEFAULT_$LINE"
3363 else
3364 no_cache=1
3365 fi
3366
3367 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3368
3369 fi;
3370
3371 eval "$ac_cv_use_odbc"
3372 if test "$no_cache" != 1; then
3373 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3374 fi
3375
3376 if test "$wxUSE_ODBC" = yes; then
3377 echo "$as_me:$LINENO: result: yes" >&5
3378 echo "${ECHO_T}yes" >&6
3379 elif test "$wxUSE_ODBC" = no; then
3380 echo "$as_me:$LINENO: result: no" >&5
3381 echo "${ECHO_T}no" >&6
3382 elif test "$wxUSE_ODBC" = sys; then
3383 echo "$as_me:$LINENO: result: system version" >&5
3384 echo "${ECHO_T}system version" >&6
3385 elif test "$wxUSE_ODBC" = builtin; then
3386 echo "$as_me:$LINENO: result: builtin version" >&5
3387 echo "${ECHO_T}builtin version" >&6
3388 else
3389 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3390 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3391 { (exit 1); exit 1; }; }
3392 fi
3393
3394
3395 echo "$as_me:$LINENO: checking for --with-expat" >&5
3396 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3397 no_cache=0
3398
3399 # Check whether --with-expat or --without-expat was given.
3400 if test "${with_expat+set}" = set; then
3401 withval="$with_expat"
3402
3403 if test "$withval" = yes; then
3404 ac_cv_use_expat='wxUSE_EXPAT=yes'
3405 elif test "$withval" = no; then
3406 ac_cv_use_expat='wxUSE_EXPAT=no'
3407 elif test "$withval" = sys; then
3408 ac_cv_use_expat='wxUSE_EXPAT=sys'
3409 elif test "$withval" = builtin; then
3410 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3411 else
3412 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3413 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3414 { (exit 1); exit 1; }; }
3415 fi
3416
3417 else
3418
3419 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x ; then
3421 eval "DEFAULT_$LINE"
3422 else
3423 no_cache=1
3424 fi
3425
3426 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3427
3428 fi;
3429
3430 eval "$ac_cv_use_expat"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3433 fi
3434
3435 if test "$wxUSE_EXPAT" = yes; then
3436 echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3438 elif test "$wxUSE_EXPAT" = no; then
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3441 elif test "$wxUSE_EXPAT" = sys; then
3442 echo "$as_me:$LINENO: result: system version" >&5
3443 echo "${ECHO_T}system version" >&6
3444 elif test "$wxUSE_EXPAT" = builtin; then
3445 echo "$as_me:$LINENO: result: builtin version" >&5
3446 echo "${ECHO_T}builtin version" >&6
3447 else
3448 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3449 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3450 { (exit 1); exit 1; }; }
3451 fi
3452
3453
3454
3455
3456 enablestring=
3457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3458 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3459 no_cache=0
3460 # Check whether --enable-shared or --disable-shared was given.
3461 if test "${enable_shared+set}" = set; then
3462 enableval="$enable_shared"
3463
3464 if test "$enableval" = yes; then
3465 ac_cv_use_shared='wxUSE_SHARED=yes'
3466 else
3467 ac_cv_use_shared='wxUSE_SHARED=no'
3468 fi
3469
3470 else
3471
3472 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x ; then
3474 eval "DEFAULT_$LINE"
3475 else
3476 no_cache=1
3477 fi
3478
3479 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3480
3481 fi;
3482
3483 eval "$ac_cv_use_shared"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3486 fi
3487
3488 if test "$wxUSE_SHARED" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3491 else
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3494 fi
3495
3496
3497 enablestring=
3498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3499 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3500 no_cache=0
3501 # Check whether --enable-optimise or --disable-optimise was given.
3502 if test "${enable_optimise+set}" = set; then
3503 enableval="$enable_optimise"
3504
3505 if test "$enableval" = yes; then
3506 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3507 else
3508 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3509 fi
3510
3511 else
3512
3513 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3514 if test "x$LINE" != x ; then
3515 eval "DEFAULT_$LINE"
3516 else
3517 no_cache=1
3518 fi
3519
3520 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3521
3522 fi;
3523
3524 eval "$ac_cv_use_optimise"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3527 fi
3528
3529 if test "$wxUSE_OPTIMISE" = yes; then
3530 echo "$as_me:$LINENO: result: yes" >&5
3531 echo "${ECHO_T}yes" >&6
3532 else
3533 echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6
3535 fi
3536
3537
3538 enablestring=
3539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3540 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3541 no_cache=0
3542 # Check whether --enable-debug or --disable-debug was given.
3543 if test "${enable_debug+set}" = set; then
3544 enableval="$enable_debug"
3545
3546 if test "$enableval" = yes; then
3547 ac_cv_use_debug='wxUSE_DEBUG=yes'
3548 else
3549 ac_cv_use_debug='wxUSE_DEBUG=no'
3550 fi
3551
3552 else
3553
3554 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x ; then
3556 eval "DEFAULT_$LINE"
3557 else
3558 no_cache=1
3559 fi
3560
3561 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3562
3563 fi;
3564
3565 eval "$ac_cv_use_debug"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3568 fi
3569
3570 if test "$wxUSE_DEBUG" = yes; then
3571 echo "$as_me:$LINENO: result: yes" >&5
3572 echo "${ECHO_T}yes" >&6
3573 else
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3576 fi
3577
3578
3579 enablestring=
3580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3581 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3582 no_cache=0
3583 # Check whether --enable-stl or --disable-stl was given.
3584 if test "${enable_stl+set}" = set; then
3585 enableval="$enable_stl"
3586
3587 if test "$enableval" = yes; then
3588 ac_cv_use_stl='wxUSE_STL=yes'
3589 else
3590 ac_cv_use_stl='wxUSE_STL=no'
3591 fi
3592
3593 else
3594
3595 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3596 if test "x$LINE" != x ; then
3597 eval "DEFAULT_$LINE"
3598 else
3599 no_cache=1
3600 fi
3601
3602 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3603
3604 fi;
3605
3606 eval "$ac_cv_use_stl"
3607 if test "$no_cache" != 1; then
3608 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3609 fi
3610
3611 if test "$wxUSE_STL" = yes; then
3612 echo "$as_me:$LINENO: result: yes" >&5
3613 echo "${ECHO_T}yes" >&6
3614 else
3615 echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3617 fi
3618
3619 if test "$USE_OS2" = "1"; then
3620
3621 enablestring=
3622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3623 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3624 no_cache=0
3625 # Check whether --enable-omf or --disable-omf was given.
3626 if test "${enable_omf+set}" = set; then
3627 enableval="$enable_omf"
3628
3629 if test "$enableval" = yes; then
3630 ac_cv_use_omf='wxUSE_OMF=yes'
3631 else
3632 ac_cv_use_omf='wxUSE_OMF=no'
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3645
3646 fi;
3647
3648 eval "$ac_cv_use_omf"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_OMF" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 else
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 fi
3660
3661 fi
3662
3663 if test "$wxUSE_DEBUG" = "yes"; then
3664 DEFAULT_wxUSE_DEBUG_FLAG=yes
3665 DEFAULT_wxUSE_DEBUG_INFO=yes
3666 BUILD=debug
3667 elif test "$wxUSE_DEBUG" = "no"; then
3668 DEFAULT_wxUSE_DEBUG_FLAG=no
3669 DEFAULT_wxUSE_DEBUG_INFO=no
3670 BUILD=release
3671 fi
3672
3673
3674 enablestring=
3675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3676 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3677 no_cache=0
3678 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3679 if test "${enable_debug_flag+set}" = set; then
3680 enableval="$enable_debug_flag"
3681
3682 if test "$enableval" = yes; then
3683 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3684 else
3685 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3686 fi
3687
3688 else
3689
3690 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x ; then
3692 eval "DEFAULT_$LINE"
3693 else
3694 no_cache=1
3695 fi
3696
3697 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3698
3699 fi;
3700
3701 eval "$ac_cv_use_debug_flag"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3704 fi
3705
3706 if test "$wxUSE_DEBUG_FLAG" = yes; then
3707 echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6
3709 else
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3712 fi
3713
3714
3715 enablestring=
3716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3717 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3718 no_cache=0
3719 # Check whether --enable-debug_info or --disable-debug_info was given.
3720 if test "${enable_debug_info+set}" = set; then
3721 enableval="$enable_debug_info"
3722
3723 if test "$enableval" = yes; then
3724 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3725 else
3726 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3727 fi
3728
3729 else
3730
3731 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x ; then
3733 eval "DEFAULT_$LINE"
3734 else
3735 no_cache=1
3736 fi
3737
3738 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3739
3740 fi;
3741
3742 eval "$ac_cv_use_debug_info"
3743 if test "$no_cache" != 1; then
3744 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3745 fi
3746
3747 if test "$wxUSE_DEBUG_INFO" = yes; then
3748 echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6
3750 else
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3753 fi
3754
3755
3756 enablestring=
3757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3758 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3759 no_cache=0
3760 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3761 if test "${enable_debug_gdb+set}" = set; then
3762 enableval="$enable_debug_gdb"
3763
3764 if test "$enableval" = yes; then
3765 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3766 else
3767 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3768 fi
3769
3770 else
3771
3772 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x ; then
3774 eval "DEFAULT_$LINE"
3775 else
3776 no_cache=1
3777 fi
3778
3779 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3780
3781 fi;
3782
3783 eval "$ac_cv_use_debug_gdb"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3786 fi
3787
3788 if test "$wxUSE_DEBUG_GDB" = yes; then
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3791 else
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3794 fi
3795
3796
3797 enablestring=
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3800 no_cache=0
3801 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3802 if test "${enable_debug_cntxt+set}" = set; then
3803 enableval="$enable_debug_cntxt"
3804
3805 if test "$enableval" = yes; then
3806 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3807 else
3808 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3809 fi
3810
3811 else
3812
3813 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "DEFAULT_$LINE"
3816 else
3817 no_cache=1
3818 fi
3819
3820 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3821
3822 fi;
3823
3824 eval "$ac_cv_use_debug_cntxt"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3827 fi
3828
3829 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3832 else
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3835 fi
3836
3837
3838 enablestring=
3839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3840 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3841 no_cache=0
3842 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3843 if test "${enable_mem_tracing+set}" = set; then
3844 enableval="$enable_mem_tracing"
3845
3846 if test "$enableval" = yes; then
3847 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3848 else
3849 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3850 fi
3851
3852 else
3853
3854 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x ; then
3856 eval "DEFAULT_$LINE"
3857 else
3858 no_cache=1
3859 fi
3860
3861 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3862
3863 fi;
3864
3865 eval "$ac_cv_use_mem_tracing"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3868 fi
3869
3870 if test "$wxUSE_MEM_TRACING" = yes; then
3871 echo "$as_me:$LINENO: result: yes" >&5
3872 echo "${ECHO_T}yes" >&6
3873 else
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3876 fi
3877
3878
3879 enablestring=
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3881 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3882 no_cache=0
3883 # Check whether --enable-profile or --disable-profile was given.
3884 if test "${enable_profile+set}" = set; then
3885 enableval="$enable_profile"
3886
3887 if test "$enableval" = yes; then
3888 ac_cv_use_profile='wxUSE_PROFILE=yes'
3889 else
3890 ac_cv_use_profile='wxUSE_PROFILE=no'
3891 fi
3892
3893 else
3894
3895 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 else
3899 no_cache=1
3900 fi
3901
3902 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3903
3904 fi;
3905
3906 eval "$ac_cv_use_profile"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3909 fi
3910
3911 if test "$wxUSE_PROFILE" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6
3914 else
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3917 fi
3918
3919
3920 enablestring=
3921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3922 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3923 no_cache=0
3924 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3925 if test "${enable_no_rtti+set}" = set; then
3926 enableval="$enable_no_rtti"
3927
3928 if test "$enableval" = yes; then
3929 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3930 else
3931 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3932 fi
3933
3934 else
3935
3936 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x ; then
3938 eval "DEFAULT_$LINE"
3939 else
3940 no_cache=1
3941 fi
3942
3943 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3944
3945 fi;
3946
3947 eval "$ac_cv_use_no_rtti"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3950 fi
3951
3952 if test "$wxUSE_NO_RTTI" = yes; then
3953 echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6
3955 else
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3958 fi
3959
3960
3961 enablestring=
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3964 no_cache=0
3965 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3966 if test "${enable_no_exceptions+set}" = set; then
3967 enableval="$enable_no_exceptions"
3968
3969 if test "$enableval" = yes; then
3970 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3971 else
3972 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3973 fi
3974
3975 else
3976
3977 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3980 else
3981 no_cache=1
3982 fi
3983
3984 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3985
3986 fi;
3987
3988 eval "$ac_cv_use_no_exceptions"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3991 fi
3992
3993 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3996 else
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
3999 fi
4000
4001
4002 enablestring=
4003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4004 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4005 no_cache=0
4006 # Check whether --enable-permissive or --disable-permissive was given.
4007 if test "${enable_permissive+set}" = set; then
4008 enableval="$enable_permissive"
4009
4010 if test "$enableval" = yes; then
4011 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4012 else
4013 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4014 fi
4015
4016 else
4017
4018 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x ; then
4020 eval "DEFAULT_$LINE"
4021 else
4022 no_cache=1
4023 fi
4024
4025 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4026
4027 fi;
4028
4029 eval "$ac_cv_use_permissive"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4032 fi
4033
4034 if test "$wxUSE_PERMISSIVE" = yes; then
4035 echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6
4037 else
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4040 fi
4041
4042
4043 enablestring=
4044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4045 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4046 no_cache=0
4047 # Check whether --enable-no_deps or --disable-no_deps was given.
4048 if test "${enable_no_deps+set}" = set; then
4049 enableval="$enable_no_deps"
4050
4051 if test "$enableval" = yes; then
4052 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4053 else
4054 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4055 fi
4056
4057 else
4058
4059 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4062 else
4063 no_cache=1
4064 fi
4065
4066 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4067
4068 fi;
4069
4070 eval "$ac_cv_use_no_deps"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4073 fi
4074
4075 if test "$wxUSE_NO_DEPS" = yes; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077 echo "${ECHO_T}yes" >&6
4078 else
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4081 fi
4082
4083
4084
4085 enablestring=
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4088 no_cache=0
4089 # Check whether --enable-compat22 or --disable-compat22 was given.
4090 if test "${enable_compat22+set}" = set; then
4091 enableval="$enable_compat22"
4092
4093 if test "$enableval" = yes; then
4094 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4095 else
4096 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4109
4110 fi;
4111
4112 eval "$ac_cv_use_compat22"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4115 fi
4116
4117 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4120 else
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4123 fi
4124
4125
4126 enablestring=disable
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4129 no_cache=0
4130 # Check whether --enable-compat24 or --disable-compat24 was given.
4131 if test "${enable_compat24+set}" = set; then
4132 enableval="$enable_compat24"
4133
4134 if test "$enableval" = yes; then
4135 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4136 else
4137 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4138 fi
4139
4140 else
4141
4142 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4145 else
4146 no_cache=1
4147 fi
4148
4149 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4150
4151 fi;
4152
4153 eval "$ac_cv_use_compat24"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4156 fi
4157
4158 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4161 else
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4164 fi
4165
4166
4167
4168 enablestring=
4169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4170 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4171 no_cache=0
4172 # Check whether --enable-rpath or --disable-rpath was given.
4173 if test "${enable_rpath+set}" = set; then
4174 enableval="$enable_rpath"
4175
4176 if test "$enableval" = yes; then
4177 ac_cv_use_rpath='wxUSE_RPATH=yes'
4178 else
4179 ac_cv_use_rpath='wxUSE_RPATH=no'
4180 fi
4181
4182 else
4183
4184 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4187 else
4188 no_cache=1
4189 fi
4190
4191 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4192
4193 fi;
4194
4195 eval "$ac_cv_use_rpath"
4196 if test "$no_cache" != 1; then
4197 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4198 fi
4199
4200 if test "$wxUSE_RPATH" = yes; then
4201 echo "$as_me:$LINENO: result: yes" >&5
4202 echo "${ECHO_T}yes" >&6
4203 else
4204 echo "$as_me:$LINENO: result: no" >&5
4205 echo "${ECHO_T}no" >&6
4206 fi
4207
4208
4209
4210
4211
4212 enablestring=
4213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4214 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4215 no_cache=0
4216 # Check whether --enable-intl or --disable-intl was given.
4217 if test "${enable_intl+set}" = set; then
4218 enableval="$enable_intl"
4219
4220 if test "$enableval" = yes; then
4221 ac_cv_use_intl='wxUSE_INTL=yes'
4222 else
4223 ac_cv_use_intl='wxUSE_INTL=no'
4224 fi
4225
4226 else
4227
4228 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4231 else
4232 no_cache=1
4233 fi
4234
4235 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4236
4237 fi;
4238
4239 eval "$ac_cv_use_intl"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4242 fi
4243
4244 if test "$wxUSE_INTL" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4247 else
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4250 fi
4251
4252
4253 enablestring=
4254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4255 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4256 no_cache=0
4257 # Check whether --enable-config or --disable-config was given.
4258 if test "${enable_config+set}" = set; then
4259 enableval="$enable_config"
4260
4261 if test "$enableval" = yes; then
4262 ac_cv_use_config='wxUSE_CONFIG=yes'
4263 else
4264 ac_cv_use_config='wxUSE_CONFIG=no'
4265 fi
4266
4267 else
4268
4269 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x ; then
4271 eval "DEFAULT_$LINE"
4272 else
4273 no_cache=1
4274 fi
4275
4276 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4277
4278 fi;
4279
4280 eval "$ac_cv_use_config"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4283 fi
4284
4285 if test "$wxUSE_CONFIG" = yes; then
4286 echo "$as_me:$LINENO: result: yes" >&5
4287 echo "${ECHO_T}yes" >&6
4288 else
4289 echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6
4291 fi
4292
4293
4294
4295 enablestring=
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4298 no_cache=0
4299 # Check whether --enable-protocols or --disable-protocols was given.
4300 if test "${enable_protocols+set}" = set; then
4301 enableval="$enable_protocols"
4302
4303 if test "$enableval" = yes; then
4304 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4305 else
4306 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4307 fi
4308
4309 else
4310
4311 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4314 else
4315 no_cache=1
4316 fi
4317
4318 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4319
4320 fi;
4321
4322 eval "$ac_cv_use_protocols"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4325 fi
4326
4327 if test "$wxUSE_PROTOCOL" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4330 else
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4333 fi
4334
4335
4336 enablestring=
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4339 no_cache=0
4340 # Check whether --enable-ftp or --disable-ftp was given.
4341 if test "${enable_ftp+set}" = set; then
4342 enableval="$enable_ftp"
4343
4344 if test "$enableval" = yes; then
4345 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4346 else
4347 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4348 fi
4349
4350 else
4351
4352 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x ; then
4354 eval "DEFAULT_$LINE"
4355 else
4356 no_cache=1
4357 fi
4358
4359 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4360
4361 fi;
4362
4363 eval "$ac_cv_use_ftp"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4366 fi
4367
4368 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4371 else
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4374 fi
4375
4376
4377 enablestring=
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4380 no_cache=0
4381 # Check whether --enable-http or --disable-http was given.
4382 if test "${enable_http+set}" = set; then
4383 enableval="$enable_http"
4384
4385 if test "$enableval" = yes; then
4386 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4387 else
4388 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4389 fi
4390
4391 else
4392
4393 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4396 else
4397 no_cache=1
4398 fi
4399
4400 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4401
4402 fi;
4403
4404 eval "$ac_cv_use_http"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4407 fi
4408
4409 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4412 else
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4415 fi
4416
4417
4418 enablestring=
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4421 no_cache=0
4422 # Check whether --enable-fileproto or --disable-fileproto was given.
4423 if test "${enable_fileproto+set}" = set; then
4424 enableval="$enable_fileproto"
4425
4426 if test "$enableval" = yes; then
4427 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4428 else
4429 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4430 fi
4431
4432 else
4433
4434 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4442
4443 fi;
4444
4445 eval "$ac_cv_use_fileproto"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4448 fi
4449
4450 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4451 echo "$as_me:$LINENO: result: yes" >&5
4452 echo "${ECHO_T}yes" >&6
4453 else
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4456 fi
4457
4458
4459 enablestring=
4460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4462 no_cache=0
4463 # Check whether --enable-sockets or --disable-sockets was given.
4464 if test "${enable_sockets+set}" = set; then
4465 enableval="$enable_sockets"
4466
4467 if test "$enableval" = yes; then
4468 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4469 else
4470 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4471 fi
4472
4473 else
4474
4475 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x ; then
4477 eval "DEFAULT_$LINE"
4478 else
4479 no_cache=1
4480 fi
4481
4482 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4483
4484 fi;
4485
4486 eval "$ac_cv_use_sockets"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4489 fi
4490
4491 if test "$wxUSE_SOCKETS" = yes; then
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4494 else
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4497 fi
4498
4499
4500 enablestring=
4501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4503 no_cache=0
4504 # Check whether --enable-ole or --disable-ole was given.
4505 if test "${enable_ole+set}" = set; then
4506 enableval="$enable_ole"
4507
4508 if test "$enableval" = yes; then
4509 ac_cv_use_ole='wxUSE_OLE=yes'
4510 else
4511 ac_cv_use_ole='wxUSE_OLE=no'
4512 fi
4513
4514 else
4515
4516 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x ; then
4518 eval "DEFAULT_$LINE"
4519 else
4520 no_cache=1
4521 fi
4522
4523 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4524
4525 fi;
4526
4527 eval "$ac_cv_use_ole"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4530 fi
4531
4532 if test "$wxUSE_OLE" = yes; then
4533 echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6
4535 else
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4538 fi
4539
4540
4541 enablestring=
4542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4544 no_cache=0
4545 # Check whether --enable-dataobj or --disable-dataobj was given.
4546 if test "${enable_dataobj+set}" = set; then
4547 enableval="$enable_dataobj"
4548
4549 if test "$enableval" = yes; then
4550 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4551 else
4552 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4553 fi
4554
4555 else
4556
4557 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x ; then
4559 eval "DEFAULT_$LINE"
4560 else
4561 no_cache=1
4562 fi
4563
4564 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4565
4566 fi;
4567
4568 eval "$ac_cv_use_dataobj"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4571 fi
4572
4573 if test "$wxUSE_DATAOBJ" = yes; then
4574 echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6
4576 else
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4579 fi
4580
4581
4582
4583 enablestring=
4584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4586 no_cache=0
4587 # Check whether --enable-ipc or --disable-ipc was given.
4588 if test "${enable_ipc+set}" = set; then
4589 enableval="$enable_ipc"
4590
4591 if test "$enableval" = yes; then
4592 ac_cv_use_ipc='wxUSE_IPC=yes'
4593 else
4594 ac_cv_use_ipc='wxUSE_IPC=no'
4595 fi
4596
4597 else
4598
4599 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x ; then
4601 eval "DEFAULT_$LINE"
4602 else
4603 no_cache=1
4604 fi
4605
4606 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4607
4608 fi;
4609
4610 eval "$ac_cv_use_ipc"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4613 fi
4614
4615 if test "$wxUSE_IPC" = yes; then
4616 echo "$as_me:$LINENO: result: yes" >&5
4617 echo "${ECHO_T}yes" >&6
4618 else
4619 echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4621 fi
4622
4623
4624
4625 enablestring=
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4628 no_cache=0
4629 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4630 if test "${enable_apple_ieee+set}" = set; then
4631 enableval="$enable_apple_ieee"
4632
4633 if test "$enableval" = yes; then
4634 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4635 else
4636 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4637 fi
4638
4639 else
4640
4641 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4649
4650 fi;
4651
4652 eval "$ac_cv_use_apple_ieee"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test "$wxUSE_APPLE_IEEE" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4660 else
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4663 fi
4664
4665
4666 enablestring=
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4669 no_cache=0
4670 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4671 if test "${enable_catch_segvs+set}" = set; then
4672 enableval="$enable_catch_segvs"
4673
4674 if test "$enableval" = yes; then
4675 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4676 else
4677 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4678 fi
4679
4680 else
4681
4682 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4685 else
4686 no_cache=1
4687 fi
4688
4689 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4690
4691 fi;
4692
4693 eval "$ac_cv_use_catch_segvs"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4696 fi
4697
4698 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4704 fi
4705
4706
4707 enablestring=
4708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4710 no_cache=0
4711 # Check whether --enable-cmdline or --disable-cmdline was given.
4712 if test "${enable_cmdline+set}" = set; then
4713 enableval="$enable_cmdline"
4714
4715 if test "$enableval" = yes; then
4716 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4717 else
4718 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4719 fi
4720
4721 else
4722
4723 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4726 else
4727 no_cache=1
4728 fi
4729
4730 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4731
4732 fi;
4733
4734 eval "$ac_cv_use_cmdline"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4737 fi
4738
4739 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4740 echo "$as_me:$LINENO: result: yes" >&5
4741 echo "${ECHO_T}yes" >&6
4742 else
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4745 fi
4746
4747
4748 enablestring=
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4751 no_cache=0
4752 # Check whether --enable-datetime or --disable-datetime was given.
4753 if test "${enable_datetime+set}" = set; then
4754 enableval="$enable_datetime"
4755
4756 if test "$enableval" = yes; then
4757 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4758 else
4759 ac_cv_use_datetime='wxUSE_DATETIME=no'
4760 fi
4761
4762 else
4763
4764 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 else
4768 no_cache=1
4769 fi
4770
4771 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4772
4773 fi;
4774
4775 eval "$ac_cv_use_datetime"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4778 fi
4779
4780 if test "$wxUSE_DATETIME" = yes; then
4781 echo "$as_me:$LINENO: result: yes" >&5
4782 echo "${ECHO_T}yes" >&6
4783 else
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6
4786 fi
4787
4788
4789 enablestring=
4790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4792 no_cache=0
4793 # Check whether --enable-dialupman or --disable-dialupman was given.
4794 if test "${enable_dialupman+set}" = set; then
4795 enableval="$enable_dialupman"
4796
4797 if test "$enableval" = yes; then
4798 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4799 else
4800 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4801 fi
4802
4803 else
4804
4805 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4808 else
4809 no_cache=1
4810 fi
4811
4812 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4813
4814 fi;
4815
4816 eval "$ac_cv_use_dialupman"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4819 fi
4820
4821 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4822 echo "$as_me:$LINENO: result: yes" >&5
4823 echo "${ECHO_T}yes" >&6
4824 else
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4827 fi
4828
4829
4830 enablestring=
4831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4833 no_cache=0
4834 # Check whether --enable-dynlib or --disable-dynlib was given.
4835 if test "${enable_dynlib+set}" = set; then
4836 enableval="$enable_dynlib"
4837
4838 if test "$enableval" = yes; then
4839 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4840 else
4841 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4842 fi
4843
4844 else
4845
4846 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4849 else
4850 no_cache=1
4851 fi
4852
4853 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4854
4855 fi;
4856
4857 eval "$ac_cv_use_dynlib"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4860 fi
4861
4862 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4863 echo "$as_me:$LINENO: result: yes" >&5
4864 echo "${ECHO_T}yes" >&6
4865 else
4866 echo "$as_me:$LINENO: result: no" >&5
4867 echo "${ECHO_T}no" >&6
4868 fi
4869
4870
4871 enablestring=
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4873 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4874 no_cache=0
4875 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4876 if test "${enable_dynamicloader+set}" = set; then
4877 enableval="$enable_dynamicloader"
4878
4879 if test "$enableval" = yes; then
4880 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4881 else
4882 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4883 fi
4884
4885 else
4886
4887 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4890 else
4891 no_cache=1
4892 fi
4893
4894 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4895
4896 fi;
4897
4898 eval "$ac_cv_use_dynamicloader"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4901 fi
4902
4903 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905 echo "${ECHO_T}yes" >&6
4906 else
4907 echo "$as_me:$LINENO: result: no" >&5
4908 echo "${ECHO_T}no" >&6
4909 fi
4910
4911
4912 enablestring=
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4915 no_cache=0
4916 # Check whether --enable-exceptions or --disable-exceptions was given.
4917 if test "${enable_exceptions+set}" = set; then
4918 enableval="$enable_exceptions"
4919
4920 if test "$enableval" = yes; then
4921 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4922 else
4923 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4924 fi
4925
4926 else
4927
4928 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4931 else
4932 no_cache=1
4933 fi
4934
4935 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4936
4937 fi;
4938
4939 eval "$ac_cv_use_exceptions"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4942 fi
4943
4944 if test "$wxUSE_EXCEPTIONS" = yes; then
4945 echo "$as_me:$LINENO: result: yes" >&5
4946 echo "${ECHO_T}yes" >&6
4947 else
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4950 fi
4951
4952
4953 enablestring=
4954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4956 no_cache=0
4957 # Check whether --enable-ffile or --disable-ffile was given.
4958 if test "${enable_ffile+set}" = set; then
4959 enableval="$enable_ffile"
4960
4961 if test "$enableval" = yes; then
4962 ac_cv_use_ffile='wxUSE_FFILE=yes'
4963 else
4964 ac_cv_use_ffile='wxUSE_FFILE=no'
4965 fi
4966
4967 else
4968
4969 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x ; then
4971 eval "DEFAULT_$LINE"
4972 else
4973 no_cache=1
4974 fi
4975
4976 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4977
4978 fi;
4979
4980 eval "$ac_cv_use_ffile"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4983 fi
4984
4985 if test "$wxUSE_FFILE" = yes; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987 echo "${ECHO_T}yes" >&6
4988 else
4989 echo "$as_me:$LINENO: result: no" >&5
4990 echo "${ECHO_T}no" >&6
4991 fi
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-file or --disable-file was given.
4999 if test "${enable_file+set}" = set; then
5000 enableval="$enable_file"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_file='wxUSE_FILE=yes'
5004 else
5005 ac_cv_use_file='wxUSE_FILE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_file"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_FILE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-filesystem or --disable-filesystem was given.
5040 if test "${enable_filesystem+set}" = set; then
5041 enableval="$enable_filesystem"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5045 else
5046 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5059
5060 fi;
5061
5062 eval "$ac_cv_use_filesystem"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_FILESYSTEM" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-fontmap or --disable-fontmap was given.
5081 if test "${enable_fontmap+set}" = set; then
5082 enableval="$enable_fontmap"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5086 else
5087 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5100
5101 fi;
5102
5103 eval "$ac_cv_use_fontmap"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_FONTMAP" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5122 if test "${enable_fs_inet+set}" = set; then
5123 enableval="$enable_fs_inet"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5127 else
5128 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5141
5142 fi;
5143
5144 eval "$ac_cv_use_fs_inet"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_FS_INET" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5163 if test "${enable_fs_zip+set}" = set; then
5164 enableval="$enable_fs_zip"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5168 else
5169 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5182
5183 fi;
5184
5185 eval "$ac_cv_use_fs_zip"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_FS_ZIP" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-geometry or --disable-geometry was given.
5204 if test "${enable_geometry+set}" = set; then
5205 enableval="$enable_geometry"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5209 else
5210 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5223
5224 fi;
5225
5226 eval "$ac_cv_use_geometry"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_GEOMETRY" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-log or --disable-log was given.
5245 if test "${enable_log+set}" = set; then
5246 enableval="$enable_log"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_log='wxUSE_LOG=yes'
5250 else
5251 ac_cv_use_log='wxUSE_LOG=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5264
5265 fi;
5266
5267 eval "$ac_cv_use_log"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_LOG" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-longlong or --disable-longlong was given.
5286 if test "${enable_longlong+set}" = set; then
5287 enableval="$enable_longlong"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5291 else
5292 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5305
5306 fi;
5307
5308 eval "$ac_cv_use_longlong"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_LONGLONG" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-mimetype or --disable-mimetype was given.
5327 if test "${enable_mimetype+set}" = set; then
5328 enableval="$enable_mimetype"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5332 else
5333 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5346
5347 fi;
5348
5349 eval "$ac_cv_use_mimetype"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_MIMETYPE" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-mslu or --disable-mslu was given.
5368 if test "${enable_mslu+set}" = set; then
5369 enableval="$enable_mslu"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5373 else
5374 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5387
5388 fi;
5389
5390 eval "$ac_cv_use_mslu"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_UNICODE_MSLU" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-snglinst or --disable-snglinst was given.
5409 if test "${enable_snglinst+set}" = set; then
5410 enableval="$enable_snglinst"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5414 else
5415 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5428
5429 fi;
5430
5431 eval "$ac_cv_use_snglinst"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-streams or --disable-streams was given.
5450 if test "${enable_streams+set}" = set; then
5451 enableval="$enable_streams"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_streams='wxUSE_STREAMS=yes'
5455 else
5456 ac_cv_use_streams='wxUSE_STREAMS=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5469
5470 fi;
5471
5472 eval "$ac_cv_use_streams"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_STREAMS" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5491 if test "${enable_std_iostreams+set}" = set; then
5492 enableval="$enable_std_iostreams"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5496 else
5497 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5510
5511 fi;
5512
5513 eval "$ac_cv_use_std_iostreams"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_STD_IOSTREAM" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5532 if test "${enable_stopwatch+set}" = set; then
5533 enableval="$enable_stopwatch"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5537 else
5538 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5551
5552 fi;
5553
5554 eval "$ac_cv_use_stopwatch"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_STOPWATCH" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-system_options or --disable-system_options was given.
5573 if test "${enable_system_options+set}" = set; then
5574 enableval="$enable_system_options"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5578 else
5579 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5592
5593 fi;
5594
5595 eval "$ac_cv_use_system_options"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-textbuf or --disable-textbuf was given.
5614 if test "${enable_textbuf+set}" = set; then
5615 enableval="$enable_textbuf"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5619 else
5620 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5633
5634 fi;
5635
5636 eval "$ac_cv_use_textbuf"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_TEXTBUFFER" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-textfile or --disable-textfile was given.
5655 if test "${enable_textfile+set}" = set; then
5656 enableval="$enable_textfile"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5660 else
5661 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5674
5675 fi;
5676
5677 eval "$ac_cv_use_textfile"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_TEXTFILE" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-timer or --disable-timer was given.
5696 if test "${enable_timer+set}" = set; then
5697 enableval="$enable_timer"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_timer='wxUSE_TIMER=yes'
5701 else
5702 ac_cv_use_timer='wxUSE_TIMER=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5715
5716 fi;
5717
5718 eval "$ac_cv_use_timer"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_TIMER" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-unicode or --disable-unicode was given.
5737 if test "${enable_unicode+set}" = set; then
5738 enableval="$enable_unicode"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5742 else
5743 ac_cv_use_unicode='wxUSE_UNICODE=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5756
5757 fi;
5758
5759 eval "$ac_cv_use_unicode"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_UNICODE" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-sound or --disable-sound was given.
5778 if test "${enable_sound+set}" = set; then
5779 enableval="$enable_sound"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_sound='wxUSE_SOUND=yes'
5783 else
5784 ac_cv_use_sound='wxUSE_SOUND=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5797
5798 fi;
5799
5800 eval "$ac_cv_use_sound"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_SOUND" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5819 if test "${enable_mediactrl+set}" = set; then
5820 enableval="$enable_mediactrl"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5824 else
5825 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5838
5839 fi;
5840
5841 eval "$ac_cv_use_mediactrl"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_MEDIACTRL" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5860 if test "${enable_wxprintfv+set}" = set; then
5861 enableval="$enable_wxprintfv"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5865 else
5866 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5879
5880 fi;
5881
5882 eval "$ac_cv_use_wxprintfv"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-zipstream or --disable-zipstream was given.
5901 if test "${enable_zipstream+set}" = set; then
5902 enableval="$enable_zipstream"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5906 else
5907 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5920
5921 fi;
5922
5923 eval "$ac_cv_use_zipstream"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_ZIPSTREAM" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937
5938 enablestring=
5939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5941 no_cache=0
5942 # Check whether --enable-url or --disable-url was given.
5943 if test "${enable_url+set}" = set; then
5944 enableval="$enable_url"
5945
5946 if test "$enableval" = yes; then
5947 ac_cv_use_url='wxUSE_URL=yes'
5948 else
5949 ac_cv_use_url='wxUSE_URL=no'
5950 fi
5951
5952 else
5953
5954 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5955 if test "x$LINE" != x ; then
5956 eval "DEFAULT_$LINE"
5957 else
5958 no_cache=1
5959 fi
5960
5961 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5962
5963 fi;
5964
5965 eval "$ac_cv_use_url"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5968 fi
5969
5970 if test "$wxUSE_URL" = yes; then
5971 echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6
5973 else
5974 echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6
5976 fi
5977
5978
5979 enablestring=
5980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5982 no_cache=0
5983 # Check whether --enable-protocol or --disable-protocol was given.
5984 if test "${enable_protocol+set}" = set; then
5985 enableval="$enable_protocol"
5986
5987 if test "$enableval" = yes; then
5988 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5989 else
5990 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5991 fi
5992
5993 else
5994
5995 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x ; then
5997 eval "DEFAULT_$LINE"
5998 else
5999 no_cache=1
6000 fi
6001
6002 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6003
6004 fi;
6005
6006 eval "$ac_cv_use_protocol"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6009 fi
6010
6011 if test "$wxUSE_PROTOCOL" = yes; then
6012 echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6
6014 else
6015 echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6
6017 fi
6018
6019
6020 enablestring=
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6023 no_cache=0
6024 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6025 if test "${enable_protocol_http+set}" = set; then
6026 enableval="$enable_protocol_http"
6027
6028 if test "$enableval" = yes; then
6029 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6030 else
6031 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6032 fi
6033
6034 else
6035
6036 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x ; then
6038 eval "DEFAULT_$LINE"
6039 else
6040 no_cache=1
6041 fi
6042
6043 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6044
6045 fi;
6046
6047 eval "$ac_cv_use_protocol_http"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6053 echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6
6055 else
6056 echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6
6058 fi
6059
6060
6061 enablestring=
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6064 no_cache=0
6065 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6066 if test "${enable_protocol_ftp+set}" = set; then
6067 enableval="$enable_protocol_ftp"
6068
6069 if test "$enableval" = yes; then
6070 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6071 else
6072 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6073 fi
6074
6075 else
6076
6077 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x ; then
6079 eval "DEFAULT_$LINE"
6080 else
6081 no_cache=1
6082 fi
6083
6084 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6085
6086 fi;
6087
6088 eval "$ac_cv_use_protocol_ftp"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6096 else
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6099 fi
6100
6101
6102 enablestring=
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6105 no_cache=0
6106 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6107 if test "${enable_protocol_file+set}" = set; then
6108 enableval="$enable_protocol_file"
6109
6110 if test "$enableval" = yes; then
6111 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6112 else
6113 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6114 fi
6115
6116 else
6117
6118 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6121 else
6122 no_cache=1
6123 fi
6124
6125 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6126
6127 fi;
6128
6129 eval "$ac_cv_use_protocol_file"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6137 else
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6140 fi
6141
6142
6143
6144
6145
6146 enablestring=
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6149 no_cache=0
6150 # Check whether --enable-threads or --disable-threads was given.
6151 if test "${enable_threads+set}" = set; then
6152 enableval="$enable_threads"
6153
6154 if test "$enableval" = yes; then
6155 ac_cv_use_threads='wxUSE_THREADS=yes'
6156 else
6157 ac_cv_use_threads='wxUSE_THREADS=no'
6158 fi
6159
6160 else
6161
6162 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x ; then
6164 eval "DEFAULT_$LINE"
6165 else
6166 no_cache=1
6167 fi
6168
6169 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6170
6171 fi;
6172
6173 eval "$ac_cv_use_threads"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6176 fi
6177
6178 if test "$wxUSE_THREADS" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6181 else
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6184 fi
6185
6186
6187 if test "$wxUSE_GUI" = "yes"; then
6188
6189
6190
6191 enablestring=
6192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6194 no_cache=0
6195 # Check whether --enable-docview or --disable-docview was given.
6196 if test "${enable_docview+set}" = set; then
6197 enableval="$enable_docview"
6198
6199 if test "$enableval" = yes; then
6200 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6201 else
6202 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6203 fi
6204
6205 else
6206
6207 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x ; then
6209 eval "DEFAULT_$LINE"
6210 else
6211 no_cache=1
6212 fi
6213
6214 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6215
6216 fi;
6217
6218 eval "$ac_cv_use_docview"
6219 if test "$no_cache" != 1; then
6220 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6221 fi
6222
6223 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6224 echo "$as_me:$LINENO: result: yes" >&5
6225 echo "${ECHO_T}yes" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6229 fi
6230
6231
6232 enablestring=
6233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6235 no_cache=0
6236 # Check whether --enable-help or --disable-help was given.
6237 if test "${enable_help+set}" = set; then
6238 enableval="$enable_help"
6239
6240 if test "$enableval" = yes; then
6241 ac_cv_use_help='wxUSE_HELP=yes'
6242 else
6243 ac_cv_use_help='wxUSE_HELP=no'
6244 fi
6245
6246 else
6247
6248 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x ; then
6250 eval "DEFAULT_$LINE"
6251 else
6252 no_cache=1
6253 fi
6254
6255 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6256
6257 fi;
6258
6259 eval "$ac_cv_use_help"
6260 if test "$no_cache" != 1; then
6261 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6262 fi
6263
6264 if test "$wxUSE_HELP" = yes; then
6265 echo "$as_me:$LINENO: result: yes" >&5
6266 echo "${ECHO_T}yes" >&6
6267 else
6268 echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6
6270 fi
6271
6272
6273 enablestring=
6274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6276 no_cache=0
6277 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6278 if test "${enable_mshtmlhelp+set}" = set; then
6279 enableval="$enable_mshtmlhelp"
6280
6281 if test "$enableval" = yes; then
6282 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6283 else
6284 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6285 fi
6286
6287 else
6288
6289 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x ; then
6291 eval "DEFAULT_$LINE"
6292 else
6293 no_cache=1
6294 fi
6295
6296 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6297
6298 fi;
6299
6300 eval "$ac_cv_use_mshtmlhelp"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6303 fi
6304
6305 if test "$wxUSE_MS_HTML_HELP" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307 echo "${ECHO_T}yes" >&6
6308 else
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6311 fi
6312
6313
6314 enablestring=
6315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6317 no_cache=0
6318 # Check whether --enable-html or --disable-html was given.
6319 if test "${enable_html+set}" = set; then
6320 enableval="$enable_html"
6321
6322 if test "$enableval" = yes; then
6323 ac_cv_use_html='wxUSE_HTML=yes'
6324 else
6325 ac_cv_use_html='wxUSE_HTML=no'
6326 fi
6327
6328 else
6329
6330 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x ; then
6332 eval "DEFAULT_$LINE"
6333 else
6334 no_cache=1
6335 fi
6336
6337 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6338
6339 fi;
6340
6341 eval "$ac_cv_use_html"
6342 if test "$no_cache" != 1; then
6343 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6344 fi
6345
6346 if test "$wxUSE_HTML" = yes; then
6347 echo "$as_me:$LINENO: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6
6349 else
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6352 fi
6353
6354
6355 enablestring=
6356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6357 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6358 no_cache=0
6359 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6360 if test "${enable_htmlhelp+set}" = set; then
6361 enableval="$enable_htmlhelp"
6362
6363 if test "$enableval" = yes; then
6364 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6365 else
6366 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6367 fi
6368
6369 else
6370
6371 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6372 if test "x$LINE" != x ; then
6373 eval "DEFAULT_$LINE"
6374 else
6375 no_cache=1
6376 fi
6377
6378 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6379
6380 fi;
6381
6382 eval "$ac_cv_use_htmlhelp"
6383 if test "$no_cache" != 1; then
6384 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6385 fi
6386
6387 if test "$wxUSE_WXHTML_HELP" = yes; then
6388 echo "$as_me:$LINENO: result: yes" >&5
6389 echo "${ECHO_T}yes" >&6
6390 else
6391 echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6393 fi
6394
6395
6396 enablestring=
6397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6398 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6399 no_cache=0
6400 # Check whether --enable-xrc or --disable-xrc was given.
6401 if test "${enable_xrc+set}" = set; then
6402 enableval="$enable_xrc"
6403
6404 if test "$enableval" = yes; then
6405 ac_cv_use_xrc='wxUSE_XRC=yes'
6406 else
6407 ac_cv_use_xrc='wxUSE_XRC=no'
6408 fi
6409
6410 else
6411
6412 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6413 if test "x$LINE" != x ; then
6414 eval "DEFAULT_$LINE"
6415 else
6416 no_cache=1
6417 fi
6418
6419 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6420
6421 fi;
6422
6423 eval "$ac_cv_use_xrc"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6426 fi
6427
6428 if test "$wxUSE_XRC" = yes; then
6429 echo "$as_me:$LINENO: result: yes" >&5
6430 echo "${ECHO_T}yes" >&6
6431 else
6432 echo "$as_me:$LINENO: result: no" >&5
6433 echo "${ECHO_T}no" >&6
6434 fi
6435
6436
6437 enablestring=
6438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6439 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6440 no_cache=0
6441 # Check whether --enable-constraints or --disable-constraints was given.
6442 if test "${enable_constraints+set}" = set; then
6443 enableval="$enable_constraints"
6444
6445 if test "$enableval" = yes; then
6446 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6447 else
6448 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6449 fi
6450
6451 else
6452
6453 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x ; then
6455 eval "DEFAULT_$LINE"
6456 else
6457 no_cache=1
6458 fi
6459
6460 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6461
6462 fi;
6463
6464 eval "$ac_cv_use_constraints"
6465 if test "$no_cache" != 1; then
6466 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6467 fi
6468
6469 if test "$wxUSE_CONSTRAINTS" = yes; then
6470 echo "$as_me:$LINENO: result: yes" >&5
6471 echo "${ECHO_T}yes" >&6
6472 else
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6475 fi
6476
6477
6478 enablestring=
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6481 no_cache=0
6482 # Check whether --enable-printarch or --disable-printarch was given.
6483 if test "${enable_printarch+set}" = set; then
6484 enableval="$enable_printarch"
6485
6486 if test "$enableval" = yes; then
6487 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6488 else
6489 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6490 fi
6491
6492 else
6493
6494 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x ; then
6496 eval "DEFAULT_$LINE"
6497 else
6498 no_cache=1
6499 fi
6500
6501 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6502
6503 fi;
6504
6505 eval "$ac_cv_use_printarch"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6508 fi
6509
6510 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6513 else
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6516 fi
6517
6518
6519 enablestring=
6520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6521 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6522 no_cache=0
6523 # Check whether --enable-mdi or --disable-mdi was given.
6524 if test "${enable_mdi+set}" = set; then
6525 enableval="$enable_mdi"
6526
6527 if test "$enableval" = yes; then
6528 ac_cv_use_mdi='wxUSE_MDI=yes'
6529 else
6530 ac_cv_use_mdi='wxUSE_MDI=no'
6531 fi
6532
6533 else
6534
6535 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6536 if test "x$LINE" != x ; then
6537 eval "DEFAULT_$LINE"
6538 else
6539 no_cache=1
6540 fi
6541
6542 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6543
6544 fi;
6545
6546 eval "$ac_cv_use_mdi"
6547 if test "$no_cache" != 1; then
6548 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6549 fi
6550
6551 if test "$wxUSE_MDI" = yes; then
6552 echo "$as_me:$LINENO: result: yes" >&5
6553 echo "${ECHO_T}yes" >&6
6554 else
6555 echo "$as_me:$LINENO: result: no" >&5
6556 echo "${ECHO_T}no" >&6
6557 fi
6558
6559
6560 enablestring=
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6563 no_cache=0
6564 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6565 if test "${enable_mdidoc+set}" = set; then
6566 enableval="$enable_mdidoc"
6567
6568 if test "$enableval" = yes; then
6569 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6570 else
6571 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6572 fi
6573
6574 else
6575
6576 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6579 else
6580 no_cache=1
6581 fi
6582
6583 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6584
6585 fi;
6586
6587 eval "$ac_cv_use_mdidoc"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6590 fi
6591
6592 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6595 else
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6598 fi
6599
6600
6601 enablestring=
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6604 no_cache=0
6605 # Check whether --enable-loggui or --disable-loggui was given.
6606 if test "${enable_loggui+set}" = set; then
6607 enableval="$enable_loggui"
6608
6609 if test "$enableval" = yes; then
6610 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6611 else
6612 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6613 fi
6614
6615 else
6616
6617 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x ; then
6619 eval "DEFAULT_$LINE"
6620 else
6621 no_cache=1
6622 fi
6623
6624 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6625
6626 fi;
6627
6628 eval "$ac_cv_use_loggui"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6631 fi
6632
6633 if test "$wxUSE_LOGGUI" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6636 else
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6639 fi
6640
6641
6642 enablestring=
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6645 no_cache=0
6646 # Check whether --enable-logwin or --disable-logwin was given.
6647 if test "${enable_logwin+set}" = set; then
6648 enableval="$enable_logwin"
6649
6650 if test "$enableval" = yes; then
6651 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6652 else
6653 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6654 fi
6655
6656 else
6657
6658 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6661 else
6662 no_cache=1
6663 fi
6664
6665 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6666
6667 fi;
6668
6669 eval "$ac_cv_use_logwin"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6672 fi
6673
6674 if test "$wxUSE_LOGWINDOW" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6677 else
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6680 fi
6681
6682
6683 enablestring=
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6686 no_cache=0
6687 # Check whether --enable-logdialog or --disable-logdialog was given.
6688 if test "${enable_logdialog+set}" = set; then
6689 enableval="$enable_logdialog"
6690
6691 if test "$enableval" = yes; then
6692 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6693 else
6694 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6695 fi
6696
6697 else
6698
6699 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6702 else
6703 no_cache=1
6704 fi
6705
6706 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6707
6708 fi;
6709
6710 eval "$ac_cv_use_logdialog"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6713 fi
6714
6715 if test "$wxUSE_LOGDIALOG" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6718 else
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6721 fi
6722
6723
6724 enablestring=
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6727 no_cache=0
6728 # Check whether --enable-webkit or --disable-webkit was given.
6729 if test "${enable_webkit+set}" = set; then
6730 enableval="$enable_webkit"
6731
6732 if test "$enableval" = yes; then
6733 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6734 else
6735 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6736 fi
6737
6738 else
6739
6740 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x ; then
6742 eval "DEFAULT_$LINE"
6743 else
6744 no_cache=1
6745 fi
6746
6747 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6748
6749 fi;
6750
6751 eval "$ac_cv_use_webkit"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6754 fi
6755
6756 if test "$wxUSE_WEBKIT" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6759 else
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6762 fi
6763
6764
6765
6766 enablestring=
6767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6768 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6769 no_cache=0
6770 # Check whether --enable-postscript or --disable-postscript was given.
6771 if test "${enable_postscript+set}" = set; then
6772 enableval="$enable_postscript"
6773
6774 if test "$enableval" = yes; then
6775 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6776 else
6777 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6778 fi
6779
6780 else
6781
6782 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x ; then
6784 eval "DEFAULT_$LINE"
6785 else
6786 no_cache=1
6787 fi
6788
6789 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6790
6791 fi;
6792
6793 eval "$ac_cv_use_postscript"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6796 fi
6797
6798 if test "$wxUSE_POSTSCRIPT" = yes; then
6799 echo "$as_me:$LINENO: result: yes" >&5
6800 echo "${ECHO_T}yes" >&6
6801 else
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6804 fi
6805
6806
6807
6808
6809
6810 enablestring=
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6813 no_cache=0
6814 # Check whether --enable-prologio or --disable-prologio was given.
6815 if test "${enable_prologio+set}" = set; then
6816 enableval="$enable_prologio"
6817
6818 if test "$enableval" = yes; then
6819 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6820 else
6821 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6822 fi
6823
6824 else
6825
6826 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x ; then
6828 eval "DEFAULT_$LINE"
6829 else
6830 no_cache=1
6831 fi
6832
6833 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6834
6835 fi;
6836
6837 eval "$ac_cv_use_prologio"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6840 fi
6841
6842 if test "$wxUSE_PROLOGIO" = yes; then
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6845 else
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6848 fi
6849
6850
6851 enablestring=
6852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6853 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6854 no_cache=0
6855 # Check whether --enable-resources or --disable-resources was given.
6856 if test "${enable_resources+set}" = set; then
6857 enableval="$enable_resources"
6858
6859 if test "$enableval" = yes; then
6860 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6861 else
6862 ac_cv_use_resources='wxUSE_RESOURCES=no'
6863 fi
6864
6865 else
6866
6867 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6868 if test "x$LINE" != x ; then
6869 eval "DEFAULT_$LINE"
6870 else
6871 no_cache=1
6872 fi
6873
6874 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6875
6876 fi;
6877
6878 eval "$ac_cv_use_resources"
6879 if test "$no_cache" != 1; then
6880 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6881 fi
6882
6883 if test "$wxUSE_RESOURCES" = yes; then
6884 echo "$as_me:$LINENO: result: yes" >&5
6885 echo "${ECHO_T}yes" >&6
6886 else
6887 echo "$as_me:$LINENO: result: no" >&5
6888 echo "${ECHO_T}no" >&6
6889 fi
6890
6891
6892
6893
6894 enablestring=
6895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6897 no_cache=0
6898 # Check whether --enable-clipboard or --disable-clipboard was given.
6899 if test "${enable_clipboard+set}" = set; then
6900 enableval="$enable_clipboard"
6901
6902 if test "$enableval" = yes; then
6903 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6904 else
6905 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6906 fi
6907
6908 else
6909
6910 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6911 if test "x$LINE" != x ; then
6912 eval "DEFAULT_$LINE"
6913 else
6914 no_cache=1
6915 fi
6916
6917 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6918
6919 fi;
6920
6921 eval "$ac_cv_use_clipboard"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6924 fi
6925
6926 if test "$wxUSE_CLIPBOARD" = yes; then
6927 echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6
6929 else
6930 echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6
6932 fi
6933
6934
6935 enablestring=
6936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6938 no_cache=0
6939 # Check whether --enable-dnd or --disable-dnd was given.
6940 if test "${enable_dnd+set}" = set; then
6941 enableval="$enable_dnd"
6942
6943 if test "$enableval" = yes; then
6944 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6945 else
6946 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6947 fi
6948
6949 else
6950
6951 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x ; then
6953 eval "DEFAULT_$LINE"
6954 else
6955 no_cache=1
6956 fi
6957
6958 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6959
6960 fi;
6961
6962 eval "$ac_cv_use_dnd"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6965 fi
6966
6967 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6968 echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6970 else
6971 echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6
6973 fi
6974
6975
6976 enablestring=
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6979 no_cache=0
6980 # Check whether --enable-metafile or --disable-metafile was given.
6981 if test "${enable_metafile+set}" = set; then
6982 enableval="$enable_metafile"
6983
6984 if test "$enableval" = yes; then
6985 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6986 else
6987 ac_cv_use_metafile='wxUSE_METAFILE=no'
6988 fi
6989
6990 else
6991
6992 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x ; then
6994 eval "DEFAULT_$LINE"
6995 else
6996 no_cache=1
6997 fi
6998
6999 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7000
7001 fi;
7002
7003 eval "$ac_cv_use_metafile"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7006 fi
7007
7008 if test "$wxUSE_METAFILE" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7011 else
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7014 fi
7015
7016
7017
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-controls or --disable-controls was given.
7025 if test "${enable_controls+set}" = set; then
7026 enableval="$enable_controls"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7030 else
7031 ac_cv_use_controls='wxUSE_CONTROLS=no'
7032 fi
7033
7034 else
7035
7036 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7044
7045 fi;
7046
7047 eval "$ac_cv_use_controls"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_CONTROLS" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 if test "$wxUSE_CONTROLS" = "yes"; then
7062 DEFAULT_wxUSE_ACCEL=yes
7063 DEFAULT_wxUSE_BMPBUTTON=yes
7064 DEFAULT_wxUSE_BUTTON=yes
7065 DEFAULT_wxUSE_CALCTRL=no
7066 DEFAULT_wxUSE_CARET=yes
7067 DEFAULT_wxUSE_COMBOBOX=yes
7068 DEFAULT_wxUSE_CHECKBOX=yes
7069 DEFAULT_wxUSE_CHECKLISTBOX=yes
7070 DEFAULT_wxUSE_CHOICE=yes
7071 DEFAULT_wxUSE_CHOICEBOOK=yes
7072 DEFAULT_wxUSE_GAUGE=yes
7073 DEFAULT_wxUSE_GRID=yes
7074 DEFAULT_wxUSE_IMAGLIST=yes
7075 DEFAULT_wxUSE_LISTBOOK=yes
7076 DEFAULT_wxUSE_LISTBOX=yes
7077 DEFAULT_wxUSE_LISTCTRL=yes
7078 DEFAULT_wxUSE_NOTEBOOK=yes
7079 DEFAULT_wxUSE_RADIOBOX=yes
7080 DEFAULT_wxUSE_RADIOBTN=yes
7081 DEFAULT_wxUSE_SASH=yes
7082 DEFAULT_wxUSE_SCROLLBAR=yes
7083 DEFAULT_wxUSE_SLIDER=yes
7084 DEFAULT_wxUSE_SPINBTN=yes
7085 DEFAULT_wxUSE_SPINCTRL=yes
7086 DEFAULT_wxUSE_SPLITTER=yes
7087 DEFAULT_wxUSE_STATBMP=yes
7088 DEFAULT_wxUSE_STATBOX=yes
7089 DEFAULT_wxUSE_STATLINE=yes
7090 DEFAULT_wxUSE_STATUSBAR=yes
7091 DEFAULT_wxUSE_TAB_DIALOG=yes
7092 DEFAULT_wxUSE_TOGGLEBTN=yes
7093 DEFAULT_wxUSE_TOOLBAR=yes
7094 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7095 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7096 DEFAULT_wxUSE_TOOLTIPS=yes
7097 DEFAULT_wxUSE_TREECTRL=yes
7098 DEFAULT_wxUSE_POPUPWIN=yes
7099 DEFAULT_wxUSE_TIPWINDOW=yes
7100 elif test "$wxUSE_CONTROLS" = "no"; then
7101 DEFAULT_wxUSE_ACCEL=no
7102 DEFAULT_wxUSE_BMPBUTTON=no
7103 DEFAULT_wxUSE_BUTTON=no
7104 DEFAULT_wxUSE_CALCTRL=no
7105 DEFAULT_wxUSE_CARET=no
7106 DEFAULT_wxUSE_COMBOBOX=no
7107 DEFAULT_wxUSE_CHECKBOX=no
7108 DEFAULT_wxUSE_CHECKLISTBOX=no
7109 DEFAULT_wxUSE_CHOICE=no
7110 DEFAULT_wxUSE_CHOICEBOOK=no
7111 DEFAULT_wxUSE_GAUGE=no
7112 DEFAULT_wxUSE_GRID=no
7113 DEFAULT_wxUSE_IMAGLIST=no
7114 DEFAULT_wxUSE_LISTBOOK=no
7115 DEFAULT_wxUSE_LISTBOX=no
7116 DEFAULT_wxUSE_LISTCTRL=no
7117 DEFAULT_wxUSE_NOTEBOOK=no
7118 DEFAULT_wxUSE_RADIOBOX=no
7119 DEFAULT_wxUSE_RADIOBTN=no
7120 DEFAULT_wxUSE_SASH=no
7121 DEFAULT_wxUSE_SCROLLBAR=no
7122 DEFAULT_wxUSE_SLIDER=no
7123 DEFAULT_wxUSE_SPINBTN=no
7124 DEFAULT_wxUSE_SPINCTRL=no
7125 DEFAULT_wxUSE_SPLITTER=no
7126 DEFAULT_wxUSE_STATBMP=no
7127 DEFAULT_wxUSE_STATBOX=no
7128 DEFAULT_wxUSE_STATLINE=no
7129 DEFAULT_wxUSE_STATUSBAR=no
7130 DEFAULT_wxUSE_TAB_DIALOG=no
7131 DEFAULT_wxUSE_TOGGLEBTN=no
7132 DEFAULT_wxUSE_TOOLBAR=no
7133 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7134 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7135 DEFAULT_wxUSE_TOOLTIPS=no
7136 DEFAULT_wxUSE_TREECTRL=no
7137 DEFAULT_wxUSE_POPUPWIN=no
7138 DEFAULT_wxUSE_TIPWINDOW=no
7139 fi
7140
7141
7142 enablestring=
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7145 no_cache=0
7146 # Check whether --enable-accel or --disable-accel was given.
7147 if test "${enable_accel+set}" = set; then
7148 enableval="$enable_accel"
7149
7150 if test "$enableval" = yes; then
7151 ac_cv_use_accel='wxUSE_ACCEL=yes'
7152 else
7153 ac_cv_use_accel='wxUSE_ACCEL=no'
7154 fi
7155
7156 else
7157
7158 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x ; then
7160 eval "DEFAULT_$LINE"
7161 else
7162 no_cache=1
7163 fi
7164
7165 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7166
7167 fi;
7168
7169 eval "$ac_cv_use_accel"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7172 fi
7173
7174 if test "$wxUSE_ACCEL" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7177 else
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7180 fi
7181
7182
7183 enablestring=
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7186 no_cache=0
7187 # Check whether --enable-button or --disable-button was given.
7188 if test "${enable_button+set}" = set; then
7189 enableval="$enable_button"
7190
7191 if test "$enableval" = yes; then
7192 ac_cv_use_button='wxUSE_BUTTON=yes'
7193 else
7194 ac_cv_use_button='wxUSE_BUTTON=no'
7195 fi
7196
7197 else
7198
7199 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x ; then
7201 eval "DEFAULT_$LINE"
7202 else
7203 no_cache=1
7204 fi
7205
7206 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7207
7208 fi;
7209
7210 eval "$ac_cv_use_button"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7213 fi
7214
7215 if test "$wxUSE_BUTTON" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7218 else
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7221 fi
7222
7223
7224 enablestring=
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7227 no_cache=0
7228 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7229 if test "${enable_bmpbutton+set}" = set; then
7230 enableval="$enable_bmpbutton"
7231
7232 if test "$enableval" = yes; then
7233 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7234 else
7235 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7236 fi
7237
7238 else
7239
7240 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x ; then
7242 eval "DEFAULT_$LINE"
7243 else
7244 no_cache=1
7245 fi
7246
7247 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7248
7249 fi;
7250
7251 eval "$ac_cv_use_bmpbutton"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7254 fi
7255
7256 if test "$wxUSE_BMPBUTTON" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7259 else
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7262 fi
7263
7264
7265 enablestring=
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7268 no_cache=0
7269 # Check whether --enable-calendar or --disable-calendar was given.
7270 if test "${enable_calendar+set}" = set; then
7271 enableval="$enable_calendar"
7272
7273 if test "$enableval" = yes; then
7274 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7275 else
7276 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7277 fi
7278
7279 else
7280
7281 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x ; then
7283 eval "DEFAULT_$LINE"
7284 else
7285 no_cache=1
7286 fi
7287
7288 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7289
7290 fi;
7291
7292 eval "$ac_cv_use_calendar"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7295 fi
7296
7297 if test "$wxUSE_CALCTRL" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7300 else
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7303 fi
7304
7305
7306 enablestring=
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7309 no_cache=0
7310 # Check whether --enable-caret or --disable-caret was given.
7311 if test "${enable_caret+set}" = set; then
7312 enableval="$enable_caret"
7313
7314 if test "$enableval" = yes; then
7315 ac_cv_use_caret='wxUSE_CARET=yes'
7316 else
7317 ac_cv_use_caret='wxUSE_CARET=no'
7318 fi
7319
7320 else
7321
7322 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x ; then
7324 eval "DEFAULT_$LINE"
7325 else
7326 no_cache=1
7327 fi
7328
7329 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7330
7331 fi;
7332
7333 eval "$ac_cv_use_caret"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7336 fi
7337
7338 if test "$wxUSE_CARET" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7341 else
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7344 fi
7345
7346
7347 enablestring=
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7350 no_cache=0
7351 # Check whether --enable-checkbox or --disable-checkbox was given.
7352 if test "${enable_checkbox+set}" = set; then
7353 enableval="$enable_checkbox"
7354
7355 if test "$enableval" = yes; then
7356 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7357 else
7358 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7359 fi
7360
7361 else
7362
7363 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7366 else
7367 no_cache=1
7368 fi
7369
7370 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7371
7372 fi;
7373
7374 eval "$ac_cv_use_checkbox"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7377 fi
7378
7379 if test "$wxUSE_CHECKBOX" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7382 else
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7385 fi
7386
7387
7388 enablestring=
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7391 no_cache=0
7392 # Check whether --enable-checklst or --disable-checklst was given.
7393 if test "${enable_checklst+set}" = set; then
7394 enableval="$enable_checklst"
7395
7396 if test "$enableval" = yes; then
7397 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7398 else
7399 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7400 fi
7401
7402 else
7403
7404 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x ; then
7406 eval "DEFAULT_$LINE"
7407 else
7408 no_cache=1
7409 fi
7410
7411 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7412
7413 fi;
7414
7415 eval "$ac_cv_use_checklst"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7418 fi
7419
7420 if test "$wxUSE_CHECKLST" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7423 else
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7426 fi
7427
7428
7429 enablestring=
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7432 no_cache=0
7433 # Check whether --enable-choice or --disable-choice was given.
7434 if test "${enable_choice+set}" = set; then
7435 enableval="$enable_choice"
7436
7437 if test "$enableval" = yes; then
7438 ac_cv_use_choice='wxUSE_CHOICE=yes'
7439 else
7440 ac_cv_use_choice='wxUSE_CHOICE=no'
7441 fi
7442
7443 else
7444
7445 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x ; then
7447 eval "DEFAULT_$LINE"
7448 else
7449 no_cache=1
7450 fi
7451
7452 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7453
7454 fi;
7455
7456 eval "$ac_cv_use_choice"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7459 fi
7460
7461 if test "$wxUSE_CHOICE" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7464 else
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7467 fi
7468
7469
7470 enablestring=
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7473 no_cache=0
7474 # Check whether --enable-choicebook or --disable-choicebook was given.
7475 if test "${enable_choicebook+set}" = set; then
7476 enableval="$enable_choicebook"
7477
7478 if test "$enableval" = yes; then
7479 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7480 else
7481 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7482 fi
7483
7484 else
7485
7486 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x ; then
7488 eval "DEFAULT_$LINE"
7489 else
7490 no_cache=1
7491 fi
7492
7493 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7494
7495 fi;
7496
7497 eval "$ac_cv_use_choicebook"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7500 fi
7501
7502 if test "$wxUSE_CHOICEBOOK" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7505 else
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7508 fi
7509
7510
7511 enablestring=
7512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7514 no_cache=0
7515 # Check whether --enable-combobox or --disable-combobox was given.
7516 if test "${enable_combobox+set}" = set; then
7517 enableval="$enable_combobox"
7518
7519 if test "$enableval" = yes; then
7520 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7521 else
7522 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7523 fi
7524
7525 else
7526
7527 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x ; then
7529 eval "DEFAULT_$LINE"
7530 else
7531 no_cache=1
7532 fi
7533
7534 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7535
7536 fi;
7537
7538 eval "$ac_cv_use_combobox"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7541 fi
7542
7543 if test "$wxUSE_COMBOBOX" = yes; then
7544 echo "$as_me:$LINENO: result: yes" >&5
7545 echo "${ECHO_T}yes" >&6
7546 else
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7549 fi
7550
7551
7552 enablestring=
7553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7555 no_cache=0
7556 # Check whether --enable-display or --disable-display was given.
7557 if test "${enable_display+set}" = set; then
7558 enableval="$enable_display"
7559
7560 if test "$enableval" = yes; then
7561 ac_cv_use_display='wxUSE_DISPLAY=yes'
7562 else
7563 ac_cv_use_display='wxUSE_DISPLAY=no'
7564 fi
7565
7566 else
7567
7568 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x ; then
7570 eval "DEFAULT_$LINE"
7571 else
7572 no_cache=1
7573 fi
7574
7575 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7576
7577 fi;
7578
7579 eval "$ac_cv_use_display"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7582 fi
7583
7584 if test "$wxUSE_DISPLAY" = yes; then
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7587 else
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7590 fi
7591
7592
7593 enablestring=
7594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7596 no_cache=0
7597 # Check whether --enable-gauge or --disable-gauge was given.
7598 if test "${enable_gauge+set}" = set; then
7599 enableval="$enable_gauge"
7600
7601 if test "$enableval" = yes; then
7602 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7603 else
7604 ac_cv_use_gauge='wxUSE_GAUGE=no'
7605 fi
7606
7607 else
7608
7609 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x ; then
7611 eval "DEFAULT_$LINE"
7612 else
7613 no_cache=1
7614 fi
7615
7616 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7617
7618 fi;
7619
7620 eval "$ac_cv_use_gauge"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7623 fi
7624
7625 if test "$wxUSE_GAUGE" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7628 else
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7631 fi
7632
7633
7634 enablestring=
7635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7637 no_cache=0
7638 # Check whether --enable-grid or --disable-grid was given.
7639 if test "${enable_grid+set}" = set; then
7640 enableval="$enable_grid"
7641
7642 if test "$enableval" = yes; then
7643 ac_cv_use_grid='wxUSE_GRID=yes'
7644 else
7645 ac_cv_use_grid='wxUSE_GRID=no'
7646 fi
7647
7648 else
7649
7650 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x ; then
7652 eval "DEFAULT_$LINE"
7653 else
7654 no_cache=1
7655 fi
7656
7657 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7658
7659 fi;
7660
7661 eval "$ac_cv_use_grid"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7664 fi
7665
7666 if test "$wxUSE_GRID" = yes; then
7667 echo "$as_me:$LINENO: result: yes" >&5
7668 echo "${ECHO_T}yes" >&6
7669 else
7670 echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6
7672 fi
7673
7674
7675 enablestring=
7676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7677 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7678 no_cache=0
7679 # Check whether --enable-imaglist or --disable-imaglist was given.
7680 if test "${enable_imaglist+set}" = set; then
7681 enableval="$enable_imaglist"
7682
7683 if test "$enableval" = yes; then
7684 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7685 else
7686 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7687 fi
7688
7689 else
7690
7691 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x ; then
7693 eval "DEFAULT_$LINE"
7694 else
7695 no_cache=1
7696 fi
7697
7698 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7699
7700 fi;
7701
7702 eval "$ac_cv_use_imaglist"
7703 if test "$no_cache" != 1; then
7704 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7705 fi
7706
7707 if test "$wxUSE_IMAGLIST" = yes; then
7708 echo "$as_me:$LINENO: result: yes" >&5
7709 echo "${ECHO_T}yes" >&6
7710 else
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7713 fi
7714
7715
7716 enablestring=
7717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7719 no_cache=0
7720 # Check whether --enable-listbook or --disable-listbook was given.
7721 if test "${enable_listbook+set}" = set; then
7722 enableval="$enable_listbook"
7723
7724 if test "$enableval" = yes; then
7725 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7726 else
7727 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7728 fi
7729
7730 else
7731
7732 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x ; then
7734 eval "DEFAULT_$LINE"
7735 else
7736 no_cache=1
7737 fi
7738
7739 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7740
7741 fi;
7742
7743 eval "$ac_cv_use_listbook"
7744 if test "$no_cache" != 1; then
7745 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7746 fi
7747
7748 if test "$wxUSE_LISTBOOK" = yes; then
7749 echo "$as_me:$LINENO: result: yes" >&5
7750 echo "${ECHO_T}yes" >&6
7751 else
7752 echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6
7754 fi
7755
7756
7757 enablestring=
7758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7760 no_cache=0
7761 # Check whether --enable-listbox or --disable-listbox was given.
7762 if test "${enable_listbox+set}" = set; then
7763 enableval="$enable_listbox"
7764
7765 if test "$enableval" = yes; then
7766 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7767 else
7768 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7769 fi
7770
7771 else
7772
7773 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7776 else
7777 no_cache=1
7778 fi
7779
7780 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7781
7782 fi;
7783
7784 eval "$ac_cv_use_listbox"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7787 fi
7788
7789 if test "$wxUSE_LISTBOX" = yes; then
7790 echo "$as_me:$LINENO: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7792 else
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7795 fi
7796
7797
7798 enablestring=
7799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7801 no_cache=0
7802 # Check whether --enable-listctrl or --disable-listctrl was given.
7803 if test "${enable_listctrl+set}" = set; then
7804 enableval="$enable_listctrl"
7805
7806 if test "$enableval" = yes; then
7807 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7808 else
7809 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7810 fi
7811
7812 else
7813
7814 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x ; then
7816 eval "DEFAULT_$LINE"
7817 else
7818 no_cache=1
7819 fi
7820
7821 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7822
7823 fi;
7824
7825 eval "$ac_cv_use_listctrl"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7828 fi
7829
7830 if test "$wxUSE_LISTCTRL" = yes; then
7831 echo "$as_me:$LINENO: result: yes" >&5
7832 echo "${ECHO_T}yes" >&6
7833 else
7834 echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6
7836 fi
7837
7838
7839 enablestring=
7840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7842 no_cache=0
7843 # Check whether --enable-notebook or --disable-notebook was given.
7844 if test "${enable_notebook+set}" = set; then
7845 enableval="$enable_notebook"
7846
7847 if test "$enableval" = yes; then
7848 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7849 else
7850 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7851 fi
7852
7853 else
7854
7855 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x ; then
7857 eval "DEFAULT_$LINE"
7858 else
7859 no_cache=1
7860 fi
7861
7862 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7863
7864 fi;
7865
7866 eval "$ac_cv_use_notebook"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7869 fi
7870
7871 if test "$wxUSE_NOTEBOOK" = yes; then
7872 echo "$as_me:$LINENO: result: yes" >&5
7873 echo "${ECHO_T}yes" >&6
7874 else
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7877 fi
7878
7879
7880 enablestring=
7881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7883 no_cache=0
7884 # Check whether --enable-radiobox or --disable-radiobox was given.
7885 if test "${enable_radiobox+set}" = set; then
7886 enableval="$enable_radiobox"
7887
7888 if test "$enableval" = yes; then
7889 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7890 else
7891 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7892 fi
7893
7894 else
7895
7896 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x ; then
7898 eval "DEFAULT_$LINE"
7899 else
7900 no_cache=1
7901 fi
7902
7903 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7904
7905 fi;
7906
7907 eval "$ac_cv_use_radiobox"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7910 fi
7911
7912 if test "$wxUSE_RADIOBOX" = yes; then
7913 echo "$as_me:$LINENO: result: yes" >&5
7914 echo "${ECHO_T}yes" >&6
7915 else
7916 echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6
7918 fi
7919
7920
7921 enablestring=
7922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7924 no_cache=0
7925 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7926 if test "${enable_radiobtn+set}" = set; then
7927 enableval="$enable_radiobtn"
7928
7929 if test "$enableval" = yes; then
7930 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7931 else
7932 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7933 fi
7934
7935 else
7936
7937 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7938 if test "x$LINE" != x ; then
7939 eval "DEFAULT_$LINE"
7940 else
7941 no_cache=1
7942 fi
7943
7944 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7945
7946 fi;
7947
7948 eval "$ac_cv_use_radiobtn"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7951 fi
7952
7953 if test "$wxUSE_RADIOBTN" = yes; then
7954 echo "$as_me:$LINENO: result: yes" >&5
7955 echo "${ECHO_T}yes" >&6
7956 else
7957 echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6
7959 fi
7960
7961
7962 enablestring=
7963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7965 no_cache=0
7966 # Check whether --enable-sash or --disable-sash was given.
7967 if test "${enable_sash+set}" = set; then
7968 enableval="$enable_sash"
7969
7970 if test "$enableval" = yes; then
7971 ac_cv_use_sash='wxUSE_SASH=yes'
7972 else
7973 ac_cv_use_sash='wxUSE_SASH=no'
7974 fi
7975
7976 else
7977
7978 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x ; then
7980 eval "DEFAULT_$LINE"
7981 else
7982 no_cache=1
7983 fi
7984
7985 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7986
7987 fi;
7988
7989 eval "$ac_cv_use_sash"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7992 fi
7993
7994 if test "$wxUSE_SASH" = yes; then
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7997 else
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8000 fi
8001
8002
8003 enablestring=
8004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8006 no_cache=0
8007 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8008 if test "${enable_scrollbar+set}" = set; then
8009 enableval="$enable_scrollbar"
8010
8011 if test "$enableval" = yes; then
8012 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8013 else
8014 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8015 fi
8016
8017 else
8018
8019 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x ; then
8021 eval "DEFAULT_$LINE"
8022 else
8023 no_cache=1
8024 fi
8025
8026 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8027
8028 fi;
8029
8030 eval "$ac_cv_use_scrollbar"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8033 fi
8034
8035 if test "$wxUSE_SCROLLBAR" = yes; then
8036 echo "$as_me:$LINENO: result: yes" >&5
8037 echo "${ECHO_T}yes" >&6
8038 else
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8041 fi
8042
8043
8044 enablestring=
8045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8047 no_cache=0
8048 # Check whether --enable-slider or --disable-slider was given.
8049 if test "${enable_slider+set}" = set; then
8050 enableval="$enable_slider"
8051
8052 if test "$enableval" = yes; then
8053 ac_cv_use_slider='wxUSE_SLIDER=yes'
8054 else
8055 ac_cv_use_slider='wxUSE_SLIDER=no'
8056 fi
8057
8058 else
8059
8060 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x ; then
8062 eval "DEFAULT_$LINE"
8063 else
8064 no_cache=1
8065 fi
8066
8067 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8068
8069 fi;
8070
8071 eval "$ac_cv_use_slider"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8074 fi
8075
8076 if test "$wxUSE_SLIDER" = yes; then
8077 echo "$as_me:$LINENO: result: yes" >&5
8078 echo "${ECHO_T}yes" >&6
8079 else
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8082 fi
8083
8084
8085 enablestring=
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8088 no_cache=0
8089 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8090 if test "${enable_spinbtn+set}" = set; then
8091 enableval="$enable_spinbtn"
8092
8093 if test "$enableval" = yes; then
8094 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8095 else
8096 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8097 fi
8098
8099 else
8100
8101 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x ; then
8103 eval "DEFAULT_$LINE"
8104 else
8105 no_cache=1
8106 fi
8107
8108 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8109
8110 fi;
8111
8112 eval "$ac_cv_use_spinbtn"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8115 fi
8116
8117 if test "$wxUSE_SPINBTN" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8120 else
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8123 fi
8124
8125
8126 enablestring=
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8129 no_cache=0
8130 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8131 if test "${enable_spinctrl+set}" = set; then
8132 enableval="$enable_spinctrl"
8133
8134 if test "$enableval" = yes; then
8135 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8136 else
8137 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8138 fi
8139
8140 else
8141
8142 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x ; then
8144 eval "DEFAULT_$LINE"
8145 else
8146 no_cache=1
8147 fi
8148
8149 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8150
8151 fi;
8152
8153 eval "$ac_cv_use_spinctrl"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8156 fi
8157
8158 if test "$wxUSE_SPINCTRL" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8161 else
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8164 fi
8165
8166
8167 enablestring=
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8170 no_cache=0
8171 # Check whether --enable-splitter or --disable-splitter was given.
8172 if test "${enable_splitter+set}" = set; then
8173 enableval="$enable_splitter"
8174
8175 if test "$enableval" = yes; then
8176 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8177 else
8178 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8179 fi
8180
8181 else
8182
8183 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x ; then
8185 eval "DEFAULT_$LINE"
8186 else
8187 no_cache=1
8188 fi
8189
8190 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8191
8192 fi;
8193
8194 eval "$ac_cv_use_splitter"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8197 fi
8198
8199 if test "$wxUSE_SPLITTER" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8202 else
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8205 fi
8206
8207
8208 enablestring=
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8211 no_cache=0
8212 # Check whether --enable-statbmp or --disable-statbmp was given.
8213 if test "${enable_statbmp+set}" = set; then
8214 enableval="$enable_statbmp"
8215
8216 if test "$enableval" = yes; then
8217 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8218 else
8219 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8220 fi
8221
8222 else
8223
8224 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x ; then
8226 eval "DEFAULT_$LINE"
8227 else
8228 no_cache=1
8229 fi
8230
8231 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8232
8233 fi;
8234
8235 eval "$ac_cv_use_statbmp"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8238 fi
8239
8240 if test "$wxUSE_STATBMP" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8243 else
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8246 fi
8247
8248
8249 enablestring=
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8252 no_cache=0
8253 # Check whether --enable-statbox or --disable-statbox was given.
8254 if test "${enable_statbox+set}" = set; then
8255 enableval="$enable_statbox"
8256
8257 if test "$enableval" = yes; then
8258 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8259 else
8260 ac_cv_use_statbox='wxUSE_STATBOX=no'
8261 fi
8262
8263 else
8264
8265 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 else
8269 no_cache=1
8270 fi
8271
8272 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8273
8274 fi;
8275
8276 eval "$ac_cv_use_statbox"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8279 fi
8280
8281 if test "$wxUSE_STATBOX" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8284 else
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8287 fi
8288
8289
8290 enablestring=
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8293 no_cache=0
8294 # Check whether --enable-statline or --disable-statline was given.
8295 if test "${enable_statline+set}" = set; then
8296 enableval="$enable_statline"
8297
8298 if test "$enableval" = yes; then
8299 ac_cv_use_statline='wxUSE_STATLINE=yes'
8300 else
8301 ac_cv_use_statline='wxUSE_STATLINE=no'
8302 fi
8303
8304 else
8305
8306 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x ; then
8308 eval "DEFAULT_$LINE"
8309 else
8310 no_cache=1
8311 fi
8312
8313 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8314
8315 fi;
8316
8317 eval "$ac_cv_use_statline"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8320 fi
8321
8322 if test "$wxUSE_STATLINE" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8325 else
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8328 fi
8329
8330
8331 enablestring=
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8334 no_cache=0
8335 # Check whether --enable-stattext or --disable-stattext was given.
8336 if test "${enable_stattext+set}" = set; then
8337 enableval="$enable_stattext"
8338
8339 if test "$enableval" = yes; then
8340 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8341 else
8342 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8343 fi
8344
8345 else
8346
8347 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x ; then
8349 eval "DEFAULT_$LINE"
8350 else
8351 no_cache=1
8352 fi
8353
8354 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8355
8356 fi;
8357
8358 eval "$ac_cv_use_stattext"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8361 fi
8362
8363 if test "$wxUSE_STATTEXT" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8366 else
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8369 fi
8370
8371
8372 enablestring=
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8375 no_cache=0
8376 # Check whether --enable-statusbar or --disable-statusbar was given.
8377 if test "${enable_statusbar+set}" = set; then
8378 enableval="$enable_statusbar"
8379
8380 if test "$enableval" = yes; then
8381 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8382 else
8383 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8384 fi
8385
8386 else
8387
8388 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8391 else
8392 no_cache=1
8393 fi
8394
8395 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8396
8397 fi;
8398
8399 eval "$ac_cv_use_statusbar"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8402 fi
8403
8404 if test "$wxUSE_STATUSBAR" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8407 else
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8410 fi
8411
8412
8413 enablestring=
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8416 no_cache=0
8417 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8418 if test "${enable_tabdialog+set}" = set; then
8419 enableval="$enable_tabdialog"
8420
8421 if test "$enableval" = yes; then
8422 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8423 else
8424 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8425 fi
8426
8427 else
8428
8429 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x ; then
8431 eval "DEFAULT_$LINE"
8432 else
8433 no_cache=1
8434 fi
8435
8436 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8437
8438 fi;
8439
8440 eval "$ac_cv_use_tabdialog"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8443 fi
8444
8445 if test "$wxUSE_TABDIALOG" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8448 else
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8451 fi
8452
8453
8454 enablestring=
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8457 no_cache=0
8458 # Check whether --enable-textctrl or --disable-textctrl was given.
8459 if test "${enable_textctrl+set}" = set; then
8460 enableval="$enable_textctrl"
8461
8462 if test "$enableval" = yes; then
8463 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8464 else
8465 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8466 fi
8467
8468 else
8469
8470 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x ; then
8472 eval "DEFAULT_$LINE"
8473 else
8474 no_cache=1
8475 fi
8476
8477 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8478
8479 fi;
8480
8481 eval "$ac_cv_use_textctrl"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8484 fi
8485
8486 if test "$wxUSE_TEXTCTRL" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8489 else
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8492 fi
8493
8494
8495 enablestring=
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8498 no_cache=0
8499 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8500 if test "${enable_togglebtn+set}" = set; then
8501 enableval="$enable_togglebtn"
8502
8503 if test "$enableval" = yes; then
8504 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8505 else
8506 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8507 fi
8508
8509 else
8510
8511 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x ; then
8513 eval "DEFAULT_$LINE"
8514 else
8515 no_cache=1
8516 fi
8517
8518 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8519
8520 fi;
8521
8522 eval "$ac_cv_use_togglebtn"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8525 fi
8526
8527 if test "$wxUSE_TOGGLEBTN" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8530 else
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8533 fi
8534
8535
8536 enablestring=
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8539 no_cache=0
8540 # Check whether --enable-toolbar or --disable-toolbar was given.
8541 if test "${enable_toolbar+set}" = set; then
8542 enableval="$enable_toolbar"
8543
8544 if test "$enableval" = yes; then
8545 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8546 else
8547 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8548 fi
8549
8550 else
8551
8552 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x ; then
8554 eval "DEFAULT_$LINE"
8555 else
8556 no_cache=1
8557 fi
8558
8559 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8560
8561 fi;
8562
8563 eval "$ac_cv_use_toolbar"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8566 fi
8567
8568 if test "$wxUSE_TOOLBAR" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8571 else
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8574 fi
8575
8576
8577 enablestring=
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8580 no_cache=0
8581 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8582 if test "${enable_tbarnative+set}" = set; then
8583 enableval="$enable_tbarnative"
8584
8585 if test "$enableval" = yes; then
8586 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8587 else
8588 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8589 fi
8590
8591 else
8592
8593 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x ; then
8595 eval "DEFAULT_$LINE"
8596 else
8597 no_cache=1
8598 fi
8599
8600 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8601
8602 fi;
8603
8604 eval "$ac_cv_use_tbarnative"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8607 fi
8608
8609 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8612 else
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8615 fi
8616
8617
8618 enablestring=
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8621 no_cache=0
8622 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8623 if test "${enable_tbarsmpl+set}" = set; then
8624 enableval="$enable_tbarsmpl"
8625
8626 if test "$enableval" = yes; then
8627 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8628 else
8629 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8630 fi
8631
8632 else
8633
8634 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x ; then
8636 eval "DEFAULT_$LINE"
8637 else
8638 no_cache=1
8639 fi
8640
8641 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8642
8643 fi;
8644
8645 eval "$ac_cv_use_tbarsmpl"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8648 fi
8649
8650 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8653 else
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8656 fi
8657
8658
8659 enablestring=
8660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8662 no_cache=0
8663 # Check whether --enable-treectrl or --disable-treectrl was given.
8664 if test "${enable_treectrl+set}" = set; then
8665 enableval="$enable_treectrl"
8666
8667 if test "$enableval" = yes; then
8668 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8669 else
8670 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8671 fi
8672
8673 else
8674
8675 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8676 if test "x$LINE" != x ; then
8677 eval "DEFAULT_$LINE"
8678 else
8679 no_cache=1
8680 fi
8681
8682 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8683
8684 fi;
8685
8686 eval "$ac_cv_use_treectrl"
8687 if test "$no_cache" != 1; then
8688 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8689 fi
8690
8691 if test "$wxUSE_TREECTRL" = yes; then
8692 echo "$as_me:$LINENO: result: yes" >&5
8693 echo "${ECHO_T}yes" >&6
8694 else
8695 echo "$as_me:$LINENO: result: no" >&5
8696 echo "${ECHO_T}no" >&6
8697 fi
8698
8699
8700 enablestring=
8701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8703 no_cache=0
8704 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8705 if test "${enable_tipwindow+set}" = set; then
8706 enableval="$enable_tipwindow"
8707
8708 if test "$enableval" = yes; then
8709 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8710 else
8711 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8712 fi
8713
8714 else
8715
8716 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x ; then
8718 eval "DEFAULT_$LINE"
8719 else
8720 no_cache=1
8721 fi
8722
8723 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8724
8725 fi;
8726
8727 eval "$ac_cv_use_tipwindow"
8728 if test "$no_cache" != 1; then
8729 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8730 fi
8731
8732 if test "$wxUSE_TIPWINDOW" = yes; then
8733 echo "$as_me:$LINENO: result: yes" >&5
8734 echo "${ECHO_T}yes" >&6
8735 else
8736 echo "$as_me:$LINENO: result: no" >&5
8737 echo "${ECHO_T}no" >&6
8738 fi
8739
8740
8741 enablestring=
8742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8744 no_cache=0
8745 # Check whether --enable-popupwin or --disable-popupwin was given.
8746 if test "${enable_popupwin+set}" = set; then
8747 enableval="$enable_popupwin"
8748
8749 if test "$enableval" = yes; then
8750 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8751 else
8752 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8753 fi
8754
8755 else
8756
8757 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8758 if test "x$LINE" != x ; then
8759 eval "DEFAULT_$LINE"
8760 else
8761 no_cache=1
8762 fi
8763
8764 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8765
8766 fi;
8767
8768 eval "$ac_cv_use_popupwin"
8769 if test "$no_cache" != 1; then
8770 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8771 fi
8772
8773 if test "$wxUSE_POPUPWIN" = yes; then
8774 echo "$as_me:$LINENO: result: yes" >&5
8775 echo "${ECHO_T}yes" >&6
8776 else
8777 echo "$as_me:$LINENO: result: no" >&5
8778 echo "${ECHO_T}no" >&6
8779 fi
8780
8781
8782
8783
8784 enablestring=
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8787 no_cache=0
8788 # Check whether --enable-commondlg or --disable-commondlg was given.
8789 if test "${enable_commondlg+set}" = set; then
8790 enableval="$enable_commondlg"
8791
8792 if test "$enableval" = yes; then
8793 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8794 else
8795 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8796 fi
8797
8798 else
8799
8800 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x ; then
8802 eval "DEFAULT_$LINE"
8803 else
8804 no_cache=1
8805 fi
8806
8807 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8808
8809 fi;
8810
8811 eval "$ac_cv_use_commondlg"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8814 fi
8815
8816 if test "$wxUSE_COMMONDLGS" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8819 else
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8822 fi
8823
8824
8825 enablestring=
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8828 no_cache=0
8829 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8830 if test "${enable_choicedlg+set}" = set; then
8831 enableval="$enable_choicedlg"
8832
8833 if test "$enableval" = yes; then
8834 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8835 else
8836 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8837 fi
8838
8839 else
8840
8841 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x ; then
8843 eval "DEFAULT_$LINE"
8844 else
8845 no_cache=1
8846 fi
8847
8848 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8849
8850 fi;
8851
8852 eval "$ac_cv_use_choicedlg"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8855 fi
8856
8857 if test "$wxUSE_CHOICEDLG" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8860 else
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8863 fi
8864
8865
8866 enablestring=
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8869 no_cache=0
8870 # Check whether --enable-coldlg or --disable-coldlg was given.
8871 if test "${enable_coldlg+set}" = set; then
8872 enableval="$enable_coldlg"
8873
8874 if test "$enableval" = yes; then
8875 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8876 else
8877 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8878 fi
8879
8880 else
8881
8882 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x ; then
8884 eval "DEFAULT_$LINE"
8885 else
8886 no_cache=1
8887 fi
8888
8889 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8890
8891 fi;
8892
8893 eval "$ac_cv_use_coldlg"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8896 fi
8897
8898 if test "$wxUSE_COLOURDLG" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8901 else
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8904 fi
8905
8906
8907 enablestring=
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8910 no_cache=0
8911 # Check whether --enable-filedlg or --disable-filedlg was given.
8912 if test "${enable_filedlg+set}" = set; then
8913 enableval="$enable_filedlg"
8914
8915 if test "$enableval" = yes; then
8916 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8917 else
8918 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8919 fi
8920
8921 else
8922
8923 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x ; then
8925 eval "DEFAULT_$LINE"
8926 else
8927 no_cache=1
8928 fi
8929
8930 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8931
8932 fi;
8933
8934 eval "$ac_cv_use_filedlg"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8937 fi
8938
8939 if test "$wxUSE_FILEDLG" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8942 else
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8945 fi
8946
8947
8948 enablestring=
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8951 no_cache=0
8952 # Check whether --enable-finddlg or --disable-finddlg was given.
8953 if test "${enable_finddlg+set}" = set; then
8954 enableval="$enable_finddlg"
8955
8956 if test "$enableval" = yes; then
8957 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8958 else
8959 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8960 fi
8961
8962 else
8963
8964 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x ; then
8966 eval "DEFAULT_$LINE"
8967 else
8968 no_cache=1
8969 fi
8970
8971 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8972
8973 fi;
8974
8975 eval "$ac_cv_use_finddlg"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8978 fi
8979
8980 if test "$wxUSE_FINDREPLDLG" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8983 else
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8986 fi
8987
8988
8989 enablestring=
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8992 no_cache=0
8993 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8994 if test "${enable_fontdlg+set}" = set; then
8995 enableval="$enable_fontdlg"
8996
8997 if test "$enableval" = yes; then
8998 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8999 else
9000 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9001 fi
9002
9003 else
9004
9005 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x ; then
9007 eval "DEFAULT_$LINE"
9008 else
9009 no_cache=1
9010 fi
9011
9012 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9013
9014 fi;
9015
9016 eval "$ac_cv_use_fontdlg"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9019 fi
9020
9021 if test "$wxUSE_FONTDLG" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9024 else
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9027 fi
9028
9029
9030 enablestring=
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9033 no_cache=0
9034 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9035 if test "${enable_dirdlg+set}" = set; then
9036 enableval="$enable_dirdlg"
9037
9038 if test "$enableval" = yes; then
9039 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9040 else
9041 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9042 fi
9043
9044 else
9045
9046 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x ; then
9048 eval "DEFAULT_$LINE"
9049 else
9050 no_cache=1
9051 fi
9052
9053 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9054
9055 fi;
9056
9057 eval "$ac_cv_use_dirdlg"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9060 fi
9061
9062 if test "$wxUSE_DIRDLG" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9065 else
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9068 fi
9069
9070
9071 enablestring=
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9074 no_cache=0
9075 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9076 if test "${enable_msgdlg+set}" = set; then
9077 enableval="$enable_msgdlg"
9078
9079 if test "$enableval" = yes; then
9080 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9081 else
9082 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9083 fi
9084
9085 else
9086
9087 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x ; then
9089 eval "DEFAULT_$LINE"
9090 else
9091 no_cache=1
9092 fi
9093
9094 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9095
9096 fi;
9097
9098 eval "$ac_cv_use_msgdlg"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9101 fi
9102
9103 if test "$wxUSE_MSGDLG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9106 else
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9109 fi
9110
9111
9112 enablestring=
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9115 no_cache=0
9116 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9117 if test "${enable_numberdlg+set}" = set; then
9118 enableval="$enable_numberdlg"
9119
9120 if test "$enableval" = yes; then
9121 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9122 else
9123 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9124 fi
9125
9126 else
9127
9128 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x ; then
9130 eval "DEFAULT_$LINE"
9131 else
9132 no_cache=1
9133 fi
9134
9135 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9136
9137 fi;
9138
9139 eval "$ac_cv_use_numberdlg"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9142 fi
9143
9144 if test "$wxUSE_NUMBERDLG" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9147 else
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9150 fi
9151
9152
9153 enablestring=
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9156 no_cache=0
9157 # Check whether --enable-splash or --disable-splash was given.
9158 if test "${enable_splash+set}" = set; then
9159 enableval="$enable_splash"
9160
9161 if test "$enableval" = yes; then
9162 ac_cv_use_splash='wxUSE_SPLASH=yes'
9163 else
9164 ac_cv_use_splash='wxUSE_SPLASH=no'
9165 fi
9166
9167 else
9168
9169 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x ; then
9171 eval "DEFAULT_$LINE"
9172 else
9173 no_cache=1
9174 fi
9175
9176 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9177
9178 fi;
9179
9180 eval "$ac_cv_use_splash"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9183 fi
9184
9185 if test "$wxUSE_SPLASH" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9188 else
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9191 fi
9192
9193
9194 enablestring=
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9197 no_cache=0
9198 # Check whether --enable-textdlg or --disable-textdlg was given.
9199 if test "${enable_textdlg+set}" = set; then
9200 enableval="$enable_textdlg"
9201
9202 if test "$enableval" = yes; then
9203 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9204 else
9205 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9206 fi
9207
9208 else
9209
9210 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x ; then
9212 eval "DEFAULT_$LINE"
9213 else
9214 no_cache=1
9215 fi
9216
9217 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9218
9219 fi;
9220
9221 eval "$ac_cv_use_textdlg"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9224 fi
9225
9226 if test "$wxUSE_TEXTDLG" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9229 else
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9232 fi
9233
9234
9235 enablestring=
9236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9238 no_cache=0
9239 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9240 if test "${enable_tipdlg+set}" = set; then
9241 enableval="$enable_tipdlg"
9242
9243 if test "$enableval" = yes; then
9244 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9245 else
9246 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9247 fi
9248
9249 else
9250
9251 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9252 if test "x$LINE" != x ; then
9253 eval "DEFAULT_$LINE"
9254 else
9255 no_cache=1
9256 fi
9257
9258 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9259
9260 fi;
9261
9262 eval "$ac_cv_use_tipdlg"
9263 if test "$no_cache" != 1; then
9264 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9265 fi
9266
9267 if test "$wxUSE_STARTUP_TIPS" = yes; then
9268 echo "$as_me:$LINENO: result: yes" >&5
9269 echo "${ECHO_T}yes" >&6
9270 else
9271 echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6
9273 fi
9274
9275
9276 enablestring=
9277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9279 no_cache=0
9280 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9281 if test "${enable_progressdlg+set}" = set; then
9282 enableval="$enable_progressdlg"
9283
9284 if test "$enableval" = yes; then
9285 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9286 else
9287 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9288 fi
9289
9290 else
9291
9292 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9293 if test "x$LINE" != x ; then
9294 eval "DEFAULT_$LINE"
9295 else
9296 no_cache=1
9297 fi
9298
9299 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9300
9301 fi;
9302
9303 eval "$ac_cv_use_progressdlg"
9304 if test "$no_cache" != 1; then
9305 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9306 fi
9307
9308 if test "$wxUSE_PROGRESSDLG" = yes; then
9309 echo "$as_me:$LINENO: result: yes" >&5
9310 echo "${ECHO_T}yes" >&6
9311 else
9312 echo "$as_me:$LINENO: result: no" >&5
9313 echo "${ECHO_T}no" >&6
9314 fi
9315
9316
9317 enablestring=
9318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9320 no_cache=0
9321 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9322 if test "${enable_wizarddlg+set}" = set; then
9323 enableval="$enable_wizarddlg"
9324
9325 if test "$enableval" = yes; then
9326 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9327 else
9328 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9329 fi
9330
9331 else
9332
9333 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9334 if test "x$LINE" != x ; then
9335 eval "DEFAULT_$LINE"
9336 else
9337 no_cache=1
9338 fi
9339
9340 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9341
9342 fi;
9343
9344 eval "$ac_cv_use_wizarddlg"
9345 if test "$no_cache" != 1; then
9346 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9347 fi
9348
9349 if test "$wxUSE_WIZARDDLG" = yes; then
9350 echo "$as_me:$LINENO: result: yes" >&5
9351 echo "${ECHO_T}yes" >&6
9352 else
9353 echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6
9355 fi
9356
9357
9358
9359
9360 enablestring=
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9363 no_cache=0
9364 # Check whether --enable-menus or --disable-menus was given.
9365 if test "${enable_menus+set}" = set; then
9366 enableval="$enable_menus"
9367
9368 if test "$enableval" = yes; then
9369 ac_cv_use_menus='wxUSE_MENUS=yes'
9370 else
9371 ac_cv_use_menus='wxUSE_MENUS=no'
9372 fi
9373
9374 else
9375
9376 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x ; then
9378 eval "DEFAULT_$LINE"
9379 else
9380 no_cache=1
9381 fi
9382
9383 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9384
9385 fi;
9386
9387 eval "$ac_cv_use_menus"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9390 fi
9391
9392 if test "$wxUSE_MENUS" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9395 else
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9398 fi
9399
9400
9401 enablestring=
9402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9404 no_cache=0
9405 # Check whether --enable-miniframe or --disable-miniframe was given.
9406 if test "${enable_miniframe+set}" = set; then
9407 enableval="$enable_miniframe"
9408
9409 if test "$enableval" = yes; then
9410 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9411 else
9412 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9413 fi
9414
9415 else
9416
9417 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9418 if test "x$LINE" != x ; then
9419 eval "DEFAULT_$LINE"
9420 else
9421 no_cache=1
9422 fi
9423
9424 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9425
9426 fi;
9427
9428 eval "$ac_cv_use_miniframe"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9431 fi
9432
9433 if test "$wxUSE_MINIFRAME" = yes; then
9434 echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6
9436 else
9437 echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6
9439 fi
9440
9441
9442 enablestring=
9443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9445 no_cache=0
9446 # Check whether --enable-tooltips or --disable-tooltips was given.
9447 if test "${enable_tooltips+set}" = set; then
9448 enableval="$enable_tooltips"
9449
9450 if test "$enableval" = yes; then
9451 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9452 else
9453 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9454 fi
9455
9456 else
9457
9458 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9459 if test "x$LINE" != x ; then
9460 eval "DEFAULT_$LINE"
9461 else
9462 no_cache=1
9463 fi
9464
9465 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9466
9467 fi;
9468
9469 eval "$ac_cv_use_tooltips"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9472 fi
9473
9474 if test "$wxUSE_TOOLTIPS" = yes; then
9475 echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6
9477 else
9478 echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6
9480 fi
9481
9482
9483 enablestring=
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9486 no_cache=0
9487 # Check whether --enable-splines or --disable-splines was given.
9488 if test "${enable_splines+set}" = set; then
9489 enableval="$enable_splines"
9490
9491 if test "$enableval" = yes; then
9492 ac_cv_use_splines='wxUSE_SPLINES=yes'
9493 else
9494 ac_cv_use_splines='wxUSE_SPLINES=no'
9495 fi
9496
9497 else
9498
9499 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x ; then
9501 eval "DEFAULT_$LINE"
9502 else
9503 no_cache=1
9504 fi
9505
9506 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9507
9508 fi;
9509
9510 eval "$ac_cv_use_splines"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9513 fi
9514
9515 if test "$wxUSE_SPLINES" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9518 else
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9521 fi
9522
9523
9524 enablestring=
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9527 no_cache=0
9528 # Check whether --enable-validators or --disable-validators was given.
9529 if test "${enable_validators+set}" = set; then
9530 enableval="$enable_validators"
9531
9532 if test "$enableval" = yes; then
9533 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9534 else
9535 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9536 fi
9537
9538 else
9539
9540 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x ; then
9542 eval "DEFAULT_$LINE"
9543 else
9544 no_cache=1
9545 fi
9546
9547 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9548
9549 fi;
9550
9551 eval "$ac_cv_use_validators"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9554 fi
9555
9556 if test "$wxUSE_VALIDATORS" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9559 else
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9562 fi
9563
9564
9565 enablestring=
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9568 no_cache=0
9569 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9570 if test "${enable_busyinfo+set}" = set; then
9571 enableval="$enable_busyinfo"
9572
9573 if test "$enableval" = yes; then
9574 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9575 else
9576 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9577 fi
9578
9579 else
9580
9581 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x ; then
9583 eval "DEFAULT_$LINE"
9584 else
9585 no_cache=1
9586 fi
9587
9588 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9589
9590 fi;
9591
9592 eval "$ac_cv_use_busyinfo"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9595 fi
9596
9597 if test "$wxUSE_BUSYINFO" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9600 else
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9603 fi
9604
9605
9606 enablestring=
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9609 no_cache=0
9610 # Check whether --enable-joystick or --disable-joystick was given.
9611 if test "${enable_joystick+set}" = set; then
9612 enableval="$enable_joystick"
9613
9614 if test "$enableval" = yes; then
9615 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9616 else
9617 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9618 fi
9619
9620 else
9621
9622 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x ; then
9624 eval "DEFAULT_$LINE"
9625 else
9626 no_cache=1
9627 fi
9628
9629 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9630
9631 fi;
9632
9633 eval "$ac_cv_use_joystick"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9636 fi
9637
9638 if test "$wxUSE_JOYSTICK" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9641 else
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9644 fi
9645
9646
9647 enablestring=
9648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9650 no_cache=0
9651 # Check whether --enable-metafile or --disable-metafile was given.
9652 if test "${enable_metafile+set}" = set; then
9653 enableval="$enable_metafile"
9654
9655 if test "$enableval" = yes; then
9656 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9657 else
9658 ac_cv_use_metafile='wxUSE_METAFILE=no'
9659 fi
9660
9661 else
9662
9663 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9664 if test "x$LINE" != x ; then
9665 eval "DEFAULT_$LINE"
9666 else
9667 no_cache=1
9668 fi
9669
9670 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9671
9672 fi;
9673
9674 eval "$ac_cv_use_metafile"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9677 fi
9678
9679 if test "$wxUSE_METAFILE" = yes; then
9680 echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6
9682 else
9683 echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6
9685 fi
9686
9687
9688 enablestring=
9689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9691 no_cache=0
9692 # Check whether --enable-dragimage or --disable-dragimage was given.
9693 if test "${enable_dragimage+set}" = set; then
9694 enableval="$enable_dragimage"
9695
9696 if test "$enableval" = yes; then
9697 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9698 else
9699 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9700 fi
9701
9702 else
9703
9704 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9705 if test "x$LINE" != x ; then
9706 eval "DEFAULT_$LINE"
9707 else
9708 no_cache=1
9709 fi
9710
9711 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9712
9713 fi;
9714
9715 eval "$ac_cv_use_dragimage"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9718 fi
9719
9720 if test "$wxUSE_DRAGIMAGE" = yes; then
9721 echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6
9723 else
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9726 fi
9727
9728
9729 enablestring=
9730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9732 no_cache=0
9733 # Check whether --enable-accessibility or --disable-accessibility was given.
9734 if test "${enable_accessibility+set}" = set; then
9735 enableval="$enable_accessibility"
9736
9737 if test "$enableval" = yes; then
9738 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9739 else
9740 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9741 fi
9742
9743 else
9744
9745 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9746 if test "x$LINE" != x ; then
9747 eval "DEFAULT_$LINE"
9748 else
9749 no_cache=1
9750 fi
9751
9752 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9753
9754 fi;
9755
9756 eval "$ac_cv_use_accessibility"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9759 fi
9760
9761 if test "$wxUSE_ACCESSIBILITY" = yes; then
9762 echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6
9764 else
9765 echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6
9767 fi
9768
9769
9770
9771
9772 enablestring=
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9775 no_cache=0
9776 # Check whether --enable-palette or --disable-palette was given.
9777 if test "${enable_palette+set}" = set; then
9778 enableval="$enable_palette"
9779
9780 if test "$enableval" = yes; then
9781 ac_cv_use_palette='wxUSE_PALETTE=yes'
9782 else
9783 ac_cv_use_palette='wxUSE_PALETTE=no'
9784 fi
9785
9786 else
9787
9788 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x ; then
9790 eval "DEFAULT_$LINE"
9791 else
9792 no_cache=1
9793 fi
9794
9795 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9796
9797 fi;
9798
9799 eval "$ac_cv_use_palette"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9802 fi
9803
9804 if test "$wxUSE_PALETTE" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9807 else
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9810 fi
9811
9812
9813 enablestring=
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9816 no_cache=0
9817 # Check whether --enable-image or --disable-image was given.
9818 if test "${enable_image+set}" = set; then
9819 enableval="$enable_image"
9820
9821 if test "$enableval" = yes; then
9822 ac_cv_use_image='wxUSE_IMAGE=yes'
9823 else
9824 ac_cv_use_image='wxUSE_IMAGE=no'
9825 fi
9826
9827 else
9828
9829 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x ; then
9831 eval "DEFAULT_$LINE"
9832 else
9833 no_cache=1
9834 fi
9835
9836 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9837
9838 fi;
9839
9840 eval "$ac_cv_use_image"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9843 fi
9844
9845 if test "$wxUSE_IMAGE" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9848 else
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9851 fi
9852
9853
9854 enablestring=
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9857 no_cache=0
9858 # Check whether --enable-gif or --disable-gif was given.
9859 if test "${enable_gif+set}" = set; then
9860 enableval="$enable_gif"
9861
9862 if test "$enableval" = yes; then
9863 ac_cv_use_gif='wxUSE_GIF=yes'
9864 else
9865 ac_cv_use_gif='wxUSE_GIF=no'
9866 fi
9867
9868 else
9869
9870 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x ; then
9872 eval "DEFAULT_$LINE"
9873 else
9874 no_cache=1
9875 fi
9876
9877 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9878
9879 fi;
9880
9881 eval "$ac_cv_use_gif"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9884 fi
9885
9886 if test "$wxUSE_GIF" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9889 else
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9892 fi
9893
9894
9895 enablestring=
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9898 no_cache=0
9899 # Check whether --enable-pcx or --disable-pcx was given.
9900 if test "${enable_pcx+set}" = set; then
9901 enableval="$enable_pcx"
9902
9903 if test "$enableval" = yes; then
9904 ac_cv_use_pcx='wxUSE_PCX=yes'
9905 else
9906 ac_cv_use_pcx='wxUSE_PCX=no'
9907 fi
9908
9909 else
9910
9911 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x ; then
9913 eval "DEFAULT_$LINE"
9914 else
9915 no_cache=1
9916 fi
9917
9918 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9919
9920 fi;
9921
9922 eval "$ac_cv_use_pcx"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9925 fi
9926
9927 if test "$wxUSE_PCX" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9930 else
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9933 fi
9934
9935
9936 enablestring=
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9939 no_cache=0
9940 # Check whether --enable-iff or --disable-iff was given.
9941 if test "${enable_iff+set}" = set; then
9942 enableval="$enable_iff"
9943
9944 if test "$enableval" = yes; then
9945 ac_cv_use_iff='wxUSE_IFF=yes'
9946 else
9947 ac_cv_use_iff='wxUSE_IFF=no'
9948 fi
9949
9950 else
9951
9952 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9955 else
9956 no_cache=1
9957 fi
9958
9959 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9960
9961 fi;
9962
9963 eval "$ac_cv_use_iff"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9966 fi
9967
9968 if test "$wxUSE_IFF" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9971 else
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9974 fi
9975
9976
9977 enablestring=
9978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9980 no_cache=0
9981 # Check whether --enable-pnm or --disable-pnm was given.
9982 if test "${enable_pnm+set}" = set; then
9983 enableval="$enable_pnm"
9984
9985 if test "$enableval" = yes; then
9986 ac_cv_use_pnm='wxUSE_PNM=yes'
9987 else
9988 ac_cv_use_pnm='wxUSE_PNM=no'
9989 fi
9990
9991 else
9992
9993 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9994 if test "x$LINE" != x ; then
9995 eval "DEFAULT_$LINE"
9996 else
9997 no_cache=1
9998 fi
9999
10000 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10001
10002 fi;
10003
10004 eval "$ac_cv_use_pnm"
10005 if test "$no_cache" != 1; then
10006 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10007 fi
10008
10009 if test "$wxUSE_PNM" = yes; then
10010 echo "$as_me:$LINENO: result: yes" >&5
10011 echo "${ECHO_T}yes" >&6
10012 else
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10015 fi
10016
10017
10018 enablestring=
10019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10021 no_cache=0
10022 # Check whether --enable-xpm or --disable-xpm was given.
10023 if test "${enable_xpm+set}" = set; then
10024 enableval="$enable_xpm"
10025
10026 if test "$enableval" = yes; then
10027 ac_cv_use_xpm='wxUSE_XPM=yes'
10028 else
10029 ac_cv_use_xpm='wxUSE_XPM=no'
10030 fi
10031
10032 else
10033
10034 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10035 if test "x$LINE" != x ; then
10036 eval "DEFAULT_$LINE"
10037 else
10038 no_cache=1
10039 fi
10040
10041 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10042
10043 fi;
10044
10045 eval "$ac_cv_use_xpm"
10046 if test "$no_cache" != 1; then
10047 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10048 fi
10049
10050 if test "$wxUSE_XPM" = yes; then
10051 echo "$as_me:$LINENO: result: yes" >&5
10052 echo "${ECHO_T}yes" >&6
10053 else
10054 echo "$as_me:$LINENO: result: no" >&5
10055 echo "${ECHO_T}no" >&6
10056 fi
10057
10058
10059 enablestring=
10060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10062 no_cache=0
10063 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10064 if test "${enable_ico_cur+set}" = set; then
10065 enableval="$enable_ico_cur"
10066
10067 if test "$enableval" = yes; then
10068 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10069 else
10070 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10071 fi
10072
10073 else
10074
10075 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x ; then
10077 eval "DEFAULT_$LINE"
10078 else
10079 no_cache=1
10080 fi
10081
10082 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10083
10084 fi;
10085
10086 eval "$ac_cv_use_ico_cur"
10087 if test "$no_cache" != 1; then
10088 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10089 fi
10090
10091 if test "$wxUSE_ICO_CUR" = yes; then
10092 echo "$as_me:$LINENO: result: yes" >&5
10093 echo "${ECHO_T}yes" >&6
10094 else
10095 echo "$as_me:$LINENO: result: no" >&5
10096 echo "${ECHO_T}no" >&6
10097 fi
10098
10099
10100 fi
10101
10102
10103
10104 # Check whether --with-flavour or --without-flavour was given.
10105 if test "${with_flavour+set}" = set; then
10106 withval="$with_flavour"
10107 WX_FLAVOUR="$withval"
10108 fi;
10109
10110
10111
10112 enablestring=
10113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10115 no_cache=0
10116 # Check whether --enable-official_build or --disable-official_build was given.
10117 if test "${enable_official_build+set}" = set; then
10118 enableval="$enable_official_build"
10119
10120 if test "$enableval" = yes; then
10121 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10122 else
10123 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10124 fi
10125
10126 else
10127
10128 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10129 if test "x$LINE" != x ; then
10130 eval "DEFAULT_$LINE"
10131 else
10132 no_cache=1
10133 fi
10134
10135 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10136
10137 fi;
10138
10139 eval "$ac_cv_use_official_build"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10142 fi
10143
10144 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10145 echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6
10147 else
10148 echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6
10150 fi
10151
10152 # Check whether --enable-vendor or --disable-vendor was given.
10153 if test "${enable_vendor+set}" = set; then
10154 enableval="$enable_vendor"
10155 VENDOR="$enableval"
10156 fi;
10157 if test "x$VENDOR" = "x"; then
10158 VENDOR="custom"
10159 fi
10160
10161
10162
10163
10164 echo "saving argument cache $wx_arg_cache_file"
10165 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10166
10167
10168
10169 echo "$as_me:$LINENO: checking for toolkit" >&5
10170 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10171
10172 # In Wine, we need to default to MSW, not GTK or MOTIF
10173 if test "$wxUSE_WINE" = "yes"; then
10174 DEFAULT_DEFAULT_wxUSE_GTK=0
10175 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10176 DEFAULT_DEFAULT_wxUSE_MSW=1
10177 wxUSE_SHARED=no
10178 fi
10179
10180 if test "$wxUSE_GUI" = "yes"; then
10181
10182 if test "$USE_BEOS" = 1; then
10183 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10184 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10185 { (exit 1); exit 1; }; }
10186 fi
10187
10188 if test "$TOOLKIT_GIVEN" = 1; then
10189 for toolkit in `echo $ALL_TOOLKITS`; do
10190 var=wxUSE_$toolkit
10191 eval "value=\$${var}"
10192 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10193 done
10194 else
10195 for toolkit in `echo $ALL_TOOLKITS`; do
10196 if test "$has_toolkit_in_cache" != 1; then
10197 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10198 else
10199 var=DEFAULT_wxUSE_$toolkit
10200 fi
10201 eval "wxUSE_$toolkit=\$${var}"
10202 done
10203 fi
10204
10205 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10206 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10207 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10208
10209 case "${host}" in
10210 *-pc-os2_emx | *-pc-os2-emx )
10211 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10212 esac
10213
10214 case "$NUM_TOOLKITS" in
10215 1)
10216 ;;
10217 0)
10218 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10219 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10220 { (exit 1); exit 1; }; }
10221 ;;
10222 *)
10223 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10224 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10225 { (exit 1); exit 1; }; }
10226 esac
10227
10228 for toolkit in `echo $ALL_TOOLKITS`; do
10229 var=wxUSE_$toolkit
10230 eval "value=\$${var}"
10231 if test "x$value" != x; then
10232 cache_var=CACHE_$toolkit
10233 eval "cache=\$${cache_var}"
10234 if test "$cache" = 1; then
10235 echo "$var=$value" >> ${wx_arg_cache_file}
10236 fi
10237 if test "$value" = 1; then
10238 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10239 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10240 echo "${ECHO_T}$toolkit_echo" >&6
10241 fi
10242 fi
10243 done
10244 else
10245 if test "x$host_alias" != "x"; then
10246 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10247 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10248 else
10249 echo "$as_me:$LINENO: result: base only" >&5
10250 echo "${ECHO_T}base only" >&6
10251 fi
10252 fi
10253
10254 wants_win32=0
10255 doesnt_want_win32=0
10256 case "${host}" in
10257 *-*-cygwin*)
10258 if test "$wxUSE_MSW" = 1 ; then
10259 wants_win32=1
10260 else
10261 doesnt_want_win32=1
10262 fi
10263 ;;
10264 *-*-mingw*)
10265 wants_win32=1
10266 ;;
10267 esac
10268
10269 if test "$wxUSE_WINE" = "yes"; then
10270 wants_win32=1
10271 CC=winegcc
10272 CXX=wineg++
10273 RESCOMP=wrc
10274 LDFLAGS_GUI="-mwindows"
10275 fi
10276
10277 if test "$wants_win32" = 1 ; then
10278 USE_UNIX=0
10279 USE_WIN32=1
10280 cat >>confdefs.h <<\_ACEOF
10281 #define __WIN32__ 1
10282 _ACEOF
10283
10284 cat >>confdefs.h <<\_ACEOF
10285 #define __WIN95__ 1
10286 _ACEOF
10287
10288 cat >>confdefs.h <<\_ACEOF
10289 #define __WINDOWS__ 1
10290 _ACEOF
10291
10292 cat >>confdefs.h <<\_ACEOF
10293 #define __GNUWIN32__ 1
10294 _ACEOF
10295
10296 cat >>confdefs.h <<\_ACEOF
10297 #define STRICT 1
10298 _ACEOF
10299
10300 cat >>confdefs.h <<\_ACEOF
10301 #define WINVER 0x0400
10302 _ACEOF
10303
10304 fi
10305 if test "$doesnt_want_win32" = 1 ; then
10306 USE_UNIX=1
10307 USE_WIN32=0
10308 fi
10309
10310 if test "$USE_UNIX" = 1 ; then
10311 wxUSE_UNIX=yes
10312 cat >>confdefs.h <<\_ACEOF
10313 #define __UNIX__ 1
10314 _ACEOF
10315
10316 fi
10317
10318
10319 cat >confcache <<\_ACEOF
10320 # This file is a shell script that caches the results of configure
10321 # tests run on this system so they can be shared between configure
10322 # scripts and configure runs, see configure's option --config-cache.
10323 # It is not useful on other systems. If it contains results you don't
10324 # want to keep, you may remove or edit it.
10325 #
10326 # config.status only pays attention to the cache file if you give it
10327 # the --recheck option to rerun configure.
10328 #
10329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10331 # following values.
10332
10333 _ACEOF
10334
10335 # The following way of writing the cache mishandles newlines in values,
10336 # but we know of no workaround that is simple, portable, and efficient.
10337 # So, don't put newlines in cache variables' values.
10338 # Ultrix sh set writes to stderr and can't be redirected directly,
10339 # and sets the high bit in the cache file unless we assign to the vars.
10340 {
10341 (set) 2>&1 |
10342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10343 *ac_space=\ *)
10344 # `set' does not quote correctly, so add quotes (double-quote
10345 # substitution turns \\\\ into \\, and sed turns \\ into \).
10346 sed -n \
10347 "s/'/'\\\\''/g;
10348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10349 ;;
10350 *)
10351 # `set' quotes correctly as required by POSIX, so do not add quotes.
10352 sed -n \
10353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10354 ;;
10355 esac;
10356 } |
10357 sed '
10358 t clear
10359 : clear
10360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10361 t end
10362 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10363 : end' >>confcache
10364 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10365 if test -w $cache_file; then
10366 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10367 cat confcache >$cache_file
10368 else
10369 echo "not updating unwritable cache $cache_file"
10370 fi
10371 fi
10372 rm -f confcache
10373
10374 if test "$build" != "$host" ; then
10375 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10376 CC=$host_alias-gcc
10377 CXX=$host_alias-c++
10378 AR=$host_alias-ar
10379 RANLIB=$host_alias-ranlib
10380 DLLTOOL=$host_alias-dlltool
10381 RESCOMP=$host_alias-windres
10382 STRIP=$host_alias-strip
10383 elif test "x$CC" '!=' "x"; then
10384 echo "You set CC, I assume you know what you are doing."
10385 else
10386 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10387 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10388 { (exit 1); exit 1; }; }
10389 fi
10390 fi
10391
10392 CFLAGS=${CFLAGS:=}
10393 ac_ext=c
10394 ac_cpp='$CPP $CPPFLAGS'
10395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10398 if test -n "$ac_tool_prefix"; then
10399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10400 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 else
10406 if test -n "$CC"; then
10407 ac_cv_prog_CC="$CC" # Let the user override the test.
10408 else
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10411 do
10412 IFS=$as_save_IFS
10413 test -z "$as_dir" && as_dir=.
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10418 break 2
10419 fi
10420 done
10421 done
10422
10423 fi
10424 fi
10425 CC=$ac_cv_prog_CC
10426 if test -n "$CC"; then
10427 echo "$as_me:$LINENO: result: $CC" >&5
10428 echo "${ECHO_T}$CC" >&6
10429 else
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10432 fi
10433
10434 fi
10435 if test -z "$ac_cv_prog_CC"; then
10436 ac_ct_CC=$CC
10437 # Extract the first word of "gcc", so it can be a program name with args.
10438 set dummy gcc; ac_word=$2
10439 echo "$as_me:$LINENO: checking for $ac_word" >&5
10440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10442 echo $ECHO_N "(cached) $ECHO_C" >&6
10443 else
10444 if test -n "$ac_ct_CC"; then
10445 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10446 else
10447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10448 for as_dir in $PATH
10449 do
10450 IFS=$as_save_IFS
10451 test -z "$as_dir" && as_dir=.
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_ac_ct_CC="gcc"
10455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10456 break 2
10457 fi
10458 done
10459 done
10460
10461 fi
10462 fi
10463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10464 if test -n "$ac_ct_CC"; then
10465 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10466 echo "${ECHO_T}$ac_ct_CC" >&6
10467 else
10468 echo "$as_me:$LINENO: result: no" >&5
10469 echo "${ECHO_T}no" >&6
10470 fi
10471
10472 CC=$ac_ct_CC
10473 else
10474 CC="$ac_cv_prog_CC"
10475 fi
10476
10477 if test -z "$CC"; then
10478 if test -n "$ac_tool_prefix"; then
10479 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10480 set dummy ${ac_tool_prefix}cc; ac_word=$2
10481 echo "$as_me:$LINENO: checking for $ac_word" >&5
10482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10483 if test "${ac_cv_prog_CC+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test -n "$CC"; then
10487 ac_cv_prog_CC="$CC" # Let the user override the test.
10488 else
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10491 do
10492 IFS=$as_save_IFS
10493 test -z "$as_dir" && as_dir=.
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_CC="${ac_tool_prefix}cc"
10497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 break 2
10499 fi
10500 done
10501 done
10502
10503 fi
10504 fi
10505 CC=$ac_cv_prog_CC
10506 if test -n "$CC"; then
10507 echo "$as_me:$LINENO: result: $CC" >&5
10508 echo "${ECHO_T}$CC" >&6
10509 else
10510 echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6
10512 fi
10513
10514 fi
10515 if test -z "$ac_cv_prog_CC"; then
10516 ac_ct_CC=$CC
10517 # Extract the first word of "cc", so it can be a program name with args.
10518 set dummy cc; ac_word=$2
10519 echo "$as_me:$LINENO: checking for $ac_word" >&5
10520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10523 else
10524 if test -n "$ac_ct_CC"; then
10525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10526 else
10527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10528 for as_dir in $PATH
10529 do
10530 IFS=$as_save_IFS
10531 test -z "$as_dir" && as_dir=.
10532 for ac_exec_ext in '' $ac_executable_extensions; do
10533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10534 ac_cv_prog_ac_ct_CC="cc"
10535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10536 break 2
10537 fi
10538 done
10539 done
10540
10541 fi
10542 fi
10543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10544 if test -n "$ac_ct_CC"; then
10545 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10546 echo "${ECHO_T}$ac_ct_CC" >&6
10547 else
10548 echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6
10550 fi
10551
10552 CC=$ac_ct_CC
10553 else
10554 CC="$ac_cv_prog_CC"
10555 fi
10556
10557 fi
10558 if test -z "$CC"; then
10559 # Extract the first word of "cc", so it can be a program name with args.
10560 set dummy cc; ac_word=$2
10561 echo "$as_me:$LINENO: checking for $ac_word" >&5
10562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10563 if test "${ac_cv_prog_CC+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10565 else
10566 if test -n "$CC"; then
10567 ac_cv_prog_CC="$CC" # Let the user override the test.
10568 else
10569 ac_prog_rejected=no
10570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10571 for as_dir in $PATH
10572 do
10573 IFS=$as_save_IFS
10574 test -z "$as_dir" && as_dir=.
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10578 ac_prog_rejected=yes
10579 continue
10580 fi
10581 ac_cv_prog_CC="cc"
10582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10583 break 2
10584 fi
10585 done
10586 done
10587
10588 if test $ac_prog_rejected = yes; then
10589 # We found a bogon in the path, so make sure we never use it.
10590 set dummy $ac_cv_prog_CC
10591 shift
10592 if test $# != 0; then
10593 # We chose a different compiler from the bogus one.
10594 # However, it has the same basename, so the bogon will be chosen
10595 # first if we set CC to just the basename; use the full file name.
10596 shift
10597 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10598 fi
10599 fi
10600 fi
10601 fi
10602 CC=$ac_cv_prog_CC
10603 if test -n "$CC"; then
10604 echo "$as_me:$LINENO: result: $CC" >&5
10605 echo "${ECHO_T}$CC" >&6
10606 else
10607 echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6
10609 fi
10610
10611 fi
10612 if test -z "$CC"; then
10613 if test -n "$ac_tool_prefix"; then
10614 for ac_prog in cl
10615 do
10616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10618 echo "$as_me:$LINENO: checking for $ac_word" >&5
10619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10620 if test "${ac_cv_prog_CC+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 else
10623 if test -n "$CC"; then
10624 ac_cv_prog_CC="$CC" # Let the user override the test.
10625 else
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $PATH
10628 do
10629 IFS=$as_save_IFS
10630 test -z "$as_dir" && as_dir=.
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10635 break 2
10636 fi
10637 done
10638 done
10639
10640 fi
10641 fi
10642 CC=$ac_cv_prog_CC
10643 if test -n "$CC"; then
10644 echo "$as_me:$LINENO: result: $CC" >&5
10645 echo "${ECHO_T}$CC" >&6
10646 else
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10649 fi
10650
10651 test -n "$CC" && break
10652 done
10653 fi
10654 if test -z "$CC"; then
10655 ac_ct_CC=$CC
10656 for ac_prog in cl
10657 do
10658 # Extract the first word of "$ac_prog", so it can be a program name with args.
10659 set dummy $ac_prog; ac_word=$2
10660 echo "$as_me:$LINENO: checking for $ac_word" >&5
10661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 else
10665 if test -n "$ac_ct_CC"; then
10666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10667 else
10668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10669 for as_dir in $PATH
10670 do
10671 IFS=$as_save_IFS
10672 test -z "$as_dir" && as_dir=.
10673 for ac_exec_ext in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_ac_ct_CC="$ac_prog"
10676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10677 break 2
10678 fi
10679 done
10680 done
10681
10682 fi
10683 fi
10684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10685 if test -n "$ac_ct_CC"; then
10686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10687 echo "${ECHO_T}$ac_ct_CC" >&6
10688 else
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10691 fi
10692
10693 test -n "$ac_ct_CC" && break
10694 done
10695
10696 CC=$ac_ct_CC
10697 fi
10698
10699 fi
10700
10701
10702 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10703 See \`config.log' for more details." >&5
10704 echo "$as_me: error: no acceptable C compiler found in \$PATH
10705 See \`config.log' for more details." >&2;}
10706 { (exit 1); exit 1; }; }
10707
10708 # Provide some information about the compiler.
10709 echo "$as_me:$LINENO:" \
10710 "checking for C compiler version" >&5
10711 ac_compiler=`set X $ac_compile; echo $2`
10712 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10713 (eval $ac_compiler --version </dev/null >&5) 2>&5
10714 ac_status=$?
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }
10717 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10718 (eval $ac_compiler -v </dev/null >&5) 2>&5
10719 ac_status=$?
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }
10722 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10723 (eval $ac_compiler -V </dev/null >&5) 2>&5
10724 ac_status=$?
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }
10727
10728 cat >conftest.$ac_ext <<_ACEOF
10729 /* confdefs.h. */
10730 _ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10734
10735 int
10736 main ()
10737 {
10738
10739 ;
10740 return 0;
10741 }
10742 _ACEOF
10743 ac_clean_files_save=$ac_clean_files
10744 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10745 # Try to create an executable without -o first, disregard a.out.
10746 # It will help us diagnose broken compilers, and finding out an intuition
10747 # of exeext.
10748 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10749 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10750 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10751 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10752 (eval $ac_link_default) 2>&5
10753 ac_status=$?
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); }; then
10756 # Find the output, starting from the most likely. This scheme is
10757 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10758 # resort.
10759
10760 # Be careful to initialize this variable, since it used to be cached.
10761 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10762 ac_cv_exeext=
10763 # b.out is created by i960 compilers.
10764 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10765 do
10766 test -f "$ac_file" || continue
10767 case $ac_file in
10768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10769 ;;
10770 conftest.$ac_ext )
10771 # This is the source file.
10772 ;;
10773 [ab].out )
10774 # We found the default executable, but exeext='' is most
10775 # certainly right.
10776 break;;
10777 *.* )
10778 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10779 # FIXME: I believe we export ac_cv_exeext for Libtool,
10780 # but it would be cool to find out if it's true. Does anybody
10781 # maintain Libtool? --akim.
10782 export ac_cv_exeext
10783 break;;
10784 * )
10785 break;;
10786 esac
10787 done
10788 else
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10791
10792 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: C compiler cannot create executables
10795 See \`config.log' for more details." >&2;}
10796 { (exit 77); exit 77; }; }
10797 fi
10798
10799 ac_exeext=$ac_cv_exeext
10800 echo "$as_me:$LINENO: result: $ac_file" >&5
10801 echo "${ECHO_T}$ac_file" >&6
10802
10803 # Check the compiler produces executables we can run. If not, either
10804 # the compiler is broken, or we cross compile.
10805 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10806 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10807 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10808 # If not cross compiling, check that we can run a simple program.
10809 if test "$cross_compiling" != yes; then
10810 if { ac_try='./$ac_file'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10813 ac_status=$?
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10816 cross_compiling=no
10817 else
10818 if test "$cross_compiling" = maybe; then
10819 cross_compiling=yes
10820 else
10821 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10822 If you meant to cross compile, use \`--host'.
10823 See \`config.log' for more details." >&5
10824 echo "$as_me: error: cannot run C compiled programs.
10825 If you meant to cross compile, use \`--host'.
10826 See \`config.log' for more details." >&2;}
10827 { (exit 1); exit 1; }; }
10828 fi
10829 fi
10830 fi
10831 echo "$as_me:$LINENO: result: yes" >&5
10832 echo "${ECHO_T}yes" >&6
10833
10834 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10835 ac_clean_files=$ac_clean_files_save
10836 # Check the compiler produces executables we can run. If not, either
10837 # the compiler is broken, or we cross compile.
10838 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10839 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10840 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10841 echo "${ECHO_T}$cross_compiling" >&6
10842
10843 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10844 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846 (eval $ac_link) 2>&5
10847 ac_status=$?
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; then
10850 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10851 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10852 # work properly (i.e., refer to `conftest.exe'), while it won't with
10853 # `rm'.
10854 for ac_file in conftest.exe conftest conftest.*; do
10855 test -f "$ac_file" || continue
10856 case $ac_file in
10857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10858 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10859 export ac_cv_exeext
10860 break;;
10861 * ) break;;
10862 esac
10863 done
10864 else
10865 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10866 See \`config.log' for more details." >&5
10867 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10868 See \`config.log' for more details." >&2;}
10869 { (exit 1); exit 1; }; }
10870 fi
10871
10872 rm -f conftest$ac_cv_exeext
10873 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10874 echo "${ECHO_T}$ac_cv_exeext" >&6
10875
10876 rm -f conftest.$ac_ext
10877 EXEEXT=$ac_cv_exeext
10878 ac_exeext=$EXEEXT
10879 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10880 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10881 if test "${ac_cv_objext+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 else
10884 cat >conftest.$ac_ext <<_ACEOF
10885 /* confdefs.h. */
10886 _ACEOF
10887 cat confdefs.h >>conftest.$ac_ext
10888 cat >>conftest.$ac_ext <<_ACEOF
10889 /* end confdefs.h. */
10890
10891 int
10892 main ()
10893 {
10894
10895 ;
10896 return 0;
10897 }
10898 _ACEOF
10899 rm -f conftest.o conftest.obj
10900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901 (eval $ac_compile) 2>&5
10902 ac_status=$?
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; then
10905 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10906 case $ac_file in
10907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10908 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10909 break;;
10910 esac
10911 done
10912 else
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10915
10916 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10917 See \`config.log' for more details." >&5
10918 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10919 See \`config.log' for more details." >&2;}
10920 { (exit 1); exit 1; }; }
10921 fi
10922
10923 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10924 fi
10925 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10926 echo "${ECHO_T}$ac_cv_objext" >&6
10927 OBJEXT=$ac_cv_objext
10928 ac_objext=$OBJEXT
10929 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10930 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10931 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 else
10934 cat >conftest.$ac_ext <<_ACEOF
10935 /* confdefs.h. */
10936 _ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10940
10941 int
10942 main ()
10943 {
10944 #ifndef __GNUC__
10945 choke me
10946 #endif
10947
10948 ;
10949 return 0;
10950 }
10951 _ACEOF
10952 rm -f conftest.$ac_objext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10954 (eval $ac_compile) 2>conftest.er1
10955 ac_status=$?
10956 grep -v '^ *+' conftest.er1 >conftest.err
10957 rm -f conftest.er1
10958 cat conftest.err >&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } &&
10961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963 (eval $ac_try) 2>&5
10964 ac_status=$?
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; } &&
10967 { ac_try='test -s conftest.$ac_objext'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10970 ac_status=$?
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; }; then
10973 ac_compiler_gnu=yes
10974 else
10975 echo "$as_me: failed program was:" >&5
10976 sed 's/^/| /' conftest.$ac_ext >&5
10977
10978 ac_compiler_gnu=no
10979 fi
10980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10982
10983 fi
10984 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10985 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10986 GCC=`test $ac_compiler_gnu = yes && echo yes`
10987 ac_test_CFLAGS=${CFLAGS+set}
10988 ac_save_CFLAGS=$CFLAGS
10989 CFLAGS="-g"
10990 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10991 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10992 if test "${ac_cv_prog_cc_g+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 else
10995 cat >conftest.$ac_ext <<_ACEOF
10996 /* confdefs.h. */
10997 _ACEOF
10998 cat confdefs.h >>conftest.$ac_ext
10999 cat >>conftest.$ac_ext <<_ACEOF
11000 /* end confdefs.h. */
11001
11002 int
11003 main ()
11004 {
11005
11006 ;
11007 return 0;
11008 }
11009 _ACEOF
11010 rm -f conftest.$ac_objext
11011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11012 (eval $ac_compile) 2>conftest.er1
11013 ac_status=$?
11014 grep -v '^ *+' conftest.er1 >conftest.err
11015 rm -f conftest.er1
11016 cat conftest.err >&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } &&
11019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; } &&
11025 { ac_try='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11028 ac_status=$?
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11031 ac_cv_prog_cc_g=yes
11032 else
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.$ac_ext >&5
11035
11036 ac_cv_prog_cc_g=no
11037 fi
11038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11039 fi
11040 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11041 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11042 if test "$ac_test_CFLAGS" = set; then
11043 CFLAGS=$ac_save_CFLAGS
11044 elif test $ac_cv_prog_cc_g = yes; then
11045 if test "$GCC" = yes; then
11046 CFLAGS="-g -O2"
11047 else
11048 CFLAGS="-g"
11049 fi
11050 else
11051 if test "$GCC" = yes; then
11052 CFLAGS="-O2"
11053 else
11054 CFLAGS=
11055 fi
11056 fi
11057 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11058 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11059 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11061 else
11062 ac_cv_prog_cc_stdc=no
11063 ac_save_CC=$CC
11064 cat >conftest.$ac_ext <<_ACEOF
11065 /* confdefs.h. */
11066 _ACEOF
11067 cat confdefs.h >>conftest.$ac_ext
11068 cat >>conftest.$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11070 #include <stdarg.h>
11071 #include <stdio.h>
11072 #include <sys/types.h>
11073 #include <sys/stat.h>
11074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11075 struct buf { int x; };
11076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11077 static char *e (p, i)
11078 char **p;
11079 int i;
11080 {
11081 return p[i];
11082 }
11083 static char *f (char * (*g) (char **, int), char **p, ...)
11084 {
11085 char *s;
11086 va_list v;
11087 va_start (v,p);
11088 s = g (p, va_arg (v,int));
11089 va_end (v);
11090 return s;
11091 }
11092
11093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11094 function prototypes and stuff, but not '\xHH' hex character constants.
11095 These don't provoke an error unfortunately, instead are silently treated
11096 as 'x'. The following induces an error, until -std1 is added to get
11097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11098 array size at least. It's necessary to write '\x00'==0 to get something
11099 that's true only with -std1. */
11100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11101
11102 int test (int i, double x);
11103 struct s1 {int (*f) (int a);};
11104 struct s2 {int (*f) (double a);};
11105 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11106 int argc;
11107 char **argv;
11108 int
11109 main ()
11110 {
11111 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11112 ;
11113 return 0;
11114 }
11115 _ACEOF
11116 # Don't try gcc -ansi; that turns off useful extensions and
11117 # breaks some systems' header files.
11118 # AIX -qlanglvl=ansi
11119 # Ultrix and OSF/1 -std1
11120 # HP-UX 10.20 and later -Ae
11121 # HP-UX older versions -Aa -D_HPUX_SOURCE
11122 # SVR4 -Xc -D__EXTENSIONS__
11123 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11124 do
11125 CC="$ac_save_CC $ac_arg"
11126 rm -f conftest.$ac_objext
11127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>conftest.er1
11129 ac_status=$?
11130 grep -v '^ *+' conftest.er1 >conftest.err
11131 rm -f conftest.er1
11132 cat conftest.err >&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } &&
11135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5
11138 ac_status=$?
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } &&
11141 { ac_try='test -s conftest.$ac_objext'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11144 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then
11147 ac_cv_prog_cc_stdc=$ac_arg
11148 break
11149 else
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.$ac_ext >&5
11152
11153 fi
11154 rm -f conftest.err conftest.$ac_objext
11155 done
11156 rm -f conftest.$ac_ext conftest.$ac_objext
11157 CC=$ac_save_CC
11158
11159 fi
11160
11161 case "x$ac_cv_prog_cc_stdc" in
11162 x|xno)
11163 echo "$as_me:$LINENO: result: none needed" >&5
11164 echo "${ECHO_T}none needed" >&6 ;;
11165 *)
11166 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11167 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11168 CC="$CC $ac_cv_prog_cc_stdc" ;;
11169 esac
11170
11171 # Some people use a C++ compiler to compile C. Since we use `exit',
11172 # in C++ we need to declare it. In case someone uses the same compiler
11173 # for both compiling C and C++ we need to have the C++ compiler decide
11174 # the declaration of exit, since it's the most demanding environment.
11175 cat >conftest.$ac_ext <<_ACEOF
11176 #ifndef __cplusplus
11177 choke me
11178 #endif
11179 _ACEOF
11180 rm -f conftest.$ac_objext
11181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11182 (eval $ac_compile) 2>conftest.er1
11183 ac_status=$?
11184 grep -v '^ *+' conftest.er1 >conftest.err
11185 rm -f conftest.er1
11186 cat conftest.err >&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11192 ac_status=$?
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; } &&
11195 { ac_try='test -s conftest.$ac_objext'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11198 ac_status=$?
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then
11201 for ac_declaration in \
11202 '' \
11203 'extern "C" void std::exit (int) throw (); using std::exit;' \
11204 'extern "C" void std::exit (int); using std::exit;' \
11205 'extern "C" void exit (int) throw ();' \
11206 'extern "C" void exit (int);' \
11207 'void exit (int);'
11208 do
11209 cat >conftest.$ac_ext <<_ACEOF
11210 /* confdefs.h. */
11211 _ACEOF
11212 cat confdefs.h >>conftest.$ac_ext
11213 cat >>conftest.$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 $ac_declaration
11216 #include <stdlib.h>
11217 int
11218 main ()
11219 {
11220 exit (42);
11221 ;
11222 return 0;
11223 }
11224 _ACEOF
11225 rm -f conftest.$ac_objext
11226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11227 (eval $ac_compile) 2>conftest.er1
11228 ac_status=$?
11229 grep -v '^ *+' conftest.er1 >conftest.err
11230 rm -f conftest.er1
11231 cat conftest.err >&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); } &&
11234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11237 ac_status=$?
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; } &&
11240 { ac_try='test -s conftest.$ac_objext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11243 ac_status=$?
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11246 :
11247 else
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.$ac_ext >&5
11250
11251 continue
11252 fi
11253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11254 cat >conftest.$ac_ext <<_ACEOF
11255 /* confdefs.h. */
11256 _ACEOF
11257 cat confdefs.h >>conftest.$ac_ext
11258 cat >>conftest.$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11260 $ac_declaration
11261 int
11262 main ()
11263 {
11264 exit (42);
11265 ;
11266 return 0;
11267 }
11268 _ACEOF
11269 rm -f conftest.$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11272 ac_status=$?
11273 grep -v '^ *+' conftest.er1 >conftest.err
11274 rm -f conftest.er1
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11287 ac_status=$?
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 break
11291 else
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11294
11295 fi
11296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11297 done
11298 rm -f conftest*
11299 if test -n "$ac_declaration"; then
11300 echo '#ifdef __cplusplus' >>confdefs.h
11301 echo $ac_declaration >>confdefs.h
11302 echo '#endif' >>confdefs.h
11303 fi
11304
11305 else
11306 echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.$ac_ext >&5
11308
11309 fi
11310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11311 ac_ext=c
11312 ac_cpp='$CPP $CPPFLAGS'
11313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11316
11317
11318
11319 ac_ext=c
11320 ac_cpp='$CPP $CPPFLAGS'
11321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11324 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11325 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11326 # On Suns, sometimes $CPP names a directory.
11327 if test -n "$CPP" && test -d "$CPP"; then
11328 CPP=
11329 fi
11330 if test -z "$CPP"; then
11331 if test "${ac_cv_prog_CPP+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 else
11334 # Double quotes because CPP needs to be expanded
11335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11336 do
11337 ac_preproc_ok=false
11338 for ac_c_preproc_warn_flag in '' yes
11339 do
11340 # Use a header file that comes with gcc, so configuring glibc
11341 # with a fresh cross-compiler works.
11342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11343 # <limits.h> exists even on freestanding compilers.
11344 # On the NeXT, cc -E runs the code through the compiler's parser,
11345 # not just through cpp. "Syntax error" is here to catch this case.
11346 cat >conftest.$ac_ext <<_ACEOF
11347 /* confdefs.h. */
11348 _ACEOF
11349 cat confdefs.h >>conftest.$ac_ext
11350 cat >>conftest.$ac_ext <<_ACEOF
11351 /* end confdefs.h. */
11352 #ifdef __STDC__
11353 # include <limits.h>
11354 #else
11355 # include <assert.h>
11356 #endif
11357 Syntax error
11358 _ACEOF
11359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11361 ac_status=$?
11362 grep -v '^ *+' conftest.er1 >conftest.err
11363 rm -f conftest.er1
11364 cat conftest.err >&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } >/dev/null; then
11367 if test -s conftest.err; then
11368 ac_cpp_err=$ac_c_preproc_warn_flag
11369 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11370 else
11371 ac_cpp_err=
11372 fi
11373 else
11374 ac_cpp_err=yes
11375 fi
11376 if test -z "$ac_cpp_err"; then
11377 :
11378 else
11379 echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.$ac_ext >&5
11381
11382 # Broken: fails on valid input.
11383 continue
11384 fi
11385 rm -f conftest.err conftest.$ac_ext
11386
11387 # OK, works on sane cases. Now check whether non-existent headers
11388 # can be detected and how.
11389 cat >conftest.$ac_ext <<_ACEOF
11390 /* confdefs.h. */
11391 _ACEOF
11392 cat confdefs.h >>conftest.$ac_ext
11393 cat >>conftest.$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 #include <ac_nonexistent.h>
11396 _ACEOF
11397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11399 ac_status=$?
11400 grep -v '^ *+' conftest.er1 >conftest.err
11401 rm -f conftest.er1
11402 cat conftest.err >&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } >/dev/null; then
11405 if test -s conftest.err; then
11406 ac_cpp_err=$ac_c_preproc_warn_flag
11407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11408 else
11409 ac_cpp_err=
11410 fi
11411 else
11412 ac_cpp_err=yes
11413 fi
11414 if test -z "$ac_cpp_err"; then
11415 # Broken: success on invalid input.
11416 continue
11417 else
11418 echo "$as_me: failed program was:" >&5
11419 sed 's/^/| /' conftest.$ac_ext >&5
11420
11421 # Passes both tests.
11422 ac_preproc_ok=:
11423 break
11424 fi
11425 rm -f conftest.err conftest.$ac_ext
11426
11427 done
11428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11429 rm -f conftest.err conftest.$ac_ext
11430 if $ac_preproc_ok; then
11431 break
11432 fi
11433
11434 done
11435 ac_cv_prog_CPP=$CPP
11436
11437 fi
11438 CPP=$ac_cv_prog_CPP
11439 else
11440 ac_cv_prog_CPP=$CPP
11441 fi
11442 echo "$as_me:$LINENO: result: $CPP" >&5
11443 echo "${ECHO_T}$CPP" >&6
11444 ac_preproc_ok=false
11445 for ac_c_preproc_warn_flag in '' yes
11446 do
11447 # Use a header file that comes with gcc, so configuring glibc
11448 # with a fresh cross-compiler works.
11449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11450 # <limits.h> exists even on freestanding compilers.
11451 # On the NeXT, cc -E runs the code through the compiler's parser,
11452 # not just through cpp. "Syntax error" is here to catch this case.
11453 cat >conftest.$ac_ext <<_ACEOF
11454 /* confdefs.h. */
11455 _ACEOF
11456 cat confdefs.h >>conftest.$ac_ext
11457 cat >>conftest.$ac_ext <<_ACEOF
11458 /* end confdefs.h. */
11459 #ifdef __STDC__
11460 # include <limits.h>
11461 #else
11462 # include <assert.h>
11463 #endif
11464 Syntax error
11465 _ACEOF
11466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11468 ac_status=$?
11469 grep -v '^ *+' conftest.er1 >conftest.err
11470 rm -f conftest.er1
11471 cat conftest.err >&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); } >/dev/null; then
11474 if test -s conftest.err; then
11475 ac_cpp_err=$ac_c_preproc_warn_flag
11476 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11477 else
11478 ac_cpp_err=
11479 fi
11480 else
11481 ac_cpp_err=yes
11482 fi
11483 if test -z "$ac_cpp_err"; then
11484 :
11485 else
11486 echo "$as_me: failed program was:" >&5
11487 sed 's/^/| /' conftest.$ac_ext >&5
11488
11489 # Broken: fails on valid input.
11490 continue
11491 fi
11492 rm -f conftest.err conftest.$ac_ext
11493
11494 # OK, works on sane cases. Now check whether non-existent headers
11495 # can be detected and how.
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h. */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11502 #include <ac_nonexistent.h>
11503 _ACEOF
11504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11506 ac_status=$?
11507 grep -v '^ *+' conftest.er1 >conftest.err
11508 rm -f conftest.er1
11509 cat conftest.err >&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } >/dev/null; then
11512 if test -s conftest.err; then
11513 ac_cpp_err=$ac_c_preproc_warn_flag
11514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11515 else
11516 ac_cpp_err=
11517 fi
11518 else
11519 ac_cpp_err=yes
11520 fi
11521 if test -z "$ac_cpp_err"; then
11522 # Broken: success on invalid input.
11523 continue
11524 else
11525 echo "$as_me: failed program was:" >&5
11526 sed 's/^/| /' conftest.$ac_ext >&5
11527
11528 # Passes both tests.
11529 ac_preproc_ok=:
11530 break
11531 fi
11532 rm -f conftest.err conftest.$ac_ext
11533
11534 done
11535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11536 rm -f conftest.err conftest.$ac_ext
11537 if $ac_preproc_ok; then
11538 :
11539 else
11540 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11541 See \`config.log' for more details." >&5
11542 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11543 See \`config.log' for more details." >&2;}
11544 { (exit 1); exit 1; }; }
11545 fi
11546
11547 ac_ext=c
11548 ac_cpp='$CPP $CPPFLAGS'
11549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11552
11553
11554 echo "$as_me:$LINENO: checking for egrep" >&5
11555 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11556 if test "${ac_cv_prog_egrep+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 else
11559 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11560 then ac_cv_prog_egrep='grep -E'
11561 else ac_cv_prog_egrep='egrep'
11562 fi
11563 fi
11564 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11565 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11566 EGREP=$ac_cv_prog_egrep
11567
11568
11569 if test $ac_cv_c_compiler_gnu = yes; then
11570 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11571 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11572 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 else
11575 ac_pattern="Autoconf.*'x'"
11576 cat >conftest.$ac_ext <<_ACEOF
11577 /* confdefs.h. */
11578 _ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11582 #include <sgtty.h>
11583 Autoconf TIOCGETP
11584 _ACEOF
11585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11586 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11587 ac_cv_prog_gcc_traditional=yes
11588 else
11589 ac_cv_prog_gcc_traditional=no
11590 fi
11591 rm -f conftest*
11592
11593
11594 if test $ac_cv_prog_gcc_traditional = no; then
11595 cat >conftest.$ac_ext <<_ACEOF
11596 /* confdefs.h. */
11597 _ACEOF
11598 cat confdefs.h >>conftest.$ac_ext
11599 cat >>conftest.$ac_ext <<_ACEOF
11600 /* end confdefs.h. */
11601 #include <termio.h>
11602 Autoconf TCGETA
11603 _ACEOF
11604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11605 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11606 ac_cv_prog_gcc_traditional=yes
11607 fi
11608 rm -f conftest*
11609
11610 fi
11611 fi
11612 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11613 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11614 if test $ac_cv_prog_gcc_traditional = yes; then
11615 CC="$CC -traditional"
11616 fi
11617 fi
11618
11619
11620
11621
11622 ac_ext=cc
11623 ac_cpp='$CXXCPP $CPPFLAGS'
11624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11627
11628
11629 CXXFLAGS=${CXXFLAGS:=}
11630 ac_ext=cc
11631 ac_cpp='$CXXCPP $CPPFLAGS'
11632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11635 if test -n "$ac_tool_prefix"; then
11636 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11637 do
11638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11640 echo "$as_me:$LINENO: checking for $ac_word" >&5
11641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11642 if test "${ac_cv_prog_CXX+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 else
11645 if test -n "$CXX"; then
11646 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11647 else
11648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11649 for as_dir in $PATH
11650 do
11651 IFS=$as_save_IFS
11652 test -z "$as_dir" && as_dir=.
11653 for ac_exec_ext in '' $ac_executable_extensions; do
11654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11655 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11657 break 2
11658 fi
11659 done
11660 done
11661
11662 fi
11663 fi
11664 CXX=$ac_cv_prog_CXX
11665 if test -n "$CXX"; then
11666 echo "$as_me:$LINENO: result: $CXX" >&5
11667 echo "${ECHO_T}$CXX" >&6
11668 else
11669 echo "$as_me:$LINENO: result: no" >&5
11670 echo "${ECHO_T}no" >&6
11671 fi
11672
11673 test -n "$CXX" && break
11674 done
11675 fi
11676 if test -z "$CXX"; then
11677 ac_ct_CXX=$CXX
11678 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11679 do
11680 # Extract the first word of "$ac_prog", so it can be a program name with args.
11681 set dummy $ac_prog; ac_word=$2
11682 echo "$as_me:$LINENO: checking for $ac_word" >&5
11683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11684 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 else
11687 if test -n "$ac_ct_CXX"; then
11688 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11689 else
11690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11691 for as_dir in $PATH
11692 do
11693 IFS=$as_save_IFS
11694 test -z "$as_dir" && as_dir=.
11695 for ac_exec_ext in '' $ac_executable_extensions; do
11696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11697 ac_cv_prog_ac_ct_CXX="$ac_prog"
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 break 2
11700 fi
11701 done
11702 done
11703
11704 fi
11705 fi
11706 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11707 if test -n "$ac_ct_CXX"; then
11708 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11709 echo "${ECHO_T}$ac_ct_CXX" >&6
11710 else
11711 echo "$as_me:$LINENO: result: no" >&5
11712 echo "${ECHO_T}no" >&6
11713 fi
11714
11715 test -n "$ac_ct_CXX" && break
11716 done
11717 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11718
11719 CXX=$ac_ct_CXX
11720 fi
11721
11722
11723 # Provide some information about the compiler.
11724 echo "$as_me:$LINENO:" \
11725 "checking for C++ compiler version" >&5
11726 ac_compiler=`set X $ac_compile; echo $2`
11727 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11728 (eval $ac_compiler --version </dev/null >&5) 2>&5
11729 ac_status=$?
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }
11732 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11733 (eval $ac_compiler -v </dev/null >&5) 2>&5
11734 ac_status=$?
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); }
11737 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11738 (eval $ac_compiler -V </dev/null >&5) 2>&5
11739 ac_status=$?
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }
11742
11743 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11744 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11745 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11747 else
11748 cat >conftest.$ac_ext <<_ACEOF
11749 /* confdefs.h. */
11750 _ACEOF
11751 cat confdefs.h >>conftest.$ac_ext
11752 cat >>conftest.$ac_ext <<_ACEOF
11753 /* end confdefs.h. */
11754
11755 int
11756 main ()
11757 {
11758 #ifndef __GNUC__
11759 choke me
11760 #endif
11761
11762 ;
11763 return 0;
11764 }
11765 _ACEOF
11766 rm -f conftest.$ac_objext
11767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11768 (eval $ac_compile) 2>conftest.er1
11769 ac_status=$?
11770 grep -v '^ *+' conftest.er1 >conftest.err
11771 rm -f conftest.er1
11772 cat conftest.err >&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); } &&
11775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11778 ac_status=$?
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; } &&
11781 { ac_try='test -s conftest.$ac_objext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11784 ac_status=$?
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_compiler_gnu=yes
11788 else
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11791
11792 ac_compiler_gnu=no
11793 fi
11794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11795 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11796
11797 fi
11798 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11799 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11800 GXX=`test $ac_compiler_gnu = yes && echo yes`
11801 ac_test_CXXFLAGS=${CXXFLAGS+set}
11802 ac_save_CXXFLAGS=$CXXFLAGS
11803 CXXFLAGS="-g"
11804 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11805 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11806 if test "${ac_cv_prog_cxx_g+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else
11809 cat >conftest.$ac_ext <<_ACEOF
11810 /* confdefs.h. */
11811 _ACEOF
11812 cat confdefs.h >>conftest.$ac_ext
11813 cat >>conftest.$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11815
11816 int
11817 main ()
11818 {
11819
11820 ;
11821 return 0;
11822 }
11823 _ACEOF
11824 rm -f conftest.$ac_objext
11825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11826 (eval $ac_compile) 2>conftest.er1
11827 ac_status=$?
11828 grep -v '^ *+' conftest.er1 >conftest.err
11829 rm -f conftest.er1
11830 cat conftest.err >&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11836 ac_status=$?
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try='test -s conftest.$ac_objext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11842 ac_status=$?
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 ac_cv_prog_cxx_g=yes
11846 else
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.$ac_ext >&5
11849
11850 ac_cv_prog_cxx_g=no
11851 fi
11852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11853 fi
11854 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11855 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11856 if test "$ac_test_CXXFLAGS" = set; then
11857 CXXFLAGS=$ac_save_CXXFLAGS
11858 elif test $ac_cv_prog_cxx_g = yes; then
11859 if test "$GXX" = yes; then
11860 CXXFLAGS="-g -O2"
11861 else
11862 CXXFLAGS="-g"
11863 fi
11864 else
11865 if test "$GXX" = yes; then
11866 CXXFLAGS="-O2"
11867 else
11868 CXXFLAGS=
11869 fi
11870 fi
11871 for ac_declaration in \
11872 '' \
11873 'extern "C" void std::exit (int) throw (); using std::exit;' \
11874 'extern "C" void std::exit (int); using std::exit;' \
11875 'extern "C" void exit (int) throw ();' \
11876 'extern "C" void exit (int);' \
11877 'void exit (int);'
11878 do
11879 cat >conftest.$ac_ext <<_ACEOF
11880 /* confdefs.h. */
11881 _ACEOF
11882 cat confdefs.h >>conftest.$ac_ext
11883 cat >>conftest.$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11885 $ac_declaration
11886 #include <stdlib.h>
11887 int
11888 main ()
11889 {
11890 exit (42);
11891 ;
11892 return 0;
11893 }
11894 _ACEOF
11895 rm -f conftest.$ac_objext
11896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11897 (eval $ac_compile) 2>conftest.er1
11898 ac_status=$?
11899 grep -v '^ *+' conftest.er1 >conftest.err
11900 rm -f conftest.er1
11901 cat conftest.err >&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } &&
11904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11907 ac_status=$?
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; } &&
11910 { ac_try='test -s conftest.$ac_objext'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11913 ac_status=$?
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; }; then
11916 :
11917 else
11918 echo "$as_me: failed program was:" >&5
11919 sed 's/^/| /' conftest.$ac_ext >&5
11920
11921 continue
11922 fi
11923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11924 cat >conftest.$ac_ext <<_ACEOF
11925 /* confdefs.h. */
11926 _ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11930 $ac_declaration
11931 int
11932 main ()
11933 {
11934 exit (42);
11935 ;
11936 return 0;
11937 }
11938 _ACEOF
11939 rm -f conftest.$ac_objext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11941 (eval $ac_compile) 2>conftest.er1
11942 ac_status=$?
11943 grep -v '^ *+' conftest.er1 >conftest.err
11944 rm -f conftest.er1
11945 cat conftest.err >&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11951 ac_status=$?
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; } &&
11954 { ac_try='test -s conftest.$ac_objext'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5
11957 ac_status=$?
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; }; then
11960 break
11961 else
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.$ac_ext >&5
11964
11965 fi
11966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11967 done
11968 rm -f conftest*
11969 if test -n "$ac_declaration"; then
11970 echo '#ifdef __cplusplus' >>confdefs.h
11971 echo $ac_declaration >>confdefs.h
11972 echo '#endif' >>confdefs.h
11973 fi
11974
11975 ac_ext=cc
11976 ac_cpp='$CXXCPP $CPPFLAGS'
11977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11980
11981
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11987
11988
11989 if test -n "$ac_tool_prefix"; then
11990 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11991 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11992 echo "$as_me:$LINENO: checking for $ac_word" >&5
11993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11994 if test "${ac_cv_prog_RANLIB+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 else
11997 if test -n "$RANLIB"; then
11998 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11999 else
12000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12001 for as_dir in $PATH
12002 do
12003 IFS=$as_save_IFS
12004 test -z "$as_dir" && as_dir=.
12005 for ac_exec_ext in '' $ac_executable_extensions; do
12006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12007 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 break 2
12010 fi
12011 done
12012 done
12013
12014 fi
12015 fi
12016 RANLIB=$ac_cv_prog_RANLIB
12017 if test -n "$RANLIB"; then
12018 echo "$as_me:$LINENO: result: $RANLIB" >&5
12019 echo "${ECHO_T}$RANLIB" >&6
12020 else
12021 echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6
12023 fi
12024
12025 fi
12026 if test -z "$ac_cv_prog_RANLIB"; then
12027 ac_ct_RANLIB=$RANLIB
12028 # Extract the first word of "ranlib", so it can be a program name with args.
12029 set dummy ranlib; ac_word=$2
12030 echo "$as_me:$LINENO: checking for $ac_word" >&5
12031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12032 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12034 else
12035 if test -n "$ac_ct_RANLIB"; then
12036 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12037 else
12038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12039 for as_dir in $PATH
12040 do
12041 IFS=$as_save_IFS
12042 test -z "$as_dir" && as_dir=.
12043 for ac_exec_ext in '' $ac_executable_extensions; do
12044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12045 ac_cv_prog_ac_ct_RANLIB="ranlib"
12046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12047 break 2
12048 fi
12049 done
12050 done
12051
12052 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12053 fi
12054 fi
12055 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12056 if test -n "$ac_ct_RANLIB"; then
12057 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12058 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12059 else
12060 echo "$as_me:$LINENO: result: no" >&5
12061 echo "${ECHO_T}no" >&6
12062 fi
12063
12064 RANLIB=$ac_ct_RANLIB
12065 else
12066 RANLIB="$ac_cv_prog_RANLIB"
12067 fi
12068
12069
12070 # Extract the first word of "ar", so it can be a program name with args.
12071 set dummy ar; ac_word=$2
12072 echo "$as_me:$LINENO: checking for $ac_word" >&5
12073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12074 if test "${ac_cv_prog_AR+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077 if test -n "$AR"; then
12078 ac_cv_prog_AR="$AR" # Let the user override the test.
12079 else
12080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12081 for as_dir in $PATH
12082 do
12083 IFS=$as_save_IFS
12084 test -z "$as_dir" && as_dir=.
12085 for ac_exec_ext in '' $ac_executable_extensions; do
12086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12087 ac_cv_prog_AR="ar"
12088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12089 break 2
12090 fi
12091 done
12092 done
12093
12094 fi
12095 fi
12096 AR=$ac_cv_prog_AR
12097 if test -n "$AR"; then
12098 echo "$as_me:$LINENO: result: $AR" >&5
12099 echo "${ECHO_T}$AR" >&6
12100 else
12101 echo "$as_me:$LINENO: result: no" >&5
12102 echo "${ECHO_T}no" >&6
12103 fi
12104
12105 if test "x$AR" = "x" ; then
12106 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12107 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12108 { (exit 1); exit 1; }; }
12109 fi
12110
12111 # Find a good install program. We prefer a C program (faster),
12112 # so one script is as good as another. But avoid the broken or
12113 # incompatible versions:
12114 # SysV /etc/install, /usr/sbin/install
12115 # SunOS /usr/etc/install
12116 # IRIX /sbin/install
12117 # AIX /bin/install
12118 # AmigaOS /C/install, which installs bootblocks on floppy discs
12119 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12120 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12121 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12122 # OS/2's system install, which has a completely different semantic
12123 # ./install, which can be erroneously created by make from ./install.sh.
12124 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12125 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12126 if test -z "$INSTALL"; then
12127 if test "${ac_cv_path_install+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 else
12130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12131 for as_dir in $PATH
12132 do
12133 IFS=$as_save_IFS
12134 test -z "$as_dir" && as_dir=.
12135 # Account for people who put trailing slashes in PATH elements.
12136 case $as_dir/ in
12137 ./ | .// | /cC/* | \
12138 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12139 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12140 /usr/ucb/* ) ;;
12141 *)
12142 # OSF1 and SCO ODT 3.0 have their own names for install.
12143 # Don't use installbsd from OSF since it installs stuff as root
12144 # by default.
12145 for ac_prog in ginstall scoinst install; do
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12148 if test $ac_prog = install &&
12149 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12150 # AIX install. It has an incompatible calling convention.
12151 :
12152 elif test $ac_prog = install &&
12153 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12154 # program-specific install script used by HP pwplus--don't use.
12155 :
12156 else
12157 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12158 break 3
12159 fi
12160 fi
12161 done
12162 done
12163 ;;
12164 esac
12165 done
12166
12167
12168 fi
12169 if test "${ac_cv_path_install+set}" = set; then
12170 INSTALL=$ac_cv_path_install
12171 else
12172 # As a last resort, use the slow shell script. We don't cache a
12173 # path for INSTALL within a source directory, because that will
12174 # break other packages using the cache if that directory is
12175 # removed, or if the path is relative.
12176 INSTALL=$ac_install_sh
12177 fi
12178 fi
12179 echo "$as_me:$LINENO: result: $INSTALL" >&5
12180 echo "${ECHO_T}$INSTALL" >&6
12181
12182 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12183 # It thinks the first close brace ends the variable substitution.
12184 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12185
12186 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12187
12188 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12189
12190
12191 case ${INSTALL} in
12192 /* ) # Absolute
12193 ;;
12194 ?:* ) # Drive letter, considered as absolute.
12195 ;;
12196 *)
12197 INSTALL=`pwd`/${INSTALL} ;;
12198 esac
12199
12200
12201 case "${host}" in
12202
12203 powerpc-*-darwin* )
12204 INSTALL_PROGRAM="cp -fp"
12205 INSTALL_DATA="cp -fp"
12206 ;;
12207 *)
12208 ;;
12209 esac
12210
12211 # Extract the first word of "strip", so it can be a program name with args.
12212 set dummy strip; ac_word=$2
12213 echo "$as_me:$LINENO: checking for $ac_word" >&5
12214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12215 if test "${ac_cv_prog_STRIP+set}" = set; then
12216 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 else
12218 if test -n "$STRIP"; then
12219 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12220 else
12221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12222 for as_dir in $PATH
12223 do
12224 IFS=$as_save_IFS
12225 test -z "$as_dir" && as_dir=.
12226 for ac_exec_ext in '' $ac_executable_extensions; do
12227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12228 ac_cv_prog_STRIP="strip"
12229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 break 2
12231 fi
12232 done
12233 done
12234
12235 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12236 fi
12237 fi
12238 STRIP=$ac_cv_prog_STRIP
12239 if test -n "$STRIP"; then
12240 echo "$as_me:$LINENO: result: $STRIP" >&5
12241 echo "${ECHO_T}$STRIP" >&6
12242 else
12243 echo "$as_me:$LINENO: result: no" >&5
12244 echo "${ECHO_T}no" >&6
12245 fi
12246
12247
12248 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12249 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12250 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 else
12253
12254 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12255 egrep -s GNU > /dev/null); then
12256 wx_cv_prog_makeisgnu="yes"
12257 else
12258 wx_cv_prog_makeisgnu="no"
12259 fi
12260
12261 fi
12262 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12263 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12264
12265 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12266 IF_GNU_MAKE=""
12267 else
12268 IF_GNU_MAKE="#"
12269 fi
12270
12271
12272
12273 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12274 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12275 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12276 if test "${wx_cv_prog_makevpath+set}" = set; then
12277 echo $ECHO_N "(cached) $ECHO_C" >&6
12278 else
12279
12280 cat - << EOF > confMake
12281 check : file
12282 cp \$? \$@
12283 cp \$? final_file
12284 EOF
12285
12286 if test ! -d sub ; then
12287 mkdir sub
12288 fi
12289 echo dummy > sub/file
12290 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12291 RESULT=$?
12292 rm -f sub/file check final_file confMake
12293 rmdir sub
12294 if test "$RESULT" = 0; then
12295 wx_cv_prog_makevpath="yes"
12296 else
12297 wx_cv_prog_makevpath="no"
12298 fi
12299
12300 fi
12301 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12302 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12303
12304 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12305 { { echo "$as_me:$LINENO: error:
12306 You need a make-utility that is able to use the variable
12307 VPATH correctly.
12308 If your version of make does not support VPATH correctly,
12309 please install GNU-make (possibly as gmake), and start
12310 configure with the following command:
12311 export MAKE=gmake; ./configure for sh-type shells
12312 setenv MAKE gmake; ./configure for csh-type shells
12313 Also please do remember to use gmake in this case every time
12314 you are trying to compile.
12315 " >&5
12316 echo "$as_me: error:
12317 You need a make-utility that is able to use the variable
12318 VPATH correctly.
12319 If your version of make does not support VPATH correctly,
12320 please install GNU-make (possibly as gmake), and start
12321 configure with the following command:
12322 export MAKE=gmake; ./configure for sh-type shells
12323 setenv MAKE gmake; ./configure for csh-type shells
12324 Also please do remember to use gmake in this case every time
12325 you are trying to compile.
12326 " >&2;}
12327 { (exit 1); exit 1; }; }
12328 fi fi
12329 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12330 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12331 LN_S=$as_ln_s
12332 if test "$LN_S" = "ln -s"; then
12333 echo "$as_me:$LINENO: result: yes" >&5
12334 echo "${ECHO_T}yes" >&6
12335 else
12336 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12337 echo "${ECHO_T}no, using $LN_S" >&6
12338 fi
12339
12340
12341
12342 case "${host}" in
12343 *-pc-os2_emx | *-pc-os2-emx )
12344 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12345 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12346 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12347 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12349 else
12350 ac_check_lib_save_LIBS=$LIBS
12351 LIBS="-lcExt $LIBS"
12352 cat >conftest.$ac_ext <<_ACEOF
12353 /* confdefs.h. */
12354 _ACEOF
12355 cat confdefs.h >>conftest.$ac_ext
12356 cat >>conftest.$ac_ext <<_ACEOF
12357 /* end confdefs.h. */
12358
12359 /* Override any gcc2 internal prototype to avoid an error. */
12360 #ifdef __cplusplus
12361 extern "C"
12362 #endif
12363 /* We use char because int might match the return type of a gcc2
12364 builtin and then its argument prototype would still apply. */
12365 char drand48 ();
12366 int
12367 main ()
12368 {
12369 drand48 ();
12370 ;
12371 return 0;
12372 }
12373 _ACEOF
12374 rm -f conftest.$ac_objext conftest$ac_exeext
12375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12376 (eval $ac_link) 2>conftest.er1
12377 ac_status=$?
12378 grep -v '^ *+' conftest.er1 >conftest.err
12379 rm -f conftest.er1
12380 cat conftest.err >&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); } &&
12383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385 (eval $ac_try) 2>&5
12386 ac_status=$?
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; } &&
12389 { ac_try='test -s conftest$ac_exeext'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12392 ac_status=$?
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; }; then
12395 ac_cv_lib_cExt_drand48=yes
12396 else
12397 echo "$as_me: failed program was:" >&5
12398 sed 's/^/| /' conftest.$ac_ext >&5
12399
12400 ac_cv_lib_cExt_drand48=no
12401 fi
12402 rm -f conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 LIBS=$ac_check_lib_save_LIBS
12405 fi
12406 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12407 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12408 if test $ac_cv_lib_cExt_drand48 = yes; then
12409 LIBS="$LIBS -lcExt"
12410 fi
12411
12412 else
12413 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12414 fi
12415 echo "$as_me:$LINENO: checking for gcc version" >&5
12416 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12417 if test "${wx_cv_gccversion+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12419 else
12420
12421 cat >conftest.$ac_ext <<_ACEOF
12422 /* confdefs.h. */
12423 _ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427
12428 int
12429 main ()
12430 {
12431
12432 #if (__GNUC__ < 3)
12433 #error old gcc
12434 #endif
12435
12436 ;
12437 return 0;
12438 }
12439 _ACEOF
12440 rm -f conftest.$ac_objext
12441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12442 (eval $ac_compile) 2>conftest.er1
12443 ac_status=$?
12444 grep -v '^ *+' conftest.er1 >conftest.err
12445 rm -f conftest.er1
12446 cat conftest.err >&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } &&
12449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451 (eval $ac_try) 2>&5
12452 ac_status=$?
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; } &&
12455 { ac_try='test -s conftest.$ac_objext'
12456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12457 (eval $ac_try) 2>&5
12458 ac_status=$?
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); }; }; then
12461
12462 cat >conftest.$ac_ext <<_ACEOF
12463 /* confdefs.h. */
12464 _ACEOF
12465 cat confdefs.h >>conftest.$ac_ext
12466 cat >>conftest.$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12468
12469 int
12470 main ()
12471 {
12472
12473 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12474 #error intermediate gcc
12475 #endif
12476
12477 ;
12478 return 0;
12479 }
12480 _ACEOF
12481 rm -f conftest.$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>conftest.er1
12484 ac_status=$?
12485 grep -v '^ *+' conftest.er1 >conftest.err
12486 rm -f conftest.er1
12487 cat conftest.err >&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } &&
12490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12492 (eval $ac_try) 2>&5
12493 ac_status=$?
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); }; } &&
12496 { ac_try='test -s conftest.$ac_objext'
12497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12498 (eval $ac_try) 2>&5
12499 ac_status=$?
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); }; }; then
12502
12503 wx_cv_gccversion=Innotek
12504
12505 else
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.$ac_ext >&5
12508
12509
12510 wx_cv_gccversion=3
12511
12512
12513 fi
12514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12515
12516 else
12517 echo "$as_me: failed program was:" >&5
12518 sed 's/^/| /' conftest.$ac_ext >&5
12519
12520
12521 wx_cv_gccversion=2
12522
12523
12524 fi
12525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12526
12527 fi
12528 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12529 echo "${ECHO_T}$wx_cv_gccversion" >&6
12530 if test "$wx_cv_gccversion" = "2"; then
12531 LIBS="$LIBS -lstdcpp"
12532 LDFLAGS="$LDFLAGS -Zsysv-signals"
12533 else
12534 if test "$wx_cv_gccversion" = "3"; then
12535 LIBS="$LIBS -lstdcxx"
12536 LDFLAGS="$LDFLAGS -Zsysv-signals"
12537 else
12538 LIBS="$LIBS -lstdc++"
12539 fi
12540 fi
12541 if test "$wxUSE_OMF" = "yes"; then
12542 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12543 fi
12544 ;;
12545 *)
12546
12547
12548
12549 ac_ext=cc
12550 ac_cpp='$CXXCPP $CPPFLAGS'
12551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12554
12555
12556
12557 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12558 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12559 if test "${ac_cv_string_strcasecmp+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 else
12562
12563 cat >conftest.$ac_ext <<_ACEOF
12564 /* confdefs.h. */
12565 _ACEOF
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12569
12570 #include <string.h>
12571
12572 int
12573 main ()
12574 {
12575
12576 strcasecmp("foo", "bar");
12577
12578 ;
12579 return 0;
12580 }
12581 _ACEOF
12582 rm -f conftest.$ac_objext conftest$ac_exeext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12584 (eval $ac_link) 2>conftest.er1
12585 ac_status=$?
12586 grep -v '^ *+' conftest.er1 >conftest.err
12587 rm -f conftest.er1
12588 cat conftest.err >&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); } &&
12591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12594 ac_status=$?
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; } &&
12597 { ac_try='test -s conftest$ac_exeext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12600 ac_status=$?
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12603 ac_cv_string_strcasecmp=yes
12604 else
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.$ac_ext >&5
12607
12608 ac_cv_string_strcasecmp=no
12609
12610 fi
12611 rm -f conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613
12614 fi
12615 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12616 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12617
12618 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12619 cat >>confdefs.h <<\_ACEOF
12620 #define HAVE_STRCASECMP_IN_STRING_H 1
12621 _ACEOF
12622
12623 else
12624 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12625 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12626 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12628 else
12629
12630 cat >conftest.$ac_ext <<_ACEOF
12631 /* confdefs.h. */
12632 _ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12636
12637 #include <strings.h>
12638
12639 int
12640 main ()
12641 {
12642
12643 strcasecmp("foo", "bar");
12644
12645 ;
12646 return 0;
12647 }
12648 _ACEOF
12649 rm -f conftest.$ac_objext conftest$ac_exeext
12650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12651 (eval $ac_link) 2>conftest.er1
12652 ac_status=$?
12653 grep -v '^ *+' conftest.er1 >conftest.err
12654 rm -f conftest.er1
12655 cat conftest.err >&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12667 ac_status=$?
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_strings_strcasecmp=yes
12671 else
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12674
12675 ac_cv_strings_strcasecmp=no
12676
12677 fi
12678 rm -f conftest.err conftest.$ac_objext \
12679 conftest$ac_exeext conftest.$ac_ext
12680
12681 fi
12682 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12683 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12684
12685 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12686 cat >>confdefs.h <<\_ACEOF
12687 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12688 _ACEOF
12689
12690 else
12691 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12692 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12693 { (exit 1); exit 1; }; }
12694 fi
12695 fi
12696
12697 ac_ext=c
12698 ac_cpp='$CPP $CPPFLAGS'
12699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12702
12703 ;;
12704 esac
12705
12706
12707 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12708 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12709 if test "${ac_cv_header_stdc+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12711 else
12712 cat >conftest.$ac_ext <<_ACEOF
12713 /* confdefs.h. */
12714 _ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12718 #include <stdlib.h>
12719 #include <stdarg.h>
12720 #include <string.h>
12721 #include <float.h>
12722
12723 int
12724 main ()
12725 {
12726
12727 ;
12728 return 0;
12729 }
12730 _ACEOF
12731 rm -f conftest.$ac_objext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12733 (eval $ac_compile) 2>conftest.er1
12734 ac_status=$?
12735 grep -v '^ *+' conftest.er1 >conftest.err
12736 rm -f conftest.er1
12737 cat conftest.err >&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } &&
12740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12743 ac_status=$?
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; } &&
12746 { ac_try='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12749 ac_status=$?
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752 ac_cv_header_stdc=yes
12753 else
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12756
12757 ac_cv_header_stdc=no
12758 fi
12759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12760
12761 if test $ac_cv_header_stdc = yes; then
12762 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12763 cat >conftest.$ac_ext <<_ACEOF
12764 /* confdefs.h. */
12765 _ACEOF
12766 cat confdefs.h >>conftest.$ac_ext
12767 cat >>conftest.$ac_ext <<_ACEOF
12768 /* end confdefs.h. */
12769 #include <string.h>
12770
12771 _ACEOF
12772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12773 $EGREP "memchr" >/dev/null 2>&1; then
12774 :
12775 else
12776 ac_cv_header_stdc=no
12777 fi
12778 rm -f conftest*
12779
12780 fi
12781
12782 if test $ac_cv_header_stdc = yes; then
12783 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12784 cat >conftest.$ac_ext <<_ACEOF
12785 /* confdefs.h. */
12786 _ACEOF
12787 cat confdefs.h >>conftest.$ac_ext
12788 cat >>conftest.$ac_ext <<_ACEOF
12789 /* end confdefs.h. */
12790 #include <stdlib.h>
12791
12792 _ACEOF
12793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12794 $EGREP "free" >/dev/null 2>&1; then
12795 :
12796 else
12797 ac_cv_header_stdc=no
12798 fi
12799 rm -f conftest*
12800
12801 fi
12802
12803 if test $ac_cv_header_stdc = yes; then
12804 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12805 if test "$cross_compiling" = yes; then
12806 :
12807 else
12808 cat >conftest.$ac_ext <<_ACEOF
12809 /* confdefs.h. */
12810 _ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12814 #include <ctype.h>
12815 #if ((' ' & 0x0FF) == 0x020)
12816 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12817 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12818 #else
12819 # define ISLOWER(c) \
12820 (('a' <= (c) && (c) <= 'i') \
12821 || ('j' <= (c) && (c) <= 'r') \
12822 || ('s' <= (c) && (c) <= 'z'))
12823 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12824 #endif
12825
12826 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12827 int
12828 main ()
12829 {
12830 int i;
12831 for (i = 0; i < 256; i++)
12832 if (XOR (islower (i), ISLOWER (i))
12833 || toupper (i) != TOUPPER (i))
12834 exit(2);
12835 exit (0);
12836 }
12837 _ACEOF
12838 rm -f conftest$ac_exeext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12840 (eval $ac_link) 2>&5
12841 ac_status=$?
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12846 ac_status=$?
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 :
12850 else
12851 echo "$as_me: program exited with status $ac_status" >&5
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.$ac_ext >&5
12854
12855 ( exit $ac_status )
12856 ac_cv_header_stdc=no
12857 fi
12858 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12859 fi
12860 fi
12861 fi
12862 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12863 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12864 if test $ac_cv_header_stdc = yes; then
12865
12866 cat >>confdefs.h <<\_ACEOF
12867 #define STDC_HEADERS 1
12868 _ACEOF
12869
12870 fi
12871
12872 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12883 inttypes.h stdint.h unistd.h
12884 do
12885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12886 echo "$as_me:$LINENO: checking for $ac_header" >&5
12887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 else
12891 cat >conftest.$ac_ext <<_ACEOF
12892 /* confdefs.h. */
12893 _ACEOF
12894 cat confdefs.h >>conftest.$ac_ext
12895 cat >>conftest.$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12897 $ac_includes_default
12898
12899 #include <$ac_header>
12900 _ACEOF
12901 rm -f conftest.$ac_objext
12902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 (eval $ac_compile) 2>conftest.er1
12904 ac_status=$?
12905 grep -v '^ *+' conftest.er1 >conftest.err
12906 rm -f conftest.er1
12907 cat conftest.err >&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); } &&
12910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12913 ac_status=$?
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; } &&
12916 { ac_try='test -s conftest.$ac_objext'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12919 ac_status=$?
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 eval "$as_ac_Header=yes"
12923 else
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.$ac_ext >&5
12926
12927 eval "$as_ac_Header=no"
12928 fi
12929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12930 fi
12931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12934 cat >>confdefs.h <<_ACEOF
12935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12936 _ACEOF
12937
12938 fi
12939
12940 done
12941
12942
12943
12944 for ac_header in stdlib.h
12945 do
12946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12948 echo "$as_me:$LINENO: checking for $ac_header" >&5
12949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12952 fi
12953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12955 else
12956 # Is the header compilable?
12957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12959 cat >conftest.$ac_ext <<_ACEOF
12960 /* confdefs.h. */
12961 _ACEOF
12962 cat confdefs.h >>conftest.$ac_ext
12963 cat >>conftest.$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12965 $ac_includes_default
12966 #include <$ac_header>
12967 _ACEOF
12968 rm -f conftest.$ac_objext
12969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12970 (eval $ac_compile) 2>conftest.er1
12971 ac_status=$?
12972 grep -v '^ *+' conftest.er1 >conftest.err
12973 rm -f conftest.er1
12974 cat conftest.err >&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12980 ac_status=$?
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12986 ac_status=$?
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 ac_header_compiler=yes
12990 else
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.$ac_ext >&5
12993
12994 ac_header_compiler=no
12995 fi
12996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12998 echo "${ECHO_T}$ac_header_compiler" >&6
12999
13000 # Is the header present?
13001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13003 cat >conftest.$ac_ext <<_ACEOF
13004 /* confdefs.h. */
13005 _ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13009 #include <$ac_header>
13010 _ACEOF
13011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13013 ac_status=$?
13014 grep -v '^ *+' conftest.er1 >conftest.err
13015 rm -f conftest.er1
13016 cat conftest.err >&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } >/dev/null; then
13019 if test -s conftest.err; then
13020 ac_cpp_err=$ac_c_preproc_warn_flag
13021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13022 else
13023 ac_cpp_err=
13024 fi
13025 else
13026 ac_cpp_err=yes
13027 fi
13028 if test -z "$ac_cpp_err"; then
13029 ac_header_preproc=yes
13030 else
13031 echo "$as_me: failed program was:" >&5
13032 sed 's/^/| /' conftest.$ac_ext >&5
13033
13034 ac_header_preproc=no
13035 fi
13036 rm -f conftest.err conftest.$ac_ext
13037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13038 echo "${ECHO_T}$ac_header_preproc" >&6
13039
13040 # So? What about this header?
13041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13042 yes:no: )
13043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13047 ac_header_preproc=yes
13048 ;;
13049 no:yes:* )
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13062 (
13063 cat <<\_ASBOX
13064 ## ----------------------------------------- ##
13065 ## Report this to wx-dev@lists.wxwidgets.org ##
13066 ## ----------------------------------------- ##
13067 _ASBOX
13068 ) |
13069 sed "s/^/$as_me: WARNING: /" >&2
13070 ;;
13071 esac
13072 echo "$as_me:$LINENO: checking for $ac_header" >&5
13073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 else
13077 eval "$as_ac_Header=\$ac_header_preproc"
13078 fi
13079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13081
13082 fi
13083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13084 cat >>confdefs.h <<_ACEOF
13085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13086 _ACEOF
13087
13088 fi
13089
13090 done
13091
13092
13093 for ac_header in malloc.h
13094 do
13095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13097 echo "$as_me:$LINENO: checking for $ac_header" >&5
13098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 fi
13102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13104 else
13105 # Is the header compilable?
13106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13108 cat >conftest.$ac_ext <<_ACEOF
13109 /* confdefs.h. */
13110 _ACEOF
13111 cat confdefs.h >>conftest.$ac_ext
13112 cat >>conftest.$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13114 $ac_includes_default
13115 #include <$ac_header>
13116 _ACEOF
13117 rm -f conftest.$ac_objext
13118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13119 (eval $ac_compile) 2>conftest.er1
13120 ac_status=$?
13121 grep -v '^ *+' conftest.er1 >conftest.err
13122 rm -f conftest.er1
13123 cat conftest.err >&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); } &&
13126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13128 (eval $ac_try) 2>&5
13129 ac_status=$?
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; } &&
13132 { ac_try='test -s conftest.$ac_objext'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13135 ac_status=$?
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; }; then
13138 ac_header_compiler=yes
13139 else
13140 echo "$as_me: failed program was:" >&5
13141 sed 's/^/| /' conftest.$ac_ext >&5
13142
13143 ac_header_compiler=no
13144 fi
13145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13147 echo "${ECHO_T}$ac_header_compiler" >&6
13148
13149 # Is the header present?
13150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13152 cat >conftest.$ac_ext <<_ACEOF
13153 /* confdefs.h. */
13154 _ACEOF
13155 cat confdefs.h >>conftest.$ac_ext
13156 cat >>conftest.$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 #include <$ac_header>
13159 _ACEOF
13160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13162 ac_status=$?
13163 grep -v '^ *+' conftest.er1 >conftest.err
13164 rm -f conftest.er1
13165 cat conftest.err >&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } >/dev/null; then
13168 if test -s conftest.err; then
13169 ac_cpp_err=$ac_c_preproc_warn_flag
13170 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13171 else
13172 ac_cpp_err=
13173 fi
13174 else
13175 ac_cpp_err=yes
13176 fi
13177 if test -z "$ac_cpp_err"; then
13178 ac_header_preproc=yes
13179 else
13180 echo "$as_me: failed program was:" >&5
13181 sed 's/^/| /' conftest.$ac_ext >&5
13182
13183 ac_header_preproc=no
13184 fi
13185 rm -f conftest.err conftest.$ac_ext
13186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13187 echo "${ECHO_T}$ac_header_preproc" >&6
13188
13189 # So? What about this header?
13190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13191 yes:no: )
13192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13196 ac_header_preproc=yes
13197 ;;
13198 no:yes:* )
13199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13211 (
13212 cat <<\_ASBOX
13213 ## ----------------------------------------- ##
13214 ## Report this to wx-dev@lists.wxwidgets.org ##
13215 ## ----------------------------------------- ##
13216 _ASBOX
13217 ) |
13218 sed "s/^/$as_me: WARNING: /" >&2
13219 ;;
13220 esac
13221 echo "$as_me:$LINENO: checking for $ac_header" >&5
13222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 else
13226 eval "$as_ac_Header=\$ac_header_preproc"
13227 fi
13228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13230
13231 fi
13232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13233 cat >>confdefs.h <<_ACEOF
13234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13235 _ACEOF
13236
13237 fi
13238
13239 done
13240
13241
13242 for ac_header in unistd.h
13243 do
13244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 fi
13251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13253 else
13254 # Is the header compilable?
13255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13257 cat >conftest.$ac_ext <<_ACEOF
13258 /* confdefs.h. */
13259 _ACEOF
13260 cat confdefs.h >>conftest.$ac_ext
13261 cat >>conftest.$ac_ext <<_ACEOF
13262 /* end confdefs.h. */
13263 $ac_includes_default
13264 #include <$ac_header>
13265 _ACEOF
13266 rm -f conftest.$ac_objext
13267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13268 (eval $ac_compile) 2>conftest.er1
13269 ac_status=$?
13270 grep -v '^ *+' conftest.er1 >conftest.err
13271 rm -f conftest.er1
13272 cat conftest.err >&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13278 ac_status=$?
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13284 ac_status=$?
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 ac_header_compiler=yes
13288 else
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13291
13292 ac_header_compiler=no
13293 fi
13294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13296 echo "${ECHO_T}$ac_header_compiler" >&6
13297
13298 # Is the header present?
13299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13301 cat >conftest.$ac_ext <<_ACEOF
13302 /* confdefs.h. */
13303 _ACEOF
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 #include <$ac_header>
13308 _ACEOF
13309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13311 ac_status=$?
13312 grep -v '^ *+' conftest.er1 >conftest.err
13313 rm -f conftest.er1
13314 cat conftest.err >&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } >/dev/null; then
13317 if test -s conftest.err; then
13318 ac_cpp_err=$ac_c_preproc_warn_flag
13319 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13320 else
13321 ac_cpp_err=
13322 fi
13323 else
13324 ac_cpp_err=yes
13325 fi
13326 if test -z "$ac_cpp_err"; then
13327 ac_header_preproc=yes
13328 else
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.$ac_ext >&5
13331
13332 ac_header_preproc=no
13333 fi
13334 rm -f conftest.err conftest.$ac_ext
13335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13336 echo "${ECHO_T}$ac_header_preproc" >&6
13337
13338 # So? What about this header?
13339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13340 yes:no: )
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13345 ac_header_preproc=yes
13346 ;;
13347 no:yes:* )
13348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13360 (
13361 cat <<\_ASBOX
13362 ## ----------------------------------------- ##
13363 ## Report this to wx-dev@lists.wxwidgets.org ##
13364 ## ----------------------------------------- ##
13365 _ASBOX
13366 ) |
13367 sed "s/^/$as_me: WARNING: /" >&2
13368 ;;
13369 esac
13370 echo "$as_me:$LINENO: checking for $ac_header" >&5
13371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 else
13375 eval "$as_ac_Header=\$ac_header_preproc"
13376 fi
13377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13379
13380 fi
13381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13382 cat >>confdefs.h <<_ACEOF
13383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13384 _ACEOF
13385
13386 fi
13387
13388 done
13389
13390
13391 for ac_header in wchar.h
13392 do
13393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13395 echo "$as_me:$LINENO: checking for $ac_header" >&5
13396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 fi
13400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13402 else
13403 # Is the header compilable?
13404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13406 cat >conftest.$ac_ext <<_ACEOF
13407 /* confdefs.h. */
13408 _ACEOF
13409 cat confdefs.h >>conftest.$ac_ext
13410 cat >>conftest.$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 $ac_includes_default
13413 #include <$ac_header>
13414 _ACEOF
13415 rm -f conftest.$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>conftest.er1
13418 ac_status=$?
13419 grep -v '^ *+' conftest.er1 >conftest.err
13420 rm -f conftest.er1
13421 cat conftest.err >&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; } &&
13430 { ac_try='test -s conftest.$ac_objext'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13433 ac_status=$?
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13436 ac_header_compiler=yes
13437 else
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13440
13441 ac_header_compiler=no
13442 fi
13443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13445 echo "${ECHO_T}$ac_header_compiler" >&6
13446
13447 # Is the header present?
13448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13450 cat >conftest.$ac_ext <<_ACEOF
13451 /* confdefs.h. */
13452 _ACEOF
13453 cat confdefs.h >>conftest.$ac_ext
13454 cat >>conftest.$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 #include <$ac_header>
13457 _ACEOF
13458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13460 ac_status=$?
13461 grep -v '^ *+' conftest.er1 >conftest.err
13462 rm -f conftest.er1
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } >/dev/null; then
13466 if test -s conftest.err; then
13467 ac_cpp_err=$ac_c_preproc_warn_flag
13468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13469 else
13470 ac_cpp_err=
13471 fi
13472 else
13473 ac_cpp_err=yes
13474 fi
13475 if test -z "$ac_cpp_err"; then
13476 ac_header_preproc=yes
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13480
13481 ac_header_preproc=no
13482 fi
13483 rm -f conftest.err conftest.$ac_ext
13484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13485 echo "${ECHO_T}$ac_header_preproc" >&6
13486
13487 # So? What about this header?
13488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13489 yes:no: )
13490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13494 ac_header_preproc=yes
13495 ;;
13496 no:yes:* )
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13509 (
13510 cat <<\_ASBOX
13511 ## ----------------------------------------- ##
13512 ## Report this to wx-dev@lists.wxwidgets.org ##
13513 ## ----------------------------------------- ##
13514 _ASBOX
13515 ) |
13516 sed "s/^/$as_me: WARNING: /" >&2
13517 ;;
13518 esac
13519 echo "$as_me:$LINENO: checking for $ac_header" >&5
13520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 else
13524 eval "$as_ac_Header=\$ac_header_preproc"
13525 fi
13526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13528
13529 fi
13530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13531 cat >>confdefs.h <<_ACEOF
13532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13533 _ACEOF
13534
13535 fi
13536
13537 done
13538
13539
13540 if test "$ac_cv_header_wchar_h" != "yes"; then
13541
13542 for ac_header in wcstr.h
13543 do
13544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13546 echo "$as_me:$LINENO: checking for $ac_header" >&5
13547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 fi
13551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13553 else
13554 # Is the header compilable?
13555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13557 cat >conftest.$ac_ext <<_ACEOF
13558 /* confdefs.h. */
13559 _ACEOF
13560 cat confdefs.h >>conftest.$ac_ext
13561 cat >>conftest.$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 $ac_includes_default
13564 #include <$ac_header>
13565 _ACEOF
13566 rm -f conftest.$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 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_objext'
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_header_compiler=yes
13588 else
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.$ac_ext >&5
13591
13592 ac_header_compiler=no
13593 fi
13594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13596 echo "${ECHO_T}$ac_header_compiler" >&6
13597
13598 # Is the header present?
13599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13601 cat >conftest.$ac_ext <<_ACEOF
13602 /* confdefs.h. */
13603 _ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <$ac_header>
13608 _ACEOF
13609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13611 ac_status=$?
13612 grep -v '^ *+' conftest.er1 >conftest.err
13613 rm -f conftest.er1
13614 cat conftest.err >&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } >/dev/null; then
13617 if test -s conftest.err; then
13618 ac_cpp_err=$ac_c_preproc_warn_flag
13619 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13620 else
13621 ac_cpp_err=
13622 fi
13623 else
13624 ac_cpp_err=yes
13625 fi
13626 if test -z "$ac_cpp_err"; then
13627 ac_header_preproc=yes
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 ac_header_preproc=no
13633 fi
13634 rm -f conftest.err conftest.$ac_ext
13635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13636 echo "${ECHO_T}$ac_header_preproc" >&6
13637
13638 # So? What about this header?
13639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13640 yes:no: )
13641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13645 ac_header_preproc=yes
13646 ;;
13647 no:yes:* )
13648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13660 (
13661 cat <<\_ASBOX
13662 ## ----------------------------------------- ##
13663 ## Report this to wx-dev@lists.wxwidgets.org ##
13664 ## ----------------------------------------- ##
13665 _ASBOX
13666 ) |
13667 sed "s/^/$as_me: WARNING: /" >&2
13668 ;;
13669 esac
13670 echo "$as_me:$LINENO: checking for $ac_header" >&5
13671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13673 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 else
13675 eval "$as_ac_Header=\$ac_header_preproc"
13676 fi
13677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13679
13680 fi
13681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13682 cat >>confdefs.h <<_ACEOF
13683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13684 _ACEOF
13685
13686 fi
13687
13688 done
13689
13690 fi
13691
13692
13693 for ac_header in fnmatch.h
13694 do
13695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13697 echo "$as_me:$LINENO: checking for $ac_header" >&5
13698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 fi
13702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13704 else
13705 # Is the header compilable?
13706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13708 cat >conftest.$ac_ext <<_ACEOF
13709 /* confdefs.h. */
13710 _ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 $ac_includes_default
13715 #include <$ac_header>
13716 _ACEOF
13717 rm -f conftest.$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>conftest.er1
13720 ac_status=$?
13721 grep -v '^ *+' conftest.er1 >conftest.err
13722 rm -f conftest.er1
13723 cat conftest.err >&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13729 ac_status=$?
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13735 ac_status=$?
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 ac_header_compiler=yes
13739 else
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.$ac_ext >&5
13742
13743 ac_header_compiler=no
13744 fi
13745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13747 echo "${ECHO_T}$ac_header_compiler" >&6
13748
13749 # Is the header present?
13750 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13752 cat >conftest.$ac_ext <<_ACEOF
13753 /* confdefs.h. */
13754 _ACEOF
13755 cat confdefs.h >>conftest.$ac_ext
13756 cat >>conftest.$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13758 #include <$ac_header>
13759 _ACEOF
13760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13762 ac_status=$?
13763 grep -v '^ *+' conftest.er1 >conftest.err
13764 rm -f conftest.er1
13765 cat conftest.err >&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } >/dev/null; then
13768 if test -s conftest.err; then
13769 ac_cpp_err=$ac_c_preproc_warn_flag
13770 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13771 else
13772 ac_cpp_err=
13773 fi
13774 else
13775 ac_cpp_err=yes
13776 fi
13777 if test -z "$ac_cpp_err"; then
13778 ac_header_preproc=yes
13779 else
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13782
13783 ac_header_preproc=no
13784 fi
13785 rm -f conftest.err conftest.$ac_ext
13786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13787 echo "${ECHO_T}$ac_header_preproc" >&6
13788
13789 # So? What about this header?
13790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13791 yes:no: )
13792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13796 ac_header_preproc=yes
13797 ;;
13798 no:yes:* )
13799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13811 (
13812 cat <<\_ASBOX
13813 ## ----------------------------------------- ##
13814 ## Report this to wx-dev@lists.wxwidgets.org ##
13815 ## ----------------------------------------- ##
13816 _ASBOX
13817 ) |
13818 sed "s/^/$as_me: WARNING: /" >&2
13819 ;;
13820 esac
13821 echo "$as_me:$LINENO: checking for $ac_header" >&5
13822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 else
13826 eval "$as_ac_Header=\$ac_header_preproc"
13827 fi
13828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13830
13831 fi
13832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13833 cat >>confdefs.h <<_ACEOF
13834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13835 _ACEOF
13836
13837 fi
13838
13839 done
13840
13841
13842 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13843
13844 for ac_func in fnmatch
13845 do
13846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13847 echo "$as_me:$LINENO: checking for $ac_func" >&5
13848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13849 if eval "test \"\${$as_ac_var+set}\" = set"; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 else
13852 cat >conftest.$ac_ext <<_ACEOF
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13860 #define $ac_func innocuous_$ac_func
13861
13862 /* System header to define __stub macros and hopefully few prototypes,
13863 which can conflict with char $ac_func (); below.
13864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13865 <limits.h> exists even on freestanding compilers. */
13866
13867 #ifdef __STDC__
13868 # include <limits.h>
13869 #else
13870 # include <assert.h>
13871 #endif
13872
13873 #undef $ac_func
13874
13875 /* Override any gcc2 internal prototype to avoid an error. */
13876 #ifdef __cplusplus
13877 extern "C"
13878 {
13879 #endif
13880 /* We use char because int might match the return type of a gcc2
13881 builtin and then its argument prototype would still apply. */
13882 char $ac_func ();
13883 /* The GNU C library defines this for functions which it implements
13884 to always fail with ENOSYS. Some functions are actually named
13885 something starting with __ and the normal name is an alias. */
13886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13887 choke me
13888 #else
13889 char (*f) () = $ac_func;
13890 #endif
13891 #ifdef __cplusplus
13892 }
13893 #endif
13894
13895 int
13896 main ()
13897 {
13898 return f != $ac_func;
13899 ;
13900 return 0;
13901 }
13902 _ACEOF
13903 rm -f conftest.$ac_objext conftest$ac_exeext
13904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13905 (eval $ac_link) 2>conftest.er1
13906 ac_status=$?
13907 grep -v '^ *+' conftest.er1 >conftest.err
13908 rm -f conftest.er1
13909 cat conftest.err >&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13915 ac_status=$?
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; } &&
13918 { ac_try='test -s conftest$ac_exeext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13921 ac_status=$?
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 eval "$as_ac_var=yes"
13925 else
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.$ac_ext >&5
13928
13929 eval "$as_ac_var=no"
13930 fi
13931 rm -f conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13933 fi
13934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13936 if test `eval echo '${'$as_ac_var'}'` = yes; then
13937 cat >>confdefs.h <<_ACEOF
13938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13939 _ACEOF
13940
13941 fi
13942 done
13943
13944 fi
13945
13946
13947 for ac_header in langinfo.h
13948 do
13949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13951 echo "$as_me:$LINENO: checking for $ac_header" >&5
13952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13955 fi
13956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13958 else
13959 # Is the header compilable?
13960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13962 cat >conftest.$ac_ext <<_ACEOF
13963 /* confdefs.h. */
13964 _ACEOF
13965 cat confdefs.h >>conftest.$ac_ext
13966 cat >>conftest.$ac_ext <<_ACEOF
13967 /* end confdefs.h. */
13968 $ac_includes_default
13969 #include <$ac_header>
13970 _ACEOF
13971 rm -f conftest.$ac_objext
13972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13973 (eval $ac_compile) 2>conftest.er1
13974 ac_status=$?
13975 grep -v '^ *+' conftest.er1 >conftest.err
13976 rm -f conftest.er1
13977 cat conftest.err >&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); } &&
13980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13983 ac_status=$?
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; } &&
13986 { ac_try='test -s conftest.$ac_objext'
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 ac_header_compiler=yes
13993 else
13994 echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.$ac_ext >&5
13996
13997 ac_header_compiler=no
13998 fi
13999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14001 echo "${ECHO_T}$ac_header_compiler" >&6
14002
14003 # Is the header present?
14004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14006 cat >conftest.$ac_ext <<_ACEOF
14007 /* confdefs.h. */
14008 _ACEOF
14009 cat confdefs.h >>conftest.$ac_ext
14010 cat >>conftest.$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012 #include <$ac_header>
14013 _ACEOF
14014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14016 ac_status=$?
14017 grep -v '^ *+' conftest.er1 >conftest.err
14018 rm -f conftest.er1
14019 cat conftest.err >&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); } >/dev/null; then
14022 if test -s conftest.err; then
14023 ac_cpp_err=$ac_c_preproc_warn_flag
14024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14025 else
14026 ac_cpp_err=
14027 fi
14028 else
14029 ac_cpp_err=yes
14030 fi
14031 if test -z "$ac_cpp_err"; then
14032 ac_header_preproc=yes
14033 else
14034 echo "$as_me: failed program was:" >&5
14035 sed 's/^/| /' conftest.$ac_ext >&5
14036
14037 ac_header_preproc=no
14038 fi
14039 rm -f conftest.err conftest.$ac_ext
14040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14041 echo "${ECHO_T}$ac_header_preproc" >&6
14042
14043 # So? What about this header?
14044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14045 yes:no: )
14046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14050 ac_header_preproc=yes
14051 ;;
14052 no:yes:* )
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14065 (
14066 cat <<\_ASBOX
14067 ## ----------------------------------------- ##
14068 ## Report this to wx-dev@lists.wxwidgets.org ##
14069 ## ----------------------------------------- ##
14070 _ASBOX
14071 ) |
14072 sed "s/^/$as_me: WARNING: /" >&2
14073 ;;
14074 esac
14075 echo "$as_me:$LINENO: checking for $ac_header" >&5
14076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 else
14080 eval "$as_ac_Header=\$ac_header_preproc"
14081 fi
14082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14084
14085 fi
14086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14087 cat >>confdefs.h <<_ACEOF
14088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14089 _ACEOF
14090
14091 fi
14092
14093 done
14094
14095
14096 case "${host}" in
14097 *-pc-os2_emx | *-pc-os2-emx )
14098 if test $ac_cv_header_langinfo_h = "yes"; then
14099 LIBS="$LIBS -lintl"
14100 fi
14101 ;;
14102 esac
14103
14104 if test "$wxUSE_GUI" = "yes"; then
14105 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14106
14107 for ac_header in X11/Xlib.h
14108 do
14109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14111 echo "$as_me:$LINENO: checking for $ac_header" >&5
14112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 fi
14116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14118 else
14119 # Is the header compilable?
14120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14122 cat >conftest.$ac_ext <<_ACEOF
14123 /* confdefs.h. */
14124 _ACEOF
14125 cat confdefs.h >>conftest.$ac_ext
14126 cat >>conftest.$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14128 $ac_includes_default
14129 #include <$ac_header>
14130 _ACEOF
14131 rm -f conftest.$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>conftest.er1
14134 ac_status=$?
14135 grep -v '^ *+' conftest.er1 >conftest.err
14136 rm -f conftest.er1
14137 cat conftest.err >&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } &&
14140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 ac_header_compiler=yes
14153 else
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.$ac_ext >&5
14156
14157 ac_header_compiler=no
14158 fi
14159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14161 echo "${ECHO_T}$ac_header_compiler" >&6
14162
14163 # Is the header present?
14164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 #include <$ac_header>
14173 _ACEOF
14174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14176 ac_status=$?
14177 grep -v '^ *+' conftest.er1 >conftest.err
14178 rm -f conftest.er1
14179 cat conftest.err >&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); } >/dev/null; then
14182 if test -s conftest.err; then
14183 ac_cpp_err=$ac_c_preproc_warn_flag
14184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14185 else
14186 ac_cpp_err=
14187 fi
14188 else
14189 ac_cpp_err=yes
14190 fi
14191 if test -z "$ac_cpp_err"; then
14192 ac_header_preproc=yes
14193 else
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.$ac_ext >&5
14196
14197 ac_header_preproc=no
14198 fi
14199 rm -f conftest.err conftest.$ac_ext
14200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14201 echo "${ECHO_T}$ac_header_preproc" >&6
14202
14203 # So? What about this header?
14204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14205 yes:no: )
14206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14210 ac_header_preproc=yes
14211 ;;
14212 no:yes:* )
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14225 (
14226 cat <<\_ASBOX
14227 ## ----------------------------------------- ##
14228 ## Report this to wx-dev@lists.wxwidgets.org ##
14229 ## ----------------------------------------- ##
14230 _ASBOX
14231 ) |
14232 sed "s/^/$as_me: WARNING: /" >&2
14233 ;;
14234 esac
14235 echo "$as_me:$LINENO: checking for $ac_header" >&5
14236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14239 else
14240 eval "$as_ac_Header=\$ac_header_preproc"
14241 fi
14242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14244
14245 fi
14246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14247 cat >>confdefs.h <<_ACEOF
14248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14249 _ACEOF
14250
14251 fi
14252
14253 done
14254
14255
14256 for ac_header in X11/XKBlib.h
14257 do
14258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14259 echo "$as_me:$LINENO: checking for $ac_header" >&5
14260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270
14271 #if HAVE_X11_XLIB_H
14272 #include <X11/Xlib.h>
14273 #endif
14274
14275
14276 #include <$ac_header>
14277 _ACEOF
14278 rm -f conftest.$ac_objext
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>conftest.er1
14281 ac_status=$?
14282 grep -v '^ *+' conftest.er1 >conftest.err
14283 rm -f conftest.er1
14284 cat conftest.err >&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14290 ac_status=$?
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; } &&
14293 { ac_try='test -s conftest.$ac_objext'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14296 ac_status=$?
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14299 eval "$as_ac_Header=yes"
14300 else
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14303
14304 eval "$as_ac_Header=no"
14305 fi
14306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14307 fi
14308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14311 cat >>confdefs.h <<_ACEOF
14312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14313 _ACEOF
14314
14315 fi
14316
14317 done
14318
14319 fi
14320 fi
14321
14322
14323 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14324 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14325 if test "${ac_cv_c_const+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 else
14328 cat >conftest.$ac_ext <<_ACEOF
14329 /* confdefs.h. */
14330 _ACEOF
14331 cat confdefs.h >>conftest.$ac_ext
14332 cat >>conftest.$ac_ext <<_ACEOF
14333 /* end confdefs.h. */
14334
14335 int
14336 main ()
14337 {
14338 /* FIXME: Include the comments suggested by Paul. */
14339 #ifndef __cplusplus
14340 /* Ultrix mips cc rejects this. */
14341 typedef int charset[2];
14342 const charset x;
14343 /* SunOS 4.1.1 cc rejects this. */
14344 char const *const *ccp;
14345 char **p;
14346 /* NEC SVR4.0.2 mips cc rejects this. */
14347 struct point {int x, y;};
14348 static struct point const zero = {0,0};
14349 /* AIX XL C 1.02.0.0 rejects this.
14350 It does not let you subtract one const X* pointer from another in
14351 an arm of an if-expression whose if-part is not a constant
14352 expression */
14353 const char *g = "string";
14354 ccp = &g + (g ? g-g : 0);
14355 /* HPUX 7.0 cc rejects these. */
14356 ++ccp;
14357 p = (char**) ccp;
14358 ccp = (char const *const *) p;
14359 { /* SCO 3.2v4 cc rejects this. */
14360 char *t;
14361 char const *s = 0 ? (char *) 0 : (char const *) 0;
14362
14363 *t++ = 0;
14364 }
14365 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14366 int x[] = {25, 17};
14367 const int *foo = &x[0];
14368 ++foo;
14369 }
14370 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14371 typedef const int *iptr;
14372 iptr p = 0;
14373 ++p;
14374 }
14375 { /* AIX XL C 1.02.0.0 rejects this saying
14376 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14377 struct s { int j; const int *ap[3]; };
14378 struct s *b; b->j = 5;
14379 }
14380 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14381 const int foo = 10;
14382 }
14383 #endif
14384
14385 ;
14386 return 0;
14387 }
14388 _ACEOF
14389 rm -f conftest.$ac_objext
14390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14391 (eval $ac_compile) 2>conftest.er1
14392 ac_status=$?
14393 grep -v '^ *+' conftest.er1 >conftest.err
14394 rm -f conftest.er1
14395 cat conftest.err >&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } &&
14398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14401 ac_status=$?
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; } &&
14404 { ac_try='test -s conftest.$ac_objext'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14407 ac_status=$?
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; }; then
14410 ac_cv_c_const=yes
14411 else
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14414
14415 ac_cv_c_const=no
14416 fi
14417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14418 fi
14419 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14420 echo "${ECHO_T}$ac_cv_c_const" >&6
14421 if test $ac_cv_c_const = no; then
14422
14423 cat >>confdefs.h <<\_ACEOF
14424 #define const
14425 _ACEOF
14426
14427 fi
14428
14429 echo "$as_me:$LINENO: checking for inline" >&5
14430 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14431 if test "${ac_cv_c_inline+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 else
14434 ac_cv_c_inline=no
14435 for ac_kw in inline __inline__ __inline; do
14436 cat >conftest.$ac_ext <<_ACEOF
14437 /* confdefs.h. */
14438 _ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442 #ifndef __cplusplus
14443 typedef int foo_t;
14444 static $ac_kw foo_t static_foo () {return 0; }
14445 $ac_kw foo_t foo () {return 0; }
14446 #endif
14447
14448 _ACEOF
14449 rm -f conftest.$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14452 ac_status=$?
14453 grep -v '^ *+' conftest.er1 >conftest.err
14454 rm -f conftest.er1
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14461 ac_status=$?
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; } &&
14464 { ac_try='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 ac_cv_c_inline=$ac_kw; break
14471 else
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.$ac_ext >&5
14474
14475 fi
14476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14477 done
14478
14479 fi
14480 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14481 echo "${ECHO_T}$ac_cv_c_inline" >&6
14482
14483
14484 case $ac_cv_c_inline in
14485 inline | yes) ;;
14486 *)
14487 case $ac_cv_c_inline in
14488 no) ac_val=;;
14489 *) ac_val=$ac_cv_c_inline;;
14490 esac
14491 cat >>confdefs.h <<_ACEOF
14492 #ifndef __cplusplus
14493 #define inline $ac_val
14494 #endif
14495 _ACEOF
14496 ;;
14497 esac
14498
14499
14500 echo "$as_me:$LINENO: checking for char" >&5
14501 echo $ECHO_N "checking for char... $ECHO_C" >&6
14502 if test "${ac_cv_type_char+set}" = set; then
14503 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 else
14505 cat >conftest.$ac_ext <<_ACEOF
14506 /* confdefs.h. */
14507 _ACEOF
14508 cat confdefs.h >>conftest.$ac_ext
14509 cat >>conftest.$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14511 $ac_includes_default
14512 int
14513 main ()
14514 {
14515 if ((char *) 0)
14516 return 0;
14517 if (sizeof (char))
14518 return 0;
14519 ;
14520 return 0;
14521 }
14522 _ACEOF
14523 rm -f conftest.$ac_objext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14525 (eval $ac_compile) 2>conftest.er1
14526 ac_status=$?
14527 grep -v '^ *+' conftest.er1 >conftest.err
14528 rm -f conftest.er1
14529 cat conftest.err >&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14535 ac_status=$?
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } &&
14538 { ac_try='test -s conftest.$ac_objext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14541 ac_status=$?
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_cv_type_char=yes
14545 else
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.$ac_ext >&5
14548
14549 ac_cv_type_char=no
14550 fi
14551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14552 fi
14553 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14554 echo "${ECHO_T}$ac_cv_type_char" >&6
14555
14556 echo "$as_me:$LINENO: checking size of char" >&5
14557 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14558 if test "${ac_cv_sizeof_char+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14560 else
14561 if test "$ac_cv_type_char" = yes; then
14562 # The cast to unsigned long works around a bug in the HP C Compiler
14563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14565 # This bug is HP SR number 8606223364.
14566 if test "$cross_compiling" = yes; then
14567 # Depending upon the size, compute the lo and hi bounds.
14568 cat >conftest.$ac_ext <<_ACEOF
14569 /* confdefs.h. */
14570 _ACEOF
14571 cat confdefs.h >>conftest.$ac_ext
14572 cat >>conftest.$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14575 int
14576 main ()
14577 {
14578 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14579 test_array [0] = 0
14580
14581 ;
14582 return 0;
14583 }
14584 _ACEOF
14585 rm -f conftest.$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>conftest.er1
14588 ac_status=$?
14589 grep -v '^ *+' conftest.er1 >conftest.err
14590 rm -f conftest.er1
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; } &&
14600 { ac_try='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14603 ac_status=$?
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14606 ac_lo=0 ac_mid=0
14607 while :; do
14608 cat >conftest.$ac_ext <<_ACEOF
14609 /* confdefs.h. */
14610 _ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14614 $ac_includes_default
14615 int
14616 main ()
14617 {
14618 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14619 test_array [0] = 0
14620
14621 ;
14622 return 0;
14623 }
14624 _ACEOF
14625 rm -f conftest.$ac_objext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14627 (eval $ac_compile) 2>conftest.er1
14628 ac_status=$?
14629 grep -v '^ *+' conftest.er1 >conftest.err
14630 rm -f conftest.er1
14631 cat conftest.err >&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; } &&
14640 { ac_try='test -s conftest.$ac_objext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14643 ac_status=$?
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 ac_hi=$ac_mid; break
14647 else
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.$ac_ext >&5
14650
14651 ac_lo=`expr $ac_mid + 1`
14652 if test $ac_lo -le $ac_mid; then
14653 ac_lo= ac_hi=
14654 break
14655 fi
14656 ac_mid=`expr 2 '*' $ac_mid + 1`
14657 fi
14658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14659 done
14660 else
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.$ac_ext >&5
14663
14664 cat >conftest.$ac_ext <<_ACEOF
14665 /* confdefs.h. */
14666 _ACEOF
14667 cat confdefs.h >>conftest.$ac_ext
14668 cat >>conftest.$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14670 $ac_includes_default
14671 int
14672 main ()
14673 {
14674 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14675 test_array [0] = 0
14676
14677 ;
14678 return 0;
14679 }
14680 _ACEOF
14681 rm -f conftest.$ac_objext
14682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14683 (eval $ac_compile) 2>conftest.er1
14684 ac_status=$?
14685 grep -v '^ *+' conftest.er1 >conftest.err
14686 rm -f conftest.er1
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14693 ac_status=$?
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; } &&
14696 { ac_try='test -s conftest.$ac_objext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 ac_hi=-1 ac_mid=-1
14703 while :; do
14704 cat >conftest.$ac_ext <<_ACEOF
14705 /* confdefs.h. */
14706 _ACEOF
14707 cat confdefs.h >>conftest.$ac_ext
14708 cat >>conftest.$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14711 int
14712 main ()
14713 {
14714 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14715 test_array [0] = 0
14716
14717 ;
14718 return 0;
14719 }
14720 _ACEOF
14721 rm -f conftest.$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14733 ac_status=$?
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 ac_lo=$ac_mid; break
14743 else
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14746
14747 ac_hi=`expr '(' $ac_mid ')' - 1`
14748 if test $ac_mid -le $ac_hi; then
14749 ac_lo= ac_hi=
14750 break
14751 fi
14752 ac_mid=`expr 2 '*' $ac_mid`
14753 fi
14754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14755 done
14756 else
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14759
14760 ac_lo= ac_hi=
14761 fi
14762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14763 fi
14764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14765 # Binary search between lo and hi bounds.
14766 while test "x$ac_lo" != "x$ac_hi"; do
14767 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14768 cat >conftest.$ac_ext <<_ACEOF
14769 /* confdefs.h. */
14770 _ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14775 int
14776 main ()
14777 {
14778 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14779 test_array [0] = 0
14780
14781 ;
14782 return 0;
14783 }
14784 _ACEOF
14785 rm -f conftest.$ac_objext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>conftest.er1
14788 ac_status=$?
14789 grep -v '^ *+' conftest.er1 >conftest.err
14790 rm -f conftest.er1
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } &&
14794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14796 (eval $ac_try) 2>&5
14797 ac_status=$?
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; } &&
14800 { ac_try='test -s conftest.$ac_objext'
14801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802 (eval $ac_try) 2>&5
14803 ac_status=$?
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; }; then
14806 ac_hi=$ac_mid
14807 else
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14810
14811 ac_lo=`expr '(' $ac_mid ')' + 1`
14812 fi
14813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14814 done
14815 case $ac_lo in
14816 ?*) ac_cv_sizeof_char=$ac_lo;;
14817 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14818 See \`config.log' for more details." >&5
14819 echo "$as_me: error: cannot compute sizeof (char), 77
14820 See \`config.log' for more details." >&2;}
14821 { (exit 1); exit 1; }; } ;;
14822 esac
14823 else
14824 if test "$cross_compiling" = yes; then
14825 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14826 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14827 { (exit 1); exit 1; }; }
14828 else
14829 cat >conftest.$ac_ext <<_ACEOF
14830 /* confdefs.h. */
14831 _ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 $ac_includes_default
14836 long longval () { return (long) (sizeof (char)); }
14837 unsigned long ulongval () { return (long) (sizeof (char)); }
14838 #include <stdio.h>
14839 #include <stdlib.h>
14840 int
14841 main ()
14842 {
14843
14844 FILE *f = fopen ("conftest.val", "w");
14845 if (! f)
14846 exit (1);
14847 if (((long) (sizeof (char))) < 0)
14848 {
14849 long i = longval ();
14850 if (i != ((long) (sizeof (char))))
14851 exit (1);
14852 fprintf (f, "%ld\n", i);
14853 }
14854 else
14855 {
14856 unsigned long i = ulongval ();
14857 if (i != ((long) (sizeof (char))))
14858 exit (1);
14859 fprintf (f, "%lu\n", i);
14860 }
14861 exit (ferror (f) || fclose (f) != 0);
14862
14863 ;
14864 return 0;
14865 }
14866 _ACEOF
14867 rm -f conftest$ac_exeext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14869 (eval $ac_link) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14875 ac_status=$?
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14878 ac_cv_sizeof_char=`cat conftest.val`
14879 else
14880 echo "$as_me: program exited with status $ac_status" >&5
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.$ac_ext >&5
14883
14884 ( exit $ac_status )
14885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14886 See \`config.log' for more details." >&5
14887 echo "$as_me: error: cannot compute sizeof (char), 77
14888 See \`config.log' for more details." >&2;}
14889 { (exit 1); exit 1; }; }
14890 fi
14891 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14892 fi
14893 fi
14894 rm -f conftest.val
14895 else
14896 ac_cv_sizeof_char=0
14897 fi
14898 fi
14899 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14900 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14901 cat >>confdefs.h <<_ACEOF
14902 #define SIZEOF_CHAR $ac_cv_sizeof_char
14903 _ACEOF
14904
14905
14906 echo "$as_me:$LINENO: checking for short" >&5
14907 echo $ECHO_N "checking for short... $ECHO_C" >&6
14908 if test "${ac_cv_type_short+set}" = set; then
14909 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 else
14911 cat >conftest.$ac_ext <<_ACEOF
14912 /* confdefs.h. */
14913 _ACEOF
14914 cat confdefs.h >>conftest.$ac_ext
14915 cat >>conftest.$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14917 $ac_includes_default
14918 int
14919 main ()
14920 {
14921 if ((short *) 0)
14922 return 0;
14923 if (sizeof (short))
14924 return 0;
14925 ;
14926 return 0;
14927 }
14928 _ACEOF
14929 rm -f conftest.$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>conftest.er1
14932 ac_status=$?
14933 grep -v '^ *+' conftest.er1 >conftest.err
14934 rm -f conftest.er1
14935 cat conftest.err >&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14941 ac_status=$?
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; } &&
14944 { ac_try='test -s conftest.$ac_objext'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14947 ac_status=$?
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; }; then
14950 ac_cv_type_short=yes
14951 else
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14954
14955 ac_cv_type_short=no
14956 fi
14957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14958 fi
14959 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14960 echo "${ECHO_T}$ac_cv_type_short" >&6
14961
14962 echo "$as_me:$LINENO: checking size of short" >&5
14963 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14964 if test "${ac_cv_sizeof_short+set}" = set; then
14965 echo $ECHO_N "(cached) $ECHO_C" >&6
14966 else
14967 if test "$ac_cv_type_short" = yes; then
14968 # The cast to unsigned long works around a bug in the HP C Compiler
14969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14971 # This bug is HP SR number 8606223364.
14972 if test "$cross_compiling" = yes; then
14973 # Depending upon the size, compute the lo and hi bounds.
14974 cat >conftest.$ac_ext <<_ACEOF
14975 /* confdefs.h. */
14976 _ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980 $ac_includes_default
14981 int
14982 main ()
14983 {
14984 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14985 test_array [0] = 0
14986
14987 ;
14988 return 0;
14989 }
14990 _ACEOF
14991 rm -f conftest.$ac_objext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14993 (eval $ac_compile) 2>conftest.er1
14994 ac_status=$?
14995 grep -v '^ *+' conftest.er1 >conftest.err
14996 rm -f conftest.er1
14997 cat conftest.err >&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_lo=0 ac_mid=0
15013 while :; do
15014 cat >conftest.$ac_ext <<_ACEOF
15015 /* confdefs.h. */
15016 _ACEOF
15017 cat confdefs.h >>conftest.$ac_ext
15018 cat >>conftest.$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15020 $ac_includes_default
15021 int
15022 main ()
15023 {
15024 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15025 test_array [0] = 0
15026
15027 ;
15028 return 0;
15029 }
15030 _ACEOF
15031 rm -f conftest.$ac_objext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15033 (eval $ac_compile) 2>conftest.er1
15034 ac_status=$?
15035 grep -v '^ *+' conftest.er1 >conftest.err
15036 rm -f conftest.er1
15037 cat conftest.err >&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } &&
15040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15049 ac_status=$?
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 ac_hi=$ac_mid; break
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15056
15057 ac_lo=`expr $ac_mid + 1`
15058 if test $ac_lo -le $ac_mid; then
15059 ac_lo= ac_hi=
15060 break
15061 fi
15062 ac_mid=`expr 2 '*' $ac_mid + 1`
15063 fi
15064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15065 done
15066 else
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15069
15070 cat >conftest.$ac_ext <<_ACEOF
15071 /* confdefs.h. */
15072 _ACEOF
15073 cat confdefs.h >>conftest.$ac_ext
15074 cat >>conftest.$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 $ac_includes_default
15077 int
15078 main ()
15079 {
15080 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15081 test_array [0] = 0
15082
15083 ;
15084 return 0;
15085 }
15086 _ACEOF
15087 rm -f conftest.$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>conftest.er1
15090 ac_status=$?
15091 grep -v '^ *+' conftest.er1 >conftest.err
15092 rm -f conftest.er1
15093 cat conftest.err >&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try='test -s conftest.$ac_objext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15108 ac_hi=-1 ac_mid=-1
15109 while :; do
15110 cat >conftest.$ac_ext <<_ACEOF
15111 /* confdefs.h. */
15112 _ACEOF
15113 cat confdefs.h >>conftest.$ac_ext
15114 cat >>conftest.$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15117 int
15118 main ()
15119 {
15120 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15121 test_array [0] = 0
15122
15123 ;
15124 return 0;
15125 }
15126 _ACEOF
15127 rm -f conftest.$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 (eval $ac_compile) 2>conftest.er1
15130 ac_status=$?
15131 grep -v '^ *+' conftest.er1 >conftest.err
15132 rm -f conftest.er1
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15139 ac_status=$?
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; } &&
15142 { ac_try='test -s conftest.$ac_objext'
15143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144 (eval $ac_try) 2>&5
15145 ac_status=$?
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); }; }; then
15148 ac_lo=$ac_mid; break
15149 else
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15152
15153 ac_hi=`expr '(' $ac_mid ')' - 1`
15154 if test $ac_mid -le $ac_hi; then
15155 ac_lo= ac_hi=
15156 break
15157 fi
15158 ac_mid=`expr 2 '*' $ac_mid`
15159 fi
15160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15161 done
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15165
15166 ac_lo= ac_hi=
15167 fi
15168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15169 fi
15170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15171 # Binary search between lo and hi bounds.
15172 while test "x$ac_lo" != "x$ac_hi"; do
15173 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 $ac_includes_default
15181 int
15182 main ()
15183 {
15184 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15185 test_array [0] = 0
15186
15187 ;
15188 return 0;
15189 }
15190 _ACEOF
15191 rm -f conftest.$ac_objext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15193 (eval $ac_compile) 2>conftest.er1
15194 ac_status=$?
15195 grep -v '^ *+' conftest.er1 >conftest.err
15196 rm -f conftest.er1
15197 cat conftest.err >&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } &&
15200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15203 ac_status=$?
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; } &&
15206 { ac_try='test -s conftest.$ac_objext'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15209 ac_status=$?
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; }; then
15212 ac_hi=$ac_mid
15213 else
15214 echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.$ac_ext >&5
15216
15217 ac_lo=`expr '(' $ac_mid ')' + 1`
15218 fi
15219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15220 done
15221 case $ac_lo in
15222 ?*) ac_cv_sizeof_short=$ac_lo;;
15223 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15224 See \`config.log' for more details." >&5
15225 echo "$as_me: error: cannot compute sizeof (short), 77
15226 See \`config.log' for more details." >&2;}
15227 { (exit 1); exit 1; }; } ;;
15228 esac
15229 else
15230 if test "$cross_compiling" = yes; then
15231 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15232 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15233 { (exit 1); exit 1; }; }
15234 else
15235 cat >conftest.$ac_ext <<_ACEOF
15236 /* confdefs.h. */
15237 _ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241 $ac_includes_default
15242 long longval () { return (long) (sizeof (short)); }
15243 unsigned long ulongval () { return (long) (sizeof (short)); }
15244 #include <stdio.h>
15245 #include <stdlib.h>
15246 int
15247 main ()
15248 {
15249
15250 FILE *f = fopen ("conftest.val", "w");
15251 if (! f)
15252 exit (1);
15253 if (((long) (sizeof (short))) < 0)
15254 {
15255 long i = longval ();
15256 if (i != ((long) (sizeof (short))))
15257 exit (1);
15258 fprintf (f, "%ld\n", i);
15259 }
15260 else
15261 {
15262 unsigned long i = ulongval ();
15263 if (i != ((long) (sizeof (short))))
15264 exit (1);
15265 fprintf (f, "%lu\n", i);
15266 }
15267 exit (ferror (f) || fclose (f) != 0);
15268
15269 ;
15270 return 0;
15271 }
15272 _ACEOF
15273 rm -f conftest$ac_exeext
15274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15275 (eval $ac_link) 2>&5
15276 ac_status=$?
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15280 (eval $ac_try) 2>&5
15281 ac_status=$?
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); }; }; then
15284 ac_cv_sizeof_short=`cat conftest.val`
15285 else
15286 echo "$as_me: program exited with status $ac_status" >&5
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.$ac_ext >&5
15289
15290 ( exit $ac_status )
15291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15292 See \`config.log' for more details." >&5
15293 echo "$as_me: error: cannot compute sizeof (short), 77
15294 See \`config.log' for more details." >&2;}
15295 { (exit 1); exit 1; }; }
15296 fi
15297 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15298 fi
15299 fi
15300 rm -f conftest.val
15301 else
15302 ac_cv_sizeof_short=0
15303 fi
15304 fi
15305 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15306 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15307 cat >>confdefs.h <<_ACEOF
15308 #define SIZEOF_SHORT $ac_cv_sizeof_short
15309 _ACEOF
15310
15311
15312 echo "$as_me:$LINENO: checking for void *" >&5
15313 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15314 if test "${ac_cv_type_void_p+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 else
15317 cat >conftest.$ac_ext <<_ACEOF
15318 /* confdefs.h. */
15319 _ACEOF
15320 cat confdefs.h >>conftest.$ac_ext
15321 cat >>conftest.$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15323 $ac_includes_default
15324 int
15325 main ()
15326 {
15327 if ((void * *) 0)
15328 return 0;
15329 if (sizeof (void *))
15330 return 0;
15331 ;
15332 return 0;
15333 }
15334 _ACEOF
15335 rm -f conftest.$ac_objext
15336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15337 (eval $ac_compile) 2>conftest.er1
15338 ac_status=$?
15339 grep -v '^ *+' conftest.er1 >conftest.err
15340 rm -f conftest.er1
15341 cat conftest.err >&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); } &&
15344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15347 ac_status=$?
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; } &&
15350 { ac_try='test -s conftest.$ac_objext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15353 ac_status=$?
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15356 ac_cv_type_void_p=yes
15357 else
15358 echo "$as_me: failed program was:" >&5
15359 sed 's/^/| /' conftest.$ac_ext >&5
15360
15361 ac_cv_type_void_p=no
15362 fi
15363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15364 fi
15365 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15366 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15367
15368 echo "$as_me:$LINENO: checking size of void *" >&5
15369 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15370 if test "${ac_cv_sizeof_void_p+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 else
15373 if test "$ac_cv_type_void_p" = yes; then
15374 # The cast to unsigned long works around a bug in the HP C Compiler
15375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15377 # This bug is HP SR number 8606223364.
15378 if test "$cross_compiling" = yes; then
15379 # Depending upon the size, compute the lo and hi bounds.
15380 cat >conftest.$ac_ext <<_ACEOF
15381 /* confdefs.h. */
15382 _ACEOF
15383 cat confdefs.h >>conftest.$ac_ext
15384 cat >>conftest.$ac_ext <<_ACEOF
15385 /* end confdefs.h. */
15386 $ac_includes_default
15387 int
15388 main ()
15389 {
15390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15391 test_array [0] = 0
15392
15393 ;
15394 return 0;
15395 }
15396 _ACEOF
15397 rm -f conftest.$ac_objext
15398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15399 (eval $ac_compile) 2>conftest.er1
15400 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; } &&
15412 { ac_try='test -s conftest.$ac_objext'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15415 ac_status=$?
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15418 ac_lo=0 ac_mid=0
15419 while :; do
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 $ac_includes_default
15427 int
15428 main ()
15429 {
15430 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15431 test_array [0] = 0
15432
15433 ;
15434 return 0;
15435 }
15436 _ACEOF
15437 rm -f conftest.$ac_objext
15438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15439 (eval $ac_compile) 2>conftest.er1
15440 ac_status=$?
15441 grep -v '^ *+' conftest.er1 >conftest.err
15442 rm -f conftest.er1
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } &&
15446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15449 ac_status=$?
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try='test -s conftest.$ac_objext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15455 ac_status=$?
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_hi=$ac_mid; break
15459 else
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.$ac_ext >&5
15462
15463 ac_lo=`expr $ac_mid + 1`
15464 if test $ac_lo -le $ac_mid; then
15465 ac_lo= ac_hi=
15466 break
15467 fi
15468 ac_mid=`expr 2 '*' $ac_mid + 1`
15469 fi
15470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15471 done
15472 else
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.$ac_ext >&5
15475
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h. */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 $ac_includes_default
15483 int
15484 main ()
15485 {
15486 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15487 test_array [0] = 0
15488
15489 ;
15490 return 0;
15491 }
15492 _ACEOF
15493 rm -f conftest.$ac_objext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15495 (eval $ac_compile) 2>conftest.er1
15496 ac_status=$?
15497 grep -v '^ *+' conftest.er1 >conftest.err
15498 rm -f conftest.er1
15499 cat conftest.err >&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); } &&
15502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15504 (eval $ac_try) 2>&5
15505 ac_status=$?
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); }; } &&
15508 { ac_try='test -s conftest.$ac_objext'
15509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510 (eval $ac_try) 2>&5
15511 ac_status=$?
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; }; then
15514 ac_hi=-1 ac_mid=-1
15515 while :; do
15516 cat >conftest.$ac_ext <<_ACEOF
15517 /* confdefs.h. */
15518 _ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15523 int
15524 main ()
15525 {
15526 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15527 test_array [0] = 0
15528
15529 ;
15530 return 0;
15531 }
15532 _ACEOF
15533 rm -f conftest.$ac_objext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535 (eval $ac_compile) 2>conftest.er1
15536 ac_status=$?
15537 grep -v '^ *+' conftest.er1 >conftest.err
15538 rm -f conftest.er1
15539 cat conftest.err >&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } &&
15542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; } &&
15548 { ac_try='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_lo=$ac_mid; break
15555 else
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.$ac_ext >&5
15558
15559 ac_hi=`expr '(' $ac_mid ')' - 1`
15560 if test $ac_mid -le $ac_hi; then
15561 ac_lo= ac_hi=
15562 break
15563 fi
15564 ac_mid=`expr 2 '*' $ac_mid`
15565 fi
15566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15567 done
15568 else
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15571
15572 ac_lo= ac_hi=
15573 fi
15574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15575 fi
15576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15577 # Binary search between lo and hi bounds.
15578 while test "x$ac_lo" != "x$ac_hi"; do
15579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15580 cat >conftest.$ac_ext <<_ACEOF
15581 /* confdefs.h. */
15582 _ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 $ac_includes_default
15587 int
15588 main ()
15589 {
15590 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15591 test_array [0] = 0
15592
15593 ;
15594 return 0;
15595 }
15596 _ACEOF
15597 rm -f conftest.$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15600 ac_status=$?
15601 grep -v '^ *+' conftest.er1 >conftest.err
15602 rm -f conftest.er1
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15609 ac_status=$?
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; } &&
15612 { ac_try='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15615 ac_status=$?
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_hi=$ac_mid
15619 else
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.$ac_ext >&5
15622
15623 ac_lo=`expr '(' $ac_mid ')' + 1`
15624 fi
15625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15626 done
15627 case $ac_lo in
15628 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15629 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15630 See \`config.log' for more details." >&5
15631 echo "$as_me: error: cannot compute sizeof (void *), 77
15632 See \`config.log' for more details." >&2;}
15633 { (exit 1); exit 1; }; } ;;
15634 esac
15635 else
15636 if test "$cross_compiling" = yes; then
15637 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15638 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15639 { (exit 1); exit 1; }; }
15640 else
15641 cat >conftest.$ac_ext <<_ACEOF
15642 /* confdefs.h. */
15643 _ACEOF
15644 cat confdefs.h >>conftest.$ac_ext
15645 cat >>conftest.$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 $ac_includes_default
15648 long longval () { return (long) (sizeof (void *)); }
15649 unsigned long ulongval () { return (long) (sizeof (void *)); }
15650 #include <stdio.h>
15651 #include <stdlib.h>
15652 int
15653 main ()
15654 {
15655
15656 FILE *f = fopen ("conftest.val", "w");
15657 if (! f)
15658 exit (1);
15659 if (((long) (sizeof (void *))) < 0)
15660 {
15661 long i = longval ();
15662 if (i != ((long) (sizeof (void *))))
15663 exit (1);
15664 fprintf (f, "%ld\n", i);
15665 }
15666 else
15667 {
15668 unsigned long i = ulongval ();
15669 if (i != ((long) (sizeof (void *))))
15670 exit (1);
15671 fprintf (f, "%lu\n", i);
15672 }
15673 exit (ferror (f) || fclose (f) != 0);
15674
15675 ;
15676 return 0;
15677 }
15678 _ACEOF
15679 rm -f conftest$ac_exeext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15681 (eval $ac_link) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_void_p=`cat conftest.val`
15691 else
15692 echo "$as_me: program exited with status $ac_status" >&5
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.$ac_ext >&5
15695
15696 ( exit $ac_status )
15697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15698 See \`config.log' for more details." >&5
15699 echo "$as_me: error: cannot compute sizeof (void *), 77
15700 See \`config.log' for more details." >&2;}
15701 { (exit 1); exit 1; }; }
15702 fi
15703 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15704 fi
15705 fi
15706 rm -f conftest.val
15707 else
15708 ac_cv_sizeof_void_p=0
15709 fi
15710 fi
15711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15712 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15713 cat >>confdefs.h <<_ACEOF
15714 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15715 _ACEOF
15716
15717
15718 echo "$as_me:$LINENO: checking for int" >&5
15719 echo $ECHO_N "checking for int... $ECHO_C" >&6
15720 if test "${ac_cv_type_int+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 else
15723 cat >conftest.$ac_ext <<_ACEOF
15724 /* confdefs.h. */
15725 _ACEOF
15726 cat confdefs.h >>conftest.$ac_ext
15727 cat >>conftest.$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 $ac_includes_default
15730 int
15731 main ()
15732 {
15733 if ((int *) 0)
15734 return 0;
15735 if (sizeof (int))
15736 return 0;
15737 ;
15738 return 0;
15739 }
15740 _ACEOF
15741 rm -f conftest.$ac_objext
15742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15743 (eval $ac_compile) 2>conftest.er1
15744 ac_status=$?
15745 grep -v '^ *+' conftest.er1 >conftest.err
15746 rm -f conftest.er1
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } &&
15750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15753 ac_status=$?
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; } &&
15756 { ac_try='test -s conftest.$ac_objext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15759 ac_status=$?
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15762 ac_cv_type_int=yes
15763 else
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.$ac_ext >&5
15766
15767 ac_cv_type_int=no
15768 fi
15769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15770 fi
15771 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15772 echo "${ECHO_T}$ac_cv_type_int" >&6
15773
15774 echo "$as_me:$LINENO: checking size of int" >&5
15775 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15776 if test "${ac_cv_sizeof_int+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15778 else
15779 if test "$ac_cv_type_int" = yes; then
15780 # The cast to unsigned long works around a bug in the HP C Compiler
15781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15783 # This bug is HP SR number 8606223364.
15784 if test "$cross_compiling" = yes; then
15785 # Depending upon the size, compute the lo and hi bounds.
15786 cat >conftest.$ac_ext <<_ACEOF
15787 /* confdefs.h. */
15788 _ACEOF
15789 cat confdefs.h >>conftest.$ac_ext
15790 cat >>conftest.$ac_ext <<_ACEOF
15791 /* end confdefs.h. */
15792 $ac_includes_default
15793 int
15794 main ()
15795 {
15796 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15797 test_array [0] = 0
15798
15799 ;
15800 return 0;
15801 }
15802 _ACEOF
15803 rm -f conftest.$ac_objext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15805 (eval $ac_compile) 2>conftest.er1
15806 ac_status=$?
15807 grep -v '^ *+' conftest.er1 >conftest.err
15808 rm -f conftest.er1
15809 cat conftest.err >&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } &&
15812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15815 ac_status=$?
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; } &&
15818 { ac_try='test -s conftest.$ac_objext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15821 ac_status=$?
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15824 ac_lo=0 ac_mid=0
15825 while :; do
15826 cat >conftest.$ac_ext <<_ACEOF
15827 /* confdefs.h. */
15828 _ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15832 $ac_includes_default
15833 int
15834 main ()
15835 {
15836 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15837 test_array [0] = 0
15838
15839 ;
15840 return 0;
15841 }
15842 _ACEOF
15843 rm -f conftest.$ac_objext
15844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15845 (eval $ac_compile) 2>conftest.er1
15846 ac_status=$?
15847 grep -v '^ *+' conftest.er1 >conftest.err
15848 rm -f conftest.er1
15849 cat conftest.err >&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); } &&
15852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15855 ac_status=$?
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; } &&
15858 { ac_try='test -s conftest.$ac_objext'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15861 ac_status=$?
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; }; then
15864 ac_hi=$ac_mid; break
15865 else
15866 echo "$as_me: failed program was:" >&5
15867 sed 's/^/| /' conftest.$ac_ext >&5
15868
15869 ac_lo=`expr $ac_mid + 1`
15870 if test $ac_lo -le $ac_mid; then
15871 ac_lo= ac_hi=
15872 break
15873 fi
15874 ac_mid=`expr 2 '*' $ac_mid + 1`
15875 fi
15876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15877 done
15878 else
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15881
15882 cat >conftest.$ac_ext <<_ACEOF
15883 /* confdefs.h. */
15884 _ACEOF
15885 cat confdefs.h >>conftest.$ac_ext
15886 cat >>conftest.$ac_ext <<_ACEOF
15887 /* end confdefs.h. */
15888 $ac_includes_default
15889 int
15890 main ()
15891 {
15892 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15893 test_array [0] = 0
15894
15895 ;
15896 return 0;
15897 }
15898 _ACEOF
15899 rm -f conftest.$ac_objext
15900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15901 (eval $ac_compile) 2>conftest.er1
15902 ac_status=$?
15903 grep -v '^ *+' conftest.er1 >conftest.err
15904 rm -f conftest.er1
15905 cat conftest.err >&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } &&
15908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try='test -s conftest.$ac_objext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15917 ac_status=$?
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 ac_hi=-1 ac_mid=-1
15921 while :; do
15922 cat >conftest.$ac_ext <<_ACEOF
15923 /* confdefs.h. */
15924 _ACEOF
15925 cat confdefs.h >>conftest.$ac_ext
15926 cat >>conftest.$ac_ext <<_ACEOF
15927 /* end confdefs.h. */
15928 $ac_includes_default
15929 int
15930 main ()
15931 {
15932 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15933 test_array [0] = 0
15934
15935 ;
15936 return 0;
15937 }
15938 _ACEOF
15939 rm -f conftest.$ac_objext
15940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15941 (eval $ac_compile) 2>conftest.er1
15942 ac_status=$?
15943 grep -v '^ *+' conftest.er1 >conftest.err
15944 rm -f conftest.er1
15945 cat conftest.err >&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); } &&
15948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; } &&
15954 { ac_try='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_lo=$ac_mid; break
15961 else
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15964
15965 ac_hi=`expr '(' $ac_mid ')' - 1`
15966 if test $ac_mid -le $ac_hi; then
15967 ac_lo= ac_hi=
15968 break
15969 fi
15970 ac_mid=`expr 2 '*' $ac_mid`
15971 fi
15972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15973 done
15974 else
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15977
15978 ac_lo= ac_hi=
15979 fi
15980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15981 fi
15982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15983 # Binary search between lo and hi bounds.
15984 while test "x$ac_lo" != "x$ac_hi"; do
15985 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15986 cat >conftest.$ac_ext <<_ACEOF
15987 /* confdefs.h. */
15988 _ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 $ac_includes_default
15993 int
15994 main ()
15995 {
15996 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15997 test_array [0] = 0
15998
15999 ;
16000 return 0;
16001 }
16002 _ACEOF
16003 rm -f conftest.$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>conftest.er1
16006 ac_status=$?
16007 grep -v '^ *+' conftest.er1 >conftest.err
16008 rm -f conftest.er1
16009 cat conftest.err >&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } &&
16012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16015 ac_status=$?
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; } &&
16018 { ac_try='test -s conftest.$ac_objext'
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_hi=$ac_mid
16025 else
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.$ac_ext >&5
16028
16029 ac_lo=`expr '(' $ac_mid ')' + 1`
16030 fi
16031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16032 done
16033 case $ac_lo in
16034 ?*) ac_cv_sizeof_int=$ac_lo;;
16035 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16036 See \`config.log' for more details." >&5
16037 echo "$as_me: error: cannot compute sizeof (int), 77
16038 See \`config.log' for more details." >&2;}
16039 { (exit 1); exit 1; }; } ;;
16040 esac
16041 else
16042 if test "$cross_compiling" = yes; then
16043 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16044 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16045 { (exit 1); exit 1; }; }
16046 else
16047 cat >conftest.$ac_ext <<_ACEOF
16048 /* confdefs.h. */
16049 _ACEOF
16050 cat confdefs.h >>conftest.$ac_ext
16051 cat >>conftest.$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 $ac_includes_default
16054 long longval () { return (long) (sizeof (int)); }
16055 unsigned long ulongval () { return (long) (sizeof (int)); }
16056 #include <stdio.h>
16057 #include <stdlib.h>
16058 int
16059 main ()
16060 {
16061
16062 FILE *f = fopen ("conftest.val", "w");
16063 if (! f)
16064 exit (1);
16065 if (((long) (sizeof (int))) < 0)
16066 {
16067 long i = longval ();
16068 if (i != ((long) (sizeof (int))))
16069 exit (1);
16070 fprintf (f, "%ld\n", i);
16071 }
16072 else
16073 {
16074 unsigned long i = ulongval ();
16075 if (i != ((long) (sizeof (int))))
16076 exit (1);
16077 fprintf (f, "%lu\n", i);
16078 }
16079 exit (ferror (f) || fclose (f) != 0);
16080
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 rm -f conftest$ac_exeext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16087 (eval $ac_link) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_int=`cat conftest.val`
16097 else
16098 echo "$as_me: program exited with status $ac_status" >&5
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16101
16102 ( exit $ac_status )
16103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16104 See \`config.log' for more details." >&5
16105 echo "$as_me: error: cannot compute sizeof (int), 77
16106 See \`config.log' for more details." >&2;}
16107 { (exit 1); exit 1; }; }
16108 fi
16109 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16110 fi
16111 fi
16112 rm -f conftest.val
16113 else
16114 ac_cv_sizeof_int=0
16115 fi
16116 fi
16117 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16118 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16119 cat >>confdefs.h <<_ACEOF
16120 #define SIZEOF_INT $ac_cv_sizeof_int
16121 _ACEOF
16122
16123
16124 echo "$as_me:$LINENO: checking for long" >&5
16125 echo $ECHO_N "checking for long... $ECHO_C" >&6
16126 if test "${ac_cv_type_long+set}" = set; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16128 else
16129 cat >conftest.$ac_ext <<_ACEOF
16130 /* confdefs.h. */
16131 _ACEOF
16132 cat confdefs.h >>conftest.$ac_ext
16133 cat >>conftest.$ac_ext <<_ACEOF
16134 /* end confdefs.h. */
16135 $ac_includes_default
16136 int
16137 main ()
16138 {
16139 if ((long *) 0)
16140 return 0;
16141 if (sizeof (long))
16142 return 0;
16143 ;
16144 return 0;
16145 }
16146 _ACEOF
16147 rm -f conftest.$ac_objext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149 (eval $ac_compile) 2>conftest.er1
16150 ac_status=$?
16151 grep -v '^ *+' conftest.er1 >conftest.err
16152 rm -f conftest.er1
16153 cat conftest.err >&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); } &&
16156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16159 ac_status=$?
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try='test -s conftest.$ac_objext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16165 ac_status=$?
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16168 ac_cv_type_long=yes
16169 else
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173 ac_cv_type_long=no
16174 fi
16175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16176 fi
16177 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16178 echo "${ECHO_T}$ac_cv_type_long" >&6
16179
16180 echo "$as_me:$LINENO: checking size of long" >&5
16181 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16182 if test "${ac_cv_sizeof_long+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 else
16185 if test "$ac_cv_type_long" = yes; then
16186 # The cast to unsigned long works around a bug in the HP C Compiler
16187 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16188 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16189 # This bug is HP SR number 8606223364.
16190 if test "$cross_compiling" = yes; then
16191 # Depending upon the size, compute the lo and hi bounds.
16192 cat >conftest.$ac_ext <<_ACEOF
16193 /* confdefs.h. */
16194 _ACEOF
16195 cat confdefs.h >>conftest.$ac_ext
16196 cat >>conftest.$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16198 $ac_includes_default
16199 int
16200 main ()
16201 {
16202 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16203 test_array [0] = 0
16204
16205 ;
16206 return 0;
16207 }
16208 _ACEOF
16209 rm -f conftest.$ac_objext
16210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16211 (eval $ac_compile) 2>conftest.er1
16212 ac_status=$?
16213 grep -v '^ *+' conftest.er1 >conftest.err
16214 rm -f conftest.er1
16215 cat conftest.err >&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } &&
16218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16221 ac_status=$?
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; } &&
16224 { ac_try='test -s conftest.$ac_objext'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16227 ac_status=$?
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; }; then
16230 ac_lo=0 ac_mid=0
16231 while :; do
16232 cat >conftest.$ac_ext <<_ACEOF
16233 /* confdefs.h. */
16234 _ACEOF
16235 cat confdefs.h >>conftest.$ac_ext
16236 cat >>conftest.$ac_ext <<_ACEOF
16237 /* end confdefs.h. */
16238 $ac_includes_default
16239 int
16240 main ()
16241 {
16242 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16243 test_array [0] = 0
16244
16245 ;
16246 return 0;
16247 }
16248 _ACEOF
16249 rm -f conftest.$ac_objext
16250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251 (eval $ac_compile) 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } &&
16258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; } &&
16264 { ac_try='test -s conftest.$ac_objext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 ac_hi=$ac_mid; break
16271 else
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.$ac_ext >&5
16274
16275 ac_lo=`expr $ac_mid + 1`
16276 if test $ac_lo -le $ac_mid; then
16277 ac_lo= ac_hi=
16278 break
16279 fi
16280 ac_mid=`expr 2 '*' $ac_mid + 1`
16281 fi
16282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16283 done
16284 else
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.$ac_ext >&5
16287
16288 cat >conftest.$ac_ext <<_ACEOF
16289 /* confdefs.h. */
16290 _ACEOF
16291 cat confdefs.h >>conftest.$ac_ext
16292 cat >>conftest.$ac_ext <<_ACEOF
16293 /* end confdefs.h. */
16294 $ac_includes_default
16295 int
16296 main ()
16297 {
16298 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16299 test_array [0] = 0
16300
16301 ;
16302 return 0;
16303 }
16304 _ACEOF
16305 rm -f conftest.$ac_objext
16306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16307 (eval $ac_compile) 2>conftest.er1
16308 ac_status=$?
16309 grep -v '^ *+' conftest.er1 >conftest.err
16310 rm -f conftest.er1
16311 cat conftest.err >&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } &&
16314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; } &&
16320 { ac_try='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_hi=-1 ac_mid=-1
16327 while :; do
16328 cat >conftest.$ac_ext <<_ACEOF
16329 /* confdefs.h. */
16330 _ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334 $ac_includes_default
16335 int
16336 main ()
16337 {
16338 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16339 test_array [0] = 0
16340
16341 ;
16342 return 0;
16343 }
16344 _ACEOF
16345 rm -f conftest.$ac_objext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16347 (eval $ac_compile) 2>conftest.er1
16348 ac_status=$?
16349 grep -v '^ *+' conftest.er1 >conftest.err
16350 rm -f conftest.er1
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } &&
16354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; } &&
16360 { ac_try='test -s conftest.$ac_objext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16363 ac_status=$?
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_lo=$ac_mid; break
16367 else
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16370
16371 ac_hi=`expr '(' $ac_mid ')' - 1`
16372 if test $ac_mid -le $ac_hi; then
16373 ac_lo= ac_hi=
16374 break
16375 fi
16376 ac_mid=`expr 2 '*' $ac_mid`
16377 fi
16378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16379 done
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16383
16384 ac_lo= ac_hi=
16385 fi
16386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16387 fi
16388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16389 # Binary search between lo and hi bounds.
16390 while test "x$ac_lo" != "x$ac_hi"; do
16391 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16392 cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h. */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16399 int
16400 main ()
16401 {
16402 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16403 test_array [0] = 0
16404
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16412 ac_status=$?
16413 grep -v '^ *+' conftest.er1 >conftest.err
16414 rm -f conftest.er1
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16421 ac_status=$?
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; } &&
16424 { ac_try='test -s conftest.$ac_objext'
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_hi=$ac_mid
16431 else
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16434
16435 ac_lo=`expr '(' $ac_mid ')' + 1`
16436 fi
16437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16438 done
16439 case $ac_lo in
16440 ?*) ac_cv_sizeof_long=$ac_lo;;
16441 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16442 See \`config.log' for more details." >&5
16443 echo "$as_me: error: cannot compute sizeof (long), 77
16444 See \`config.log' for more details." >&2;}
16445 { (exit 1); exit 1; }; } ;;
16446 esac
16447 else
16448 if test "$cross_compiling" = yes; then
16449 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16450 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16451 { (exit 1); exit 1; }; }
16452 else
16453 cat >conftest.$ac_ext <<_ACEOF
16454 /* confdefs.h. */
16455 _ACEOF
16456 cat confdefs.h >>conftest.$ac_ext
16457 cat >>conftest.$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16459 $ac_includes_default
16460 long longval () { return (long) (sizeof (long)); }
16461 unsigned long ulongval () { return (long) (sizeof (long)); }
16462 #include <stdio.h>
16463 #include <stdlib.h>
16464 int
16465 main ()
16466 {
16467
16468 FILE *f = fopen ("conftest.val", "w");
16469 if (! f)
16470 exit (1);
16471 if (((long) (sizeof (long))) < 0)
16472 {
16473 long i = longval ();
16474 if (i != ((long) (sizeof (long))))
16475 exit (1);
16476 fprintf (f, "%ld\n", i);
16477 }
16478 else
16479 {
16480 unsigned long i = ulongval ();
16481 if (i != ((long) (sizeof (long))))
16482 exit (1);
16483 fprintf (f, "%lu\n", i);
16484 }
16485 exit (ferror (f) || fclose (f) != 0);
16486
16487 ;
16488 return 0;
16489 }
16490 _ACEOF
16491 rm -f conftest$ac_exeext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16493 (eval $ac_link) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_long=`cat conftest.val`
16503 else
16504 echo "$as_me: program exited with status $ac_status" >&5
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16507
16508 ( exit $ac_status )
16509 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16510 See \`config.log' for more details." >&5
16511 echo "$as_me: error: cannot compute sizeof (long), 77
16512 See \`config.log' for more details." >&2;}
16513 { (exit 1); exit 1; }; }
16514 fi
16515 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16516 fi
16517 fi
16518 rm -f conftest.val
16519 else
16520 ac_cv_sizeof_long=0
16521 fi
16522 fi
16523 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16524 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16525 cat >>confdefs.h <<_ACEOF
16526 #define SIZEOF_LONG $ac_cv_sizeof_long
16527 _ACEOF
16528
16529
16530 echo "$as_me:$LINENO: checking for size_t" >&5
16531 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16532 if test "${ac_cv_type_size_t+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 else
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 $ac_includes_default
16542 int
16543 main ()
16544 {
16545 if ((size_t *) 0)
16546 return 0;
16547 if (sizeof (size_t))
16548 return 0;
16549 ;
16550 return 0;
16551 }
16552 _ACEOF
16553 rm -f conftest.$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16556 ac_status=$?
16557 grep -v '^ *+' conftest.er1 >conftest.err
16558 rm -f conftest.er1
16559 cat conftest.err >&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_cv_type_size_t=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 ac_cv_type_size_t=no
16580 fi
16581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16582 fi
16583 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16584 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16585
16586 echo "$as_me:$LINENO: checking size of size_t" >&5
16587 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16588 if test "${ac_cv_sizeof_size_t+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16591 if test "$ac_cv_type_size_t" = yes; then
16592 # The cast to unsigned long works around a bug in the HP C Compiler
16593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16595 # This bug is HP SR number 8606223364.
16596 if test "$cross_compiling" = yes; then
16597 # Depending upon the size, compute the lo and hi bounds.
16598 cat >conftest.$ac_ext <<_ACEOF
16599 /* confdefs.h. */
16600 _ACEOF
16601 cat confdefs.h >>conftest.$ac_ext
16602 cat >>conftest.$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16604 $ac_includes_default
16605 int
16606 main ()
16607 {
16608 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16609 test_array [0] = 0
16610
16611 ;
16612 return 0;
16613 }
16614 _ACEOF
16615 rm -f conftest.$ac_objext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16617 (eval $ac_compile) 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16633 ac_status=$?
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_lo=0 ac_mid=0
16637 while :; do
16638 cat >conftest.$ac_ext <<_ACEOF
16639 /* confdefs.h. */
16640 _ACEOF
16641 cat confdefs.h >>conftest.$ac_ext
16642 cat >>conftest.$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 $ac_includes_default
16645 int
16646 main ()
16647 {
16648 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16649 test_array [0] = 0
16650
16651 ;
16652 return 0;
16653 }
16654 _ACEOF
16655 rm -f conftest.$ac_objext
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>conftest.er1
16658 ac_status=$?
16659 grep -v '^ *+' conftest.er1 >conftest.err
16660 rm -f conftest.er1
16661 cat conftest.err >&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } &&
16664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try='test -s conftest.$ac_objext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_hi=$ac_mid; break
16677 else
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16680
16681 ac_lo=`expr $ac_mid + 1`
16682 if test $ac_lo -le $ac_mid; then
16683 ac_lo= ac_hi=
16684 break
16685 fi
16686 ac_mid=`expr 2 '*' $ac_mid + 1`
16687 fi
16688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16689 done
16690 else
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16693
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16701 int
16702 main ()
16703 {
16704 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16705 test_array [0] = 0
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713 (eval $ac_compile) 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16723 ac_status=$?
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; } &&
16726 { ac_try='test -s conftest.$ac_objext'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16729 ac_status=$?
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; }; then
16732 ac_hi=-1 ac_mid=-1
16733 while :; do
16734 cat >conftest.$ac_ext <<_ACEOF
16735 /* confdefs.h. */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 $ac_includes_default
16741 int
16742 main ()
16743 {
16744 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16745 test_array [0] = 0
16746
16747 ;
16748 return 0;
16749 }
16750 _ACEOF
16751 rm -f conftest.$ac_objext
16752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16753 (eval $ac_compile) 2>conftest.er1
16754 ac_status=$?
16755 grep -v '^ *+' conftest.er1 >conftest.err
16756 rm -f conftest.er1
16757 cat conftest.err >&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } &&
16760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16763 ac_status=$?
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; } &&
16766 { ac_try='test -s conftest.$ac_objext'
16767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16768 (eval $ac_try) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16772 ac_lo=$ac_mid; break
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16776
16777 ac_hi=`expr '(' $ac_mid ')' - 1`
16778 if test $ac_mid -le $ac_hi; then
16779 ac_lo= ac_hi=
16780 break
16781 fi
16782 ac_mid=`expr 2 '*' $ac_mid`
16783 fi
16784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16785 done
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 ac_lo= ac_hi=
16791 fi
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793 fi
16794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16795 # Binary search between lo and hi bounds.
16796 while test "x$ac_lo" != "x$ac_hi"; do
16797 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16798 cat >conftest.$ac_ext <<_ACEOF
16799 /* confdefs.h. */
16800 _ACEOF
16801 cat confdefs.h >>conftest.$ac_ext
16802 cat >>conftest.$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 $ac_includes_default
16805 int
16806 main ()
16807 {
16808 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16809 test_array [0] = 0
16810
16811 ;
16812 return 0;
16813 }
16814 _ACEOF
16815 rm -f conftest.$ac_objext
16816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16817 (eval $ac_compile) 2>conftest.er1
16818 ac_status=$?
16819 grep -v '^ *+' conftest.er1 >conftest.err
16820 rm -f conftest.er1
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826 (eval $ac_try) 2>&5
16827 ac_status=$?
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; } &&
16830 { ac_try='test -s conftest.$ac_objext'
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_hi=$ac_mid
16837 else
16838 echo "$as_me: failed program was:" >&5
16839 sed 's/^/| /' conftest.$ac_ext >&5
16840
16841 ac_lo=`expr '(' $ac_mid ')' + 1`
16842 fi
16843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16844 done
16845 case $ac_lo in
16846 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16848 See \`config.log' for more details." >&5
16849 echo "$as_me: error: cannot compute sizeof (size_t), 77
16850 See \`config.log' for more details." >&2;}
16851 { (exit 1); exit 1; }; } ;;
16852 esac
16853 else
16854 if test "$cross_compiling" = yes; then
16855 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16856 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16857 { (exit 1); exit 1; }; }
16858 else
16859 cat >conftest.$ac_ext <<_ACEOF
16860 /* confdefs.h. */
16861 _ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 $ac_includes_default
16866 long longval () { return (long) (sizeof (size_t)); }
16867 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16868 #include <stdio.h>
16869 #include <stdlib.h>
16870 int
16871 main ()
16872 {
16873
16874 FILE *f = fopen ("conftest.val", "w");
16875 if (! f)
16876 exit (1);
16877 if (((long) (sizeof (size_t))) < 0)
16878 {
16879 long i = longval ();
16880 if (i != ((long) (sizeof (size_t))))
16881 exit (1);
16882 fprintf (f, "%ld\n", i);
16883 }
16884 else
16885 {
16886 unsigned long i = ulongval ();
16887 if (i != ((long) (sizeof (size_t))))
16888 exit (1);
16889 fprintf (f, "%lu\n", i);
16890 }
16891 exit (ferror (f) || fclose (f) != 0);
16892
16893 ;
16894 return 0;
16895 }
16896 _ACEOF
16897 rm -f conftest$ac_exeext
16898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16899 (eval $ac_link) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_size_t=`cat conftest.val`
16909 else
16910 echo "$as_me: program exited with status $ac_status" >&5
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16913
16914 ( exit $ac_status )
16915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16916 See \`config.log' for more details." >&5
16917 echo "$as_me: error: cannot compute sizeof (size_t), 77
16918 See \`config.log' for more details." >&2;}
16919 { (exit 1); exit 1; }; }
16920 fi
16921 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16922 fi
16923 fi
16924 rm -f conftest.val
16925 else
16926 ac_cv_sizeof_size_t=0
16927 fi
16928 fi
16929 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16930 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16931 cat >>confdefs.h <<_ACEOF
16932 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16933 _ACEOF
16934
16935
16936
16937 case "${host}" in
16938 arm-*-linux* )
16939 echo "$as_me:$LINENO: checking for long long" >&5
16940 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16941 if test "${ac_cv_type_long_long+set}" = set; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 else
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16951 int
16952 main ()
16953 {
16954 if ((long long *) 0)
16955 return 0;
16956 if (sizeof (long long))
16957 return 0;
16958 ;
16959 return 0;
16960 }
16961 _ACEOF
16962 rm -f conftest.$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16965 ac_status=$?
16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16974 ac_status=$?
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; } &&
16977 { ac_try='test -s conftest.$ac_objext'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; }; then
16983 ac_cv_type_long_long=yes
16984 else
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 ac_cv_type_long_long=no
16989 fi
16990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16991 fi
16992 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16993 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16994
16995 echo "$as_me:$LINENO: checking size of long long" >&5
16996 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16997 if test "${ac_cv_sizeof_long_long+set}" = set; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
16999 else
17000 if test "$ac_cv_type_long_long" = yes; then
17001 # The cast to unsigned long works around a bug in the HP C Compiler
17002 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17003 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17004 # This bug is HP SR number 8606223364.
17005 if test "$cross_compiling" = yes; then
17006 # Depending upon the size, compute the lo and hi bounds.
17007 cat >conftest.$ac_ext <<_ACEOF
17008 /* confdefs.h. */
17009 _ACEOF
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17014 int
17015 main ()
17016 {
17017 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17018 test_array [0] = 0
17019
17020 ;
17021 return 0;
17022 }
17023 _ACEOF
17024 rm -f conftest.$ac_objext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17026 (eval $ac_compile) 2>conftest.er1
17027 ac_status=$?
17028 grep -v '^ *+' conftest.er1 >conftest.err
17029 rm -f conftest.er1
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17036 ac_status=$?
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17042 ac_status=$?
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17045 ac_lo=0 ac_mid=0
17046 while :; do
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 int
17055 main ()
17056 {
17057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17058 test_array [0] = 0
17059
17060 ;
17061 return 0;
17062 }
17063 _ACEOF
17064 rm -f conftest.$ac_objext
17065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17066 (eval $ac_compile) 2>conftest.er1
17067 ac_status=$?
17068 grep -v '^ *+' conftest.er1 >conftest.err
17069 rm -f conftest.er1
17070 cat conftest.err >&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } &&
17073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17076 ac_status=$?
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; } &&
17079 { ac_try='test -s conftest.$ac_objext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_hi=$ac_mid; break
17086 else
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17089
17090 ac_lo=`expr $ac_mid + 1`
17091 if test $ac_lo -le $ac_mid; then
17092 ac_lo= ac_hi=
17093 break
17094 fi
17095 ac_mid=`expr 2 '*' $ac_mid + 1`
17096 fi
17097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17098 done
17099 else
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17102
17103 cat >conftest.$ac_ext <<_ACEOF
17104 /* confdefs.h. */
17105 _ACEOF
17106 cat confdefs.h >>conftest.$ac_ext
17107 cat >>conftest.$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 $ac_includes_default
17110 int
17111 main ()
17112 {
17113 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17114 test_array [0] = 0
17115
17116 ;
17117 return 0;
17118 }
17119 _ACEOF
17120 rm -f conftest.$ac_objext
17121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17122 (eval $ac_compile) 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } &&
17129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17132 ac_status=$?
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; } &&
17135 { ac_try='test -s conftest.$ac_objext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17141 ac_hi=-1 ac_mid=-1
17142 while :; do
17143 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */
17145 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 $ac_includes_default
17150 int
17151 main ()
17152 {
17153 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17154 test_array [0] = 0
17155
17156 ;
17157 return 0;
17158 }
17159 _ACEOF
17160 rm -f conftest.$ac_objext
17161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17162 (eval $ac_compile) 2>conftest.er1
17163 ac_status=$?
17164 grep -v '^ *+' conftest.er1 >conftest.err
17165 rm -f conftest.er1
17166 cat conftest.err >&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } &&
17169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17172 ac_status=$?
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; } &&
17175 { ac_try='test -s conftest.$ac_objext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17178 ac_status=$?
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_lo=$ac_mid; break
17182 else
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17185
17186 ac_hi=`expr '(' $ac_mid ')' - 1`
17187 if test $ac_mid -le $ac_hi; then
17188 ac_lo= ac_hi=
17189 break
17190 fi
17191 ac_mid=`expr 2 '*' $ac_mid`
17192 fi
17193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17194 done
17195 else
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17198
17199 ac_lo= ac_hi=
17200 fi
17201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17202 fi
17203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17204 # Binary search between lo and hi bounds.
17205 while test "x$ac_lo" != "x$ac_hi"; do
17206 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213 $ac_includes_default
17214 int
17215 main ()
17216 {
17217 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17218 test_array [0] = 0
17219
17220 ;
17221 return 0;
17222 }
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17227 ac_status=$?
17228 grep -v '^ *+' conftest.er1 >conftest.err
17229 rm -f conftest.er1
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17236 ac_status=$?
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; } &&
17239 { ac_try='test -s conftest.$ac_objext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17242 ac_status=$?
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_hi=$ac_mid
17246 else
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.$ac_ext >&5
17249
17250 ac_lo=`expr '(' $ac_mid ')' + 1`
17251 fi
17252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17253 done
17254 case $ac_lo in
17255 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17256 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17257 See \`config.log' for more details." >&5
17258 echo "$as_me: error: cannot compute sizeof (long long), 77
17259 See \`config.log' for more details." >&2;}
17260 { (exit 1); exit 1; }; } ;;
17261 esac
17262 else
17263 if test "$cross_compiling" = yes; then
17264 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17265 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17266 { (exit 1); exit 1; }; }
17267 else
17268 cat >conftest.$ac_ext <<_ACEOF
17269 /* confdefs.h. */
17270 _ACEOF
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17274 $ac_includes_default
17275 long longval () { return (long) (sizeof (long long)); }
17276 unsigned long ulongval () { return (long) (sizeof (long long)); }
17277 #include <stdio.h>
17278 #include <stdlib.h>
17279 int
17280 main ()
17281 {
17282
17283 FILE *f = fopen ("conftest.val", "w");
17284 if (! f)
17285 exit (1);
17286 if (((long) (sizeof (long long))) < 0)
17287 {
17288 long i = longval ();
17289 if (i != ((long) (sizeof (long long))))
17290 exit (1);
17291 fprintf (f, "%ld\n", i);
17292 }
17293 else
17294 {
17295 unsigned long i = ulongval ();
17296 if (i != ((long) (sizeof (long long))))
17297 exit (1);
17298 fprintf (f, "%lu\n", i);
17299 }
17300 exit (ferror (f) || fclose (f) != 0);
17301
17302 ;
17303 return 0;
17304 }
17305 _ACEOF
17306 rm -f conftest$ac_exeext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17308 (eval $ac_link) 2>&5
17309 ac_status=$?
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17314 ac_status=$?
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 ac_cv_sizeof_long_long=`cat conftest.val`
17318 else
17319 echo "$as_me: program exited with status $ac_status" >&5
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17322
17323 ( exit $ac_status )
17324 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17325 See \`config.log' for more details." >&5
17326 echo "$as_me: error: cannot compute sizeof (long long), 77
17327 See \`config.log' for more details." >&2;}
17328 { (exit 1); exit 1; }; }
17329 fi
17330 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17331 fi
17332 fi
17333 rm -f conftest.val
17334 else
17335 ac_cv_sizeof_long_long=0
17336 fi
17337 fi
17338 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17339 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17340 cat >>confdefs.h <<_ACEOF
17341 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17342 _ACEOF
17343
17344
17345 ;;
17346 *-hp-hpux* )
17347 echo "$as_me:$LINENO: checking for long long" >&5
17348 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17349 if test "${ac_cv_type_long_long+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17352 cat >conftest.$ac_ext <<_ACEOF
17353 /* confdefs.h. */
17354 _ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358 $ac_includes_default
17359 int
17360 main ()
17361 {
17362 if ((long long *) 0)
17363 return 0;
17364 if (sizeof (long long))
17365 return 0;
17366 ;
17367 return 0;
17368 }
17369 _ACEOF
17370 rm -f conftest.$ac_objext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17372 (eval $ac_compile) 2>conftest.er1
17373 ac_status=$?
17374 grep -v '^ *+' conftest.er1 >conftest.err
17375 rm -f conftest.er1
17376 cat conftest.err >&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); } &&
17379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17382 ac_status=$?
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try='test -s conftest.$ac_objext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17388 ac_status=$?
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 ac_cv_type_long_long=yes
17392 else
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.$ac_ext >&5
17395
17396 ac_cv_type_long_long=no
17397 fi
17398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17399 fi
17400 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17401 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17402
17403 echo "$as_me:$LINENO: checking size of long long" >&5
17404 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17405 if test "${ac_cv_sizeof_long_long+set}" = set; then
17406 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 else
17408 if test "$ac_cv_type_long_long" = yes; then
17409 # The cast to unsigned long works around a bug in the HP C Compiler
17410 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17411 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17412 # This bug is HP SR number 8606223364.
17413 if test "$cross_compiling" = yes; then
17414 # Depending upon the size, compute the lo and hi bounds.
17415 cat >conftest.$ac_ext <<_ACEOF
17416 /* confdefs.h. */
17417 _ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 $ac_includes_default
17422 int
17423 main ()
17424 {
17425 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17426 test_array [0] = 0
17427
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 rm -f conftest.$ac_objext
17433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17434 (eval $ac_compile) 2>conftest.er1
17435 ac_status=$?
17436 grep -v '^ *+' conftest.er1 >conftest.err
17437 rm -f conftest.er1
17438 cat conftest.err >&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } &&
17441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 ac_lo=0 ac_mid=0
17454 while :; do
17455 cat >conftest.$ac_ext <<_ACEOF
17456 /* confdefs.h. */
17457 _ACEOF
17458 cat confdefs.h >>conftest.$ac_ext
17459 cat >>conftest.$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17461 $ac_includes_default
17462 int
17463 main ()
17464 {
17465 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17466 test_array [0] = 0
17467
17468 ;
17469 return 0;
17470 }
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17474 (eval $ac_compile) 2>conftest.er1
17475 ac_status=$?
17476 grep -v '^ *+' conftest.er1 >conftest.err
17477 rm -f conftest.er1
17478 cat conftest.err >&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } &&
17481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483 (eval $ac_try) 2>&5
17484 ac_status=$?
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; } &&
17487 { ac_try='test -s conftest.$ac_objext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_hi=$ac_mid; break
17494 else
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17497
17498 ac_lo=`expr $ac_mid + 1`
17499 if test $ac_lo -le $ac_mid; then
17500 ac_lo= ac_hi=
17501 break
17502 fi
17503 ac_mid=`expr 2 '*' $ac_mid + 1`
17504 fi
17505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17506 done
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 cat >conftest.$ac_ext <<_ACEOF
17512 /* confdefs.h. */
17513 _ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17518 int
17519 main ()
17520 {
17521 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17522 test_array [0] = 0
17523
17524 ;
17525 return 0;
17526 }
17527 _ACEOF
17528 rm -f conftest.$ac_objext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17530 (eval $ac_compile) 2>conftest.er1
17531 ac_status=$?
17532 grep -v '^ *+' conftest.er1 >conftest.err
17533 rm -f conftest.er1
17534 cat conftest.err >&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17540 ac_status=$?
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; } &&
17543 { ac_try='test -s conftest.$ac_objext'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; }; then
17549 ac_hi=-1 ac_mid=-1
17550 while :; do
17551 cat >conftest.$ac_ext <<_ACEOF
17552 /* confdefs.h. */
17553 _ACEOF
17554 cat confdefs.h >>conftest.$ac_ext
17555 cat >>conftest.$ac_ext <<_ACEOF
17556 /* end confdefs.h. */
17557 $ac_includes_default
17558 int
17559 main ()
17560 {
17561 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17562 test_array [0] = 0
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>conftest.er1
17571 ac_status=$?
17572 grep -v '^ *+' conftest.er1 >conftest.err
17573 rm -f conftest.er1
17574 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; } &&
17583 { ac_try='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17586 ac_status=$?
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17589 ac_lo=$ac_mid; break
17590 else
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17593
17594 ac_hi=`expr '(' $ac_mid ')' - 1`
17595 if test $ac_mid -le $ac_hi; then
17596 ac_lo= ac_hi=
17597 break
17598 fi
17599 ac_mid=`expr 2 '*' $ac_mid`
17600 fi
17601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17602 done
17603 else
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17606
17607 ac_lo= ac_hi=
17608 fi
17609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17610 fi
17611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17612 # Binary search between lo and hi bounds.
17613 while test "x$ac_lo" != "x$ac_hi"; do
17614 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17615 cat >conftest.$ac_ext <<_ACEOF
17616 /* confdefs.h. */
17617 _ACEOF
17618 cat confdefs.h >>conftest.$ac_ext
17619 cat >>conftest.$ac_ext <<_ACEOF
17620 /* end confdefs.h. */
17621 $ac_includes_default
17622 int
17623 main ()
17624 {
17625 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17626 test_array [0] = 0
17627
17628 ;
17629 return 0;
17630 }
17631 _ACEOF
17632 rm -f conftest.$ac_objext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17634 (eval $ac_compile) 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17644 ac_status=$?
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; } &&
17647 { ac_try='test -s conftest.$ac_objext'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; }; then
17653 ac_hi=$ac_mid
17654 else
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17657
17658 ac_lo=`expr '(' $ac_mid ')' + 1`
17659 fi
17660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17661 done
17662 case $ac_lo in
17663 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17664 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17665 See \`config.log' for more details." >&5
17666 echo "$as_me: error: cannot compute sizeof (long long), 77
17667 See \`config.log' for more details." >&2;}
17668 { (exit 1); exit 1; }; } ;;
17669 esac
17670 else
17671 if test "$cross_compiling" = yes; then
17672 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17673 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17674 { (exit 1); exit 1; }; }
17675 else
17676 cat >conftest.$ac_ext <<_ACEOF
17677 /* confdefs.h. */
17678 _ACEOF
17679 cat confdefs.h >>conftest.$ac_ext
17680 cat >>conftest.$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 $ac_includes_default
17683 long longval () { return (long) (sizeof (long long)); }
17684 unsigned long ulongval () { return (long) (sizeof (long long)); }
17685 #include <stdio.h>
17686 #include <stdlib.h>
17687 int
17688 main ()
17689 {
17690
17691 FILE *f = fopen ("conftest.val", "w");
17692 if (! f)
17693 exit (1);
17694 if (((long) (sizeof (long long))) < 0)
17695 {
17696 long i = longval ();
17697 if (i != ((long) (sizeof (long long))))
17698 exit (1);
17699 fprintf (f, "%ld\n", i);
17700 }
17701 else
17702 {
17703 unsigned long i = ulongval ();
17704 if (i != ((long) (sizeof (long long))))
17705 exit (1);
17706 fprintf (f, "%lu\n", i);
17707 }
17708 exit (ferror (f) || fclose (f) != 0);
17709
17710 ;
17711 return 0;
17712 }
17713 _ACEOF
17714 rm -f conftest$ac_exeext
17715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17716 (eval $ac_link) 2>&5
17717 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_cv_sizeof_long_long=`cat conftest.val`
17726 else
17727 echo "$as_me: program exited with status $ac_status" >&5
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.$ac_ext >&5
17730
17731 ( exit $ac_status )
17732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17733 See \`config.log' for more details." >&5
17734 echo "$as_me: error: cannot compute sizeof (long long), 77
17735 See \`config.log' for more details." >&2;}
17736 { (exit 1); exit 1; }; }
17737 fi
17738 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17739 fi
17740 fi
17741 rm -f conftest.val
17742 else
17743 ac_cv_sizeof_long_long=0
17744 fi
17745 fi
17746 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17747 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17748 cat >>confdefs.h <<_ACEOF
17749 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17750 _ACEOF
17751
17752
17753 if test "$ac_cv_sizeof_long_long" != "0"; then
17754 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17755 fi
17756 ;;
17757 * )
17758 echo "$as_me:$LINENO: checking for long long" >&5
17759 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17760 if test "${ac_cv_type_long_long+set}" = set; then
17761 echo $ECHO_N "(cached) $ECHO_C" >&6
17762 else
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h. */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 $ac_includes_default
17770 int
17771 main ()
17772 {
17773 if ((long long *) 0)
17774 return 0;
17775 if (sizeof (long long))
17776 return 0;
17777 ;
17778 return 0;
17779 }
17780 _ACEOF
17781 rm -f conftest.$ac_objext
17782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17783 (eval $ac_compile) 2>conftest.er1
17784 ac_status=$?
17785 grep -v '^ *+' conftest.er1 >conftest.err
17786 rm -f conftest.er1
17787 cat conftest.err >&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } &&
17790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; } &&
17796 { ac_try='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17799 ac_status=$?
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 ac_cv_type_long_long=yes
17803 else
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.$ac_ext >&5
17806
17807 ac_cv_type_long_long=no
17808 fi
17809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17810 fi
17811 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17812 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17813
17814 echo "$as_me:$LINENO: checking size of long long" >&5
17815 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17816 if test "${ac_cv_sizeof_long_long+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819 if test "$ac_cv_type_long_long" = yes; then
17820 # The cast to unsigned long works around a bug in the HP C Compiler
17821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17823 # This bug is HP SR number 8606223364.
17824 if test "$cross_compiling" = yes; then
17825 # Depending upon the size, compute the lo and hi bounds.
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17833 int
17834 main ()
17835 {
17836 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17837 test_array [0] = 0
17838
17839 ;
17840 return 0;
17841 }
17842 _ACEOF
17843 rm -f conftest.$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17846 ac_status=$?
17847 grep -v '^ *+' conftest.er1 >conftest.err
17848 rm -f conftest.er1
17849 cat conftest.err >&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 ac_lo=0 ac_mid=0
17865 while :; do
17866 cat >conftest.$ac_ext <<_ACEOF
17867 /* confdefs.h. */
17868 _ACEOF
17869 cat confdefs.h >>conftest.$ac_ext
17870 cat >>conftest.$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 $ac_includes_default
17873 int
17874 main ()
17875 {
17876 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17877 test_array [0] = 0
17878
17879 ;
17880 return 0;
17881 }
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>conftest.er1
17886 ac_status=$?
17887 grep -v '^ *+' conftest.er1 >conftest.err
17888 rm -f conftest.er1
17889 cat conftest.err >&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } &&
17892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17895 ac_status=$?
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17901 ac_status=$?
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 ac_hi=$ac_mid; break
17905 else
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17908
17909 ac_lo=`expr $ac_mid + 1`
17910 if test $ac_lo -le $ac_mid; then
17911 ac_lo= ac_hi=
17912 break
17913 fi
17914 ac_mid=`expr 2 '*' $ac_mid + 1`
17915 fi
17916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17917 done
17918 else
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.$ac_ext >&5
17921
17922 cat >conftest.$ac_ext <<_ACEOF
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 $ac_includes_default
17929 int
17930 main ()
17931 {
17932 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17933 test_array [0] = 0
17934
17935 ;
17936 return 0;
17937 }
17938 _ACEOF
17939 rm -f conftest.$ac_objext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17941 (eval $ac_compile) 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17951 ac_status=$?
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; } &&
17954 { ac_try='test -s conftest.$ac_objext'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17957 ac_status=$?
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; }; then
17960 ac_hi=-1 ac_mid=-1
17961 while :; do
17962 cat >conftest.$ac_ext <<_ACEOF
17963 /* confdefs.h. */
17964 _ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17969 int
17970 main ()
17971 {
17972 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17973 test_array [0] = 0
17974
17975 ;
17976 return 0;
17977 }
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17981 (eval $ac_compile) 2>conftest.er1
17982 ac_status=$?
17983 grep -v '^ *+' conftest.er1 >conftest.err
17984 rm -f conftest.er1
17985 cat conftest.err >&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } &&
17988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17997 ac_status=$?
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_lo=$ac_mid; break
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 ac_hi=`expr '(' $ac_mid ')' - 1`
18006 if test $ac_mid -le $ac_hi; then
18007 ac_lo= ac_hi=
18008 break
18009 fi
18010 ac_mid=`expr 2 '*' $ac_mid`
18011 fi
18012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18013 done
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18017
18018 ac_lo= ac_hi=
18019 fi
18020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18021 fi
18022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18023 # Binary search between lo and hi bounds.
18024 while test "x$ac_lo" != "x$ac_hi"; do
18025 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18026 cat >conftest.$ac_ext <<_ACEOF
18027 /* confdefs.h. */
18028 _ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18033 int
18034 main ()
18035 {
18036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18037 test_array [0] = 0
18038
18039 ;
18040 return 0;
18041 }
18042 _ACEOF
18043 rm -f conftest.$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18055 ac_status=$?
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; } &&
18058 { ac_try='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18061 ac_status=$?
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18064 ac_hi=$ac_mid
18065 else
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.$ac_ext >&5
18068
18069 ac_lo=`expr '(' $ac_mid ')' + 1`
18070 fi
18071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18072 done
18073 case $ac_lo in
18074 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18075 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18076 See \`config.log' for more details." >&5
18077 echo "$as_me: error: cannot compute sizeof (long long), 77
18078 See \`config.log' for more details." >&2;}
18079 { (exit 1); exit 1; }; } ;;
18080 esac
18081 else
18082 if test "$cross_compiling" = yes; then
18083 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18084 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18085 { (exit 1); exit 1; }; }
18086 else
18087 cat >conftest.$ac_ext <<_ACEOF
18088 /* confdefs.h. */
18089 _ACEOF
18090 cat confdefs.h >>conftest.$ac_ext
18091 cat >>conftest.$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18093 $ac_includes_default
18094 long longval () { return (long) (sizeof (long long)); }
18095 unsigned long ulongval () { return (long) (sizeof (long long)); }
18096 #include <stdio.h>
18097 #include <stdlib.h>
18098 int
18099 main ()
18100 {
18101
18102 FILE *f = fopen ("conftest.val", "w");
18103 if (! f)
18104 exit (1);
18105 if (((long) (sizeof (long long))) < 0)
18106 {
18107 long i = longval ();
18108 if (i != ((long) (sizeof (long long))))
18109 exit (1);
18110 fprintf (f, "%ld\n", i);
18111 }
18112 else
18113 {
18114 unsigned long i = ulongval ();
18115 if (i != ((long) (sizeof (long long))))
18116 exit (1);
18117 fprintf (f, "%lu\n", i);
18118 }
18119 exit (ferror (f) || fclose (f) != 0);
18120
18121 ;
18122 return 0;
18123 }
18124 _ACEOF
18125 rm -f conftest$ac_exeext
18126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18127 (eval $ac_link) 2>&5
18128 ac_status=$?
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18133 ac_status=$?
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18136 ac_cv_sizeof_long_long=`cat conftest.val`
18137 else
18138 echo "$as_me: program exited with status $ac_status" >&5
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.$ac_ext >&5
18141
18142 ( exit $ac_status )
18143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18144 See \`config.log' for more details." >&5
18145 echo "$as_me: error: cannot compute sizeof (long long), 77
18146 See \`config.log' for more details." >&2;}
18147 { (exit 1); exit 1; }; }
18148 fi
18149 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18150 fi
18151 fi
18152 rm -f conftest.val
18153 else
18154 ac_cv_sizeof_long_long=0
18155 fi
18156 fi
18157 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18158 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18159 cat >>confdefs.h <<_ACEOF
18160 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18161 _ACEOF
18162
18163
18164 esac
18165
18166 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18167 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18168 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171
18172 if test "$cross_compiling" = yes; then
18173
18174 case "${host}" in
18175 *-pc-msdosdjgpp )
18176 wx_cv_sizeof_wchar_t=0
18177 ;;
18178 * )
18179 wx_cv_sizeof_wchar_t=4
18180 ;;
18181 esac
18182
18183
18184 else
18185 cat >conftest.$ac_ext <<_ACEOF
18186 /* confdefs.h. */
18187 _ACEOF
18188 cat confdefs.h >>conftest.$ac_ext
18189 cat >>conftest.$ac_ext <<_ACEOF
18190 /* end confdefs.h. */
18191
18192 /* DJGPP only has fake wchar_t: */
18193 #ifdef __DJGPP__
18194 # error "fake wchar_t"
18195 #endif
18196 #ifdef HAVE_WCHAR_H
18197 # ifdef __CYGWIN__
18198 # include <stddef.h>
18199 # endif
18200 # include <wchar.h>
18201 #endif
18202 #ifdef HAVE_STDLIB_H
18203 # include <stdlib.h>
18204 #endif
18205 #include <stdio.h>
18206 int main()
18207 {
18208 FILE *f=fopen("conftestval", "w");
18209 if (!f) exit(1);
18210 fprintf(f, "%i", sizeof(wchar_t));
18211 exit(0);
18212 }
18213
18214 _ACEOF
18215 rm -f conftest$ac_exeext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18217 (eval $ac_link) 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18223 ac_status=$?
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; }; then
18226 wx_cv_sizeof_wchar_t=`cat conftestval`
18227 else
18228 echo "$as_me: program exited with status $ac_status" >&5
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18231
18232 ( exit $ac_status )
18233 wx_cv_sizeof_wchar_t=0
18234 fi
18235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18236 fi
18237
18238 fi
18239 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18240 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18241
18242 cat >>confdefs.h <<_ACEOF
18243 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18244 _ACEOF
18245
18246
18247 echo "$as_me:$LINENO: checking for va_copy" >&5
18248 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18249 if test "${wx_cv_func_va_copy+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 else
18252
18253 cat >conftest.$ac_ext <<_ACEOF
18254
18255 #include <stdarg.h>
18256 void foo(char *f, ...)
18257 {
18258 va_list ap1, ap2;
18259 va_start(ap1, f);
18260 va_copy(ap2, ap1);
18261 va_end(ap2);
18262 va_end(ap1);
18263 }
18264 int main()
18265 {
18266 return foo("hi", 17);
18267 }
18268 _ACEOF
18269 rm -f conftest.$ac_objext conftest$ac_exeext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18271 (eval $ac_link) 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try='test -s conftest$ac_exeext'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18287 ac_status=$?
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; }; then
18290 wx_cv_func_va_copy=yes
18291 else
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.$ac_ext >&5
18294
18295 wx_cv_func_va_copy=no
18296
18297 fi
18298 rm -f conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext conftest.$ac_ext
18300
18301
18302 fi
18303 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18304 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18305
18306 if test $wx_cv_func_va_copy = "yes"; then
18307 cat >>confdefs.h <<\_ACEOF
18308 #define HAVE_VA_COPY 1
18309 _ACEOF
18310
18311 else
18312 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18313 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18314 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18315 echo $ECHO_N "(cached) $ECHO_C" >&6
18316 else
18317
18318 if test "$cross_compiling" = yes; then
18319 wx_cv_type_va_list_lvalue=yes
18320
18321 else
18322 cat >conftest.$ac_ext <<_ACEOF
18323
18324 #include <stdarg.h>
18325 int foo(char *f, ...)
18326 {
18327 va_list ap1, ap2;
18328 va_start(ap1, f);
18329 ap2 = ap1;
18330 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18331 return 1;
18332 va_end(ap2);
18333 va_end(ap1);
18334 return 0;
18335 }
18336 int main()
18337 {
18338 return foo("hi", 17);
18339 }
18340 _ACEOF
18341 rm -f conftest$ac_exeext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18343 (eval $ac_link) 2>&5
18344 ac_status=$?
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18349 ac_status=$?
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; }; then
18352 wx_cv_type_va_list_lvalue=yes
18353 else
18354 echo "$as_me: program exited with status $ac_status" >&5
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18357
18358 ( exit $ac_status )
18359 wx_cv_type_va_list_lvalue=no
18360 fi
18361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18362 fi
18363
18364
18365 fi
18366 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18367 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18368
18369 if test $wx_cv_type_va_list_lvalue != "yes"; then
18370 cat >>confdefs.h <<\_ACEOF
18371 #define VA_LIST_IS_ARRAY 1
18372 _ACEOF
18373
18374 fi
18375 fi
18376
18377 # Check whether --enable-largefile or --disable-largefile was given.
18378 if test "${enable_largefile+set}" = set; then
18379 enableval="$enable_largefile"
18380
18381 fi;
18382 if test "$enable_largefile" != no; then
18383 wx_largefile=no
18384
18385 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18386 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18387 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 else
18390
18391 cat >conftest.$ac_ext <<_ACEOF
18392 /* confdefs.h. */
18393 _ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 #define _FILE_OFFSET_BITS 64
18398 #include <sys/types.h>
18399 int
18400 main ()
18401 {
18402 typedef struct {
18403 unsigned int field: sizeof(off_t) == 8;
18404 } wxlf;
18405
18406 ;
18407 return 0;
18408 }
18409 _ACEOF
18410 rm -f conftest.$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18422 ac_status=$?
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; } &&
18425 { ac_try='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_cv_sys_file_offset_bits=64
18432 else
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18435
18436 ac_cv_sys_file_offset_bits=no
18437 fi
18438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18439
18440
18441 fi
18442 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18443 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18444
18445 if test "$ac_cv_sys_file_offset_bits" != no; then
18446 wx_largefile=yes
18447 cat >>confdefs.h <<_ACEOF
18448 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18449 _ACEOF
18450
18451 fi
18452
18453 if test "x$wx_largefile" != "xyes"; then
18454
18455 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18456 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18457 if test "${ac_cv_sys_large_files+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 else
18460
18461 cat >conftest.$ac_ext <<_ACEOF
18462 /* confdefs.h. */
18463 _ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 #define _LARGE_FILES 1
18468 #include <sys/types.h>
18469 int
18470 main ()
18471 {
18472 typedef struct {
18473 unsigned int field: sizeof(off_t) == 8;
18474 } wxlf;
18475
18476 ;
18477 return 0;
18478 }
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } &&
18489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18492 ac_status=$?
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try='test -s conftest.$ac_objext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18498 ac_status=$?
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 ac_cv_sys_large_files=1
18502 else
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18505
18506 ac_cv_sys_large_files=no
18507 fi
18508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18509
18510
18511 fi
18512 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18513 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18514
18515 if test "$ac_cv_sys_large_files" != no; then
18516 wx_largefile=yes
18517 cat >>confdefs.h <<_ACEOF
18518 #define _LARGE_FILES $ac_cv_sys_large_files
18519 _ACEOF
18520
18521 fi
18522
18523 fi
18524
18525 echo "$as_me:$LINENO: checking if large file support is available" >&5
18526 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18527 if test "x$wx_largefile" = "xyes"; then
18528 cat >>confdefs.h <<\_ACEOF
18529 #define HAVE_LARGEFILE_SUPPORT 1
18530 _ACEOF
18531
18532 fi
18533 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18534 echo "${ECHO_T}$wx_largefile" >&6
18535 fi
18536
18537
18538 if test "x$wx_largefile" = "xyes"; then
18539 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18540 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18541 else
18542 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18543 fi
18544 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18545 fi
18546
18547 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18548 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18549 if test "${ac_cv_c_bigendian+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 else
18552 ac_cv_c_bigendian=unknown
18553 # See if sys/param.h defines the BYTE_ORDER macro.
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h. */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 #include <sys/types.h>
18561 #include <sys/param.h>
18562 int
18563 main ()
18564 {
18565
18566 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18567 bogus endian macros
18568 #endif
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 rm -f conftest.$ac_objext
18574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18575 (eval $ac_compile) 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } &&
18582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18585 ac_status=$?
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; } &&
18588 { ac_try='test -s conftest.$ac_objext'
18589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590 (eval $ac_try) 2>&5
18591 ac_status=$?
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 # It does; now see whether it defined to BIG_ENDIAN or not.
18595 cat >conftest.$ac_ext <<_ACEOF
18596 /* confdefs.h. */
18597 _ACEOF
18598 cat confdefs.h >>conftest.$ac_ext
18599 cat >>conftest.$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #include <sys/types.h>
18602 #include <sys/param.h>
18603 int
18604 main ()
18605 {
18606
18607 #if BYTE_ORDER != BIG_ENDIAN
18608 not big endian
18609 #endif
18610 ;
18611 return 0;
18612 }
18613 _ACEOF
18614 rm -f conftest.$ac_objext
18615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18616 (eval $ac_compile) 2>conftest.er1
18617 ac_status=$?
18618 grep -v '^ *+' conftest.er1 >conftest.err
18619 rm -f conftest.er1
18620 cat conftest.err >&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } &&
18623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try='test -s conftest.$ac_objext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18632 ac_status=$?
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_cv_c_bigendian=yes
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18639
18640 ac_cv_c_bigendian=no
18641 fi
18642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18643 else
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18646
18647 fi
18648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 if test $ac_cv_c_bigendian = unknown; then
18650 if test "$cross_compiling" = yes; then
18651 ac_cv_c_bigendian=unknown
18652 else
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 main () {
18660 /* Are we little or big endian? From Harbison&Steele. */
18661 union
18662 {
18663 long l;
18664 char c[sizeof (long)];
18665 } u;
18666 u.l = 1;
18667 exit (u.c[sizeof (long) - 1] == 1);
18668 }
18669 _ACEOF
18670 rm -f conftest$ac_exeext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18672 (eval $ac_link) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18678 ac_status=$?
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_c_bigendian=no
18682 else
18683 echo "$as_me: program exited with status $ac_status" >&5
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18686
18687 ( exit $ac_status )
18688 ac_cv_c_bigendian=yes
18689 fi
18690 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18691 fi
18692 fi
18693 fi
18694 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18695 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18696 if test $ac_cv_c_bigendian = unknown; then
18697 { 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
18698 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;}
18699 fi
18700 if test $ac_cv_c_bigendian = yes; then
18701 cat >>confdefs.h <<\_ACEOF
18702 #define WORDS_BIGENDIAN 1
18703 _ACEOF
18704
18705 fi
18706
18707
18708 ac_ext=cc
18709 ac_cpp='$CXXCPP $CPPFLAGS'
18710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18713 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18714 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18715 if test -z "$CXXCPP"; then
18716 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18718 else
18719 # Double quotes because CXXCPP needs to be expanded
18720 for CXXCPP in "$CXX -E" "/lib/cpp"
18721 do
18722 ac_preproc_ok=false
18723 for ac_cxx_preproc_warn_flag in '' yes
18724 do
18725 # Use a header file that comes with gcc, so configuring glibc
18726 # with a fresh cross-compiler works.
18727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18728 # <limits.h> exists even on freestanding compilers.
18729 # On the NeXT, cc -E runs the code through the compiler's parser,
18730 # not just through cpp. "Syntax error" is here to catch this case.
18731 cat >conftest.$ac_ext <<_ACEOF
18732 /* confdefs.h. */
18733 _ACEOF
18734 cat confdefs.h >>conftest.$ac_ext
18735 cat >>conftest.$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 #ifdef __STDC__
18738 # include <limits.h>
18739 #else
18740 # include <assert.h>
18741 #endif
18742 Syntax error
18743 _ACEOF
18744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18746 ac_status=$?
18747 grep -v '^ *+' conftest.er1 >conftest.err
18748 rm -f conftest.er1
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } >/dev/null; then
18752 if test -s conftest.err; then
18753 ac_cpp_err=$ac_cxx_preproc_warn_flag
18754 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18755 else
18756 ac_cpp_err=
18757 fi
18758 else
18759 ac_cpp_err=yes
18760 fi
18761 if test -z "$ac_cpp_err"; then
18762 :
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 # Broken: fails on valid input.
18768 continue
18769 fi
18770 rm -f conftest.err conftest.$ac_ext
18771
18772 # OK, works on sane cases. Now check whether non-existent headers
18773 # can be detected and how.
18774 cat >conftest.$ac_ext <<_ACEOF
18775 /* confdefs.h. */
18776 _ACEOF
18777 cat confdefs.h >>conftest.$ac_ext
18778 cat >>conftest.$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 #include <ac_nonexistent.h>
18781 _ACEOF
18782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } >/dev/null; then
18790 if test -s conftest.err; then
18791 ac_cpp_err=$ac_cxx_preproc_warn_flag
18792 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18793 else
18794 ac_cpp_err=
18795 fi
18796 else
18797 ac_cpp_err=yes
18798 fi
18799 if test -z "$ac_cpp_err"; then
18800 # Broken: success on invalid input.
18801 continue
18802 else
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18805
18806 # Passes both tests.
18807 ac_preproc_ok=:
18808 break
18809 fi
18810 rm -f conftest.err conftest.$ac_ext
18811
18812 done
18813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18814 rm -f conftest.err conftest.$ac_ext
18815 if $ac_preproc_ok; then
18816 break
18817 fi
18818
18819 done
18820 ac_cv_prog_CXXCPP=$CXXCPP
18821
18822 fi
18823 CXXCPP=$ac_cv_prog_CXXCPP
18824 else
18825 ac_cv_prog_CXXCPP=$CXXCPP
18826 fi
18827 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18828 echo "${ECHO_T}$CXXCPP" >&6
18829 ac_preproc_ok=false
18830 for ac_cxx_preproc_warn_flag in '' yes
18831 do
18832 # Use a header file that comes with gcc, so configuring glibc
18833 # with a fresh cross-compiler works.
18834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18835 # <limits.h> exists even on freestanding compilers.
18836 # On the NeXT, cc -E runs the code through the compiler's parser,
18837 # not just through cpp. "Syntax error" is here to catch this case.
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 #ifdef __STDC__
18845 # include <limits.h>
18846 #else
18847 # include <assert.h>
18848 #endif
18849 Syntax error
18850 _ACEOF
18851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18853 ac_status=$?
18854 grep -v '^ *+' conftest.er1 >conftest.err
18855 rm -f conftest.er1
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } >/dev/null; then
18859 if test -s conftest.err; then
18860 ac_cpp_err=$ac_cxx_preproc_warn_flag
18861 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18862 else
18863 ac_cpp_err=
18864 fi
18865 else
18866 ac_cpp_err=yes
18867 fi
18868 if test -z "$ac_cpp_err"; then
18869 :
18870 else
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18873
18874 # Broken: fails on valid input.
18875 continue
18876 fi
18877 rm -f conftest.err conftest.$ac_ext
18878
18879 # OK, works on sane cases. Now check whether non-existent headers
18880 # can be detected and how.
18881 cat >conftest.$ac_ext <<_ACEOF
18882 /* confdefs.h. */
18883 _ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 #include <ac_nonexistent.h>
18888 _ACEOF
18889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18891 ac_status=$?
18892 grep -v '^ *+' conftest.er1 >conftest.err
18893 rm -f conftest.er1
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } >/dev/null; then
18897 if test -s conftest.err; then
18898 ac_cpp_err=$ac_cxx_preproc_warn_flag
18899 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18900 else
18901 ac_cpp_err=
18902 fi
18903 else
18904 ac_cpp_err=yes
18905 fi
18906 if test -z "$ac_cpp_err"; then
18907 # Broken: success on invalid input.
18908 continue
18909 else
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18912
18913 # Passes both tests.
18914 ac_preproc_ok=:
18915 break
18916 fi
18917 rm -f conftest.err conftest.$ac_ext
18918
18919 done
18920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18921 rm -f conftest.err conftest.$ac_ext
18922 if $ac_preproc_ok; then
18923 :
18924 else
18925 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18926 See \`config.log' for more details." >&5
18927 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18928 See \`config.log' for more details." >&2;}
18929 { (exit 1); exit 1; }; }
18930 fi
18931
18932 ac_ext=cc
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18937
18938
18939
18940
18941
18942 ac_ext=cc
18943 ac_cpp='$CXXCPP $CPPFLAGS'
18944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18947
18948
18949
18950 for ac_header in iostream
18951 do
18952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18954 echo "$as_me:$LINENO: checking for $ac_header" >&5
18955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 fi
18959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18961 else
18962 # Is the header compilable?
18963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 $ac_includes_default
18972 #include <$ac_header>
18973 _ACEOF
18974 rm -f conftest.$ac_objext
18975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18976 (eval $ac_compile) 2>conftest.er1
18977 ac_status=$?
18978 grep -v '^ *+' conftest.er1 >conftest.err
18979 rm -f conftest.er1
18980 cat conftest.err >&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } &&
18983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; } &&
18989 { ac_try='test -s conftest.$ac_objext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18992 ac_status=$?
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18995 ac_header_compiler=yes
18996 else
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.$ac_ext >&5
18999
19000 ac_header_compiler=no
19001 fi
19002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19004 echo "${ECHO_T}$ac_header_compiler" >&6
19005
19006 # Is the header present?
19007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19009 cat >conftest.$ac_ext <<_ACEOF
19010 /* confdefs.h. */
19011 _ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 #include <$ac_header>
19016 _ACEOF
19017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19019 ac_status=$?
19020 grep -v '^ *+' conftest.er1 >conftest.err
19021 rm -f conftest.er1
19022 cat conftest.err >&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } >/dev/null; then
19025 if test -s conftest.err; then
19026 ac_cpp_err=$ac_cxx_preproc_warn_flag
19027 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19028 else
19029 ac_cpp_err=
19030 fi
19031 else
19032 ac_cpp_err=yes
19033 fi
19034 if test -z "$ac_cpp_err"; then
19035 ac_header_preproc=yes
19036 else
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.$ac_ext >&5
19039
19040 ac_header_preproc=no
19041 fi
19042 rm -f conftest.err conftest.$ac_ext
19043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19044 echo "${ECHO_T}$ac_header_preproc" >&6
19045
19046 # So? What about this header?
19047 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19048 yes:no: )
19049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19053 ac_header_preproc=yes
19054 ;;
19055 no:yes:* )
19056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19068 (
19069 cat <<\_ASBOX
19070 ## ----------------------------------------- ##
19071 ## Report this to wx-dev@lists.wxwidgets.org ##
19072 ## ----------------------------------------- ##
19073 _ASBOX
19074 ) |
19075 sed "s/^/$as_me: WARNING: /" >&2
19076 ;;
19077 esac
19078 echo "$as_me:$LINENO: checking for $ac_header" >&5
19079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 else
19083 eval "$as_ac_Header=\$ac_header_preproc"
19084 fi
19085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19087
19088 fi
19089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19090 cat >>confdefs.h <<_ACEOF
19091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19092 _ACEOF
19093
19094 fi
19095
19096 done
19097
19098
19099 if test "$ac_cv_header_iostream" = "yes" ; then
19100 :
19101 else
19102 cat >>confdefs.h <<\_ACEOF
19103 #define wxUSE_IOSTREAMH 1
19104 _ACEOF
19105
19106 fi
19107
19108 ac_ext=c
19109 ac_cpp='$CPP $CPPFLAGS'
19110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19113
19114
19115
19116
19117 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19118 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19119 if test "${wx_cv_cpp_bool+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 else
19122
19123
19124
19125 ac_ext=cc
19126 ac_cpp='$CXXCPP $CPPFLAGS'
19127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19130
19131
19132 cat >conftest.$ac_ext <<_ACEOF
19133 /* confdefs.h. */
19134 _ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138
19139
19140 int
19141 main ()
19142 {
19143
19144 bool b = true;
19145
19146 return 0;
19147
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19154 (eval $ac_compile) 2>conftest.er1
19155 ac_status=$?
19156 grep -v '^ *+' conftest.er1 >conftest.err
19157 rm -f conftest.er1
19158 cat conftest.err >&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19164 ac_status=$?
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; } &&
19167 { ac_try='test -s conftest.$ac_objext'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19170 ac_status=$?
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; }; then
19173
19174 wx_cv_cpp_bool=yes
19175
19176 else
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19179
19180
19181 wx_cv_cpp_bool=no
19182
19183
19184 fi
19185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19186
19187 ac_ext=c
19188 ac_cpp='$CPP $CPPFLAGS'
19189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19192
19193
19194 fi
19195 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19196 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19197
19198 if test "$wx_cv_cpp_bool" = "yes"; then
19199 cat >>confdefs.h <<\_ACEOF
19200 #define HAVE_BOOL 1
19201 _ACEOF
19202
19203 fi
19204
19205
19206
19207 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19208 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19209 if test "${wx_cv_explicit+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 else
19212
19213
19214
19215 ac_ext=cc
19216 ac_cpp='$CXXCPP $CPPFLAGS'
19217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19220
19221
19222 cat >conftest.$ac_ext <<_ACEOF
19223 /* confdefs.h. */
19224 _ACEOF
19225 cat confdefs.h >>conftest.$ac_ext
19226 cat >>conftest.$ac_ext <<_ACEOF
19227 /* end confdefs.h. */
19228
19229 class Foo { public: explicit Foo(int) {} };
19230
19231 int
19232 main ()
19233 {
19234
19235 return 0;
19236
19237 ;
19238 return 0;
19239 }
19240 _ACEOF
19241 rm -f conftest.$ac_objext
19242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19243 (eval $ac_compile) 2>conftest.er1
19244 ac_status=$?
19245 grep -v '^ *+' conftest.er1 >conftest.err
19246 rm -f conftest.er1
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } &&
19250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19253 ac_status=$?
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; } &&
19256 { ac_try='test -s conftest.$ac_objext'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19259 ac_status=$?
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; }; then
19262
19263 cat >conftest.$ac_ext <<_ACEOF
19264 /* confdefs.h. */
19265 _ACEOF
19266 cat confdefs.h >>conftest.$ac_ext
19267 cat >>conftest.$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269
19270 class Foo { public: explicit Foo(int) {} };
19271 static void TakeFoo(const Foo& foo) { }
19272
19273 int
19274 main ()
19275 {
19276
19277 TakeFoo(17);
19278 return 0;
19279
19280 ;
19281 return 0;
19282 }
19283 _ACEOF
19284 rm -f conftest.$ac_objext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19286 (eval $ac_compile) 2>conftest.er1
19287 ac_status=$?
19288 grep -v '^ *+' conftest.er1 >conftest.err
19289 rm -f conftest.er1
19290 cat conftest.err >&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19296 ac_status=$?
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; } &&
19299 { ac_try='test -s conftest.$ac_objext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19302 ac_status=$?
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19305 wx_cv_explicit=no
19306 else
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.$ac_ext >&5
19309
19310 wx_cv_explicit=yes
19311
19312 fi
19313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19314
19315 else
19316 echo "$as_me: failed program was:" >&5
19317 sed 's/^/| /' conftest.$ac_ext >&5
19318
19319 wx_cv_explicit=no
19320
19321 fi
19322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19323
19324 ac_ext=c
19325 ac_cpp='$CPP $CPPFLAGS'
19326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19329
19330
19331 fi
19332 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19333 echo "${ECHO_T}$wx_cv_explicit" >&6
19334
19335 if test "$wx_cv_explicit" = "yes"; then
19336 cat >>confdefs.h <<\_ACEOF
19337 #define HAVE_EXPLICIT 1
19338 _ACEOF
19339
19340 fi
19341
19342
19343 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19344 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19345 if test "${ac_cv_cxx_const_cast+set}" = set; then
19346 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 else
19348
19349
19350 ac_ext=cc
19351 ac_cpp='$CXXCPP $CPPFLAGS'
19352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19355
19356 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362
19363 int
19364 main ()
19365 {
19366 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19367 ;
19368 return 0;
19369 }
19370 _ACEOF
19371 rm -f conftest.$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373 (eval $ac_compile) 2>conftest.er1
19374 ac_status=$?
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19382 (eval $ac_try) 2>&5
19383 ac_status=$?
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); }; } &&
19386 { ac_try='test -s conftest.$ac_objext'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19389 ac_status=$?
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; }; then
19392 ac_cv_cxx_const_cast=yes
19393 else
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5
19396
19397 ac_cv_cxx_const_cast=no
19398 fi
19399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19400 ac_ext=c
19401 ac_cpp='$CPP $CPPFLAGS'
19402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19405
19406
19407 fi
19408 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19409 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19410 if test "$ac_cv_cxx_const_cast" = yes; then
19411
19412 cat >>confdefs.h <<\_ACEOF
19413 #define HAVE_CONST_CAST
19414 _ACEOF
19415
19416 fi
19417
19418 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19419 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19420 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19422 else
19423
19424
19425 ac_ext=cc
19426 ac_cpp='$CXXCPP $CPPFLAGS'
19427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19430
19431 cat >conftest.$ac_ext <<_ACEOF
19432 /* confdefs.h. */
19433 _ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 #include <typeinfo>
19438 class Base { public : Base () {} virtual void f () = 0;};
19439 class Derived : public Base { public : Derived () {} virtual void f () {} };
19440 class Unrelated { public : Unrelated () {} };
19441 int g (Unrelated&) { return 0; }
19442 int
19443 main ()
19444 {
19445
19446 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19447 ;
19448 return 0;
19449 }
19450 _ACEOF
19451 rm -f conftest.$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>conftest.er1
19454 ac_status=$?
19455 grep -v '^ *+' conftest.er1 >conftest.err
19456 rm -f conftest.er1
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19463 ac_status=$?
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_cv_cxx_reinterpret_cast=yes
19473 else
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19476
19477 ac_cv_cxx_reinterpret_cast=no
19478 fi
19479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19480 ac_ext=c
19481 ac_cpp='$CPP $CPPFLAGS'
19482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19485
19486
19487 fi
19488 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19489 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19490 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19491
19492 cat >>confdefs.h <<\_ACEOF
19493 #define HAVE_REINTERPRET_CAST
19494 _ACEOF
19495
19496 fi
19497
19498 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19499 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19500 if test "${ac_cv_cxx_static_cast+set}" = set; then
19501 echo $ECHO_N "(cached) $ECHO_C" >&6
19502 else
19503
19504
19505 ac_ext=cc
19506 ac_cpp='$CXXCPP $CPPFLAGS'
19507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19510
19511 cat >conftest.$ac_ext <<_ACEOF
19512 /* confdefs.h. */
19513 _ACEOF
19514 cat confdefs.h >>conftest.$ac_ext
19515 cat >>conftest.$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19517 #include <typeinfo>
19518 class Base { public : Base () {} virtual void f () = 0; };
19519 class Derived : public Base { public : Derived () {} virtual void f () {} };
19520 int g (Derived&) { return 0; }
19521 int
19522 main ()
19523 {
19524
19525 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19526 ;
19527 return 0;
19528 }
19529 _ACEOF
19530 rm -f conftest.$ac_objext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19532 (eval $ac_compile) 2>conftest.er1
19533 ac_status=$?
19534 grep -v '^ *+' conftest.er1 >conftest.err
19535 rm -f conftest.er1
19536 cat conftest.err >&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19542 ac_status=$?
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; } &&
19545 { ac_try='test -s conftest.$ac_objext'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19548 ac_status=$?
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; }; then
19551 ac_cv_cxx_static_cast=yes
19552 else
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19555
19556 ac_cv_cxx_static_cast=no
19557 fi
19558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19559 ac_ext=c
19560 ac_cpp='$CPP $CPPFLAGS'
19561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19564
19565
19566 fi
19567 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19568 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19569 if test "$ac_cv_cxx_static_cast" = yes; then
19570
19571 cat >>confdefs.h <<\_ACEOF
19572 #define HAVE_STATIC_CAST
19573 _ACEOF
19574
19575 fi
19576
19577
19578 if test "$wxUSE_STL" = "yes"; then
19579 ac_ext=cc
19580 ac_cpp='$CXXCPP $CPPFLAGS'
19581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19584
19585
19586 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19587 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19588 cat >conftest.$ac_ext <<_ACEOF
19589 /* confdefs.h. */
19590 _ACEOF
19591 cat confdefs.h >>conftest.$ac_ext
19592 cat >>conftest.$ac_ext <<_ACEOF
19593 /* end confdefs.h. */
19594 #include <string>
19595 #include <functional>
19596 #include <algorithm>
19597 #include <vector>
19598 #include <list>
19599 int
19600 main ()
19601 {
19602 std::vector<int> moo;
19603 std::list<int> foo;
19604 std::vector<int>::iterator it =
19605 std::find_if(moo.begin(), moo.end(),
19606 std::bind2nd(std::less<int>(), 3));
19607 ;
19608 return 0;
19609 }
19610 _ACEOF
19611 rm -f conftest.$ac_objext
19612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19613 (eval $ac_compile) 2>conftest.er1
19614 ac_status=$?
19615 grep -v '^ *+' conftest.er1 >conftest.err
19616 rm -f conftest.er1
19617 cat conftest.err >&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } &&
19620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; } &&
19626 { ac_try='test -s conftest.$ac_objext'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19629 ac_status=$?
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; }; then
19632 echo "$as_me:$LINENO: result: yes" >&5
19633 echo "${ECHO_T}yes" >&6
19634 else
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19637
19638 echo "$as_me:$LINENO: result: no" >&5
19639 echo "${ECHO_T}no" >&6
19640 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19641 echo "$as_me: error: Basic STL functionality missing" >&2;}
19642 { (exit 1); exit 1; }; }
19643 fi
19644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19645
19646 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19647 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19648 cat >conftest.$ac_ext <<_ACEOF
19649 /* confdefs.h. */
19650 _ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #include <string>
19655 int
19656 main ()
19657 {
19658 std::wstring foo;
19659 ;
19660 return 0;
19661 }
19662 _ACEOF
19663 rm -f conftest.$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19666 ac_status=$?
19667 grep -v '^ *+' conftest.er1 >conftest.err
19668 rm -f conftest.er1
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19675 ac_status=$?
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 echo "$as_me:$LINENO: result: yes" >&5
19685 echo "${ECHO_T}yes" >&6
19686 cat >>confdefs.h <<\_ACEOF
19687 #define HAVE_STD_WSTRING 1
19688 _ACEOF
19689
19690 else
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19693
19694 echo "$as_me:$LINENO: result: no" >&5
19695 echo "${ECHO_T}no" >&6
19696 fi
19697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19698
19699 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19700 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19701 cat >conftest.$ac_ext <<_ACEOF
19702 /* confdefs.h. */
19703 _ACEOF
19704 cat confdefs.h >>conftest.$ac_ext
19705 cat >>conftest.$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19707 #include <string>
19708 int
19709 main ()
19710 {
19711 std::string foo, bar;
19712 foo.compare(bar);
19713 foo.compare(1, 1, bar);
19714 foo.compare(1, 1, bar, 1, 1);
19715 foo.compare("");
19716 foo.compare(1, 1, "");
19717 foo.compare(1, 1, "", 2);
19718 ;
19719 return 0;
19720 }
19721 _ACEOF
19722 rm -f conftest.$ac_objext
19723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19724 (eval $ac_compile) 2>conftest.er1
19725 ac_status=$?
19726 grep -v '^ *+' conftest.er1 >conftest.err
19727 rm -f conftest.er1
19728 cat conftest.err >&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } &&
19731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19733 (eval $ac_try) 2>&5
19734 ac_status=$?
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); }; } &&
19737 { ac_try='test -s conftest.$ac_objext'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19740 ac_status=$?
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; }; then
19743 echo "$as_me:$LINENO: result: yes" >&5
19744 echo "${ECHO_T}yes" >&6
19745 cat >>confdefs.h <<\_ACEOF
19746 #define HAVE_STD_STRING_COMPARE 1
19747 _ACEOF
19748
19749 else
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19752
19753 echo "$as_me:$LINENO: result: no" >&5
19754 echo "${ECHO_T}no" >&6
19755 fi
19756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19757
19758 if test "${ac_cv_header_hash_map+set}" = set; then
19759 echo "$as_me:$LINENO: checking for hash_map" >&5
19760 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19761 if test "${ac_cv_header_hash_map+set}" = set; then
19762 echo $ECHO_N "(cached) $ECHO_C" >&6
19763 fi
19764 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19765 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19766 else
19767 # Is the header compilable?
19768 echo "$as_me:$LINENO: checking hash_map usability" >&5
19769 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19770 cat >conftest.$ac_ext <<_ACEOF
19771 /* confdefs.h. */
19772 _ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 #include <hash_map>
19778 _ACEOF
19779 rm -f conftest.$ac_objext
19780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19781 (eval $ac_compile) 2>conftest.er1
19782 ac_status=$?
19783 grep -v '^ *+' conftest.er1 >conftest.err
19784 rm -f conftest.er1
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } &&
19788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19791 ac_status=$?
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; } &&
19794 { ac_try='test -s conftest.$ac_objext'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19797 ac_status=$?
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; }; then
19800 ac_header_compiler=yes
19801 else
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19804
19805 ac_header_compiler=no
19806 fi
19807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19809 echo "${ECHO_T}$ac_header_compiler" >&6
19810
19811 # Is the header present?
19812 echo "$as_me:$LINENO: checking hash_map presence" >&5
19813 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19814 cat >conftest.$ac_ext <<_ACEOF
19815 /* confdefs.h. */
19816 _ACEOF
19817 cat confdefs.h >>conftest.$ac_ext
19818 cat >>conftest.$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 #include <hash_map>
19821 _ACEOF
19822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19824 ac_status=$?
19825 grep -v '^ *+' conftest.er1 >conftest.err
19826 rm -f conftest.er1
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } >/dev/null; then
19830 if test -s conftest.err; then
19831 ac_cpp_err=$ac_cxx_preproc_warn_flag
19832 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19833 else
19834 ac_cpp_err=
19835 fi
19836 else
19837 ac_cpp_err=yes
19838 fi
19839 if test -z "$ac_cpp_err"; then
19840 ac_header_preproc=yes
19841 else
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19844
19845 ac_header_preproc=no
19846 fi
19847 rm -f conftest.err conftest.$ac_ext
19848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19849 echo "${ECHO_T}$ac_header_preproc" >&6
19850
19851 # So? What about this header?
19852 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19853 yes:no: )
19854 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19855 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19856 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19857 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19858 ac_header_preproc=yes
19859 ;;
19860 no:yes:* )
19861 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19862 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19863 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19864 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19865 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19866 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19867 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19868 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19869 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19870 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19871 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19872 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19873 (
19874 cat <<\_ASBOX
19875 ## ----------------------------------------- ##
19876 ## Report this to wx-dev@lists.wxwidgets.org ##
19877 ## ----------------------------------------- ##
19878 _ASBOX
19879 ) |
19880 sed "s/^/$as_me: WARNING: /" >&2
19881 ;;
19882 esac
19883 echo "$as_me:$LINENO: checking for hash_map" >&5
19884 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19885 if test "${ac_cv_header_hash_map+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 else
19888 ac_cv_header_hash_map=$ac_header_preproc
19889 fi
19890 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19891 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19892
19893 fi
19894 if test $ac_cv_header_hash_map = yes; then
19895 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19896 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19897 cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h. */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 #include <hash_map>
19904 #include <hash_set>
19905 int
19906 main ()
19907 {
19908 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19909 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19910 ;
19911 return 0;
19912 }
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19926 ac_status=$?
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; } &&
19929 { ac_try='test -s conftest.$ac_objext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19932 ac_status=$?
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19935 echo "$as_me:$LINENO: result: yes" >&5
19936 echo "${ECHO_T}yes" >&6
19937 cat >>confdefs.h <<\_ACEOF
19938 #define HAVE_HASH_MAP 1
19939 _ACEOF
19940
19941 cat >>confdefs.h <<\_ACEOF
19942 #define HAVE_STD_HASH_MAP 1
19943 _ACEOF
19944
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19948
19949 echo "$as_me:$LINENO: result: no" >&5
19950 echo "${ECHO_T}no" >&6
19951 fi
19952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19953
19954 fi
19955
19956
19957
19958 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19959 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19960 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19961 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 fi
19964 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19965 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19966 else
19967 # Is the header compilable?
19968 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19969 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19970 cat >conftest.$ac_ext <<_ACEOF
19971 /* confdefs.h. */
19972 _ACEOF
19973 cat confdefs.h >>conftest.$ac_ext
19974 cat >>conftest.$ac_ext <<_ACEOF
19975 /* end confdefs.h. */
19976 $ac_includes_default
19977 #include <ext/hash_map>
19978 _ACEOF
19979 rm -f conftest.$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>conftest.er1
19982 ac_status=$?
19983 grep -v '^ *+' conftest.er1 >conftest.err
19984 rm -f conftest.er1
19985 cat conftest.err >&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19991 ac_status=$?
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; } &&
19994 { ac_try='test -s conftest.$ac_objext'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19997 ac_status=$?
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20000 ac_header_compiler=yes
20001 else
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20004
20005 ac_header_compiler=no
20006 fi
20007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20009 echo "${ECHO_T}$ac_header_compiler" >&6
20010
20011 # Is the header present?
20012 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20013 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20014 cat >conftest.$ac_ext <<_ACEOF
20015 /* confdefs.h. */
20016 _ACEOF
20017 cat confdefs.h >>conftest.$ac_ext
20018 cat >>conftest.$ac_ext <<_ACEOF
20019 /* end confdefs.h. */
20020 #include <ext/hash_map>
20021 _ACEOF
20022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20024 ac_status=$?
20025 grep -v '^ *+' conftest.er1 >conftest.err
20026 rm -f conftest.er1
20027 cat conftest.err >&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } >/dev/null; then
20030 if test -s conftest.err; then
20031 ac_cpp_err=$ac_cxx_preproc_warn_flag
20032 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20033 else
20034 ac_cpp_err=
20035 fi
20036 else
20037 ac_cpp_err=yes
20038 fi
20039 if test -z "$ac_cpp_err"; then
20040 ac_header_preproc=yes
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ac_header_preproc=no
20046 fi
20047 rm -f conftest.err conftest.$ac_ext
20048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20049 echo "${ECHO_T}$ac_header_preproc" >&6
20050
20051 # So? What about this header?
20052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20053 yes:no: )
20054 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20055 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20057 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20058 ac_header_preproc=yes
20059 ;;
20060 no:yes:* )
20061 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20062 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20063 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20064 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20065 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20066 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20067 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20068 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20069 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20070 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20071 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20072 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20073 (
20074 cat <<\_ASBOX
20075 ## ----------------------------------------- ##
20076 ## Report this to wx-dev@lists.wxwidgets.org ##
20077 ## ----------------------------------------- ##
20078 _ASBOX
20079 ) |
20080 sed "s/^/$as_me: WARNING: /" >&2
20081 ;;
20082 esac
20083 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20084 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20085 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 else
20088 ac_cv_header_ext_hash_map=$ac_header_preproc
20089 fi
20090 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20091 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20092
20093 fi
20094 if test $ac_cv_header_ext_hash_map = yes; then
20095 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20096 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20097 cat >conftest.$ac_ext <<_ACEOF
20098 /* confdefs.h. */
20099 _ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 #include <ext/hash_map>
20104 #include <ext/hash_set>
20105 int
20106 main ()
20107 {
20108 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20109 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20110 ;
20111 return 0;
20112 }
20113 _ACEOF
20114 rm -f conftest.$ac_objext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20116 (eval $ac_compile) 2>conftest.er1
20117 ac_status=$?
20118 grep -v '^ *+' conftest.er1 >conftest.err
20119 rm -f conftest.er1
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; } &&
20129 { ac_try='test -s conftest.$ac_objext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 echo "$as_me:$LINENO: result: yes" >&5
20136 echo "${ECHO_T}yes" >&6
20137 cat >>confdefs.h <<\_ACEOF
20138 #define HAVE_EXT_HASH_MAP 1
20139 _ACEOF
20140
20141 cat >>confdefs.h <<\_ACEOF
20142 #define HAVE_GNU_CXX_HASH_MAP 1
20143 _ACEOF
20144
20145 else
20146 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.$ac_ext >&5
20148
20149 echo "$as_me:$LINENO: result: no" >&5
20150 echo "${ECHO_T}no" >&6
20151 fi
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153
20154 fi
20155
20156
20157
20158 ac_ext=c
20159 ac_cpp='$CPP $CPPFLAGS'
20160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20163
20164 fi
20165
20166
20167 SEARCH_INCLUDE="\
20168 /usr/local/include \
20169 \
20170 /usr/Motif-2.1/include \
20171 /usr/Motif-1.2/include \
20172 /usr/include/Motif1.2 \
20173 /opt/xpm/include/X11 \
20174 /opt/GBxpm/include/ \
20175 /opt/GBxpm/X11/include/ \
20176 \
20177 /usr/dt/include \
20178 /usr/openwin/include \
20179 \
20180 /usr/include/Xm \
20181 \
20182 /usr/X11R6/include \
20183 /usr/X11R6.4/include \
20184 /usr/X11R5/include \
20185 /usr/X11R4/include \
20186 \
20187 /usr/include/X11R6 \
20188 /usr/include/X11R5 \
20189 /usr/include/X11R4 \
20190 \
20191 /usr/local/X11R6/include \
20192 /usr/local/X11R5/include \
20193 /usr/local/X11R4/include \
20194 \
20195 /usr/local/include/X11R6 \
20196 /usr/local/include/X11R5 \
20197 /usr/local/include/X11R4 \
20198 \
20199 /usr/X11/include \
20200 /usr/include/X11 \
20201 /usr/local/X11/include \
20202 /usr/local/include/X11 \
20203 \
20204 /usr/X386/include \
20205 /usr/x386/include \
20206 /usr/XFree86/include/X11 \
20207 \
20208 X:/XFree86/include \
20209 X:/XFree86/include/X11 \
20210 \
20211 /usr/include/gtk \
20212 /usr/local/include/gtk \
20213 /usr/include/glib \
20214 /usr/local/include/glib \
20215 \
20216 /usr/include/qt \
20217 /usr/local/include/qt \
20218 \
20219 /usr/local/arm/3.3.2/include \
20220 \
20221 /usr/include/windows \
20222 /usr/include/wine \
20223 /usr/local/include/wine \
20224 \
20225 /usr/unsupported/include \
20226 /usr/athena/include \
20227 /usr/local/x11r5/include \
20228 /usr/lpp/Xamples/include \
20229 \
20230 /usr/openwin/share/include"
20231
20232 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20233
20234
20235 cat >confcache <<\_ACEOF
20236 # This file is a shell script that caches the results of configure
20237 # tests run on this system so they can be shared between configure
20238 # scripts and configure runs, see configure's option --config-cache.
20239 # It is not useful on other systems. If it contains results you don't
20240 # want to keep, you may remove or edit it.
20241 #
20242 # config.status only pays attention to the cache file if you give it
20243 # the --recheck option to rerun configure.
20244 #
20245 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20246 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20247 # following values.
20248
20249 _ACEOF
20250
20251 # The following way of writing the cache mishandles newlines in values,
20252 # but we know of no workaround that is simple, portable, and efficient.
20253 # So, don't put newlines in cache variables' values.
20254 # Ultrix sh set writes to stderr and can't be redirected directly,
20255 # and sets the high bit in the cache file unless we assign to the vars.
20256 {
20257 (set) 2>&1 |
20258 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20259 *ac_space=\ *)
20260 # `set' does not quote correctly, so add quotes (double-quote
20261 # substitution turns \\\\ into \\, and sed turns \\ into \).
20262 sed -n \
20263 "s/'/'\\\\''/g;
20264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20265 ;;
20266 *)
20267 # `set' quotes correctly as required by POSIX, so do not add quotes.
20268 sed -n \
20269 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20270 ;;
20271 esac;
20272 } |
20273 sed '
20274 t clear
20275 : clear
20276 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20277 t end
20278 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20279 : end' >>confcache
20280 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20281 if test -w $cache_file; then
20282 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20283 cat confcache >$cache_file
20284 else
20285 echo "not updating unwritable cache $cache_file"
20286 fi
20287 fi
20288 rm -f confcache
20289
20290 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20291 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20292 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20293 if test "${wx_cv_lib_glibc21+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 else
20296
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 #include <features.h>
20304 int
20305 main ()
20306 {
20307
20308 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20309 #error not glibc2.1
20310 #endif
20311
20312 ;
20313 return 0;
20314 }
20315 _ACEOF
20316 rm -f conftest.$ac_objext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20318 (eval $ac_compile) 2>conftest.er1
20319 ac_status=$?
20320 grep -v '^ *+' conftest.er1 >conftest.err
20321 rm -f conftest.er1
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } &&
20325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20328 ac_status=$?
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; } &&
20331 { ac_try='test -s conftest.$ac_objext'
20332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333 (eval $ac_try) 2>&5
20334 ac_status=$?
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); }; }; then
20337
20338 wx_cv_lib_glibc21=yes
20339
20340 else
20341 echo "$as_me: failed program was:" >&5
20342 sed 's/^/| /' conftest.$ac_ext >&5
20343
20344
20345 wx_cv_lib_glibc21=no
20346
20347
20348 fi
20349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20350
20351 fi
20352 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20353 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20354 if test "$wx_cv_lib_glibc21" = "yes"; then
20355 cat >>confdefs.h <<\_ACEOF
20356 #define wxHAVE_GLIBC2 1
20357 _ACEOF
20358
20359 fi
20360 fi
20361
20362 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20363 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20364 cat >>confdefs.h <<\_ACEOF
20365 #define _GNU_SOURCE 1
20366 _ACEOF
20367
20368 fi
20369 fi
20370
20371
20372
20373 if test "$wxUSE_REGEX" != "no"; then
20374 cat >>confdefs.h <<\_ACEOF
20375 #define wxUSE_REGEX 1
20376 _ACEOF
20377
20378
20379 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20380 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20381 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20382 wxUSE_REGEX=builtin
20383 fi
20384
20385 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20386 if test "${ac_cv_header_regex_h+set}" = set; then
20387 echo "$as_me:$LINENO: checking for regex.h" >&5
20388 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20389 if test "${ac_cv_header_regex_h+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 fi
20392 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20393 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20394 else
20395 # Is the header compilable?
20396 echo "$as_me:$LINENO: checking regex.h usability" >&5
20397 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20398 cat >conftest.$ac_ext <<_ACEOF
20399 /* confdefs.h. */
20400 _ACEOF
20401 cat confdefs.h >>conftest.$ac_ext
20402 cat >>conftest.$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 $ac_includes_default
20405 #include <regex.h>
20406 _ACEOF
20407 rm -f conftest.$ac_objext
20408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20409 (eval $ac_compile) 2>conftest.er1
20410 ac_status=$?
20411 grep -v '^ *+' conftest.er1 >conftest.err
20412 rm -f conftest.er1
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } &&
20416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20419 ac_status=$?
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; } &&
20422 { ac_try='test -s conftest.$ac_objext'
20423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20424 (eval $ac_try) 2>&5
20425 ac_status=$?
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); }; }; then
20428 ac_header_compiler=yes
20429 else
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20432
20433 ac_header_compiler=no
20434 fi
20435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20437 echo "${ECHO_T}$ac_header_compiler" >&6
20438
20439 # Is the header present?
20440 echo "$as_me:$LINENO: checking regex.h presence" >&5
20441 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20442 cat >conftest.$ac_ext <<_ACEOF
20443 /* confdefs.h. */
20444 _ACEOF
20445 cat confdefs.h >>conftest.$ac_ext
20446 cat >>conftest.$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20448 #include <regex.h>
20449 _ACEOF
20450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20452 ac_status=$?
20453 grep -v '^ *+' conftest.er1 >conftest.err
20454 rm -f conftest.er1
20455 cat conftest.err >&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } >/dev/null; then
20458 if test -s conftest.err; then
20459 ac_cpp_err=$ac_c_preproc_warn_flag
20460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20461 else
20462 ac_cpp_err=
20463 fi
20464 else
20465 ac_cpp_err=yes
20466 fi
20467 if test -z "$ac_cpp_err"; then
20468 ac_header_preproc=yes
20469 else
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20472
20473 ac_header_preproc=no
20474 fi
20475 rm -f conftest.err conftest.$ac_ext
20476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20477 echo "${ECHO_T}$ac_header_preproc" >&6
20478
20479 # So? What about this header?
20480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20481 yes:no: )
20482 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20483 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20484 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20485 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20486 ac_header_preproc=yes
20487 ;;
20488 no:yes:* )
20489 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20490 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20491 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20492 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20493 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20494 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20495 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20496 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20497 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20498 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20499 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20500 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20501 (
20502 cat <<\_ASBOX
20503 ## ----------------------------------------- ##
20504 ## Report this to wx-dev@lists.wxwidgets.org ##
20505 ## ----------------------------------------- ##
20506 _ASBOX
20507 ) |
20508 sed "s/^/$as_me: WARNING: /" >&2
20509 ;;
20510 esac
20511 echo "$as_me:$LINENO: checking for regex.h" >&5
20512 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20513 if test "${ac_cv_header_regex_h+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20515 else
20516 ac_cv_header_regex_h=$ac_header_preproc
20517 fi
20518 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20519 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20520
20521 fi
20522 if test $ac_cv_header_regex_h = yes; then
20523
20524 for ac_func in regcomp
20525 do
20526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20527 echo "$as_me:$LINENO: checking for $ac_func" >&5
20528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20529 if eval "test \"\${$as_ac_var+set}\" = set"; then
20530 echo $ECHO_N "(cached) $ECHO_C" >&6
20531 else
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20540 #define $ac_func innocuous_$ac_func
20541
20542 /* System header to define __stub macros and hopefully few prototypes,
20543 which can conflict with char $ac_func (); below.
20544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20545 <limits.h> exists even on freestanding compilers. */
20546
20547 #ifdef __STDC__
20548 # include <limits.h>
20549 #else
20550 # include <assert.h>
20551 #endif
20552
20553 #undef $ac_func
20554
20555 /* Override any gcc2 internal prototype to avoid an error. */
20556 #ifdef __cplusplus
20557 extern "C"
20558 {
20559 #endif
20560 /* We use char because int might match the return type of a gcc2
20561 builtin and then its argument prototype would still apply. */
20562 char $ac_func ();
20563 /* The GNU C library defines this for functions which it implements
20564 to always fail with ENOSYS. Some functions are actually named
20565 something starting with __ and the normal name is an alias. */
20566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20567 choke me
20568 #else
20569 char (*f) () = $ac_func;
20570 #endif
20571 #ifdef __cplusplus
20572 }
20573 #endif
20574
20575 int
20576 main ()
20577 {
20578 return f != $ac_func;
20579 ;
20580 return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest.$ac_objext conftest$ac_exeext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20585 (eval $ac_link) 2>conftest.er1
20586 ac_status=$?
20587 grep -v '^ *+' conftest.er1 >conftest.err
20588 rm -f conftest.er1
20589 cat conftest.err >&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } &&
20592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20595 ac_status=$?
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; } &&
20598 { ac_try='test -s conftest$ac_exeext'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20601 ac_status=$?
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; }; then
20604 eval "$as_ac_var=yes"
20605 else
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20608
20609 eval "$as_ac_var=no"
20610 fi
20611 rm -f conftest.err conftest.$ac_objext \
20612 conftest$ac_exeext conftest.$ac_ext
20613 fi
20614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20616 if test `eval echo '${'$as_ac_var'}'` = yes; then
20617 cat >>confdefs.h <<_ACEOF
20618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20619 _ACEOF
20620
20621 fi
20622 done
20623
20624 fi
20625
20626
20627
20628 if test "x$ac_cv_func_regcomp" != "xyes"; then
20629 if test "$wxUSE_REGEX" = "sys" ; then
20630 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20631 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20632 { (exit 1); exit 1; }; }
20633 else
20634 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20635 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20636 wxUSE_REGEX=builtin
20637 fi
20638 else
20639 wxUSE_REGEX=sys
20640 cat >>confdefs.h <<\_ACEOF
20641 #define WX_NO_REGEX_ADVANCED 1
20642 _ACEOF
20643
20644 fi
20645 fi
20646 fi
20647
20648
20649 ZLIB_LINK=
20650 if test "$wxUSE_ZLIB" != "no" ; then
20651 cat >>confdefs.h <<\_ACEOF
20652 #define wxUSE_ZLIB 1
20653 _ACEOF
20654
20655
20656 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20657 if test "$USE_DARWIN" = 1; then
20658 system_zlib_h_ok="yes"
20659 else
20660 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20661 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20662 if test "${ac_cv_header_zlib_h+set}" = set; then
20663 echo $ECHO_N "(cached) $ECHO_C" >&6
20664 else
20665 if test "$cross_compiling" = yes; then
20666 unset ac_cv_header_zlib_h
20667
20668 else
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675
20676 #include <zlib.h>
20677 #include <stdio.h>
20678
20679 int main()
20680 {
20681 FILE *f=fopen("conftestval", "w");
20682 if (!f) exit(1);
20683 fprintf(f, "%s",
20684 ZLIB_VERSION[0] == '1' &&
20685 (ZLIB_VERSION[2] > '1' ||
20686 (ZLIB_VERSION[2] == '1' &&
20687 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20688 exit(0);
20689 }
20690
20691 _ACEOF
20692 rm -f conftest$ac_exeext
20693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20694 (eval $ac_link) 2>&5
20695 ac_status=$?
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20700 ac_status=$?
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_cv_header_zlib_h=`cat conftestval`
20704 else
20705 echo "$as_me: program exited with status $ac_status" >&5
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20708
20709 ( exit $ac_status )
20710 ac_cv_header_zlib_h=no
20711 fi
20712 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20713 fi
20714
20715 fi
20716 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20717 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20718 if test "${ac_cv_header_zlib_h+set}" = set; then
20719 echo "$as_me:$LINENO: checking for zlib.h" >&5
20720 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20721 if test "${ac_cv_header_zlib_h+set}" = set; then
20722 echo $ECHO_N "(cached) $ECHO_C" >&6
20723 fi
20724 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20725 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20726 else
20727 # Is the header compilable?
20728 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20729 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20730 cat >conftest.$ac_ext <<_ACEOF
20731 /* confdefs.h. */
20732 _ACEOF
20733 cat confdefs.h >>conftest.$ac_ext
20734 cat >>conftest.$ac_ext <<_ACEOF
20735 /* end confdefs.h. */
20736 $ac_includes_default
20737 #include <zlib.h>
20738 _ACEOF
20739 rm -f conftest.$ac_objext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20741 (eval $ac_compile) 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20751 ac_status=$?
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; } &&
20754 { ac_try='test -s conftest.$ac_objext'
20755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20756 (eval $ac_try) 2>&5
20757 ac_status=$?
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); }; }; then
20760 ac_header_compiler=yes
20761 else
20762 echo "$as_me: failed program was:" >&5
20763 sed 's/^/| /' conftest.$ac_ext >&5
20764
20765 ac_header_compiler=no
20766 fi
20767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20769 echo "${ECHO_T}$ac_header_compiler" >&6
20770
20771 # Is the header present?
20772 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20773 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20774 cat >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h. */
20776 _ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h. */
20780 #include <zlib.h>
20781 _ACEOF
20782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20784 ac_status=$?
20785 grep -v '^ *+' conftest.er1 >conftest.err
20786 rm -f conftest.er1
20787 cat conftest.err >&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } >/dev/null; then
20790 if test -s conftest.err; then
20791 ac_cpp_err=$ac_c_preproc_warn_flag
20792 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20793 else
20794 ac_cpp_err=
20795 fi
20796 else
20797 ac_cpp_err=yes
20798 fi
20799 if test -z "$ac_cpp_err"; then
20800 ac_header_preproc=yes
20801 else
20802 echo "$as_me: failed program was:" >&5
20803 sed 's/^/| /' conftest.$ac_ext >&5
20804
20805 ac_header_preproc=no
20806 fi
20807 rm -f conftest.err conftest.$ac_ext
20808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20809 echo "${ECHO_T}$ac_header_preproc" >&6
20810
20811 # So? What about this header?
20812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20813 yes:no: )
20814 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20815 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20816 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20817 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20818 ac_header_preproc=yes
20819 ;;
20820 no:yes:* )
20821 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20822 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20823 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20824 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20825 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20826 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20827 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20828 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20829 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20830 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20831 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20832 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20833 (
20834 cat <<\_ASBOX
20835 ## ----------------------------------------- ##
20836 ## Report this to wx-dev@lists.wxwidgets.org ##
20837 ## ----------------------------------------- ##
20838 _ASBOX
20839 ) |
20840 sed "s/^/$as_me: WARNING: /" >&2
20841 ;;
20842 esac
20843 echo "$as_me:$LINENO: checking for zlib.h" >&5
20844 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20845 if test "${ac_cv_header_zlib_h+set}" = set; then
20846 echo $ECHO_N "(cached) $ECHO_C" >&6
20847 else
20848 ac_cv_header_zlib_h=$ac_header_preproc
20849 fi
20850 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20851 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20852
20853 fi
20854
20855
20856
20857 system_zlib_h_ok=$ac_cv_header_zlib_h
20858 fi
20859
20860 if test "$system_zlib_h_ok" = "yes"; then
20861 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20862 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20863 if test "${ac_cv_lib_z_deflate+set}" = set; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 ac_check_lib_save_LIBS=$LIBS
20867 LIBS="-lz $LIBS"
20868 cat >conftest.$ac_ext <<_ACEOF
20869 /* confdefs.h. */
20870 _ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874
20875 /* Override any gcc2 internal prototype to avoid an error. */
20876 #ifdef __cplusplus
20877 extern "C"
20878 #endif
20879 /* We use char because int might match the return type of a gcc2
20880 builtin and then its argument prototype would still apply. */
20881 char deflate ();
20882 int
20883 main ()
20884 {
20885 deflate ();
20886 ;
20887 return 0;
20888 }
20889 _ACEOF
20890 rm -f conftest.$ac_objext conftest$ac_exeext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20892 (eval $ac_link) 2>conftest.er1
20893 ac_status=$?
20894 grep -v '^ *+' conftest.er1 >conftest.err
20895 rm -f conftest.er1
20896 cat conftest.err >&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try='test -s conftest$ac_exeext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20908 ac_status=$?
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_cv_lib_z_deflate=yes
20912 else
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.$ac_ext >&5
20915
20916 ac_cv_lib_z_deflate=no
20917 fi
20918 rm -f conftest.err conftest.$ac_objext \
20919 conftest$ac_exeext conftest.$ac_ext
20920 LIBS=$ac_check_lib_save_LIBS
20921 fi
20922 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20923 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20924 if test $ac_cv_lib_z_deflate = yes; then
20925 ZLIB_LINK=" -lz"
20926 fi
20927
20928 fi
20929
20930 if test "x$ZLIB_LINK" = "x" ; then
20931 if test "$wxUSE_ZLIB" = "sys" ; then
20932 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20933 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20934 { (exit 1); exit 1; }; }
20935 else
20936 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20937 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20938 wxUSE_ZLIB=builtin
20939 fi
20940 else
20941 wxUSE_ZLIB=sys
20942 fi
20943 fi
20944 fi
20945
20946
20947 PNG_LINK=
20948 if test "$wxUSE_LIBPNG" != "no" ; then
20949 cat >>confdefs.h <<\_ACEOF
20950 #define wxUSE_LIBPNG 1
20951 _ACEOF
20952
20953
20954 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20955 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20956 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20957 wxUSE_LIBPNG=sys
20958 fi
20959
20960 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20961 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20962 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20963 wxUSE_LIBPNG=builtin
20964 fi
20965
20966 if test "$wxUSE_MGL" != 1 ; then
20967 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20968 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20969 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20970 if test "${ac_cv_header_png_h+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 else
20973 if test "$cross_compiling" = yes; then
20974 unset ac_cv_header_png_h
20975
20976 else
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h. */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983
20984 #include <png.h>
20985 #include <stdio.h>
20986
20987 int main()
20988 {
20989 FILE *f=fopen("conftestval", "w");
20990 if (!f) exit(1);
20991 fprintf(f, "%s",
20992 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20993 exit(0);
20994 }
20995
20996 _ACEOF
20997 rm -f conftest$ac_exeext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20999 (eval $ac_link) 2>&5
21000 ac_status=$?
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_cv_header_png_h=`cat conftestval`
21009 else
21010 echo "$as_me: program exited with status $ac_status" >&5
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ( exit $ac_status )
21015 ac_cv_header_png_h=no
21016 fi
21017 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21018 fi
21019
21020 fi
21021 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21022 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21023 if test "${ac_cv_header_png_h+set}" = set; then
21024 echo "$as_me:$LINENO: checking for png.h" >&5
21025 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21026 if test "${ac_cv_header_png_h+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21028 fi
21029 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21030 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21031 else
21032 # Is the header compilable?
21033 echo "$as_me:$LINENO: checking png.h usability" >&5
21034 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
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 $ac_includes_default
21042 #include <png.h>
21043 _ACEOF
21044 rm -f conftest.$ac_objext
21045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046 (eval $ac_compile) 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21065 ac_header_compiler=yes
21066 else
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21069
21070 ac_header_compiler=no
21071 fi
21072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21074 echo "${ECHO_T}$ac_header_compiler" >&6
21075
21076 # Is the header present?
21077 echo "$as_me:$LINENO: checking png.h presence" >&5
21078 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21079 cat >conftest.$ac_ext <<_ACEOF
21080 /* confdefs.h. */
21081 _ACEOF
21082 cat confdefs.h >>conftest.$ac_ext
21083 cat >>conftest.$ac_ext <<_ACEOF
21084 /* end confdefs.h. */
21085 #include <png.h>
21086 _ACEOF
21087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21089 ac_status=$?
21090 grep -v '^ *+' conftest.er1 >conftest.err
21091 rm -f conftest.er1
21092 cat conftest.err >&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); } >/dev/null; then
21095 if test -s conftest.err; then
21096 ac_cpp_err=$ac_c_preproc_warn_flag
21097 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21098 else
21099 ac_cpp_err=
21100 fi
21101 else
21102 ac_cpp_err=yes
21103 fi
21104 if test -z "$ac_cpp_err"; then
21105 ac_header_preproc=yes
21106 else
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21109
21110 ac_header_preproc=no
21111 fi
21112 rm -f conftest.err conftest.$ac_ext
21113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21114 echo "${ECHO_T}$ac_header_preproc" >&6
21115
21116 # So? What about this header?
21117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21118 yes:no: )
21119 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21120 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21121 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21122 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21123 ac_header_preproc=yes
21124 ;;
21125 no:yes:* )
21126 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21127 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21128 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21129 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21130 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21131 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21132 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21133 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21134 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21135 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21136 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21137 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21138 (
21139 cat <<\_ASBOX
21140 ## ----------------------------------------- ##
21141 ## Report this to wx-dev@lists.wxwidgets.org ##
21142 ## ----------------------------------------- ##
21143 _ASBOX
21144 ) |
21145 sed "s/^/$as_me: WARNING: /" >&2
21146 ;;
21147 esac
21148 echo "$as_me:$LINENO: checking for png.h" >&5
21149 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21150 if test "${ac_cv_header_png_h+set}" = set; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21152 else
21153 ac_cv_header_png_h=$ac_header_preproc
21154 fi
21155 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21156 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21157
21158 fi
21159
21160
21161
21162 if test "$ac_cv_header_png_h" = "yes"; then
21163 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21164 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21165 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21166 echo $ECHO_N "(cached) $ECHO_C" >&6
21167 else
21168 ac_check_lib_save_LIBS=$LIBS
21169 LIBS="-lpng -lz -lm $LIBS"
21170 cat >conftest.$ac_ext <<_ACEOF
21171 /* confdefs.h. */
21172 _ACEOF
21173 cat confdefs.h >>conftest.$ac_ext
21174 cat >>conftest.$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176
21177 /* Override any gcc2 internal prototype to avoid an error. */
21178 #ifdef __cplusplus
21179 extern "C"
21180 #endif
21181 /* We use char because int might match the return type of a gcc2
21182 builtin and then its argument prototype would still apply. */
21183 char png_check_sig ();
21184 int
21185 main ()
21186 {
21187 png_check_sig ();
21188 ;
21189 return 0;
21190 }
21191 _ACEOF
21192 rm -f conftest.$ac_objext conftest$ac_exeext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21194 (eval $ac_link) 2>conftest.er1
21195 ac_status=$?
21196 grep -v '^ *+' conftest.er1 >conftest.err
21197 rm -f conftest.er1
21198 cat conftest.err >&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21204 ac_status=$?
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; } &&
21207 { ac_try='test -s conftest$ac_exeext'
21208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209 (eval $ac_try) 2>&5
21210 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; }; then
21213 ac_cv_lib_png_png_check_sig=yes
21214 else
21215 echo "$as_me: failed program was:" >&5
21216 sed 's/^/| /' conftest.$ac_ext >&5
21217
21218 ac_cv_lib_png_png_check_sig=no
21219 fi
21220 rm -f conftest.err conftest.$ac_objext \
21221 conftest$ac_exeext conftest.$ac_ext
21222 LIBS=$ac_check_lib_save_LIBS
21223 fi
21224 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21225 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21226 if test $ac_cv_lib_png_png_check_sig = yes; then
21227 PNG_LINK=" -lpng -lz"
21228 fi
21229
21230 fi
21231
21232 if test "x$PNG_LINK" = "x" ; then
21233 if test "$wxUSE_LIBPNG" = "sys" ; then
21234 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21235 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21236 { (exit 1); exit 1; }; }
21237 else
21238 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21239 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21240 wxUSE_LIBPNG=builtin
21241 fi
21242 else
21243 wxUSE_LIBPNG=sys
21244 fi
21245 fi
21246 fi
21247
21248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21249 fi
21250
21251
21252 JPEG_LINK=
21253 if test "$wxUSE_LIBJPEG" != "no" ; then
21254 cat >>confdefs.h <<\_ACEOF
21255 #define wxUSE_LIBJPEG 1
21256 _ACEOF
21257
21258
21259 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21260 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21261 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21262 wxUSE_LIBJPEG=sys
21263 fi
21264
21265 if test "$wxUSE_MGL" != 1 ; then
21266 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21267 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21268 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21269 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21270 echo $ECHO_N "(cached) $ECHO_C" >&6
21271 else
21272 cat >conftest.$ac_ext <<_ACEOF
21273 /* confdefs.h. */
21274 _ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278
21279 #undef HAVE_STDLIB_H
21280 #include <stdio.h>
21281 #include <jpeglib.h>
21282
21283 int
21284 main ()
21285 {
21286
21287
21288 ;
21289 return 0;
21290 }
21291 _ACEOF
21292 rm -f conftest.$ac_objext
21293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21294 (eval $ac_compile) 2>conftest.er1
21295 ac_status=$?
21296 grep -v '^ *+' conftest.er1 >conftest.err
21297 rm -f conftest.er1
21298 cat conftest.err >&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } &&
21301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest.$ac_objext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 ac_cv_header_jpeglib_h=yes
21314 else
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21317
21318 ac_cv_header_jpeglib_h=no
21319
21320 fi
21321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21322
21323 fi
21324
21325 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21326 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21327
21328 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21329 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21330 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21331 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21332 echo $ECHO_N "(cached) $ECHO_C" >&6
21333 else
21334 ac_check_lib_save_LIBS=$LIBS
21335 LIBS="-ljpeg $LIBS"
21336 cat >conftest.$ac_ext <<_ACEOF
21337 /* confdefs.h. */
21338 _ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342
21343 /* Override any gcc2 internal prototype to avoid an error. */
21344 #ifdef __cplusplus
21345 extern "C"
21346 #endif
21347 /* We use char because int might match the return type of a gcc2
21348 builtin and then its argument prototype would still apply. */
21349 char jpeg_read_header ();
21350 int
21351 main ()
21352 {
21353 jpeg_read_header ();
21354 ;
21355 return 0;
21356 }
21357 _ACEOF
21358 rm -f conftest.$ac_objext conftest$ac_exeext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21360 (eval $ac_link) 2>conftest.er1
21361 ac_status=$?
21362 grep -v '^ *+' conftest.er1 >conftest.err
21363 rm -f conftest.er1
21364 cat conftest.err >&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try='test -s conftest$ac_exeext'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21376 ac_status=$?
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; }; then
21379 ac_cv_lib_jpeg_jpeg_read_header=yes
21380 else
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.$ac_ext >&5
21383
21384 ac_cv_lib_jpeg_jpeg_read_header=no
21385 fi
21386 rm -f conftest.err conftest.$ac_objext \
21387 conftest$ac_exeext conftest.$ac_ext
21388 LIBS=$ac_check_lib_save_LIBS
21389 fi
21390 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21391 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21392 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21393 JPEG_LINK=" -ljpeg"
21394 fi
21395
21396 fi
21397
21398 if test "x$JPEG_LINK" = "x" ; then
21399 if test "$wxUSE_LIBJPEG" = "sys" ; then
21400 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21401 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21402 { (exit 1); exit 1; }; }
21403 else
21404 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21405 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21406 wxUSE_LIBJPEG=builtin
21407 fi
21408 else
21409 wxUSE_LIBJPEG=sys
21410 fi
21411 fi
21412 fi
21413 fi
21414
21415
21416 TIFF_LINK=
21417 TIFF_PREREQ_LINKS=-lm
21418 if test "$wxUSE_LIBTIFF" != "no" ; then
21419 cat >>confdefs.h <<\_ACEOF
21420 #define wxUSE_LIBTIFF 1
21421 _ACEOF
21422
21423
21424 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21425 if test "$wxUSE_LIBJPEG" = "sys"; then
21426 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21427 fi
21428 if test "$wxUSE_ZLIB" = "sys"; then
21429 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21430 fi
21431 if test "${ac_cv_header_tiffio_h+set}" = set; then
21432 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21433 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21434 if test "${ac_cv_header_tiffio_h+set}" = set; then
21435 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 fi
21437 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21438 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21439 else
21440 # Is the header compilable?
21441 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21442 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21443 cat >conftest.$ac_ext <<_ACEOF
21444 /* confdefs.h. */
21445 _ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450 #include <tiffio.h>
21451 _ACEOF
21452 rm -f conftest.$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21455 ac_status=$?
21456 grep -v '^ *+' conftest.er1 >conftest.err
21457 rm -f conftest.er1
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
21467 { ac_try='test -s conftest.$ac_objext'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21470 ac_status=$?
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21473 ac_header_compiler=yes
21474 else
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21477
21478 ac_header_compiler=no
21479 fi
21480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21482 echo "${ECHO_T}$ac_header_compiler" >&6
21483
21484 # Is the header present?
21485 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21486 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21487 cat >conftest.$ac_ext <<_ACEOF
21488 /* confdefs.h. */
21489 _ACEOF
21490 cat confdefs.h >>conftest.$ac_ext
21491 cat >>conftest.$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493 #include <tiffio.h>
21494 _ACEOF
21495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21497 ac_status=$?
21498 grep -v '^ *+' conftest.er1 >conftest.err
21499 rm -f conftest.er1
21500 cat conftest.err >&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } >/dev/null; then
21503 if test -s conftest.err; then
21504 ac_cpp_err=$ac_c_preproc_warn_flag
21505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21506 else
21507 ac_cpp_err=
21508 fi
21509 else
21510 ac_cpp_err=yes
21511 fi
21512 if test -z "$ac_cpp_err"; then
21513 ac_header_preproc=yes
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21517
21518 ac_header_preproc=no
21519 fi
21520 rm -f conftest.err conftest.$ac_ext
21521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21522 echo "${ECHO_T}$ac_header_preproc" >&6
21523
21524 # So? What about this header?
21525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21526 yes:no: )
21527 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21528 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21529 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21530 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21531 ac_header_preproc=yes
21532 ;;
21533 no:yes:* )
21534 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21535 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21536 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21537 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21538 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21539 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21540 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21541 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21542 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21543 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21544 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21545 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21546 (
21547 cat <<\_ASBOX
21548 ## ----------------------------------------- ##
21549 ## Report this to wx-dev@lists.wxwidgets.org ##
21550 ## ----------------------------------------- ##
21551 _ASBOX
21552 ) |
21553 sed "s/^/$as_me: WARNING: /" >&2
21554 ;;
21555 esac
21556 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21557 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21558 if test "${ac_cv_header_tiffio_h+set}" = set; then
21559 echo $ECHO_N "(cached) $ECHO_C" >&6
21560 else
21561 ac_cv_header_tiffio_h=$ac_header_preproc
21562 fi
21563 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21564 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21565
21566 fi
21567 if test $ac_cv_header_tiffio_h = yes; then
21568
21569 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21570 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21571 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21573 else
21574 ac_check_lib_save_LIBS=$LIBS
21575 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21576 cat >conftest.$ac_ext <<_ACEOF
21577 /* confdefs.h. */
21578 _ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21582
21583 /* Override any gcc2 internal prototype to avoid an error. */
21584 #ifdef __cplusplus
21585 extern "C"
21586 #endif
21587 /* We use char because int might match the return type of a gcc2
21588 builtin and then its argument prototype would still apply. */
21589 char TIFFError ();
21590 int
21591 main ()
21592 {
21593 TIFFError ();
21594 ;
21595 return 0;
21596 }
21597 _ACEOF
21598 rm -f conftest.$ac_objext conftest$ac_exeext
21599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21600 (eval $ac_link) 2>conftest.er1
21601 ac_status=$?
21602 grep -v '^ *+' conftest.er1 >conftest.err
21603 rm -f conftest.er1
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } &&
21607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; } &&
21613 { ac_try='test -s conftest$ac_exeext'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21616 ac_status=$?
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; }; then
21619 ac_cv_lib_tiff_TIFFError=yes
21620 else
21621 echo "$as_me: failed program was:" >&5
21622 sed 's/^/| /' conftest.$ac_ext >&5
21623
21624 ac_cv_lib_tiff_TIFFError=no
21625 fi
21626 rm -f conftest.err conftest.$ac_objext \
21627 conftest$ac_exeext conftest.$ac_ext
21628 LIBS=$ac_check_lib_save_LIBS
21629 fi
21630 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21631 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21632 if test $ac_cv_lib_tiff_TIFFError = yes; then
21633 TIFF_LINK=" -ltiff"
21634 fi
21635
21636
21637
21638 fi
21639
21640
21641
21642 if test "x$TIFF_LINK" = "x" ; then
21643 if test "$wxUSE_LIBTIFF" = "sys" ; then
21644 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21645 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21646 { (exit 1); exit 1; }; }
21647 else
21648 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21649 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21650 wxUSE_LIBTIFF=builtin
21651 fi
21652 else
21653 wxUSE_LIBTIFF=sys
21654 fi
21655 fi
21656 fi
21657
21658
21659 if test "$wxUSE_EXPAT" != "no"; then
21660 wxUSE_XML=yes
21661 cat >>confdefs.h <<\_ACEOF
21662 #define wxUSE_EXPAT 1
21663 _ACEOF
21664
21665 cat >>confdefs.h <<\_ACEOF
21666 #define wxUSE_XML 1
21667 _ACEOF
21668
21669
21670 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21671 if test "${ac_cv_header_expat_h+set}" = set; then
21672 echo "$as_me:$LINENO: checking for expat.h" >&5
21673 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21674 if test "${ac_cv_header_expat_h+set}" = set; then
21675 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 fi
21677 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21678 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21679 else
21680 # Is the header compilable?
21681 echo "$as_me:$LINENO: checking expat.h usability" >&5
21682 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21683 cat >conftest.$ac_ext <<_ACEOF
21684 /* confdefs.h. */
21685 _ACEOF
21686 cat confdefs.h >>conftest.$ac_ext
21687 cat >>conftest.$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 $ac_includes_default
21690 #include <expat.h>
21691 _ACEOF
21692 rm -f conftest.$ac_objext
21693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21694 (eval $ac_compile) 2>conftest.er1
21695 ac_status=$?
21696 grep -v '^ *+' conftest.er1 >conftest.err
21697 rm -f conftest.er1
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } &&
21701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21703 (eval $ac_try) 2>&5
21704 ac_status=$?
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; } &&
21707 { ac_try='test -s conftest.$ac_objext'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21710 ac_status=$?
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_header_compiler=yes
21714 else
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.$ac_ext >&5
21717
21718 ac_header_compiler=no
21719 fi
21720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21722 echo "${ECHO_T}$ac_header_compiler" >&6
21723
21724 # Is the header present?
21725 echo "$as_me:$LINENO: checking expat.h presence" >&5
21726 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21727 cat >conftest.$ac_ext <<_ACEOF
21728 /* confdefs.h. */
21729 _ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733 #include <expat.h>
21734 _ACEOF
21735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21737 ac_status=$?
21738 grep -v '^ *+' conftest.er1 >conftest.err
21739 rm -f conftest.er1
21740 cat conftest.err >&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } >/dev/null; then
21743 if test -s conftest.err; then
21744 ac_cpp_err=$ac_c_preproc_warn_flag
21745 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21746 else
21747 ac_cpp_err=
21748 fi
21749 else
21750 ac_cpp_err=yes
21751 fi
21752 if test -z "$ac_cpp_err"; then
21753 ac_header_preproc=yes
21754 else
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21757
21758 ac_header_preproc=no
21759 fi
21760 rm -f conftest.err conftest.$ac_ext
21761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21762 echo "${ECHO_T}$ac_header_preproc" >&6
21763
21764 # So? What about this header?
21765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21766 yes:no: )
21767 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21768 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21769 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21770 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21771 ac_header_preproc=yes
21772 ;;
21773 no:yes:* )
21774 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21775 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21776 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21777 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21778 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21779 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21780 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21781 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21782 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21783 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21784 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21785 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21786 (
21787 cat <<\_ASBOX
21788 ## ----------------------------------------- ##
21789 ## Report this to wx-dev@lists.wxwidgets.org ##
21790 ## ----------------------------------------- ##
21791 _ASBOX
21792 ) |
21793 sed "s/^/$as_me: WARNING: /" >&2
21794 ;;
21795 esac
21796 echo "$as_me:$LINENO: checking for expat.h" >&5
21797 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21798 if test "${ac_cv_header_expat_h+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21800 else
21801 ac_cv_header_expat_h=$ac_header_preproc
21802 fi
21803 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21804 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21805
21806 fi
21807 if test $ac_cv_header_expat_h = yes; then
21808 found_expat_h=1
21809 fi
21810
21811
21812 if test "x$found_expat_h" = "x1"; then
21813 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21814 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21815 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 else
21818
21819
21820
21821 ac_ext=cc
21822 ac_cpp='$CXXCPP $CPPFLAGS'
21823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21826
21827 cat >conftest.$ac_ext <<_ACEOF
21828 /* confdefs.h. */
21829 _ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21833 #include <expat.h>
21834 int
21835 main ()
21836 {
21837
21838 ;
21839 return 0;
21840 }
21841 _ACEOF
21842 rm -f conftest.$ac_objext
21843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21844 (eval $ac_compile) 2>conftest.er1
21845 ac_status=$?
21846 grep -v '^ *+' conftest.er1 >conftest.err
21847 rm -f conftest.er1
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } &&
21851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21854 ac_status=$?
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; } &&
21857 { ac_try='test -s conftest.$ac_objext'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 wx_cv_expat_is_not_broken=yes
21864 else
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21867
21868 wx_cv_expat_is_not_broken=no
21869
21870 fi
21871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21872 ac_ext=c
21873 ac_cpp='$CPP $CPPFLAGS'
21874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21877
21878
21879
21880 fi
21881 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21882 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21883 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21884 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21885 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21886 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21888 else
21889 ac_check_lib_save_LIBS=$LIBS
21890 LIBS="-lexpat $LIBS"
21891 cat >conftest.$ac_ext <<_ACEOF
21892 /* confdefs.h. */
21893 _ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897
21898 /* Override any gcc2 internal prototype to avoid an error. */
21899 #ifdef __cplusplus
21900 extern "C"
21901 #endif
21902 /* We use char because int might match the return type of a gcc2
21903 builtin and then its argument prototype would still apply. */
21904 char XML_ParserCreate ();
21905 int
21906 main ()
21907 {
21908 XML_ParserCreate ();
21909 ;
21910 return 0;
21911 }
21912 _ACEOF
21913 rm -f conftest.$ac_objext conftest$ac_exeext
21914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21915 (eval $ac_link) 2>conftest.er1
21916 ac_status=$?
21917 grep -v '^ *+' conftest.er1 >conftest.err
21918 rm -f conftest.er1
21919 cat conftest.err >&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } &&
21922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21925 ac_status=$?
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; } &&
21928 { ac_try='test -s conftest$ac_exeext'
21929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 (eval $ac_try) 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; }; then
21934 ac_cv_lib_expat_XML_ParserCreate=yes
21935 else
21936 echo "$as_me: failed program was:" >&5
21937 sed 's/^/| /' conftest.$ac_ext >&5
21938
21939 ac_cv_lib_expat_XML_ParserCreate=no
21940 fi
21941 rm -f conftest.err conftest.$ac_objext \
21942 conftest$ac_exeext conftest.$ac_ext
21943 LIBS=$ac_check_lib_save_LIBS
21944 fi
21945 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21946 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21947 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21948 EXPAT_LINK=" -lexpat"
21949 fi
21950
21951 fi
21952 fi
21953 if test "x$EXPAT_LINK" = "x" ; then
21954 if test "$wxUSE_EXPAT" = "sys" ; then
21955 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21956 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21957 { (exit 1); exit 1; }; }
21958 else
21959 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21960 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21961 wxUSE_EXPAT=builtin
21962 fi
21963 else
21964 wxUSE_EXPAT=sys
21965 fi
21966 fi
21967 if test "$wxUSE_EXPAT" = "builtin" ; then
21968
21969
21970 subdirs="$subdirs src/expat"
21971
21972 fi
21973 fi
21974
21975
21976
21977 if test "$wxUSE_LIBMSPACK" != "no"; then
21978
21979 if test "${ac_cv_header_mspack_h+set}" = set; then
21980 echo "$as_me:$LINENO: checking for mspack.h" >&5
21981 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21982 if test "${ac_cv_header_mspack_h+set}" = set; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 fi
21985 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21986 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21987 else
21988 # Is the header compilable?
21989 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21990 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21991 cat >conftest.$ac_ext <<_ACEOF
21992 /* confdefs.h. */
21993 _ACEOF
21994 cat confdefs.h >>conftest.$ac_ext
21995 cat >>conftest.$ac_ext <<_ACEOF
21996 /* end confdefs.h. */
21997 $ac_includes_default
21998 #include <mspack.h>
21999 _ACEOF
22000 rm -f conftest.$ac_objext
22001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22002 (eval $ac_compile) 2>conftest.er1
22003 ac_status=$?
22004 grep -v '^ *+' conftest.er1 >conftest.err
22005 rm -f conftest.er1
22006 cat conftest.err >&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } &&
22009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22012 ac_status=$?
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; } &&
22015 { ac_try='test -s conftest.$ac_objext'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22018 ac_status=$?
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; }; then
22021 ac_header_compiler=yes
22022 else
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22025
22026 ac_header_compiler=no
22027 fi
22028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22030 echo "${ECHO_T}$ac_header_compiler" >&6
22031
22032 # Is the header present?
22033 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22034 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22035 cat >conftest.$ac_ext <<_ACEOF
22036 /* confdefs.h. */
22037 _ACEOF
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22041 #include <mspack.h>
22042 _ACEOF
22043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } >/dev/null; then
22051 if test -s conftest.err; then
22052 ac_cpp_err=$ac_c_preproc_warn_flag
22053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22054 else
22055 ac_cpp_err=
22056 fi
22057 else
22058 ac_cpp_err=yes
22059 fi
22060 if test -z "$ac_cpp_err"; then
22061 ac_header_preproc=yes
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066 ac_header_preproc=no
22067 fi
22068 rm -f conftest.err conftest.$ac_ext
22069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22070 echo "${ECHO_T}$ac_header_preproc" >&6
22071
22072 # So? What about this header?
22073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22074 yes:no: )
22075 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22076 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22077 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22078 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22079 ac_header_preproc=yes
22080 ;;
22081 no:yes:* )
22082 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22083 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22084 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22085 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22086 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22087 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22088 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22089 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22090 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22091 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22092 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22093 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22094 (
22095 cat <<\_ASBOX
22096 ## ----------------------------------------- ##
22097 ## Report this to wx-dev@lists.wxwidgets.org ##
22098 ## ----------------------------------------- ##
22099 _ASBOX
22100 ) |
22101 sed "s/^/$as_me: WARNING: /" >&2
22102 ;;
22103 esac
22104 echo "$as_me:$LINENO: checking for mspack.h" >&5
22105 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22106 if test "${ac_cv_header_mspack_h+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 else
22109 ac_cv_header_mspack_h=$ac_header_preproc
22110 fi
22111 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22112 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22113
22114 fi
22115 if test $ac_cv_header_mspack_h = yes; then
22116 found_mspack_h=1
22117 fi
22118
22119
22120 if test "x$found_mspack_h" = "x1"; then
22121 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22122 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22123 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22124 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 else
22126 ac_check_lib_save_LIBS=$LIBS
22127 LIBS="-lmspack $LIBS"
22128 cat >conftest.$ac_ext <<_ACEOF
22129 /* confdefs.h. */
22130 _ACEOF
22131 cat confdefs.h >>conftest.$ac_ext
22132 cat >>conftest.$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22134
22135 /* Override any gcc2 internal prototype to avoid an error. */
22136 #ifdef __cplusplus
22137 extern "C"
22138 #endif
22139 /* We use char because int might match the return type of a gcc2
22140 builtin and then its argument prototype would still apply. */
22141 char mspack_create_chm_decompressor ();
22142 int
22143 main ()
22144 {
22145 mspack_create_chm_decompressor ();
22146 ;
22147 return 0;
22148 }
22149 _ACEOF
22150 rm -f conftest.$ac_objext conftest$ac_exeext
22151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22152 (eval $ac_link) 2>conftest.er1
22153 ac_status=$?
22154 grep -v '^ *+' conftest.er1 >conftest.err
22155 rm -f conftest.er1
22156 cat conftest.err >&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } &&
22159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22162 ac_status=$?
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; } &&
22165 { ac_try='test -s conftest$ac_exeext'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; }; then
22171 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22172 else
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.$ac_ext >&5
22175
22176 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22177 fi
22178 rm -f conftest.err conftest.$ac_objext \
22179 conftest$ac_exeext conftest.$ac_ext
22180 LIBS=$ac_check_lib_save_LIBS
22181 fi
22182 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22183 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22184 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22185 MSPACK_LINK=" -lmspack"
22186 fi
22187
22188 fi
22189 if test "x$MSPACK_LINK" = "x" ; then
22190 wxUSE_LIBMSPACK=no
22191 else
22192 cat >>confdefs.h <<\_ACEOF
22193 #define wxUSE_LIBMSPACK 1
22194 _ACEOF
22195
22196 fi
22197 fi
22198
22199
22200
22201 AFMINSTALL=
22202 WIN32INSTALL=
22203
22204 TOOLKIT=
22205 TOOLKIT_INCLUDE=
22206 WIDGET_SET=
22207
22208 if test "$USE_WIN32" = 1 ; then
22209
22210 for ac_header in w32api.h
22211 do
22212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22214 echo "$as_me:$LINENO: checking for $ac_header" >&5
22215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 fi
22219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22221 else
22222 # Is the header compilable?
22223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22225 cat >conftest.$ac_ext <<_ACEOF
22226 /* confdefs.h. */
22227 _ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 #include <$ac_header>
22233 _ACEOF
22234 rm -f conftest.$ac_objext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22236 (eval $ac_compile) 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; } &&
22249 { ac_try='test -s conftest.$ac_objext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22252 ac_status=$?
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 ac_header_compiler=yes
22256 else
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 ac_header_compiler=no
22261 fi
22262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22264 echo "${ECHO_T}$ac_header_compiler" >&6
22265
22266 # Is the header present?
22267 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 #include <$ac_header>
22276 _ACEOF
22277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22279 ac_status=$?
22280 grep -v '^ *+' conftest.er1 >conftest.err
22281 rm -f conftest.er1
22282 cat conftest.err >&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } >/dev/null; then
22285 if test -s conftest.err; then
22286 ac_cpp_err=$ac_c_preproc_warn_flag
22287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22288 else
22289 ac_cpp_err=
22290 fi
22291 else
22292 ac_cpp_err=yes
22293 fi
22294 if test -z "$ac_cpp_err"; then
22295 ac_header_preproc=yes
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 ac_header_preproc=no
22301 fi
22302 rm -f conftest.err conftest.$ac_ext
22303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22304 echo "${ECHO_T}$ac_header_preproc" >&6
22305
22306 # So? What about this header?
22307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22308 yes:no: )
22309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22313 ac_header_preproc=yes
22314 ;;
22315 no:yes:* )
22316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22328 (
22329 cat <<\_ASBOX
22330 ## ----------------------------------------- ##
22331 ## Report this to wx-dev@lists.wxwidgets.org ##
22332 ## ----------------------------------------- ##
22333 _ASBOX
22334 ) |
22335 sed "s/^/$as_me: WARNING: /" >&2
22336 ;;
22337 esac
22338 echo "$as_me:$LINENO: checking for $ac_header" >&5
22339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22342 else
22343 eval "$as_ac_Header=\$ac_header_preproc"
22344 fi
22345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22347
22348 fi
22349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22350 cat >>confdefs.h <<_ACEOF
22351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22352 _ACEOF
22353
22354 fi
22355
22356 done
22357
22358 if test "${ac_cv_header_windows_h+set}" = set; then
22359 echo "$as_me:$LINENO: checking for windows.h" >&5
22360 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22361 if test "${ac_cv_header_windows_h+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 fi
22364 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22365 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22366 else
22367 # Is the header compilable?
22368 echo "$as_me:$LINENO: checking windows.h usability" >&5
22369 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22370 cat >conftest.$ac_ext <<_ACEOF
22371 /* confdefs.h. */
22372 _ACEOF
22373 cat confdefs.h >>conftest.$ac_ext
22374 cat >>conftest.$ac_ext <<_ACEOF
22375 /* end confdefs.h. */
22376 $ac_includes_default
22377 #include <windows.h>
22378 _ACEOF
22379 rm -f conftest.$ac_objext
22380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22381 (eval $ac_compile) 2>conftest.er1
22382 ac_status=$?
22383 grep -v '^ *+' conftest.er1 >conftest.err
22384 rm -f conftest.er1
22385 cat conftest.err >&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); } &&
22388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22391 ac_status=$?
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; } &&
22394 { ac_try='test -s conftest.$ac_objext'
22395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22396 (eval $ac_try) 2>&5
22397 ac_status=$?
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); }; }; then
22400 ac_header_compiler=yes
22401 else
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.$ac_ext >&5
22404
22405 ac_header_compiler=no
22406 fi
22407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22409 echo "${ECHO_T}$ac_header_compiler" >&6
22410
22411 # Is the header present?
22412 echo "$as_me:$LINENO: checking windows.h presence" >&5
22413 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 #include <windows.h>
22421 _ACEOF
22422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22424 ac_status=$?
22425 grep -v '^ *+' conftest.er1 >conftest.err
22426 rm -f conftest.er1
22427 cat conftest.err >&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); } >/dev/null; then
22430 if test -s conftest.err; then
22431 ac_cpp_err=$ac_c_preproc_warn_flag
22432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22433 else
22434 ac_cpp_err=
22435 fi
22436 else
22437 ac_cpp_err=yes
22438 fi
22439 if test -z "$ac_cpp_err"; then
22440 ac_header_preproc=yes
22441 else
22442 echo "$as_me: failed program was:" >&5
22443 sed 's/^/| /' conftest.$ac_ext >&5
22444
22445 ac_header_preproc=no
22446 fi
22447 rm -f conftest.err conftest.$ac_ext
22448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22449 echo "${ECHO_T}$ac_header_preproc" >&6
22450
22451 # So? What about this header?
22452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22453 yes:no: )
22454 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22455 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22456 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22457 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22458 ac_header_preproc=yes
22459 ;;
22460 no:yes:* )
22461 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22462 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22463 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22464 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22465 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22466 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22467 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22468 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22469 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22470 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22471 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22472 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22473 (
22474 cat <<\_ASBOX
22475 ## ----------------------------------------- ##
22476 ## Report this to wx-dev@lists.wxwidgets.org ##
22477 ## ----------------------------------------- ##
22478 _ASBOX
22479 ) |
22480 sed "s/^/$as_me: WARNING: /" >&2
22481 ;;
22482 esac
22483 echo "$as_me:$LINENO: checking for windows.h" >&5
22484 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22485 if test "${ac_cv_header_windows_h+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 else
22488 ac_cv_header_windows_h=$ac_header_preproc
22489 fi
22490 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22491 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22492
22493 fi
22494 if test $ac_cv_header_windows_h = yes; then
22495 :
22496 else
22497
22498 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22499 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22500 { (exit 1); exit 1; }; }
22501
22502 fi
22503
22504
22505
22506 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22507
22508 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22509 LIBS="$LIBS -loleacc"
22510 fi
22511
22512 case "${host}" in
22513 *-*-cygwin* )
22514 LIBS="$LIBS -lkernel32 -luser32"
22515 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22516 esac
22517
22518 if test "$wxUSE_ODBC" = "sys" ; then
22519 wxUSE_ODBC = "yes"
22520 fi
22521 if test "$wxUSE_ODBC" = "yes" ; then
22522 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22523 cat >>confdefs.h <<\_ACEOF
22524 #define wxUSE_ODBC 1
22525 _ACEOF
22526
22527 fi
22528
22529 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22530 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22531
22532 WIN32INSTALL=win32install
22533 fi
22534
22535 if test "$wxUSE_GUI" = "yes"; then
22536 USE_GUI=1
22537
22538 GUI_TK_LIBRARY=
22539
22540 WXGTK12=
22541 WXGTK127=
22542 WXGTK20=
22543 WXGPE=
22544
22545 if test "$wxUSE_COCOA" = 1 ; then
22546 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22547 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22548 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22549 wxUSE_PRINTING_ARCHITECTURE=no
22550 fi
22551 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22552 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22553 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22554 wxUSE_DRAG_AND_DROP=no
22555 fi
22556 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22557 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22558 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22559 wxUSE_DRAGIMAGE=no
22560 fi
22561 fi
22562
22563 if test "$wxUSE_MSW" = 1 ; then
22564 TOOLKIT=MSW
22565 GUIDIST=MSW_DIST
22566
22567 case "${host}" in
22568 *-*-mingw32* )
22569 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22570 esac
22571 fi
22572
22573 if test "$wxUSE_GTK" = 1; then
22574 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22575 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22576
22577 gtk_version_cached=1
22578 if test "${wx_cv_lib_gtk+set}" = set; then
22579 echo $ECHO_N "(cached) $ECHO_C" >&6
22580 else
22581
22582 gtk_version_cached=0
22583 echo "$as_me:$LINENO: result: " >&5
22584 echo "${ECHO_T}" >&6
22585
22586 GTK_MODULES=
22587 if test "$wxUSE_THREADS" = "yes"; then
22588 GTK_MODULES=gthread
22589 fi
22590
22591 wx_cv_lib_gtk=
22592 if test "x$wxUSE_GTK2" = "xyes"; then
22593 # Check whether --enable-gtktest or --disable-gtktest was given.
22594 if test "${enable_gtktest+set}" = set; then
22595 enableval="$enable_gtktest"
22596
22597 else
22598 enable_gtktest=yes
22599 fi;
22600
22601 pkg_config_args=gtk+-2.0
22602 for module in . $GTK_MODULES
22603 do
22604 case "$module" in
22605 gthread)
22606 pkg_config_args="$pkg_config_args gthread-2.0"
22607 ;;
22608 esac
22609 done
22610
22611 no_gtk=""
22612
22613 # Extract the first word of "pkg-config", so it can be a program name with args.
22614 set dummy pkg-config; ac_word=$2
22615 echo "$as_me:$LINENO: checking for $ac_word" >&5
22616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22618 echo $ECHO_N "(cached) $ECHO_C" >&6
22619 else
22620 case $PKG_CONFIG in
22621 [\\/]* | ?:[\\/]*)
22622 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22623 ;;
22624 *)
22625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22626 for as_dir in $PATH
22627 do
22628 IFS=$as_save_IFS
22629 test -z "$as_dir" && as_dir=.
22630 for ac_exec_ext in '' $ac_executable_extensions; do
22631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22632 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22634 break 2
22635 fi
22636 done
22637 done
22638
22639 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22640 ;;
22641 esac
22642 fi
22643 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22644
22645 if test -n "$PKG_CONFIG"; then
22646 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22647 echo "${ECHO_T}$PKG_CONFIG" >&6
22648 else
22649 echo "$as_me:$LINENO: result: no" >&5
22650 echo "${ECHO_T}no" >&6
22651 fi
22652
22653
22654 if test x$PKG_CONFIG != xno ; then
22655 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22656 :
22657 else
22658 echo "*** pkg-config too old; version 0.7 or better required."
22659 no_gtk=yes
22660 PKG_CONFIG=no
22661 fi
22662 else
22663 no_gtk=yes
22664 fi
22665
22666 min_gtk_version=2.0.0
22667 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22668 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22669
22670 if test x$PKG_CONFIG != xno ; then
22671 ## don't try to run the test against uninstalled libtool libs
22672 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22673 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22674 enable_gtktest=no
22675 fi
22676
22677 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22678 :
22679 else
22680 no_gtk=yes
22681 fi
22682 fi
22683
22684 if test x"$no_gtk" = x ; then
22685 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22686 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22687 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22688 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22689 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22691 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22693 if test "x$enable_gtktest" = "xyes" ; then
22694 ac_save_CFLAGS="$CFLAGS"
22695 ac_save_LIBS="$LIBS"
22696 CFLAGS="$CFLAGS $GTK_CFLAGS"
22697 LIBS="$GTK_LIBS $LIBS"
22698 rm -f conf.gtktest
22699 if test "$cross_compiling" = yes; then
22700 echo $ac_n "cross compiling; assumed OK... $ac_c"
22701 else
22702 cat >conftest.$ac_ext <<_ACEOF
22703 /* confdefs.h. */
22704 _ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708
22709 #include <gtk/gtk.h>
22710 #include <stdio.h>
22711 #include <stdlib.h>
22712
22713 int
22714 main ()
22715 {
22716 int major, minor, micro;
22717 char *tmp_version;
22718
22719 system ("touch conf.gtktest");
22720
22721 /* HP/UX 9 (%@#!) writes to sscanf strings */
22722 tmp_version = g_strdup("$min_gtk_version");
22723 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22724 printf("%s, bad version string\n", "$min_gtk_version");
22725 exit(1);
22726 }
22727
22728 if ((gtk_major_version != $gtk_config_major_version) ||
22729 (gtk_minor_version != $gtk_config_minor_version) ||
22730 (gtk_micro_version != $gtk_config_micro_version))
22731 {
22732 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22733 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22734 gtk_major_version, gtk_minor_version, gtk_micro_version);
22735 printf ("*** was found! If pkg-config was correct, then it is best\n");
22736 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22737 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22738 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22739 printf("*** required on your system.\n");
22740 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22741 printf("*** to point to the correct configuration files\n");
22742 }
22743 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22744 (gtk_minor_version != GTK_MINOR_VERSION) ||
22745 (gtk_micro_version != GTK_MICRO_VERSION))
22746 {
22747 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22748 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22749 printf("*** library (version %d.%d.%d)\n",
22750 gtk_major_version, gtk_minor_version, gtk_micro_version);
22751 }
22752 else
22753 {
22754 if ((gtk_major_version > major) ||
22755 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22756 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22757 {
22758 return 0;
22759 }
22760 else
22761 {
22762 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22763 gtk_major_version, gtk_minor_version, gtk_micro_version);
22764 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22765 major, minor, micro);
22766 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22767 printf("***\n");
22768 printf("*** If you have already installed a sufficiently new version, this error\n");
22769 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22770 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22771 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22772 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22773 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22774 printf("*** so that the correct libraries are found at run-time))\n");
22775 }
22776 }
22777 return 1;
22778 }
22779
22780 _ACEOF
22781 rm -f conftest$ac_exeext
22782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22783 (eval $ac_link) 2>&5
22784 ac_status=$?
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22788 (eval $ac_try) 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; }; then
22792 :
22793 else
22794 echo "$as_me: program exited with status $ac_status" >&5
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 ( exit $ac_status )
22799 no_gtk=yes
22800 fi
22801 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22802 fi
22803 CFLAGS="$ac_save_CFLAGS"
22804 LIBS="$ac_save_LIBS"
22805 fi
22806 fi
22807 if test "x$no_gtk" = x ; then
22808 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22809 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22810 wx_cv_lib_gtk=2.0
22811 else
22812 echo "$as_me:$LINENO: result: no" >&5
22813 echo "${ECHO_T}no" >&6
22814 if test "$PKG_CONFIG" = "no" ; then
22815 echo "*** A new enough version of pkg-config was not found."
22816 echo "*** See http://pkgconfig.sourceforge.net"
22817 else
22818 if test -f conf.gtktest ; then
22819 :
22820 else
22821 echo "*** Could not run GTK+ test program, checking why..."
22822 ac_save_CFLAGS="$CFLAGS"
22823 ac_save_LIBS="$LIBS"
22824 CFLAGS="$CFLAGS $GTK_CFLAGS"
22825 LIBS="$LIBS $GTK_LIBS"
22826 cat >conftest.$ac_ext <<_ACEOF
22827 /* confdefs.h. */
22828 _ACEOF
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22832
22833 #include <gtk/gtk.h>
22834 #include <stdio.h>
22835
22836 int
22837 main ()
22838 {
22839 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22840 ;
22841 return 0;
22842 }
22843 _ACEOF
22844 rm -f conftest.$ac_objext conftest$ac_exeext
22845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22846 (eval $ac_link) 2>conftest.er1
22847 ac_status=$?
22848 grep -v '^ *+' conftest.er1 >conftest.err
22849 rm -f conftest.er1
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } &&
22853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22855 (eval $ac_try) 2>&5
22856 ac_status=$?
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); }; } &&
22859 { ac_try='test -s conftest$ac_exeext'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22862 ac_status=$?
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; }; then
22865 echo "*** The test program compiled, but did not run. This usually means"
22866 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22867 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22870 echo "*** is required on your system"
22871 echo "***"
22872 echo "*** If you have an old version installed, it is best to remove it, although"
22873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22874 else
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22877
22878 echo "*** The test program failed to compile or link. See the file config.log for the"
22879 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22880 fi
22881 rm -f conftest.err conftest.$ac_objext \
22882 conftest$ac_exeext conftest.$ac_ext
22883 CFLAGS="$ac_save_CFLAGS"
22884 LIBS="$ac_save_LIBS"
22885 fi
22886 fi
22887 GTK_CFLAGS=""
22888 GTK_LIBS=""
22889 :
22890 fi
22891
22892
22893 rm -f conf.gtktest
22894
22895 else
22896
22897 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22898 if test "${with_gtk_prefix+set}" = set; then
22899 withval="$with_gtk_prefix"
22900 gtk_config_prefix="$withval"
22901 else
22902 gtk_config_prefix=""
22903 fi;
22904
22905 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22906 if test "${with_gtk_exec_prefix+set}" = set; then
22907 withval="$with_gtk_exec_prefix"
22908 gtk_config_exec_prefix="$withval"
22909 else
22910 gtk_config_exec_prefix=""
22911 fi;
22912 # Check whether --enable-gtktest or --disable-gtktest was given.
22913 if test "${enable_gtktest+set}" = set; then
22914 enableval="$enable_gtktest"
22915
22916 else
22917 enable_gtktest=yes
22918 fi;
22919
22920 for module in . $GTK_MODULES
22921 do
22922 case "$module" in
22923 gthread)
22924 gtk_config_args="$gtk_config_args gthread"
22925 ;;
22926 esac
22927 done
22928
22929 if test x$gtk_config_exec_prefix != x ; then
22930 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22931 if test x${GTK_CONFIG+set} != xset ; then
22932 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22933 fi
22934 fi
22935 if test x$gtk_config_prefix != x ; then
22936 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22937 if test x${GTK_CONFIG+set} != xset ; then
22938 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22939 fi
22940 fi
22941
22942 # Extract the first word of "gtk-config", so it can be a program name with args.
22943 set dummy gtk-config; ac_word=$2
22944 echo "$as_me:$LINENO: checking for $ac_word" >&5
22945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22946 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22947 echo $ECHO_N "(cached) $ECHO_C" >&6
22948 else
22949 case $GTK_CONFIG in
22950 [\\/]* | ?:[\\/]*)
22951 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22952 ;;
22953 *)
22954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22955 for as_dir in $PATH
22956 do
22957 IFS=$as_save_IFS
22958 test -z "$as_dir" && as_dir=.
22959 for ac_exec_ext in '' $ac_executable_extensions; do
22960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22961 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22963 break 2
22964 fi
22965 done
22966 done
22967
22968 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22969 ;;
22970 esac
22971 fi
22972 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22973
22974 if test -n "$GTK_CONFIG"; then
22975 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22976 echo "${ECHO_T}$GTK_CONFIG" >&6
22977 else
22978 echo "$as_me:$LINENO: result: no" >&5
22979 echo "${ECHO_T}no" >&6
22980 fi
22981
22982 min_gtk_version=1.2.7
22983 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22984 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22985 no_gtk=""
22986 if test "$GTK_CONFIG" = "no" ; then
22987 no_gtk=yes
22988 else
22989 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22990 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22991 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22993 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22995 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22997 if test "x$enable_gtktest" = "xyes" ; then
22998 ac_save_CFLAGS="$CFLAGS"
22999 ac_save_LIBS="$LIBS"
23000 CFLAGS="$CFLAGS $GTK_CFLAGS"
23001 LIBS="$GTK_LIBS $LIBS"
23002 rm -f conf.gtktest
23003 if test "$cross_compiling" = yes; then
23004 echo $ac_n "cross compiling; assumed OK... $ac_c"
23005 else
23006 cat >conftest.$ac_ext <<_ACEOF
23007 /* confdefs.h. */
23008 _ACEOF
23009 cat confdefs.h >>conftest.$ac_ext
23010 cat >>conftest.$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012
23013 #include <gtk/gtk.h>
23014 #include <stdio.h>
23015 #include <stdlib.h>
23016
23017 int
23018 main ()
23019 {
23020 int major, minor, micro;
23021 char *tmp_version;
23022
23023 system ("touch conf.gtktest");
23024
23025 /* HP/UX 9 (%@#!) writes to sscanf strings */
23026 tmp_version = g_strdup("$min_gtk_version");
23027 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23028 printf("%s, bad version string\n", "$min_gtk_version");
23029 exit(1);
23030 }
23031
23032 if ((gtk_major_version != $gtk_config_major_version) ||
23033 (gtk_minor_version != $gtk_config_minor_version) ||
23034 (gtk_micro_version != $gtk_config_micro_version))
23035 {
23036 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23037 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23038 gtk_major_version, gtk_minor_version, gtk_micro_version);
23039 printf ("*** was found! If gtk-config was correct, then it is best\n");
23040 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23041 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23042 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23043 printf("*** required on your system.\n");
23044 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23045 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23046 printf("*** before re-running configure\n");
23047 }
23048 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23049 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23050 (gtk_minor_version != GTK_MINOR_VERSION) ||
23051 (gtk_micro_version != GTK_MICRO_VERSION))
23052 {
23053 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23054 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23055 printf("*** library (version %d.%d.%d)\n",
23056 gtk_major_version, gtk_minor_version, gtk_micro_version);
23057 }
23058 #endif /* defined (GTK_MAJOR_VERSION) ... */
23059 else
23060 {
23061 if ((gtk_major_version > major) ||
23062 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23063 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23064 {
23065 return 0;
23066 }
23067 else
23068 {
23069 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23070 gtk_major_version, gtk_minor_version, gtk_micro_version);
23071 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23072 major, minor, micro);
23073 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23074 printf("***\n");
23075 printf("*** If you have already installed a sufficiently new version, this error\n");
23076 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23077 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23078 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23079 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23080 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23081 printf("*** so that the correct libraries are found at run-time))\n");
23082 }
23083 }
23084 return 1;
23085 }
23086
23087 _ACEOF
23088 rm -f conftest$ac_exeext
23089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23090 (eval $ac_link) 2>&5
23091 ac_status=$?
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 :
23100 else
23101 echo "$as_me: program exited with status $ac_status" >&5
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23104
23105 ( exit $ac_status )
23106 no_gtk=yes
23107 fi
23108 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23109 fi
23110 CFLAGS="$ac_save_CFLAGS"
23111 LIBS="$ac_save_LIBS"
23112 fi
23113 fi
23114 if test "x$no_gtk" = x ; then
23115 echo "$as_me:$LINENO: result: yes" >&5
23116 echo "${ECHO_T}yes" >&6
23117 wx_cv_lib_gtk=1.2.7
23118 else
23119 echo "$as_me:$LINENO: result: no" >&5
23120 echo "${ECHO_T}no" >&6
23121 if test "$GTK_CONFIG" = "no" ; then
23122 echo "*** The gtk-config script installed by GTK could not be found"
23123 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23124 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23125 echo "*** full path to gtk-config."
23126 else
23127 if test -f conf.gtktest ; then
23128 :
23129 else
23130 echo "*** Could not run GTK test program, checking why..."
23131 CFLAGS="$CFLAGS $GTK_CFLAGS"
23132 LIBS="$LIBS $GTK_LIBS"
23133 cat >conftest.$ac_ext <<_ACEOF
23134 /* confdefs.h. */
23135 _ACEOF
23136 cat confdefs.h >>conftest.$ac_ext
23137 cat >>conftest.$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139
23140 #include <gtk/gtk.h>
23141 #include <stdio.h>
23142
23143 int
23144 main ()
23145 {
23146 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23147 ;
23148 return 0;
23149 }
23150 _ACEOF
23151 rm -f conftest.$ac_objext conftest$ac_exeext
23152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23153 (eval $ac_link) 2>conftest.er1
23154 ac_status=$?
23155 grep -v '^ *+' conftest.er1 >conftest.err
23156 rm -f conftest.er1
23157 cat conftest.err >&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); } &&
23160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23162 (eval $ac_try) 2>&5
23163 ac_status=$?
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); }; } &&
23166 { ac_try='test -s conftest$ac_exeext'
23167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23168 (eval $ac_try) 2>&5
23169 ac_status=$?
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; }; then
23172 echo "*** The test program compiled, but did not run. This usually means"
23173 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23174 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23175 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23176 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23177 echo "*** is required on your system"
23178 echo "***"
23179 echo "*** If you have an old version installed, it is best to remove it, although"
23180 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23181 echo "***"
23182 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23183 echo "*** came with the system with the command"
23184 echo "***"
23185 echo "*** rpm --erase --nodeps gtk gtk-devel"
23186 else
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.$ac_ext >&5
23189
23190 echo "*** The test program failed to compile or link. See the file config.log for the"
23191 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23192 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23193 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23194 fi
23195 rm -f conftest.err conftest.$ac_objext \
23196 conftest$ac_exeext conftest.$ac_ext
23197 CFLAGS="$ac_save_CFLAGS"
23198 LIBS="$ac_save_LIBS"
23199 fi
23200 fi
23201 GTK_CFLAGS=""
23202 GTK_LIBS=""
23203 :
23204 fi
23205
23206
23207 rm -f conf.gtktest
23208
23209
23210 if test -z "$wx_cv_lib_gtk"; then
23211
23212 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23213 if test "${with_gtk_prefix+set}" = set; then
23214 withval="$with_gtk_prefix"
23215 gtk_config_prefix="$withval"
23216 else
23217 gtk_config_prefix=""
23218 fi;
23219
23220 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23221 if test "${with_gtk_exec_prefix+set}" = set; then
23222 withval="$with_gtk_exec_prefix"
23223 gtk_config_exec_prefix="$withval"
23224 else
23225 gtk_config_exec_prefix=""
23226 fi;
23227 # Check whether --enable-gtktest or --disable-gtktest was given.
23228 if test "${enable_gtktest+set}" = set; then
23229 enableval="$enable_gtktest"
23230
23231 else
23232 enable_gtktest=yes
23233 fi;
23234
23235 for module in . $GTK_MODULES
23236 do
23237 case "$module" in
23238 gthread)
23239 gtk_config_args="$gtk_config_args gthread"
23240 ;;
23241 esac
23242 done
23243
23244 if test x$gtk_config_exec_prefix != x ; then
23245 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23246 if test x${GTK_CONFIG+set} != xset ; then
23247 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23248 fi
23249 fi
23250 if test x$gtk_config_prefix != x ; then
23251 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23252 if test x${GTK_CONFIG+set} != xset ; then
23253 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23254 fi
23255 fi
23256
23257 # Extract the first word of "gtk-config", so it can be a program name with args.
23258 set dummy gtk-config; ac_word=$2
23259 echo "$as_me:$LINENO: checking for $ac_word" >&5
23260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23261 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23264 case $GTK_CONFIG in
23265 [\\/]* | ?:[\\/]*)
23266 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23267 ;;
23268 *)
23269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23270 for as_dir in $PATH
23271 do
23272 IFS=$as_save_IFS
23273 test -z "$as_dir" && as_dir=.
23274 for ac_exec_ext in '' $ac_executable_extensions; do
23275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23276 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23278 break 2
23279 fi
23280 done
23281 done
23282
23283 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23284 ;;
23285 esac
23286 fi
23287 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23288
23289 if test -n "$GTK_CONFIG"; then
23290 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23291 echo "${ECHO_T}$GTK_CONFIG" >&6
23292 else
23293 echo "$as_me:$LINENO: result: no" >&5
23294 echo "${ECHO_T}no" >&6
23295 fi
23296
23297 min_gtk_version=1.2.3
23298 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23299 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23300 no_gtk=""
23301 if test "$GTK_CONFIG" = "no" ; then
23302 no_gtk=yes
23303 else
23304 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23305 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23306 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23308 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23310 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23312 if test "x$enable_gtktest" = "xyes" ; then
23313 ac_save_CFLAGS="$CFLAGS"
23314 ac_save_LIBS="$LIBS"
23315 CFLAGS="$CFLAGS $GTK_CFLAGS"
23316 LIBS="$GTK_LIBS $LIBS"
23317 rm -f conf.gtktest
23318 if test "$cross_compiling" = yes; then
23319 echo $ac_n "cross compiling; assumed OK... $ac_c"
23320 else
23321 cat >conftest.$ac_ext <<_ACEOF
23322 /* confdefs.h. */
23323 _ACEOF
23324 cat confdefs.h >>conftest.$ac_ext
23325 cat >>conftest.$ac_ext <<_ACEOF
23326 /* end confdefs.h. */
23327
23328 #include <gtk/gtk.h>
23329 #include <stdio.h>
23330 #include <stdlib.h>
23331
23332 int
23333 main ()
23334 {
23335 int major, minor, micro;
23336 char *tmp_version;
23337
23338 system ("touch conf.gtktest");
23339
23340 /* HP/UX 9 (%@#!) writes to sscanf strings */
23341 tmp_version = g_strdup("$min_gtk_version");
23342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23343 printf("%s, bad version string\n", "$min_gtk_version");
23344 exit(1);
23345 }
23346
23347 if ((gtk_major_version != $gtk_config_major_version) ||
23348 (gtk_minor_version != $gtk_config_minor_version) ||
23349 (gtk_micro_version != $gtk_config_micro_version))
23350 {
23351 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23353 gtk_major_version, gtk_minor_version, gtk_micro_version);
23354 printf ("*** was found! If gtk-config was correct, then it is best\n");
23355 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23356 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23357 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23358 printf("*** required on your system.\n");
23359 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23360 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23361 printf("*** before re-running configure\n");
23362 }
23363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23364 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23365 (gtk_minor_version != GTK_MINOR_VERSION) ||
23366 (gtk_micro_version != GTK_MICRO_VERSION))
23367 {
23368 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23369 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23370 printf("*** library (version %d.%d.%d)\n",
23371 gtk_major_version, gtk_minor_version, gtk_micro_version);
23372 }
23373 #endif /* defined (GTK_MAJOR_VERSION) ... */
23374 else
23375 {
23376 if ((gtk_major_version > major) ||
23377 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23378 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23379 {
23380 return 0;
23381 }
23382 else
23383 {
23384 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23385 gtk_major_version, gtk_minor_version, gtk_micro_version);
23386 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23387 major, minor, micro);
23388 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23389 printf("***\n");
23390 printf("*** If you have already installed a sufficiently new version, this error\n");
23391 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23392 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23393 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23394 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23395 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23396 printf("*** so that the correct libraries are found at run-time))\n");
23397 }
23398 }
23399 return 1;
23400 }
23401
23402 _ACEOF
23403 rm -f conftest$ac_exeext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23405 (eval $ac_link) 2>&5
23406 ac_status=$?
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23411 ac_status=$?
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; }; then
23414 :
23415 else
23416 echo "$as_me: program exited with status $ac_status" >&5
23417 echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.$ac_ext >&5
23419
23420 ( exit $ac_status )
23421 no_gtk=yes
23422 fi
23423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23424 fi
23425 CFLAGS="$ac_save_CFLAGS"
23426 LIBS="$ac_save_LIBS"
23427 fi
23428 fi
23429 if test "x$no_gtk" = x ; then
23430 echo "$as_me:$LINENO: result: yes" >&5
23431 echo "${ECHO_T}yes" >&6
23432 wx_cv_lib_gtk=1.2.3
23433 else
23434 echo "$as_me:$LINENO: result: no" >&5
23435 echo "${ECHO_T}no" >&6
23436 if test "$GTK_CONFIG" = "no" ; then
23437 echo "*** The gtk-config script installed by GTK could not be found"
23438 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23439 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23440 echo "*** full path to gtk-config."
23441 else
23442 if test -f conf.gtktest ; then
23443 :
23444 else
23445 echo "*** Could not run GTK test program, checking why..."
23446 CFLAGS="$CFLAGS $GTK_CFLAGS"
23447 LIBS="$LIBS $GTK_LIBS"
23448 cat >conftest.$ac_ext <<_ACEOF
23449 /* confdefs.h. */
23450 _ACEOF
23451 cat confdefs.h >>conftest.$ac_ext
23452 cat >>conftest.$ac_ext <<_ACEOF
23453 /* end confdefs.h. */
23454
23455 #include <gtk/gtk.h>
23456 #include <stdio.h>
23457
23458 int
23459 main ()
23460 {
23461 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 rm -f conftest.$ac_objext conftest$ac_exeext
23467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23468 (eval $ac_link) 2>conftest.er1
23469 ac_status=$?
23470 grep -v '^ *+' conftest.er1 >conftest.err
23471 rm -f conftest.er1
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23478 ac_status=$?
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; } &&
23481 { ac_try='test -s conftest$ac_exeext'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23484 ac_status=$?
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 echo "*** The test program compiled, but did not run. This usually means"
23488 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23489 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23490 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23491 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23492 echo "*** is required on your system"
23493 echo "***"
23494 echo "*** If you have an old version installed, it is best to remove it, although"
23495 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23496 echo "***"
23497 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23498 echo "*** came with the system with the command"
23499 echo "***"
23500 echo "*** rpm --erase --nodeps gtk gtk-devel"
23501 else
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.$ac_ext >&5
23504
23505 echo "*** The test program failed to compile or link. See the file config.log for the"
23506 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23507 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23508 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23509 fi
23510 rm -f conftest.err conftest.$ac_objext \
23511 conftest$ac_exeext conftest.$ac_ext
23512 CFLAGS="$ac_save_CFLAGS"
23513 LIBS="$ac_save_LIBS"
23514 fi
23515 fi
23516 GTK_CFLAGS=""
23517 GTK_LIBS=""
23518 :
23519 fi
23520
23521
23522 rm -f conf.gtktest
23523
23524 fi
23525 fi
23526
23527 if test -z "$wx_cv_lib_gtk"; then
23528 wx_cv_lib_gtk=none
23529 else
23530 wx_cv_cflags_gtk=$GTK_CFLAGS
23531 wx_cv_libs_gtk=$GTK_LIBS
23532 fi
23533
23534
23535 fi
23536
23537
23538 if test "$gtk_version_cached" = 1; then
23539 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23540 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23541 fi
23542
23543 case "$wx_cv_lib_gtk" in
23544 2.0) WXGTK20=1
23545 TOOLKIT_VERSION=2
23546 ;;
23547 1.2.7) WXGTK127=1
23548 WXGTK12=1
23549 ;;
23550 1.2.3) WXGTK12=1
23551 ;;
23552 *) { { echo "$as_me:$LINENO: error:
23553 Please check that gtk-config is in path, the directory
23554 where GTK+ libraries are installed (returned by
23555 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23556 equivalent variable and GTK+ is version 1.2.3 or above.
23557 " >&5
23558 echo "$as_me: error:
23559 Please check that gtk-config is in path, the directory
23560 where GTK+ libraries are installed (returned by
23561 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23562 equivalent variable and GTK+ is version 1.2.3 or above.
23563 " >&2;}
23564 { (exit 1); exit 1; }; }
23565 ;;
23566 esac
23567
23568 if test "$WXGTK20" = 1; then
23569 save_CFLAGS="$CFLAGS"
23570 save_LIBS="$LIBS"
23571 CFLAGS="$CFLAGS $GTK_CFLAGS"
23572 LIBS="$LIBS $GTK_LIBS"
23573
23574
23575 for ac_func in pango_font_family_is_monospace
23576 do
23577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23578 echo "$as_me:$LINENO: checking for $ac_func" >&5
23579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23580 if eval "test \"\${$as_ac_var+set}\" = set"; then
23581 echo $ECHO_N "(cached) $ECHO_C" >&6
23582 else
23583 cat >conftest.$ac_ext <<_ACEOF
23584 /* confdefs.h. */
23585 _ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23591 #define $ac_func innocuous_$ac_func
23592
23593 /* System header to define __stub macros and hopefully few prototypes,
23594 which can conflict with char $ac_func (); below.
23595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23596 <limits.h> exists even on freestanding compilers. */
23597
23598 #ifdef __STDC__
23599 # include <limits.h>
23600 #else
23601 # include <assert.h>
23602 #endif
23603
23604 #undef $ac_func
23605
23606 /* Override any gcc2 internal prototype to avoid an error. */
23607 #ifdef __cplusplus
23608 extern "C"
23609 {
23610 #endif
23611 /* We use char because int might match the return type of a gcc2
23612 builtin and then its argument prototype would still apply. */
23613 char $ac_func ();
23614 /* The GNU C library defines this for functions which it implements
23615 to always fail with ENOSYS. Some functions are actually named
23616 something starting with __ and the normal name is an alias. */
23617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23618 choke me
23619 #else
23620 char (*f) () = $ac_func;
23621 #endif
23622 #ifdef __cplusplus
23623 }
23624 #endif
23625
23626 int
23627 main ()
23628 {
23629 return f != $ac_func;
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext conftest$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; } &&
23649 { ac_try='test -s conftest$ac_exeext'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23652 ac_status=$?
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; }; then
23655 eval "$as_ac_var=yes"
23656 else
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.$ac_ext >&5
23659
23660 eval "$as_ac_var=no"
23661 fi
23662 rm -f conftest.err conftest.$ac_objext \
23663 conftest$ac_exeext conftest.$ac_ext
23664 fi
23665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23667 if test `eval echo '${'$as_ac_var'}'` = yes; then
23668 cat >>confdefs.h <<_ACEOF
23669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23670 _ACEOF
23671
23672 fi
23673 done
23674
23675
23676 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
23677 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
23678 cat >conftest.$ac_ext <<_ACEOF
23679 /* confdefs.h. */
23680 _ACEOF
23681 cat confdefs.h >>conftest.$ac_ext
23682 cat >>conftest.$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23684
23685 #include <gtk/gtk.h>
23686
23687 int
23688 main ()
23689 {
23690
23691 #if !GTK_CHECK_VERSION(2,4,0)
23692 #error "Not GTK+ 2.4"
23693 #endif
23694
23695 ;
23696 return 0;
23697 }
23698 _ACEOF
23699 rm -f conftest.$ac_objext
23700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23701 (eval $ac_compile) 2>conftest.er1
23702 ac_status=$?
23703 grep -v '^ *+' conftest.er1 >conftest.err
23704 rm -f conftest.er1
23705 cat conftest.err >&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; } &&
23714 { ac_try='test -s conftest.$ac_objext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720
23721 cat >>confdefs.h <<\_ACEOF
23722 #define __WXGTK24__ 1
23723 _ACEOF
23724
23725 echo "$as_me:$LINENO: result: yes" >&5
23726 echo "${ECHO_T}yes" >&6
23727
23728 else
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.$ac_ext >&5
23731
23732
23733 echo "$as_me:$LINENO: result: no" >&5
23734 echo "${ECHO_T}no" >&6
23735
23736 fi
23737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23738
23739 CFLAGS="$save_CFLAGS"
23740 LIBS="$save_LIBS"
23741 else
23742 if test "$wxUSE_UNICODE" = "yes"; then
23743 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23744 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23745 wxUSE_UNICODE=no
23746 fi
23747 fi
23748
23749 if test "$USE_DARWIN" != 1; then
23750
23751 for ac_func in poll
23752 do
23753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23754 echo "$as_me:$LINENO: checking for $ac_func" >&5
23755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23756 if eval "test \"\${$as_ac_var+set}\" = set"; then
23757 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 else
23759 cat >conftest.$ac_ext <<_ACEOF
23760 /* confdefs.h. */
23761 _ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23767 #define $ac_func innocuous_$ac_func
23768
23769 /* System header to define __stub macros and hopefully few prototypes,
23770 which can conflict with char $ac_func (); below.
23771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23772 <limits.h> exists even on freestanding compilers. */
23773
23774 #ifdef __STDC__
23775 # include <limits.h>
23776 #else
23777 # include <assert.h>
23778 #endif
23779
23780 #undef $ac_func
23781
23782 /* Override any gcc2 internal prototype to avoid an error. */
23783 #ifdef __cplusplus
23784 extern "C"
23785 {
23786 #endif
23787 /* We use char because int might match the return type of a gcc2
23788 builtin and then its argument prototype would still apply. */
23789 char $ac_func ();
23790 /* The GNU C library defines this for functions which it implements
23791 to always fail with ENOSYS. Some functions are actually named
23792 something starting with __ and the normal name is an alias. */
23793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23794 choke me
23795 #else
23796 char (*f) () = $ac_func;
23797 #endif
23798 #ifdef __cplusplus
23799 }
23800 #endif
23801
23802 int
23803 main ()
23804 {
23805 return f != $ac_func;
23806 ;
23807 return 0;
23808 }
23809 _ACEOF
23810 rm -f conftest.$ac_objext conftest$ac_exeext
23811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23812 (eval $ac_link) 2>conftest.er1
23813 ac_status=$?
23814 grep -v '^ *+' conftest.er1 >conftest.err
23815 rm -f conftest.er1
23816 cat conftest.err >&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } &&
23819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821 (eval $ac_try) 2>&5
23822 ac_status=$?
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); }; } &&
23825 { ac_try='test -s conftest$ac_exeext'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23828 ac_status=$?
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; }; then
23831 eval "$as_ac_var=yes"
23832 else
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23835
23836 eval "$as_ac_var=no"
23837 fi
23838 rm -f conftest.err conftest.$ac_objext \
23839 conftest$ac_exeext conftest.$ac_ext
23840 fi
23841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23843 if test `eval echo '${'$as_ac_var'}'` = yes; then
23844 cat >>confdefs.h <<_ACEOF
23845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23846 _ACEOF
23847
23848 fi
23849 done
23850
23851 fi
23852
23853 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23854 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23855
23856 AFMINSTALL=afminstall
23857 TOOLKIT=GTK
23858 GUIDIST=GTK_DIST
23859
23860 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23861 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23862 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 else
23865 ac_check_lib_save_LIBS=$LIBS
23866 LIBS="-lgdk $LIBS"
23867 cat >conftest.$ac_ext <<_ACEOF
23868 /* confdefs.h. */
23869 _ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873
23874 /* Override any gcc2 internal prototype to avoid an error. */
23875 #ifdef __cplusplus
23876 extern "C"
23877 #endif
23878 /* We use char because int might match the return type of a gcc2
23879 builtin and then its argument prototype would still apply. */
23880 char gdk_im_open ();
23881 int
23882 main ()
23883 {
23884 gdk_im_open ();
23885 ;
23886 return 0;
23887 }
23888 _ACEOF
23889 rm -f conftest.$ac_objext conftest$ac_exeext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23891 (eval $ac_link) 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_c_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_exeext'
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 ac_cv_lib_gdk_gdk_im_open=yes
23911 else
23912 echo "$as_me: failed program was:" >&5
23913 sed 's/^/| /' conftest.$ac_ext >&5
23914
23915 ac_cv_lib_gdk_gdk_im_open=no
23916 fi
23917 rm -f conftest.err conftest.$ac_objext \
23918 conftest$ac_exeext conftest.$ac_ext
23919 LIBS=$ac_check_lib_save_LIBS
23920 fi
23921 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23922 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23923 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23924 cat >>confdefs.h <<\_ACEOF
23925 #define HAVE_XIM 1
23926 _ACEOF
23927
23928 fi
23929
23930
23931
23932 if test "$wxUSE_GPE" = "yes"; then
23933 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23934 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23935
23936 ac_find_libraries=
23937 for ac_dir in $SEARCH_LIB /usr/lib;
23938 do
23939 for ac_extension in a so sl dylib; do
23940 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23941 ac_find_libraries=$ac_dir
23942 break 2
23943 fi
23944 done
23945 done
23946
23947 if test "$ac_find_libraries" != "" ; then
23948
23949 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23950 result=$?
23951 if test $result = 0; then
23952 ac_path_to_link=""
23953 else
23954 ac_path_to_link=" -L$ac_find_libraries"
23955 fi
23956
23957 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23958 WXGPE=1
23959 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23960 echo "${ECHO_T}found at $ac_find_libraries" >&6
23961 else
23962 echo "$as_me:$LINENO: result: not found" >&5
23963 echo "${ECHO_T}not found" >&6
23964 fi
23965
23966 fi
23967 fi
23968
23969 if test "$wxUSE_MGL" = 1; then
23970 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23971 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23972 if test "x$MGL_ROOT" = x ; then
23973 echo "$as_me:$LINENO: result: not found" >&5
23974 echo "${ECHO_T}not found" >&6
23975 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23976 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23977 { (exit 1); exit 1; }; }
23978 else
23979 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23980 echo "${ECHO_T}$MGL_ROOT" >&6
23981 fi
23982
23983 echo "$as_me:$LINENO: checking for libmgl location" >&5
23984 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23985 case "${host}" in
23986 *-*-linux* )
23987 if test "x$wxUSE_SHARED" = xyes ; then
23988 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23989 else
23990 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23991 fi
23992 ;;
23993 *-pc-msdosdjgpp )
23994 mgl_os_candidates="dos32/dj2"
23995 ;;
23996 *)
23997 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23998 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23999 { (exit 1); exit 1; }; }
24000 esac
24001
24002 mgl_lib_type=""
24003 mgl_os=""
24004
24005 for mgl_os_i in $mgl_os_candidates ; do
24006 if test "x$mgl_os" = x ; then
24007 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24008 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24009 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24010 mgl_lib_type=debug
24011 mgl_os=$mgl_os_i
24012 fi
24013 fi
24014 if test "x$mgl_lib_type" = x ; then
24015 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24016 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24017 mgl_lib_type=release
24018 mgl_os=$mgl_os_i
24019 fi
24020 fi
24021 fi
24022 done
24023
24024 if test "x$mgl_os" = x ; then
24025 echo "$as_me:$LINENO: result: not found" >&5
24026 echo "${ECHO_T}not found" >&6
24027 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24028 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24029 { (exit 1); exit 1; }; }
24030 fi
24031 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24032 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24033
24034 wxUSE_UNIVERSAL="yes"
24035
24036 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24037 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24038
24039 AFMINSTALL=afminstall
24040 TOOLKIT=MGL
24041 GUIDIST=MGL_DIST
24042 fi
24043
24044 if test "$wxUSE_MICROWIN" = 1; then
24045 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24046 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24047 if test "x$MICROWINDOWS" = x ; then
24048 echo "$as_me:$LINENO: result: not found" >&5
24049 echo "${ECHO_T}not found" >&6
24050 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24051 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24052 { (exit 1); exit 1; }; }
24053 else
24054 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24055 echo "${ECHO_T}$MICROWINDOWS" >&6
24056 fi
24057
24058 if test -f $MICROWINDOWS/lib/libmwin.a; then
24059 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24060 echo "${ECHO_T}MicroWindows' libraries found." >&6
24061 else
24062 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24063 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24064 { (exit 1); exit 1; }; }
24065 fi
24066
24067 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24068 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24069
24070 wxUSE_UNIVERSAL="yes"
24071
24072 AFMINSTALL=afminstall
24073 TOOLKIT=MICROWIN
24074 GUIDIST=MICROWIN_DIST
24075
24076 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24077 fi
24078
24079 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24080
24081 if test "x$ac_path_x_has_been_run" != xyes; then
24082 echo "$as_me:$LINENO: checking for X" >&5
24083 echo $ECHO_N "checking for X... $ECHO_C" >&6
24084
24085 ac_path_x_has_been_run=yes
24086
24087 # Check whether --with-x or --without-x was given.
24088 if test "${with_x+set}" = set; then
24089 withval="$with_x"
24090
24091 fi;
24092 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24093 if test "x$with_x" = xno; then
24094 # The user explicitly disabled X.
24095 have_x=disabled
24096 else
24097 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24098 # Both variables are already set.
24099 have_x=yes
24100 else
24101 if test "${ac_cv_have_x+set}" = set; then
24102 echo $ECHO_N "(cached) $ECHO_C" >&6
24103 else
24104 # One or both of the vars are not set, and there is no cached value.
24105 ac_x_includes=no ac_x_libraries=no
24106 rm -fr conftest.dir
24107 if mkdir conftest.dir; then
24108 cd conftest.dir
24109 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24110 cat >Imakefile <<'_ACEOF'
24111 acfindx:
24112 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24113 _ACEOF
24114 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24115 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24116 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24117 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24118 for ac_extension in a so sl; do
24119 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24120 test -f $ac_im_libdir/libX11.$ac_extension; then
24121 ac_im_usrlibdir=$ac_im_libdir; break
24122 fi
24123 done
24124 # Screen out bogus values from the imake configuration. They are
24125 # bogus both because they are the default anyway, and because
24126 # using them would break gcc on systems where it needs fixed includes.
24127 case $ac_im_incroot in
24128 /usr/include) ;;
24129 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24130 esac
24131 case $ac_im_usrlibdir in
24132 /usr/lib | /lib) ;;
24133 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24134 esac
24135 fi
24136 cd ..
24137 rm -fr conftest.dir
24138 fi
24139
24140 # Standard set of common directories for X headers.
24141 # Check X11 before X11Rn because it is often a symlink to the current release.
24142 ac_x_header_dirs='
24143 /usr/X11/include
24144 /usr/X11R6/include
24145 /usr/X11R5/include
24146 /usr/X11R4/include
24147
24148 /usr/include/X11
24149 /usr/include/X11R6
24150 /usr/include/X11R5
24151 /usr/include/X11R4
24152
24153 /usr/local/X11/include
24154 /usr/local/X11R6/include
24155 /usr/local/X11R5/include
24156 /usr/local/X11R4/include
24157
24158 /usr/local/include/X11
24159 /usr/local/include/X11R6
24160 /usr/local/include/X11R5
24161 /usr/local/include/X11R4
24162
24163 /usr/X386/include
24164 /usr/x386/include
24165 /usr/XFree86/include/X11
24166
24167 /usr/include
24168 /usr/local/include
24169 /usr/unsupported/include
24170 /usr/athena/include
24171 /usr/local/x11r5/include
24172 /usr/lpp/Xamples/include
24173
24174 /usr/openwin/include
24175 /usr/openwin/share/include'
24176
24177 if test "$ac_x_includes" = no; then
24178 # Guess where to find include files, by looking for a specified header file.
24179 # First, try using that file with no special directory specified.
24180 cat >conftest.$ac_ext <<_ACEOF
24181 /* confdefs.h. */
24182 _ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24186 #include <X11/Intrinsic.h>
24187 _ACEOF
24188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24190 ac_status=$?
24191 grep -v '^ *+' conftest.er1 >conftest.err
24192 rm -f conftest.er1
24193 cat conftest.err >&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } >/dev/null; then
24196 if test -s conftest.err; then
24197 ac_cpp_err=$ac_c_preproc_warn_flag
24198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24199 else
24200 ac_cpp_err=
24201 fi
24202 else
24203 ac_cpp_err=yes
24204 fi
24205 if test -z "$ac_cpp_err"; then
24206 # We can compile using X headers with no special include directory.
24207 ac_x_includes=
24208 else
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.$ac_ext >&5
24211
24212 for ac_dir in $ac_x_header_dirs; do
24213 if test -r "$ac_dir/X11/Intrinsic.h"; then
24214 ac_x_includes=$ac_dir
24215 break
24216 fi
24217 done
24218 fi
24219 rm -f conftest.err conftest.$ac_ext
24220 fi # $ac_x_includes = no
24221
24222 if test "$ac_x_libraries" = no; then
24223 # Check for the libraries.
24224 # See if we find them without any special options.
24225 # Don't add to $LIBS permanently.
24226 ac_save_LIBS=$LIBS
24227 LIBS="-lXt $LIBS"
24228 cat >conftest.$ac_ext <<_ACEOF
24229 /* confdefs.h. */
24230 _ACEOF
24231 cat confdefs.h >>conftest.$ac_ext
24232 cat >>conftest.$ac_ext <<_ACEOF
24233 /* end confdefs.h. */
24234 #include <X11/Intrinsic.h>
24235 int
24236 main ()
24237 {
24238 XtMalloc (0)
24239 ;
24240 return 0;
24241 }
24242 _ACEOF
24243 rm -f conftest.$ac_objext conftest$ac_exeext
24244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24245 (eval $ac_link) 2>conftest.er1
24246 ac_status=$?
24247 grep -v '^ *+' conftest.er1 >conftest.err
24248 rm -f conftest.er1
24249 cat conftest.err >&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } &&
24252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24255 ac_status=$?
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; } &&
24258 { ac_try='test -s conftest$ac_exeext'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24261 ac_status=$?
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; }; then
24264 LIBS=$ac_save_LIBS
24265 # We can link X programs with no special library path.
24266 ac_x_libraries=
24267 else
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24270
24271 LIBS=$ac_save_LIBS
24272 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24273 do
24274 # Don't even attempt the hair of trying to link an X program!
24275 for ac_extension in a so sl; do
24276 if test -r $ac_dir/libXt.$ac_extension; then
24277 ac_x_libraries=$ac_dir
24278 break 2
24279 fi
24280 done
24281 done
24282 fi
24283 rm -f conftest.err conftest.$ac_objext \
24284 conftest$ac_exeext conftest.$ac_ext
24285 fi # $ac_x_libraries = no
24286
24287 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24288 # Didn't find X anywhere. Cache the known absence of X.
24289 ac_cv_have_x="have_x=no"
24290 else
24291 # Record where we found X for the cache.
24292 ac_cv_have_x="have_x=yes \
24293 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24294 fi
24295 fi
24296
24297 fi
24298 eval "$ac_cv_have_x"
24299 fi # $with_x != no
24300
24301 if test "$have_x" != yes; then
24302 echo "$as_me:$LINENO: result: $have_x" >&5
24303 echo "${ECHO_T}$have_x" >&6
24304 no_x=yes
24305 else
24306 # If each of the values was on the command line, it overrides each guess.
24307 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24308 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24309 # Update the cache value to reflect the command line values.
24310 ac_cv_have_x="have_x=yes \
24311 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24312 # It might be that x_includes is empty (headers are found in the
24313 # standard search path. Then output the corresponding message
24314 ac_out_x_includes=$x_includes
24315 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
24316 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24317 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24318 fi
24319
24320 fi
24321 if test "$no_x" = yes; then
24322 # Not all programs may use this symbol, but it does not hurt to define it.
24323
24324 cat >>confdefs.h <<\_ACEOF
24325 #define X_DISPLAY_MISSING 1
24326 _ACEOF
24327
24328 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24329 else
24330 if test -n "$x_includes"; then
24331 X_CFLAGS="$X_CFLAGS -I$x_includes"
24332 fi
24333
24334 # It would also be nice to do this for all -L options, not just this one.
24335 if test -n "$x_libraries"; then
24336 X_LIBS="$X_LIBS -L$x_libraries"
24337 # For Solaris; some versions of Sun CC require a space after -R and
24338 # others require no space. Words are not sufficient . . . .
24339 case `(uname -sr) 2>/dev/null` in
24340 "SunOS 5"*)
24341 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24342 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24343 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24344 cat >conftest.$ac_ext <<_ACEOF
24345 /* confdefs.h. */
24346 _ACEOF
24347 cat confdefs.h >>conftest.$ac_ext
24348 cat >>conftest.$ac_ext <<_ACEOF
24349 /* end confdefs.h. */
24350
24351 int
24352 main ()
24353 {
24354
24355 ;
24356 return 0;
24357 }
24358 _ACEOF
24359 rm -f conftest.$ac_objext conftest$ac_exeext
24360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24361 (eval $ac_link) 2>conftest.er1
24362 ac_status=$?
24363 grep -v '^ *+' conftest.er1 >conftest.err
24364 rm -f conftest.er1
24365 cat conftest.err >&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); } &&
24368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24370 (eval $ac_try) 2>&5
24371 ac_status=$?
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); }; } &&
24374 { ac_try='test -s conftest$ac_exeext'
24375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24376 (eval $ac_try) 2>&5
24377 ac_status=$?
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); }; }; then
24380 ac_R_nospace=yes
24381 else
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24384
24385 ac_R_nospace=no
24386 fi
24387 rm -f conftest.err conftest.$ac_objext \
24388 conftest$ac_exeext conftest.$ac_ext
24389 if test $ac_R_nospace = yes; then
24390 echo "$as_me:$LINENO: result: no" >&5
24391 echo "${ECHO_T}no" >&6
24392 X_LIBS="$X_LIBS -R$x_libraries"
24393 else
24394 LIBS="$ac_xsave_LIBS -R $x_libraries"
24395 cat >conftest.$ac_ext <<_ACEOF
24396 /* confdefs.h. */
24397 _ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401
24402 int
24403 main ()
24404 {
24405
24406 ;
24407 return 0;
24408 }
24409 _ACEOF
24410 rm -f conftest.$ac_objext conftest$ac_exeext
24411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24412 (eval $ac_link) 2>conftest.er1
24413 ac_status=$?
24414 grep -v '^ *+' conftest.er1 >conftest.err
24415 rm -f conftest.er1
24416 cat conftest.err >&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } &&
24419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24421 (eval $ac_try) 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); }; } &&
24425 { ac_try='test -s conftest$ac_exeext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 ac_R_space=yes
24432 else
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24435
24436 ac_R_space=no
24437 fi
24438 rm -f conftest.err conftest.$ac_objext \
24439 conftest$ac_exeext conftest.$ac_ext
24440 if test $ac_R_space = yes; then
24441 echo "$as_me:$LINENO: result: yes" >&5
24442 echo "${ECHO_T}yes" >&6
24443 X_LIBS="$X_LIBS -R $x_libraries"
24444 else
24445 echo "$as_me:$LINENO: result: neither works" >&5
24446 echo "${ECHO_T}neither works" >&6
24447 fi
24448 fi
24449 LIBS=$ac_xsave_LIBS
24450 esac
24451 fi
24452
24453 # Check for system-dependent libraries X programs must link with.
24454 # Do this before checking for the system-independent R6 libraries
24455 # (-lICE), since we may need -lsocket or whatever for X linking.
24456
24457 if test "$ISC" = yes; then
24458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24459 else
24460 # Martyn Johnson says this is needed for Ultrix, if the X
24461 # libraries were built with DECnet support. And Karl Berry says
24462 # the Alpha needs dnet_stub (dnet does not exist).
24463 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24464 cat >conftest.$ac_ext <<_ACEOF
24465 /* confdefs.h. */
24466 _ACEOF
24467 cat confdefs.h >>conftest.$ac_ext
24468 cat >>conftest.$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24470
24471 /* Override any gcc2 internal prototype to avoid an error. */
24472 #ifdef __cplusplus
24473 extern "C"
24474 #endif
24475 /* We use char because int might match the return type of a gcc2
24476 builtin and then its argument prototype would still apply. */
24477 char XOpenDisplay ();
24478 int
24479 main ()
24480 {
24481 XOpenDisplay ();
24482 ;
24483 return 0;
24484 }
24485 _ACEOF
24486 rm -f conftest.$ac_objext conftest$ac_exeext
24487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24488 (eval $ac_link) 2>conftest.er1
24489 ac_status=$?
24490 grep -v '^ *+' conftest.er1 >conftest.err
24491 rm -f conftest.er1
24492 cat conftest.err >&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); } &&
24495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24498 ac_status=$?
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; } &&
24501 { ac_try='test -s conftest$ac_exeext'
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; }; then
24507 :
24508 else
24509 echo "$as_me: failed program was:" >&5
24510 sed 's/^/| /' conftest.$ac_ext >&5
24511
24512 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24513 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24514 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24515 echo $ECHO_N "(cached) $ECHO_C" >&6
24516 else
24517 ac_check_lib_save_LIBS=$LIBS
24518 LIBS="-ldnet $LIBS"
24519 cat >conftest.$ac_ext <<_ACEOF
24520 /* confdefs.h. */
24521 _ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24525
24526 /* Override any gcc2 internal prototype to avoid an error. */
24527 #ifdef __cplusplus
24528 extern "C"
24529 #endif
24530 /* We use char because int might match the return type of a gcc2
24531 builtin and then its argument prototype would still apply. */
24532 char dnet_ntoa ();
24533 int
24534 main ()
24535 {
24536 dnet_ntoa ();
24537 ;
24538 return 0;
24539 }
24540 _ACEOF
24541 rm -f conftest.$ac_objext conftest$ac_exeext
24542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24543 (eval $ac_link) 2>conftest.er1
24544 ac_status=$?
24545 grep -v '^ *+' conftest.er1 >conftest.err
24546 rm -f conftest.er1
24547 cat conftest.err >&5
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); } &&
24550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; } &&
24556 { ac_try='test -s conftest$ac_exeext'
24557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24558 (eval $ac_try) 2>&5
24559 ac_status=$?
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); }; }; then
24562 ac_cv_lib_dnet_dnet_ntoa=yes
24563 else
24564 echo "$as_me: failed program was:" >&5
24565 sed 's/^/| /' conftest.$ac_ext >&5
24566
24567 ac_cv_lib_dnet_dnet_ntoa=no
24568 fi
24569 rm -f conftest.err conftest.$ac_objext \
24570 conftest$ac_exeext conftest.$ac_ext
24571 LIBS=$ac_check_lib_save_LIBS
24572 fi
24573 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24574 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24575 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24576 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24577 fi
24578
24579 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24580 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24581 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24582 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 else
24585 ac_check_lib_save_LIBS=$LIBS
24586 LIBS="-ldnet_stub $LIBS"
24587 cat >conftest.$ac_ext <<_ACEOF
24588 /* confdefs.h. */
24589 _ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24593
24594 /* Override any gcc2 internal prototype to avoid an error. */
24595 #ifdef __cplusplus
24596 extern "C"
24597 #endif
24598 /* We use char because int might match the return type of a gcc2
24599 builtin and then its argument prototype would still apply. */
24600 char dnet_ntoa ();
24601 int
24602 main ()
24603 {
24604 dnet_ntoa ();
24605 ;
24606 return 0;
24607 }
24608 _ACEOF
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24612 ac_status=$?
24613 grep -v '^ *+' conftest.er1 >conftest.err
24614 rm -f conftest.er1
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24621 ac_status=$?
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try='test -s conftest$ac_exeext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24627 ac_status=$?
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24631 else
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.$ac_ext >&5
24634
24635 ac_cv_lib_dnet_stub_dnet_ntoa=no
24636 fi
24637 rm -f conftest.err conftest.$ac_objext \
24638 conftest$ac_exeext conftest.$ac_ext
24639 LIBS=$ac_check_lib_save_LIBS
24640 fi
24641 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24642 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24643 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24644 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24645 fi
24646
24647 fi
24648 fi
24649 rm -f conftest.err conftest.$ac_objext \
24650 conftest$ac_exeext conftest.$ac_ext
24651 LIBS="$ac_xsave_LIBS"
24652
24653 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24654 # to get the SysV transport functions.
24655 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24656 # needs -lnsl.
24657 # The nsl library prevents programs from opening the X display
24658 # on Irix 5.2, according to T.E. Dickey.
24659 # The functions gethostbyname, getservbyname, and inet_addr are
24660 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24661 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24662 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24663 if test "${ac_cv_func_gethostbyname+set}" = set; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24665 else
24666 cat >conftest.$ac_ext <<_ACEOF
24667 /* confdefs.h. */
24668 _ACEOF
24669 cat confdefs.h >>conftest.$ac_ext
24670 cat >>conftest.$ac_ext <<_ACEOF
24671 /* end confdefs.h. */
24672 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24674 #define gethostbyname innocuous_gethostbyname
24675
24676 /* System header to define __stub macros and hopefully few prototypes,
24677 which can conflict with char gethostbyname (); below.
24678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24679 <limits.h> exists even on freestanding compilers. */
24680
24681 #ifdef __STDC__
24682 # include <limits.h>
24683 #else
24684 # include <assert.h>
24685 #endif
24686
24687 #undef gethostbyname
24688
24689 /* Override any gcc2 internal prototype to avoid an error. */
24690 #ifdef __cplusplus
24691 extern "C"
24692 {
24693 #endif
24694 /* We use char because int might match the return type of a gcc2
24695 builtin and then its argument prototype would still apply. */
24696 char gethostbyname ();
24697 /* The GNU C library defines this for functions which it implements
24698 to always fail with ENOSYS. Some functions are actually named
24699 something starting with __ and the normal name is an alias. */
24700 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24701 choke me
24702 #else
24703 char (*f) () = gethostbyname;
24704 #endif
24705 #ifdef __cplusplus
24706 }
24707 #endif
24708
24709 int
24710 main ()
24711 {
24712 return f != gethostbyname;
24713 ;
24714 return 0;
24715 }
24716 _ACEOF
24717 rm -f conftest.$ac_objext conftest$ac_exeext
24718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24719 (eval $ac_link) 2>conftest.er1
24720 ac_status=$?
24721 grep -v '^ *+' conftest.er1 >conftest.err
24722 rm -f conftest.er1
24723 cat conftest.err >&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } &&
24726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728 (eval $ac_try) 2>&5
24729 ac_status=$?
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); }; } &&
24732 { ac_try='test -s conftest$ac_exeext'
24733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24734 (eval $ac_try) 2>&5
24735 ac_status=$?
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); }; }; then
24738 ac_cv_func_gethostbyname=yes
24739 else
24740 echo "$as_me: failed program was:" >&5
24741 sed 's/^/| /' conftest.$ac_ext >&5
24742
24743 ac_cv_func_gethostbyname=no
24744 fi
24745 rm -f conftest.err conftest.$ac_objext \
24746 conftest$ac_exeext conftest.$ac_ext
24747 fi
24748 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24749 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24750
24751 if test $ac_cv_func_gethostbyname = no; then
24752 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24753 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24754 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 else
24757 ac_check_lib_save_LIBS=$LIBS
24758 LIBS="-lnsl $LIBS"
24759 cat >conftest.$ac_ext <<_ACEOF
24760 /* confdefs.h. */
24761 _ACEOF
24762 cat confdefs.h >>conftest.$ac_ext
24763 cat >>conftest.$ac_ext <<_ACEOF
24764 /* end confdefs.h. */
24765
24766 /* Override any gcc2 internal prototype to avoid an error. */
24767 #ifdef __cplusplus
24768 extern "C"
24769 #endif
24770 /* We use char because int might match the return type of a gcc2
24771 builtin and then its argument prototype would still apply. */
24772 char gethostbyname ();
24773 int
24774 main ()
24775 {
24776 gethostbyname ();
24777 ;
24778 return 0;
24779 }
24780 _ACEOF
24781 rm -f conftest.$ac_objext conftest$ac_exeext
24782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24783 (eval $ac_link) 2>conftest.er1
24784 ac_status=$?
24785 grep -v '^ *+' conftest.er1 >conftest.err
24786 rm -f conftest.er1
24787 cat conftest.err >&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); } &&
24790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24793 ac_status=$?
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; } &&
24796 { ac_try='test -s conftest$ac_exeext'
24797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24798 (eval $ac_try) 2>&5
24799 ac_status=$?
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); }; }; then
24802 ac_cv_lib_nsl_gethostbyname=yes
24803 else
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24806
24807 ac_cv_lib_nsl_gethostbyname=no
24808 fi
24809 rm -f conftest.err conftest.$ac_objext \
24810 conftest$ac_exeext conftest.$ac_ext
24811 LIBS=$ac_check_lib_save_LIBS
24812 fi
24813 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24814 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24815 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24816 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24817 fi
24818
24819 if test $ac_cv_lib_nsl_gethostbyname = no; then
24820 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24821 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24822 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24823 echo $ECHO_N "(cached) $ECHO_C" >&6
24824 else
24825 ac_check_lib_save_LIBS=$LIBS
24826 LIBS="-lbsd $LIBS"
24827 cat >conftest.$ac_ext <<_ACEOF
24828 /* confdefs.h. */
24829 _ACEOF
24830 cat confdefs.h >>conftest.$ac_ext
24831 cat >>conftest.$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24833
24834 /* Override any gcc2 internal prototype to avoid an error. */
24835 #ifdef __cplusplus
24836 extern "C"
24837 #endif
24838 /* We use char because int might match the return type of a gcc2
24839 builtin and then its argument prototype would still apply. */
24840 char gethostbyname ();
24841 int
24842 main ()
24843 {
24844 gethostbyname ();
24845 ;
24846 return 0;
24847 }
24848 _ACEOF
24849 rm -f conftest.$ac_objext conftest$ac_exeext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24851 (eval $ac_link) 2>conftest.er1
24852 ac_status=$?
24853 grep -v '^ *+' conftest.er1 >conftest.err
24854 rm -f conftest.er1
24855 cat conftest.err >&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); } &&
24858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24860 (eval $ac_try) 2>&5
24861 ac_status=$?
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); }; } &&
24864 { ac_try='test -s conftest$ac_exeext'
24865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866 (eval $ac_try) 2>&5
24867 ac_status=$?
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); }; }; then
24870 ac_cv_lib_bsd_gethostbyname=yes
24871 else
24872 echo "$as_me: failed program was:" >&5
24873 sed 's/^/| /' conftest.$ac_ext >&5
24874
24875 ac_cv_lib_bsd_gethostbyname=no
24876 fi
24877 rm -f conftest.err conftest.$ac_objext \
24878 conftest$ac_exeext conftest.$ac_ext
24879 LIBS=$ac_check_lib_save_LIBS
24880 fi
24881 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24882 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24883 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24884 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24885 fi
24886
24887 fi
24888 fi
24889
24890 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24891 # socket/setsockopt and other routines are undefined under SCO ODT
24892 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24893 # on later versions), says Simon Leinen: it contains gethostby*
24894 # variants that don't use the name server (or something). -lsocket
24895 # must be given before -lnsl if both are needed. We assume that
24896 # if connect needs -lnsl, so does gethostbyname.
24897 echo "$as_me:$LINENO: checking for connect" >&5
24898 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24899 if test "${ac_cv_func_connect+set}" = set; then
24900 echo $ECHO_N "(cached) $ECHO_C" >&6
24901 else
24902 cat >conftest.$ac_ext <<_ACEOF
24903 /* confdefs.h. */
24904 _ACEOF
24905 cat confdefs.h >>conftest.$ac_ext
24906 cat >>conftest.$ac_ext <<_ACEOF
24907 /* end confdefs.h. */
24908 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24910 #define connect innocuous_connect
24911
24912 /* System header to define __stub macros and hopefully few prototypes,
24913 which can conflict with char connect (); below.
24914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24915 <limits.h> exists even on freestanding compilers. */
24916
24917 #ifdef __STDC__
24918 # include <limits.h>
24919 #else
24920 # include <assert.h>
24921 #endif
24922
24923 #undef connect
24924
24925 /* Override any gcc2 internal prototype to avoid an error. */
24926 #ifdef __cplusplus
24927 extern "C"
24928 {
24929 #endif
24930 /* We use char because int might match the return type of a gcc2
24931 builtin and then its argument prototype would still apply. */
24932 char connect ();
24933 /* The GNU C library defines this for functions which it implements
24934 to always fail with ENOSYS. Some functions are actually named
24935 something starting with __ and the normal name is an alias. */
24936 #if defined (__stub_connect) || defined (__stub___connect)
24937 choke me
24938 #else
24939 char (*f) () = connect;
24940 #endif
24941 #ifdef __cplusplus
24942 }
24943 #endif
24944
24945 int
24946 main ()
24947 {
24948 return f != connect;
24949 ;
24950 return 0;
24951 }
24952 _ACEOF
24953 rm -f conftest.$ac_objext conftest$ac_exeext
24954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24955 (eval $ac_link) 2>conftest.er1
24956 ac_status=$?
24957 grep -v '^ *+' conftest.er1 >conftest.err
24958 rm -f conftest.er1
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } &&
24962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24964 (eval $ac_try) 2>&5
24965 ac_status=$?
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); }; } &&
24968 { ac_try='test -s conftest$ac_exeext'
24969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24970 (eval $ac_try) 2>&5
24971 ac_status=$?
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); }; }; then
24974 ac_cv_func_connect=yes
24975 else
24976 echo "$as_me: failed program was:" >&5
24977 sed 's/^/| /' conftest.$ac_ext >&5
24978
24979 ac_cv_func_connect=no
24980 fi
24981 rm -f conftest.err conftest.$ac_objext \
24982 conftest$ac_exeext conftest.$ac_ext
24983 fi
24984 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24985 echo "${ECHO_T}$ac_cv_func_connect" >&6
24986
24987 if test $ac_cv_func_connect = no; then
24988 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24989 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24990 if test "${ac_cv_lib_socket_connect+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 else
24993 ac_check_lib_save_LIBS=$LIBS
24994 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24995 cat >conftest.$ac_ext <<_ACEOF
24996 /* confdefs.h. */
24997 _ACEOF
24998 cat confdefs.h >>conftest.$ac_ext
24999 cat >>conftest.$ac_ext <<_ACEOF
25000 /* end confdefs.h. */
25001
25002 /* Override any gcc2 internal prototype to avoid an error. */
25003 #ifdef __cplusplus
25004 extern "C"
25005 #endif
25006 /* We use char because int might match the return type of a gcc2
25007 builtin and then its argument prototype would still apply. */
25008 char connect ();
25009 int
25010 main ()
25011 {
25012 connect ();
25013 ;
25014 return 0;
25015 }
25016 _ACEOF
25017 rm -f conftest.$ac_objext conftest$ac_exeext
25018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25019 (eval $ac_link) 2>conftest.er1
25020 ac_status=$?
25021 grep -v '^ *+' conftest.er1 >conftest.err
25022 rm -f conftest.er1
25023 cat conftest.err >&5
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); } &&
25026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25028 (eval $ac_try) 2>&5
25029 ac_status=$?
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); }; } &&
25032 { ac_try='test -s conftest$ac_exeext'
25033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25034 (eval $ac_try) 2>&5
25035 ac_status=$?
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); }; }; then
25038 ac_cv_lib_socket_connect=yes
25039 else
25040 echo "$as_me: failed program was:" >&5
25041 sed 's/^/| /' conftest.$ac_ext >&5
25042
25043 ac_cv_lib_socket_connect=no
25044 fi
25045 rm -f conftest.err conftest.$ac_objext \
25046 conftest$ac_exeext conftest.$ac_ext
25047 LIBS=$ac_check_lib_save_LIBS
25048 fi
25049 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25050 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25051 if test $ac_cv_lib_socket_connect = yes; then
25052 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25053 fi
25054
25055 fi
25056
25057 # Guillermo Gomez says -lposix is necessary on A/UX.
25058 echo "$as_me:$LINENO: checking for remove" >&5
25059 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25060 if test "${ac_cv_func_remove+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 else
25063 cat >conftest.$ac_ext <<_ACEOF
25064 /* confdefs.h. */
25065 _ACEOF
25066 cat confdefs.h >>conftest.$ac_ext
25067 cat >>conftest.$ac_ext <<_ACEOF
25068 /* end confdefs.h. */
25069 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25071 #define remove innocuous_remove
25072
25073 /* System header to define __stub macros and hopefully few prototypes,
25074 which can conflict with char remove (); below.
25075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25076 <limits.h> exists even on freestanding compilers. */
25077
25078 #ifdef __STDC__
25079 # include <limits.h>
25080 #else
25081 # include <assert.h>
25082 #endif
25083
25084 #undef remove
25085
25086 /* Override any gcc2 internal prototype to avoid an error. */
25087 #ifdef __cplusplus
25088 extern "C"
25089 {
25090 #endif
25091 /* We use char because int might match the return type of a gcc2
25092 builtin and then its argument prototype would still apply. */
25093 char remove ();
25094 /* The GNU C library defines this for functions which it implements
25095 to always fail with ENOSYS. Some functions are actually named
25096 something starting with __ and the normal name is an alias. */
25097 #if defined (__stub_remove) || defined (__stub___remove)
25098 choke me
25099 #else
25100 char (*f) () = remove;
25101 #endif
25102 #ifdef __cplusplus
25103 }
25104 #endif
25105
25106 int
25107 main ()
25108 {
25109 return f != remove;
25110 ;
25111 return 0;
25112 }
25113 _ACEOF
25114 rm -f conftest.$ac_objext conftest$ac_exeext
25115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25116 (eval $ac_link) 2>conftest.er1
25117 ac_status=$?
25118 grep -v '^ *+' conftest.er1 >conftest.err
25119 rm -f conftest.er1
25120 cat conftest.err >&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25126 ac_status=$?
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try='test -s conftest$ac_exeext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25132 ac_status=$?
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 ac_cv_func_remove=yes
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140 ac_cv_func_remove=no
25141 fi
25142 rm -f conftest.err conftest.$ac_objext \
25143 conftest$ac_exeext conftest.$ac_ext
25144 fi
25145 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25146 echo "${ECHO_T}$ac_cv_func_remove" >&6
25147
25148 if test $ac_cv_func_remove = no; then
25149 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25150 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25151 if test "${ac_cv_lib_posix_remove+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25153 else
25154 ac_check_lib_save_LIBS=$LIBS
25155 LIBS="-lposix $LIBS"
25156 cat >conftest.$ac_ext <<_ACEOF
25157 /* confdefs.h. */
25158 _ACEOF
25159 cat confdefs.h >>conftest.$ac_ext
25160 cat >>conftest.$ac_ext <<_ACEOF
25161 /* end confdefs.h. */
25162
25163 /* Override any gcc2 internal prototype to avoid an error. */
25164 #ifdef __cplusplus
25165 extern "C"
25166 #endif
25167 /* We use char because int might match the return type of a gcc2
25168 builtin and then its argument prototype would still apply. */
25169 char remove ();
25170 int
25171 main ()
25172 {
25173 remove ();
25174 ;
25175 return 0;
25176 }
25177 _ACEOF
25178 rm -f conftest.$ac_objext conftest$ac_exeext
25179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25180 (eval $ac_link) 2>conftest.er1
25181 ac_status=$?
25182 grep -v '^ *+' conftest.er1 >conftest.err
25183 rm -f conftest.er1
25184 cat conftest.err >&5
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); } &&
25187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189 (eval $ac_try) 2>&5
25190 ac_status=$?
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); }; } &&
25193 { ac_try='test -s conftest$ac_exeext'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; }; then
25199 ac_cv_lib_posix_remove=yes
25200 else
25201 echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.$ac_ext >&5
25203
25204 ac_cv_lib_posix_remove=no
25205 fi
25206 rm -f conftest.err conftest.$ac_objext \
25207 conftest$ac_exeext conftest.$ac_ext
25208 LIBS=$ac_check_lib_save_LIBS
25209 fi
25210 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25211 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25212 if test $ac_cv_lib_posix_remove = yes; then
25213 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25214 fi
25215
25216 fi
25217
25218 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25219 echo "$as_me:$LINENO: checking for shmat" >&5
25220 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25221 if test "${ac_cv_func_shmat+set}" = set; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 else
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25232 #define shmat innocuous_shmat
25233
25234 /* System header to define __stub macros and hopefully few prototypes,
25235 which can conflict with char shmat (); below.
25236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25237 <limits.h> exists even on freestanding compilers. */
25238
25239 #ifdef __STDC__
25240 # include <limits.h>
25241 #else
25242 # include <assert.h>
25243 #endif
25244
25245 #undef shmat
25246
25247 /* Override any gcc2 internal prototype to avoid an error. */
25248 #ifdef __cplusplus
25249 extern "C"
25250 {
25251 #endif
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25254 char shmat ();
25255 /* The GNU C library defines this for functions which it implements
25256 to always fail with ENOSYS. Some functions are actually named
25257 something starting with __ and the normal name is an alias. */
25258 #if defined (__stub_shmat) || defined (__stub___shmat)
25259 choke me
25260 #else
25261 char (*f) () = shmat;
25262 #endif
25263 #ifdef __cplusplus
25264 }
25265 #endif
25266
25267 int
25268 main ()
25269 {
25270 return f != shmat;
25271 ;
25272 return 0;
25273 }
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277 (eval $ac_link) 2>conftest.er1
25278 ac_status=$?
25279 grep -v '^ *+' conftest.er1 >conftest.err
25280 rm -f conftest.er1
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25286 (eval $ac_try) 2>&5
25287 ac_status=$?
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); }; } &&
25290 { ac_try='test -s conftest$ac_exeext'
25291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25292 (eval $ac_try) 2>&5
25293 ac_status=$?
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); }; }; then
25296 ac_cv_func_shmat=yes
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 ac_cv_func_shmat=no
25302 fi
25303 rm -f conftest.err conftest.$ac_objext \
25304 conftest$ac_exeext conftest.$ac_ext
25305 fi
25306 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25307 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25308
25309 if test $ac_cv_func_shmat = no; then
25310 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25311 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25312 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 else
25315 ac_check_lib_save_LIBS=$LIBS
25316 LIBS="-lipc $LIBS"
25317 cat >conftest.$ac_ext <<_ACEOF
25318 /* confdefs.h. */
25319 _ACEOF
25320 cat confdefs.h >>conftest.$ac_ext
25321 cat >>conftest.$ac_ext <<_ACEOF
25322 /* end confdefs.h. */
25323
25324 /* Override any gcc2 internal prototype to avoid an error. */
25325 #ifdef __cplusplus
25326 extern "C"
25327 #endif
25328 /* We use char because int might match the return type of a gcc2
25329 builtin and then its argument prototype would still apply. */
25330 char shmat ();
25331 int
25332 main ()
25333 {
25334 shmat ();
25335 ;
25336 return 0;
25337 }
25338 _ACEOF
25339 rm -f conftest.$ac_objext conftest$ac_exeext
25340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25341 (eval $ac_link) 2>conftest.er1
25342 ac_status=$?
25343 grep -v '^ *+' conftest.er1 >conftest.err
25344 rm -f conftest.er1
25345 cat conftest.err >&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); } &&
25348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25351 ac_status=$?
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; } &&
25354 { ac_try='test -s conftest$ac_exeext'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25357 ac_status=$?
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; }; then
25360 ac_cv_lib_ipc_shmat=yes
25361 else
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25364
25365 ac_cv_lib_ipc_shmat=no
25366 fi
25367 rm -f conftest.err conftest.$ac_objext \
25368 conftest$ac_exeext conftest.$ac_ext
25369 LIBS=$ac_check_lib_save_LIBS
25370 fi
25371 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25372 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25373 if test $ac_cv_lib_ipc_shmat = yes; then
25374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25375 fi
25376
25377 fi
25378 fi
25379
25380 # Check for libraries that X11R6 Xt/Xaw programs need.
25381 ac_save_LDFLAGS=$LDFLAGS
25382 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25383 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25384 # check for ICE first), but we must link in the order -lSM -lICE or
25385 # we get undefined symbols. So assume we have SM if we have ICE.
25386 # These have to be linked with before -lX11, unlike the other
25387 # libraries we check for below, so use a different variable.
25388 # John Interrante, Karl Berry
25389 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25390 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25391 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 else
25394 ac_check_lib_save_LIBS=$LIBS
25395 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25396 cat >conftest.$ac_ext <<_ACEOF
25397 /* confdefs.h. */
25398 _ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402
25403 /* Override any gcc2 internal prototype to avoid an error. */
25404 #ifdef __cplusplus
25405 extern "C"
25406 #endif
25407 /* We use char because int might match the return type of a gcc2
25408 builtin and then its argument prototype would still apply. */
25409 char IceConnectionNumber ();
25410 int
25411 main ()
25412 {
25413 IceConnectionNumber ();
25414 ;
25415 return 0;
25416 }
25417 _ACEOF
25418 rm -f conftest.$ac_objext conftest$ac_exeext
25419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25420 (eval $ac_link) 2>conftest.er1
25421 ac_status=$?
25422 grep -v '^ *+' conftest.er1 >conftest.err
25423 rm -f conftest.er1
25424 cat conftest.err >&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); } &&
25427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25429 (eval $ac_try) 2>&5
25430 ac_status=$?
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); }; } &&
25433 { ac_try='test -s conftest$ac_exeext'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25436 ac_status=$?
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; }; then
25439 ac_cv_lib_ICE_IceConnectionNumber=yes
25440 else
25441 echo "$as_me: failed program was:" >&5
25442 sed 's/^/| /' conftest.$ac_ext >&5
25443
25444 ac_cv_lib_ICE_IceConnectionNumber=no
25445 fi
25446 rm -f conftest.err conftest.$ac_objext \
25447 conftest$ac_exeext conftest.$ac_ext
25448 LIBS=$ac_check_lib_save_LIBS
25449 fi
25450 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25451 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25452 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25453 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25454 fi
25455
25456 LDFLAGS=$ac_save_LDFLAGS
25457
25458 fi
25459
25460
25461 if test "$no_x" = "yes"; then
25462 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25463 echo "$as_me: error: X11 not found" >&2;}
25464 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25465 fi
25466
25467 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25468 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25469 AFMINSTALL=afminstall
25470 COMPILED_X_PROGRAM=0
25471
25472 fi
25473
25474 if test "$wxUSE_X11" = 1; then
25475 if test "$wxUSE_NANOX" = "yes"; then
25476 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25477 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25478 if test "x$MICROWIN" = x ; then
25479 echo "$as_me:$LINENO: result: not found" >&5
25480 echo "${ECHO_T}not found" >&6
25481 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25482 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25483 { (exit 1); exit 1; }; }
25484 else
25485 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25486 echo "${ECHO_T}$MICROWIN" >&6
25487 cat >>confdefs.h <<\_ACEOF
25488 #define wxUSE_NANOX 1
25489 _ACEOF
25490
25491 fi
25492 fi
25493
25494 if test "$wxUSE_UNICODE" = "yes"; then
25495
25496 succeeded=no
25497
25498 if test -z "$PKG_CONFIG"; then
25499 # Extract the first word of "pkg-config", so it can be a program name with args.
25500 set dummy pkg-config; ac_word=$2
25501 echo "$as_me:$LINENO: checking for $ac_word" >&5
25502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25503 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25504 echo $ECHO_N "(cached) $ECHO_C" >&6
25505 else
25506 case $PKG_CONFIG in
25507 [\\/]* | ?:[\\/]*)
25508 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25509 ;;
25510 *)
25511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25512 for as_dir in $PATH
25513 do
25514 IFS=$as_save_IFS
25515 test -z "$as_dir" && as_dir=.
25516 for ac_exec_ext in '' $ac_executable_extensions; do
25517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25518 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25520 break 2
25521 fi
25522 done
25523 done
25524
25525 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25526 ;;
25527 esac
25528 fi
25529 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25530
25531 if test -n "$PKG_CONFIG"; then
25532 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25533 echo "${ECHO_T}$PKG_CONFIG" >&6
25534 else
25535 echo "$as_me:$LINENO: result: no" >&5
25536 echo "${ECHO_T}no" >&6
25537 fi
25538
25539 fi
25540
25541 if test "$PKG_CONFIG" = "no" ; then
25542 echo "*** The pkg-config script could not be found. Make sure it is"
25543 echo "*** in your path, or set the PKG_CONFIG environment variable"
25544 echo "*** to the full path to pkg-config."
25545 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25546 else
25547 PKG_CONFIG_MIN_VERSION=0.9.0
25548 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25549 echo "$as_me:$LINENO: checking for pangox" >&5
25550 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25551
25552 if $PKG_CONFIG --exists "pangox" ; then
25553 echo "$as_me:$LINENO: result: yes" >&5
25554 echo "${ECHO_T}yes" >&6
25555 succeeded=yes
25556
25557 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25558 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25559 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25560 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25561 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25562
25563 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25564 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25565 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25566 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25567 echo "${ECHO_T}$PANGOX_LIBS" >&6
25568 else
25569 PANGOX_CFLAGS=""
25570 PANGOX_LIBS=""
25571 ## If we have a custom action on failure, don't print errors, but
25572 ## do set a variable so people can do so.
25573 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25574
25575 fi
25576
25577
25578
25579 else
25580 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25581 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25582 fi
25583 fi
25584
25585 if test $succeeded = yes; then
25586
25587 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25589
25590 else
25591
25592 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25593 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25594 { (exit 1); exit 1; }; }
25595
25596
25597 fi
25598
25599
25600 succeeded=no
25601
25602 if test -z "$PKG_CONFIG"; then
25603 # Extract the first word of "pkg-config", so it can be a program name with args.
25604 set dummy pkg-config; ac_word=$2
25605 echo "$as_me:$LINENO: checking for $ac_word" >&5
25606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25607 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25609 else
25610 case $PKG_CONFIG in
25611 [\\/]* | ?:[\\/]*)
25612 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25613 ;;
25614 *)
25615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25616 for as_dir in $PATH
25617 do
25618 IFS=$as_save_IFS
25619 test -z "$as_dir" && as_dir=.
25620 for ac_exec_ext in '' $ac_executable_extensions; do
25621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25622 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25624 break 2
25625 fi
25626 done
25627 done
25628
25629 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25630 ;;
25631 esac
25632 fi
25633 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25634
25635 if test -n "$PKG_CONFIG"; then
25636 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25637 echo "${ECHO_T}$PKG_CONFIG" >&6
25638 else
25639 echo "$as_me:$LINENO: result: no" >&5
25640 echo "${ECHO_T}no" >&6
25641 fi
25642
25643 fi
25644
25645 if test "$PKG_CONFIG" = "no" ; then
25646 echo "*** The pkg-config script could not be found. Make sure it is"
25647 echo "*** in your path, or set the PKG_CONFIG environment variable"
25648 echo "*** to the full path to pkg-config."
25649 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25650 else
25651 PKG_CONFIG_MIN_VERSION=0.9.0
25652 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25653 echo "$as_me:$LINENO: checking for pangoft2" >&5
25654 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25655
25656 if $PKG_CONFIG --exists "pangoft2" ; then
25657 echo "$as_me:$LINENO: result: yes" >&5
25658 echo "${ECHO_T}yes" >&6
25659 succeeded=yes
25660
25661 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25662 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25663 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25664 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25665 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25666
25667 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25668 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25669 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25670 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25671 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25672 else
25673 PANGOFT2_CFLAGS=""
25674 PANGOFT2_LIBS=""
25675 ## If we have a custom action on failure, don't print errors, but
25676 ## do set a variable so people can do so.
25677 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25678
25679 fi
25680
25681
25682
25683 else
25684 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25685 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25686 fi
25687 fi
25688
25689 if test $succeeded = yes; then
25690
25691 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25692 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25693
25694 else
25695
25696 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25697 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25698 wxUSE_PRINTING_ARCHITECTURE="no"
25699
25700
25701 fi
25702
25703
25704 succeeded=no
25705
25706 if test -z "$PKG_CONFIG"; then
25707 # Extract the first word of "pkg-config", so it can be a program name with args.
25708 set dummy pkg-config; ac_word=$2
25709 echo "$as_me:$LINENO: checking for $ac_word" >&5
25710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25711 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25712 echo $ECHO_N "(cached) $ECHO_C" >&6
25713 else
25714 case $PKG_CONFIG in
25715 [\\/]* | ?:[\\/]*)
25716 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25717 ;;
25718 *)
25719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25720 for as_dir in $PATH
25721 do
25722 IFS=$as_save_IFS
25723 test -z "$as_dir" && as_dir=.
25724 for ac_exec_ext in '' $ac_executable_extensions; do
25725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25726 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25728 break 2
25729 fi
25730 done
25731 done
25732
25733 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25734 ;;
25735 esac
25736 fi
25737 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25738
25739 if test -n "$PKG_CONFIG"; then
25740 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25741 echo "${ECHO_T}$PKG_CONFIG" >&6
25742 else
25743 echo "$as_me:$LINENO: result: no" >&5
25744 echo "${ECHO_T}no" >&6
25745 fi
25746
25747 fi
25748
25749 if test "$PKG_CONFIG" = "no" ; then
25750 echo "*** The pkg-config script could not be found. Make sure it is"
25751 echo "*** in your path, or set the PKG_CONFIG environment variable"
25752 echo "*** to the full path to pkg-config."
25753 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25754 else
25755 PKG_CONFIG_MIN_VERSION=0.9.0
25756 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25757 echo "$as_me:$LINENO: checking for pangoxft" >&5
25758 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25759
25760 if $PKG_CONFIG --exists "pangoxft" ; then
25761 echo "$as_me:$LINENO: result: yes" >&5
25762 echo "${ECHO_T}yes" >&6
25763 succeeded=yes
25764
25765 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25766 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25767 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25768 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25769 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25770
25771 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25772 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25773 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25774 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25775 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25776 else
25777 PANGOXFT_CFLAGS=""
25778 PANGOXFT_LIBS=""
25779 ## If we have a custom action on failure, don't print errors, but
25780 ## do set a variable so people can do so.
25781 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25782
25783 fi
25784
25785
25786
25787 else
25788 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25789 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25790 fi
25791 fi
25792
25793 if test $succeeded = yes; then
25794
25795 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25796 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25797
25798 else
25799
25800 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25801 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25802
25803
25804 fi
25805
25806 save_CFLAGS="$CFLAGS"
25807 save_LIBS="$LIBS"
25808 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25809 LIBS="$LIBS $PANGOX_LIBS"
25810
25811 for ac_func in pango_font_family_is_monospace
25812 do
25813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25814 echo "$as_me:$LINENO: checking for $ac_func" >&5
25815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25816 if eval "test \"\${$as_ac_var+set}\" = set"; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25818 else
25819 cat >conftest.$ac_ext <<_ACEOF
25820 /* confdefs.h. */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25827 #define $ac_func innocuous_$ac_func
25828
25829 /* System header to define __stub macros and hopefully few prototypes,
25830 which can conflict with char $ac_func (); below.
25831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25832 <limits.h> exists even on freestanding compilers. */
25833
25834 #ifdef __STDC__
25835 # include <limits.h>
25836 #else
25837 # include <assert.h>
25838 #endif
25839
25840 #undef $ac_func
25841
25842 /* Override any gcc2 internal prototype to avoid an error. */
25843 #ifdef __cplusplus
25844 extern "C"
25845 {
25846 #endif
25847 /* We use char because int might match the return type of a gcc2
25848 builtin and then its argument prototype would still apply. */
25849 char $ac_func ();
25850 /* The GNU C library defines this for functions which it implements
25851 to always fail with ENOSYS. Some functions are actually named
25852 something starting with __ and the normal name is an alias. */
25853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25854 choke me
25855 #else
25856 char (*f) () = $ac_func;
25857 #endif
25858 #ifdef __cplusplus
25859 }
25860 #endif
25861
25862 int
25863 main ()
25864 {
25865 return f != $ac_func;
25866 ;
25867 return 0;
25868 }
25869 _ACEOF
25870 rm -f conftest.$ac_objext conftest$ac_exeext
25871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25872 (eval $ac_link) 2>conftest.er1
25873 ac_status=$?
25874 grep -v '^ *+' conftest.er1 >conftest.err
25875 rm -f conftest.er1
25876 cat conftest.err >&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); } &&
25879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25882 ac_status=$?
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; } &&
25885 { ac_try='test -s conftest$ac_exeext'
25886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25887 (eval $ac_try) 2>&5
25888 ac_status=$?
25889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890 (exit $ac_status); }; }; then
25891 eval "$as_ac_var=yes"
25892 else
25893 echo "$as_me: failed program was:" >&5
25894 sed 's/^/| /' conftest.$ac_ext >&5
25895
25896 eval "$as_ac_var=no"
25897 fi
25898 rm -f conftest.err conftest.$ac_objext \
25899 conftest$ac_exeext conftest.$ac_ext
25900 fi
25901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25903 if test `eval echo '${'$as_ac_var'}'` = yes; then
25904 cat >>confdefs.h <<_ACEOF
25905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25906 _ACEOF
25907
25908 fi
25909 done
25910
25911 CFLAGS="$save_CFLAGS"
25912 LIBS="$save_LIBS"
25913 fi
25914
25915 wxUSE_UNIVERSAL="yes"
25916
25917 if test "$wxUSE_NANOX" = "yes"; then
25918 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25919 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"
25920 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25921 else
25922 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25923 fi
25924
25925 TOOLKIT=X11
25926 GUIDIST=X11_DIST
25927 fi
25928
25929 if test "$wxUSE_MOTIF" = 1; then
25930 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25931 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25932
25933 ac_find_includes=
25934 for ac_dir in $SEARCH_INCLUDE /usr/include;
25935 do
25936 if test -f "$ac_dir/Xm/Xm.h"; then
25937 ac_find_includes=$ac_dir
25938 break
25939 fi
25940 done
25941
25942 if test "$ac_find_includes" != "" ; then
25943 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25944 echo "${ECHO_T}found in $ac_find_includes" >&6
25945
25946 if test "x$ac_find_includes" = "x/usr/include"; then
25947 ac_path_to_include=""
25948 else
25949 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25950 result=$?
25951 if test $result = 0; then
25952 ac_path_to_include=""
25953 else
25954 ac_path_to_include=" -I$ac_find_includes"
25955 fi
25956 fi
25957
25958 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25959 else
25960 cat >conftest.$ac_ext <<_ACEOF
25961 /* confdefs.h. */
25962 _ACEOF
25963 cat confdefs.h >>conftest.$ac_ext
25964 cat >>conftest.$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25966
25967 #include <Xm/Xm.h>
25968
25969 int
25970 main ()
25971 {
25972
25973 int version;
25974 version = xmUseVersion;
25975
25976 ;
25977 return 0;
25978 }
25979 _ACEOF
25980 rm -f conftest.$ac_objext
25981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25982 (eval $ac_compile) 2>conftest.er1
25983 ac_status=$?
25984 grep -v '^ *+' conftest.er1 >conftest.err
25985 rm -f conftest.er1
25986 cat conftest.err >&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } &&
25989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25991 (eval $ac_try) 2>&5
25992 ac_status=$?
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); }; } &&
25995 { ac_try='test -s conftest.$ac_objext'
25996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25997 (eval $ac_try) 2>&5
25998 ac_status=$?
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); }; }; then
26001
26002 echo "$as_me:$LINENO: result: found in default search path" >&5
26003 echo "${ECHO_T}found in default search path" >&6
26004 COMPILED_X_PROGRAM=1
26005
26006 else
26007 echo "$as_me: failed program was:" >&5
26008 sed 's/^/| /' conftest.$ac_ext >&5
26009
26010
26011 echo "$as_me:$LINENO: result: no" >&5
26012 echo "${ECHO_T}no" >&6
26013 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26014 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26015 { (exit 1); exit 1; }; }
26016
26017
26018 fi
26019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26020 fi
26021
26022 if test "$COMPILED_X_PROGRAM" = 0; then
26023 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26024 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26025
26026 ac_find_libraries=
26027 for ac_dir in $SEARCH_LIB /usr/lib;
26028 do
26029 for ac_extension in a so sl dylib; do
26030 if test -f "$ac_dir/libXm.$ac_extension"; then
26031 ac_find_libraries=$ac_dir
26032 break 2
26033 fi
26034 done
26035 done
26036
26037 if test "$ac_find_libraries" != "" ; then
26038 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26039 echo "${ECHO_T}found at $ac_find_libraries" >&6
26040
26041
26042 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26043 result=$?
26044 if test $result = 0; then
26045 ac_path_to_link=""
26046 else
26047 ac_path_to_link=" -L$ac_find_libraries"
26048 fi
26049
26050 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26051 else
26052 save_CFLAGS=$CFLAGS
26053 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26054
26055 cat >conftest.$ac_ext <<_ACEOF
26056 /* confdefs.h. */
26057 _ACEOF
26058 cat confdefs.h >>conftest.$ac_ext
26059 cat >>conftest.$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26061
26062 #include <Xm/Xm.h>
26063
26064 int
26065 main ()
26066 {
26067
26068 int version;
26069 version = xmUseVersion;
26070
26071 ;
26072 return 0;
26073 }
26074 _ACEOF
26075 rm -f conftest.$ac_objext
26076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26077 (eval $ac_compile) 2>conftest.er1
26078 ac_status=$?
26079 grep -v '^ *+' conftest.er1 >conftest.err
26080 rm -f conftest.er1
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } &&
26084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26087 ac_status=$?
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; } &&
26090 { ac_try='test -s conftest.$ac_objext'
26091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26092 (eval $ac_try) 2>&5
26093 ac_status=$?
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); }; }; then
26096
26097 echo "$as_me:$LINENO: result: found in default search path" >&5
26098 echo "${ECHO_T}found in default search path" >&6
26099 COMPILED_X_PROGRAM=1
26100
26101 else
26102 echo "$as_me: failed program was:" >&5
26103 sed 's/^/| /' conftest.$ac_ext >&5
26104
26105
26106 echo "$as_me:$LINENO: result: no" >&5
26107 echo "${ECHO_T}no" >&6
26108 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26109 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26110 { (exit 1); exit 1; }; }
26111
26112
26113 fi
26114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26115
26116 CFLAGS=$save_CFLAGS
26117 fi
26118 fi
26119
26120 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26121 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26122 libp_link=""
26123 libsm_ice_link=""
26124 libs_found=0
26125 for libp in "" " -lXp"; do
26126 if test "$libs_found" = "0"; then
26127 for libsm_ice in "" " -lSM -lICE"; do
26128 if test "$libs_found" = "0"; then
26129 save_LIBS="$LIBS"
26130 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26131 save_CFLAGS=$CFLAGS
26132 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26133
26134 cat >conftest.$ac_ext <<_ACEOF
26135 /* confdefs.h. */
26136 _ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26140
26141 #include <Xm/Xm.h>
26142 #include <Xm/List.h>
26143
26144 int
26145 main ()
26146 {
26147
26148 XmString string = NULL;
26149 Widget w = NULL;
26150 int position = 0;
26151 XmListAddItem(w, string, position);
26152
26153 ;
26154 return 0;
26155 }
26156 _ACEOF
26157 rm -f conftest.$ac_objext conftest$ac_exeext
26158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26159 (eval $ac_link) 2>conftest.er1
26160 ac_status=$?
26161 grep -v '^ *+' conftest.er1 >conftest.err
26162 rm -f conftest.er1
26163 cat conftest.err >&5
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); } &&
26166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26168 (eval $ac_try) 2>&5
26169 ac_status=$?
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); }; } &&
26172 { ac_try='test -s conftest$ac_exeext'
26173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26174 (eval $ac_try) 2>&5
26175 ac_status=$?
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); }; }; then
26178
26179 libp_link="$libp"
26180 libsm_ice_link="$libsm_ice"
26181 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26182 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26183 libs_found=1
26184
26185 else
26186 echo "$as_me: failed program was:" >&5
26187 sed 's/^/| /' conftest.$ac_ext >&5
26188
26189
26190
26191 fi
26192 rm -f conftest.err conftest.$ac_objext \
26193 conftest$ac_exeext conftest.$ac_ext
26194
26195 LIBS="$save_LIBS"
26196 CFLAGS=$save_CFLAGS
26197 fi
26198 done
26199 fi
26200 done
26201
26202 if test "$libs_found" = "0"; then
26203 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26204 echo "${ECHO_T}can't find the right libraries" >&6
26205 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26206 echo "$as_me: error: can't link a simple motif program" >&2;}
26207 { (exit 1); exit 1; }; }
26208 fi
26209
26210 save_CFLAGS=$CFLAGS
26211 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26212 echo "$as_me:$LINENO: checking for Motif 2" >&5
26213 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26214 cat >conftest.$ac_ext <<_ACEOF
26215 /* confdefs.h. */
26216 _ACEOF
26217 cat confdefs.h >>conftest.$ac_ext
26218 cat >>conftest.$ac_ext <<_ACEOF
26219 /* end confdefs.h. */
26220
26221 #include <Xm/Xm.h>
26222
26223 int
26224 main ()
26225 {
26226
26227 #if XmVersion < 2000
26228 #error "Not Motif 2"
26229 #endif
26230
26231 ;
26232 return 0;
26233 }
26234 _ACEOF
26235 rm -f conftest.$ac_objext
26236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26237 (eval $ac_compile) 2>conftest.er1
26238 ac_status=$?
26239 grep -v '^ *+' conftest.er1 >conftest.err
26240 rm -f conftest.er1
26241 cat conftest.err >&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); } &&
26244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26246 (eval $ac_try) 2>&5
26247 ac_status=$?
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); }; } &&
26250 { ac_try='test -s conftest.$ac_objext'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26253 ac_status=$?
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; }; then
26256
26257 cat >>confdefs.h <<\_ACEOF
26258 #define __WXMOTIF20__ 1
26259 _ACEOF
26260
26261 echo "$as_me:$LINENO: result: found" >&5
26262 echo "${ECHO_T}found" >&6
26263
26264 else
26265 echo "$as_me: failed program was:" >&5
26266 sed 's/^/| /' conftest.$ac_ext >&5
26267
26268
26269 cat >>confdefs.h <<\_ACEOF
26270 #define __WXMOTIF20__ 0
26271 _ACEOF
26272
26273 echo "$as_me:$LINENO: result: not found" >&5
26274 echo "${ECHO_T}not found" >&6
26275
26276 fi
26277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26278 CFLAGS=$save_CFLAGS
26279
26280 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26281 TOOLKIT=MOTIF
26282 GUIDIST=MOTIF_DIST
26283 fi
26284
26285 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26286 if test "$wxUSE_LIBXPM" = "sys"; then
26287 echo "$as_me:$LINENO: checking for Xpm library" >&5
26288 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26289
26290 ac_find_libraries=
26291 for ac_dir in $SEARCH_LIB /usr/lib;
26292 do
26293 for ac_extension in a so sl dylib; do
26294 if test -f "$ac_dir/libXpm.$ac_extension"; then
26295 ac_find_libraries=$ac_dir
26296 break 2
26297 fi
26298 done
26299 done
26300
26301 if test "$ac_find_libraries" != "" ; then
26302
26303 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26304 result=$?
26305 if test $result = 0; then
26306 ac_path_to_link=""
26307 else
26308 ac_path_to_link=" -L$ac_find_libraries"
26309 fi
26310
26311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26312 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26313 echo "${ECHO_T}found at $ac_find_libraries" >&6
26314
26315 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26316 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26317 if test "${wx_cv_x11_xpm_h+set}" = set; then
26318 echo $ECHO_N "(cached) $ECHO_C" >&6
26319 else
26320
26321 save_CFLAGS=$CFLAGS
26322 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26323
26324 cat >conftest.$ac_ext <<_ACEOF
26325 /* confdefs.h. */
26326 _ACEOF
26327 cat confdefs.h >>conftest.$ac_ext
26328 cat >>conftest.$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26330
26331 #include <X11/xpm.h>
26332
26333 int
26334 main ()
26335 {
26336
26337 int version;
26338 version = XpmLibraryVersion();
26339
26340 ;
26341 return 0;
26342 }
26343 _ACEOF
26344 rm -f conftest.$ac_objext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26346 (eval $ac_compile) 2>conftest.er1
26347 ac_status=$?
26348 grep -v '^ *+' conftest.er1 >conftest.err
26349 rm -f conftest.er1
26350 cat conftest.err >&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } &&
26353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26356 ac_status=$?
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; } &&
26359 { ac_try='test -s conftest.$ac_objext'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26362 ac_status=$?
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; }; then
26365 wx_cv_x11_xpm_h=yes
26366 else
26367 echo "$as_me: failed program was:" >&5
26368 sed 's/^/| /' conftest.$ac_ext >&5
26369
26370 wx_cv_x11_xpm_h=no
26371
26372 fi
26373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26374
26375 CFLAGS=$save_CFLAGS
26376
26377
26378 fi
26379 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26380 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26381
26382 if test $wx_cv_x11_xpm_h = "yes"; then
26383 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26384 cat >>confdefs.h <<\_ACEOF
26385 #define wxHAVE_LIB_XPM 1
26386 _ACEOF
26387
26388 else
26389 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26390 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26391 fi
26392 fi
26393
26394 fi
26395
26396 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26397 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26398 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26400 else
26401 ac_check_lib_save_LIBS=$LIBS
26402 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26403 cat >conftest.$ac_ext <<_ACEOF
26404 /* confdefs.h. */
26405 _ACEOF
26406 cat confdefs.h >>conftest.$ac_ext
26407 cat >>conftest.$ac_ext <<_ACEOF
26408 /* end confdefs.h. */
26409
26410 /* Override any gcc2 internal prototype to avoid an error. */
26411 #ifdef __cplusplus
26412 extern "C"
26413 #endif
26414 /* We use char because int might match the return type of a gcc2
26415 builtin and then its argument prototype would still apply. */
26416 char XShapeQueryExtension ();
26417 int
26418 main ()
26419 {
26420 XShapeQueryExtension ();
26421 ;
26422 return 0;
26423 }
26424 _ACEOF
26425 rm -f conftest.$ac_objext conftest$ac_exeext
26426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26427 (eval $ac_link) 2>conftest.er1
26428 ac_status=$?
26429 grep -v '^ *+' conftest.er1 >conftest.err
26430 rm -f conftest.er1
26431 cat conftest.err >&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); } &&
26434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; } &&
26440 { ac_try='test -s conftest$ac_exeext'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26443 ac_status=$?
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; }; then
26446 ac_cv_lib_Xext_XShapeQueryExtension=yes
26447 else
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.$ac_ext >&5
26450
26451 ac_cv_lib_Xext_XShapeQueryExtension=no
26452 fi
26453 rm -f conftest.err conftest.$ac_objext \
26454 conftest$ac_exeext conftest.$ac_ext
26455 LIBS=$ac_check_lib_save_LIBS
26456 fi
26457 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26458 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26459 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26460
26461 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26462 wxHAVE_XEXT_LIB=1
26463
26464 fi
26465
26466
26467 if test "$wxHAVE_XEXT_LIB" = 1; then
26468 save_CFLAGS="$CFLAGS"
26469 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26470
26471 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26472 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26473 cat >conftest.$ac_ext <<_ACEOF
26474 /* confdefs.h. */
26475 _ACEOF
26476 cat confdefs.h >>conftest.$ac_ext
26477 cat >>conftest.$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26479
26480 #include <X11/Xlib.h>
26481 #include <X11/extensions/shape.h>
26482
26483 int
26484 main ()
26485 {
26486
26487 int dummy1, dummy2;
26488 XShapeQueryExtension((Display*)NULL,
26489 (int*)NULL, (int*)NULL);
26490
26491 ;
26492 return 0;
26493 }
26494 _ACEOF
26495 rm -f conftest.$ac_objext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26497 (eval $ac_compile) 2>conftest.er1
26498 ac_status=$?
26499 grep -v '^ *+' conftest.er1 >conftest.err
26500 rm -f conftest.er1
26501 cat conftest.err >&5
26502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503 (exit $ac_status); } &&
26504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26507 ac_status=$?
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; } &&
26510 { ac_try='test -s conftest.$ac_objext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26513 ac_status=$?
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516
26517 cat >>confdefs.h <<\_ACEOF
26518 #define HAVE_XSHAPE 1
26519 _ACEOF
26520
26521 echo "$as_me:$LINENO: result: found" >&5
26522 echo "${ECHO_T}found" >&6
26523
26524 else
26525 echo "$as_me: failed program was:" >&5
26526 sed 's/^/| /' conftest.$ac_ext >&5
26527
26528
26529 echo "$as_me:$LINENO: result: not found" >&5
26530 echo "${ECHO_T}not found" >&6
26531
26532 fi
26533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26534 CFLAGS="$save_CFLAGS"
26535
26536 fi
26537 fi
26538
26539 if test "$wxUSE_MAC" = 1; then
26540 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26541 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26542 if test "$GCC" = yes; then
26543 echo "$as_me:$LINENO: result: gcc" >&5
26544 echo "${ECHO_T}gcc" >&6
26545 CPPFLAGS_PASCAL="-fpascal-strings"
26546 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26547 echo "$as_me:$LINENO: result: xlc" >&5
26548 echo "${ECHO_T}xlc" >&6
26549 CPPFLAGS_PASCAL="-qmacpstr"
26550 else
26551 echo "$as_me:$LINENO: result: none" >&5
26552 echo "${ECHO_T}none" >&6
26553 fi
26554
26555 if test "x$wxUSE_UNIX" = "xyes"; then
26556 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26557 else
26558 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26559 fi
26560
26561 TOOLKIT=MAC
26562 GUIDIST=MACX_DIST
26563 WXBASEPORT="_carbon"
26564 fi
26565
26566 if test "$wxUSE_COCOA" = 1; then
26567 TOOLKIT=COCOA
26568 GUIDIST=COCOA_DIST
26569 fi
26570
26571 if test "$wxUSE_PM" = 1; then
26572 TOOLKIT=PM
26573 GUIDIST=PM_DIST
26574 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26575 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26576 if test "${wx_cv_spbcdata+set}" = set; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26578 else
26579
26580 cat >conftest.$ac_ext <<_ACEOF
26581 /* confdefs.h. */
26582 _ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586
26587 #define INCL_PM
26588 #include <os2.h>
26589
26590 int
26591 main ()
26592 {
26593
26594 SPBCDATA test;
26595
26596 ;
26597 return 0;
26598 }
26599 _ACEOF
26600 rm -f conftest.$ac_objext
26601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26602 (eval $ac_compile) 2>conftest.er1
26603 ac_status=$?
26604 grep -v '^ *+' conftest.er1 >conftest.err
26605 rm -f conftest.er1
26606 cat conftest.err >&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); } &&
26609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26612 ac_status=$?
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; } &&
26615 { ac_try='test -s conftest.$ac_objext'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26618 ac_status=$?
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; }; then
26621 wx_cv_spbcdata=yes
26622 else
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26625
26626 wx_cv_spbcdata=no
26627
26628 fi
26629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26630
26631
26632 fi
26633 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26634 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26635
26636 if test $wx_cv_spbcdata = "yes"; then
26637 cat >>confdefs.h <<\_ACEOF
26638 #define HAVE_SPBCDATA 1
26639 _ACEOF
26640
26641 fi
26642 fi
26643
26644 if test "$TOOLKIT" = "PM" ; then
26645 TOOLKIT_DIR="os2"
26646 else
26647 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26648 fi
26649
26650 if test "$wxUSE_UNIVERSAL" = "yes"; then
26651 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26652 WIDGET_SET=univ
26653 fi
26654
26655 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26656 DISTDIR="wx\$(TOOLKIT)"
26657 else
26658 USE_GUI=0
26659
26660 TOOLKIT_DIR="base"
26661
26662 if test "$USE_WIN32" = 1 ; then
26663 TOOLKIT="MSW"
26664 fi
26665
26666 GUIDIST="BASE_DIST"
26667 DISTDIR="wxBase"
26668 fi
26669
26670
26671
26672
26673 IODBC_C_SRC=""
26674
26675
26676 if test "$TOOLKIT" != "MSW" ; then
26677
26678 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26679
26680 if test "${ac_cv_header_sql_h+set}" = set; then
26681 echo "$as_me:$LINENO: checking for sql.h" >&5
26682 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26683 if test "${ac_cv_header_sql_h+set}" = set; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26685 fi
26686 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26687 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26688 else
26689 # Is the header compilable?
26690 echo "$as_me:$LINENO: checking sql.h usability" >&5
26691 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26692 cat >conftest.$ac_ext <<_ACEOF
26693 /* confdefs.h. */
26694 _ACEOF
26695 cat confdefs.h >>conftest.$ac_ext
26696 cat >>conftest.$ac_ext <<_ACEOF
26697 /* end confdefs.h. */
26698 $ac_includes_default
26699 #include <sql.h>
26700 _ACEOF
26701 rm -f conftest.$ac_objext
26702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26703 (eval $ac_compile) 2>conftest.er1
26704 ac_status=$?
26705 grep -v '^ *+' conftest.er1 >conftest.err
26706 rm -f conftest.er1
26707 cat conftest.err >&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26713 ac_status=$?
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; } &&
26716 { ac_try='test -s conftest.$ac_objext'
26717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26718 (eval $ac_try) 2>&5
26719 ac_status=$?
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); }; }; then
26722 ac_header_compiler=yes
26723 else
26724 echo "$as_me: failed program was:" >&5
26725 sed 's/^/| /' conftest.$ac_ext >&5
26726
26727 ac_header_compiler=no
26728 fi
26729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26731 echo "${ECHO_T}$ac_header_compiler" >&6
26732
26733 # Is the header present?
26734 echo "$as_me:$LINENO: checking sql.h presence" >&5
26735 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26736 cat >conftest.$ac_ext <<_ACEOF
26737 /* confdefs.h. */
26738 _ACEOF
26739 cat confdefs.h >>conftest.$ac_ext
26740 cat >>conftest.$ac_ext <<_ACEOF
26741 /* end confdefs.h. */
26742 #include <sql.h>
26743 _ACEOF
26744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26746 ac_status=$?
26747 grep -v '^ *+' conftest.er1 >conftest.err
26748 rm -f conftest.er1
26749 cat conftest.err >&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } >/dev/null; then
26752 if test -s conftest.err; then
26753 ac_cpp_err=$ac_c_preproc_warn_flag
26754 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26755 else
26756 ac_cpp_err=
26757 fi
26758 else
26759 ac_cpp_err=yes
26760 fi
26761 if test -z "$ac_cpp_err"; then
26762 ac_header_preproc=yes
26763 else
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.$ac_ext >&5
26766
26767 ac_header_preproc=no
26768 fi
26769 rm -f conftest.err conftest.$ac_ext
26770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26771 echo "${ECHO_T}$ac_header_preproc" >&6
26772
26773 # So? What about this header?
26774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26775 yes:no: )
26776 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26777 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26778 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26779 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26780 ac_header_preproc=yes
26781 ;;
26782 no:yes:* )
26783 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26784 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26785 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26786 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26787 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26788 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26789 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26790 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26791 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26792 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26793 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26794 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26795 (
26796 cat <<\_ASBOX
26797 ## ----------------------------------------- ##
26798 ## Report this to wx-dev@lists.wxwidgets.org ##
26799 ## ----------------------------------------- ##
26800 _ASBOX
26801 ) |
26802 sed "s/^/$as_me: WARNING: /" >&2
26803 ;;
26804 esac
26805 echo "$as_me:$LINENO: checking for sql.h" >&5
26806 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26807 if test "${ac_cv_header_sql_h+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 else
26810 ac_cv_header_sql_h=$ac_header_preproc
26811 fi
26812 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26813 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26814
26815 fi
26816 if test $ac_cv_header_sql_h = yes; then
26817 found_sql_h=1
26818 fi
26819
26820
26821 if test "x$found_sql_h" = "x1" ; then
26822 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26823 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26824 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26825 echo $ECHO_N "(cached) $ECHO_C" >&6
26826 else
26827 ac_check_lib_save_LIBS=$LIBS
26828 LIBS="-liodbc $LIBS"
26829 cat >conftest.$ac_ext <<_ACEOF
26830 /* confdefs.h. */
26831 _ACEOF
26832 cat confdefs.h >>conftest.$ac_ext
26833 cat >>conftest.$ac_ext <<_ACEOF
26834 /* end confdefs.h. */
26835
26836 /* Override any gcc2 internal prototype to avoid an error. */
26837 #ifdef __cplusplus
26838 extern "C"
26839 #endif
26840 /* We use char because int might match the return type of a gcc2
26841 builtin and then its argument prototype would still apply. */
26842 char SQLAllocEnv ();
26843 int
26844 main ()
26845 {
26846 SQLAllocEnv ();
26847 ;
26848 return 0;
26849 }
26850 _ACEOF
26851 rm -f conftest.$ac_objext conftest$ac_exeext
26852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26853 (eval $ac_link) 2>conftest.er1
26854 ac_status=$?
26855 grep -v '^ *+' conftest.er1 >conftest.err
26856 rm -f conftest.er1
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); } &&
26860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26862 (eval $ac_try) 2>&5
26863 ac_status=$?
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); }; } &&
26866 { ac_try='test -s conftest$ac_exeext'
26867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26868 (eval $ac_try) 2>&5
26869 ac_status=$?
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); }; }; then
26872 ac_cv_lib_iodbc_SQLAllocEnv=yes
26873 else
26874 echo "$as_me: failed program was:" >&5
26875 sed 's/^/| /' conftest.$ac_ext >&5
26876
26877 ac_cv_lib_iodbc_SQLAllocEnv=no
26878 fi
26879 rm -f conftest.err conftest.$ac_objext \
26880 conftest$ac_exeext conftest.$ac_ext
26881 LIBS=$ac_check_lib_save_LIBS
26882 fi
26883 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26884 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26885 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26886 ODBC_LINK=" -liodbc"
26887 else
26888
26889 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26890 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26891 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26892 echo $ECHO_N "(cached) $ECHO_C" >&6
26893 else
26894 ac_check_lib_save_LIBS=$LIBS
26895 LIBS="-lunixodbc $LIBS"
26896 cat >conftest.$ac_ext <<_ACEOF
26897 /* confdefs.h. */
26898 _ACEOF
26899 cat confdefs.h >>conftest.$ac_ext
26900 cat >>conftest.$ac_ext <<_ACEOF
26901 /* end confdefs.h. */
26902
26903 /* Override any gcc2 internal prototype to avoid an error. */
26904 #ifdef __cplusplus
26905 extern "C"
26906 #endif
26907 /* We use char because int might match the return type of a gcc2
26908 builtin and then its argument prototype would still apply. */
26909 char SQLAllocEnv ();
26910 int
26911 main ()
26912 {
26913 SQLAllocEnv ();
26914 ;
26915 return 0;
26916 }
26917 _ACEOF
26918 rm -f conftest.$ac_objext conftest$ac_exeext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26920 (eval $ac_link) 2>conftest.er1
26921 ac_status=$?
26922 grep -v '^ *+' conftest.er1 >conftest.err
26923 rm -f conftest.er1
26924 cat conftest.err >&5
26925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926 (exit $ac_status); } &&
26927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26929 (eval $ac_try) 2>&5
26930 ac_status=$?
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); }; } &&
26933 { ac_try='test -s conftest$ac_exeext'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26936 ac_status=$?
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; }; then
26939 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26940 else
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.$ac_ext >&5
26943
26944 ac_cv_lib_unixodbc_SQLAllocEnv=no
26945 fi
26946 rm -f conftest.err conftest.$ac_objext \
26947 conftest$ac_exeext conftest.$ac_ext
26948 LIBS=$ac_check_lib_save_LIBS
26949 fi
26950 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26951 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26952 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26953 ODBC_LINK=" -lunixodbc"
26954 else
26955
26956 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26957 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26958 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26959 echo $ECHO_N "(cached) $ECHO_C" >&6
26960 else
26961 ac_check_lib_save_LIBS=$LIBS
26962 LIBS="-lodbc $LIBS"
26963 cat >conftest.$ac_ext <<_ACEOF
26964 /* confdefs.h. */
26965 _ACEOF
26966 cat confdefs.h >>conftest.$ac_ext
26967 cat >>conftest.$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26969
26970 /* Override any gcc2 internal prototype to avoid an error. */
26971 #ifdef __cplusplus
26972 extern "C"
26973 #endif
26974 /* We use char because int might match the return type of a gcc2
26975 builtin and then its argument prototype would still apply. */
26976 char SQLAllocEnv ();
26977 int
26978 main ()
26979 {
26980 SQLAllocEnv ();
26981 ;
26982 return 0;
26983 }
26984 _ACEOF
26985 rm -f conftest.$ac_objext conftest$ac_exeext
26986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26987 (eval $ac_link) 2>conftest.er1
26988 ac_status=$?
26989 grep -v '^ *+' conftest.er1 >conftest.err
26990 rm -f conftest.er1
26991 cat conftest.err >&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); } &&
26994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996 (eval $ac_try) 2>&5
26997 ac_status=$?
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); }; } &&
27000 { ac_try='test -s conftest$ac_exeext'
27001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002 (eval $ac_try) 2>&5
27003 ac_status=$?
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27006 ac_cv_lib_odbc_SQLAllocEnv=yes
27007 else
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011 ac_cv_lib_odbc_SQLAllocEnv=no
27012 fi
27013 rm -f conftest.err conftest.$ac_objext \
27014 conftest$ac_exeext conftest.$ac_ext
27015 LIBS=$ac_check_lib_save_LIBS
27016 fi
27017 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27018 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27019 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27020 ODBC_LINK=" -lodbc"
27021 fi
27022
27023
27024 fi
27025
27026
27027 fi
27028
27029 fi
27030 if test "x$ODBC_LINK" = "x" ; then
27031 if test "$wxUSE_ODBC" = "sys" ; then
27032 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27033 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27034 { (exit 1); exit 1; }; }
27035 else
27036 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27037 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27038 wxUSE_ODBC=builtin
27039 fi
27040 else
27041 wxUSE_ODBC=sys
27042 fi
27043 fi
27044 if test "$wxUSE_ODBC" != "no" ; then
27045 cat >>confdefs.h <<\_ACEOF
27046 #define wxUSE_ODBC 1
27047 _ACEOF
27048
27049 if test "$wxUSE_ODBC" = "builtin" ; then
27050 cat >>confdefs.h <<\_ACEOF
27051 #define wxUSE_BUILTIN_IODBC 1
27052 _ACEOF
27053
27054 fi
27055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27056
27057 WXODBCFLAG="-D_IODBC_"
27058 fi
27059 fi
27060
27061
27062
27063 if test "$wxUSE_DISPLAY" = "yes"; then
27064 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27065 echo "$as_me:$LINENO: checking for Xinerama" >&5
27066 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27067
27068 ac_find_libraries=
27069 for ac_dir in $SEARCH_LIB /usr/lib;
27070 do
27071 for ac_extension in a so sl dylib; do
27072 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27073 ac_find_libraries=$ac_dir
27074 break 2
27075 fi
27076 done
27077 done
27078
27079 if test "$ac_find_libraries" != "" ; then
27080
27081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27082 result=$?
27083 if test $result = 0; then
27084 ac_path_to_link=""
27085 else
27086 ac_path_to_link=" -L$ac_find_libraries"
27087 fi
27088
27089 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27090 LDFLAGS="$LDFLAGS $ac_path_to_link"
27091 fi
27092 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27093 echo "$as_me:$LINENO: result: yes" >&5
27094 echo "${ECHO_T}yes" >&6
27095
27096 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27097 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27098
27099 ac_find_libraries=
27100 for ac_dir in $SEARCH_LIB /usr/lib;
27101 do
27102 for ac_extension in a so sl dylib; do
27103 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27104 ac_find_libraries=$ac_dir
27105 break 2
27106 fi
27107 done
27108 done
27109
27110 if test "$ac_find_libraries" != "" ; then
27111 echo "$as_me:$LINENO: result: yes" >&5
27112 echo "${ECHO_T}yes" >&6
27113
27114 for ac_header in X11/extensions/xf86vmode.h
27115 do
27116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27117 echo "$as_me:$LINENO: checking for $ac_header" >&5
27118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27121 else
27122 cat >conftest.$ac_ext <<_ACEOF
27123 /* confdefs.h. */
27124 _ACEOF
27125 cat confdefs.h >>conftest.$ac_ext
27126 cat >>conftest.$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27128
27129 #if HAVE_X11_XLIB_H
27130 #include <X11/Xlib.h>
27131 #endif
27132
27133
27134 #include <$ac_header>
27135 _ACEOF
27136 rm -f conftest.$ac_objext
27137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27138 (eval $ac_compile) 2>conftest.er1
27139 ac_status=$?
27140 grep -v '^ *+' conftest.er1 >conftest.err
27141 rm -f conftest.er1
27142 cat conftest.err >&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); } &&
27145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147 (eval $ac_try) 2>&5
27148 ac_status=$?
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); }; } &&
27151 { ac_try='test -s conftest.$ac_objext'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27154 ac_status=$?
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; }; then
27157 eval "$as_ac_Header=yes"
27158 else
27159 echo "$as_me: failed program was:" >&5
27160 sed 's/^/| /' conftest.$ac_ext >&5
27161
27162 eval "$as_ac_Header=no"
27163 fi
27164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27165 fi
27166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27169 cat >>confdefs.h <<_ACEOF
27170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27171 _ACEOF
27172
27173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27174
27175 fi
27176
27177 done
27178
27179 else
27180 echo "$as_me:$LINENO: result: no" >&5
27181 echo "${ECHO_T}no" >&6
27182 fi
27183
27184 else
27185 echo "$as_me:$LINENO: result: no" >&5
27186 echo "${ECHO_T}no" >&6
27187 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27188 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27189 wxUSE_DISPLAY="no"
27190 fi
27191 elif test "$wxUSE_MSW" = 1; then
27192
27193
27194 for ac_header in multimon.h ddraw.h
27195 do
27196 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27198 echo "$as_me:$LINENO: checking for $ac_header" >&5
27199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27202 fi
27203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27205 else
27206 # Is the header compilable?
27207 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27209 cat >conftest.$ac_ext <<_ACEOF
27210 /* confdefs.h. */
27211 _ACEOF
27212 cat confdefs.h >>conftest.$ac_ext
27213 cat >>conftest.$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 $ac_includes_default
27216 #include <$ac_header>
27217 _ACEOF
27218 rm -f conftest.$ac_objext
27219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27220 (eval $ac_compile) 2>conftest.er1
27221 ac_status=$?
27222 grep -v '^ *+' conftest.er1 >conftest.err
27223 rm -f conftest.er1
27224 cat conftest.err >&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); } &&
27227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27230 ac_status=$?
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; } &&
27233 { ac_try='test -s conftest.$ac_objext'
27234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27235 (eval $ac_try) 2>&5
27236 ac_status=$?
27237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27238 (exit $ac_status); }; }; then
27239 ac_header_compiler=yes
27240 else
27241 echo "$as_me: failed program was:" >&5
27242 sed 's/^/| /' conftest.$ac_ext >&5
27243
27244 ac_header_compiler=no
27245 fi
27246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27248 echo "${ECHO_T}$ac_header_compiler" >&6
27249
27250 # Is the header present?
27251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27253 cat >conftest.$ac_ext <<_ACEOF
27254 /* confdefs.h. */
27255 _ACEOF
27256 cat confdefs.h >>conftest.$ac_ext
27257 cat >>conftest.$ac_ext <<_ACEOF
27258 /* end confdefs.h. */
27259 #include <$ac_header>
27260 _ACEOF
27261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27263 ac_status=$?
27264 grep -v '^ *+' conftest.er1 >conftest.err
27265 rm -f conftest.er1
27266 cat conftest.err >&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); } >/dev/null; then
27269 if test -s conftest.err; then
27270 ac_cpp_err=$ac_c_preproc_warn_flag
27271 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27272 else
27273 ac_cpp_err=
27274 fi
27275 else
27276 ac_cpp_err=yes
27277 fi
27278 if test -z "$ac_cpp_err"; then
27279 ac_header_preproc=yes
27280 else
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.$ac_ext >&5
27283
27284 ac_header_preproc=no
27285 fi
27286 rm -f conftest.err conftest.$ac_ext
27287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27288 echo "${ECHO_T}$ac_header_preproc" >&6
27289
27290 # So? What about this header?
27291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27292 yes:no: )
27293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27297 ac_header_preproc=yes
27298 ;;
27299 no:yes:* )
27300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27312 (
27313 cat <<\_ASBOX
27314 ## ----------------------------------------- ##
27315 ## Report this to wx-dev@lists.wxwidgets.org ##
27316 ## ----------------------------------------- ##
27317 _ASBOX
27318 ) |
27319 sed "s/^/$as_me: WARNING: /" >&2
27320 ;;
27321 esac
27322 echo "$as_me:$LINENO: checking for $ac_header" >&5
27323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 else
27327 eval "$as_ac_Header=\$ac_header_preproc"
27328 fi
27329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27331
27332 fi
27333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27334 cat >>confdefs.h <<_ACEOF
27335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27336 _ACEOF
27337
27338 else
27339
27340 wxUSE_DISPLAY="no"
27341 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27342 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27343
27344 fi
27345
27346 done
27347
27348 fi
27349 fi
27350
27351
27352 if test "$wxUSE_MEDIACTRL" = "yes"; then
27353 if test "$wxUSE_MSW" = 1; then
27354 wxUSE_DIRECTSHOW="yes"
27355
27356 for ac_header in dshow.h
27357 do
27358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27360 echo "$as_me:$LINENO: checking for $ac_header" >&5
27361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27363 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 fi
27365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27367 else
27368 # Is the header compilable?
27369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27371 cat >conftest.$ac_ext <<_ACEOF
27372 /* confdefs.h. */
27373 _ACEOF
27374 cat confdefs.h >>conftest.$ac_ext
27375 cat >>conftest.$ac_ext <<_ACEOF
27376 /* end confdefs.h. */
27377 $ac_includes_default
27378 #include <$ac_header>
27379 _ACEOF
27380 rm -f conftest.$ac_objext
27381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27382 (eval $ac_compile) 2>conftest.er1
27383 ac_status=$?
27384 grep -v '^ *+' conftest.er1 >conftest.err
27385 rm -f conftest.er1
27386 cat conftest.err >&5
27387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388 (exit $ac_status); } &&
27389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27391 (eval $ac_try) 2>&5
27392 ac_status=$?
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); }; } &&
27395 { ac_try='test -s conftest.$ac_objext'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; }; then
27401 ac_header_compiler=yes
27402 else
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.$ac_ext >&5
27405
27406 ac_header_compiler=no
27407 fi
27408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27410 echo "${ECHO_T}$ac_header_compiler" >&6
27411
27412 # Is the header present?
27413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27415 cat >conftest.$ac_ext <<_ACEOF
27416 /* confdefs.h. */
27417 _ACEOF
27418 cat confdefs.h >>conftest.$ac_ext
27419 cat >>conftest.$ac_ext <<_ACEOF
27420 /* end confdefs.h. */
27421 #include <$ac_header>
27422 _ACEOF
27423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27425 ac_status=$?
27426 grep -v '^ *+' conftest.er1 >conftest.err
27427 rm -f conftest.er1
27428 cat conftest.err >&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } >/dev/null; then
27431 if test -s conftest.err; then
27432 ac_cpp_err=$ac_c_preproc_warn_flag
27433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27434 else
27435 ac_cpp_err=
27436 fi
27437 else
27438 ac_cpp_err=yes
27439 fi
27440 if test -z "$ac_cpp_err"; then
27441 ac_header_preproc=yes
27442 else
27443 echo "$as_me: failed program was:" >&5
27444 sed 's/^/| /' conftest.$ac_ext >&5
27445
27446 ac_header_preproc=no
27447 fi
27448 rm -f conftest.err conftest.$ac_ext
27449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27450 echo "${ECHO_T}$ac_header_preproc" >&6
27451
27452 # So? What about this header?
27453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27454 yes:no: )
27455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27459 ac_header_preproc=yes
27460 ;;
27461 no:yes:* )
27462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27474 (
27475 cat <<\_ASBOX
27476 ## ----------------------------------------- ##
27477 ## Report this to wx-dev@lists.wxwidgets.org ##
27478 ## ----------------------------------------- ##
27479 _ASBOX
27480 ) |
27481 sed "s/^/$as_me: WARNING: /" >&2
27482 ;;
27483 esac
27484 echo "$as_me:$LINENO: checking for $ac_header" >&5
27485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27487 echo $ECHO_N "(cached) $ECHO_C" >&6
27488 else
27489 eval "$as_ac_Header=\$ac_header_preproc"
27490 fi
27491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27493
27494 fi
27495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27496 cat >>confdefs.h <<_ACEOF
27497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27498 _ACEOF
27499
27500 else
27501
27502 wxUSE_DIRECTSHOW="no"
27503 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27504 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27505
27506 fi
27507
27508 done
27509
27510
27511 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27512 cat >>confdefs.h <<\_ACEOF
27513 #define wxUSE_DIRECTSHOW 1
27514 _ACEOF
27515
27516 LIBS="$LIBS -lstrmiids"
27517 fi
27518 fi
27519
27520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
27521 cat >>confdefs.h <<\_ACEOF
27522 #define wxUSE_MEDIACTRL 1
27523 _ACEOF
27524
27525 fi
27526
27527
27528 USE_OPENGL=0
27529 if test "$wxUSE_OPENGL" = "yes"; then
27530 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27531 OPENGL_LIBS="-framework OpenGL -framework AGL"
27532 elif test "$wxUSE_MSW" = 1; then
27533 OPENGL_LIBS="-lopengl32 -lglu32"
27534 else
27535
27536
27537 ac_find_includes=
27538 for ac_dir in $SEARCH_INCLUDE /usr/include;
27539 do
27540 if test -f "$ac_dir/GL/gl.h"; then
27541 ac_find_includes=$ac_dir
27542 break
27543 fi
27544 done
27545
27546 if test "$ac_find_includes" != "" ; then
27547 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27548 echo "${ECHO_T}found in $ac_find_includes" >&6
27549
27550 if test "x$ac_find_includes" = "x/usr/include"; then
27551 ac_path_to_include=""
27552 else
27553 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27554 result=$?
27555 if test $result = 0; then
27556 ac_path_to_include=""
27557 else
27558 ac_path_to_include=" -I$ac_find_includes"
27559 fi
27560 fi
27561
27562 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27563 fi
27564
27565 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27566 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27567 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27568 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27569 echo $ECHO_N "(cached) $ECHO_C" >&6
27570 fi
27571 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27572 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27573 else
27574 # Is the header compilable?
27575 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27576 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583 $ac_includes_default
27584 #include <GL/gl.h>
27585 _ACEOF
27586 rm -f conftest.$ac_objext
27587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27588 (eval $ac_compile) 2>conftest.er1
27589 ac_status=$?
27590 grep -v '^ *+' conftest.er1 >conftest.err
27591 rm -f conftest.er1
27592 cat conftest.err >&5
27593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594 (exit $ac_status); } &&
27595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597 (eval $ac_try) 2>&5
27598 ac_status=$?
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); }; } &&
27601 { ac_try='test -s conftest.$ac_objext'
27602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603 (eval $ac_try) 2>&5
27604 ac_status=$?
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); }; }; then
27607 ac_header_compiler=yes
27608 else
27609 echo "$as_me: failed program was:" >&5
27610 sed 's/^/| /' conftest.$ac_ext >&5
27611
27612 ac_header_compiler=no
27613 fi
27614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27616 echo "${ECHO_T}$ac_header_compiler" >&6
27617
27618 # Is the header present?
27619 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27620 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27621 cat >conftest.$ac_ext <<_ACEOF
27622 /* confdefs.h. */
27623 _ACEOF
27624 cat confdefs.h >>conftest.$ac_ext
27625 cat >>conftest.$ac_ext <<_ACEOF
27626 /* end confdefs.h. */
27627 #include <GL/gl.h>
27628 _ACEOF
27629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27631 ac_status=$?
27632 grep -v '^ *+' conftest.er1 >conftest.err
27633 rm -f conftest.er1
27634 cat conftest.err >&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } >/dev/null; then
27637 if test -s conftest.err; then
27638 ac_cpp_err=$ac_c_preproc_warn_flag
27639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27640 else
27641 ac_cpp_err=
27642 fi
27643 else
27644 ac_cpp_err=yes
27645 fi
27646 if test -z "$ac_cpp_err"; then
27647 ac_header_preproc=yes
27648 else
27649 echo "$as_me: failed program was:" >&5
27650 sed 's/^/| /' conftest.$ac_ext >&5
27651
27652 ac_header_preproc=no
27653 fi
27654 rm -f conftest.err conftest.$ac_ext
27655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27656 echo "${ECHO_T}$ac_header_preproc" >&6
27657
27658 # So? What about this header?
27659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27660 yes:no: )
27661 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27662 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27663 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27664 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27665 ac_header_preproc=yes
27666 ;;
27667 no:yes:* )
27668 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27669 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27670 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27671 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27672 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27673 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27674 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27675 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27676 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27677 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27678 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27679 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27680 (
27681 cat <<\_ASBOX
27682 ## ----------------------------------------- ##
27683 ## Report this to wx-dev@lists.wxwidgets.org ##
27684 ## ----------------------------------------- ##
27685 _ASBOX
27686 ) |
27687 sed "s/^/$as_me: WARNING: /" >&2
27688 ;;
27689 esac
27690 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27691 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27692 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27693 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 else
27695 ac_cv_header_GL_gl_h=$ac_header_preproc
27696 fi
27697 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27698 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27699
27700 fi
27701 if test $ac_cv_header_GL_gl_h = yes; then
27702
27703 found_gl=0
27704
27705 echo "$as_me:$LINENO: checking for -lGL" >&5
27706 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27707
27708 ac_find_libraries=
27709 for ac_dir in $SEARCH_LIB /usr/lib;
27710 do
27711 for ac_extension in a so sl dylib; do
27712 if test -f "$ac_dir/libGL.$ac_extension"; then
27713 ac_find_libraries=$ac_dir
27714 break 2
27715 fi
27716 done
27717 done
27718
27719 if test "$ac_find_libraries" != "" ; then
27720
27721 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27722 result=$?
27723 if test $result = 0; then
27724 ac_path_to_link=""
27725 else
27726 ac_path_to_link=" -L$ac_find_libraries"
27727 fi
27728
27729 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27730 LDFLAGS_GL="$ac_path_to_link"
27731 fi
27732
27733
27734 ac_find_libraries=
27735 for ac_dir in $SEARCH_LIB /usr/lib;
27736 do
27737 for ac_extension in a so sl dylib; do
27738 if test -f "$ac_dir/libGLU.$ac_extension"; then
27739 ac_find_libraries=$ac_dir
27740 break 2
27741 fi
27742 done
27743 done
27744
27745 if test "$ac_find_libraries" != "" ; then
27746
27747 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27748 result=$?
27749 if test $result = 0; then
27750 ac_path_to_link=""
27751 else
27752 ac_path_to_link=" -L$ac_find_libraries"
27753 fi
27754
27755 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27756 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27757 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27758 fi
27759
27760 found_gl=1
27761 OPENGL_LIBS="-lGL -lGLU"
27762 echo "$as_me:$LINENO: result: yes" >&5
27763 echo "${ECHO_T}yes" >&6
27764 fi
27765 fi
27766
27767 if test "$found_gl" != 1; then
27768 echo "$as_me:$LINENO: result: no" >&5
27769 echo "${ECHO_T}no" >&6
27770 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27771 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27772
27773 ac_find_libraries=
27774 for ac_dir in $SEARCH_LIB /usr/lib;
27775 do
27776 for ac_extension in a so sl dylib; do
27777 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27778 ac_find_libraries=$ac_dir
27779 break 2
27780 fi
27781 done
27782 done
27783
27784 if test "$ac_find_libraries" != "" ; then
27785
27786 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27787 result=$?
27788 if test $result = 0; then
27789 ac_path_to_link=""
27790 else
27791 ac_path_to_link=" -L$ac_find_libraries"
27792 fi
27793
27794 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27795 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27796 echo "$as_me:$LINENO: result: yes" >&5
27797 echo "${ECHO_T}yes" >&6
27798 else
27799 echo "$as_me:$LINENO: result: no" >&5
27800 echo "${ECHO_T}no" >&6
27801 fi
27802 fi
27803
27804 fi
27805
27806
27807
27808 if test "x$OPENGL_LIBS" = "x"; then
27809 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27810 echo "$as_me: error: OpenGL libraries not available" >&2;}
27811 { (exit 1); exit 1; }; }
27812 fi
27813 fi
27814
27815 if test "$wxUSE_OPENGL" = "yes"; then
27816 USE_OPENGL=1
27817 cat >>confdefs.h <<\_ACEOF
27818 #define wxUSE_OPENGL 1
27819 _ACEOF
27820
27821 cat >>confdefs.h <<\_ACEOF
27822 #define wxUSE_GLCANVAS 1
27823 _ACEOF
27824
27825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27826 fi
27827 fi
27828
27829
27830 if test -n "$TOOLKIT" ; then
27831 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27832 fi
27833
27834
27835
27836 if test "$wxUSE_SHARED" = "yes"; then
27837 case "${host}" in
27838 *-pc-msdosdjgpp )
27839 wxUSE_SHARED=no
27840 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27841 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27842 ;;
27843 esac
27844 fi
27845
27846 if test "$wxUSE_SHARED" = "yes"; then
27847
27848
27849 found_versioning=no
27850
27851
27852 if test $found_versioning = no ; then
27853 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27854 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27855 if test "${wx_cv_version_script+set}" = set; then
27856 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 else
27858
27859 echo "VER_1 { *; };" >conftest.sym
27860 echo "int main() { return 0; }" >conftest.cpp
27861
27862 if { ac_try='
27863 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27864 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27866 (eval $ac_try) 2>&5
27867 ac_status=$?
27868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869 (exit $ac_status); }; } ; then
27870 if test -s conftest.stderr ; then
27871 wx_cv_version_script=no
27872 else
27873 wx_cv_version_script=yes
27874 fi
27875 else
27876 wx_cv_version_script=no
27877 fi
27878 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27879
27880 fi
27881 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27882 echo "${ECHO_T}$wx_cv_version_script" >&6
27883 if test $wx_cv_version_script = yes ; then
27884 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27885 fi
27886 fi
27887
27888
27889 case "${host}" in
27890 *-*-linux* | *-*-gnu* )
27891 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27892 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27893 ;;
27894
27895 *-*-solaris2* )
27896 if test "$GCC" = yes ; then
27897 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27898
27899 saveLdflags="$LDFLAGS"
27900 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27901 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27902 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27903 cat >conftest.$ac_ext <<_ACEOF
27904 /* confdefs.h. */
27905 _ACEOF
27906 cat confdefs.h >>conftest.$ac_ext
27907 cat >>conftest.$ac_ext <<_ACEOF
27908 /* end confdefs.h. */
27909
27910 int
27911 main ()
27912 {
27913
27914 ;
27915 return 0;
27916 }
27917 _ACEOF
27918 rm -f conftest.$ac_objext conftest$ac_exeext
27919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27920 (eval $ac_link) 2>conftest.er1
27921 ac_status=$?
27922 grep -v '^ *+' conftest.er1 >conftest.err
27923 rm -f conftest.er1
27924 cat conftest.err >&5
27925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926 (exit $ac_status); } &&
27927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27929 (eval $ac_try) 2>&5
27930 ac_status=$?
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); }; } &&
27933 { ac_try='test -s conftest$ac_exeext'
27934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27935 (eval $ac_try) 2>&5
27936 ac_status=$?
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; }; then
27939
27940 echo "$as_me:$LINENO: result: yes" >&5
27941 echo "${ECHO_T}yes" >&6
27942 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27943 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27944
27945 else
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.$ac_ext >&5
27948
27949
27950 echo "$as_me:$LINENO: result: no" >&5
27951 echo "${ECHO_T}no" >&6
27952 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27953 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27954 LDFLAGS="$saveLdflags -Wl,-R,/"
27955 cat >conftest.$ac_ext <<_ACEOF
27956 /* confdefs.h. */
27957 _ACEOF
27958 cat confdefs.h >>conftest.$ac_ext
27959 cat >>conftest.$ac_ext <<_ACEOF
27960 /* end confdefs.h. */
27961
27962 int
27963 main ()
27964 {
27965
27966 ;
27967 return 0;
27968 }
27969 _ACEOF
27970 rm -f conftest.$ac_objext conftest$ac_exeext
27971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27972 (eval $ac_link) 2>conftest.er1
27973 ac_status=$?
27974 grep -v '^ *+' conftest.er1 >conftest.err
27975 rm -f conftest.er1
27976 cat conftest.err >&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); } &&
27979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27981 (eval $ac_try) 2>&5
27982 ac_status=$?
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); }; } &&
27985 { ac_try='test -s conftest$ac_exeext'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27988 ac_status=$?
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; }; then
27991
27992 echo "$as_me:$LINENO: result: yes" >&5
27993 echo "${ECHO_T}yes" >&6
27994 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27995 WXCONFIG_RPATH="-Wl,-R,\$libdir"
27996
27997 else
27998 echo "$as_me: failed program was:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28000
28001
28002 echo "$as_me:$LINENO: result: no" >&5
28003 echo "${ECHO_T}no" >&6
28004
28005 fi
28006 rm -f conftest.err conftest.$ac_objext \
28007 conftest$ac_exeext conftest.$ac_ext
28008
28009 fi
28010 rm -f conftest.err conftest.$ac_objext \
28011 conftest$ac_exeext conftest.$ac_ext
28012 LDFLAGS="$saveLdflags"
28013 else
28014 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28015 WXCONFIG_RPATH="-R\$libdir"
28016 fi
28017 ;;
28018
28019 powerpc-*-darwin* )
28020 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28021 cat <<EOF >change-install-names
28022 #!/bin/sh
28023 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28024 inst_cmd="install_name_tool "
28025 for i in \${libnames} ; do
28026 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28027 done
28028 \${inst_cmd} \${3}
28029 EOF
28030 chmod +x change-install-names
28031 ;;
28032
28033 *-*-cygwin* | *-*-mingw32* )
28034 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28035 ;;
28036
28037 esac
28038
28039 if test $wxUSE_RPATH = "no"; then
28040 SAMPLES_RPATH_FLAG=''
28041 SAMPLES_RPATH_POSTLINK=''
28042 WXCONFIG_RPATH=''
28043 fi
28044
28045 SHARED=1
28046
28047 else
28048
28049 config_linkage_component="-static"
28050 SHARED=0
28051
28052 fi
28053
28054
28055 UNICODE=0
28056 lib_unicode_suffix=
28057 WX_CHARTYPE="ansi"
28058 if test "$wxUSE_UNICODE" = "yes"; then
28059 lib_unicode_suffix=u
28060 WX_CHARTYPE="unicode"
28061 UNICODE=1
28062 fi
28063
28064 lib_debug_suffix=
28065 WX_DEBUGTYPE="release"
28066 DEBUG_FLAG=0
28067 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28068 lib_debug_suffix=d
28069 WX_DEBUGTYPE="debug"
28070 DEBUG_FLAG=1
28071 fi
28072
28073 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28074 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28075
28076 DEBUG_INFO=0
28077 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28078 DEBUG_INFO=1
28079 fi
28080
28081 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28082
28083 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28084
28085 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28086
28087 if test "$cross_compiling" = "yes"; then
28088 HOST_SUFFIX="-$host_alias"
28089 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28090 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28091 fi
28092
28093 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28094 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28095
28096
28097
28098 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28099 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28100 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28101
28102 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28103
28104 # Extract the first word of "Rez", so it can be a program name with args.
28105 set dummy Rez; ac_word=$2
28106 echo "$as_me:$LINENO: checking for $ac_word" >&5
28107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28108 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 else
28111 if test -n "$RESCOMP"; then
28112 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28113 else
28114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28115 for as_dir in $PATH
28116 do
28117 IFS=$as_save_IFS
28118 test -z "$as_dir" && as_dir=.
28119 for ac_exec_ext in '' $ac_executable_extensions; do
28120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28121 ac_cv_prog_RESCOMP="Rez"
28122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28123 break 2
28124 fi
28125 done
28126 done
28127
28128 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28129 fi
28130 fi
28131 RESCOMP=$ac_cv_prog_RESCOMP
28132 if test -n "$RESCOMP"; then
28133 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28134 echo "${ECHO_T}$RESCOMP" >&6
28135 else
28136 echo "$as_me:$LINENO: result: no" >&5
28137 echo "${ECHO_T}no" >&6
28138 fi
28139
28140 # Extract the first word of "DeRez", so it can be a program name with args.
28141 set dummy DeRez; ac_word=$2
28142 echo "$as_me:$LINENO: checking for $ac_word" >&5
28143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28144 if test "${ac_cv_prog_DEREZ+set}" = set; then
28145 echo $ECHO_N "(cached) $ECHO_C" >&6
28146 else
28147 if test -n "$DEREZ"; then
28148 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28149 else
28150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28151 for as_dir in $PATH
28152 do
28153 IFS=$as_save_IFS
28154 test -z "$as_dir" && as_dir=.
28155 for ac_exec_ext in '' $ac_executable_extensions; do
28156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28157 ac_cv_prog_DEREZ="DeRez"
28158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28159 break 2
28160 fi
28161 done
28162 done
28163
28164 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28165 fi
28166 fi
28167 DEREZ=$ac_cv_prog_DEREZ
28168 if test -n "$DEREZ"; then
28169 echo "$as_me:$LINENO: result: $DEREZ" >&5
28170 echo "${ECHO_T}$DEREZ" >&6
28171 else
28172 echo "$as_me:$LINENO: result: no" >&5
28173 echo "${ECHO_T}no" >&6
28174 fi
28175
28176 # Extract the first word of "SetFile", so it can be a program name with args.
28177 set dummy SetFile; ac_word=$2
28178 echo "$as_me:$LINENO: checking for $ac_word" >&5
28179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28180 if test "${ac_cv_prog_SETFILE+set}" = set; then
28181 echo $ECHO_N "(cached) $ECHO_C" >&6
28182 else
28183 if test -n "$SETFILE"; then
28184 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28185 else
28186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28187 for as_dir in $PATH
28188 do
28189 IFS=$as_save_IFS
28190 test -z "$as_dir" && as_dir=.
28191 for ac_exec_ext in '' $ac_executable_extensions; do
28192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28193 ac_cv_prog_SETFILE="SetFile"
28194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28195 break 2
28196 fi
28197 done
28198 done
28199
28200 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28201 fi
28202 fi
28203 SETFILE=$ac_cv_prog_SETFILE
28204 if test -n "$SETFILE"; then
28205 echo "$as_me:$LINENO: result: $SETFILE" >&5
28206 echo "${ECHO_T}$SETFILE" >&6
28207 else
28208 echo "$as_me:$LINENO: result: no" >&5
28209 echo "${ECHO_T}no" >&6
28210 fi
28211
28212
28213 MACSETFILE="\$(SETFILE)"
28214
28215 if test "$wxUSE_MAC" = 1; then
28216 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28217
28218 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28219 else
28220 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28221 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28222 fi
28223 else
28224 MACSETFILE="@true"
28225 MACRESWXCONFIG="@true"
28226
28227 if test "$wxUSE_PM" = 1; then
28228 MACRESCOMP="emxbind -ep"
28229 else
28230 MACRESCOMP="@true"
28231 fi
28232 fi
28233
28234
28235
28236 echo "$as_me:$LINENO: checking for mode_t" >&5
28237 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28238 if test "${ac_cv_type_mode_t+set}" = set; then
28239 echo $ECHO_N "(cached) $ECHO_C" >&6
28240 else
28241 cat >conftest.$ac_ext <<_ACEOF
28242 /* confdefs.h. */
28243 _ACEOF
28244 cat confdefs.h >>conftest.$ac_ext
28245 cat >>conftest.$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28247 $ac_includes_default
28248 int
28249 main ()
28250 {
28251 if ((mode_t *) 0)
28252 return 0;
28253 if (sizeof (mode_t))
28254 return 0;
28255 ;
28256 return 0;
28257 }
28258 _ACEOF
28259 rm -f conftest.$ac_objext
28260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28261 (eval $ac_compile) 2>conftest.er1
28262 ac_status=$?
28263 grep -v '^ *+' conftest.er1 >conftest.err
28264 rm -f conftest.er1
28265 cat conftest.err >&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); } &&
28268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_type_mode_t=yes
28281 else
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.$ac_ext >&5
28284
28285 ac_cv_type_mode_t=no
28286 fi
28287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28288 fi
28289 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28290 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28291 if test $ac_cv_type_mode_t = yes; then
28292 :
28293 else
28294
28295 cat >>confdefs.h <<_ACEOF
28296 #define mode_t int
28297 _ACEOF
28298
28299 fi
28300
28301 echo "$as_me:$LINENO: checking for off_t" >&5
28302 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28303 if test "${ac_cv_type_off_t+set}" = set; then
28304 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 else
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28313 int
28314 main ()
28315 {
28316 if ((off_t *) 0)
28317 return 0;
28318 if (sizeof (off_t))
28319 return 0;
28320 ;
28321 return 0;
28322 }
28323 _ACEOF
28324 rm -f conftest.$ac_objext
28325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28326 (eval $ac_compile) 2>conftest.er1
28327 ac_status=$?
28328 grep -v '^ *+' conftest.er1 >conftest.err
28329 rm -f conftest.er1
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; } &&
28339 { ac_try='test -s conftest.$ac_objext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 ac_cv_type_off_t=yes
28346 else
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28349
28350 ac_cv_type_off_t=no
28351 fi
28352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28353 fi
28354 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28355 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28356 if test $ac_cv_type_off_t = yes; then
28357 :
28358 else
28359
28360 cat >>confdefs.h <<_ACEOF
28361 #define off_t long
28362 _ACEOF
28363
28364 fi
28365
28366 echo "$as_me:$LINENO: checking for pid_t" >&5
28367 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28368 if test "${ac_cv_type_pid_t+set}" = set; then
28369 echo $ECHO_N "(cached) $ECHO_C" >&6
28370 else
28371 cat >conftest.$ac_ext <<_ACEOF
28372 /* confdefs.h. */
28373 _ACEOF
28374 cat confdefs.h >>conftest.$ac_ext
28375 cat >>conftest.$ac_ext <<_ACEOF
28376 /* end confdefs.h. */
28377 $ac_includes_default
28378 int
28379 main ()
28380 {
28381 if ((pid_t *) 0)
28382 return 0;
28383 if (sizeof (pid_t))
28384 return 0;
28385 ;
28386 return 0;
28387 }
28388 _ACEOF
28389 rm -f conftest.$ac_objext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28391 (eval $ac_compile) 2>conftest.er1
28392 ac_status=$?
28393 grep -v '^ *+' conftest.er1 >conftest.err
28394 rm -f conftest.er1
28395 cat conftest.err >&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } &&
28398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28401 ac_status=$?
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; } &&
28404 { ac_try='test -s conftest.$ac_objext'
28405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28406 (eval $ac_try) 2>&5
28407 ac_status=$?
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); }; }; then
28410 ac_cv_type_pid_t=yes
28411 else
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28414
28415 ac_cv_type_pid_t=no
28416 fi
28417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28418 fi
28419 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28420 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28421 if test $ac_cv_type_pid_t = yes; then
28422 :
28423 else
28424
28425 cat >>confdefs.h <<_ACEOF
28426 #define pid_t int
28427 _ACEOF
28428
28429 fi
28430
28431 echo "$as_me:$LINENO: checking for size_t" >&5
28432 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28433 if test "${ac_cv_type_size_t+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28435 else
28436 cat >conftest.$ac_ext <<_ACEOF
28437 /* confdefs.h. */
28438 _ACEOF
28439 cat confdefs.h >>conftest.$ac_ext
28440 cat >>conftest.$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28442 $ac_includes_default
28443 int
28444 main ()
28445 {
28446 if ((size_t *) 0)
28447 return 0;
28448 if (sizeof (size_t))
28449 return 0;
28450 ;
28451 return 0;
28452 }
28453 _ACEOF
28454 rm -f conftest.$ac_objext
28455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28456 (eval $ac_compile) 2>conftest.er1
28457 ac_status=$?
28458 grep -v '^ *+' conftest.er1 >conftest.err
28459 rm -f conftest.er1
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } &&
28463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28465 (eval $ac_try) 2>&5
28466 ac_status=$?
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); }; } &&
28469 { ac_try='test -s conftest.$ac_objext'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; }; then
28475 ac_cv_type_size_t=yes
28476 else
28477 echo "$as_me: failed program was:" >&5
28478 sed 's/^/| /' conftest.$ac_ext >&5
28479
28480 ac_cv_type_size_t=no
28481 fi
28482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28483 fi
28484 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28485 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28486 if test $ac_cv_type_size_t = yes; then
28487 :
28488 else
28489
28490 cat >>confdefs.h <<_ACEOF
28491 #define size_t unsigned
28492 _ACEOF
28493
28494 fi
28495
28496 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28497 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28498 if test "${ac_cv_type_uid_t+set}" = set; then
28499 echo $ECHO_N "(cached) $ECHO_C" >&6
28500 else
28501 cat >conftest.$ac_ext <<_ACEOF
28502 /* confdefs.h. */
28503 _ACEOF
28504 cat confdefs.h >>conftest.$ac_ext
28505 cat >>conftest.$ac_ext <<_ACEOF
28506 /* end confdefs.h. */
28507 #include <sys/types.h>
28508
28509 _ACEOF
28510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28511 $EGREP "uid_t" >/dev/null 2>&1; then
28512 ac_cv_type_uid_t=yes
28513 else
28514 ac_cv_type_uid_t=no
28515 fi
28516 rm -f conftest*
28517
28518 fi
28519 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28520 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28521 if test $ac_cv_type_uid_t = no; then
28522
28523 cat >>confdefs.h <<\_ACEOF
28524 #define uid_t int
28525 _ACEOF
28526
28527
28528 cat >>confdefs.h <<\_ACEOF
28529 #define gid_t int
28530 _ACEOF
28531
28532 fi
28533
28534
28535 echo "$as_me:$LINENO: checking for ssize_t" >&5
28536 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28537 if test "${ac_cv_type_ssize_t+set}" = set; then
28538 echo $ECHO_N "(cached) $ECHO_C" >&6
28539 else
28540 cat >conftest.$ac_ext <<_ACEOF
28541 /* confdefs.h. */
28542 _ACEOF
28543 cat confdefs.h >>conftest.$ac_ext
28544 cat >>conftest.$ac_ext <<_ACEOF
28545 /* end confdefs.h. */
28546 $ac_includes_default
28547 int
28548 main ()
28549 {
28550 if ((ssize_t *) 0)
28551 return 0;
28552 if (sizeof (ssize_t))
28553 return 0;
28554 ;
28555 return 0;
28556 }
28557 _ACEOF
28558 rm -f conftest.$ac_objext
28559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28560 (eval $ac_compile) 2>conftest.er1
28561 ac_status=$?
28562 grep -v '^ *+' conftest.er1 >conftest.err
28563 rm -f conftest.er1
28564 cat conftest.err >&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } &&
28567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
28573 { ac_try='test -s conftest.$ac_objext'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; }; then
28579 ac_cv_type_ssize_t=yes
28580 else
28581 echo "$as_me: failed program was:" >&5
28582 sed 's/^/| /' conftest.$ac_ext >&5
28583
28584 ac_cv_type_ssize_t=no
28585 fi
28586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28587 fi
28588 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28589 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28590 if test $ac_cv_type_ssize_t = yes; then
28591
28592 cat >>confdefs.h <<_ACEOF
28593 #define HAVE_SSIZE_T 1
28594 _ACEOF
28595
28596
28597 fi
28598
28599
28600
28601
28602 ac_ext=cc
28603 ac_cpp='$CXXCPP $CPPFLAGS'
28604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28607
28608 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28609 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28610 if test "${wx_cv_size_t_is_uint+set}" = set; then
28611 echo $ECHO_N "(cached) $ECHO_C" >&6
28612 else
28613
28614 cat >conftest.$ac_ext <<_ACEOF
28615 /* confdefs.h. */
28616 _ACEOF
28617 cat confdefs.h >>conftest.$ac_ext
28618 cat >>conftest.$ac_ext <<_ACEOF
28619 /* end confdefs.h. */
28620 #include <stddef.h>
28621 int
28622 main ()
28623 {
28624
28625 return 0; }
28626
28627 struct Foo { void foo(size_t); void foo(unsigned int); };
28628
28629 int bar() {
28630
28631 ;
28632 return 0;
28633 }
28634 _ACEOF
28635 rm -f conftest.$ac_objext
28636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28637 (eval $ac_compile) 2>conftest.er1
28638 ac_status=$?
28639 grep -v '^ *+' conftest.er1 >conftest.err
28640 rm -f conftest.er1
28641 cat conftest.err >&5
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); } &&
28644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28647 ac_status=$?
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try='test -s conftest.$ac_objext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28653 ac_status=$?
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 wx_cv_size_t_is_uint=no
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28660
28661 wx_cv_size_t_is_uint=yes
28662
28663 fi
28664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28665
28666
28667 fi
28668 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28669 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28670
28671 if test "$wx_cv_size_t_is_uint" = "yes"; then
28672 cat >>confdefs.h <<\_ACEOF
28673 #define wxSIZE_T_IS_UINT 1
28674 _ACEOF
28675
28676 else
28677 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28678 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28679 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28680 echo $ECHO_N "(cached) $ECHO_C" >&6
28681 else
28682 cat >conftest.$ac_ext <<_ACEOF
28683 /* confdefs.h. */
28684 _ACEOF
28685 cat confdefs.h >>conftest.$ac_ext
28686 cat >>conftest.$ac_ext <<_ACEOF
28687 /* end confdefs.h. */
28688 #include <stddef.h>
28689 int
28690 main ()
28691 {
28692
28693 return 0; }
28694
28695 struct Foo { void foo(size_t); void foo(unsigned long); };
28696
28697 int bar() {
28698
28699 ;
28700 return 0;
28701 }
28702 _ACEOF
28703 rm -f conftest.$ac_objext
28704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28705 (eval $ac_compile) 2>conftest.er1
28706 ac_status=$?
28707 grep -v '^ *+' conftest.er1 >conftest.err
28708 rm -f conftest.er1
28709 cat conftest.err >&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } &&
28712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28715 ac_status=$?
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; } &&
28718 { ac_try='test -s conftest.$ac_objext'
28719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28720 (eval $ac_try) 2>&5
28721 ac_status=$?
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); }; }; then
28724 wx_cv_size_t_is_ulong=no
28725 else
28726 echo "$as_me: failed program was:" >&5
28727 sed 's/^/| /' conftest.$ac_ext >&5
28728
28729 wx_cv_size_t_is_ulong=yes
28730
28731 fi
28732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28733
28734 fi
28735 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28736 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28737
28738 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28739 cat >>confdefs.h <<\_ACEOF
28740 #define wxSIZE_T_IS_ULONG 1
28741 _ACEOF
28742
28743 fi
28744 fi
28745
28746 ac_ext=c
28747 ac_cpp='$CPP $CPPFLAGS'
28748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28751
28752
28753
28754 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28755 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28756 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28758 else
28759
28760 cat >conftest.$ac_ext <<_ACEOF
28761 /* confdefs.h. */
28762 _ACEOF
28763 cat confdefs.h >>conftest.$ac_ext
28764 cat >>conftest.$ac_ext <<_ACEOF
28765 /* end confdefs.h. */
28766 #include <pwd.h>
28767 int
28768 main ()
28769 {
28770
28771 char *p;
28772 struct passwd *pw;
28773 p = pw->pw_gecos;
28774
28775 ;
28776 return 0;
28777 }
28778 _ACEOF
28779 rm -f conftest.$ac_objext
28780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28781 (eval $ac_compile) 2>conftest.er1
28782 ac_status=$?
28783 grep -v '^ *+' conftest.er1 >conftest.err
28784 rm -f conftest.er1
28785 cat conftest.err >&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); } &&
28788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28791 ac_status=$?
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; } &&
28794 { ac_try='test -s conftest.$ac_objext'
28795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28796 (eval $ac_try) 2>&5
28797 ac_status=$?
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); }; }; then
28800
28801 wx_cv_struct_pw_gecos=yes
28802
28803 else
28804 echo "$as_me: failed program was:" >&5
28805 sed 's/^/| /' conftest.$ac_ext >&5
28806
28807
28808 wx_cv_struct_pw_gecos=no
28809
28810
28811 fi
28812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28813
28814
28815 fi
28816 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28817 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28818
28819 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28820 cat >>confdefs.h <<\_ACEOF
28821 #define HAVE_PW_GECOS 1
28822 _ACEOF
28823
28824 fi
28825
28826
28827 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28828 cat >>confdefs.h <<\_ACEOF
28829 #define wxUSE_WCHAR_T 1
28830 _ACEOF
28831
28832
28833 WCSLEN_FOUND=0
28834 WCHAR_LINK=
28835
28836 for ac_func in wcslen
28837 do
28838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28839 echo "$as_me:$LINENO: checking for $ac_func" >&5
28840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28841 if eval "test \"\${$as_ac_var+set}\" = set"; then
28842 echo $ECHO_N "(cached) $ECHO_C" >&6
28843 else
28844 cat >conftest.$ac_ext <<_ACEOF
28845 /* confdefs.h. */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28852 #define $ac_func innocuous_$ac_func
28853
28854 /* System header to define __stub macros and hopefully few prototypes,
28855 which can conflict with char $ac_func (); below.
28856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28857 <limits.h> exists even on freestanding compilers. */
28858
28859 #ifdef __STDC__
28860 # include <limits.h>
28861 #else
28862 # include <assert.h>
28863 #endif
28864
28865 #undef $ac_func
28866
28867 /* Override any gcc2 internal prototype to avoid an error. */
28868 #ifdef __cplusplus
28869 extern "C"
28870 {
28871 #endif
28872 /* We use char because int might match the return type of a gcc2
28873 builtin and then its argument prototype would still apply. */
28874 char $ac_func ();
28875 /* The GNU C library defines this for functions which it implements
28876 to always fail with ENOSYS. Some functions are actually named
28877 something starting with __ and the normal name is an alias. */
28878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28879 choke me
28880 #else
28881 char (*f) () = $ac_func;
28882 #endif
28883 #ifdef __cplusplus
28884 }
28885 #endif
28886
28887 int
28888 main ()
28889 {
28890 return f != $ac_func;
28891 ;
28892 return 0;
28893 }
28894 _ACEOF
28895 rm -f conftest.$ac_objext conftest$ac_exeext
28896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28897 (eval $ac_link) 2>conftest.er1
28898 ac_status=$?
28899 grep -v '^ *+' conftest.er1 >conftest.err
28900 rm -f conftest.er1
28901 cat conftest.err >&5
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); } &&
28904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906 (eval $ac_try) 2>&5
28907 ac_status=$?
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); }; } &&
28910 { ac_try='test -s conftest$ac_exeext'
28911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912 (eval $ac_try) 2>&5
28913 ac_status=$?
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; }; then
28916 eval "$as_ac_var=yes"
28917 else
28918 echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.$ac_ext >&5
28920
28921 eval "$as_ac_var=no"
28922 fi
28923 rm -f conftest.err conftest.$ac_objext \
28924 conftest$ac_exeext conftest.$ac_ext
28925 fi
28926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28928 if test `eval echo '${'$as_ac_var'}'` = yes; then
28929 cat >>confdefs.h <<_ACEOF
28930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28931 _ACEOF
28932 WCSLEN_FOUND=1
28933 fi
28934 done
28935
28936
28937 if test "$WCSLEN_FOUND" = 0; then
28938 if test "$TOOLKIT" = "MSW"; then
28939 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28940 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28941 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 else
28944 ac_check_lib_save_LIBS=$LIBS
28945 LIBS="-lmsvcrt $LIBS"
28946 cat >conftest.$ac_ext <<_ACEOF
28947 /* confdefs.h. */
28948 _ACEOF
28949 cat confdefs.h >>conftest.$ac_ext
28950 cat >>conftest.$ac_ext <<_ACEOF
28951 /* end confdefs.h. */
28952
28953 /* Override any gcc2 internal prototype to avoid an error. */
28954 #ifdef __cplusplus
28955 extern "C"
28956 #endif
28957 /* We use char because int might match the return type of a gcc2
28958 builtin and then its argument prototype would still apply. */
28959 char wcslen ();
28960 int
28961 main ()
28962 {
28963 wcslen ();
28964 ;
28965 return 0;
28966 }
28967 _ACEOF
28968 rm -f conftest.$ac_objext conftest$ac_exeext
28969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28970 (eval $ac_link) 2>conftest.er1
28971 ac_status=$?
28972 grep -v '^ *+' conftest.er1 >conftest.err
28973 rm -f conftest.er1
28974 cat conftest.err >&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); } &&
28977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28980 ac_status=$?
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; } &&
28983 { ac_try='test -s conftest$ac_exeext'
28984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28985 (eval $ac_try) 2>&5
28986 ac_status=$?
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); }; }; then
28989 ac_cv_lib_msvcrt_wcslen=yes
28990 else
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.$ac_ext >&5
28993
28994 ac_cv_lib_msvcrt_wcslen=no
28995 fi
28996 rm -f conftest.err conftest.$ac_objext \
28997 conftest$ac_exeext conftest.$ac_ext
28998 LIBS=$ac_check_lib_save_LIBS
28999 fi
29000 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29001 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29002 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29003 WCHAR_OK=1
29004 fi
29005
29006 else
29007 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29008 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29009 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29010 echo $ECHO_N "(cached) $ECHO_C" >&6
29011 else
29012 ac_check_lib_save_LIBS=$LIBS
29013 LIBS="-lw $LIBS"
29014 cat >conftest.$ac_ext <<_ACEOF
29015 /* confdefs.h. */
29016 _ACEOF
29017 cat confdefs.h >>conftest.$ac_ext
29018 cat >>conftest.$ac_ext <<_ACEOF
29019 /* end confdefs.h. */
29020
29021 /* Override any gcc2 internal prototype to avoid an error. */
29022 #ifdef __cplusplus
29023 extern "C"
29024 #endif
29025 /* We use char because int might match the return type of a gcc2
29026 builtin and then its argument prototype would still apply. */
29027 char wcslen ();
29028 int
29029 main ()
29030 {
29031 wcslen ();
29032 ;
29033 return 0;
29034 }
29035 _ACEOF
29036 rm -f conftest.$ac_objext conftest$ac_exeext
29037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29038 (eval $ac_link) 2>conftest.er1
29039 ac_status=$?
29040 grep -v '^ *+' conftest.er1 >conftest.err
29041 rm -f conftest.er1
29042 cat conftest.err >&5
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); } &&
29045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29048 ac_status=$?
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try='test -s conftest$ac_exeext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 ac_cv_lib_w_wcslen=yes
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29061
29062 ac_cv_lib_w_wcslen=no
29063 fi
29064 rm -f conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29066 LIBS=$ac_check_lib_save_LIBS
29067 fi
29068 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29069 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29070 if test $ac_cv_lib_w_wcslen = yes; then
29071
29072 WCHAR_LINK=" -lw"
29073 WCSLEN_FOUND=1
29074
29075 fi
29076
29077 fi
29078 fi
29079
29080 if test "$WCSLEN_FOUND" = 1; then
29081 cat >>confdefs.h <<\_ACEOF
29082 #define HAVE_WCSLEN 1
29083 _ACEOF
29084
29085 fi
29086
29087 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29088 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29089 fi
29090
29091
29092 for ac_func in wcsrtombs
29093 do
29094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29095 echo "$as_me:$LINENO: checking for $ac_func" >&5
29096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29097 if eval "test \"\${$as_ac_var+set}\" = set"; then
29098 echo $ECHO_N "(cached) $ECHO_C" >&6
29099 else
29100 cat >conftest.$ac_ext <<_ACEOF
29101 /* confdefs.h. */
29102 _ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29108 #define $ac_func innocuous_$ac_func
29109
29110 /* System header to define __stub macros and hopefully few prototypes,
29111 which can conflict with char $ac_func (); below.
29112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29113 <limits.h> exists even on freestanding compilers. */
29114
29115 #ifdef __STDC__
29116 # include <limits.h>
29117 #else
29118 # include <assert.h>
29119 #endif
29120
29121 #undef $ac_func
29122
29123 /* Override any gcc2 internal prototype to avoid an error. */
29124 #ifdef __cplusplus
29125 extern "C"
29126 {
29127 #endif
29128 /* We use char because int might match the return type of a gcc2
29129 builtin and then its argument prototype would still apply. */
29130 char $ac_func ();
29131 /* The GNU C library defines this for functions which it implements
29132 to always fail with ENOSYS. Some functions are actually named
29133 something starting with __ and the normal name is an alias. */
29134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29135 choke me
29136 #else
29137 char (*f) () = $ac_func;
29138 #endif
29139 #ifdef __cplusplus
29140 }
29141 #endif
29142
29143 int
29144 main ()
29145 {
29146 return f != $ac_func;
29147 ;
29148 return 0;
29149 }
29150 _ACEOF
29151 rm -f conftest.$ac_objext conftest$ac_exeext
29152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29153 (eval $ac_link) 2>conftest.er1
29154 ac_status=$?
29155 grep -v '^ *+' conftest.er1 >conftest.err
29156 rm -f conftest.er1
29157 cat conftest.err >&5
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); } &&
29160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162 (eval $ac_try) 2>&5
29163 ac_status=$?
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; } &&
29166 { ac_try='test -s conftest$ac_exeext'
29167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29168 (eval $ac_try) 2>&5
29169 ac_status=$?
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); }; }; then
29172 eval "$as_ac_var=yes"
29173 else
29174 echo "$as_me: failed program was:" >&5
29175 sed 's/^/| /' conftest.$ac_ext >&5
29176
29177 eval "$as_ac_var=no"
29178 fi
29179 rm -f conftest.err conftest.$ac_objext \
29180 conftest$ac_exeext conftest.$ac_ext
29181 fi
29182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29184 if test `eval echo '${'$as_ac_var'}'` = yes; then
29185 cat >>confdefs.h <<_ACEOF
29186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29187 _ACEOF
29188
29189 fi
29190 done
29191
29192 else
29193 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29194 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29195 fi
29196
29197
29198
29199 ac_ext=cc
29200 ac_cpp='$CXXCPP $CPPFLAGS'
29201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29204
29205
29206
29207 for ac_func in vsnprintf
29208 do
29209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29210 echo "$as_me:$LINENO: checking for $ac_func" >&5
29211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29212 if eval "test \"\${$as_ac_var+set}\" = set"; then
29213 echo $ECHO_N "(cached) $ECHO_C" >&6
29214 else
29215 cat >conftest.$ac_ext <<_ACEOF
29216 /* confdefs.h. */
29217 _ACEOF
29218 cat confdefs.h >>conftest.$ac_ext
29219 cat >>conftest.$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29223 #define $ac_func innocuous_$ac_func
29224
29225 /* System header to define __stub macros and hopefully few prototypes,
29226 which can conflict with char $ac_func (); below.
29227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29228 <limits.h> exists even on freestanding compilers. */
29229
29230 #ifdef __STDC__
29231 # include <limits.h>
29232 #else
29233 # include <assert.h>
29234 #endif
29235
29236 #undef $ac_func
29237
29238 /* Override any gcc2 internal prototype to avoid an error. */
29239 #ifdef __cplusplus
29240 extern "C"
29241 {
29242 #endif
29243 /* We use char because int might match the return type of a gcc2
29244 builtin and then its argument prototype would still apply. */
29245 char $ac_func ();
29246 /* The GNU C library defines this for functions which it implements
29247 to always fail with ENOSYS. Some functions are actually named
29248 something starting with __ and the normal name is an alias. */
29249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29250 choke me
29251 #else
29252 char (*f) () = $ac_func;
29253 #endif
29254 #ifdef __cplusplus
29255 }
29256 #endif
29257
29258 int
29259 main ()
29260 {
29261 return f != $ac_func;
29262 ;
29263 return 0;
29264 }
29265 _ACEOF
29266 rm -f conftest.$ac_objext conftest$ac_exeext
29267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29268 (eval $ac_link) 2>conftest.er1
29269 ac_status=$?
29270 grep -v '^ *+' conftest.er1 >conftest.err
29271 rm -f conftest.er1
29272 cat conftest.err >&5
29273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274 (exit $ac_status); } &&
29275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29277 (eval $ac_try) 2>&5
29278 ac_status=$?
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); }; } &&
29281 { ac_try='test -s conftest$ac_exeext'
29282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29283 (eval $ac_try) 2>&5
29284 ac_status=$?
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); }; }; then
29287 eval "$as_ac_var=yes"
29288 else
29289 echo "$as_me: failed program was:" >&5
29290 sed 's/^/| /' conftest.$ac_ext >&5
29291
29292 eval "$as_ac_var=no"
29293 fi
29294 rm -f conftest.err conftest.$ac_objext \
29295 conftest$ac_exeext conftest.$ac_ext
29296 fi
29297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29299 if test `eval echo '${'$as_ac_var'}'` = yes; then
29300 cat >>confdefs.h <<_ACEOF
29301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29302 _ACEOF
29303
29304 fi
29305 done
29306
29307
29308 if test "$ac_cv_func_vsnprintf" = "yes"; then
29309 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29310 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29311 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29312 echo $ECHO_N "(cached) $ECHO_C" >&6
29313 else
29314
29315 cat >conftest.$ac_ext <<_ACEOF
29316 /* confdefs.h. */
29317 _ACEOF
29318 cat confdefs.h >>conftest.$ac_ext
29319 cat >>conftest.$ac_ext <<_ACEOF
29320 /* end confdefs.h. */
29321
29322 #include <stdio.h>
29323 #include <stdarg.h>
29324
29325 int
29326 main ()
29327 {
29328
29329 char *buf;
29330 va_list ap;
29331 vsnprintf(buf, 10u, "%s", ap);
29332
29333 ;
29334 return 0;
29335 }
29336 _ACEOF
29337 rm -f conftest.$ac_objext
29338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29339 (eval $ac_compile) 2>conftest.er1
29340 ac_status=$?
29341 grep -v '^ *+' conftest.er1 >conftest.err
29342 rm -f conftest.er1
29343 cat conftest.err >&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); } &&
29346 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348 (eval $ac_try) 2>&5
29349 ac_status=$?
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; } &&
29352 { ac_try='test -s conftest.$ac_objext'
29353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29354 (eval $ac_try) 2>&5
29355 ac_status=$?
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); }; }; then
29358 wx_cv_func_vsnprintf_decl=yes
29359 else
29360 echo "$as_me: failed program was:" >&5
29361 sed 's/^/| /' conftest.$ac_ext >&5
29362
29363 wx_cv_func_vsnprintf_decl=no
29364
29365 fi
29366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29367
29368
29369 fi
29370 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29371 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29372
29373 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29374 cat >>confdefs.h <<\_ACEOF
29375 #define HAVE_VSNPRINTF_DECL 1
29376 _ACEOF
29377
29378 fi
29379 fi
29380
29381 if test "$wxUSE_UNICODE" = yes; then
29382
29383
29384
29385
29386
29387
29388 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29389 do
29390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29391 echo "$as_me:$LINENO: checking for $ac_func" >&5
29392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29393 if eval "test \"\${$as_ac_var+set}\" = set"; then
29394 echo $ECHO_N "(cached) $ECHO_C" >&6
29395 else
29396 cat >conftest.$ac_ext <<_ACEOF
29397 /* confdefs.h. */
29398 _ACEOF
29399 cat confdefs.h >>conftest.$ac_ext
29400 cat >>conftest.$ac_ext <<_ACEOF
29401 /* end confdefs.h. */
29402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29404 #define $ac_func innocuous_$ac_func
29405
29406 /* System header to define __stub macros and hopefully few prototypes,
29407 which can conflict with char $ac_func (); below.
29408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29409 <limits.h> exists even on freestanding compilers. */
29410
29411 #ifdef __STDC__
29412 # include <limits.h>
29413 #else
29414 # include <assert.h>
29415 #endif
29416
29417 #undef $ac_func
29418
29419 /* Override any gcc2 internal prototype to avoid an error. */
29420 #ifdef __cplusplus
29421 extern "C"
29422 {
29423 #endif
29424 /* We use char because int might match the return type of a gcc2
29425 builtin and then its argument prototype would still apply. */
29426 char $ac_func ();
29427 /* The GNU C library defines this for functions which it implements
29428 to always fail with ENOSYS. Some functions are actually named
29429 something starting with __ and the normal name is an alias. */
29430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29431 choke me
29432 #else
29433 char (*f) () = $ac_func;
29434 #endif
29435 #ifdef __cplusplus
29436 }
29437 #endif
29438
29439 int
29440 main ()
29441 {
29442 return f != $ac_func;
29443 ;
29444 return 0;
29445 }
29446 _ACEOF
29447 rm -f conftest.$ac_objext conftest$ac_exeext
29448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29449 (eval $ac_link) 2>conftest.er1
29450 ac_status=$?
29451 grep -v '^ *+' conftest.er1 >conftest.err
29452 rm -f conftest.er1
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } &&
29456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29459 ac_status=$?
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; } &&
29462 { ac_try='test -s conftest$ac_exeext'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29465 ac_status=$?
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; }; then
29468 eval "$as_ac_var=yes"
29469 else
29470 echo "$as_me: failed program was:" >&5
29471 sed 's/^/| /' conftest.$ac_ext >&5
29472
29473 eval "$as_ac_var=no"
29474 fi
29475 rm -f conftest.err conftest.$ac_objext \
29476 conftest$ac_exeext conftest.$ac_ext
29477 fi
29478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29480 if test `eval echo '${'$as_ac_var'}'` = yes; then
29481 cat >>confdefs.h <<_ACEOF
29482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29483 _ACEOF
29484
29485 fi
29486 done
29487
29488
29489 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29490 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29491 cat >conftest.$ac_ext <<_ACEOF
29492 /* confdefs.h. */
29493 _ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29497 #include <wchar.h>
29498 int
29499 main ()
29500 {
29501 &_vsnwprintf;
29502 ;
29503 return 0;
29504 }
29505 _ACEOF
29506 rm -f conftest.$ac_objext
29507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29508 (eval $ac_compile) 2>conftest.er1
29509 ac_status=$?
29510 grep -v '^ *+' conftest.er1 >conftest.err
29511 rm -f conftest.er1
29512 cat conftest.err >&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); } &&
29515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29517 (eval $ac_try) 2>&5
29518 ac_status=$?
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); }; } &&
29521 { ac_try='test -s conftest.$ac_objext'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29524 ac_status=$?
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; }; then
29527 echo "$as_me:$LINENO: result: yes" >&5
29528 echo "${ECHO_T}yes" >&6
29529 cat >>confdefs.h <<\_ACEOF
29530 #define HAVE__VSNWPRINTF 1
29531 _ACEOF
29532
29533 else
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 echo "$as_me:$LINENO: result: no" >&5
29538 echo "${ECHO_T}no" >&6
29539 fi
29540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29541 fi
29542
29543 ac_ext=c
29544 ac_cpp='$CPP $CPPFLAGS'
29545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29548
29549
29550
29551
29552 if test "$TOOLKIT" != "MSW"; then
29553
29554
29555
29556
29557 ac_ext=cc
29558 ac_cpp='$CXXCPP $CPPFLAGS'
29559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29562
29563
29564
29565
29566 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29567 if test "${with_libiconv_prefix+set}" = set; then
29568 withval="$with_libiconv_prefix"
29569
29570 for dir in `echo "$withval" | tr : ' '`; do
29571 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29572 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29573 done
29574
29575 fi;
29576
29577 echo "$as_me:$LINENO: checking for iconv" >&5
29578 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29579 if test "${am_cv_func_iconv+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 else
29582
29583 am_cv_func_iconv="no, consider installing GNU libiconv"
29584 am_cv_lib_iconv=no
29585 cat >conftest.$ac_ext <<_ACEOF
29586 /* confdefs.h. */
29587 _ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591 #include <stdlib.h>
29592 #include <iconv.h>
29593 int
29594 main ()
29595 {
29596 iconv_t cd = iconv_open("","");
29597 iconv(cd,NULL,NULL,NULL,NULL);
29598 iconv_close(cd);
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext conftest$ac_exeext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29605 (eval $ac_link) 2>conftest.er1
29606 ac_status=$?
29607 grep -v '^ *+' conftest.er1 >conftest.err
29608 rm -f conftest.er1
29609 cat conftest.err >&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; } &&
29618 { ac_try='test -s conftest$ac_exeext'
29619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620 (eval $ac_try) 2>&5
29621 ac_status=$?
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; }; then
29624 am_cv_func_iconv=yes
29625 else
29626 echo "$as_me: failed program was:" >&5
29627 sed 's/^/| /' conftest.$ac_ext >&5
29628
29629 fi
29630 rm -f conftest.err conftest.$ac_objext \
29631 conftest$ac_exeext conftest.$ac_ext
29632 if test "$am_cv_func_iconv" != yes; then
29633 am_save_LIBS="$LIBS"
29634 LIBS="$LIBS -liconv"
29635 cat >conftest.$ac_ext <<_ACEOF
29636 /* confdefs.h. */
29637 _ACEOF
29638 cat confdefs.h >>conftest.$ac_ext
29639 cat >>conftest.$ac_ext <<_ACEOF
29640 /* end confdefs.h. */
29641 #include <stdlib.h>
29642 #include <iconv.h>
29643 int
29644 main ()
29645 {
29646 iconv_t cd = iconv_open("","");
29647 iconv(cd,NULL,NULL,NULL,NULL);
29648 iconv_close(cd);
29649 ;
29650 return 0;
29651 }
29652 _ACEOF
29653 rm -f conftest.$ac_objext conftest$ac_exeext
29654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29655 (eval $ac_link) 2>conftest.er1
29656 ac_status=$?
29657 grep -v '^ *+' conftest.er1 >conftest.err
29658 rm -f conftest.er1
29659 cat conftest.err >&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); } &&
29662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29664 (eval $ac_try) 2>&5
29665 ac_status=$?
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); }; } &&
29668 { ac_try='test -s conftest$ac_exeext'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29671 ac_status=$?
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; }; then
29674 am_cv_lib_iconv=yes
29675 am_cv_func_iconv=yes
29676 else
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29679
29680 fi
29681 rm -f conftest.err conftest.$ac_objext \
29682 conftest$ac_exeext conftest.$ac_ext
29683 LIBS="$am_save_LIBS"
29684 fi
29685
29686 fi
29687 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29688 echo "${ECHO_T}$am_cv_func_iconv" >&6
29689 if test "$am_cv_func_iconv" = yes; then
29690
29691 cat >>confdefs.h <<\_ACEOF
29692 #define HAVE_ICONV 1
29693 _ACEOF
29694
29695 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29696 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29697 if test "${wx_cv_func_iconv_const+set}" = set; then
29698 echo $ECHO_N "(cached) $ECHO_C" >&6
29699 else
29700 cat >conftest.$ac_ext <<_ACEOF
29701 /* confdefs.h. */
29702 _ACEOF
29703 cat confdefs.h >>conftest.$ac_ext
29704 cat >>conftest.$ac_ext <<_ACEOF
29705 /* end confdefs.h. */
29706
29707 #include <stdlib.h>
29708 #include <iconv.h>
29709 extern
29710 #ifdef __cplusplus
29711 "C"
29712 #endif
29713 #if defined(__STDC__) || defined(__cplusplus)
29714 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29715 #else
29716 size_t iconv();
29717 #endif
29718
29719 int
29720 main ()
29721 {
29722
29723 ;
29724 return 0;
29725 }
29726 _ACEOF
29727 rm -f conftest.$ac_objext
29728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29729 (eval $ac_compile) 2>conftest.er1
29730 ac_status=$?
29731 grep -v '^ *+' conftest.er1 >conftest.err
29732 rm -f conftest.er1
29733 cat conftest.err >&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); } &&
29736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
29742 { ac_try='test -s conftest.$ac_objext'
29743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29744 (eval $ac_try) 2>&5
29745 ac_status=$?
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); }; }; then
29748 wx_cv_func_iconv_const="no"
29749 else
29750 echo "$as_me: failed program was:" >&5
29751 sed 's/^/| /' conftest.$ac_ext >&5
29752
29753 wx_cv_func_iconv_const="yes"
29754
29755 fi
29756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29757
29758 fi
29759 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29760 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29761
29762 iconv_const=
29763 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29764 iconv_const="const"
29765 fi
29766
29767
29768 cat >>confdefs.h <<_ACEOF
29769 #define ICONV_CONST $iconv_const
29770 _ACEOF
29771
29772 fi
29773 LIBICONV=
29774 if test "$am_cv_lib_iconv" = yes; then
29775 LIBICONV="-liconv"
29776 fi
29777
29778
29779 LIBS="$LIBICONV $LIBS"
29780 ac_ext=c
29781 ac_cpp='$CPP $CPPFLAGS'
29782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29785
29786
29787 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29788
29789 for ac_func in sigaction
29790 do
29791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29792 echo "$as_me:$LINENO: checking for $ac_func" >&5
29793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29794 if eval "test \"\${$as_ac_var+set}\" = set"; then
29795 echo $ECHO_N "(cached) $ECHO_C" >&6
29796 else
29797 cat >conftest.$ac_ext <<_ACEOF
29798 /* confdefs.h. */
29799 _ACEOF
29800 cat confdefs.h >>conftest.$ac_ext
29801 cat >>conftest.$ac_ext <<_ACEOF
29802 /* end confdefs.h. */
29803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29805 #define $ac_func innocuous_$ac_func
29806
29807 /* System header to define __stub macros and hopefully few prototypes,
29808 which can conflict with char $ac_func (); below.
29809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29810 <limits.h> exists even on freestanding compilers. */
29811
29812 #ifdef __STDC__
29813 # include <limits.h>
29814 #else
29815 # include <assert.h>
29816 #endif
29817
29818 #undef $ac_func
29819
29820 /* Override any gcc2 internal prototype to avoid an error. */
29821 #ifdef __cplusplus
29822 extern "C"
29823 {
29824 #endif
29825 /* We use char because int might match the return type of a gcc2
29826 builtin and then its argument prototype would still apply. */
29827 char $ac_func ();
29828 /* The GNU C library defines this for functions which it implements
29829 to always fail with ENOSYS. Some functions are actually named
29830 something starting with __ and the normal name is an alias. */
29831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29832 choke me
29833 #else
29834 char (*f) () = $ac_func;
29835 #endif
29836 #ifdef __cplusplus
29837 }
29838 #endif
29839
29840 int
29841 main ()
29842 {
29843 return f != $ac_func;
29844 ;
29845 return 0;
29846 }
29847 _ACEOF
29848 rm -f conftest.$ac_objext conftest$ac_exeext
29849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29850 (eval $ac_link) 2>conftest.er1
29851 ac_status=$?
29852 grep -v '^ *+' conftest.er1 >conftest.err
29853 rm -f conftest.er1
29854 cat conftest.err >&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } &&
29857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29859 (eval $ac_try) 2>&5
29860 ac_status=$?
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); }; } &&
29863 { ac_try='test -s conftest$ac_exeext'
29864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29865 (eval $ac_try) 2>&5
29866 ac_status=$?
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); }; }; then
29869 eval "$as_ac_var=yes"
29870 else
29871 echo "$as_me: failed program was:" >&5
29872 sed 's/^/| /' conftest.$ac_ext >&5
29873
29874 eval "$as_ac_var=no"
29875 fi
29876 rm -f conftest.err conftest.$ac_objext \
29877 conftest$ac_exeext conftest.$ac_ext
29878 fi
29879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29881 if test `eval echo '${'$as_ac_var'}'` = yes; then
29882 cat >>confdefs.h <<_ACEOF
29883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29884 _ACEOF
29885
29886 fi
29887 done
29888
29889
29890 if test "$ac_cv_func_sigaction" = "no"; then
29891 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29892 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29893 wxUSE_ON_FATAL_EXCEPTION=no
29894 fi
29895
29896 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29897
29898
29899 ac_ext=cc
29900 ac_cpp='$CXXCPP $CPPFLAGS'
29901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29904
29905
29906 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29907 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29908 if test "${wx_cv_type_sa_handler+set}" = set; then
29909 echo $ECHO_N "(cached) $ECHO_C" >&6
29910 else
29911
29912 cat >conftest.$ac_ext <<_ACEOF
29913 /* confdefs.h. */
29914 _ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918 #include <signal.h>
29919 int
29920 main ()
29921 {
29922
29923 extern void testSigHandler(int);
29924
29925 struct sigaction sa;
29926 sa.sa_handler = testSigHandler;
29927
29928 ;
29929 return 0;
29930 }
29931 _ACEOF
29932 rm -f conftest.$ac_objext
29933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29934 (eval $ac_compile) 2>conftest.er1
29935 ac_status=$?
29936 grep -v '^ *+' conftest.er1 >conftest.err
29937 rm -f conftest.er1
29938 cat conftest.err >&5
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); } &&
29941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943 (eval $ac_try) 2>&5
29944 ac_status=$?
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; } &&
29947 { ac_try='test -s conftest.$ac_objext'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29950 ac_status=$?
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; }; then
29953
29954 wx_cv_type_sa_handler=int
29955
29956 else
29957 echo "$as_me: failed program was:" >&5
29958 sed 's/^/| /' conftest.$ac_ext >&5
29959
29960
29961 wx_cv_type_sa_handler=void
29962
29963 fi
29964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29965
29966 fi
29967 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29968 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29969
29970 ac_ext=c
29971 ac_cpp='$CPP $CPPFLAGS'
29972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29975
29976
29977 cat >>confdefs.h <<_ACEOF
29978 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29979 _ACEOF
29980
29981 fi
29982 fi
29983
29984
29985
29986 for ac_func in mkstemp mktemp
29987 do
29988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29989 echo "$as_me:$LINENO: checking for $ac_func" >&5
29990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29991 if eval "test \"\${$as_ac_var+set}\" = set"; then
29992 echo $ECHO_N "(cached) $ECHO_C" >&6
29993 else
29994 cat >conftest.$ac_ext <<_ACEOF
29995 /* confdefs.h. */
29996 _ACEOF
29997 cat confdefs.h >>conftest.$ac_ext
29998 cat >>conftest.$ac_ext <<_ACEOF
29999 /* end confdefs.h. */
30000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30002 #define $ac_func innocuous_$ac_func
30003
30004 /* System header to define __stub macros and hopefully few prototypes,
30005 which can conflict with char $ac_func (); below.
30006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30007 <limits.h> exists even on freestanding compilers. */
30008
30009 #ifdef __STDC__
30010 # include <limits.h>
30011 #else
30012 # include <assert.h>
30013 #endif
30014
30015 #undef $ac_func
30016
30017 /* Override any gcc2 internal prototype to avoid an error. */
30018 #ifdef __cplusplus
30019 extern "C"
30020 {
30021 #endif
30022 /* We use char because int might match the return type of a gcc2
30023 builtin and then its argument prototype would still apply. */
30024 char $ac_func ();
30025 /* The GNU C library defines this for functions which it implements
30026 to always fail with ENOSYS. Some functions are actually named
30027 something starting with __ and the normal name is an alias. */
30028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30029 choke me
30030 #else
30031 char (*f) () = $ac_func;
30032 #endif
30033 #ifdef __cplusplus
30034 }
30035 #endif
30036
30037 int
30038 main ()
30039 {
30040 return f != $ac_func;
30041 ;
30042 return 0;
30043 }
30044 _ACEOF
30045 rm -f conftest.$ac_objext conftest$ac_exeext
30046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30047 (eval $ac_link) 2>conftest.er1
30048 ac_status=$?
30049 grep -v '^ *+' conftest.er1 >conftest.err
30050 rm -f conftest.er1
30051 cat conftest.err >&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); } &&
30054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30057 ac_status=$?
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; } &&
30060 { ac_try='test -s conftest$ac_exeext'
30061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30062 (eval $ac_try) 2>&5
30063 ac_status=$?
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); }; }; then
30066 eval "$as_ac_var=yes"
30067 else
30068 echo "$as_me: failed program was:" >&5
30069 sed 's/^/| /' conftest.$ac_ext >&5
30070
30071 eval "$as_ac_var=no"
30072 fi
30073 rm -f conftest.err conftest.$ac_objext \
30074 conftest$ac_exeext conftest.$ac_ext
30075 fi
30076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30078 if test `eval echo '${'$as_ac_var'}'` = yes; then
30079 cat >>confdefs.h <<_ACEOF
30080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30081 _ACEOF
30082 break
30083 fi
30084 done
30085
30086
30087 echo "$as_me:$LINENO: checking for statfs" >&5
30088 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30089 if test "${wx_cv_func_statfs+set}" = set; then
30090 echo $ECHO_N "(cached) $ECHO_C" >&6
30091 else
30092 cat >conftest.$ac_ext <<_ACEOF
30093 /* confdefs.h. */
30094 _ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30098
30099 #if defined(__BSD__)
30100 #include <sys/param.h>
30101 #include <sys/mount.h>
30102 #else
30103 #include <sys/vfs.h>
30104 #endif
30105
30106 int
30107 main ()
30108 {
30109
30110 long l;
30111 struct statfs fs;
30112 statfs("/", &fs);
30113 l = fs.f_bsize;
30114 l += fs.f_blocks;
30115 l += fs.f_bavail;
30116
30117 ;
30118 return 0;
30119 }
30120 _ACEOF
30121 rm -f conftest.$ac_objext
30122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30123 (eval $ac_compile) 2>conftest.er1
30124 ac_status=$?
30125 grep -v '^ *+' conftest.er1 >conftest.err
30126 rm -f conftest.er1
30127 cat conftest.err >&5
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); } &&
30130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30133 ac_status=$?
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; } &&
30136 { ac_try='test -s conftest.$ac_objext'
30137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138 (eval $ac_try) 2>&5
30139 ac_status=$?
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); }; }; then
30142
30143 wx_cv_func_statfs=yes
30144
30145 else
30146 echo "$as_me: failed program was:" >&5
30147 sed 's/^/| /' conftest.$ac_ext >&5
30148
30149
30150 wx_cv_func_statfs=no
30151
30152
30153 fi
30154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30155
30156 fi
30157 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30158 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30159
30160 if test "$wx_cv_func_statfs" = "yes"; then
30161 wx_cv_type_statvfs_t="struct statfs"
30162 cat >>confdefs.h <<\_ACEOF
30163 #define HAVE_STATFS 1
30164 _ACEOF
30165
30166 else
30167 echo "$as_me:$LINENO: checking for statvfs" >&5
30168 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30169 if test "${wx_cv_func_statvfs+set}" = set; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 else
30172 cat >conftest.$ac_ext <<_ACEOF
30173 /* confdefs.h. */
30174 _ACEOF
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h. */
30178
30179 #include <stddef.h>
30180 #include <sys/statvfs.h>
30181
30182 int
30183 main ()
30184 {
30185
30186 statvfs("/", NULL);
30187
30188 ;
30189 return 0;
30190 }
30191 _ACEOF
30192 rm -f conftest.$ac_objext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30194 (eval $ac_compile) 2>conftest.er1
30195 ac_status=$?
30196 grep -v '^ *+' conftest.er1 >conftest.err
30197 rm -f conftest.er1
30198 cat conftest.err >&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); } &&
30201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30204 ac_status=$?
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; } &&
30207 { ac_try='test -s conftest.$ac_objext'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30210 ac_status=$?
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; }; then
30213 wx_cv_func_statvfs=yes
30214 else
30215 echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.$ac_ext >&5
30217
30218 wx_cv_func_statvfs=no
30219
30220 fi
30221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30222
30223 fi
30224 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30225 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30226
30227 if test "$wx_cv_func_statvfs" = "yes"; then
30228
30229
30230 ac_ext=cc
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30235
30236
30237 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30238 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30239 if test "${wx_cv_type_statvfs_t+set}" = set; then
30240 echo $ECHO_N "(cached) $ECHO_C" >&6
30241 else
30242 cat >conftest.$ac_ext <<_ACEOF
30243 /* confdefs.h. */
30244 _ACEOF
30245 cat confdefs.h >>conftest.$ac_ext
30246 cat >>conftest.$ac_ext <<_ACEOF
30247 /* end confdefs.h. */
30248
30249 #include <sys/statvfs.h>
30250
30251 int
30252 main ()
30253 {
30254
30255 long l;
30256 statvfs_t fs;
30257 statvfs("/", &fs);
30258 l = fs.f_bsize;
30259 l += fs.f_blocks;
30260 l += fs.f_bavail;
30261
30262 ;
30263 return 0;
30264 }
30265 _ACEOF
30266 rm -f conftest.$ac_objext
30267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30268 (eval $ac_compile) 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } &&
30275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30277 (eval $ac_try) 2>&5
30278 ac_status=$?
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); }; } &&
30281 { ac_try='test -s conftest.$ac_objext'
30282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30283 (eval $ac_try) 2>&5
30284 ac_status=$?
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); }; }; then
30287 wx_cv_type_statvfs_t=statvfs_t
30288 else
30289 echo "$as_me: failed program was:" >&5
30290 sed 's/^/| /' conftest.$ac_ext >&5
30291
30292
30293 cat >conftest.$ac_ext <<_ACEOF
30294 /* confdefs.h. */
30295 _ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30299
30300 #include <sys/statvfs.h>
30301
30302 int
30303 main ()
30304 {
30305
30306 long l;
30307 struct statvfs fs;
30308 statvfs("/", &fs);
30309 l = fs.f_bsize;
30310 l += fs.f_blocks;
30311 l += fs.f_bavail;
30312
30313 ;
30314 return 0;
30315 }
30316 _ACEOF
30317 rm -f conftest.$ac_objext
30318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30319 (eval $ac_compile) 2>conftest.er1
30320 ac_status=$?
30321 grep -v '^ *+' conftest.er1 >conftest.err
30322 rm -f conftest.er1
30323 cat conftest.err >&5
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); } &&
30326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; } &&
30332 { ac_try='test -s conftest.$ac_objext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30335 ac_status=$?
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30338 wx_cv_type_statvfs_t="struct statvfs"
30339 else
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30342
30343 wx_cv_type_statvfs_t="unknown"
30344
30345 fi
30346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30347
30348
30349 fi
30350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30351
30352 fi
30353 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30354 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30355
30356 ac_ext=c
30357 ac_cpp='$CPP $CPPFLAGS'
30358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30361
30362
30363 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30364 cat >>confdefs.h <<\_ACEOF
30365 #define HAVE_STATVFS 1
30366 _ACEOF
30367
30368 fi
30369 else
30370 wx_cv_type_statvfs_t="unknown"
30371 fi
30372 fi
30373
30374 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30375 cat >>confdefs.h <<_ACEOF
30376 #define WX_STATFS_T $wx_cv_type_statvfs_t
30377 _ACEOF
30378
30379 else
30380 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30381 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30382 fi
30383
30384 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30385
30386
30387 for ac_func in fcntl flock
30388 do
30389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30390 echo "$as_me:$LINENO: checking for $ac_func" >&5
30391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30392 if eval "test \"\${$as_ac_var+set}\" = set"; then
30393 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 else
30395 cat >conftest.$ac_ext <<_ACEOF
30396 /* confdefs.h. */
30397 _ACEOF
30398 cat confdefs.h >>conftest.$ac_ext
30399 cat >>conftest.$ac_ext <<_ACEOF
30400 /* end confdefs.h. */
30401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30403 #define $ac_func innocuous_$ac_func
30404
30405 /* System header to define __stub macros and hopefully few prototypes,
30406 which can conflict with char $ac_func (); below.
30407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30408 <limits.h> exists even on freestanding compilers. */
30409
30410 #ifdef __STDC__
30411 # include <limits.h>
30412 #else
30413 # include <assert.h>
30414 #endif
30415
30416 #undef $ac_func
30417
30418 /* Override any gcc2 internal prototype to avoid an error. */
30419 #ifdef __cplusplus
30420 extern "C"
30421 {
30422 #endif
30423 /* We use char because int might match the return type of a gcc2
30424 builtin and then its argument prototype would still apply. */
30425 char $ac_func ();
30426 /* The GNU C library defines this for functions which it implements
30427 to always fail with ENOSYS. Some functions are actually named
30428 something starting with __ and the normal name is an alias. */
30429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30430 choke me
30431 #else
30432 char (*f) () = $ac_func;
30433 #endif
30434 #ifdef __cplusplus
30435 }
30436 #endif
30437
30438 int
30439 main ()
30440 {
30441 return f != $ac_func;
30442 ;
30443 return 0;
30444 }
30445 _ACEOF
30446 rm -f conftest.$ac_objext conftest$ac_exeext
30447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30448 (eval $ac_link) 2>conftest.er1
30449 ac_status=$?
30450 grep -v '^ *+' conftest.er1 >conftest.err
30451 rm -f conftest.er1
30452 cat conftest.err >&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); } &&
30455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30457 (eval $ac_try) 2>&5
30458 ac_status=$?
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; } &&
30461 { ac_try='test -s conftest$ac_exeext'
30462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463 (eval $ac_try) 2>&5
30464 ac_status=$?
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; }; then
30467 eval "$as_ac_var=yes"
30468 else
30469 echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.$ac_ext >&5
30471
30472 eval "$as_ac_var=no"
30473 fi
30474 rm -f conftest.err conftest.$ac_objext \
30475 conftest$ac_exeext conftest.$ac_ext
30476 fi
30477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30479 if test `eval echo '${'$as_ac_var'}'` = yes; then
30480 cat >>confdefs.h <<_ACEOF
30481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30482 _ACEOF
30483 break
30484 fi
30485 done
30486
30487
30488 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30489 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30490 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30491 wxUSE_SNGLINST_CHECKER=no
30492 fi
30493 fi
30494
30495
30496 for ac_func in timegm
30497 do
30498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30499 echo "$as_me:$LINENO: checking for $ac_func" >&5
30500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30501 if eval "test \"\${$as_ac_var+set}\" = set"; then
30502 echo $ECHO_N "(cached) $ECHO_C" >&6
30503 else
30504 cat >conftest.$ac_ext <<_ACEOF
30505 /* confdefs.h. */
30506 _ACEOF
30507 cat confdefs.h >>conftest.$ac_ext
30508 cat >>conftest.$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
30510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30512 #define $ac_func innocuous_$ac_func
30513
30514 /* System header to define __stub macros and hopefully few prototypes,
30515 which can conflict with char $ac_func (); below.
30516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30517 <limits.h> exists even on freestanding compilers. */
30518
30519 #ifdef __STDC__
30520 # include <limits.h>
30521 #else
30522 # include <assert.h>
30523 #endif
30524
30525 #undef $ac_func
30526
30527 /* Override any gcc2 internal prototype to avoid an error. */
30528 #ifdef __cplusplus
30529 extern "C"
30530 {
30531 #endif
30532 /* We use char because int might match the return type of a gcc2
30533 builtin and then its argument prototype would still apply. */
30534 char $ac_func ();
30535 /* The GNU C library defines this for functions which it implements
30536 to always fail with ENOSYS. Some functions are actually named
30537 something starting with __ and the normal name is an alias. */
30538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30539 choke me
30540 #else
30541 char (*f) () = $ac_func;
30542 #endif
30543 #ifdef __cplusplus
30544 }
30545 #endif
30546
30547 int
30548 main ()
30549 {
30550 return f != $ac_func;
30551 ;
30552 return 0;
30553 }
30554 _ACEOF
30555 rm -f conftest.$ac_objext conftest$ac_exeext
30556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30557 (eval $ac_link) 2>conftest.er1
30558 ac_status=$?
30559 grep -v '^ *+' conftest.er1 >conftest.err
30560 rm -f conftest.er1
30561 cat conftest.err >&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } &&
30564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30566 (eval $ac_try) 2>&5
30567 ac_status=$?
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); }; } &&
30570 { ac_try='test -s conftest$ac_exeext'
30571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30572 (eval $ac_try) 2>&5
30573 ac_status=$?
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); }; }; then
30576 eval "$as_ac_var=yes"
30577 else
30578 echo "$as_me: failed program was:" >&5
30579 sed 's/^/| /' conftest.$ac_ext >&5
30580
30581 eval "$as_ac_var=no"
30582 fi
30583 rm -f conftest.err conftest.$ac_objext \
30584 conftest$ac_exeext conftest.$ac_ext
30585 fi
30586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30588 if test `eval echo '${'$as_ac_var'}'` = yes; then
30589 cat >>confdefs.h <<_ACEOF
30590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30591 _ACEOF
30592
30593 fi
30594 done
30595
30596
30597
30598
30599 for ac_func in putenv setenv
30600 do
30601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30602 echo "$as_me:$LINENO: checking for $ac_func" >&5
30603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30604 if eval "test \"\${$as_ac_var+set}\" = set"; then
30605 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 else
30607 cat >conftest.$ac_ext <<_ACEOF
30608 /* confdefs.h. */
30609 _ACEOF
30610 cat confdefs.h >>conftest.$ac_ext
30611 cat >>conftest.$ac_ext <<_ACEOF
30612 /* end confdefs.h. */
30613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30615 #define $ac_func innocuous_$ac_func
30616
30617 /* System header to define __stub macros and hopefully few prototypes,
30618 which can conflict with char $ac_func (); below.
30619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30620 <limits.h> exists even on freestanding compilers. */
30621
30622 #ifdef __STDC__
30623 # include <limits.h>
30624 #else
30625 # include <assert.h>
30626 #endif
30627
30628 #undef $ac_func
30629
30630 /* Override any gcc2 internal prototype to avoid an error. */
30631 #ifdef __cplusplus
30632 extern "C"
30633 {
30634 #endif
30635 /* We use char because int might match the return type of a gcc2
30636 builtin and then its argument prototype would still apply. */
30637 char $ac_func ();
30638 /* The GNU C library defines this for functions which it implements
30639 to always fail with ENOSYS. Some functions are actually named
30640 something starting with __ and the normal name is an alias. */
30641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30642 choke me
30643 #else
30644 char (*f) () = $ac_func;
30645 #endif
30646 #ifdef __cplusplus
30647 }
30648 #endif
30649
30650 int
30651 main ()
30652 {
30653 return f != $ac_func;
30654 ;
30655 return 0;
30656 }
30657 _ACEOF
30658 rm -f conftest.$ac_objext conftest$ac_exeext
30659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30660 (eval $ac_link) 2>conftest.er1
30661 ac_status=$?
30662 grep -v '^ *+' conftest.er1 >conftest.err
30663 rm -f conftest.er1
30664 cat conftest.err >&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } &&
30667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30670 ac_status=$?
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; } &&
30673 { ac_try='test -s conftest$ac_exeext'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30676 ac_status=$?
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; }; then
30679 eval "$as_ac_var=yes"
30680 else
30681 echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30683
30684 eval "$as_ac_var=no"
30685 fi
30686 rm -f conftest.err conftest.$ac_objext \
30687 conftest$ac_exeext conftest.$ac_ext
30688 fi
30689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30691 if test `eval echo '${'$as_ac_var'}'` = yes; then
30692 cat >>confdefs.h <<_ACEOF
30693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30694 _ACEOF
30695 break
30696 fi
30697 done
30698
30699
30700 HAVE_SOME_SLEEP_FUNC=0
30701 if test "$USE_BEOS" = 1; then
30702 cat >>confdefs.h <<\_ACEOF
30703 #define HAVE_SLEEP 1
30704 _ACEOF
30705
30706 HAVE_SOME_SLEEP_FUNC=1
30707 fi
30708
30709 if test "$USE_DARWIN" = 1; then
30710 cat >>confdefs.h <<\_ACEOF
30711 #define HAVE_USLEEP 1
30712 _ACEOF
30713
30714 HAVE_SOME_SLEEP_FUNC=1
30715 fi
30716
30717 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30718 POSIX4_LINK=
30719
30720 for ac_func in nanosleep
30721 do
30722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 echo "$as_me:$LINENO: checking for $ac_func" >&5
30724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725 if eval "test \"\${$as_ac_var+set}\" = set"; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30727 else
30728 cat >conftest.$ac_ext <<_ACEOF
30729 /* confdefs.h. */
30730 _ACEOF
30731 cat confdefs.h >>conftest.$ac_ext
30732 cat >>conftest.$ac_ext <<_ACEOF
30733 /* end confdefs.h. */
30734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30736 #define $ac_func innocuous_$ac_func
30737
30738 /* System header to define __stub macros and hopefully few prototypes,
30739 which can conflict with char $ac_func (); below.
30740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30741 <limits.h> exists even on freestanding compilers. */
30742
30743 #ifdef __STDC__
30744 # include <limits.h>
30745 #else
30746 # include <assert.h>
30747 #endif
30748
30749 #undef $ac_func
30750
30751 /* Override any gcc2 internal prototype to avoid an error. */
30752 #ifdef __cplusplus
30753 extern "C"
30754 {
30755 #endif
30756 /* We use char because int might match the return type of a gcc2
30757 builtin and then its argument prototype would still apply. */
30758 char $ac_func ();
30759 /* The GNU C library defines this for functions which it implements
30760 to always fail with ENOSYS. Some functions are actually named
30761 something starting with __ and the normal name is an alias. */
30762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30763 choke me
30764 #else
30765 char (*f) () = $ac_func;
30766 #endif
30767 #ifdef __cplusplus
30768 }
30769 #endif
30770
30771 int
30772 main ()
30773 {
30774 return f != $ac_func;
30775 ;
30776 return 0;
30777 }
30778 _ACEOF
30779 rm -f conftest.$ac_objext conftest$ac_exeext
30780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30781 (eval $ac_link) 2>conftest.er1
30782 ac_status=$?
30783 grep -v '^ *+' conftest.er1 >conftest.err
30784 rm -f conftest.er1
30785 cat conftest.err >&5
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); } &&
30788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30790 (eval $ac_try) 2>&5
30791 ac_status=$?
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); }; } &&
30794 { ac_try='test -s conftest$ac_exeext'
30795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30796 (eval $ac_try) 2>&5
30797 ac_status=$?
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); }; }; then
30800 eval "$as_ac_var=yes"
30801 else
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30804
30805 eval "$as_ac_var=no"
30806 fi
30807 rm -f conftest.err conftest.$ac_objext \
30808 conftest$ac_exeext conftest.$ac_ext
30809 fi
30810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30812 if test `eval echo '${'$as_ac_var'}'` = yes; then
30813 cat >>confdefs.h <<_ACEOF
30814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30815 _ACEOF
30816 cat >>confdefs.h <<\_ACEOF
30817 #define HAVE_NANOSLEEP 1
30818 _ACEOF
30819
30820 else
30821
30822 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30823 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30824 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30825 echo $ECHO_N "(cached) $ECHO_C" >&6
30826 else
30827 ac_check_lib_save_LIBS=$LIBS
30828 LIBS="-lposix4 $LIBS"
30829 cat >conftest.$ac_ext <<_ACEOF
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835
30836 /* Override any gcc2 internal prototype to avoid an error. */
30837 #ifdef __cplusplus
30838 extern "C"
30839 #endif
30840 /* We use char because int might match the return type of a gcc2
30841 builtin and then its argument prototype would still apply. */
30842 char nanosleep ();
30843 int
30844 main ()
30845 {
30846 nanosleep ();
30847 ;
30848 return 0;
30849 }
30850 _ACEOF
30851 rm -f conftest.$ac_objext conftest$ac_exeext
30852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30853 (eval $ac_link) 2>conftest.er1
30854 ac_status=$?
30855 grep -v '^ *+' conftest.er1 >conftest.err
30856 rm -f conftest.er1
30857 cat conftest.err >&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); } &&
30860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30862 (eval $ac_try) 2>&5
30863 ac_status=$?
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); }; } &&
30866 { ac_try='test -s conftest$ac_exeext'
30867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30868 (eval $ac_try) 2>&5
30869 ac_status=$?
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); }; }; then
30872 ac_cv_lib_posix4_nanosleep=yes
30873 else
30874 echo "$as_me: failed program was:" >&5
30875 sed 's/^/| /' conftest.$ac_ext >&5
30876
30877 ac_cv_lib_posix4_nanosleep=no
30878 fi
30879 rm -f conftest.err conftest.$ac_objext \
30880 conftest$ac_exeext conftest.$ac_ext
30881 LIBS=$ac_check_lib_save_LIBS
30882 fi
30883 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30884 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30885 if test $ac_cv_lib_posix4_nanosleep = yes; then
30886
30887 cat >>confdefs.h <<\_ACEOF
30888 #define HAVE_NANOSLEEP 1
30889 _ACEOF
30890
30891 POSIX4_LINK=" -lposix4"
30892
30893 else
30894
30895
30896 for ac_func in usleep
30897 do
30898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30899 echo "$as_me:$LINENO: checking for $ac_func" >&5
30900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30901 if eval "test \"\${$as_ac_var+set}\" = set"; then
30902 echo $ECHO_N "(cached) $ECHO_C" >&6
30903 else
30904 cat >conftest.$ac_ext <<_ACEOF
30905 /* confdefs.h. */
30906 _ACEOF
30907 cat confdefs.h >>conftest.$ac_ext
30908 cat >>conftest.$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30912 #define $ac_func innocuous_$ac_func
30913
30914 /* System header to define __stub macros and hopefully few prototypes,
30915 which can conflict with char $ac_func (); below.
30916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30917 <limits.h> exists even on freestanding compilers. */
30918
30919 #ifdef __STDC__
30920 # include <limits.h>
30921 #else
30922 # include <assert.h>
30923 #endif
30924
30925 #undef $ac_func
30926
30927 /* Override any gcc2 internal prototype to avoid an error. */
30928 #ifdef __cplusplus
30929 extern "C"
30930 {
30931 #endif
30932 /* We use char because int might match the return type of a gcc2
30933 builtin and then its argument prototype would still apply. */
30934 char $ac_func ();
30935 /* The GNU C library defines this for functions which it implements
30936 to always fail with ENOSYS. Some functions are actually named
30937 something starting with __ and the normal name is an alias. */
30938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30939 choke me
30940 #else
30941 char (*f) () = $ac_func;
30942 #endif
30943 #ifdef __cplusplus
30944 }
30945 #endif
30946
30947 int
30948 main ()
30949 {
30950 return f != $ac_func;
30951 ;
30952 return 0;
30953 }
30954 _ACEOF
30955 rm -f conftest.$ac_objext conftest$ac_exeext
30956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30957 (eval $ac_link) 2>conftest.er1
30958 ac_status=$?
30959 grep -v '^ *+' conftest.er1 >conftest.err
30960 rm -f conftest.er1
30961 cat conftest.err >&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); } &&
30964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30966 (eval $ac_try) 2>&5
30967 ac_status=$?
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); }; } &&
30970 { ac_try='test -s conftest$ac_exeext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 eval "$as_ac_var=yes"
30977 else
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.$ac_ext >&5
30980
30981 eval "$as_ac_var=no"
30982 fi
30983 rm -f conftest.err conftest.$ac_objext \
30984 conftest$ac_exeext conftest.$ac_ext
30985 fi
30986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30988 if test `eval echo '${'$as_ac_var'}'` = yes; then
30989 cat >>confdefs.h <<_ACEOF
30990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30992 cat >>confdefs.h <<\_ACEOF
30993 #define HAVE_USLEEP 1
30994 _ACEOF
30995
30996 else
30997 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30998 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30999
31000 fi
31001 done
31002
31003
31004
31005 fi
31006
31007
31008
31009 fi
31010 done
31011
31012 fi
31013
31014
31015
31016 for ac_func in uname gethostname
31017 do
31018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31019 echo "$as_me:$LINENO: checking for $ac_func" >&5
31020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31021 if eval "test \"\${$as_ac_var+set}\" = set"; then
31022 echo $ECHO_N "(cached) $ECHO_C" >&6
31023 else
31024 cat >conftest.$ac_ext <<_ACEOF
31025 /* confdefs.h. */
31026 _ACEOF
31027 cat confdefs.h >>conftest.$ac_ext
31028 cat >>conftest.$ac_ext <<_ACEOF
31029 /* end confdefs.h. */
31030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31032 #define $ac_func innocuous_$ac_func
31033
31034 /* System header to define __stub macros and hopefully few prototypes,
31035 which can conflict with char $ac_func (); below.
31036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31037 <limits.h> exists even on freestanding compilers. */
31038
31039 #ifdef __STDC__
31040 # include <limits.h>
31041 #else
31042 # include <assert.h>
31043 #endif
31044
31045 #undef $ac_func
31046
31047 /* Override any gcc2 internal prototype to avoid an error. */
31048 #ifdef __cplusplus
31049 extern "C"
31050 {
31051 #endif
31052 /* We use char because int might match the return type of a gcc2
31053 builtin and then its argument prototype would still apply. */
31054 char $ac_func ();
31055 /* The GNU C library defines this for functions which it implements
31056 to always fail with ENOSYS. Some functions are actually named
31057 something starting with __ and the normal name is an alias. */
31058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31059 choke me
31060 #else
31061 char (*f) () = $ac_func;
31062 #endif
31063 #ifdef __cplusplus
31064 }
31065 #endif
31066
31067 int
31068 main ()
31069 {
31070 return f != $ac_func;
31071 ;
31072 return 0;
31073 }
31074 _ACEOF
31075 rm -f conftest.$ac_objext conftest$ac_exeext
31076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31077 (eval $ac_link) 2>conftest.er1
31078 ac_status=$?
31079 grep -v '^ *+' conftest.er1 >conftest.err
31080 rm -f conftest.er1
31081 cat conftest.err >&5
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); } &&
31084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31086 (eval $ac_try) 2>&5
31087 ac_status=$?
31088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31089 (exit $ac_status); }; } &&
31090 { ac_try='test -s conftest$ac_exeext'
31091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31092 (eval $ac_try) 2>&5
31093 ac_status=$?
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); }; }; then
31096 eval "$as_ac_var=yes"
31097 else
31098 echo "$as_me: failed program was:" >&5
31099 sed 's/^/| /' conftest.$ac_ext >&5
31100
31101 eval "$as_ac_var=no"
31102 fi
31103 rm -f conftest.err conftest.$ac_objext \
31104 conftest$ac_exeext conftest.$ac_ext
31105 fi
31106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31108 if test `eval echo '${'$as_ac_var'}'` = yes; then
31109 cat >>confdefs.h <<_ACEOF
31110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31111 _ACEOF
31112 break
31113 fi
31114 done
31115
31116
31117
31118
31119 ac_ext=cc
31120 ac_cpp='$CXXCPP $CPPFLAGS'
31121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31124
31125
31126
31127 for ac_func in strtok_r
31128 do
31129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31130 echo "$as_me:$LINENO: checking for $ac_func" >&5
31131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31132 if eval "test \"\${$as_ac_var+set}\" = set"; then
31133 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 else
31135 cat >conftest.$ac_ext <<_ACEOF
31136 /* confdefs.h. */
31137 _ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31143 #define $ac_func innocuous_$ac_func
31144
31145 /* System header to define __stub macros and hopefully few prototypes,
31146 which can conflict with char $ac_func (); below.
31147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31148 <limits.h> exists even on freestanding compilers. */
31149
31150 #ifdef __STDC__
31151 # include <limits.h>
31152 #else
31153 # include <assert.h>
31154 #endif
31155
31156 #undef $ac_func
31157
31158 /* Override any gcc2 internal prototype to avoid an error. */
31159 #ifdef __cplusplus
31160 extern "C"
31161 {
31162 #endif
31163 /* We use char because int might match the return type of a gcc2
31164 builtin and then its argument prototype would still apply. */
31165 char $ac_func ();
31166 /* The GNU C library defines this for functions which it implements
31167 to always fail with ENOSYS. Some functions are actually named
31168 something starting with __ and the normal name is an alias. */
31169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31170 choke me
31171 #else
31172 char (*f) () = $ac_func;
31173 #endif
31174 #ifdef __cplusplus
31175 }
31176 #endif
31177
31178 int
31179 main ()
31180 {
31181 return f != $ac_func;
31182 ;
31183 return 0;
31184 }
31185 _ACEOF
31186 rm -f conftest.$ac_objext conftest$ac_exeext
31187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31188 (eval $ac_link) 2>conftest.er1
31189 ac_status=$?
31190 grep -v '^ *+' conftest.er1 >conftest.err
31191 rm -f conftest.er1
31192 cat conftest.err >&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); } &&
31195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31198 ac_status=$?
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; } &&
31201 { ac_try='test -s conftest$ac_exeext'
31202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 (eval $ac_try) 2>&5
31204 ac_status=$?
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); }; }; then
31207 eval "$as_ac_var=yes"
31208 else
31209 echo "$as_me: failed program was:" >&5
31210 sed 's/^/| /' conftest.$ac_ext >&5
31211
31212 eval "$as_ac_var=no"
31213 fi
31214 rm -f conftest.err conftest.$ac_objext \
31215 conftest$ac_exeext conftest.$ac_ext
31216 fi
31217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31219 if test `eval echo '${'$as_ac_var'}'` = yes; then
31220 cat >>confdefs.h <<_ACEOF
31221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31222 _ACEOF
31223
31224 fi
31225 done
31226
31227
31228 ac_ext=c
31229 ac_cpp='$CPP $CPPFLAGS'
31230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31233
31234
31235 INET_LINK=
31236
31237 for ac_func in inet_addr
31238 do
31239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31240 echo "$as_me:$LINENO: checking for $ac_func" >&5
31241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31242 if eval "test \"\${$as_ac_var+set}\" = set"; then
31243 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 else
31245 cat >conftest.$ac_ext <<_ACEOF
31246 /* confdefs.h. */
31247 _ACEOF
31248 cat confdefs.h >>conftest.$ac_ext
31249 cat >>conftest.$ac_ext <<_ACEOF
31250 /* end confdefs.h. */
31251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31253 #define $ac_func innocuous_$ac_func
31254
31255 /* System header to define __stub macros and hopefully few prototypes,
31256 which can conflict with char $ac_func (); below.
31257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31258 <limits.h> exists even on freestanding compilers. */
31259
31260 #ifdef __STDC__
31261 # include <limits.h>
31262 #else
31263 # include <assert.h>
31264 #endif
31265
31266 #undef $ac_func
31267
31268 /* Override any gcc2 internal prototype to avoid an error. */
31269 #ifdef __cplusplus
31270 extern "C"
31271 {
31272 #endif
31273 /* We use char because int might match the return type of a gcc2
31274 builtin and then its argument prototype would still apply. */
31275 char $ac_func ();
31276 /* The GNU C library defines this for functions which it implements
31277 to always fail with ENOSYS. Some functions are actually named
31278 something starting with __ and the normal name is an alias. */
31279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31280 choke me
31281 #else
31282 char (*f) () = $ac_func;
31283 #endif
31284 #ifdef __cplusplus
31285 }
31286 #endif
31287
31288 int
31289 main ()
31290 {
31291 return f != $ac_func;
31292 ;
31293 return 0;
31294 }
31295 _ACEOF
31296 rm -f conftest.$ac_objext conftest$ac_exeext
31297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31298 (eval $ac_link) 2>conftest.er1
31299 ac_status=$?
31300 grep -v '^ *+' conftest.er1 >conftest.err
31301 rm -f conftest.er1
31302 cat conftest.err >&5
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); } &&
31305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31307 (eval $ac_try) 2>&5
31308 ac_status=$?
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); }; } &&
31311 { ac_try='test -s conftest$ac_exeext'
31312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31313 (eval $ac_try) 2>&5
31314 ac_status=$?
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); }; }; then
31317 eval "$as_ac_var=yes"
31318 else
31319 echo "$as_me: failed program was:" >&5
31320 sed 's/^/| /' conftest.$ac_ext >&5
31321
31322 eval "$as_ac_var=no"
31323 fi
31324 rm -f conftest.err conftest.$ac_objext \
31325 conftest$ac_exeext conftest.$ac_ext
31326 fi
31327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31329 if test `eval echo '${'$as_ac_var'}'` = yes; then
31330 cat >>confdefs.h <<_ACEOF
31331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31332 _ACEOF
31333 cat >>confdefs.h <<\_ACEOF
31334 #define HAVE_INET_ADDR 1
31335 _ACEOF
31336
31337 else
31338
31339 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31340 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31341 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 else
31344 ac_check_lib_save_LIBS=$LIBS
31345 LIBS="-lnsl $LIBS"
31346 cat >conftest.$ac_ext <<_ACEOF
31347 /* confdefs.h. */
31348 _ACEOF
31349 cat confdefs.h >>conftest.$ac_ext
31350 cat >>conftest.$ac_ext <<_ACEOF
31351 /* end confdefs.h. */
31352
31353 /* Override any gcc2 internal prototype to avoid an error. */
31354 #ifdef __cplusplus
31355 extern "C"
31356 #endif
31357 /* We use char because int might match the return type of a gcc2
31358 builtin and then its argument prototype would still apply. */
31359 char inet_addr ();
31360 int
31361 main ()
31362 {
31363 inet_addr ();
31364 ;
31365 return 0;
31366 }
31367 _ACEOF
31368 rm -f conftest.$ac_objext conftest$ac_exeext
31369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31370 (eval $ac_link) 2>conftest.er1
31371 ac_status=$?
31372 grep -v '^ *+' conftest.er1 >conftest.err
31373 rm -f conftest.er1
31374 cat conftest.err >&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } &&
31377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31379 (eval $ac_try) 2>&5
31380 ac_status=$?
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); }; } &&
31383 { ac_try='test -s conftest$ac_exeext'
31384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31385 (eval $ac_try) 2>&5
31386 ac_status=$?
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); }; }; then
31389 ac_cv_lib_nsl_inet_addr=yes
31390 else
31391 echo "$as_me: failed program was:" >&5
31392 sed 's/^/| /' conftest.$ac_ext >&5
31393
31394 ac_cv_lib_nsl_inet_addr=no
31395 fi
31396 rm -f conftest.err conftest.$ac_objext \
31397 conftest$ac_exeext conftest.$ac_ext
31398 LIBS=$ac_check_lib_save_LIBS
31399 fi
31400 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31401 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31402 if test $ac_cv_lib_nsl_inet_addr = yes; then
31403 INET_LINK="nsl"
31404 else
31405
31406 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31407 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31408 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 else
31411 ac_check_lib_save_LIBS=$LIBS
31412 LIBS="-lresolv $LIBS"
31413 cat >conftest.$ac_ext <<_ACEOF
31414 /* confdefs.h. */
31415 _ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31419
31420 /* Override any gcc2 internal prototype to avoid an error. */
31421 #ifdef __cplusplus
31422 extern "C"
31423 #endif
31424 /* We use char because int might match the return type of a gcc2
31425 builtin and then its argument prototype would still apply. */
31426 char inet_addr ();
31427 int
31428 main ()
31429 {
31430 inet_addr ();
31431 ;
31432 return 0;
31433 }
31434 _ACEOF
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31437 (eval $ac_link) 2>conftest.er1
31438 ac_status=$?
31439 grep -v '^ *+' conftest.er1 >conftest.err
31440 rm -f conftest.er1
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } &&
31444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31446 (eval $ac_try) 2>&5
31447 ac_status=$?
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); }; } &&
31450 { ac_try='test -s conftest$ac_exeext'
31451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31452 (eval $ac_try) 2>&5
31453 ac_status=$?
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); }; }; then
31456 ac_cv_lib_resolv_inet_addr=yes
31457 else
31458 echo "$as_me: failed program was:" >&5
31459 sed 's/^/| /' conftest.$ac_ext >&5
31460
31461 ac_cv_lib_resolv_inet_addr=no
31462 fi
31463 rm -f conftest.err conftest.$ac_objext \
31464 conftest$ac_exeext conftest.$ac_ext
31465 LIBS=$ac_check_lib_save_LIBS
31466 fi
31467 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31468 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31469 if test $ac_cv_lib_resolv_inet_addr = yes; then
31470 INET_LINK="resolv"
31471 else
31472
31473 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31474 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31475 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31476 echo $ECHO_N "(cached) $ECHO_C" >&6
31477 else
31478 ac_check_lib_save_LIBS=$LIBS
31479 LIBS="-lsocket $LIBS"
31480 cat >conftest.$ac_ext <<_ACEOF
31481 /* confdefs.h. */
31482 _ACEOF
31483 cat confdefs.h >>conftest.$ac_ext
31484 cat >>conftest.$ac_ext <<_ACEOF
31485 /* end confdefs.h. */
31486
31487 /* Override any gcc2 internal prototype to avoid an error. */
31488 #ifdef __cplusplus
31489 extern "C"
31490 #endif
31491 /* We use char because int might match the return type of a gcc2
31492 builtin and then its argument prototype would still apply. */
31493 char inet_addr ();
31494 int
31495 main ()
31496 {
31497 inet_addr ();
31498 ;
31499 return 0;
31500 }
31501 _ACEOF
31502 rm -f conftest.$ac_objext conftest$ac_exeext
31503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31504 (eval $ac_link) 2>conftest.er1
31505 ac_status=$?
31506 grep -v '^ *+' conftest.er1 >conftest.err
31507 rm -f conftest.er1
31508 cat conftest.err >&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); } &&
31511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31513 (eval $ac_try) 2>&5
31514 ac_status=$?
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; } &&
31517 { ac_try='test -s conftest$ac_exeext'
31518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31519 (eval $ac_try) 2>&5
31520 ac_status=$?
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); }; }; then
31523 ac_cv_lib_socket_inet_addr=yes
31524 else
31525 echo "$as_me: failed program was:" >&5
31526 sed 's/^/| /' conftest.$ac_ext >&5
31527
31528 ac_cv_lib_socket_inet_addr=no
31529 fi
31530 rm -f conftest.err conftest.$ac_objext \
31531 conftest$ac_exeext conftest.$ac_ext
31532 LIBS=$ac_check_lib_save_LIBS
31533 fi
31534 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31535 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31536 if test $ac_cv_lib_socket_inet_addr = yes; then
31537 INET_LINK="socket"
31538
31539 fi
31540
31541
31542
31543 fi
31544
31545
31546
31547 fi
31548
31549
31550
31551 fi
31552 done
31553
31554
31555
31556 for ac_func in inet_aton
31557 do
31558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31559 echo "$as_me:$LINENO: checking for $ac_func" >&5
31560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31561 if eval "test \"\${$as_ac_var+set}\" = set"; then
31562 echo $ECHO_N "(cached) $ECHO_C" >&6
31563 else
31564 cat >conftest.$ac_ext <<_ACEOF
31565 /* confdefs.h. */
31566 _ACEOF
31567 cat confdefs.h >>conftest.$ac_ext
31568 cat >>conftest.$ac_ext <<_ACEOF
31569 /* end confdefs.h. */
31570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31572 #define $ac_func innocuous_$ac_func
31573
31574 /* System header to define __stub macros and hopefully few prototypes,
31575 which can conflict with char $ac_func (); below.
31576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31577 <limits.h> exists even on freestanding compilers. */
31578
31579 #ifdef __STDC__
31580 # include <limits.h>
31581 #else
31582 # include <assert.h>
31583 #endif
31584
31585 #undef $ac_func
31586
31587 /* Override any gcc2 internal prototype to avoid an error. */
31588 #ifdef __cplusplus
31589 extern "C"
31590 {
31591 #endif
31592 /* We use char because int might match the return type of a gcc2
31593 builtin and then its argument prototype would still apply. */
31594 char $ac_func ();
31595 /* The GNU C library defines this for functions which it implements
31596 to always fail with ENOSYS. Some functions are actually named
31597 something starting with __ and the normal name is an alias. */
31598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31599 choke me
31600 #else
31601 char (*f) () = $ac_func;
31602 #endif
31603 #ifdef __cplusplus
31604 }
31605 #endif
31606
31607 int
31608 main ()
31609 {
31610 return f != $ac_func;
31611 ;
31612 return 0;
31613 }
31614 _ACEOF
31615 rm -f conftest.$ac_objext conftest$ac_exeext
31616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31617 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
31637 else
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.$ac_ext >&5
31640
31641 eval "$as_ac_var=no"
31642 fi
31643 rm -f conftest.err conftest.$ac_objext \
31644 conftest$ac_exeext conftest.$ac_ext
31645 fi
31646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31648 if test `eval echo '${'$as_ac_var'}'` = yes; then
31649 cat >>confdefs.h <<_ACEOF
31650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31651 _ACEOF
31652 cat >>confdefs.h <<\_ACEOF
31653 #define HAVE_INET_ATON 1
31654 _ACEOF
31655
31656 else
31657
31658 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31659 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31660 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31661 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31662 echo $ECHO_N "(cached) $ECHO_C" >&6
31663 else
31664 ac_check_lib_save_LIBS=$LIBS
31665 LIBS="-l$INET_LINK $LIBS"
31666 cat >conftest.$ac_ext <<_ACEOF
31667 /* confdefs.h. */
31668 _ACEOF
31669 cat confdefs.h >>conftest.$ac_ext
31670 cat >>conftest.$ac_ext <<_ACEOF
31671 /* end confdefs.h. */
31672
31673 /* Override any gcc2 internal prototype to avoid an error. */
31674 #ifdef __cplusplus
31675 extern "C"
31676 #endif
31677 /* We use char because int might match the return type of a gcc2
31678 builtin and then its argument prototype would still apply. */
31679 char inet_aton ();
31680 int
31681 main ()
31682 {
31683 inet_aton ();
31684 ;
31685 return 0;
31686 }
31687 _ACEOF
31688 rm -f conftest.$ac_objext conftest$ac_exeext
31689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31690 (eval $ac_link) 2>conftest.er1
31691 ac_status=$?
31692 grep -v '^ *+' conftest.er1 >conftest.err
31693 rm -f conftest.er1
31694 cat conftest.err >&5
31695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696 (exit $ac_status); } &&
31697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31699 (eval $ac_try) 2>&5
31700 ac_status=$?
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); }; } &&
31703 { ac_try='test -s conftest$ac_exeext'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31706 ac_status=$?
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; }; then
31709 eval "$as_ac_Lib=yes"
31710 else
31711 echo "$as_me: failed program was:" >&5
31712 sed 's/^/| /' conftest.$ac_ext >&5
31713
31714 eval "$as_ac_Lib=no"
31715 fi
31716 rm -f conftest.err conftest.$ac_objext \
31717 conftest$ac_exeext conftest.$ac_ext
31718 LIBS=$ac_check_lib_save_LIBS
31719 fi
31720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31721 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31722 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31723 cat >>confdefs.h <<\_ACEOF
31724 #define HAVE_INET_ATON 1
31725 _ACEOF
31726
31727 fi
31728
31729
31730 fi
31731 done
31732
31733
31734 if test "x$INET_LINK" != "x"; then
31735 cat >>confdefs.h <<\_ACEOF
31736 #define HAVE_INET_ADDR 1
31737 _ACEOF
31738
31739 INET_LINK=" -l$INET_LINK"
31740 fi
31741
31742 fi
31743
31744
31745
31746 EXTRALIBS_ESD=
31747 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31748 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31749 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31750 echo $ECHO_N "(cached) $ECHO_C" >&6
31751 else
31752 ac_check_lib_save_LIBS=$LIBS
31753 LIBS="-lesd $LIBS"
31754 cat >conftest.$ac_ext <<_ACEOF
31755 /* confdefs.h. */
31756 _ACEOF
31757 cat confdefs.h >>conftest.$ac_ext
31758 cat >>conftest.$ac_ext <<_ACEOF
31759 /* end confdefs.h. */
31760
31761 /* Override any gcc2 internal prototype to avoid an error. */
31762 #ifdef __cplusplus
31763 extern "C"
31764 #endif
31765 /* We use char because int might match the return type of a gcc2
31766 builtin and then its argument prototype would still apply. */
31767 char esd_close ();
31768 int
31769 main ()
31770 {
31771 esd_close ();
31772 ;
31773 return 0;
31774 }
31775 _ACEOF
31776 rm -f conftest.$ac_objext conftest$ac_exeext
31777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31778 (eval $ac_link) 2>conftest.er1
31779 ac_status=$?
31780 grep -v '^ *+' conftest.er1 >conftest.err
31781 rm -f conftest.er1
31782 cat conftest.err >&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); } &&
31785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31788 ac_status=$?
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; } &&
31791 { ac_try='test -s conftest$ac_exeext'
31792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31793 (eval $ac_try) 2>&5
31794 ac_status=$?
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); }; }; then
31797 ac_cv_lib_esd_esd_close=yes
31798 else
31799 echo "$as_me: failed program was:" >&5
31800 sed 's/^/| /' conftest.$ac_ext >&5
31801
31802 ac_cv_lib_esd_esd_close=no
31803 fi
31804 rm -f conftest.err conftest.$ac_objext \
31805 conftest$ac_exeext conftest.$ac_ext
31806 LIBS=$ac_check_lib_save_LIBS
31807 fi
31808 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31809 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31810 if test $ac_cv_lib_esd_esd_close = yes; then
31811
31812
31813 for ac_header in esd.h
31814 do
31815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31817 echo "$as_me:$LINENO: checking for $ac_header" >&5
31818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31820 echo $ECHO_N "(cached) $ECHO_C" >&6
31821 fi
31822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31824 else
31825 # Is the header compilable?
31826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31828 cat >conftest.$ac_ext <<_ACEOF
31829 /* confdefs.h. */
31830 _ACEOF
31831 cat confdefs.h >>conftest.$ac_ext
31832 cat >>conftest.$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31834 $ac_includes_default
31835 #include <$ac_header>
31836 _ACEOF
31837 rm -f conftest.$ac_objext
31838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31839 (eval $ac_compile) 2>conftest.er1
31840 ac_status=$?
31841 grep -v '^ *+' conftest.er1 >conftest.err
31842 rm -f conftest.er1
31843 cat conftest.err >&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); } &&
31846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; } &&
31852 { ac_try='test -s conftest.$ac_objext'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31855 ac_status=$?
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; }; then
31858 ac_header_compiler=yes
31859 else
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31862
31863 ac_header_compiler=no
31864 fi
31865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31867 echo "${ECHO_T}$ac_header_compiler" >&6
31868
31869 # Is the header present?
31870 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31871 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31872 cat >conftest.$ac_ext <<_ACEOF
31873 /* confdefs.h. */
31874 _ACEOF
31875 cat confdefs.h >>conftest.$ac_ext
31876 cat >>conftest.$ac_ext <<_ACEOF
31877 /* end confdefs.h. */
31878 #include <$ac_header>
31879 _ACEOF
31880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31882 ac_status=$?
31883 grep -v '^ *+' conftest.er1 >conftest.err
31884 rm -f conftest.er1
31885 cat conftest.err >&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } >/dev/null; then
31888 if test -s conftest.err; then
31889 ac_cpp_err=$ac_c_preproc_warn_flag
31890 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31891 else
31892 ac_cpp_err=
31893 fi
31894 else
31895 ac_cpp_err=yes
31896 fi
31897 if test -z "$ac_cpp_err"; then
31898 ac_header_preproc=yes
31899 else
31900 echo "$as_me: failed program was:" >&5
31901 sed 's/^/| /' conftest.$ac_ext >&5
31902
31903 ac_header_preproc=no
31904 fi
31905 rm -f conftest.err conftest.$ac_ext
31906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31907 echo "${ECHO_T}$ac_header_preproc" >&6
31908
31909 # So? What about this header?
31910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31911 yes:no: )
31912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31916 ac_header_preproc=yes
31917 ;;
31918 no:yes:* )
31919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31923 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31925 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31926 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31929 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31931 (
31932 cat <<\_ASBOX
31933 ## ----------------------------------------- ##
31934 ## Report this to wx-dev@lists.wxwidgets.org ##
31935 ## ----------------------------------------- ##
31936 _ASBOX
31937 ) |
31938 sed "s/^/$as_me: WARNING: /" >&2
31939 ;;
31940 esac
31941 echo "$as_me:$LINENO: checking for $ac_header" >&5
31942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 else
31946 eval "$as_ac_Header=\$ac_header_preproc"
31947 fi
31948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31950
31951 fi
31952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31953 cat >>confdefs.h <<_ACEOF
31954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31955 _ACEOF
31956
31957 EXTRALIBS_ESD="-lesd"
31958
31959 fi
31960
31961 done
31962
31963
31964 fi
31965
31966
31967
31968 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31969 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31970 cat >conftest.$ac_ext <<_ACEOF
31971 /* confdefs.h. */
31972 _ACEOF
31973 cat confdefs.h >>conftest.$ac_ext
31974 cat >>conftest.$ac_ext <<_ACEOF
31975 /* end confdefs.h. */
31976 #ifdef __linux__
31977 #include <linux/cdrom.h>
31978 #else
31979 /* For Solaris */
31980 #include <sys/cdio.h>
31981 #endif
31982
31983 int
31984 main ()
31985 {
31986 struct cdrom_tocentry entry, old_entry;
31987 ;
31988 return 0;
31989 }
31990 _ACEOF
31991 rm -f conftest.$ac_objext
31992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31993 (eval $ac_compile) 2>conftest.er1
31994 ac_status=$?
31995 grep -v '^ *+' conftest.er1 >conftest.err
31996 rm -f conftest.er1
31997 cat conftest.err >&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); } &&
32000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32002 (eval $ac_try) 2>&5
32003 ac_status=$?
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); }; } &&
32006 { ac_try='test -s conftest.$ac_objext'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32009 ac_status=$?
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; }; then
32012 echo "$as_me:$LINENO: result: yes" >&5
32013 echo "${ECHO_T}yes" >&6
32014 cat >>confdefs.h <<\_ACEOF
32015 #define HAVE_KNOWN_CDROM_INTERFACE 1
32016 _ACEOF
32017
32018 else
32019 echo "$as_me: failed program was:" >&5
32020 sed 's/^/| /' conftest.$ac_ext >&5
32021
32022 echo "$as_me:$LINENO: result: no" >&5
32023 echo "${ECHO_T}no" >&6
32024 fi
32025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32026
32027
32028 cat >confcache <<\_ACEOF
32029 # This file is a shell script that caches the results of configure
32030 # tests run on this system so they can be shared between configure
32031 # scripts and configure runs, see configure's option --config-cache.
32032 # It is not useful on other systems. If it contains results you don't
32033 # want to keep, you may remove or edit it.
32034 #
32035 # config.status only pays attention to the cache file if you give it
32036 # the --recheck option to rerun configure.
32037 #
32038 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32039 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32040 # following values.
32041
32042 _ACEOF
32043
32044 # The following way of writing the cache mishandles newlines in values,
32045 # but we know of no workaround that is simple, portable, and efficient.
32046 # So, don't put newlines in cache variables' values.
32047 # Ultrix sh set writes to stderr and can't be redirected directly,
32048 # and sets the high bit in the cache file unless we assign to the vars.
32049 {
32050 (set) 2>&1 |
32051 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32052 *ac_space=\ *)
32053 # `set' does not quote correctly, so add quotes (double-quote
32054 # substitution turns \\\\ into \\, and sed turns \\ into \).
32055 sed -n \
32056 "s/'/'\\\\''/g;
32057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32058 ;;
32059 *)
32060 # `set' quotes correctly as required by POSIX, so do not add quotes.
32061 sed -n \
32062 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32063 ;;
32064 esac;
32065 } |
32066 sed '
32067 t clear
32068 : clear
32069 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32070 t end
32071 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32072 : end' >>confcache
32073 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32074 if test -w $cache_file; then
32075 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32076 cat confcache >$cache_file
32077 else
32078 echo "not updating unwritable cache $cache_file"
32079 fi
32080 fi
32081 rm -f confcache
32082
32083
32084 CPP_MT_FLAG=
32085 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32086
32087
32088 THREADS_LINK=
32089 THREADS_CFLAGS=
32090
32091 if test "$wxUSE_THREADS" = "yes" ; then
32092 if test "$USE_BEOS" = 1; then
32093 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32094 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32095 wxUSE_THREADS="no"
32096 fi
32097 fi
32098
32099 if test "$wxUSE_THREADS" = "yes" ; then
32100
32101
32102 THREAD_OPTS="-pthread"
32103 case "${host}" in
32104 *-*-solaris2* | *-*-sunos4* )
32105 if test "x$GCC" = "xyes"; then
32106 THREAD_OPTS="-pthreads $THREAD_OPTS"
32107 else
32108 THREAD_OPTS="-mt $THREAD_OPTS"
32109 fi
32110 ;;
32111 *-*-freebsd*)
32112 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32113 ;;
32114 *-*-darwin* | *-*-cygwin* )
32115 THREAD_OPTS=""
32116 ;;
32117 *-*-aix*)
32118 THREAD_OPTS="pthreads"
32119 ;;
32120 *-hp-hpux* )
32121 if test "x$GCC" != "xyes"; then
32122 THREAD_OPTS=""
32123 fi
32124 ;;
32125
32126 *-*-irix* )
32127 if test "x$GCC" = "xyes"; then
32128 THREAD_OPTS=""
32129 fi
32130 ;;
32131
32132 *-*-*UnixWare*)
32133 if test "x$GCC" != "xyes"; then
32134 THREAD_OPTS="-Ethread"
32135 fi
32136 ;;
32137 esac
32138
32139 THREAD_OPTS="$THREAD_OPTS pthread none"
32140
32141 THREADS_OK=no
32142 for flag in $THREAD_OPTS; do
32143 case $flag in
32144 none)
32145 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32146 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32147 ;;
32148
32149 -*)
32150 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32151 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32152 THREADS_CFLAGS="$flag"
32153 ;;
32154
32155 *)
32156 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32157 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32158 THREADS_LINK="-l$flag"
32159 ;;
32160 esac
32161
32162 save_LIBS="$LIBS"
32163 save_CFLAGS="$CFLAGS"
32164 LIBS="$THREADS_LINK $LIBS"
32165 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32166
32167 cat >conftest.$ac_ext <<_ACEOF
32168 /* confdefs.h. */
32169 _ACEOF
32170 cat confdefs.h >>conftest.$ac_ext
32171 cat >>conftest.$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32173 #include <pthread.h>
32174 int
32175 main ()
32176 {
32177 pthread_create(0,0,0,0);
32178 ;
32179 return 0;
32180 }
32181 _ACEOF
32182 rm -f conftest.$ac_objext conftest$ac_exeext
32183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32184 (eval $ac_link) 2>conftest.er1
32185 ac_status=$?
32186 grep -v '^ *+' conftest.er1 >conftest.err
32187 rm -f conftest.er1
32188 cat conftest.err >&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); } &&
32191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32194 ac_status=$?
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; } &&
32197 { ac_try='test -s conftest$ac_exeext'
32198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32199 (eval $ac_try) 2>&5
32200 ac_status=$?
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); }; }; then
32203 THREADS_OK=yes
32204 else
32205 echo "$as_me: failed program was:" >&5
32206 sed 's/^/| /' conftest.$ac_ext >&5
32207
32208 fi
32209 rm -f conftest.err conftest.$ac_objext \
32210 conftest$ac_exeext conftest.$ac_ext
32211
32212 LIBS="$save_LIBS"
32213 CFLAGS="$save_CFLAGS"
32214
32215 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32216 echo "${ECHO_T}$THREADS_OK" >&6
32217 if test "x$THREADS_OK" = "xyes"; then
32218 break;
32219 fi
32220
32221 THREADS_LINK=""
32222 THREADS_CFLAGS=""
32223 done
32224
32225 if test "x$THREADS_OK" != "xyes"; then
32226 wxUSE_THREADS=no
32227 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32228 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32229 else
32230 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32231 LIBS="$THREADS_LINK $LIBS"
32232
32233 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32234 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32235 flag=no
32236 case "${host}" in
32237 *-aix*)
32238 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32239 flag="-D_THREAD_SAFE"
32240 ;;
32241 *-freebsd*)
32242 flag="-D_THREAD_SAFE"
32243 ;;
32244 *-hp-hpux* )
32245 flag="-D_REENTRANT"
32246 if test "x$GCC" != "xyes"; then
32247 flag="$flag -D_RWSTD_MULTI_THREAD"
32248
32249 LIBS="$LIBS -lcma"
32250 fi
32251 ;;
32252 *solaris* | alpha*-osf*)
32253 flag="-D_REENTRANT"
32254 ;;
32255 esac
32256 echo "$as_me:$LINENO: result: ${flag}" >&5
32257 echo "${ECHO_T}${flag}" >&6
32258 if test "x$flag" != xno; then
32259 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32260 fi
32261
32262 if test "x$THREADS_CFLAGS" != "x"; then
32263 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32264 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32265 fi
32266 fi
32267 fi
32268
32269 if test "$wxUSE_THREADS" = "yes" ; then
32270
32271 for ac_func in thr_setconcurrency
32272 do
32273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32274 echo "$as_me:$LINENO: checking for $ac_func" >&5
32275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32276 if eval "test \"\${$as_ac_var+set}\" = set"; then
32277 echo $ECHO_N "(cached) $ECHO_C" >&6
32278 else
32279 cat >conftest.$ac_ext <<_ACEOF
32280 /* confdefs.h. */
32281 _ACEOF
32282 cat confdefs.h >>conftest.$ac_ext
32283 cat >>conftest.$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32287 #define $ac_func innocuous_$ac_func
32288
32289 /* System header to define __stub macros and hopefully few prototypes,
32290 which can conflict with char $ac_func (); below.
32291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32292 <limits.h> exists even on freestanding compilers. */
32293
32294 #ifdef __STDC__
32295 # include <limits.h>
32296 #else
32297 # include <assert.h>
32298 #endif
32299
32300 #undef $ac_func
32301
32302 /* Override any gcc2 internal prototype to avoid an error. */
32303 #ifdef __cplusplus
32304 extern "C"
32305 {
32306 #endif
32307 /* We use char because int might match the return type of a gcc2
32308 builtin and then its argument prototype would still apply. */
32309 char $ac_func ();
32310 /* The GNU C library defines this for functions which it implements
32311 to always fail with ENOSYS. Some functions are actually named
32312 something starting with __ and the normal name is an alias. */
32313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32314 choke me
32315 #else
32316 char (*f) () = $ac_func;
32317 #endif
32318 #ifdef __cplusplus
32319 }
32320 #endif
32321
32322 int
32323 main ()
32324 {
32325 return f != $ac_func;
32326 ;
32327 return 0;
32328 }
32329 _ACEOF
32330 rm -f conftest.$ac_objext conftest$ac_exeext
32331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32332 (eval $ac_link) 2>conftest.er1
32333 ac_status=$?
32334 grep -v '^ *+' conftest.er1 >conftest.err
32335 rm -f conftest.er1
32336 cat conftest.err >&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); } &&
32339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32341 (eval $ac_try) 2>&5
32342 ac_status=$?
32343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32344 (exit $ac_status); }; } &&
32345 { ac_try='test -s conftest$ac_exeext'
32346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32347 (eval $ac_try) 2>&5
32348 ac_status=$?
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); }; }; then
32351 eval "$as_ac_var=yes"
32352 else
32353 echo "$as_me: failed program was:" >&5
32354 sed 's/^/| /' conftest.$ac_ext >&5
32355
32356 eval "$as_ac_var=no"
32357 fi
32358 rm -f conftest.err conftest.$ac_objext \
32359 conftest$ac_exeext conftest.$ac_ext
32360 fi
32361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32363 if test `eval echo '${'$as_ac_var'}'` = yes; then
32364 cat >>confdefs.h <<_ACEOF
32365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32366 _ACEOF
32367
32368 fi
32369 done
32370
32371
32372
32373 for ac_header in sched.h
32374 do
32375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32377 echo "$as_me:$LINENO: checking for $ac_header" >&5
32378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32380 echo $ECHO_N "(cached) $ECHO_C" >&6
32381 fi
32382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32384 else
32385 # Is the header compilable?
32386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32388 cat >conftest.$ac_ext <<_ACEOF
32389 /* confdefs.h. */
32390 _ACEOF
32391 cat confdefs.h >>conftest.$ac_ext
32392 cat >>conftest.$ac_ext <<_ACEOF
32393 /* end confdefs.h. */
32394 $ac_includes_default
32395 #include <$ac_header>
32396 _ACEOF
32397 rm -f conftest.$ac_objext
32398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32399 (eval $ac_compile) 2>conftest.er1
32400 ac_status=$?
32401 grep -v '^ *+' conftest.er1 >conftest.err
32402 rm -f conftest.er1
32403 cat conftest.err >&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } &&
32406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32409 ac_status=$?
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; } &&
32412 { ac_try='test -s conftest.$ac_objext'
32413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32414 (eval $ac_try) 2>&5
32415 ac_status=$?
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); }; }; then
32418 ac_header_compiler=yes
32419 else
32420 echo "$as_me: failed program was:" >&5
32421 sed 's/^/| /' conftest.$ac_ext >&5
32422
32423 ac_header_compiler=no
32424 fi
32425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32427 echo "${ECHO_T}$ac_header_compiler" >&6
32428
32429 # Is the header present?
32430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32432 cat >conftest.$ac_ext <<_ACEOF
32433 /* confdefs.h. */
32434 _ACEOF
32435 cat confdefs.h >>conftest.$ac_ext
32436 cat >>conftest.$ac_ext <<_ACEOF
32437 /* end confdefs.h. */
32438 #include <$ac_header>
32439 _ACEOF
32440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32442 ac_status=$?
32443 grep -v '^ *+' conftest.er1 >conftest.err
32444 rm -f conftest.er1
32445 cat conftest.err >&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); } >/dev/null; then
32448 if test -s conftest.err; then
32449 ac_cpp_err=$ac_c_preproc_warn_flag
32450 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32451 else
32452 ac_cpp_err=
32453 fi
32454 else
32455 ac_cpp_err=yes
32456 fi
32457 if test -z "$ac_cpp_err"; then
32458 ac_header_preproc=yes
32459 else
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.$ac_ext >&5
32462
32463 ac_header_preproc=no
32464 fi
32465 rm -f conftest.err conftest.$ac_ext
32466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32467 echo "${ECHO_T}$ac_header_preproc" >&6
32468
32469 # So? What about this header?
32470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32471 yes:no: )
32472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32476 ac_header_preproc=yes
32477 ;;
32478 no:yes:* )
32479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32491 (
32492 cat <<\_ASBOX
32493 ## ----------------------------------------- ##
32494 ## Report this to wx-dev@lists.wxwidgets.org ##
32495 ## ----------------------------------------- ##
32496 _ASBOX
32497 ) |
32498 sed "s/^/$as_me: WARNING: /" >&2
32499 ;;
32500 esac
32501 echo "$as_me:$LINENO: checking for $ac_header" >&5
32502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32504 echo $ECHO_N "(cached) $ECHO_C" >&6
32505 else
32506 eval "$as_ac_Header=\$ac_header_preproc"
32507 fi
32508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32510
32511 fi
32512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32513 cat >>confdefs.h <<_ACEOF
32514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32515 _ACEOF
32516
32517 fi
32518
32519 done
32520
32521 if test "$ac_cv_header_sched_h" = "yes"; then
32522 echo "$as_me:$LINENO: checking for sched_yield" >&5
32523 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32524 if test "${ac_cv_func_sched_yield+set}" = set; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 else
32527 cat >conftest.$ac_ext <<_ACEOF
32528 /* confdefs.h. */
32529 _ACEOF
32530 cat confdefs.h >>conftest.$ac_ext
32531 cat >>conftest.$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32533 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32535 #define sched_yield innocuous_sched_yield
32536
32537 /* System header to define __stub macros and hopefully few prototypes,
32538 which can conflict with char sched_yield (); below.
32539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32540 <limits.h> exists even on freestanding compilers. */
32541
32542 #ifdef __STDC__
32543 # include <limits.h>
32544 #else
32545 # include <assert.h>
32546 #endif
32547
32548 #undef sched_yield
32549
32550 /* Override any gcc2 internal prototype to avoid an error. */
32551 #ifdef __cplusplus
32552 extern "C"
32553 {
32554 #endif
32555 /* We use char because int might match the return type of a gcc2
32556 builtin and then its argument prototype would still apply. */
32557 char sched_yield ();
32558 /* The GNU C library defines this for functions which it implements
32559 to always fail with ENOSYS. Some functions are actually named
32560 something starting with __ and the normal name is an alias. */
32561 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32562 choke me
32563 #else
32564 char (*f) () = sched_yield;
32565 #endif
32566 #ifdef __cplusplus
32567 }
32568 #endif
32569
32570 int
32571 main ()
32572 {
32573 return f != sched_yield;
32574 ;
32575 return 0;
32576 }
32577 _ACEOF
32578 rm -f conftest.$ac_objext conftest$ac_exeext
32579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32580 (eval $ac_link) 2>conftest.er1
32581 ac_status=$?
32582 grep -v '^ *+' conftest.er1 >conftest.err
32583 rm -f conftest.er1
32584 cat conftest.err >&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); } &&
32587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589 (eval $ac_try) 2>&5
32590 ac_status=$?
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); }; } &&
32593 { ac_try='test -s conftest$ac_exeext'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32596 ac_status=$?
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; }; then
32599 ac_cv_func_sched_yield=yes
32600 else
32601 echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.$ac_ext >&5
32603
32604 ac_cv_func_sched_yield=no
32605 fi
32606 rm -f conftest.err conftest.$ac_objext \
32607 conftest$ac_exeext conftest.$ac_ext
32608 fi
32609 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32610 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32611 if test $ac_cv_func_sched_yield = yes; then
32612 cat >>confdefs.h <<\_ACEOF
32613 #define HAVE_SCHED_YIELD 1
32614 _ACEOF
32615
32616 else
32617
32618 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32619 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32620 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32621 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 else
32623 ac_check_lib_save_LIBS=$LIBS
32624 LIBS="-lposix4 $LIBS"
32625 cat >conftest.$ac_ext <<_ACEOF
32626 /* confdefs.h. */
32627 _ACEOF
32628 cat confdefs.h >>conftest.$ac_ext
32629 cat >>conftest.$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631
32632 /* Override any gcc2 internal prototype to avoid an error. */
32633 #ifdef __cplusplus
32634 extern "C"
32635 #endif
32636 /* We use char because int might match the return type of a gcc2
32637 builtin and then its argument prototype would still apply. */
32638 char sched_yield ();
32639 int
32640 main ()
32641 {
32642 sched_yield ();
32643 ;
32644 return 0;
32645 }
32646 _ACEOF
32647 rm -f conftest.$ac_objext conftest$ac_exeext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32649 (eval $ac_link) 2>conftest.er1
32650 ac_status=$?
32651 grep -v '^ *+' conftest.er1 >conftest.err
32652 rm -f conftest.er1
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } &&
32656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32658 (eval $ac_try) 2>&5
32659 ac_status=$?
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; } &&
32662 { ac_try='test -s conftest$ac_exeext'
32663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32664 (eval $ac_try) 2>&5
32665 ac_status=$?
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); }; }; then
32668 ac_cv_lib_posix4_sched_yield=yes
32669 else
32670 echo "$as_me: failed program was:" >&5
32671 sed 's/^/| /' conftest.$ac_ext >&5
32672
32673 ac_cv_lib_posix4_sched_yield=no
32674 fi
32675 rm -f conftest.err conftest.$ac_objext \
32676 conftest$ac_exeext conftest.$ac_ext
32677 LIBS=$ac_check_lib_save_LIBS
32678 fi
32679 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32680 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32681 if test $ac_cv_lib_posix4_sched_yield = yes; then
32682 cat >>confdefs.h <<\_ACEOF
32683 #define HAVE_SCHED_YIELD 1
32684 _ACEOF
32685 POSIX4_LINK=" -lposix4"
32686 else
32687 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32688 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32689
32690 fi
32691
32692
32693
32694 fi
32695
32696 fi
32697
32698 HAVE_PRIOR_FUNCS=0
32699 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32700 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32701 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32702 echo $ECHO_N "(cached) $ECHO_C" >&6
32703 else
32704 cat >conftest.$ac_ext <<_ACEOF
32705 /* confdefs.h. */
32706 _ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32710 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32712 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32713
32714 /* System header to define __stub macros and hopefully few prototypes,
32715 which can conflict with char pthread_attr_getschedpolicy (); below.
32716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32717 <limits.h> exists even on freestanding compilers. */
32718
32719 #ifdef __STDC__
32720 # include <limits.h>
32721 #else
32722 # include <assert.h>
32723 #endif
32724
32725 #undef pthread_attr_getschedpolicy
32726
32727 /* Override any gcc2 internal prototype to avoid an error. */
32728 #ifdef __cplusplus
32729 extern "C"
32730 {
32731 #endif
32732 /* We use char because int might match the return type of a gcc2
32733 builtin and then its argument prototype would still apply. */
32734 char pthread_attr_getschedpolicy ();
32735 /* The GNU C library defines this for functions which it implements
32736 to always fail with ENOSYS. Some functions are actually named
32737 something starting with __ and the normal name is an alias. */
32738 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32739 choke me
32740 #else
32741 char (*f) () = pthread_attr_getschedpolicy;
32742 #endif
32743 #ifdef __cplusplus
32744 }
32745 #endif
32746
32747 int
32748 main ()
32749 {
32750 return f != pthread_attr_getschedpolicy;
32751 ;
32752 return 0;
32753 }
32754 _ACEOF
32755 rm -f conftest.$ac_objext conftest$ac_exeext
32756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32757 (eval $ac_link) 2>conftest.er1
32758 ac_status=$?
32759 grep -v '^ *+' conftest.er1 >conftest.err
32760 rm -f conftest.er1
32761 cat conftest.err >&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } &&
32764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32766 (eval $ac_try) 2>&5
32767 ac_status=$?
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); }; } &&
32770 { ac_try='test -s conftest$ac_exeext'
32771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32772 (eval $ac_try) 2>&5
32773 ac_status=$?
32774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 (exit $ac_status); }; }; then
32776 ac_cv_func_pthread_attr_getschedpolicy=yes
32777 else
32778 echo "$as_me: failed program was:" >&5
32779 sed 's/^/| /' conftest.$ac_ext >&5
32780
32781 ac_cv_func_pthread_attr_getschedpolicy=no
32782 fi
32783 rm -f conftest.err conftest.$ac_objext \
32784 conftest$ac_exeext conftest.$ac_ext
32785 fi
32786 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32787 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32788 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32789 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32790 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32791 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32793 else
32794 cat >conftest.$ac_ext <<_ACEOF
32795 /* confdefs.h. */
32796 _ACEOF
32797 cat confdefs.h >>conftest.$ac_ext
32798 cat >>conftest.$ac_ext <<_ACEOF
32799 /* end confdefs.h. */
32800 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32802 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32803
32804 /* System header to define __stub macros and hopefully few prototypes,
32805 which can conflict with char pthread_attr_setschedparam (); below.
32806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32807 <limits.h> exists even on freestanding compilers. */
32808
32809 #ifdef __STDC__
32810 # include <limits.h>
32811 #else
32812 # include <assert.h>
32813 #endif
32814
32815 #undef pthread_attr_setschedparam
32816
32817 /* Override any gcc2 internal prototype to avoid an error. */
32818 #ifdef __cplusplus
32819 extern "C"
32820 {
32821 #endif
32822 /* We use char because int might match the return type of a gcc2
32823 builtin and then its argument prototype would still apply. */
32824 char pthread_attr_setschedparam ();
32825 /* The GNU C library defines this for functions which it implements
32826 to always fail with ENOSYS. Some functions are actually named
32827 something starting with __ and the normal name is an alias. */
32828 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32829 choke me
32830 #else
32831 char (*f) () = pthread_attr_setschedparam;
32832 #endif
32833 #ifdef __cplusplus
32834 }
32835 #endif
32836
32837 int
32838 main ()
32839 {
32840 return f != pthread_attr_setschedparam;
32841 ;
32842 return 0;
32843 }
32844 _ACEOF
32845 rm -f conftest.$ac_objext conftest$ac_exeext
32846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32847 (eval $ac_link) 2>conftest.er1
32848 ac_status=$?
32849 grep -v '^ *+' conftest.er1 >conftest.err
32850 rm -f conftest.er1
32851 cat conftest.err >&5
32852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32853 (exit $ac_status); } &&
32854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32856 (eval $ac_try) 2>&5
32857 ac_status=$?
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); }; } &&
32860 { ac_try='test -s conftest$ac_exeext'
32861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32862 (eval $ac_try) 2>&5
32863 ac_status=$?
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); }; }; then
32866 ac_cv_func_pthread_attr_setschedparam=yes
32867 else
32868 echo "$as_me: failed program was:" >&5
32869 sed 's/^/| /' conftest.$ac_ext >&5
32870
32871 ac_cv_func_pthread_attr_setschedparam=no
32872 fi
32873 rm -f conftest.err conftest.$ac_objext \
32874 conftest$ac_exeext conftest.$ac_ext
32875 fi
32876 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32877 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32878 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32879 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32880 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32881 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32882 echo $ECHO_N "(cached) $ECHO_C" >&6
32883 else
32884 cat >conftest.$ac_ext <<_ACEOF
32885 /* confdefs.h. */
32886 _ACEOF
32887 cat confdefs.h >>conftest.$ac_ext
32888 cat >>conftest.$ac_ext <<_ACEOF
32889 /* end confdefs.h. */
32890 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32892 #define sched_get_priority_max innocuous_sched_get_priority_max
32893
32894 /* System header to define __stub macros and hopefully few prototypes,
32895 which can conflict with char sched_get_priority_max (); below.
32896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32897 <limits.h> exists even on freestanding compilers. */
32898
32899 #ifdef __STDC__
32900 # include <limits.h>
32901 #else
32902 # include <assert.h>
32903 #endif
32904
32905 #undef sched_get_priority_max
32906
32907 /* Override any gcc2 internal prototype to avoid an error. */
32908 #ifdef __cplusplus
32909 extern "C"
32910 {
32911 #endif
32912 /* We use char because int might match the return type of a gcc2
32913 builtin and then its argument prototype would still apply. */
32914 char sched_get_priority_max ();
32915 /* The GNU C library defines this for functions which it implements
32916 to always fail with ENOSYS. Some functions are actually named
32917 something starting with __ and the normal name is an alias. */
32918 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32919 choke me
32920 #else
32921 char (*f) () = sched_get_priority_max;
32922 #endif
32923 #ifdef __cplusplus
32924 }
32925 #endif
32926
32927 int
32928 main ()
32929 {
32930 return f != sched_get_priority_max;
32931 ;
32932 return 0;
32933 }
32934 _ACEOF
32935 rm -f conftest.$ac_objext conftest$ac_exeext
32936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32937 (eval $ac_link) 2>conftest.er1
32938 ac_status=$?
32939 grep -v '^ *+' conftest.er1 >conftest.err
32940 rm -f conftest.er1
32941 cat conftest.err >&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); } &&
32944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32946 (eval $ac_try) 2>&5
32947 ac_status=$?
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); }; } &&
32950 { ac_try='test -s conftest$ac_exeext'
32951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32952 (eval $ac_try) 2>&5
32953 ac_status=$?
32954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32955 (exit $ac_status); }; }; then
32956 ac_cv_func_sched_get_priority_max=yes
32957 else
32958 echo "$as_me: failed program was:" >&5
32959 sed 's/^/| /' conftest.$ac_ext >&5
32960
32961 ac_cv_func_sched_get_priority_max=no
32962 fi
32963 rm -f conftest.err conftest.$ac_objext \
32964 conftest$ac_exeext conftest.$ac_ext
32965 fi
32966 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32967 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32968 if test $ac_cv_func_sched_get_priority_max = yes; then
32969 HAVE_PRIOR_FUNCS=1
32970 else
32971 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32972 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32973 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32974 echo $ECHO_N "(cached) $ECHO_C" >&6
32975 else
32976 ac_check_lib_save_LIBS=$LIBS
32977 LIBS="-lposix4 $LIBS"
32978 cat >conftest.$ac_ext <<_ACEOF
32979 /* confdefs.h. */
32980 _ACEOF
32981 cat confdefs.h >>conftest.$ac_ext
32982 cat >>conftest.$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32984
32985 /* Override any gcc2 internal prototype to avoid an error. */
32986 #ifdef __cplusplus
32987 extern "C"
32988 #endif
32989 /* We use char because int might match the return type of a gcc2
32990 builtin and then its argument prototype would still apply. */
32991 char sched_get_priority_max ();
32992 int
32993 main ()
32994 {
32995 sched_get_priority_max ();
32996 ;
32997 return 0;
32998 }
32999 _ACEOF
33000 rm -f conftest.$ac_objext conftest$ac_exeext
33001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33002 (eval $ac_link) 2>conftest.er1
33003 ac_status=$?
33004 grep -v '^ *+' conftest.er1 >conftest.err
33005 rm -f conftest.er1
33006 cat conftest.err >&5
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); } &&
33009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33011 (eval $ac_try) 2>&5
33012 ac_status=$?
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); }; } &&
33015 { ac_try='test -s conftest$ac_exeext'
33016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33017 (eval $ac_try) 2>&5
33018 ac_status=$?
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); }; }; then
33021 ac_cv_lib_posix4_sched_get_priority_max=yes
33022 else
33023 echo "$as_me: failed program was:" >&5
33024 sed 's/^/| /' conftest.$ac_ext >&5
33025
33026 ac_cv_lib_posix4_sched_get_priority_max=no
33027 fi
33028 rm -f conftest.err conftest.$ac_objext \
33029 conftest$ac_exeext conftest.$ac_ext
33030 LIBS=$ac_check_lib_save_LIBS
33031 fi
33032 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33033 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33034 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33035
33036 HAVE_PRIOR_FUNCS=1
33037 POSIX4_LINK=" -lposix4"
33038
33039 fi
33040
33041
33042 fi
33043
33044
33045 fi
33046
33047
33048 fi
33049
33050
33051 if test "$HAVE_PRIOR_FUNCS" = 1; then
33052 cat >>confdefs.h <<\_ACEOF
33053 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33054 _ACEOF
33055
33056 else
33057 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33058 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33059 fi
33060
33061 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33062 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33063 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33064 echo $ECHO_N "(cached) $ECHO_C" >&6
33065 else
33066 cat >conftest.$ac_ext <<_ACEOF
33067 /* confdefs.h. */
33068 _ACEOF
33069 cat confdefs.h >>conftest.$ac_ext
33070 cat >>conftest.$ac_ext <<_ACEOF
33071 /* end confdefs.h. */
33072 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33074 #define pthread_cancel innocuous_pthread_cancel
33075
33076 /* System header to define __stub macros and hopefully few prototypes,
33077 which can conflict with char pthread_cancel (); below.
33078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33079 <limits.h> exists even on freestanding compilers. */
33080
33081 #ifdef __STDC__
33082 # include <limits.h>
33083 #else
33084 # include <assert.h>
33085 #endif
33086
33087 #undef pthread_cancel
33088
33089 /* Override any gcc2 internal prototype to avoid an error. */
33090 #ifdef __cplusplus
33091 extern "C"
33092 {
33093 #endif
33094 /* We use char because int might match the return type of a gcc2
33095 builtin and then its argument prototype would still apply. */
33096 char pthread_cancel ();
33097 /* The GNU C library defines this for functions which it implements
33098 to always fail with ENOSYS. Some functions are actually named
33099 something starting with __ and the normal name is an alias. */
33100 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33101 choke me
33102 #else
33103 char (*f) () = pthread_cancel;
33104 #endif
33105 #ifdef __cplusplus
33106 }
33107 #endif
33108
33109 int
33110 main ()
33111 {
33112 return f != pthread_cancel;
33113 ;
33114 return 0;
33115 }
33116 _ACEOF
33117 rm -f conftest.$ac_objext conftest$ac_exeext
33118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33119 (eval $ac_link) 2>conftest.er1
33120 ac_status=$?
33121 grep -v '^ *+' conftest.er1 >conftest.err
33122 rm -f conftest.er1
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } &&
33126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33128 (eval $ac_try) 2>&5
33129 ac_status=$?
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); }; } &&
33132 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
33138 ac_cv_func_pthread_cancel=yes
33139 else
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.$ac_ext >&5
33142
33143 ac_cv_func_pthread_cancel=no
33144 fi
33145 rm -f conftest.err conftest.$ac_objext \
33146 conftest$ac_exeext conftest.$ac_ext
33147 fi
33148 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33149 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33150 if test $ac_cv_func_pthread_cancel = yes; then
33151 cat >>confdefs.h <<\_ACEOF
33152 #define HAVE_PTHREAD_CANCEL 1
33153 _ACEOF
33154
33155 else
33156 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33157 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33158 fi
33159
33160
33161
33162
33163 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33164 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33165 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 else
33168
33169 cat >conftest.$ac_ext <<_ACEOF
33170 /* confdefs.h. */
33171 _ACEOF
33172 cat confdefs.h >>conftest.$ac_ext
33173 cat >>conftest.$ac_ext <<_ACEOF
33174 /* end confdefs.h. */
33175 #include <pthread.h>
33176 int
33177 main ()
33178 {
33179
33180 pthread_mutexattr_t attr;
33181 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33182
33183 ;
33184 return 0;
33185 }
33186 _ACEOF
33187 rm -f conftest.$ac_objext
33188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33189 (eval $ac_compile) 2>conftest.er1
33190 ac_status=$?
33191 grep -v '^ *+' conftest.er1 >conftest.err
33192 rm -f conftest.er1
33193 cat conftest.err >&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); } &&
33196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33198 (eval $ac_try) 2>&5
33199 ac_status=$?
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); }; } &&
33202 { ac_try='test -s conftest.$ac_objext'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33205 ac_status=$?
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; }; then
33208
33209 wx_cv_type_pthread_mutexattr_t=yes
33210
33211 else
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.$ac_ext >&5
33214
33215
33216 wx_cv_type_pthread_mutexattr_t=no
33217
33218
33219 fi
33220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33221
33222 fi
33223 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33224 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33225
33226 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33227 cat >>confdefs.h <<\_ACEOF
33228 #define HAVE_PTHREAD_MUTEXATTR_T 1
33229 _ACEOF
33230
33231 else
33232 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33233 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33234 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33235 echo $ECHO_N "(cached) $ECHO_C" >&6
33236 else
33237
33238 cat >conftest.$ac_ext <<_ACEOF
33239 /* confdefs.h. */
33240 _ACEOF
33241 cat confdefs.h >>conftest.$ac_ext
33242 cat >>conftest.$ac_ext <<_ACEOF
33243 /* end confdefs.h. */
33244 #include <pthread.h>
33245 int
33246 main ()
33247 {
33248
33249 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33250
33251 ;
33252 return 0;
33253 }
33254 _ACEOF
33255 rm -f conftest.$ac_objext
33256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33257 (eval $ac_compile) 2>conftest.er1
33258 ac_status=$?
33259 grep -v '^ *+' conftest.er1 >conftest.err
33260 rm -f conftest.er1
33261 cat conftest.err >&5
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); } &&
33264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33266 (eval $ac_try) 2>&5
33267 ac_status=$?
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); }; } &&
33270 { ac_try='test -s conftest.$ac_objext'
33271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33272 (eval $ac_try) 2>&5
33273 ac_status=$?
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); }; }; then
33276
33277 wx_cv_type_pthread_rec_mutex_init=yes
33278
33279 else
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33282
33283
33284 wx_cv_type_pthread_rec_mutex_init=no
33285
33286
33287 fi
33288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33289
33290 fi
33291 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33292 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33293 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33294 cat >>confdefs.h <<\_ACEOF
33295 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33296 _ACEOF
33297
33298 else
33299 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33300 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33301 fi
33302 fi
33303 fi
33304
33305 else
33306 if test "$wxUSE_THREADS" = "yes" ; then
33307 case "${host}" in
33308 *-*-mingw32* )
33309 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33310 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33311 if test "${wx_cv_cflags_mthread+set}" = set; then
33312 echo $ECHO_N "(cached) $ECHO_C" >&6
33313 else
33314
33315 CFLAGS_OLD="$CFLAGS"
33316 CFLAGS="$CFLAGS -mthreads"
33317 cat >conftest.$ac_ext <<_ACEOF
33318 /* confdefs.h. */
33319 _ACEOF
33320 cat confdefs.h >>conftest.$ac_ext
33321 cat >>conftest.$ac_ext <<_ACEOF
33322 /* end confdefs.h. */
33323
33324 int
33325 main ()
33326 {
33327
33328 ;
33329 return 0;
33330 }
33331 _ACEOF
33332 rm -f conftest.$ac_objext
33333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33334 (eval $ac_compile) 2>conftest.er1
33335 ac_status=$?
33336 grep -v '^ *+' conftest.er1 >conftest.err
33337 rm -f conftest.er1
33338 cat conftest.err >&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); } &&
33341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343 (eval $ac_try) 2>&5
33344 ac_status=$?
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; } &&
33347 { ac_try='test -s conftest.$ac_objext'
33348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349 (eval $ac_try) 2>&5
33350 ac_status=$?
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; }; then
33353 wx_cv_cflags_mthread=yes
33354 else
33355 echo "$as_me: failed program was:" >&5
33356 sed 's/^/| /' conftest.$ac_ext >&5
33357
33358 wx_cv_cflags_mthread=no
33359
33360 fi
33361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33362
33363
33364 fi
33365 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33366 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33367
33368 if test "$wx_cv_cflags_mthread" = "yes"; then
33369 CXXFLAGS="$CXXFLAGS -mthreads"
33370 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33371 LDFLAGS="$LDFLAGS -mthreads"
33372 else
33373 CFLAGS="$CFLAGS_OLD"
33374 fi
33375 ;;
33376 *-pc-os2*emx )
33377 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33378 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33379 LDFLAGS="$LDFLAGS -Zmt"
33380 ;;
33381 esac
33382 fi
33383 fi
33384
33385 if test "$wxUSE_THREADS" = "yes"; then
33386 cat >>confdefs.h <<\_ACEOF
33387 #define wxUSE_THREADS 1
33388 _ACEOF
33389
33390
33391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33392 else
33393 if test "$ac_cv_func_strtok_r" = "yes"; then
33394 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33395 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33396 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33397 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33398 echo "$as_me:$LINENO: result: yes" >&5
33399 echo "${ECHO_T}yes" >&6
33400 else
33401 echo "$as_me:$LINENO: result: no" >&5
33402 echo "${ECHO_T}no" >&6
33403 fi
33404 fi
33405 fi
33406
33407 if test "$WXGTK20" = 1 ; then
33408 cat >>confdefs.h <<_ACEOF
33409 #define __WXGTK20__ $WXGTK20
33410 _ACEOF
33411
33412 WXGTK12=1
33413 fi
33414
33415 if test "$WXGTK12" = 1 ; then
33416 cat >>confdefs.h <<_ACEOF
33417 #define __WXGTK12__ $WXGTK12
33418 _ACEOF
33419
33420 fi
33421
33422 if test "$WXGTK127" = 1 ; then
33423 cat >>confdefs.h <<_ACEOF
33424 #define __WXGTK127__ $WXGTK127
33425 _ACEOF
33426
33427 fi
33428
33429 if test "$WXGPE" = 1 ; then
33430 cat >>confdefs.h <<_ACEOF
33431 #define __WXGPE__ $WXGPE
33432 _ACEOF
33433
33434 fi
33435
33436 WXDEBUG=
33437
33438 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33439 WXDEBUG="-g"
33440 wxUSE_OPTIMISE=no
33441 fi
33442
33443 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33444 wxUSE_DEBUG_INFO=yes
33445 WXDEBUG="-ggdb"
33446 fi
33447
33448 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33449 cat >>confdefs.h <<\_ACEOF
33450 #define WXDEBUG 1
33451 _ACEOF
33452
33453 WXDEBUG_DEFINE="-D__WXDEBUG__"
33454 else
33455 if test "$wxUSE_GTK" = 1 ; then
33456 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33457 fi
33458 fi
33459
33460 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33461 cat >>confdefs.h <<\_ACEOF
33462 #define wxUSE_MEMORY_TRACING 1
33463 _ACEOF
33464
33465 cat >>confdefs.h <<\_ACEOF
33466 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33467 _ACEOF
33468
33469 cat >>confdefs.h <<\_ACEOF
33470 #define wxUSE_DEBUG_NEW_ALWAYS 1
33471 _ACEOF
33472
33473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33474 fi
33475
33476 if test "$wxUSE_DMALLOC" = "yes" ; then
33477 DMALLOC_LIBS="-ldmalloc"
33478 fi
33479
33480 PROFILE=
33481 if test "$wxUSE_PROFILE" = "yes" ; then
33482 PROFILE=" -pg"
33483 fi
33484
33485 CODE_GEN_FLAGS=
33486 CODE_GEN_FLAGS_CXX=
33487 if test "$GCC" = "yes" ; then
33488 if test "$wxUSE_NO_RTTI" = "yes" ; then
33489 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33490 fi
33491 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33492 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33493 fi
33494 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33495 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33496 fi
33497
33498 case "${host}" in
33499 powerpc*-*-aix* )
33500 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33501 ;;
33502 *-hppa* )
33503 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33504 ;;
33505 esac
33506 fi
33507
33508 OPTIMISE=
33509 if test "$wxUSE_OPTIMISE" = "no" ; then
33510 if test "$GCC" = yes ; then
33511 OPTIMISE="-O0"
33512 fi
33513 else
33514 if test "$GCC" = yes ; then
33515 OPTIMISE="-O2"
33516
33517 case "${host}" in
33518 i586-*-*|i686-*-* )
33519 OPTIMISE="${OPTIMISE} "
33520 ;;
33521 esac
33522 else
33523 OPTIMISE="-O"
33524 fi
33525 fi
33526
33527
33528 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33529 cat >>confdefs.h <<\_ACEOF
33530 #define WXWIN_COMPATIBILITY_2_2 1
33531 _ACEOF
33532
33533
33534 WXWIN_COMPATIBILITY_2_4="yes"
33535 fi
33536
33537 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33538 cat >>confdefs.h <<\_ACEOF
33539 #define WXWIN_COMPATIBILITY_2_4 1
33540 _ACEOF
33541
33542 fi
33543
33544
33545 if test "$wxUSE_GUI" = "yes"; then
33546 cat >>confdefs.h <<\_ACEOF
33547 #define wxUSE_GUI 1
33548 _ACEOF
33549
33550
33551 else
33552 cat >>confdefs.h <<\_ACEOF
33553 #define wxUSE_NOGUI 1
33554 _ACEOF
33555
33556 fi
33557
33558
33559 if test "$wxUSE_UNIX" = "yes"; then
33560 cat >>confdefs.h <<\_ACEOF
33561 #define wxUSE_UNIX 1
33562 _ACEOF
33563
33564 fi
33565
33566
33567 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33568
33569 HAVE_DL_FUNCS=0
33570 HAVE_SHL_FUNCS=0
33571 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33572 if test "$USE_DARWIN" = 1; then
33573 HAVE_DL_FUNCS=1
33574 else
33575
33576 for ac_func in dlopen
33577 do
33578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 echo "$as_me:$LINENO: checking for $ac_func" >&5
33580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33581 if eval "test \"\${$as_ac_var+set}\" = set"; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 else
33584 cat >conftest.$ac_ext <<_ACEOF
33585 /* confdefs.h. */
33586 _ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33592 #define $ac_func innocuous_$ac_func
33593
33594 /* System header to define __stub macros and hopefully few prototypes,
33595 which can conflict with char $ac_func (); below.
33596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33597 <limits.h> exists even on freestanding compilers. */
33598
33599 #ifdef __STDC__
33600 # include <limits.h>
33601 #else
33602 # include <assert.h>
33603 #endif
33604
33605 #undef $ac_func
33606
33607 /* Override any gcc2 internal prototype to avoid an error. */
33608 #ifdef __cplusplus
33609 extern "C"
33610 {
33611 #endif
33612 /* We use char because int might match the return type of a gcc2
33613 builtin and then its argument prototype would still apply. */
33614 char $ac_func ();
33615 /* The GNU C library defines this for functions which it implements
33616 to always fail with ENOSYS. Some functions are actually named
33617 something starting with __ and the normal name is an alias. */
33618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33619 choke me
33620 #else
33621 char (*f) () = $ac_func;
33622 #endif
33623 #ifdef __cplusplus
33624 }
33625 #endif
33626
33627 int
33628 main ()
33629 {
33630 return f != $ac_func;
33631 ;
33632 return 0;
33633 }
33634 _ACEOF
33635 rm -f conftest.$ac_objext conftest$ac_exeext
33636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33637 (eval $ac_link) 2>conftest.er1
33638 ac_status=$?
33639 grep -v '^ *+' conftest.er1 >conftest.err
33640 rm -f conftest.er1
33641 cat conftest.err >&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); } &&
33644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33646 (eval $ac_try) 2>&5
33647 ac_status=$?
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); }; } &&
33650 { ac_try='test -s conftest$ac_exeext'
33651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33652 (eval $ac_try) 2>&5
33653 ac_status=$?
33654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655 (exit $ac_status); }; }; then
33656 eval "$as_ac_var=yes"
33657 else
33658 echo "$as_me: failed program was:" >&5
33659 sed 's/^/| /' conftest.$ac_ext >&5
33660
33661 eval "$as_ac_var=no"
33662 fi
33663 rm -f conftest.err conftest.$ac_objext \
33664 conftest$ac_exeext conftest.$ac_ext
33665 fi
33666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33668 if test `eval echo '${'$as_ac_var'}'` = yes; then
33669 cat >>confdefs.h <<_ACEOF
33670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33671 _ACEOF
33672
33673 cat >>confdefs.h <<\_ACEOF
33674 #define HAVE_DLOPEN 1
33675 _ACEOF
33676
33677 HAVE_DL_FUNCS=1
33678
33679 else
33680
33681 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33682 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33683 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33684 echo $ECHO_N "(cached) $ECHO_C" >&6
33685 else
33686 ac_check_lib_save_LIBS=$LIBS
33687 LIBS="-ldl $LIBS"
33688 cat >conftest.$ac_ext <<_ACEOF
33689 /* confdefs.h. */
33690 _ACEOF
33691 cat confdefs.h >>conftest.$ac_ext
33692 cat >>conftest.$ac_ext <<_ACEOF
33693 /* end confdefs.h. */
33694
33695 /* Override any gcc2 internal prototype to avoid an error. */
33696 #ifdef __cplusplus
33697 extern "C"
33698 #endif
33699 /* We use char because int might match the return type of a gcc2
33700 builtin and then its argument prototype would still apply. */
33701 char dlopen ();
33702 int
33703 main ()
33704 {
33705 dlopen ();
33706 ;
33707 return 0;
33708 }
33709 _ACEOF
33710 rm -f conftest.$ac_objext conftest$ac_exeext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33712 (eval $ac_link) 2>conftest.er1
33713 ac_status=$?
33714 grep -v '^ *+' conftest.er1 >conftest.err
33715 rm -f conftest.er1
33716 cat conftest.err >&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33721 (eval $ac_try) 2>&5
33722 ac_status=$?
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); }; } &&
33725 { ac_try='test -s conftest$ac_exeext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33728 ac_status=$?
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 ac_cv_lib_dl_dlopen=yes
33732 else
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.$ac_ext >&5
33735
33736 ac_cv_lib_dl_dlopen=no
33737 fi
33738 rm -f conftest.err conftest.$ac_objext \
33739 conftest$ac_exeext conftest.$ac_ext
33740 LIBS=$ac_check_lib_save_LIBS
33741 fi
33742 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33743 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33744 if test $ac_cv_lib_dl_dlopen = yes; then
33745
33746 cat >>confdefs.h <<\_ACEOF
33747 #define HAVE_DLOPEN 1
33748 _ACEOF
33749
33750 HAVE_DL_FUNCS=1
33751 DL_LINK=" -ldl$DL_LINK"
33752
33753 else
33754
33755
33756 for ac_func in shl_load
33757 do
33758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33759 echo "$as_me:$LINENO: checking for $ac_func" >&5
33760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33761 if eval "test \"\${$as_ac_var+set}\" = set"; then
33762 echo $ECHO_N "(cached) $ECHO_C" >&6
33763 else
33764 cat >conftest.$ac_ext <<_ACEOF
33765 /* confdefs.h. */
33766 _ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33772 #define $ac_func innocuous_$ac_func
33773
33774 /* System header to define __stub macros and hopefully few prototypes,
33775 which can conflict with char $ac_func (); below.
33776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33777 <limits.h> exists even on freestanding compilers. */
33778
33779 #ifdef __STDC__
33780 # include <limits.h>
33781 #else
33782 # include <assert.h>
33783 #endif
33784
33785 #undef $ac_func
33786
33787 /* Override any gcc2 internal prototype to avoid an error. */
33788 #ifdef __cplusplus
33789 extern "C"
33790 {
33791 #endif
33792 /* We use char because int might match the return type of a gcc2
33793 builtin and then its argument prototype would still apply. */
33794 char $ac_func ();
33795 /* The GNU C library defines this for functions which it implements
33796 to always fail with ENOSYS. Some functions are actually named
33797 something starting with __ and the normal name is an alias. */
33798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33799 choke me
33800 #else
33801 char (*f) () = $ac_func;
33802 #endif
33803 #ifdef __cplusplus
33804 }
33805 #endif
33806
33807 int
33808 main ()
33809 {
33810 return f != $ac_func;
33811 ;
33812 return 0;
33813 }
33814 _ACEOF
33815 rm -f conftest.$ac_objext conftest$ac_exeext
33816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33817 (eval $ac_link) 2>conftest.er1
33818 ac_status=$?
33819 grep -v '^ *+' conftest.er1 >conftest.err
33820 rm -f conftest.er1
33821 cat conftest.err >&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); } &&
33824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33826 (eval $ac_try) 2>&5
33827 ac_status=$?
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); }; } &&
33830 { ac_try='test -s conftest$ac_exeext'
33831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33832 (eval $ac_try) 2>&5
33833 ac_status=$?
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); }; }; then
33836 eval "$as_ac_var=yes"
33837 else
33838 echo "$as_me: failed program was:" >&5
33839 sed 's/^/| /' conftest.$ac_ext >&5
33840
33841 eval "$as_ac_var=no"
33842 fi
33843 rm -f conftest.err conftest.$ac_objext \
33844 conftest$ac_exeext conftest.$ac_ext
33845 fi
33846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33848 if test `eval echo '${'$as_ac_var'}'` = yes; then
33849 cat >>confdefs.h <<_ACEOF
33850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33851 _ACEOF
33852
33853 cat >>confdefs.h <<\_ACEOF
33854 #define HAVE_SHL_LOAD 1
33855 _ACEOF
33856
33857 HAVE_SHL_FUNCS=1
33858
33859 else
33860
33861 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33862 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33863 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 else
33866 ac_check_lib_save_LIBS=$LIBS
33867 LIBS="-lshl_load $LIBS"
33868 cat >conftest.$ac_ext <<_ACEOF
33869 /* confdefs.h. */
33870 _ACEOF
33871 cat confdefs.h >>conftest.$ac_ext
33872 cat >>conftest.$ac_ext <<_ACEOF
33873 /* end confdefs.h. */
33874
33875 /* Override any gcc2 internal prototype to avoid an error. */
33876 #ifdef __cplusplus
33877 extern "C"
33878 #endif
33879 /* We use char because int might match the return type of a gcc2
33880 builtin and then its argument prototype would still apply. */
33881 char dld ();
33882 int
33883 main ()
33884 {
33885 dld ();
33886 ;
33887 return 0;
33888 }
33889 _ACEOF
33890 rm -f conftest.$ac_objext conftest$ac_exeext
33891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33892 (eval $ac_link) 2>conftest.er1
33893 ac_status=$?
33894 grep -v '^ *+' conftest.er1 >conftest.err
33895 rm -f conftest.er1
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } &&
33899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; } &&
33905 { ac_try='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 ac_cv_lib_shl_load_dld=yes
33912 else
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.$ac_ext >&5
33915
33916 ac_cv_lib_shl_load_dld=no
33917 fi
33918 rm -f conftest.err conftest.$ac_objext \
33919 conftest$ac_exeext conftest.$ac_ext
33920 LIBS=$ac_check_lib_save_LIBS
33921 fi
33922 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33923 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33924 if test $ac_cv_lib_shl_load_dld = yes; then
33925
33926 HAVE_SHL_FUNCS=1
33927 DL_LINK=" -ldld$DL_LINK"
33928
33929 fi
33930
33931
33932 fi
33933 done
33934
33935
33936 fi
33937
33938
33939 fi
33940 done
33941
33942
33943 if test "$HAVE_DL_FUNCS" = 1; then
33944
33945 for ac_func in dlerror
33946 do
33947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33948 echo "$as_me:$LINENO: checking for $ac_func" >&5
33949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33950 if eval "test \"\${$as_ac_var+set}\" = set"; then
33951 echo $ECHO_N "(cached) $ECHO_C" >&6
33952 else
33953 cat >conftest.$ac_ext <<_ACEOF
33954 /* confdefs.h. */
33955 _ACEOF
33956 cat confdefs.h >>conftest.$ac_ext
33957 cat >>conftest.$ac_ext <<_ACEOF
33958 /* end confdefs.h. */
33959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33961 #define $ac_func innocuous_$ac_func
33962
33963 /* System header to define __stub macros and hopefully few prototypes,
33964 which can conflict with char $ac_func (); below.
33965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33966 <limits.h> exists even on freestanding compilers. */
33967
33968 #ifdef __STDC__
33969 # include <limits.h>
33970 #else
33971 # include <assert.h>
33972 #endif
33973
33974 #undef $ac_func
33975
33976 /* Override any gcc2 internal prototype to avoid an error. */
33977 #ifdef __cplusplus
33978 extern "C"
33979 {
33980 #endif
33981 /* We use char because int might match the return type of a gcc2
33982 builtin and then its argument prototype would still apply. */
33983 char $ac_func ();
33984 /* The GNU C library defines this for functions which it implements
33985 to always fail with ENOSYS. Some functions are actually named
33986 something starting with __ and the normal name is an alias. */
33987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33988 choke me
33989 #else
33990 char (*f) () = $ac_func;
33991 #endif
33992 #ifdef __cplusplus
33993 }
33994 #endif
33995
33996 int
33997 main ()
33998 {
33999 return f != $ac_func;
34000 ;
34001 return 0;
34002 }
34003 _ACEOF
34004 rm -f conftest.$ac_objext conftest$ac_exeext
34005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34006 (eval $ac_link) 2>conftest.er1
34007 ac_status=$?
34008 grep -v '^ *+' conftest.er1 >conftest.err
34009 rm -f conftest.er1
34010 cat conftest.err >&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); } &&
34013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34015 (eval $ac_try) 2>&5
34016 ac_status=$?
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; } &&
34019 { ac_try='test -s conftest$ac_exeext'
34020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34021 (eval $ac_try) 2>&5
34022 ac_status=$?
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); }; }; then
34025 eval "$as_ac_var=yes"
34026 else
34027 echo "$as_me: failed program was:" >&5
34028 sed 's/^/| /' conftest.$ac_ext >&5
34029
34030 eval "$as_ac_var=no"
34031 fi
34032 rm -f conftest.err conftest.$ac_objext \
34033 conftest$ac_exeext conftest.$ac_ext
34034 fi
34035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34037 if test `eval echo '${'$as_ac_var'}'` = yes; then
34038 cat >>confdefs.h <<_ACEOF
34039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34040 _ACEOF
34041 cat >>confdefs.h <<\_ACEOF
34042 #define HAVE_DLERROR 1
34043 _ACEOF
34044
34045 else
34046
34047 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34048 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34049 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34050 echo $ECHO_N "(cached) $ECHO_C" >&6
34051 else
34052 ac_check_lib_save_LIBS=$LIBS
34053 LIBS="-ldl $LIBS"
34054 cat >conftest.$ac_ext <<_ACEOF
34055 /* confdefs.h. */
34056 _ACEOF
34057 cat confdefs.h >>conftest.$ac_ext
34058 cat >>conftest.$ac_ext <<_ACEOF
34059 /* end confdefs.h. */
34060
34061 /* Override any gcc2 internal prototype to avoid an error. */
34062 #ifdef __cplusplus
34063 extern "C"
34064 #endif
34065 /* We use char because int might match the return type of a gcc2
34066 builtin and then its argument prototype would still apply. */
34067 char dlerror ();
34068 int
34069 main ()
34070 {
34071 dlerror ();
34072 ;
34073 return 0;
34074 }
34075 _ACEOF
34076 rm -f conftest.$ac_objext conftest$ac_exeext
34077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34078 (eval $ac_link) 2>conftest.er1
34079 ac_status=$?
34080 grep -v '^ *+' conftest.er1 >conftest.err
34081 rm -f conftest.er1
34082 cat conftest.err >&5
34083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084 (exit $ac_status); } &&
34085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34087 (eval $ac_try) 2>&5
34088 ac_status=$?
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); }; } &&
34091 { ac_try='test -s conftest$ac_exeext'
34092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34093 (eval $ac_try) 2>&5
34094 ac_status=$?
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); }; }; then
34097 ac_cv_lib_dl_dlerror=yes
34098 else
34099 echo "$as_me: failed program was:" >&5
34100 sed 's/^/| /' conftest.$ac_ext >&5
34101
34102 ac_cv_lib_dl_dlerror=no
34103 fi
34104 rm -f conftest.err conftest.$ac_objext \
34105 conftest$ac_exeext conftest.$ac_ext
34106 LIBS=$ac_check_lib_save_LIBS
34107 fi
34108 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34109 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34110 if test $ac_cv_lib_dl_dlerror = yes; then
34111 cat >>confdefs.h <<\_ACEOF
34112 #define HAVE_DLERROR 1
34113 _ACEOF
34114
34115 fi
34116
34117
34118
34119 fi
34120 done
34121
34122 fi
34123 fi
34124
34125 if test "$HAVE_DL_FUNCS" = 0; then
34126 if test "$HAVE_SHL_FUNCS" = 0; then
34127 if test "$USE_UNIX" = 1; then
34128 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34129 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34130 wxUSE_DYNAMIC_LOADER=no
34131 wxUSE_DYNLIB_CLASS=no
34132 else
34133 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34134 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34135 fi
34136 fi
34137 fi
34138 fi
34139 fi
34140
34141 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34142 cat >>confdefs.h <<\_ACEOF
34143 #define wxUSE_DYNAMIC_LOADER 1
34144 _ACEOF
34145
34146 fi
34147 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34148 cat >>confdefs.h <<\_ACEOF
34149 #define wxUSE_DYNLIB_CLASS 1
34150 _ACEOF
34151
34152 fi
34153
34154
34155
34156 if test "$wxUSE_PLUGINS" = "yes" ; then
34157 if test "$wxUSE_SHARED" = "no" ; then
34158 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34159 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34160 wxUSE_PLUGINS=no
34161 fi
34162 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34163 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34164 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34165 wxUSE_PLUGINS=no
34166 fi
34167 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34168 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34169 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34170 wxUSE_PLUGINS=no
34171 fi
34172 if test "$wxUSE_PLUGINS" = "yes" ; then
34173 cat >>confdefs.h <<\_ACEOF
34174 #define wxUSE_PLUGINS 1
34175 _ACEOF
34176
34177 fi
34178 fi
34179
34180
34181 if test "$wxUSE_STL" = "yes"; then
34182 cat >>confdefs.h <<\_ACEOF
34183 #define wxUSE_STL 1
34184 _ACEOF
34185
34186 fi
34187
34188 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34189 cat >>confdefs.h <<\_ACEOF
34190 #define wxUSE_APPLE_IEEE 1
34191 _ACEOF
34192
34193 fi
34194
34195 if test "$wxUSE_TIMER" = "yes"; then
34196 cat >>confdefs.h <<\_ACEOF
34197 #define wxUSE_TIMER 1
34198 _ACEOF
34199
34200 fi
34201
34202 WITH_PLUGIN_SDL=0
34203 if test "$wxUSE_SOUND" = "yes"; then
34204 if test "$USE_UNIX" = "1" ; then
34205
34206 for ac_header in sys/soundcard.h
34207 do
34208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34210 echo "$as_me:$LINENO: checking for $ac_header" >&5
34211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34213 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 fi
34215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34217 else
34218 # Is the header compilable?
34219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34221 cat >conftest.$ac_ext <<_ACEOF
34222 /* confdefs.h. */
34223 _ACEOF
34224 cat confdefs.h >>conftest.$ac_ext
34225 cat >>conftest.$ac_ext <<_ACEOF
34226 /* end confdefs.h. */
34227 $ac_includes_default
34228 #include <$ac_header>
34229 _ACEOF
34230 rm -f conftest.$ac_objext
34231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34232 (eval $ac_compile) 2>conftest.er1
34233 ac_status=$?
34234 grep -v '^ *+' conftest.er1 >conftest.err
34235 rm -f conftest.er1
34236 cat conftest.err >&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); } &&
34239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34241 (eval $ac_try) 2>&5
34242 ac_status=$?
34243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34244 (exit $ac_status); }; } &&
34245 { ac_try='test -s conftest.$ac_objext'
34246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34247 (eval $ac_try) 2>&5
34248 ac_status=$?
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); }; }; then
34251 ac_header_compiler=yes
34252 else
34253 echo "$as_me: failed program was:" >&5
34254 sed 's/^/| /' conftest.$ac_ext >&5
34255
34256 ac_header_compiler=no
34257 fi
34258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34260 echo "${ECHO_T}$ac_header_compiler" >&6
34261
34262 # Is the header present?
34263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34265 cat >conftest.$ac_ext <<_ACEOF
34266 /* confdefs.h. */
34267 _ACEOF
34268 cat confdefs.h >>conftest.$ac_ext
34269 cat >>conftest.$ac_ext <<_ACEOF
34270 /* end confdefs.h. */
34271 #include <$ac_header>
34272 _ACEOF
34273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34275 ac_status=$?
34276 grep -v '^ *+' conftest.er1 >conftest.err
34277 rm -f conftest.er1
34278 cat conftest.err >&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); } >/dev/null; then
34281 if test -s conftest.err; then
34282 ac_cpp_err=$ac_c_preproc_warn_flag
34283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34284 else
34285 ac_cpp_err=
34286 fi
34287 else
34288 ac_cpp_err=yes
34289 fi
34290 if test -z "$ac_cpp_err"; then
34291 ac_header_preproc=yes
34292 else
34293 echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.$ac_ext >&5
34295
34296 ac_header_preproc=no
34297 fi
34298 rm -f conftest.err conftest.$ac_ext
34299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34300 echo "${ECHO_T}$ac_header_preproc" >&6
34301
34302 # So? What about this header?
34303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34304 yes:no: )
34305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34309 ac_header_preproc=yes
34310 ;;
34311 no:yes:* )
34312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34324 (
34325 cat <<\_ASBOX
34326 ## ----------------------------------------- ##
34327 ## Report this to wx-dev@lists.wxwidgets.org ##
34328 ## ----------------------------------------- ##
34329 _ASBOX
34330 ) |
34331 sed "s/^/$as_me: WARNING: /" >&2
34332 ;;
34333 esac
34334 echo "$as_me:$LINENO: checking for $ac_header" >&5
34335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34337 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 else
34339 eval "$as_ac_Header=\$ac_header_preproc"
34340 fi
34341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34343
34344 fi
34345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34346 cat >>confdefs.h <<_ACEOF
34347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34348 _ACEOF
34349
34350 fi
34351
34352 done
34353
34354
34355 if test "$wxUSE_LIBSDL" != "no"; then
34356
34357 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34358 if test "${with_sdl_prefix+set}" = set; then
34359 withval="$with_sdl_prefix"
34360 sdl_prefix="$withval"
34361 else
34362 sdl_prefix=""
34363 fi;
34364
34365 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34366 if test "${with_sdl_exec_prefix+set}" = set; then
34367 withval="$with_sdl_exec_prefix"
34368 sdl_exec_prefix="$withval"
34369 else
34370 sdl_exec_prefix=""
34371 fi;
34372 # Check whether --enable-sdltest or --disable-sdltest was given.
34373 if test "${enable_sdltest+set}" = set; then
34374 enableval="$enable_sdltest"
34375
34376 else
34377 enable_sdltest=yes
34378 fi;
34379
34380 if test x$sdl_exec_prefix != x ; then
34381 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34382 if test x${SDL_CONFIG+set} != xset ; then
34383 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34384 fi
34385 fi
34386 if test x$sdl_prefix != x ; then
34387 sdl_args="$sdl_args --prefix=$sdl_prefix"
34388 if test x${SDL_CONFIG+set} != xset ; then
34389 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34390 fi
34391 fi
34392
34393
34394 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34395 # Extract the first word of "sdl-config", so it can be a program name with args.
34396 set dummy sdl-config; ac_word=$2
34397 echo "$as_me:$LINENO: checking for $ac_word" >&5
34398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34399 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34400 echo $ECHO_N "(cached) $ECHO_C" >&6
34401 else
34402 case $SDL_CONFIG in
34403 [\\/]* | ?:[\\/]*)
34404 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34405 ;;
34406 *)
34407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34408 for as_dir in $PATH
34409 do
34410 IFS=$as_save_IFS
34411 test -z "$as_dir" && as_dir=.
34412 for ac_exec_ext in '' $ac_executable_extensions; do
34413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34414 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34416 break 2
34417 fi
34418 done
34419 done
34420
34421 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34422 ;;
34423 esac
34424 fi
34425 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34426
34427 if test -n "$SDL_CONFIG"; then
34428 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34429 echo "${ECHO_T}$SDL_CONFIG" >&6
34430 else
34431 echo "$as_me:$LINENO: result: no" >&5
34432 echo "${ECHO_T}no" >&6
34433 fi
34434
34435 min_sdl_version=1.2.0
34436 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34437 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34438 no_sdl=""
34439 if test "$SDL_CONFIG" = "no" ; then
34440 no_sdl=yes
34441 else
34442 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34443 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34444
34445 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34447 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34449 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34451 if test "x$enable_sdltest" = "xyes" ; then
34452 ac_save_CFLAGS="$CFLAGS"
34453 ac_save_CXXFLAGS="$CXXFLAGS"
34454 ac_save_LIBS="$LIBS"
34455 CFLAGS="$CFLAGS $SDL_CFLAGS"
34456 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34457 LIBS="$LIBS $SDL_LIBS"
34458 rm -f conf.sdltest
34459 if test "$cross_compiling" = yes; then
34460 echo $ac_n "cross compiling; assumed OK... $ac_c"
34461 else
34462 cat >conftest.$ac_ext <<_ACEOF
34463 /* confdefs.h. */
34464 _ACEOF
34465 cat confdefs.h >>conftest.$ac_ext
34466 cat >>conftest.$ac_ext <<_ACEOF
34467 /* end confdefs.h. */
34468
34469 #include <stdio.h>
34470 #include <stdlib.h>
34471 #include <string.h>
34472 #include "SDL.h"
34473
34474 char*
34475 my_strdup (char *str)
34476 {
34477 char *new_str;
34478
34479 if (str)
34480 {
34481 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34482 strcpy (new_str, str);
34483 }
34484 else
34485 new_str = NULL;
34486
34487 return new_str;
34488 }
34489
34490 int main (int argc, char *argv[])
34491 {
34492 int major, minor, micro;
34493 char *tmp_version;
34494
34495 /* This hangs on some systems (?)
34496 system ("touch conf.sdltest");
34497 */
34498 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34499
34500 /* HP/UX 9 (%@#!) writes to sscanf strings */
34501 tmp_version = my_strdup("$min_sdl_version");
34502 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34503 printf("%s, bad version string\n", "$min_sdl_version");
34504 exit(1);
34505 }
34506
34507 if (($sdl_major_version > major) ||
34508 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34509 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34510 {
34511 return 0;
34512 }
34513 else
34514 {
34515 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34516 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34517 printf("*** best to upgrade to the required version.\n");
34518 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34519 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34520 printf("*** config.cache before re-running configure\n");
34521 return 1;
34522 }
34523 }
34524
34525
34526 _ACEOF
34527 rm -f conftest$ac_exeext
34528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34529 (eval $ac_link) 2>&5
34530 ac_status=$?
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; }; then
34538 :
34539 else
34540 echo "$as_me: program exited with status $ac_status" >&5
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34543
34544 ( exit $ac_status )
34545 no_sdl=yes
34546 fi
34547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34548 fi
34549 CFLAGS="$ac_save_CFLAGS"
34550 CXXFLAGS="$ac_save_CXXFLAGS"
34551 LIBS="$ac_save_LIBS"
34552 fi
34553 fi
34554 if test "x$no_sdl" = x ; then
34555 echo "$as_me:$LINENO: result: yes" >&5
34556 echo "${ECHO_T}yes" >&6
34557
34558 EXTRALIBS_SDL="$SDL_LIBS"
34559 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34560 cat >>confdefs.h <<\_ACEOF
34561 #define wxUSE_LIBSDL 1
34562 _ACEOF
34563
34564
34565 else
34566 echo "$as_me:$LINENO: result: no" >&5
34567 echo "${ECHO_T}no" >&6
34568 if test "$SDL_CONFIG" = "no" ; then
34569 echo "*** The sdl-config script installed by SDL could not be found"
34570 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34571 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34572 echo "*** full path to sdl-config."
34573 else
34574 if test -f conf.sdltest ; then
34575 :
34576 else
34577 echo "*** Could not run SDL test program, checking why..."
34578 CFLAGS="$CFLAGS $SDL_CFLAGS"
34579 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34580 LIBS="$LIBS $SDL_LIBS"
34581 cat >conftest.$ac_ext <<_ACEOF
34582 /* confdefs.h. */
34583 _ACEOF
34584 cat confdefs.h >>conftest.$ac_ext
34585 cat >>conftest.$ac_ext <<_ACEOF
34586 /* end confdefs.h. */
34587
34588 #include <stdio.h>
34589 #include "SDL.h"
34590
34591 int main(int argc, char *argv[])
34592 { return 0; }
34593 #undef main
34594 #define main K_and_R_C_main
34595
34596 int
34597 main ()
34598 {
34599 return 0;
34600 ;
34601 return 0;
34602 }
34603 _ACEOF
34604 rm -f conftest.$ac_objext conftest$ac_exeext
34605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34606 (eval $ac_link) 2>conftest.er1
34607 ac_status=$?
34608 grep -v '^ *+' conftest.er1 >conftest.err
34609 rm -f conftest.er1
34610 cat conftest.err >&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } &&
34613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34616 ac_status=$?
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; } &&
34619 { ac_try='test -s conftest$ac_exeext'
34620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621 (eval $ac_try) 2>&5
34622 ac_status=$?
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); }; }; then
34625 echo "*** The test program compiled, but did not run. This usually means"
34626 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34627 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34630 echo "*** is required on your system"
34631 echo "***"
34632 echo "*** If you have an old version installed, it is best to remove it, although"
34633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34634 else
34635 echo "$as_me: failed program was:" >&5
34636 sed 's/^/| /' conftest.$ac_ext >&5
34637
34638 echo "*** The test program failed to compile or link. See the file config.log for the"
34639 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34640 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34641 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34642 fi
34643 rm -f conftest.err conftest.$ac_objext \
34644 conftest$ac_exeext conftest.$ac_ext
34645 CFLAGS="$ac_save_CFLAGS"
34646 CXXFLAGS="$ac_save_CXXFLAGS"
34647 LIBS="$ac_save_LIBS"
34648 fi
34649 fi
34650 SDL_CFLAGS=""
34651 SDL_LIBS=""
34652 wxUSE_LIBSDL="no"
34653 fi
34654
34655
34656 rm -f conf.sdltest
34657
34658 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34659 WITH_PLUGIN_SDL=1
34660 fi
34661 fi
34662 fi
34663
34664 cat >>confdefs.h <<\_ACEOF
34665 #define wxUSE_SOUND 1
34666 _ACEOF
34667
34668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34669 fi
34670
34671 if test "$WXGTK20" = 1; then
34672 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34673 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34674
34675
34676 succeeded=no
34677
34678 if test -z "$PKG_CONFIG"; then
34679 # Extract the first word of "pkg-config", so it can be a program name with args.
34680 set dummy pkg-config; ac_word=$2
34681 echo "$as_me:$LINENO: checking for $ac_word" >&5
34682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34683 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34684 echo $ECHO_N "(cached) $ECHO_C" >&6
34685 else
34686 case $PKG_CONFIG in
34687 [\\/]* | ?:[\\/]*)
34688 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34689 ;;
34690 *)
34691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34692 for as_dir in $PATH
34693 do
34694 IFS=$as_save_IFS
34695 test -z "$as_dir" && as_dir=.
34696 for ac_exec_ext in '' $ac_executable_extensions; do
34697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34698 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34700 break 2
34701 fi
34702 done
34703 done
34704
34705 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
34706 ;;
34707 esac
34708 fi
34709 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34710
34711 if test -n "$PKG_CONFIG"; then
34712 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34713 echo "${ECHO_T}$PKG_CONFIG" >&6
34714 else
34715 echo "$as_me:$LINENO: result: no" >&5
34716 echo "${ECHO_T}no" >&6
34717 fi
34718
34719 fi
34720
34721 if test "$PKG_CONFIG" = "no" ; then
34722 echo "*** The pkg-config script could not be found. Make sure it is"
34723 echo "*** in your path, or set the PKG_CONFIG environment variable"
34724 echo "*** to the full path to pkg-config."
34725 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34726 else
34727 PKG_CONFIG_MIN_VERSION=0.9.0
34728 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34729 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
34730 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
34731
34732 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
34733 echo "$as_me:$LINENO: result: yes" >&5
34734 echo "${ECHO_T}yes" >&6
34735 succeeded=yes
34736
34737 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34738 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34739 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
34740 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34741 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34742
34743 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34744 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34745 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
34746 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34747 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34748 else
34749 LIBGNOMEPRINTUI_CFLAGS=""
34750 LIBGNOMEPRINTUI_LIBS=""
34751 ## If we have a custom action on failure, don't print errors, but
34752 ## do set a variable so people can do so.
34753 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34754
34755 fi
34756
34757
34758
34759 else
34760 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34761 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34762 fi
34763 fi
34764
34765 if test $succeeded = yes; then
34766
34767 EXTRALIBS_GNOMEPRINT="$LIBGNOMEPRINTUI_LIBS"
34768 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34769 cat >>confdefs.h <<\_ACEOF
34770 #define wxUSE_LIBGNOMEPRINT 1
34771 _ACEOF
34772
34773
34774 else
34775
34776 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34777 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34778 wxUSE_LIBGNOMEPRINT="no"
34779
34780
34781 fi
34782
34783 fi
34784 fi
34785 fi
34786
34787
34788 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34789 cat >>confdefs.h <<\_ACEOF
34790 #define wxUSE_CMDLINE_PARSER 1
34791 _ACEOF
34792
34793 fi
34794
34795 if test "$wxUSE_STOPWATCH" = "yes"; then
34796 cat >>confdefs.h <<\_ACEOF
34797 #define wxUSE_STOPWATCH 1
34798 _ACEOF
34799
34800 fi
34801
34802 if test "$wxUSE_DATETIME" = "yes"; then
34803 cat >>confdefs.h <<\_ACEOF
34804 #define wxUSE_DATETIME 1
34805 _ACEOF
34806
34807 fi
34808
34809 if test "$wxUSE_FILE" = "yes"; then
34810 cat >>confdefs.h <<\_ACEOF
34811 #define wxUSE_FILE 1
34812 _ACEOF
34813
34814 fi
34815
34816 if test "$wxUSE_FFILE" = "yes"; then
34817 cat >>confdefs.h <<\_ACEOF
34818 #define wxUSE_FFILE 1
34819 _ACEOF
34820
34821 fi
34822
34823 if test "$wxUSE_FILESYSTEM" = "yes"; then
34824 cat >>confdefs.h <<\_ACEOF
34825 #define wxUSE_FILESYSTEM 1
34826 _ACEOF
34827
34828 fi
34829
34830 if test "$wxUSE_FS_ZIP" = "yes"; then
34831 cat >>confdefs.h <<\_ACEOF
34832 #define wxUSE_FS_ZIP 1
34833 _ACEOF
34834
34835 fi
34836
34837 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34838 cat >>confdefs.h <<\_ACEOF
34839 #define wxUSE_ZIPSTREAM 1
34840 _ACEOF
34841
34842 fi
34843
34844 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34845 cat >>confdefs.h <<\_ACEOF
34846 #define wxUSE_ON_FATAL_EXCEPTION 1
34847 _ACEOF
34848
34849 fi
34850
34851 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34852 cat >>confdefs.h <<\_ACEOF
34853 #define wxUSE_SNGLINST_CHECKER 1
34854 _ACEOF
34855
34856 fi
34857
34858 if test "$wxUSE_BUSYINFO" = "yes"; then
34859 cat >>confdefs.h <<\_ACEOF
34860 #define wxUSE_BUSYINFO 1
34861 _ACEOF
34862
34863 fi
34864
34865 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34866 cat >>confdefs.h <<\_ACEOF
34867 #define wxUSE_STD_IOSTREAM 1
34868 _ACEOF
34869
34870 fi
34871
34872 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34873 cat >>confdefs.h <<\_ACEOF
34874 #define wxUSE_TEXTBUFFER 1
34875 _ACEOF
34876
34877 fi
34878
34879 if test "$wxUSE_TEXTFILE" = "yes"; then
34880 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34881 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34882 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34883 else
34884 cat >>confdefs.h <<\_ACEOF
34885 #define wxUSE_TEXTFILE 1
34886 _ACEOF
34887
34888 fi
34889 fi
34890
34891 if test "$wxUSE_CONFIG" = "yes" ; then
34892 if test "$wxUSE_TEXTFILE" != "yes"; then
34893 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34894 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34895 else
34896 cat >>confdefs.h <<\_ACEOF
34897 #define wxUSE_CONFIG 1
34898 _ACEOF
34899
34900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34901 fi
34902 fi
34903
34904 if test "$wxUSE_INTL" = "yes" ; then
34905 if test "$wxUSE_FILE" != "yes"; then
34906 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34907 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34908 else
34909 cat >>confdefs.h <<\_ACEOF
34910 #define wxUSE_INTL 1
34911 _ACEOF
34912
34913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34914 GUIDIST="$GUIDIST INTL_DIST"
34915 fi
34916 fi
34917
34918 if test "$wxUSE_LOG" = "yes"; then
34919 cat >>confdefs.h <<\_ACEOF
34920 #define wxUSE_LOG 1
34921 _ACEOF
34922
34923
34924 if test "$wxUSE_LOGGUI" = "yes"; then
34925 cat >>confdefs.h <<\_ACEOF
34926 #define wxUSE_LOGGUI 1
34927 _ACEOF
34928
34929 fi
34930
34931 if test "$wxUSE_LOGWINDOW" = "yes"; then
34932 cat >>confdefs.h <<\_ACEOF
34933 #define wxUSE_LOGWINDOW 1
34934 _ACEOF
34935
34936 fi
34937
34938 if test "$wxUSE_LOGDIALOG" = "yes"; then
34939 cat >>confdefs.h <<\_ACEOF
34940 #define wxUSE_LOG_DIALOG 1
34941 _ACEOF
34942
34943 fi
34944 fi
34945
34946 if test "$wxUSE_LONGLONG" = "yes"; then
34947 cat >>confdefs.h <<\_ACEOF
34948 #define wxUSE_LONGLONG 1
34949 _ACEOF
34950
34951 fi
34952
34953 if test "$wxUSE_GEOMETRY" = "yes"; then
34954 cat >>confdefs.h <<\_ACEOF
34955 #define wxUSE_GEOMETRY 1
34956 _ACEOF
34957
34958 fi
34959
34960 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34961 cat >>confdefs.h <<\_ACEOF
34962 #define wxUSE_DIALUP_MANAGER 1
34963 _ACEOF
34964
34965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34966 fi
34967
34968 if test "$wxUSE_STREAMS" = "yes" ; then
34969 cat >>confdefs.h <<\_ACEOF
34970 #define wxUSE_STREAMS 1
34971 _ACEOF
34972
34973 fi
34974
34975
34976 if test "$wxUSE_DATETIME" = "yes"; then
34977
34978 for ac_func in strptime
34979 do
34980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34981 echo "$as_me:$LINENO: checking for $ac_func" >&5
34982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34983 if eval "test \"\${$as_ac_var+set}\" = set"; then
34984 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 else
34986 cat >conftest.$ac_ext <<_ACEOF
34987 /* confdefs.h. */
34988 _ACEOF
34989 cat confdefs.h >>conftest.$ac_ext
34990 cat >>conftest.$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
34992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34994 #define $ac_func innocuous_$ac_func
34995
34996 /* System header to define __stub macros and hopefully few prototypes,
34997 which can conflict with char $ac_func (); below.
34998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34999 <limits.h> exists even on freestanding compilers. */
35000
35001 #ifdef __STDC__
35002 # include <limits.h>
35003 #else
35004 # include <assert.h>
35005 #endif
35006
35007 #undef $ac_func
35008
35009 /* Override any gcc2 internal prototype to avoid an error. */
35010 #ifdef __cplusplus
35011 extern "C"
35012 {
35013 #endif
35014 /* We use char because int might match the return type of a gcc2
35015 builtin and then its argument prototype would still apply. */
35016 char $ac_func ();
35017 /* The GNU C library defines this for functions which it implements
35018 to always fail with ENOSYS. Some functions are actually named
35019 something starting with __ and the normal name is an alias. */
35020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35021 choke me
35022 #else
35023 char (*f) () = $ac_func;
35024 #endif
35025 #ifdef __cplusplus
35026 }
35027 #endif
35028
35029 int
35030 main ()
35031 {
35032 return f != $ac_func;
35033 ;
35034 return 0;
35035 }
35036 _ACEOF
35037 rm -f conftest.$ac_objext conftest$ac_exeext
35038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35039 (eval $ac_link) 2>conftest.er1
35040 ac_status=$?
35041 grep -v '^ *+' conftest.er1 >conftest.err
35042 rm -f conftest.er1
35043 cat conftest.err >&5
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); } &&
35046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35048 (eval $ac_try) 2>&5
35049 ac_status=$?
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); }; } &&
35052 { ac_try='test -s conftest$ac_exeext'
35053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35054 (eval $ac_try) 2>&5
35055 ac_status=$?
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); }; }; then
35058 eval "$as_ac_var=yes"
35059 else
35060 echo "$as_me: failed program was:" >&5
35061 sed 's/^/| /' conftest.$ac_ext >&5
35062
35063 eval "$as_ac_var=no"
35064 fi
35065 rm -f conftest.err conftest.$ac_objext \
35066 conftest$ac_exeext conftest.$ac_ext
35067 fi
35068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35070 if test `eval echo '${'$as_ac_var'}'` = yes; then
35071 cat >>confdefs.h <<_ACEOF
35072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35073 _ACEOF
35074
35075 fi
35076 done
35077
35078
35079 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35080 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35081 if test "${wx_cv_var_timezone+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35083 else
35084
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091
35092 #include <time.h>
35093
35094 int
35095 main ()
35096 {
35097
35098 int tz;
35099 tz = timezone;
35100
35101 ;
35102 return 0;
35103 }
35104 _ACEOF
35105 rm -f conftest.$ac_objext
35106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35107 (eval $ac_compile) 2>conftest.er1
35108 ac_status=$?
35109 grep -v '^ *+' conftest.er1 >conftest.err
35110 rm -f conftest.er1
35111 cat conftest.err >&5
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); } &&
35114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35116 (eval $ac_try) 2>&5
35117 ac_status=$?
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); }; } &&
35120 { ac_try='test -s conftest.$ac_objext'
35121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35122 (eval $ac_try) 2>&5
35123 ac_status=$?
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); }; }; then
35126
35127 wx_cv_var_timezone=timezone
35128
35129 else
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35132
35133
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140
35141 #include <time.h>
35142
35143 int
35144 main ()
35145 {
35146
35147 int tz;
35148 tz = _timezone;
35149
35150 ;
35151 return 0;
35152 }
35153 _ACEOF
35154 rm -f conftest.$ac_objext
35155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35156 (eval $ac_compile) 2>conftest.er1
35157 ac_status=$?
35158 grep -v '^ *+' conftest.er1 >conftest.err
35159 rm -f conftest.er1
35160 cat conftest.err >&5
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); } &&
35163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35165 (eval $ac_try) 2>&5
35166 ac_status=$?
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; } &&
35169 { ac_try='test -s conftest.$ac_objext'
35170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35171 (eval $ac_try) 2>&5
35172 ac_status=$?
35173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174 (exit $ac_status); }; }; then
35175
35176 wx_cv_var_timezone=_timezone
35177
35178 else
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.$ac_ext >&5
35181
35182
35183 cat >conftest.$ac_ext <<_ACEOF
35184 /* confdefs.h. */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189
35190 #include <time.h>
35191
35192 int
35193 main ()
35194 {
35195
35196 int tz;
35197 tz = __timezone;
35198
35199 ;
35200 return 0;
35201 }
35202 _ACEOF
35203 rm -f conftest.$ac_objext
35204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35205 (eval $ac_compile) 2>conftest.er1
35206 ac_status=$?
35207 grep -v '^ *+' conftest.er1 >conftest.err
35208 rm -f conftest.er1
35209 cat conftest.err >&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); } &&
35212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; } &&
35218 { ac_try='test -s conftest.$ac_objext'
35219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35220 (eval $ac_try) 2>&5
35221 ac_status=$?
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); }; }; then
35224
35225 wx_cv_var_timezone=__timezone
35226
35227 else
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.$ac_ext >&5
35230
35231
35232 if test "$USE_DOS" = 0 ; then
35233 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35234 echo "$as_me: WARNING: no timezone variable" >&2;}
35235 fi
35236
35237
35238 fi
35239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35240
35241
35242 fi
35243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35244
35245
35246 fi
35247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35248
35249
35250 fi
35251 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35252 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35253
35254 if test "x$wx_cv_var_timezone" != x ; then
35255 cat >>confdefs.h <<_ACEOF
35256 #define WX_TIMEZONE $wx_cv_var_timezone
35257 _ACEOF
35258
35259 fi
35260
35261
35262 for ac_func in localtime
35263 do
35264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35265 echo "$as_me:$LINENO: checking for $ac_func" >&5
35266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35267 if eval "test \"\${$as_ac_var+set}\" = set"; then
35268 echo $ECHO_N "(cached) $ECHO_C" >&6
35269 else
35270 cat >conftest.$ac_ext <<_ACEOF
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35278 #define $ac_func innocuous_$ac_func
35279
35280 /* System header to define __stub macros and hopefully few prototypes,
35281 which can conflict with char $ac_func (); below.
35282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35283 <limits.h> exists even on freestanding compilers. */
35284
35285 #ifdef __STDC__
35286 # include <limits.h>
35287 #else
35288 # include <assert.h>
35289 #endif
35290
35291 #undef $ac_func
35292
35293 /* Override any gcc2 internal prototype to avoid an error. */
35294 #ifdef __cplusplus
35295 extern "C"
35296 {
35297 #endif
35298 /* We use char because int might match the return type of a gcc2
35299 builtin and then its argument prototype would still apply. */
35300 char $ac_func ();
35301 /* The GNU C library defines this for functions which it implements
35302 to always fail with ENOSYS. Some functions are actually named
35303 something starting with __ and the normal name is an alias. */
35304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35305 choke me
35306 #else
35307 char (*f) () = $ac_func;
35308 #endif
35309 #ifdef __cplusplus
35310 }
35311 #endif
35312
35313 int
35314 main ()
35315 {
35316 return f != $ac_func;
35317 ;
35318 return 0;
35319 }
35320 _ACEOF
35321 rm -f conftest.$ac_objext conftest$ac_exeext
35322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35323 (eval $ac_link) 2>conftest.er1
35324 ac_status=$?
35325 grep -v '^ *+' conftest.er1 >conftest.err
35326 rm -f conftest.er1
35327 cat conftest.err >&5
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); } &&
35330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35332 (eval $ac_try) 2>&5
35333 ac_status=$?
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); }; } &&
35336 { ac_try='test -s conftest$ac_exeext'
35337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35338 (eval $ac_try) 2>&5
35339 ac_status=$?
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); }; }; then
35342 eval "$as_ac_var=yes"
35343 else
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.$ac_ext >&5
35346
35347 eval "$as_ac_var=no"
35348 fi
35349 rm -f conftest.err conftest.$ac_objext \
35350 conftest$ac_exeext conftest.$ac_ext
35351 fi
35352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35354 if test `eval echo '${'$as_ac_var'}'` = yes; then
35355 cat >>confdefs.h <<_ACEOF
35356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35357 _ACEOF
35358
35359 fi
35360 done
35361
35362
35363 if test "$ac_cv_func_localtime" = "yes"; then
35364 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35365 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35366 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35367 echo $ECHO_N "(cached) $ECHO_C" >&6
35368 else
35369
35370 cat >conftest.$ac_ext <<_ACEOF
35371 /* confdefs.h. */
35372 _ACEOF
35373 cat confdefs.h >>conftest.$ac_ext
35374 cat >>conftest.$ac_ext <<_ACEOF
35375 /* end confdefs.h. */
35376
35377 #include <time.h>
35378
35379 int
35380 main ()
35381 {
35382
35383 struct tm tm;
35384 tm.tm_gmtoff++;
35385
35386 ;
35387 return 0;
35388 }
35389 _ACEOF
35390 rm -f conftest.$ac_objext
35391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35392 (eval $ac_compile) 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } &&
35399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35401 (eval $ac_try) 2>&5
35402 ac_status=$?
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); }; } &&
35405 { ac_try='test -s conftest.$ac_objext'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35408 ac_status=$?
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; }; then
35411
35412 wx_cv_struct_tm_has_gmtoff=yes
35413
35414 else
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.$ac_ext >&5
35417
35418 wx_cv_struct_tm_has_gmtoff=no
35419
35420 fi
35421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35422
35423 fi
35424 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35425 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35426 fi
35427
35428 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35429 cat >>confdefs.h <<\_ACEOF
35430 #define WX_GMTOFF_IN_TM 1
35431 _ACEOF
35432
35433 fi
35434
35435
35436
35437 for ac_func in gettimeofday ftime
35438 do
35439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35440 echo "$as_me:$LINENO: checking for $ac_func" >&5
35441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35442 if eval "test \"\${$as_ac_var+set}\" = set"; then
35443 echo $ECHO_N "(cached) $ECHO_C" >&6
35444 else
35445 cat >conftest.$ac_ext <<_ACEOF
35446 /* confdefs.h. */
35447 _ACEOF
35448 cat confdefs.h >>conftest.$ac_ext
35449 cat >>conftest.$ac_ext <<_ACEOF
35450 /* end confdefs.h. */
35451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35453 #define $ac_func innocuous_$ac_func
35454
35455 /* System header to define __stub macros and hopefully few prototypes,
35456 which can conflict with char $ac_func (); below.
35457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35458 <limits.h> exists even on freestanding compilers. */
35459
35460 #ifdef __STDC__
35461 # include <limits.h>
35462 #else
35463 # include <assert.h>
35464 #endif
35465
35466 #undef $ac_func
35467
35468 /* Override any gcc2 internal prototype to avoid an error. */
35469 #ifdef __cplusplus
35470 extern "C"
35471 {
35472 #endif
35473 /* We use char because int might match the return type of a gcc2
35474 builtin and then its argument prototype would still apply. */
35475 char $ac_func ();
35476 /* The GNU C library defines this for functions which it implements
35477 to always fail with ENOSYS. Some functions are actually named
35478 something starting with __ and the normal name is an alias. */
35479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35480 choke me
35481 #else
35482 char (*f) () = $ac_func;
35483 #endif
35484 #ifdef __cplusplus
35485 }
35486 #endif
35487
35488 int
35489 main ()
35490 {
35491 return f != $ac_func;
35492 ;
35493 return 0;
35494 }
35495 _ACEOF
35496 rm -f conftest.$ac_objext conftest$ac_exeext
35497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35498 (eval $ac_link) 2>conftest.er1
35499 ac_status=$?
35500 grep -v '^ *+' conftest.er1 >conftest.err
35501 rm -f conftest.er1
35502 cat conftest.err >&5
35503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35504 (exit $ac_status); } &&
35505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35507 (eval $ac_try) 2>&5
35508 ac_status=$?
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); }; } &&
35511 { ac_try='test -s conftest$ac_exeext'
35512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35513 (eval $ac_try) 2>&5
35514 ac_status=$?
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); }; }; then
35517 eval "$as_ac_var=yes"
35518 else
35519 echo "$as_me: failed program was:" >&5
35520 sed 's/^/| /' conftest.$ac_ext >&5
35521
35522 eval "$as_ac_var=no"
35523 fi
35524 rm -f conftest.err conftest.$ac_objext \
35525 conftest$ac_exeext conftest.$ac_ext
35526 fi
35527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35529 if test `eval echo '${'$as_ac_var'}'` = yes; then
35530 cat >>confdefs.h <<_ACEOF
35531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35532 _ACEOF
35533 break
35534 fi
35535 done
35536
35537
35538 if test "$ac_cv_func_gettimeofday" = "yes"; then
35539 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35540 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35541 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35542 echo $ECHO_N "(cached) $ECHO_C" >&6
35543 else
35544
35545
35546
35547 ac_ext=cc
35548 ac_cpp='$CXXCPP $CPPFLAGS'
35549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35552
35553
35554 cat >conftest.$ac_ext <<_ACEOF
35555 /* confdefs.h. */
35556 _ACEOF
35557 cat confdefs.h >>conftest.$ac_ext
35558 cat >>conftest.$ac_ext <<_ACEOF
35559 /* end confdefs.h. */
35560
35561 #include <sys/time.h>
35562 #include <unistd.h>
35563
35564 int
35565 main ()
35566 {
35567
35568 struct timeval tv;
35569 gettimeofday(&tv, NULL);
35570
35571 ;
35572 return 0;
35573 }
35574 _ACEOF
35575 rm -f conftest.$ac_objext
35576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35577 (eval $ac_compile) 2>conftest.er1
35578 ac_status=$?
35579 grep -v '^ *+' conftest.er1 >conftest.err
35580 rm -f conftest.er1
35581 cat conftest.err >&5
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); } &&
35584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35587 ac_status=$?
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; } &&
35590 { ac_try='test -s conftest.$ac_objext'
35591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35592 (eval $ac_try) 2>&5
35593 ac_status=$?
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; }; then
35596 wx_cv_func_gettimeofday_has_2_args=yes
35597 else
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35600
35601 cat >conftest.$ac_ext <<_ACEOF
35602 /* confdefs.h. */
35603 _ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35607
35608 #include <sys/time.h>
35609 #include <unistd.h>
35610
35611 int
35612 main ()
35613 {
35614
35615 struct timeval tv;
35616 gettimeofday(&tv);
35617
35618 ;
35619 return 0;
35620 }
35621 _ACEOF
35622 rm -f conftest.$ac_objext
35623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35624 (eval $ac_compile) 2>conftest.er1
35625 ac_status=$?
35626 grep -v '^ *+' conftest.er1 >conftest.err
35627 rm -f conftest.er1
35628 cat conftest.err >&5
35629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630 (exit $ac_status); } &&
35631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35633 (eval $ac_try) 2>&5
35634 ac_status=$?
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); }; } &&
35637 { ac_try='test -s conftest.$ac_objext'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; }; then
35643 wx_cv_func_gettimeofday_has_2_args=no
35644 else
35645 echo "$as_me: failed program was:" >&5
35646 sed 's/^/| /' conftest.$ac_ext >&5
35647
35648
35649 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35650 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35651 wx_cv_func_gettimeofday_has_2_args=unknown
35652
35653
35654 fi
35655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35656
35657 fi
35658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35659 ac_ext=c
35660 ac_cpp='$CPP $CPPFLAGS'
35661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35664
35665
35666 fi
35667 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35668 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35669
35670 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35671 cat >>confdefs.h <<\_ACEOF
35672 #define WX_GETTIMEOFDAY_NO_TZ 1
35673 _ACEOF
35674
35675 fi
35676 fi
35677
35678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35679 fi
35680
35681
35682 if test "$wxUSE_SOCKETS" = "yes"; then
35683 if test "$wxUSE_MGL" = "1"; then
35684 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35685 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35686 wxUSE_SOCKETS="no"
35687 fi
35688 fi
35689
35690 if test "$wxUSE_SOCKETS" = "yes"; then
35691 if test "$TOOLKIT" != "MSW"; then
35692 echo "$as_me:$LINENO: checking for socket" >&5
35693 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35694 if test "${ac_cv_func_socket+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35696 else
35697 cat >conftest.$ac_ext <<_ACEOF
35698 /* confdefs.h. */
35699 _ACEOF
35700 cat confdefs.h >>conftest.$ac_ext
35701 cat >>conftest.$ac_ext <<_ACEOF
35702 /* end confdefs.h. */
35703 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35705 #define socket innocuous_socket
35706
35707 /* System header to define __stub macros and hopefully few prototypes,
35708 which can conflict with char socket (); below.
35709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35710 <limits.h> exists even on freestanding compilers. */
35711
35712 #ifdef __STDC__
35713 # include <limits.h>
35714 #else
35715 # include <assert.h>
35716 #endif
35717
35718 #undef socket
35719
35720 /* Override any gcc2 internal prototype to avoid an error. */
35721 #ifdef __cplusplus
35722 extern "C"
35723 {
35724 #endif
35725 /* We use char because int might match the return type of a gcc2
35726 builtin and then its argument prototype would still apply. */
35727 char socket ();
35728 /* The GNU C library defines this for functions which it implements
35729 to always fail with ENOSYS. Some functions are actually named
35730 something starting with __ and the normal name is an alias. */
35731 #if defined (__stub_socket) || defined (__stub___socket)
35732 choke me
35733 #else
35734 char (*f) () = socket;
35735 #endif
35736 #ifdef __cplusplus
35737 }
35738 #endif
35739
35740 int
35741 main ()
35742 {
35743 return f != socket;
35744 ;
35745 return 0;
35746 }
35747 _ACEOF
35748 rm -f conftest.$ac_objext conftest$ac_exeext
35749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35750 (eval $ac_link) 2>conftest.er1
35751 ac_status=$?
35752 grep -v '^ *+' conftest.er1 >conftest.err
35753 rm -f conftest.er1
35754 cat conftest.err >&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); } &&
35757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; } &&
35763 { ac_try='test -s conftest$ac_exeext'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35766 ac_status=$?
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; }; then
35769 ac_cv_func_socket=yes
35770 else
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35773
35774 ac_cv_func_socket=no
35775 fi
35776 rm -f conftest.err conftest.$ac_objext \
35777 conftest$ac_exeext conftest.$ac_ext
35778 fi
35779 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35780 echo "${ECHO_T}$ac_cv_func_socket" >&6
35781 if test $ac_cv_func_socket = yes; then
35782 :
35783 else
35784
35785 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35786 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35787 if test "${ac_cv_lib_socket_socket+set}" = set; then
35788 echo $ECHO_N "(cached) $ECHO_C" >&6
35789 else
35790 ac_check_lib_save_LIBS=$LIBS
35791 LIBS="-lsocket $LIBS"
35792 cat >conftest.$ac_ext <<_ACEOF
35793 /* confdefs.h. */
35794 _ACEOF
35795 cat confdefs.h >>conftest.$ac_ext
35796 cat >>conftest.$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35798
35799 /* Override any gcc2 internal prototype to avoid an error. */
35800 #ifdef __cplusplus
35801 extern "C"
35802 #endif
35803 /* We use char because int might match the return type of a gcc2
35804 builtin and then its argument prototype would still apply. */
35805 char socket ();
35806 int
35807 main ()
35808 {
35809 socket ();
35810 ;
35811 return 0;
35812 }
35813 _ACEOF
35814 rm -f conftest.$ac_objext conftest$ac_exeext
35815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35816 (eval $ac_link) 2>conftest.er1
35817 ac_status=$?
35818 grep -v '^ *+' conftest.er1 >conftest.err
35819 rm -f conftest.er1
35820 cat conftest.err >&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } &&
35823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825 (eval $ac_try) 2>&5
35826 ac_status=$?
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); }; } &&
35829 { ac_try='test -s conftest$ac_exeext'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35832 ac_status=$?
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; }; then
35835 ac_cv_lib_socket_socket=yes
35836 else
35837 echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.$ac_ext >&5
35839
35840 ac_cv_lib_socket_socket=no
35841 fi
35842 rm -f conftest.err conftest.$ac_objext \
35843 conftest$ac_exeext conftest.$ac_ext
35844 LIBS=$ac_check_lib_save_LIBS
35845 fi
35846 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35847 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35848 if test $ac_cv_lib_socket_socket = yes; then
35849 if test "$INET_LINK" != " -lsocket"; then
35850 INET_LINK="$INET_LINK -lsocket"
35851 fi
35852 else
35853
35854 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35855 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35856 wxUSE_SOCKETS=no
35857
35858
35859 fi
35860
35861
35862
35863 fi
35864
35865 fi
35866 fi
35867
35868 if test "$wxUSE_SOCKETS" = "yes" ; then
35869 if test "$TOOLKIT" != "MSW"; then
35870 ac_ext=cc
35871 ac_cpp='$CXXCPP $CPPFLAGS'
35872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35875
35876 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35877 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35878 if test "${wx_cv_type_getsockname3+set}" = set; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 else
35881
35882 cat >conftest.$ac_ext <<_ACEOF
35883 /* confdefs.h. */
35884 _ACEOF
35885 cat confdefs.h >>conftest.$ac_ext
35886 cat >>conftest.$ac_ext <<_ACEOF
35887 /* end confdefs.h. */
35888
35889 #include <sys/types.h>
35890 #include <sys/socket.h>
35891
35892 int
35893 main ()
35894 {
35895
35896 socklen_t len;
35897 getsockname(0, 0, &len);
35898
35899 ;
35900 return 0;
35901 }
35902 _ACEOF
35903 rm -f conftest.$ac_objext
35904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35905 (eval $ac_compile) 2>conftest.er1
35906 ac_status=$?
35907 grep -v '^ *+' conftest.er1 >conftest.err
35908 rm -f conftest.er1
35909 cat conftest.err >&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); } &&
35912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35914 (eval $ac_try) 2>&5
35915 ac_status=$?
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); }; } &&
35918 { ac_try='test -s conftest.$ac_objext'
35919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35920 (eval $ac_try) 2>&5
35921 ac_status=$?
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); }; }; then
35924 wx_cv_type_getsockname3=socklen_t
35925 else
35926 echo "$as_me: failed program was:" >&5
35927 sed 's/^/| /' conftest.$ac_ext >&5
35928
35929
35930 CFLAGS_OLD="$CFLAGS"
35931 if test "$GCC" = yes ; then
35932 CFLAGS="$CFLAGS -Werror"
35933 fi
35934
35935 cat >conftest.$ac_ext <<_ACEOF
35936 /* confdefs.h. */
35937 _ACEOF
35938 cat confdefs.h >>conftest.$ac_ext
35939 cat >>conftest.$ac_ext <<_ACEOF
35940 /* end confdefs.h. */
35941
35942 #include <sys/types.h>
35943 #include <sys/socket.h>
35944
35945 int
35946 main ()
35947 {
35948
35949 size_t len;
35950 getsockname(0, 0, &len);
35951
35952 ;
35953 return 0;
35954 }
35955 _ACEOF
35956 rm -f conftest.$ac_objext
35957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35958 (eval $ac_compile) 2>conftest.er1
35959 ac_status=$?
35960 grep -v '^ *+' conftest.er1 >conftest.err
35961 rm -f conftest.er1
35962 cat conftest.err >&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); } &&
35965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35967 (eval $ac_try) 2>&5
35968 ac_status=$?
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); }; } &&
35971 { ac_try='test -s conftest.$ac_objext'
35972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35973 (eval $ac_try) 2>&5
35974 ac_status=$?
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); }; }; then
35977 wx_cv_type_getsockname3=size_t
35978 else
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.$ac_ext >&5
35981
35982 cat >conftest.$ac_ext <<_ACEOF
35983 /* confdefs.h. */
35984 _ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h. */
35988
35989 #include <sys/types.h>
35990 #include <sys/socket.h>
35991
35992 int
35993 main ()
35994 {
35995
35996 int len;
35997 getsockname(0, 0, &len);
35998
35999 ;
36000 return 0;
36001 }
36002 _ACEOF
36003 rm -f conftest.$ac_objext
36004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36005 (eval $ac_compile) 2>conftest.er1
36006 ac_status=$?
36007 grep -v '^ *+' conftest.er1 >conftest.err
36008 rm -f conftest.er1
36009 cat conftest.err >&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); } &&
36012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; } &&
36018 { ac_try='test -s conftest.$ac_objext'
36019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020 (eval $ac_try) 2>&5
36021 ac_status=$?
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); }; }; then
36024 wx_cv_type_getsockname3=int
36025 else
36026 echo "$as_me: failed program was:" >&5
36027 sed 's/^/| /' conftest.$ac_ext >&5
36028
36029 wx_cv_type_getsockname3=unknown
36030
36031 fi
36032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36033
36034 fi
36035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36036
36037 CFLAGS="$CFLAGS_OLD"
36038
36039
36040 fi
36041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36042
36043 fi
36044 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36045 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36046
36047 if test "$wx_cv_type_getsockname3" = "unknown"; then
36048 wxUSE_SOCKETS=no
36049 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36050 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36051 else
36052 cat >>confdefs.h <<_ACEOF
36053 #define SOCKLEN_T $wx_cv_type_getsockname3
36054 _ACEOF
36055
36056 fi
36057 ac_ext=c
36058 ac_cpp='$CPP $CPPFLAGS'
36059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36062
36063 fi
36064 fi
36065
36066 if test "$wxUSE_SOCKETS" = "yes" ; then
36067 cat >>confdefs.h <<\_ACEOF
36068 #define wxUSE_SOCKETS 1
36069 _ACEOF
36070
36071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36072 fi
36073
36074 if test "$wxUSE_PROTOCOL" = "yes"; then
36075 if test "$wxUSE_SOCKETS" != "yes"; then
36076 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36077 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36078 wxUSE_PROTOCOL=no
36079 fi
36080 fi
36081
36082 if test "$wxUSE_PROTOCOL" = "yes"; then
36083 cat >>confdefs.h <<\_ACEOF
36084 #define wxUSE_PROTOCOL 1
36085 _ACEOF
36086
36087
36088 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36089 cat >>confdefs.h <<\_ACEOF
36090 #define wxUSE_PROTOCOL_HTTP 1
36091 _ACEOF
36092
36093 fi
36094 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36095 cat >>confdefs.h <<\_ACEOF
36096 #define wxUSE_PROTOCOL_FTP 1
36097 _ACEOF
36098
36099 fi
36100 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36101 cat >>confdefs.h <<\_ACEOF
36102 #define wxUSE_PROTOCOL_FILE 1
36103 _ACEOF
36104
36105 fi
36106 else
36107 if test "$wxUSE_FS_INET" = "yes"; then
36108 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36109 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36110 wxUSE_FS_INET="no"
36111 fi
36112 fi
36113
36114 if test "$wxUSE_URL" = "yes"; then
36115 if test "$wxUSE_PROTOCOL" != "yes"; then
36116 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36117 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36118 wxUSE_URL=no
36119 fi
36120 if test "$wxUSE_URL" = "yes"; then
36121 cat >>confdefs.h <<\_ACEOF
36122 #define wxUSE_URL 1
36123 _ACEOF
36124
36125 fi
36126 fi
36127
36128 if test "$wxUSE_FS_INET" = "yes"; then
36129 cat >>confdefs.h <<\_ACEOF
36130 #define wxUSE_FS_INET 1
36131 _ACEOF
36132
36133 fi
36134
36135
36136 if test "$wxUSE_GUI" = "yes"; then
36137
36138 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36139 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36140 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36141 wxUSE_JOYSTICK=no
36142 fi
36143
36144 if test "$TOOLKIT" != "MSW"; then
36145 if test "$wxUSE_JOYSTICK" = "yes"; then
36146
36147 for ac_header in linux/joystick.h
36148 do
36149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36151 echo "$as_me:$LINENO: checking for $ac_header" >&5
36152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36155 fi
36156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36158 else
36159 # Is the header compilable?
36160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36162 cat >conftest.$ac_ext <<_ACEOF
36163 /* confdefs.h. */
36164 _ACEOF
36165 cat confdefs.h >>conftest.$ac_ext
36166 cat >>conftest.$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 $ac_includes_default
36169 #include <$ac_header>
36170 _ACEOF
36171 rm -f conftest.$ac_objext
36172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36173 (eval $ac_compile) 2>conftest.er1
36174 ac_status=$?
36175 grep -v '^ *+' conftest.er1 >conftest.err
36176 rm -f conftest.er1
36177 cat conftest.err >&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } &&
36180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 (eval $ac_try) 2>&5
36183 ac_status=$?
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); }; } &&
36186 { ac_try='test -s conftest.$ac_objext'
36187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 (eval $ac_try) 2>&5
36189 ac_status=$?
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); }; }; then
36192 ac_header_compiler=yes
36193 else
36194 echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36196
36197 ac_header_compiler=no
36198 fi
36199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36201 echo "${ECHO_T}$ac_header_compiler" >&6
36202
36203 # Is the header present?
36204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36206 cat >conftest.$ac_ext <<_ACEOF
36207 /* confdefs.h. */
36208 _ACEOF
36209 cat confdefs.h >>conftest.$ac_ext
36210 cat >>conftest.$ac_ext <<_ACEOF
36211 /* end confdefs.h. */
36212 #include <$ac_header>
36213 _ACEOF
36214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36216 ac_status=$?
36217 grep -v '^ *+' conftest.er1 >conftest.err
36218 rm -f conftest.er1
36219 cat conftest.err >&5
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); } >/dev/null; then
36222 if test -s conftest.err; then
36223 ac_cpp_err=$ac_c_preproc_warn_flag
36224 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36225 else
36226 ac_cpp_err=
36227 fi
36228 else
36229 ac_cpp_err=yes
36230 fi
36231 if test -z "$ac_cpp_err"; then
36232 ac_header_preproc=yes
36233 else
36234 echo "$as_me: failed program was:" >&5
36235 sed 's/^/| /' conftest.$ac_ext >&5
36236
36237 ac_header_preproc=no
36238 fi
36239 rm -f conftest.err conftest.$ac_ext
36240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36241 echo "${ECHO_T}$ac_header_preproc" >&6
36242
36243 # So? What about this header?
36244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36245 yes:no: )
36246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36250 ac_header_preproc=yes
36251 ;;
36252 no:yes:* )
36253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36265 (
36266 cat <<\_ASBOX
36267 ## ----------------------------------------- ##
36268 ## Report this to wx-dev@lists.wxwidgets.org ##
36269 ## ----------------------------------------- ##
36270 _ASBOX
36271 ) |
36272 sed "s/^/$as_me: WARNING: /" >&2
36273 ;;
36274 esac
36275 echo "$as_me:$LINENO: checking for $ac_header" >&5
36276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280 eval "$as_ac_Header=\$ac_header_preproc"
36281 fi
36282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36284
36285 fi
36286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36287 cat >>confdefs.h <<_ACEOF
36288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36289 _ACEOF
36290
36291 fi
36292
36293 done
36294
36295 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36296 wxUSE_JOYSTICK=no
36297 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36298 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36299 fi
36300 fi
36301 fi
36302
36303 if test "$wxUSE_JOYSTICK" = "yes"; then
36304 cat >>confdefs.h <<\_ACEOF
36305 #define wxUSE_JOYSTICK 1
36306 _ACEOF
36307
36308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36309 fi
36310 fi
36311
36312
36313
36314 if test "$wxUSE_FONTMAP" = "yes" ; then
36315 cat >>confdefs.h <<\_ACEOF
36316 #define wxUSE_FONTMAP 1
36317 _ACEOF
36318
36319 fi
36320
36321 if test "$wxUSE_UNICODE" = "yes" ; then
36322 cat >>confdefs.h <<\_ACEOF
36323 #define wxUSE_UNICODE 1
36324 _ACEOF
36325
36326
36327 if test "$USE_WIN32" != 1; then
36328 wxUSE_UNICODE_MSLU=no
36329 fi
36330
36331 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36332 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36333 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36334 if test "${ac_cv_lib_unicows_main+set}" = set; then
36335 echo $ECHO_N "(cached) $ECHO_C" >&6
36336 else
36337 ac_check_lib_save_LIBS=$LIBS
36338 LIBS="-lunicows $LIBS"
36339 cat >conftest.$ac_ext <<_ACEOF
36340 /* confdefs.h. */
36341 _ACEOF
36342 cat confdefs.h >>conftest.$ac_ext
36343 cat >>conftest.$ac_ext <<_ACEOF
36344 /* end confdefs.h. */
36345
36346
36347 int
36348 main ()
36349 {
36350 main ();
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 rm -f conftest.$ac_objext conftest$ac_exeext
36356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36357 (eval $ac_link) 2>conftest.er1
36358 ac_status=$?
36359 grep -v '^ *+' conftest.er1 >conftest.err
36360 rm -f conftest.er1
36361 cat conftest.err >&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } &&
36364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36366 (eval $ac_try) 2>&5
36367 ac_status=$?
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); }; } &&
36370 { ac_try='test -s conftest$ac_exeext'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36373 ac_status=$?
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; }; then
36376 ac_cv_lib_unicows_main=yes
36377 else
36378 echo "$as_me: failed program was:" >&5
36379 sed 's/^/| /' conftest.$ac_ext >&5
36380
36381 ac_cv_lib_unicows_main=no
36382 fi
36383 rm -f conftest.err conftest.$ac_objext \
36384 conftest$ac_exeext conftest.$ac_ext
36385 LIBS=$ac_check_lib_save_LIBS
36386 fi
36387 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36388 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36389 if test $ac_cv_lib_unicows_main = yes; then
36390
36391 cat >>confdefs.h <<\_ACEOF
36392 #define wxUSE_UNICODE_MSLU 1
36393 _ACEOF
36394
36395
36396 else
36397
36398 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36399 Applications will only run on Windows NT/2000/XP!" >&5
36400 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36401 Applications will only run on Windows NT/2000/XP!" >&2;}
36402 wxUSE_UNICODE_MSLU=no
36403
36404 fi
36405
36406 fi
36407 fi
36408
36409 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36410 cat >>confdefs.h <<\_ACEOF
36411 #define wxUSE_EXPERIMENTAL_PRINTF 1
36412 _ACEOF
36413
36414 fi
36415
36416
36417 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36418 cat >>confdefs.h <<\_ACEOF
36419 #define wxUSE_POSTSCRIPT 1
36420 _ACEOF
36421
36422 fi
36423
36424 cat >>confdefs.h <<\_ACEOF
36425 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36426 _ACEOF
36427
36428
36429 cat >>confdefs.h <<\_ACEOF
36430 #define wxUSE_NORMALIZED_PS_FONTS 1
36431 _ACEOF
36432
36433
36434
36435 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36436 cat >>confdefs.h <<\_ACEOF
36437 #define wxUSE_CONSTRAINTS 1
36438 _ACEOF
36439
36440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36441 fi
36442
36443 if test "$wxUSE_MDI" = "yes"; then
36444 cat >>confdefs.h <<\_ACEOF
36445 #define wxUSE_MDI 1
36446 _ACEOF
36447
36448
36449 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36450 cat >>confdefs.h <<\_ACEOF
36451 #define wxUSE_MDI_ARCHITECTURE 1
36452 _ACEOF
36453
36454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36455 fi
36456 fi
36457
36458 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36459 cat >>confdefs.h <<\_ACEOF
36460 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36461 _ACEOF
36462
36463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36464 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36466 fi
36467 fi
36468
36469 if test "$wxUSE_HELP" = "yes"; then
36470 cat >>confdefs.h <<\_ACEOF
36471 #define wxUSE_HELP 1
36472 _ACEOF
36473
36474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36475
36476 if test "$wxUSE_MSW" = 1; then
36477 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36478 cat >>confdefs.h <<\_ACEOF
36479 #define wxUSE_MS_HTML_HELP 1
36480 _ACEOF
36481
36482 fi
36483 fi
36484
36485 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36486 if test "$wxUSE_HTML" = "yes"; then
36487 cat >>confdefs.h <<\_ACEOF
36488 #define wxUSE_WXHTML_HELP 1
36489 _ACEOF
36490
36491 else
36492 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36493 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36494 wxUSE_WXHTML_HELP=no
36495 fi
36496 fi
36497 fi
36498
36499 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36500 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36501 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36502 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36503 else
36504 cat >>confdefs.h <<\_ACEOF
36505 #define wxUSE_PRINTING_ARCHITECTURE 1
36506 _ACEOF
36507
36508 fi
36509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36510 fi
36511
36512 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36513 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36514 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36515 { (exit 1); exit 1; }; }
36516 fi
36517
36518
36519 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36520 -o "$wxUSE_CLIPBOARD" = "yes" \
36521 -o "$wxUSE_OLE" = "yes" \
36522 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36523
36524 for ac_header in ole2.h
36525 do
36526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36528 echo "$as_me:$LINENO: checking for $ac_header" >&5
36529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 fi
36533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36535 else
36536 # Is the header compilable?
36537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36539 cat >conftest.$ac_ext <<_ACEOF
36540 /* confdefs.h. */
36541 _ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545 $ac_includes_default
36546 #include <$ac_header>
36547 _ACEOF
36548 rm -f conftest.$ac_objext
36549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36550 (eval $ac_compile) 2>conftest.er1
36551 ac_status=$?
36552 grep -v '^ *+' conftest.er1 >conftest.err
36553 rm -f conftest.er1
36554 cat conftest.err >&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); } &&
36557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36559 (eval $ac_try) 2>&5
36560 ac_status=$?
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); }; } &&
36563 { ac_try='test -s conftest.$ac_objext'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36566 ac_status=$?
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; }; then
36569 ac_header_compiler=yes
36570 else
36571 echo "$as_me: failed program was:" >&5
36572 sed 's/^/| /' conftest.$ac_ext >&5
36573
36574 ac_header_compiler=no
36575 fi
36576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36578 echo "${ECHO_T}$ac_header_compiler" >&6
36579
36580 # Is the header present?
36581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36583 cat >conftest.$ac_ext <<_ACEOF
36584 /* confdefs.h. */
36585 _ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 #include <$ac_header>
36590 _ACEOF
36591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36593 ac_status=$?
36594 grep -v '^ *+' conftest.er1 >conftest.err
36595 rm -f conftest.er1
36596 cat conftest.err >&5
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); } >/dev/null; then
36599 if test -s conftest.err; then
36600 ac_cpp_err=$ac_c_preproc_warn_flag
36601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36602 else
36603 ac_cpp_err=
36604 fi
36605 else
36606 ac_cpp_err=yes
36607 fi
36608 if test -z "$ac_cpp_err"; then
36609 ac_header_preproc=yes
36610 else
36611 echo "$as_me: failed program was:" >&5
36612 sed 's/^/| /' conftest.$ac_ext >&5
36613
36614 ac_header_preproc=no
36615 fi
36616 rm -f conftest.err conftest.$ac_ext
36617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36618 echo "${ECHO_T}$ac_header_preproc" >&6
36619
36620 # So? What about this header?
36621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36622 yes:no: )
36623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36627 ac_header_preproc=yes
36628 ;;
36629 no:yes:* )
36630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36642 (
36643 cat <<\_ASBOX
36644 ## ----------------------------------------- ##
36645 ## Report this to wx-dev@lists.wxwidgets.org ##
36646 ## ----------------------------------------- ##
36647 _ASBOX
36648 ) |
36649 sed "s/^/$as_me: WARNING: /" >&2
36650 ;;
36651 esac
36652 echo "$as_me:$LINENO: checking for $ac_header" >&5
36653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36655 echo $ECHO_N "(cached) $ECHO_C" >&6
36656 else
36657 eval "$as_ac_Header=\$ac_header_preproc"
36658 fi
36659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36661
36662 fi
36663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36664 cat >>confdefs.h <<_ACEOF
36665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36666 _ACEOF
36667
36668 fi
36669
36670 done
36671
36672
36673 if test "$ac_cv_header_ole2_h" = "yes" ; then
36674 if test "$GCC" = yes ; then
36675
36676
36677 ac_ext=cc
36678 ac_cpp='$CXXCPP $CPPFLAGS'
36679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36682
36683
36684 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36685 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36686 cat >conftest.$ac_ext <<_ACEOF
36687 /* confdefs.h. */
36688 _ACEOF
36689 cat confdefs.h >>conftest.$ac_ext
36690 cat >>conftest.$ac_ext <<_ACEOF
36691 /* end confdefs.h. */
36692 #include <windows.h>
36693 #include <ole2.h>
36694 int
36695 main ()
36696 {
36697
36698 ;
36699 return 0;
36700 }
36701 _ACEOF
36702 rm -f conftest.$ac_objext
36703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36704 (eval $ac_compile) 2>conftest.er1
36705 ac_status=$?
36706 grep -v '^ *+' conftest.er1 >conftest.err
36707 rm -f conftest.er1
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } &&
36711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36714 ac_status=$?
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; } &&
36717 { ac_try='test -s conftest.$ac_objext'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36720 ac_status=$?
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; }; then
36723 echo "$as_me:$LINENO: result: no" >&5
36724 echo "${ECHO_T}no" >&6
36725 else
36726 echo "$as_me: failed program was:" >&5
36727 sed 's/^/| /' conftest.$ac_ext >&5
36728
36729 echo "$as_me:$LINENO: result: yes" >&5
36730 echo "${ECHO_T}yes" >&6
36731 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36732 fi
36733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36734 ac_ext=c
36735 ac_cpp='$CPP $CPPFLAGS'
36736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36739
36740 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36741 if test "$wxUSE_OLE" = "yes" ; then
36742 cat >>confdefs.h <<\_ACEOF
36743 #define wxUSE_OLE 1
36744 _ACEOF
36745
36746 fi
36747 fi
36748
36749 if test "$wxUSE_DATAOBJ" = "yes" ; then
36750 cat >>confdefs.h <<\_ACEOF
36751 #define wxUSE_DATAOBJ 1
36752 _ACEOF
36753
36754 fi
36755 else
36756 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36757 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36758
36759 wxUSE_CLIPBOARD=no
36760 wxUSE_DRAG_AND_DROP=no
36761 wxUSE_DATAOBJ=no
36762 wxUSE_OLE=no
36763 fi
36764
36765 if test "$wxUSE_METAFILE" = "yes"; then
36766 cat >>confdefs.h <<\_ACEOF
36767 #define wxUSE_METAFILE 1
36768 _ACEOF
36769
36770
36771 cat >>confdefs.h <<\_ACEOF
36772 #define wxUSE_ENH_METAFILE 1
36773 _ACEOF
36774
36775 fi
36776 fi
36777
36778 if test "$wxUSE_IPC" = "yes"; then
36779 if test "$wxUSE_SOCKETS" != "yes"; then
36780 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36781 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36782 fi
36783
36784 cat >>confdefs.h <<\_ACEOF
36785 #define wxUSE_IPC 1
36786 _ACEOF
36787
36788 fi
36789
36790 if test "$wxUSE_CLIPBOARD" = "yes"; then
36791 if test "$wxUSE_MGL" = 1; then
36792 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36793 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36794 wxUSE_CLIPBOARD=no
36795 fi
36796
36797 if test "$wxUSE_CLIPBOARD" = "yes"; then
36798 cat >>confdefs.h <<\_ACEOF
36799 #define wxUSE_CLIPBOARD 1
36800 _ACEOF
36801
36802
36803 cat >>confdefs.h <<\_ACEOF
36804 #define wxUSE_DATAOBJ 1
36805 _ACEOF
36806
36807 fi
36808 fi
36809
36810 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36811 if test "$wxUSE_GTK" = 1; then
36812 if test "$WXGTK12" != 1; then
36813 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36814 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36815 wxUSE_DRAG_AND_DROP=no
36816 fi
36817 fi
36818
36819 if test "$wxUSE_MOTIF" = 1; then
36820 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36821 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36822 wxUSE_DRAG_AND_DROP=no
36823 fi
36824
36825 if test "$wxUSE_X11" = 1; then
36826 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36827 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36828 wxUSE_DRAG_AND_DROP=no
36829 fi
36830
36831 if test "$wxUSE_MGL" = 1; then
36832 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36833 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36834 wxUSE_DRAG_AND_DROP=no
36835 fi
36836
36837 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36838 cat >>confdefs.h <<\_ACEOF
36839 #define wxUSE_DRAG_AND_DROP 1
36840 _ACEOF
36841
36842 fi
36843
36844 fi
36845
36846 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36848 fi
36849
36850 if test "$wxUSE_SPLINES" = "yes" ; then
36851 cat >>confdefs.h <<\_ACEOF
36852 #define wxUSE_SPLINES 1
36853 _ACEOF
36854
36855 fi
36856
36857
36858 USES_CONTROLS=0
36859 if test "$wxUSE_CONTROLS" = "yes"; then
36860 USES_CONTROLS=1
36861 fi
36862
36863 if test "$wxUSE_ACCEL" = "yes"; then
36864 cat >>confdefs.h <<\_ACEOF
36865 #define wxUSE_ACCEL 1
36866 _ACEOF
36867
36868 USES_CONTROLS=1
36869 fi
36870
36871 if test "$wxUSE_BUTTON" = "yes"; then
36872 cat >>confdefs.h <<\_ACEOF
36873 #define wxUSE_BUTTON 1
36874 _ACEOF
36875
36876 USES_CONTROLS=1
36877 fi
36878
36879 if test "$wxUSE_BMPBUTTON" = "yes"; then
36880 cat >>confdefs.h <<\_ACEOF
36881 #define wxUSE_BMPBUTTON 1
36882 _ACEOF
36883
36884 USES_CONTROLS=1
36885 fi
36886
36887 if test "$wxUSE_CALCTRL" = "yes"; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define wxUSE_CALENDARCTRL 1
36890 _ACEOF
36891
36892 USES_CONTROLS=1
36893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36894 fi
36895
36896 if test "$wxUSE_CARET" = "yes"; then
36897 cat >>confdefs.h <<\_ACEOF
36898 #define wxUSE_CARET 1
36899 _ACEOF
36900
36901 USES_CONTROLS=1
36902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36903 fi
36904
36905 if test "$wxUSE_COMBOBOX" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxUSE_COMBOBOX 1
36908 _ACEOF
36909
36910 USES_CONTROLS=1
36911 fi
36912
36913 if test "$wxUSE_CHOICE" = "yes"; then
36914 cat >>confdefs.h <<\_ACEOF
36915 #define wxUSE_CHOICE 1
36916 _ACEOF
36917
36918 USES_CONTROLS=1
36919 fi
36920
36921 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36922 cat >>confdefs.h <<\_ACEOF
36923 #define wxUSE_CHOICEBOOK 1
36924 _ACEOF
36925
36926 USES_CONTROLS=1
36927 fi
36928
36929 if test "$wxUSE_CHECKBOX" = "yes"; then
36930 cat >>confdefs.h <<\_ACEOF
36931 #define wxUSE_CHECKBOX 1
36932 _ACEOF
36933
36934 USES_CONTROLS=1
36935 fi
36936
36937 if test "$wxUSE_CHECKLST" = "yes"; then
36938 cat >>confdefs.h <<\_ACEOF
36939 #define wxUSE_CHECKLISTBOX 1
36940 _ACEOF
36941
36942 USES_CONTROLS=1
36943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36944 fi
36945
36946 if test "$wxUSE_DISPLAY" = "yes"; then
36947 cat >>confdefs.h <<\_ACEOF
36948 #define wxUSE_DISPLAY 1
36949 _ACEOF
36950
36951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36952 fi
36953
36954 if test "$wxUSE_GAUGE" = "yes"; then
36955 cat >>confdefs.h <<\_ACEOF
36956 #define wxUSE_GAUGE 1
36957 _ACEOF
36958
36959 USES_CONTROLS=1
36960 fi
36961
36962 if test "$wxUSE_GRID" = "yes"; then
36963 cat >>confdefs.h <<\_ACEOF
36964 #define wxUSE_GRID 1
36965 _ACEOF
36966
36967 USES_CONTROLS=1
36968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36969 fi
36970
36971 if test "$wxUSE_IMAGLIST" = "yes"; then
36972 cat >>confdefs.h <<\_ACEOF
36973 #define wxUSE_IMAGLIST 1
36974 _ACEOF
36975
36976 fi
36977
36978 if test "$wxUSE_LISTBOOK" = "yes"; then
36979 cat >>confdefs.h <<\_ACEOF
36980 #define wxUSE_LISTBOOK 1
36981 _ACEOF
36982
36983 USES_CONTROLS=1
36984 fi
36985
36986 if test "$wxUSE_LISTBOX" = "yes"; then
36987 cat >>confdefs.h <<\_ACEOF
36988 #define wxUSE_LISTBOX 1
36989 _ACEOF
36990
36991 USES_CONTROLS=1
36992 fi
36993
36994 if test "$wxUSE_LISTCTRL" = "yes"; then
36995 if test "$wxUSE_IMAGLIST" = "yes"; then
36996 cat >>confdefs.h <<\_ACEOF
36997 #define wxUSE_LISTCTRL 1
36998 _ACEOF
36999
37000 USES_CONTROLS=1
37001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37002 else
37003 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37004 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37005 fi
37006 fi
37007
37008 if test "$wxUSE_NOTEBOOK" = "yes"; then
37009 cat >>confdefs.h <<\_ACEOF
37010 #define wxUSE_NOTEBOOK 1
37011 _ACEOF
37012
37013 USES_CONTROLS=1
37014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
37015 fi
37016
37017
37018 if test "$wxUSE_RADIOBOX" = "yes"; then
37019 cat >>confdefs.h <<\_ACEOF
37020 #define wxUSE_RADIOBOX 1
37021 _ACEOF
37022
37023 USES_CONTROLS=1
37024 fi
37025
37026 if test "$wxUSE_RADIOBTN" = "yes"; then
37027 cat >>confdefs.h <<\_ACEOF
37028 #define wxUSE_RADIOBTN 1
37029 _ACEOF
37030
37031 USES_CONTROLS=1
37032 fi
37033
37034 if test "$wxUSE_SASH" = "yes"; then
37035 cat >>confdefs.h <<\_ACEOF
37036 #define wxUSE_SASH 1
37037 _ACEOF
37038
37039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
37040 fi
37041
37042 if test "$wxUSE_SCROLLBAR" = "yes"; then
37043 cat >>confdefs.h <<\_ACEOF
37044 #define wxUSE_SCROLLBAR 1
37045 _ACEOF
37046
37047 USES_CONTROLS=1
37048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
37049 fi
37050
37051 if test "$wxUSE_SLIDER" = "yes"; then
37052 cat >>confdefs.h <<\_ACEOF
37053 #define wxUSE_SLIDER 1
37054 _ACEOF
37055
37056 USES_CONTROLS=1
37057 fi
37058
37059 if test "$wxUSE_SPINBTN" = "yes"; then
37060 cat >>confdefs.h <<\_ACEOF
37061 #define wxUSE_SPINBTN 1
37062 _ACEOF
37063
37064 USES_CONTROLS=1
37065 fi
37066
37067 if test "$wxUSE_SPINCTRL" = "yes"; then
37068 cat >>confdefs.h <<\_ACEOF
37069 #define wxUSE_SPINCTRL 1
37070 _ACEOF
37071
37072 USES_CONTROLS=1
37073 fi
37074
37075 if test "$wxUSE_SPLITTER" = "yes"; then
37076 cat >>confdefs.h <<\_ACEOF
37077 #define wxUSE_SPLITTER 1
37078 _ACEOF
37079
37080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
37081 fi
37082
37083 if test "$wxUSE_STATBMP" = "yes"; then
37084 cat >>confdefs.h <<\_ACEOF
37085 #define wxUSE_STATBMP 1
37086 _ACEOF
37087
37088 USES_CONTROLS=1
37089 fi
37090
37091 if test "$wxUSE_STATBOX" = "yes"; then
37092 cat >>confdefs.h <<\_ACEOF
37093 #define wxUSE_STATBOX 1
37094 _ACEOF
37095
37096 USES_CONTROLS=1
37097 fi
37098
37099 if test "$wxUSE_STATTEXT" = "yes"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define wxUSE_STATTEXT 1
37102 _ACEOF
37103
37104 USES_CONTROLS=1
37105 fi
37106
37107 if test "$wxUSE_STATLINE" = "yes"; then
37108 cat >>confdefs.h <<\_ACEOF
37109 #define wxUSE_STATLINE 1
37110 _ACEOF
37111
37112 USES_CONTROLS=1
37113 fi
37114
37115 if test "$wxUSE_STATUSBAR" = "yes"; then
37116 cat >>confdefs.h <<\_ACEOF
37117 #define wxUSE_STATUSBAR 1
37118 _ACEOF
37119
37120 USES_CONTROLS=1
37121
37122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
37123 fi
37124
37125 if test "$wxUSE_TABDIALOG" = "yes"; then
37126 cat >>confdefs.h <<\_ACEOF
37127 #define wxUSE_TAB_DIALOG 1
37128 _ACEOF
37129
37130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
37131 fi
37132
37133 if test "$wxUSE_TEXTCTRL" = "yes"; then
37134 cat >>confdefs.h <<\_ACEOF
37135 #define wxUSE_TEXTCTRL 1
37136 _ACEOF
37137
37138 USES_CONTROLS=1
37139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37140 fi
37141
37142 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37143 if test "$wxUSE_COCOA" = 1 ; then
37144 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37145 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37146 wxUSE_TOGGLEBTN=no
37147 else
37148 if test "$wxUSE_PM" = 1; then
37149 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37150 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37151 wxUSE_TOGGLEBTN=no
37152 fi
37153 fi
37154 if test "$wxUSE_UNIVERSAL" = "yes"; then
37155 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37156 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37157 wxUSE_TOGGLEBTN=no
37158 fi
37159
37160 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37161 cat >>confdefs.h <<\_ACEOF
37162 #define wxUSE_TOGGLEBTN 1
37163 _ACEOF
37164
37165 USES_CONTROLS=1
37166 fi
37167 fi
37168
37169 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37170 cat >>confdefs.h <<\_ACEOF
37171 #define wxUSE_TOOLBAR_SIMPLE 1
37172 _ACEOF
37173
37174 wxUSE_TOOLBAR="yes"
37175 USES_CONTROLS=1
37176 fi
37177
37178 if test "$wxUSE_TOOLBAR" = "yes"; then
37179 cat >>confdefs.h <<\_ACEOF
37180 #define wxUSE_TOOLBAR 1
37181 _ACEOF
37182
37183 USES_CONTROLS=1
37184
37185 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37186 wxUSE_TOOLBAR_NATIVE="yes"
37187 fi
37188
37189 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37190 cat >>confdefs.h <<\_ACEOF
37191 #define wxUSE_TOOLBAR_NATIVE 1
37192 _ACEOF
37193
37194 USES_CONTROLS=1
37195 fi
37196
37197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37198 fi
37199
37200 if test "$wxUSE_TOOLTIPS" = "yes"; then
37201 if test "$wxUSE_MOTIF" = 1; then
37202 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37203 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37204 else
37205 if test "$wxUSE_UNIVERSAL" = "yes"; then
37206 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37207 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37208 else
37209 cat >>confdefs.h <<\_ACEOF
37210 #define wxUSE_TOOLTIPS 1
37211 _ACEOF
37212
37213 fi
37214 fi
37215 fi
37216
37217 if test "$wxUSE_TREECTRL" = "yes"; then
37218 if test "$wxUSE_IMAGLIST" = "yes"; then
37219 cat >>confdefs.h <<\_ACEOF
37220 #define wxUSE_TREECTRL 1
37221 _ACEOF
37222
37223 USES_CONTROLS=1
37224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37225 else
37226 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37227 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37228 fi
37229 fi
37230
37231 if test "$wxUSE_POPUPWIN" = "yes"; then
37232 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37233 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37234 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37235 else
37236 if test "$wxUSE_PM" = 1; then
37237 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37238 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37239 else
37240 cat >>confdefs.h <<\_ACEOF
37241 #define wxUSE_POPUPWIN 1
37242 _ACEOF
37243
37244
37245 USES_CONTROLS=1
37246 fi
37247 fi
37248 fi
37249
37250 if test "$wxUSE_TIPWINDOW" = "yes"; then
37251 if test "$wxUSE_PM" = 1; then
37252 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37253 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37254 else
37255 cat >>confdefs.h <<\_ACEOF
37256 #define wxUSE_TIPWINDOW 1
37257 _ACEOF
37258
37259 fi
37260 fi
37261
37262 if test "$USES_CONTROLS" = 1; then
37263 cat >>confdefs.h <<\_ACEOF
37264 #define wxUSE_CONTROLS 1
37265 _ACEOF
37266
37267 fi
37268
37269
37270 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37271 cat >>confdefs.h <<\_ACEOF
37272 #define wxUSE_ACCESSIBILITY 1
37273 _ACEOF
37274
37275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37276 fi
37277
37278 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37279 cat >>confdefs.h <<\_ACEOF
37280 #define wxUSE_DRAGIMAGE 1
37281 _ACEOF
37282
37283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37284 fi
37285
37286 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37287 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37288 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37289 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37290 else
37291 cat >>confdefs.h <<\_ACEOF
37292 #define wxUSE_EXCEPTIONS 1
37293 _ACEOF
37294
37295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
37296 fi
37297 fi
37298
37299 USE_HTML=0
37300 if test "$wxUSE_HTML" = "yes"; then
37301 cat >>confdefs.h <<\_ACEOF
37302 #define wxUSE_HTML 1
37303 _ACEOF
37304
37305 USE_HTML=1
37306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37307 if test "$wxUSE_MAC" = 1; then
37308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
37309 fi
37310 fi
37311 if test "$wxUSE_WEBKIT" = "yes"; then
37312 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37313 old_CPPFLAGS="$CPPFLAGS"
37314 CPPFLAGS="$CPPFLAGS -x objective-c++"
37315 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37316 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37317 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37318 echo $ECHO_N "(cached) $ECHO_C" >&6
37319 else
37320 cat >conftest.$ac_ext <<_ACEOF
37321 /* confdefs.h. */
37322 _ACEOF
37323 cat confdefs.h >>conftest.$ac_ext
37324 cat >>conftest.$ac_ext <<_ACEOF
37325 /* end confdefs.h. */
37326 #include <Carbon/Carbon.h>
37327
37328 #include <WebKit/HIWebView.h>
37329 _ACEOF
37330 rm -f conftest.$ac_objext
37331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37332 (eval $ac_compile) 2>conftest.er1
37333 ac_status=$?
37334 grep -v '^ *+' conftest.er1 >conftest.err
37335 rm -f conftest.er1
37336 cat conftest.err >&5
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); } &&
37339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341 (eval $ac_try) 2>&5
37342 ac_status=$?
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); }; } &&
37345 { ac_try='test -s conftest.$ac_objext'
37346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347 (eval $ac_try) 2>&5
37348 ac_status=$?
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); }; }; then
37351 ac_cv_header_WebKit_HIWebView_h=yes
37352 else
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356 ac_cv_header_WebKit_HIWebView_h=no
37357 fi
37358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37359 fi
37360 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37361 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37362 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37363
37364 cat >>confdefs.h <<\_ACEOF
37365 #define wxUSE_WEBKIT 1
37366 _ACEOF
37367
37368 WEBKIT_LINK="-framework WebKit"
37369
37370 else
37371
37372 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37373 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37374 wxUSE_WEBKIT=no
37375
37376 fi
37377
37378
37379 CPPFLAGS="$old_CPPFLAGS"
37380 elif test "$wxUSE_COCOA" = 1; then
37381 cat >>confdefs.h <<\_ACEOF
37382 #define wxUSE_WEBKIT 1
37383 _ACEOF
37384
37385 else
37386 wxUSE_WEBKIT=no
37387 fi
37388 fi
37389
37390 USE_XRC=0
37391 if test "$wxUSE_XRC" = "yes"; then
37392 if test "$wxUSE_XML" != "yes"; then
37393 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37394 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37395 wxUSE_XRC=no
37396 else
37397 cat >>confdefs.h <<\_ACEOF
37398 #define wxUSE_XRC 1
37399 _ACEOF
37400
37401 USE_XRC=1
37402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37403 fi
37404 fi
37405
37406 if test "$wxUSE_MENUS" = "yes"; then
37407 cat >>confdefs.h <<\_ACEOF
37408 #define wxUSE_MENUS 1
37409 _ACEOF
37410
37411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37412 fi
37413
37414 if test "$wxUSE_METAFILE" = "yes"; then
37415 cat >>confdefs.h <<\_ACEOF
37416 #define wxUSE_METAFILE 1
37417 _ACEOF
37418
37419 fi
37420
37421 if test "$wxUSE_MIMETYPE" = "yes"; then
37422 cat >>confdefs.h <<\_ACEOF
37423 #define wxUSE_MIMETYPE 1
37424 _ACEOF
37425
37426 fi
37427
37428 if test "$wxUSE_MINIFRAME" = "yes"; then
37429 cat >>confdefs.h <<\_ACEOF
37430 #define wxUSE_MINIFRAME 1
37431 _ACEOF
37432
37433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37434 fi
37435
37436 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37437 cat >>confdefs.h <<\_ACEOF
37438 #define wxUSE_SYSTEM_OPTIONS 1
37439 _ACEOF
37440
37441 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37442 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37444 fi
37445 fi
37446
37447
37448 if test "$wxUSE_VALIDATORS" = "yes"; then
37449 cat >>confdefs.h <<\_ACEOF
37450 #define wxUSE_VALIDATORS 1
37451 _ACEOF
37452
37453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37454 fi
37455
37456 if test "$wxUSE_PALETTE" = "yes" ; then
37457 cat >>confdefs.h <<\_ACEOF
37458 #define wxUSE_PALETTE 1
37459 _ACEOF
37460
37461 fi
37462
37463 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37464 LIBS=" -lunicows $LIBS"
37465 fi
37466
37467
37468 if test "$wxUSE_IMAGE" = "yes" ; then
37469 cat >>confdefs.h <<\_ACEOF
37470 #define wxUSE_IMAGE 1
37471 _ACEOF
37472
37473
37474 if test "$wxUSE_GIF" = "yes" ; then
37475 cat >>confdefs.h <<\_ACEOF
37476 #define wxUSE_GIF 1
37477 _ACEOF
37478
37479 fi
37480
37481 if test "$wxUSE_PCX" = "yes" ; then
37482 cat >>confdefs.h <<\_ACEOF
37483 #define wxUSE_PCX 1
37484 _ACEOF
37485
37486 fi
37487
37488 if test "$wxUSE_IFF" = "yes" ; then
37489 cat >>confdefs.h <<\_ACEOF
37490 #define wxUSE_IFF 1
37491 _ACEOF
37492
37493 fi
37494
37495 if test "$wxUSE_PNM" = "yes" ; then
37496 cat >>confdefs.h <<\_ACEOF
37497 #define wxUSE_PNM 1
37498 _ACEOF
37499
37500 fi
37501
37502 if test "$wxUSE_XPM" = "yes" ; then
37503 cat >>confdefs.h <<\_ACEOF
37504 #define wxUSE_XPM 1
37505 _ACEOF
37506
37507 fi
37508
37509 if test "$wxUSE_ICO_CUR" = "yes" ; then
37510 cat >>confdefs.h <<\_ACEOF
37511 #define wxUSE_ICO_CUR 1
37512 _ACEOF
37513
37514 fi
37515 fi
37516
37517
37518 if test "$wxUSE_CHOICEDLG" = "yes"; then
37519 cat >>confdefs.h <<\_ACEOF
37520 #define wxUSE_CHOICEDLG 1
37521 _ACEOF
37522
37523 fi
37524
37525 if test "$wxUSE_COLOURDLG" = "yes"; then
37526 cat >>confdefs.h <<\_ACEOF
37527 #define wxUSE_COLOURDLG 1
37528 _ACEOF
37529
37530 fi
37531
37532 if test "$wxUSE_FILEDLG" = "yes"; then
37533 cat >>confdefs.h <<\_ACEOF
37534 #define wxUSE_FILEDLG 1
37535 _ACEOF
37536
37537 fi
37538
37539 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37540 cat >>confdefs.h <<\_ACEOF
37541 #define wxUSE_FINDREPLDLG 1
37542 _ACEOF
37543
37544 fi
37545
37546 if test "$wxUSE_FONTDLG" = "yes"; then
37547 cat >>confdefs.h <<\_ACEOF
37548 #define wxUSE_FONTDLG 1
37549 _ACEOF
37550
37551 fi
37552
37553 if test "$wxUSE_DIRDLG" = "yes"; then
37554 if test "$wxUSE_TREECTRL" != "yes"; then
37555 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37556 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37557 else
37558 cat >>confdefs.h <<\_ACEOF
37559 #define wxUSE_DIRDLG 1
37560 _ACEOF
37561
37562 fi
37563 fi
37564
37565 if test "$wxUSE_MSGDLG" = "yes"; then
37566 cat >>confdefs.h <<\_ACEOF
37567 #define wxUSE_MSGDLG 1
37568 _ACEOF
37569
37570 fi
37571
37572 if test "$wxUSE_NUMBERDLG" = "yes"; then
37573 cat >>confdefs.h <<\_ACEOF
37574 #define wxUSE_NUMBERDLG 1
37575 _ACEOF
37576
37577 fi
37578
37579 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37580 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37581 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37582 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37583 else
37584 cat >>confdefs.h <<\_ACEOF
37585 #define wxUSE_PROGRESSDLG 1
37586 _ACEOF
37587
37588 fi
37589 fi
37590
37591 if test "$wxUSE_SPLASH" = "yes"; then
37592 cat >>confdefs.h <<\_ACEOF
37593 #define wxUSE_SPLASH 1
37594 _ACEOF
37595
37596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37597 fi
37598
37599 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37600 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37601 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37602 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37603 else
37604 cat >>confdefs.h <<\_ACEOF
37605 #define wxUSE_STARTUP_TIPS 1
37606 _ACEOF
37607
37608 fi
37609 fi
37610
37611 if test "$wxUSE_TEXTDLG" = "yes"; then
37612 cat >>confdefs.h <<\_ACEOF
37613 #define wxUSE_TEXTDLG 1
37614 _ACEOF
37615
37616 fi
37617
37618 if test "$wxUSE_WIZARDDLG" = "yes"; then
37619 cat >>confdefs.h <<\_ACEOF
37620 #define wxUSE_WIZARDDLG 1
37621 _ACEOF
37622
37623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37624 fi
37625
37626
37627 if test "$cross_compiling" = "yes"; then
37628 OSINFO="\"$host\""
37629 else
37630 OSINFO=`uname -s -r -m`
37631 OSINFO="\"$OSINFO\""
37632 fi
37633
37634 cat >>confdefs.h <<_ACEOF
37635 #define WXWIN_OS_DESCRIPTION $OSINFO
37636 _ACEOF
37637
37638
37639
37640 if test "x$prefix" != "xNONE"; then
37641 wxPREFIX=$prefix
37642 else
37643 wxPREFIX=$ac_default_prefix
37644 fi
37645
37646 cat >>confdefs.h <<_ACEOF
37647 #define wxINSTALL_PREFIX "$wxPREFIX"
37648 _ACEOF
37649
37650
37651
37652
37653 CORE_BASE_LIBS="net base"
37654 CORE_GUI_LIBS="adv core"
37655
37656 if test "$wxUSE_XML" = "yes" ; then
37657 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37658 fi
37659 if test "$wxUSE_ODBC" != "no" ; then
37660 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37661 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37662 fi
37663 if test "$wxUSE_HTML" = "yes" ; then
37664 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37665 fi
37666 if test "$wxUSE_XRC" = "yes" ; then
37667 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37668 fi
37669
37670 if test "$wxUSE_GUI" != "yes"; then
37671 CORE_GUI_LIBS=""
37672 fi
37673
37674
37675
37676
37677
37678
37679
37680
37681 if test "$wxUSE_MAC" = 1 ; then
37682 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
37683 if test "$USE_DARWIN" = 1; then
37684 LDFLAGS="$LDFLAGS -framework QuickTime"
37685 else
37686 LDFLAGS="$LDFLAGS -lQuickTimeLib"
37687 fi
37688 fi
37689 if test "$USE_DARWIN" = 1; then
37690 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
37691 else
37692 LDFLAGS="$LDFLAGS -lCarbonLib"
37693 fi
37694 fi
37695 if test "$wxUSE_COCOA" = 1 ; then
37696 LDFLAGS="$LDFLAGS -framework Cocoa"
37697 fi
37698
37699
37700 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37701
37702 have_cos=0
37703 have_floor=0
37704
37705 for ac_func in cos
37706 do
37707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37708 echo "$as_me:$LINENO: checking for $ac_func" >&5
37709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37710 if eval "test \"\${$as_ac_var+set}\" = set"; then
37711 echo $ECHO_N "(cached) $ECHO_C" >&6
37712 else
37713 cat >conftest.$ac_ext <<_ACEOF
37714 /* confdefs.h. */
37715 _ACEOF
37716 cat confdefs.h >>conftest.$ac_ext
37717 cat >>conftest.$ac_ext <<_ACEOF
37718 /* end confdefs.h. */
37719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37721 #define $ac_func innocuous_$ac_func
37722
37723 /* System header to define __stub macros and hopefully few prototypes,
37724 which can conflict with char $ac_func (); below.
37725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37726 <limits.h> exists even on freestanding compilers. */
37727
37728 #ifdef __STDC__
37729 # include <limits.h>
37730 #else
37731 # include <assert.h>
37732 #endif
37733
37734 #undef $ac_func
37735
37736 /* Override any gcc2 internal prototype to avoid an error. */
37737 #ifdef __cplusplus
37738 extern "C"
37739 {
37740 #endif
37741 /* We use char because int might match the return type of a gcc2
37742 builtin and then its argument prototype would still apply. */
37743 char $ac_func ();
37744 /* The GNU C library defines this for functions which it implements
37745 to always fail with ENOSYS. Some functions are actually named
37746 something starting with __ and the normal name is an alias. */
37747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37748 choke me
37749 #else
37750 char (*f) () = $ac_func;
37751 #endif
37752 #ifdef __cplusplus
37753 }
37754 #endif
37755
37756 int
37757 main ()
37758 {
37759 return f != $ac_func;
37760 ;
37761 return 0;
37762 }
37763 _ACEOF
37764 rm -f conftest.$ac_objext conftest$ac_exeext
37765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37766 (eval $ac_link) 2>conftest.er1
37767 ac_status=$?
37768 grep -v '^ *+' conftest.er1 >conftest.err
37769 rm -f conftest.er1
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772 (exit $ac_status); } &&
37773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37775 (eval $ac_try) 2>&5
37776 ac_status=$?
37777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778 (exit $ac_status); }; } &&
37779 { ac_try='test -s conftest$ac_exeext'
37780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37781 (eval $ac_try) 2>&5
37782 ac_status=$?
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); }; }; then
37785 eval "$as_ac_var=yes"
37786 else
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37789
37790 eval "$as_ac_var=no"
37791 fi
37792 rm -f conftest.err conftest.$ac_objext \
37793 conftest$ac_exeext conftest.$ac_ext
37794 fi
37795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37797 if test `eval echo '${'$as_ac_var'}'` = yes; then
37798 cat >>confdefs.h <<_ACEOF
37799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37800 _ACEOF
37801 have_cos=1
37802 fi
37803 done
37804
37805
37806 for ac_func in floor
37807 do
37808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37809 echo "$as_me:$LINENO: checking for $ac_func" >&5
37810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37811 if eval "test \"\${$as_ac_var+set}\" = set"; then
37812 echo $ECHO_N "(cached) $ECHO_C" >&6
37813 else
37814 cat >conftest.$ac_ext <<_ACEOF
37815 /* confdefs.h. */
37816 _ACEOF
37817 cat confdefs.h >>conftest.$ac_ext
37818 cat >>conftest.$ac_ext <<_ACEOF
37819 /* end confdefs.h. */
37820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37822 #define $ac_func innocuous_$ac_func
37823
37824 /* System header to define __stub macros and hopefully few prototypes,
37825 which can conflict with char $ac_func (); below.
37826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37827 <limits.h> exists even on freestanding compilers. */
37828
37829 #ifdef __STDC__
37830 # include <limits.h>
37831 #else
37832 # include <assert.h>
37833 #endif
37834
37835 #undef $ac_func
37836
37837 /* Override any gcc2 internal prototype to avoid an error. */
37838 #ifdef __cplusplus
37839 extern "C"
37840 {
37841 #endif
37842 /* We use char because int might match the return type of a gcc2
37843 builtin and then its argument prototype would still apply. */
37844 char $ac_func ();
37845 /* The GNU C library defines this for functions which it implements
37846 to always fail with ENOSYS. Some functions are actually named
37847 something starting with __ and the normal name is an alias. */
37848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37849 choke me
37850 #else
37851 char (*f) () = $ac_func;
37852 #endif
37853 #ifdef __cplusplus
37854 }
37855 #endif
37856
37857 int
37858 main ()
37859 {
37860 return f != $ac_func;
37861 ;
37862 return 0;
37863 }
37864 _ACEOF
37865 rm -f conftest.$ac_objext conftest$ac_exeext
37866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37867 (eval $ac_link) 2>conftest.er1
37868 ac_status=$?
37869 grep -v '^ *+' conftest.er1 >conftest.err
37870 rm -f conftest.er1
37871 cat conftest.err >&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); } &&
37874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37876 (eval $ac_try) 2>&5
37877 ac_status=$?
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); }; } &&
37880 { ac_try='test -s conftest$ac_exeext'
37881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37882 (eval $ac_try) 2>&5
37883 ac_status=$?
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); }; }; then
37886 eval "$as_ac_var=yes"
37887 else
37888 echo "$as_me: failed program was:" >&5
37889 sed 's/^/| /' conftest.$ac_ext >&5
37890
37891 eval "$as_ac_var=no"
37892 fi
37893 rm -f conftest.err conftest.$ac_objext \
37894 conftest$ac_exeext conftest.$ac_ext
37895 fi
37896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37898 if test `eval echo '${'$as_ac_var'}'` = yes; then
37899 cat >>confdefs.h <<_ACEOF
37900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37901 _ACEOF
37902 have_floor=1
37903 fi
37904 done
37905
37906 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37907 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37908 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37909 echo "$as_me:$LINENO: result: yes" >&5
37910 echo "${ECHO_T}yes" >&6
37911 else
37912 echo "$as_me:$LINENO: result: no" >&5
37913 echo "${ECHO_T}no" >&6
37914 LIBS="$LIBS -lm"
37915 # use different functions to avoid configure caching
37916 have_sin=0
37917 have_ceil=0
37918
37919 for ac_func in sin
37920 do
37921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37922 echo "$as_me:$LINENO: checking for $ac_func" >&5
37923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37924 if eval "test \"\${$as_ac_var+set}\" = set"; then
37925 echo $ECHO_N "(cached) $ECHO_C" >&6
37926 else
37927 cat >conftest.$ac_ext <<_ACEOF
37928 /* confdefs.h. */
37929 _ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h. */
37933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37935 #define $ac_func innocuous_$ac_func
37936
37937 /* System header to define __stub macros and hopefully few prototypes,
37938 which can conflict with char $ac_func (); below.
37939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37940 <limits.h> exists even on freestanding compilers. */
37941
37942 #ifdef __STDC__
37943 # include <limits.h>
37944 #else
37945 # include <assert.h>
37946 #endif
37947
37948 #undef $ac_func
37949
37950 /* Override any gcc2 internal prototype to avoid an error. */
37951 #ifdef __cplusplus
37952 extern "C"
37953 {
37954 #endif
37955 /* We use char because int might match the return type of a gcc2
37956 builtin and then its argument prototype would still apply. */
37957 char $ac_func ();
37958 /* The GNU C library defines this for functions which it implements
37959 to always fail with ENOSYS. Some functions are actually named
37960 something starting with __ and the normal name is an alias. */
37961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37962 choke me
37963 #else
37964 char (*f) () = $ac_func;
37965 #endif
37966 #ifdef __cplusplus
37967 }
37968 #endif
37969
37970 int
37971 main ()
37972 {
37973 return f != $ac_func;
37974 ;
37975 return 0;
37976 }
37977 _ACEOF
37978 rm -f conftest.$ac_objext conftest$ac_exeext
37979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37980 (eval $ac_link) 2>conftest.er1
37981 ac_status=$?
37982 grep -v '^ *+' conftest.er1 >conftest.err
37983 rm -f conftest.er1
37984 cat conftest.err >&5
37985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986 (exit $ac_status); } &&
37987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37989 (eval $ac_try) 2>&5
37990 ac_status=$?
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); }; } &&
37993 { ac_try='test -s conftest$ac_exeext'
37994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37995 (eval $ac_try) 2>&5
37996 ac_status=$?
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); }; }; then
37999 eval "$as_ac_var=yes"
38000 else
38001 echo "$as_me: failed program was:" >&5
38002 sed 's/^/| /' conftest.$ac_ext >&5
38003
38004 eval "$as_ac_var=no"
38005 fi
38006 rm -f conftest.err conftest.$ac_objext \
38007 conftest$ac_exeext conftest.$ac_ext
38008 fi
38009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38011 if test `eval echo '${'$as_ac_var'}'` = yes; then
38012 cat >>confdefs.h <<_ACEOF
38013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38014 _ACEOF
38015 have_sin=1
38016 fi
38017 done
38018
38019
38020 for ac_func in ceil
38021 do
38022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38023 echo "$as_me:$LINENO: checking for $ac_func" >&5
38024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38025 if eval "test \"\${$as_ac_var+set}\" = set"; then
38026 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 else
38028 cat >conftest.$ac_ext <<_ACEOF
38029 /* confdefs.h. */
38030 _ACEOF
38031 cat confdefs.h >>conftest.$ac_ext
38032 cat >>conftest.$ac_ext <<_ACEOF
38033 /* end confdefs.h. */
38034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38036 #define $ac_func innocuous_$ac_func
38037
38038 /* System header to define __stub macros and hopefully few prototypes,
38039 which can conflict with char $ac_func (); below.
38040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38041 <limits.h> exists even on freestanding compilers. */
38042
38043 #ifdef __STDC__
38044 # include <limits.h>
38045 #else
38046 # include <assert.h>
38047 #endif
38048
38049 #undef $ac_func
38050
38051 /* Override any gcc2 internal prototype to avoid an error. */
38052 #ifdef __cplusplus
38053 extern "C"
38054 {
38055 #endif
38056 /* We use char because int might match the return type of a gcc2
38057 builtin and then its argument prototype would still apply. */
38058 char $ac_func ();
38059 /* The GNU C library defines this for functions which it implements
38060 to always fail with ENOSYS. Some functions are actually named
38061 something starting with __ and the normal name is an alias. */
38062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38063 choke me
38064 #else
38065 char (*f) () = $ac_func;
38066 #endif
38067 #ifdef __cplusplus
38068 }
38069 #endif
38070
38071 int
38072 main ()
38073 {
38074 return f != $ac_func;
38075 ;
38076 return 0;
38077 }
38078 _ACEOF
38079 rm -f conftest.$ac_objext conftest$ac_exeext
38080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38081 (eval $ac_link) 2>conftest.er1
38082 ac_status=$?
38083 grep -v '^ *+' conftest.er1 >conftest.err
38084 rm -f conftest.er1
38085 cat conftest.err >&5
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); } &&
38088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38090 (eval $ac_try) 2>&5
38091 ac_status=$?
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); }; } &&
38094 { ac_try='test -s conftest$ac_exeext'
38095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38096 (eval $ac_try) 2>&5
38097 ac_status=$?
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); }; }; then
38100 eval "$as_ac_var=yes"
38101 else
38102 echo "$as_me: failed program was:" >&5
38103 sed 's/^/| /' conftest.$ac_ext >&5
38104
38105 eval "$as_ac_var=no"
38106 fi
38107 rm -f conftest.err conftest.$ac_objext \
38108 conftest$ac_exeext conftest.$ac_ext
38109 fi
38110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38112 if test `eval echo '${'$as_ac_var'}'` = yes; then
38113 cat >>confdefs.h <<_ACEOF
38114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38115 _ACEOF
38116 have_ceil=1
38117 fi
38118 done
38119
38120 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38121 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38122 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38123 echo "$as_me:$LINENO: result: yes" >&5
38124 echo "${ECHO_T}yes" >&6
38125 else
38126 echo "$as_me:$LINENO: result: no" >&5
38127 echo "${ECHO_T}no" >&6
38128 # not sure we should warn the user, crash, etc.
38129 fi
38130 fi
38131
38132 if test "$wxUSE_GUI" = "yes"; then
38133
38134
38135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
38136 drawing dynamic erase event exec font image \
38137 minimal propsize rotate shaped widgets render"
38138
38139 if test "$wxUSE_MONOLITHIC" != "yes"; then
38140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
38141 fi
38142 else
38143 SAMPLES_SUBDIRS="console"
38144 fi
38145
38146
38147 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38148 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38149
38150 if test "$GXX" = yes ; then
38151 CXXWARNINGS="-Wall"
38152 fi
38153
38154 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38155
38156 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38157 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
38158 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38159
38160
38161 LIBS=`echo $LIBS`
38162 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38163 EXTRALIBS_XML="$EXPAT_LINK"
38164 EXTRALIBS_HTML="$MSPACK_LINK"
38165 EXTRALIBS_ODBC="$ODBC_LINK"
38166 if test "$wxUSE_GUI" = "yes"; then
38167 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38168 fi
38169 if test "$wxUSE_OPENGL" = "yes"; then
38170 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
38171 fi
38172
38173 LDFLAGS="$LDFLAGS $PROFILE"
38174
38175 if test "$wxUSE_GTK" = 1; then
38176 WXCONFIG_INCLUDE=
38177 else
38178 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
38179 fi
38180
38181 WXCONFIG_EXTRALIBS="$LIBS"
38182
38183 if test "$wxUSE_REGEX" = "builtin" ; then
38184 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38185 fi
38186 if test "$wxUSE_EXPAT" = "builtin" ; then
38187 wxconfig_3rdparty="$wxconfig_3rdparty expat"
38188 fi
38189 if test "$wxUSE_ODBC" = "builtin" ; then
38190 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38191 fi
38192 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38193 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
38194 fi
38195 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38196 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
38197 fi
38198 if test "$wxUSE_LIBPNG" = "builtin" ; then
38199 wxconfig_3rdparty="$wxconfig_3rdparty png"
38200 fi
38201 if test "$wxUSE_ZLIB" = "builtin" ; then
38202 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
38203 fi
38204 if test "$wxUSE_ODBC" = "builtin" ; then
38205 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38206 fi
38207
38208 for i in $wxconfig_3rdparty ; do
38209 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38210 done
38211
38212
38213 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38214 WXUNIV=1
38215 else
38216 WXUNIV=0
38217 fi
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227 if test $wxUSE_MONOLITHIC = "yes" ; then
38228 MONOLITHIC=1
38229 else
38230 MONOLITHIC=0
38231 fi
38232
38233 if test $wxUSE_PLUGINS = "yes" ; then
38234 USE_PLUGINS=1
38235 else
38236 USE_PLUGINS=0
38237 fi
38238
38239 if test $wxUSE_ODBC != "no" ; then
38240 USE_ODBC=1
38241 else
38242 USE_ODBC=0
38243 fi
38244
38245 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38246 OFFICIAL_BUILD=1
38247 else
38248 OFFICIAL_BUILD=0
38249 fi
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38274
38275
38276
38277
38278
38279
38280
38281
38282 case "$TOOLKIT" in
38283 GTK)
38284 TOOLKIT_USER="GTK+"
38285 if test "$WXGTK20" = 1; then
38286 TOOLKIT_USER="$TOOLKIT_USER 2"
38287 fi
38288 ;;
38289
38290 *)
38291 TOOLKIT_USER=$TOOLKIT_LOWERCASE
38292 ;;
38293 esac
38294
38295
38296
38297
38298 if test "x$BAKEFILE_HOST" = "x"; then
38299 BAKEFILE_HOST="${host}"
38300 fi
38301
38302 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38303
38304 if test -n "$ac_tool_prefix"; then
38305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38307 echo "$as_me:$LINENO: checking for $ac_word" >&5
38308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38309 if test "${ac_cv_prog_RANLIB+set}" = set; then
38310 echo $ECHO_N "(cached) $ECHO_C" >&6
38311 else
38312 if test -n "$RANLIB"; then
38313 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38314 else
38315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38316 for as_dir in $PATH
38317 do
38318 IFS=$as_save_IFS
38319 test -z "$as_dir" && as_dir=.
38320 for ac_exec_ext in '' $ac_executable_extensions; do
38321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38322 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38324 break 2
38325 fi
38326 done
38327 done
38328
38329 fi
38330 fi
38331 RANLIB=$ac_cv_prog_RANLIB
38332 if test -n "$RANLIB"; then
38333 echo "$as_me:$LINENO: result: $RANLIB" >&5
38334 echo "${ECHO_T}$RANLIB" >&6
38335 else
38336 echo "$as_me:$LINENO: result: no" >&5
38337 echo "${ECHO_T}no" >&6
38338 fi
38339
38340 fi
38341 if test -z "$ac_cv_prog_RANLIB"; then
38342 ac_ct_RANLIB=$RANLIB
38343 # Extract the first word of "ranlib", so it can be a program name with args.
38344 set dummy ranlib; ac_word=$2
38345 echo "$as_me:$LINENO: checking for $ac_word" >&5
38346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38347 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38349 else
38350 if test -n "$ac_ct_RANLIB"; then
38351 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38352 else
38353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38354 for as_dir in $PATH
38355 do
38356 IFS=$as_save_IFS
38357 test -z "$as_dir" && as_dir=.
38358 for ac_exec_ext in '' $ac_executable_extensions; do
38359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38360 ac_cv_prog_ac_ct_RANLIB="ranlib"
38361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38362 break 2
38363 fi
38364 done
38365 done
38366
38367 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38368 fi
38369 fi
38370 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38371 if test -n "$ac_ct_RANLIB"; then
38372 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38373 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38374 else
38375 echo "$as_me:$LINENO: result: no" >&5
38376 echo "${ECHO_T}no" >&6
38377 fi
38378
38379 RANLIB=$ac_ct_RANLIB
38380 else
38381 RANLIB="$ac_cv_prog_RANLIB"
38382 fi
38383
38384 # Find a good install program. We prefer a C program (faster),
38385 # so one script is as good as another. But avoid the broken or
38386 # incompatible versions:
38387 # SysV /etc/install, /usr/sbin/install
38388 # SunOS /usr/etc/install
38389 # IRIX /sbin/install
38390 # AIX /bin/install
38391 # AmigaOS /C/install, which installs bootblocks on floppy discs
38392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38395 # OS/2's system install, which has a completely different semantic
38396 # ./install, which can be erroneously created by make from ./install.sh.
38397 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38398 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38399 if test -z "$INSTALL"; then
38400 if test "${ac_cv_path_install+set}" = set; then
38401 echo $ECHO_N "(cached) $ECHO_C" >&6
38402 else
38403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38404 for as_dir in $PATH
38405 do
38406 IFS=$as_save_IFS
38407 test -z "$as_dir" && as_dir=.
38408 # Account for people who put trailing slashes in PATH elements.
38409 case $as_dir/ in
38410 ./ | .// | /cC/* | \
38411 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38412 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38413 /usr/ucb/* ) ;;
38414 *)
38415 # OSF1 and SCO ODT 3.0 have their own names for install.
38416 # Don't use installbsd from OSF since it installs stuff as root
38417 # by default.
38418 for ac_prog in ginstall scoinst install; do
38419 for ac_exec_ext in '' $ac_executable_extensions; do
38420 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38421 if test $ac_prog = install &&
38422 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38423 # AIX install. It has an incompatible calling convention.
38424 :
38425 elif test $ac_prog = install &&
38426 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38427 # program-specific install script used by HP pwplus--don't use.
38428 :
38429 else
38430 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38431 break 3
38432 fi
38433 fi
38434 done
38435 done
38436 ;;
38437 esac
38438 done
38439
38440
38441 fi
38442 if test "${ac_cv_path_install+set}" = set; then
38443 INSTALL=$ac_cv_path_install
38444 else
38445 # As a last resort, use the slow shell script. We don't cache a
38446 # path for INSTALL within a source directory, because that will
38447 # break other packages using the cache if that directory is
38448 # removed, or if the path is relative.
38449 INSTALL=$ac_install_sh
38450 fi
38451 fi
38452 echo "$as_me:$LINENO: result: $INSTALL" >&5
38453 echo "${ECHO_T}$INSTALL" >&6
38454
38455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38456 # It thinks the first close brace ends the variable substitution.
38457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38458
38459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38460
38461 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38462
38463 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38464 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38465 LN_S=$as_ln_s
38466 if test "$LN_S" = "ln -s"; then
38467 echo "$as_me:$LINENO: result: yes" >&5
38468 echo "${ECHO_T}yes" >&6
38469 else
38470 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38471 echo "${ECHO_T}no, using $LN_S" >&6
38472 fi
38473
38474
38475 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38476 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38477 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38478 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38480 else
38481 cat >conftest.make <<\_ACEOF
38482 all:
38483 @echo 'ac_maketemp="$(MAKE)"'
38484 _ACEOF
38485 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38486 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38487 if test -n "$ac_maketemp"; then
38488 eval ac_cv_prog_make_${ac_make}_set=yes
38489 else
38490 eval ac_cv_prog_make_${ac_make}_set=no
38491 fi
38492 rm -f conftest.make
38493 fi
38494 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38495 echo "$as_me:$LINENO: result: yes" >&5
38496 echo "${ECHO_T}yes" >&6
38497 SET_MAKE=
38498 else
38499 echo "$as_me:$LINENO: result: no" >&5
38500 echo "${ECHO_T}no" >&6
38501 SET_MAKE="MAKE=${MAKE-make}"
38502 fi
38503
38504
38505
38506 if test -n "$ac_tool_prefix"; then
38507 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38508 set dummy ${ac_tool_prefix}ar; ac_word=$2
38509 echo "$as_me:$LINENO: checking for $ac_word" >&5
38510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38511 if test "${ac_cv_prog_AR+set}" = set; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 else
38514 if test -n "$AR"; then
38515 ac_cv_prog_AR="$AR" # Let the user override the test.
38516 else
38517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38518 for as_dir in $PATH
38519 do
38520 IFS=$as_save_IFS
38521 test -z "$as_dir" && as_dir=.
38522 for ac_exec_ext in '' $ac_executable_extensions; do
38523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38524 ac_cv_prog_AR="${ac_tool_prefix}ar"
38525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38526 break 2
38527 fi
38528 done
38529 done
38530
38531 fi
38532 fi
38533 AR=$ac_cv_prog_AR
38534 if test -n "$AR"; then
38535 echo "$as_me:$LINENO: result: $AR" >&5
38536 echo "${ECHO_T}$AR" >&6
38537 else
38538 echo "$as_me:$LINENO: result: no" >&5
38539 echo "${ECHO_T}no" >&6
38540 fi
38541
38542 fi
38543 if test -z "$ac_cv_prog_AR"; then
38544 ac_ct_AR=$AR
38545 # Extract the first word of "ar", so it can be a program name with args.
38546 set dummy ar; ac_word=$2
38547 echo "$as_me:$LINENO: checking for $ac_word" >&5
38548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38549 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38550 echo $ECHO_N "(cached) $ECHO_C" >&6
38551 else
38552 if test -n "$ac_ct_AR"; then
38553 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38554 else
38555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38556 for as_dir in $PATH
38557 do
38558 IFS=$as_save_IFS
38559 test -z "$as_dir" && as_dir=.
38560 for ac_exec_ext in '' $ac_executable_extensions; do
38561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38562 ac_cv_prog_ac_ct_AR="ar"
38563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38564 break 2
38565 fi
38566 done
38567 done
38568
38569 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38570 fi
38571 fi
38572 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38573 if test -n "$ac_ct_AR"; then
38574 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38575 echo "${ECHO_T}$ac_ct_AR" >&6
38576 else
38577 echo "$as_me:$LINENO: result: no" >&5
38578 echo "${ECHO_T}no" >&6
38579 fi
38580
38581 AR=$ac_ct_AR
38582 else
38583 AR="$ac_cv_prog_AR"
38584 fi
38585
38586 if test -n "$ac_tool_prefix"; then
38587 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38588 set dummy ${ac_tool_prefix}strip; ac_word=$2
38589 echo "$as_me:$LINENO: checking for $ac_word" >&5
38590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38591 if test "${ac_cv_prog_STRIP+set}" = set; then
38592 echo $ECHO_N "(cached) $ECHO_C" >&6
38593 else
38594 if test -n "$STRIP"; then
38595 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38596 else
38597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38598 for as_dir in $PATH
38599 do
38600 IFS=$as_save_IFS
38601 test -z "$as_dir" && as_dir=.
38602 for ac_exec_ext in '' $ac_executable_extensions; do
38603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38604 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38606 break 2
38607 fi
38608 done
38609 done
38610
38611 fi
38612 fi
38613 STRIP=$ac_cv_prog_STRIP
38614 if test -n "$STRIP"; then
38615 echo "$as_me:$LINENO: result: $STRIP" >&5
38616 echo "${ECHO_T}$STRIP" >&6
38617 else
38618 echo "$as_me:$LINENO: result: no" >&5
38619 echo "${ECHO_T}no" >&6
38620 fi
38621
38622 fi
38623 if test -z "$ac_cv_prog_STRIP"; then
38624 ac_ct_STRIP=$STRIP
38625 # Extract the first word of "strip", so it can be a program name with args.
38626 set dummy strip; ac_word=$2
38627 echo "$as_me:$LINENO: checking for $ac_word" >&5
38628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38629 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 else
38632 if test -n "$ac_ct_STRIP"; then
38633 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38634 else
38635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38636 for as_dir in $PATH
38637 do
38638 IFS=$as_save_IFS
38639 test -z "$as_dir" && as_dir=.
38640 for ac_exec_ext in '' $ac_executable_extensions; do
38641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38642 ac_cv_prog_ac_ct_STRIP="strip"
38643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38644 break 2
38645 fi
38646 done
38647 done
38648
38649 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38650 fi
38651 fi
38652 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38653 if test -n "$ac_ct_STRIP"; then
38654 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38655 echo "${ECHO_T}$ac_ct_STRIP" >&6
38656 else
38657 echo "$as_me:$LINENO: result: no" >&5
38658 echo "${ECHO_T}no" >&6
38659 fi
38660
38661 STRIP=$ac_ct_STRIP
38662 else
38663 STRIP="$ac_cv_prog_STRIP"
38664 fi
38665
38666 if test -n "$ac_tool_prefix"; then
38667 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38668 set dummy ${ac_tool_prefix}nm; ac_word=$2
38669 echo "$as_me:$LINENO: checking for $ac_word" >&5
38670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38671 if test "${ac_cv_prog_NM+set}" = set; then
38672 echo $ECHO_N "(cached) $ECHO_C" >&6
38673 else
38674 if test -n "$NM"; then
38675 ac_cv_prog_NM="$NM" # Let the user override the test.
38676 else
38677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38678 for as_dir in $PATH
38679 do
38680 IFS=$as_save_IFS
38681 test -z "$as_dir" && as_dir=.
38682 for ac_exec_ext in '' $ac_executable_extensions; do
38683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38684 ac_cv_prog_NM="${ac_tool_prefix}nm"
38685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38686 break 2
38687 fi
38688 done
38689 done
38690
38691 fi
38692 fi
38693 NM=$ac_cv_prog_NM
38694 if test -n "$NM"; then
38695 echo "$as_me:$LINENO: result: $NM" >&5
38696 echo "${ECHO_T}$NM" >&6
38697 else
38698 echo "$as_me:$LINENO: result: no" >&5
38699 echo "${ECHO_T}no" >&6
38700 fi
38701
38702 fi
38703 if test -z "$ac_cv_prog_NM"; then
38704 ac_ct_NM=$NM
38705 # Extract the first word of "nm", so it can be a program name with args.
38706 set dummy nm; ac_word=$2
38707 echo "$as_me:$LINENO: checking for $ac_word" >&5
38708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38709 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38710 echo $ECHO_N "(cached) $ECHO_C" >&6
38711 else
38712 if test -n "$ac_ct_NM"; then
38713 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38714 else
38715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38716 for as_dir in $PATH
38717 do
38718 IFS=$as_save_IFS
38719 test -z "$as_dir" && as_dir=.
38720 for ac_exec_ext in '' $ac_executable_extensions; do
38721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38722 ac_cv_prog_ac_ct_NM="nm"
38723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38724 break 2
38725 fi
38726 done
38727 done
38728
38729 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38730 fi
38731 fi
38732 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38733 if test -n "$ac_ct_NM"; then
38734 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38735 echo "${ECHO_T}$ac_ct_NM" >&6
38736 else
38737 echo "$as_me:$LINENO: result: no" >&5
38738 echo "${ECHO_T}no" >&6
38739 fi
38740
38741 NM=$ac_ct_NM
38742 else
38743 NM="$ac_cv_prog_NM"
38744 fi
38745
38746
38747 case ${BAKEFILE_HOST} in
38748 *-hp-hpux* )
38749 INSTALL_DIR="mkdir -p"
38750 ;;
38751 *) INSTALL_DIR="$INSTALL -d"
38752 ;;
38753 esac
38754
38755
38756 LDFLAGS_GUI=
38757 case ${BAKEFILE_HOST} in
38758 *-*-cygwin* | *-*-mingw32* )
38759 LDFLAGS_GUI="-mwindows"
38760 esac
38761
38762
38763 fi
38764
38765 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38766 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38767 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38768 echo $ECHO_N "(cached) $ECHO_C" >&6
38769 else
38770
38771 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38772 egrep -s GNU > /dev/null); then
38773 bakefile_cv_prog_makeisgnu="yes"
38774 else
38775 bakefile_cv_prog_makeisgnu="no"
38776 fi
38777
38778 fi
38779 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38780 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38781
38782 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38783 IF_GNU_MAKE=""
38784 else
38785 IF_GNU_MAKE="#"
38786 fi
38787
38788
38789
38790 PLATFORM_UNIX=0
38791 PLATFORM_WIN32=0
38792 PLATFORM_MSDOS=0
38793 PLATFORM_MAC=0
38794 PLATFORM_MACOS=0
38795 PLATFORM_MACOSX=0
38796 PLATFORM_OS2=0
38797 PLATFORM_BEOS=0
38798
38799 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38800 case "${BAKEFILE_HOST}" in
38801 *-*-cygwin* | *-*-mingw32* )
38802 PLATFORM_WIN32=1
38803 ;;
38804 *-pc-msdosdjgpp )
38805 PLATFORM_MSDOS=1
38806 ;;
38807 *-pc-os2_emx | *-pc-os2-emx )
38808 PLATFORM_OS2=1
38809 ;;
38810 powerpc-*-darwin* )
38811 PLATFORM_MAC=1
38812 PLATFORM_MACOSX=1
38813 ;;
38814 *-*-beos* )
38815 PLATFORM_BEOS=1
38816 ;;
38817 powerpc-apple-macos* )
38818 PLATFORM_MAC=1
38819 PLATFORM_MACOS=1
38820 ;;
38821 * )
38822 PLATFORM_UNIX=1
38823 ;;
38824 esac
38825 else
38826 case "$BAKEFILE_FORCE_PLATFORM" in
38827 win32 )
38828 PLATFORM_WIN32=1
38829 ;;
38830 msdos )
38831 PLATFORM_MSDOS=1
38832 ;;
38833 os2 )
38834 PLATFORM_OS2=1
38835 ;;
38836 darwin )
38837 PLATFORM_MAC=1
38838 PLATFORM_MACOSX=1
38839 ;;
38840 unix )
38841 PLATFORM_UNIX=1
38842 ;;
38843 beos )
38844 PLATFORM_BEOS=1
38845 ;;
38846 * )
38847 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38848 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38849 { (exit 1); exit 1; }; }
38850 ;;
38851 esac
38852 fi
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864 # Check whether --enable-omf or --disable-omf was given.
38865 if test "${enable_omf+set}" = set; then
38866 enableval="$enable_omf"
38867 bk_os2_use_omf="$enableval"
38868 fi;
38869
38870 case "${BAKEFILE_HOST}" in
38871 *-*-darwin* )
38872 CFLAGS="$CFLAGS -fno-common"
38873 CXXFLAGS="$CXXFLAGS -fno-common"
38874 ;;
38875
38876 *-pc-os2_emx | *-pc-os2-emx )
38877 if test "x$bk_os2_use_omf" = "xyes" ; then
38878 AR=emxomfar
38879 RANLIB=:
38880 LDFLAGS="-Zomf $LDFLAGS"
38881 CFLAGS="-Zomf $CFLAGS"
38882 CXXFLAGS="-Zomf $CXXFLAGS"
38883 OS2_LIBEXT="lib"
38884 else
38885 OS2_LIBEXT="a"
38886 fi
38887 ;;
38888
38889 i*86-*-beos* )
38890 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38891 ;;
38892 esac
38893
38894
38895 SO_SUFFIX="so"
38896 SO_SUFFIX_MODULE="so"
38897 EXEEXT=""
38898 LIBPREFIX="lib"
38899 LIBEXT=".a"
38900 DLLPREFIX="lib"
38901 DLLPREFIX_MODULE=""
38902 DLLIMP_SUFFIX=""
38903
38904 case "${BAKEFILE_HOST}" in
38905 *-hp-hpux* )
38906 SO_SUFFIX="sl"
38907 SO_SUFFIX_MODULE="sl"
38908 ;;
38909 *-*-aix* )
38910 SO_SUFFIX="a"
38911 SO_SUFFIX_MODULE="a"
38912 ;;
38913 *-*-cygwin* | *-*-mingw32* )
38914 SO_SUFFIX="dll"
38915 SO_SUFFIX_MODULE="dll"
38916 DLLIMP_SUFFIX="dll.a"
38917 EXEEXT=".exe"
38918 DLLPREFIX=""
38919 ;;
38920 *-pc-msdosdjgpp )
38921 EXEEXT=".exe"
38922 DLLPREFIX=""
38923 ;;
38924 *-pc-os2_emx | *-pc-os2-emx )
38925 SO_SUFFIX="dll"
38926 SO_SUFFIX_MODULE="dll"
38927 DLLIMP_SUFFIX=$OS2_LIBEXT
38928 EXEEXT=".exe"
38929 DLLPREFIX=""
38930 LIBPREFIX=""
38931 LIBEXT=".$OS2_LIBEXT"
38932 ;;
38933 powerpc-*-darwin* )
38934 SO_SUFFIX="dylib"
38935 SO_SUFFIX_MODULE="bundle"
38936 ;;
38937 esac
38938
38939 if test "x$DLLIMP_SUFFIX" = "x" ; then
38940 DLLIMP_SUFFIX="$SO_SUFFIX"
38941 fi
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953 PIC_FLAG=""
38954 if test "x$GCC" = "xyes"; then
38955 PIC_FLAG="-fPIC"
38956 fi
38957
38958 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38959 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38960
38961 case "${BAKEFILE_HOST}" in
38962 *-hp-hpux* )
38963 if test "x$GCC" != "xyes"; then
38964 LDFLAGS="$LDFLAGS -L/usr/lib"
38965
38966 SHARED_LD_CC="${CC} -b -o"
38967 SHARED_LD_CXX="${CXX} -b -o"
38968 PIC_FLAG="+Z"
38969 fi
38970 ;;
38971
38972 *-*-linux* )
38973 if test "x$GCC" != "xyes"; then
38974 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38975 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38976 if test "${bakefile_cv_prog_icc+set}" = set; then
38977 echo $ECHO_N "(cached) $ECHO_C" >&6
38978 else
38979
38980 cat >conftest.$ac_ext <<_ACEOF
38981 /* confdefs.h. */
38982 _ACEOF
38983 cat confdefs.h >>conftest.$ac_ext
38984 cat >>conftest.$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986
38987 int
38988 main ()
38989 {
38990
38991 #ifndef __INTEL_COMPILER
38992 #error Not icc
38993 #endif
38994
38995 ;
38996 return 0;
38997 }
38998 _ACEOF
38999 rm -f conftest.$ac_objext
39000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39001 (eval $ac_compile) 2>conftest.er1
39002 ac_status=$?
39003 grep -v '^ *+' conftest.er1 >conftest.err
39004 rm -f conftest.er1
39005 cat conftest.err >&5
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); } &&
39008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39010 (eval $ac_try) 2>&5
39011 ac_status=$?
39012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39013 (exit $ac_status); }; } &&
39014 { ac_try='test -s conftest.$ac_objext'
39015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39016 (eval $ac_try) 2>&5
39017 ac_status=$?
39018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39019 (exit $ac_status); }; }; then
39020 bakefile_cv_prog_icc=yes
39021 else
39022 echo "$as_me: failed program was:" >&5
39023 sed 's/^/| /' conftest.$ac_ext >&5
39024
39025 bakefile_cv_prog_icc=no
39026
39027 fi
39028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39029
39030 fi
39031 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39032 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39033 if test "$bakefile_cv_prog_icc" = "yes"; then
39034 PIC_FLAG="-KPIC"
39035 fi
39036 fi
39037 ;;
39038
39039 *-*-solaris2* )
39040 if test "x$GCC" != xyes ; then
39041 SHARED_LD_CC="${CC} -G -o"
39042 SHARED_LD_CXX="${CXX} -G -o"
39043 PIC_FLAG="-KPIC"
39044 fi
39045 ;;
39046
39047 *-*-darwin* )
39048
39049 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39050 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39051 if test "${wx_cv_gcc31+set}" = set; then
39052 echo $ECHO_N "(cached) $ECHO_C" >&6
39053 else
39054
39055 cat >conftest.$ac_ext <<_ACEOF
39056 /* confdefs.h. */
39057 _ACEOF
39058 cat confdefs.h >>conftest.$ac_ext
39059 cat >>conftest.$ac_ext <<_ACEOF
39060 /* end confdefs.h. */
39061
39062 int
39063 main ()
39064 {
39065
39066 #if (__GNUC__ < 3) || \
39067 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39068 #error old gcc
39069 #endif
39070
39071 ;
39072 return 0;
39073 }
39074 _ACEOF
39075 rm -f conftest.$ac_objext
39076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39077 (eval $ac_compile) 2>conftest.er1
39078 ac_status=$?
39079 grep -v '^ *+' conftest.er1 >conftest.err
39080 rm -f conftest.er1
39081 cat conftest.err >&5
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); } &&
39084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39086 (eval $ac_try) 2>&5
39087 ac_status=$?
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); }; } &&
39090 { ac_try='test -s conftest.$ac_objext'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39093 ac_status=$?
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; }; then
39096
39097 wx_cv_gcc31=yes
39098
39099 else
39100 echo "$as_me: failed program was:" >&5
39101 sed 's/^/| /' conftest.$ac_ext >&5
39102
39103
39104 wx_cv_gcc31=no
39105
39106
39107 fi
39108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39109
39110 fi
39111 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39112 echo "${ECHO_T}$wx_cv_gcc31" >&6
39113 if test "$wx_cv_gcc31" = "no"; then
39114
39115 D='$'
39116 cat <<EOF >shared-ld-sh
39117 #!/bin/sh
39118 #-----------------------------------------------------------------------------
39119 #-- Name: distrib/mac/shared-ld-sh
39120 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39121 #-- Author: Gilles Depeyrot
39122 #-- Copyright: (c) 2002 Gilles Depeyrot
39123 #-- Licence: any use permitted
39124 #-----------------------------------------------------------------------------
39125
39126 verbose=0
39127 args=""
39128 objects=""
39129 linking_flag="-dynamiclib"
39130
39131 while test ${D}# -gt 0; do
39132 case ${D}1 in
39133
39134 -v)
39135 verbose=1
39136 ;;
39137
39138 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39139 # collect these options and values
39140 args="${D}{args} ${D}1 ${D}2"
39141 shift
39142 ;;
39143
39144 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39145 # collect these options
39146 args="${D}{args} ${D}1"
39147 ;;
39148
39149 -dynamiclib|-bundle)
39150 linking_flag="${D}1"
39151 ;;
39152
39153 -*)
39154 echo "shared-ld: unhandled option '${D}1'"
39155 exit 1
39156 ;;
39157
39158 *.o | *.a | *.dylib)
39159 # collect object files
39160 objects="${D}{objects} ${D}1"
39161 ;;
39162
39163 *)
39164 echo "shared-ld: unhandled argument '${D}1'"
39165 exit 1
39166 ;;
39167
39168 esac
39169 shift
39170 done
39171
39172 #
39173 # Link one module containing all the others
39174 #
39175 if test ${D}{verbose} = 1; then
39176 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39177 fi
39178 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39179 status=${D}?
39180 if test ${D}{status} != 0; then
39181 exit ${D}{status}
39182 fi
39183
39184 #
39185 # Link the shared library from the single module created
39186 #
39187 if test ${D}{verbose} = 1; then
39188 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39189 fi
39190 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39191 status=${D}?
39192 if test ${D}{status} != 0; then
39193 exit ${D}{status}
39194 fi
39195
39196 #
39197 # Remove intermediate module
39198 #
39199 rm -f master.${D}${D}.o
39200
39201 exit 0
39202 EOF
39203
39204 chmod +x shared-ld-sh
39205
39206 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39207 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39208 SHARED_LD_CXX="$SHARED_LD_CC"
39209 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
39210 else
39211 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39212 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39213 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39214 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39215 fi
39216
39217 PIC_FLAG="-dynamic -fPIC"
39218 ;;
39219
39220 *-*-aix* )
39221 if test "x$GCC" != "xyes"; then
39222 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39223 set dummy makeC++SharedLib; ac_word=$2
39224 echo "$as_me:$LINENO: checking for $ac_word" >&5
39225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39226 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39227 echo $ECHO_N "(cached) $ECHO_C" >&6
39228 else
39229 if test -n "$AIX_CXX_LD"; then
39230 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39231 else
39232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39233 for as_dir in $PATH
39234 do
39235 IFS=$as_save_IFS
39236 test -z "$as_dir" && as_dir=.
39237 for ac_exec_ext in '' $ac_executable_extensions; do
39238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39239 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39241 break 2
39242 fi
39243 done
39244 done
39245
39246 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39247 fi
39248 fi
39249 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39250 if test -n "$AIX_CXX_LD"; then
39251 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39252 echo "${ECHO_T}$AIX_CXX_LD" >&6
39253 else
39254 echo "$as_me:$LINENO: result: no" >&5
39255 echo "${ECHO_T}no" >&6
39256 fi
39257
39258 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39259 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39260 fi
39261 ;;
39262
39263 *-*-beos* )
39264 SHARED_LD_CC="${LD} -nostart -o"
39265 SHARED_LD_CXX="${LD} -nostart -o"
39266 ;;
39267
39268 *-*-irix* )
39269 if test "x$GCC" != "xyes"; then
39270 PIC_FLAG="-KPIC"
39271 fi
39272 ;;
39273
39274 *-*-cygwin* | *-*-mingw32* )
39275 PIC_FLAG=""
39276 SHARED_LD_CC="\$(CC) -shared -o"
39277 SHARED_LD_CXX="\$(CXX) -shared -o"
39278 ;;
39279
39280 *-pc-os2_emx | *-pc-os2-emx )
39281 SHARED_LD_CC="`pwd`/dllar.sh -o"
39282 SHARED_LD_CXX="`pwd`/dllar.sh -o"
39283 PIC_FLAG=""
39284
39285 D='$'
39286 cat <<EOF >dllar.sh
39287 #!/bin/sh
39288 #
39289 # dllar - a tool to build both a .dll and an .a file
39290 # from a set of object (.o) files for EMX/OS2.
39291 #
39292 # Written by Andrew Zabolotny, bit@freya.etu.ru
39293 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39294 #
39295 # This script will accept a set of files on the command line.
39296 # All the public symbols from the .o files will be exported into
39297 # a .DEF file, then linker will be run (through gcc) against them to
39298 # build a shared library consisting of all given .o files. All libraries
39299 # (.a) will be first decompressed into component .o files then act as
39300 # described above. You can optionally give a description (-d "description")
39301 # which will be put into .DLL. To see the list of accepted options (as well
39302 # as command-line format) simply run this program without options. The .DLL
39303 # is built to be imported by name (there is no guarantee that new versions
39304 # of the library you build will have same ordinals for same symbols).
39305 #
39306 # dllar is free software; you can redistribute it and/or modify
39307 # it under the terms of the GNU General Public License as published by
39308 # the Free Software Foundation; either version 2, or (at your option)
39309 # any later version.
39310 #
39311 # dllar is distributed in the hope that it will be useful,
39312 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39313 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39314 # GNU General Public License for more details.
39315 #
39316 # You should have received a copy of the GNU General Public License
39317 # along with dllar; see the file COPYING. If not, write to the Free
39318 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39319 # 02111-1307, USA.
39320
39321 # To successfuly run this program you will need:
39322 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39323 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39324 # - gcc
39325 # (used to build the .dll)
39326 # - emxexp
39327 # (used to create .def file from .o files)
39328 # - emximp
39329 # (used to create .a file from .def file)
39330 # - GNU text utilites (cat, sort, uniq)
39331 # used to process emxexp output
39332 # - GNU file utilities (mv, rm)
39333 # - GNU sed
39334 # - lxlite (optional, see flag below)
39335 # (used for general .dll cleanup)
39336 #
39337
39338 flag_USE_LXLITE=1;
39339
39340 #
39341 # helper functions
39342 # basnam, variant of basename, which does _not_ remove the path, _iff_
39343 # second argument (suffix to remove) is given
39344 basnam(){
39345 case ${D}# in
39346 1)
39347 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39348 ;;
39349 2)
39350 echo ${D}1 | sed 's/'${D}2'${D}//'
39351 ;;
39352 *)
39353 echo "error in basnam ${D}*"
39354 exit 8
39355 ;;
39356 esac
39357 }
39358
39359 # Cleanup temporary files and output
39360 CleanUp() {
39361 cd ${D}curDir
39362 for i in ${D}inputFiles ; do
39363 case ${D}i in
39364 *!)
39365 rm -rf \`basnam ${D}i !\`
39366 ;;
39367 *)
39368 ;;
39369 esac
39370 done
39371
39372 # Kill result in case of failure as there is just to many stupid make/nmake
39373 # things out there which doesn't do this.
39374 if [ ${D}# -eq 0 ]; then
39375 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39376 fi
39377 }
39378
39379 # Print usage and exit script with rc=1.
39380 PrintHelp() {
39381 echo 'Usage: dllar [-o@<:${utput}:>@ output_file] [-i@<:${mport}:>@ importlib_name]'
39382 echo ' [-d@<:${escription}:>@ "dll descrption"] [-cc "CC"] [-f@<:${lags}:>@ "CFLAGS"]'
39383 echo ' [-ord@<:${inals}:>@] -ex@<:${clude}:>@ "symbol(s)"'
39384 echo ' [-libf@<:${lags}:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt@<:${dll}:>@] [-nolxl@<:${ite}:>@]'
39385 echo ' [*.o] [*.a]'
39386 echo '*> "output_file" should have no extension.'
39387 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39388 echo ' The import library name is derived from this and is set to "name".a,'
39389 echo ' unless overridden by -import'
39390 echo '*> "importlib_name" should have no extension.'
39391 echo ' If it has the .o, or .a extension, it is automatically removed.'
39392 echo ' This name is used as the import library name and may be longer and'
39393 echo ' more descriptive than the DLL name which has to follow the old '
39394 echo ' 8.3 convention of FAT.'
39395 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39396 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39397 echo ' These flags will be put at the start of GCC command line.'
39398 echo '*> -ord@<:${inals}:>@ tells dllar to export entries by ordinals. Be careful.'
39399 echo '*> -ex@<:${clude}:>@ defines symbols which will not be exported. You can define'
39400 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39401 echo ' If the last character of a symbol is "*", all symbols beginning'
39402 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39403 echo '*> -libf@<:${lags}:>@ can be used to add INITGLOBAL/INITINSTANCE and/or'
39404 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39405 echo '*> -nocrt@<:${dll}:>@ switch will disable linking the library against emx''s'
39406 echo ' C runtime DLLs.'
39407 echo '*> -nolxl@<:${ite}:>@ switch will disable running lxlite on the resulting DLL.'
39408 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39409 echo ' unchanged to GCC at the end of command line.'
39410 echo '*> If you create a DLL from a library and you do not specify -o,'
39411 echo ' the basename for DLL and import library will be set to library name,'
39412 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39413 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39414 echo ' library will be renamed into gcc_s.a.'
39415 echo '--------'
39416 echo 'Example:'
39417 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39418 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39419 CleanUp
39420 exit 1
39421 }
39422
39423 # Execute a command.
39424 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39425 # @Uses Whatever CleanUp() uses.
39426 doCommand() {
39427 echo "${D}*"
39428 eval ${D}*
39429 rcCmd=${D}?
39430
39431 if [ ${D}rcCmd -ne 0 ]; then
39432 echo "command failed, exit code="${D}rcCmd
39433 CleanUp
39434 exit ${D}rcCmd
39435 fi
39436 }
39437
39438 # main routine
39439 # setup globals
39440 cmdLine=${D}*
39441 outFile=""
39442 outimpFile=""
39443 inputFiles=""
39444 description=""
39445 CC=gcc.exe
39446 CFLAGS="-s -Zcrtdll"
39447 EXTRA_CFLAGS=""
39448 EXPORT_BY_ORDINALS=0
39449 exclude_symbols=""
39450 library_flags=""
39451 curDir=\`pwd\`
39452 curDirS=curDir
39453 case ${D}curDirS in
39454 */)
39455 ;;
39456 *)
39457 curDirS=${D}{curDirS}"/"
39458 ;;
39459 esac
39460 # Parse commandline
39461 libsToLink=0
39462 while [ ${D}1 ]; do
39463 case ${D}1 in
39464 -ord*)
39465 EXPORT_BY_ORDINALS=1;
39466 ;;
39467 -o*)
39468 shift
39469 outFile=${D}1
39470 ;;
39471 -i*)
39472 shift
39473 outimpFile=${D}1
39474 ;;
39475 -d*)
39476 shift
39477 description=${D}1
39478 ;;
39479 -f*)
39480 shift
39481 CFLAGS=${D}1
39482 ;;
39483 -c*)
39484 shift
39485 CC=${D}1
39486 ;;
39487 -h*)
39488 PrintHelp
39489 ;;
39490 -ex*)
39491 shift
39492 exclude_symbols=${D}{exclude_symbols}${D}1" "
39493 ;;
39494 -libf*)
39495 shift
39496 library_flags=${D}{library_flags}${D}1" "
39497 ;;
39498 -nocrt*)
39499 CFLAGS="-s"
39500 ;;
39501 -nolxl*)
39502 flag_USE_LXLITE=0
39503 ;;
39504 -* | /*)
39505 case ${D}1 in
39506 -L* | -l*)
39507 libsToLink=1
39508 ;;
39509 *)
39510 ;;
39511 esac
39512 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39513 ;;
39514 *)
39515 found=0;
39516 if [ ${D}libsToLink -ne 0 ]; then
39517 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39518 else
39519 for file in ${D}1 ; do
39520 if [ -f ${D}file ]; then
39521 inputFiles="${D}{inputFiles} ${D}file"
39522 found=1
39523 fi
39524 done
39525 if [ ${D}found -eq 0 ]; then
39526 echo "ERROR: No file(s) found: "${D}1
39527 exit 8
39528 fi
39529 fi
39530 ;;
39531 esac
39532 shift
39533 done # iterate cmdline words
39534
39535 #
39536 if [ -z "${D}inputFiles" ]; then
39537 echo "dllar: no input files"
39538 PrintHelp
39539 fi
39540
39541 # Now extract all .o files from .a files
39542 newInputFiles=""
39543 for file in ${D}inputFiles ; do
39544 case ${D}file in
39545 *.a | *.lib)
39546 case ${D}file in
39547 *.a)
39548 suffix=".a"
39549 AR="ar"
39550 ;;
39551 *.lib)
39552 suffix=".lib"
39553 AR="emxomfar"
39554 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39555 ;;
39556 *)
39557 ;;
39558 esac
39559 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39560 mkdir ${D}dirname
39561 if [ ${D}? -ne 0 ]; then
39562 echo "Failed to create subdirectory ./${D}dirname"
39563 CleanUp
39564 exit 8;
39565 fi
39566 # Append '!' to indicate archive
39567 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39568 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39569 cd ${D}curDir
39570 found=0;
39571 for subfile in ${D}dirname/*.o* ; do
39572 if [ -f ${D}subfile ]; then
39573 found=1
39574 if [ -s ${D}subfile ]; then
39575 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39576 newInputFiles="${D}newInputFiles ${D}subfile"
39577 fi
39578 fi
39579 done
39580 if [ ${D}found -eq 0 ]; then
39581 echo "WARNING: there are no files in archive \\'${D}file\\'"
39582 fi
39583 ;;
39584 *)
39585 newInputFiles="${D}{newInputFiles} ${D}file"
39586 ;;
39587 esac
39588 done
39589 inputFiles="${D}newInputFiles"
39590
39591 # Output filename(s).
39592 do_backup=0;
39593 if [ -z ${D}outFile ]; then
39594 do_backup=1;
39595 set outFile ${D}inputFiles; outFile=${D}2
39596 fi
39597
39598 # If it is an archive, remove the '!' and the '_%' suffixes
39599 case ${D}outFile in
39600 *_%!)
39601 outFile=\`basnam ${D}outFile _%!\`
39602 ;;
39603 *)
39604 ;;
39605 esac
39606 case ${D}outFile in
39607 *.dll)
39608 outFile=\`basnam ${D}outFile .dll\`
39609 ;;
39610 *.DLL)
39611 outFile=\`basnam ${D}outFile .DLL\`
39612 ;;
39613 *.o)
39614 outFile=\`basnam ${D}outFile .o\`
39615 ;;
39616 *.obj)
39617 outFile=\`basnam ${D}outFile .obj\`
39618 ;;
39619 *.a)
39620 outFile=\`basnam ${D}outFile .a\`
39621 ;;
39622 *.lib)
39623 outFile=\`basnam ${D}outFile .lib\`
39624 ;;
39625 *)
39626 ;;
39627 esac
39628 case ${D}outimpFile in
39629 *.a)
39630 outimpFile=\`basnam ${D}outimpFile .a\`
39631 ;;
39632 *.lib)
39633 outimpFile=\`basnam ${D}outimpFile .lib\`
39634 ;;
39635 *)
39636 ;;
39637 esac
39638 if [ -z ${D}outimpFile ]; then
39639 outimpFile=${D}outFile
39640 fi
39641 defFile="${D}{outFile}.def"
39642 arcFile="${D}{outimpFile}.a"
39643 arcFile2="${D}{outimpFile}.lib"
39644 dllFile="${D}outFile"
39645 # Add suffix to dllFile later, first we need a version to use as
39646 # name in .def file.
39647
39648 if [ ${D}do_backup -ne 0 ] ; then
39649 if [ -f ${D}arcFile ] ; then
39650 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39651 fi
39652 if [ -f ${D}arcFile2 ] ; then
39653 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39654 fi
39655 fi
39656
39657 # Extract public symbols from all the object files.
39658 tmpdefFile=${D}{defFile}_%
39659 rm -f ${D}tmpdefFile
39660 for file in ${D}inputFiles ; do
39661 case ${D}file in
39662 *!)
39663 ;;
39664 *)
39665 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39666 ;;
39667 esac
39668 done
39669
39670 # Create the def file.
39671 rm -f ${D}defFile
39672 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39673 dllFile="${D}dllFile.dll"
39674 if [ -n ${D}description ]; then
39675 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39676 fi
39677 echo "EXPORTS" >> ${D}defFile
39678
39679 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39680 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39681
39682 # Checks if the export is ok or not.
39683 for word in ${D}exclude_symbols; do
39684 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39685 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39686 done
39687
39688
39689 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39690 sed "=" < ${D}tmpdefFile | \\
39691 sed '
39692 N
39693 : loop
39694 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39695 t loop
39696 ' > ${D}{tmpdefFile}%
39697 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39698 else
39699 rm -f ${D}{tmpdefFile}%
39700 fi
39701 cat ${D}tmpdefFile >> ${D}defFile
39702 rm -f ${D}tmpdefFile
39703
39704 # Do linking, create implib, and apply lxlite.
39705 gccCmdl="";
39706 for file in ${D}inputFiles ; do
39707 case ${D}file in
39708 *!)
39709 ;;
39710 *)
39711 gccCmdl="${D}gccCmdl ${D}file"
39712 ;;
39713 esac
39714 done
39715 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39716 touch "${D}{outFile}.dll"
39717
39718 doCommand "emximp -o ${D}arcFile ${D}defFile"
39719 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39720 add_flags="";
39721 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39722 add_flags="-ynd"
39723 fi
39724 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39725 fi
39726 doCommand "emxomf -s -l ${D}arcFile"
39727
39728 # Successful exit.
39729 CleanUp 1
39730 exit 0
39731 EOF
39732
39733 chmod +x dllar.sh
39734 ;;
39735
39736 powerpc-apple-macos* | \
39737 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39738 *-*-sunos4* | \
39739 *-*-osf* | \
39740 *-*-dgux5* | \
39741 *-*-sysv5* )
39742 ;;
39743
39744 *)
39745 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39746 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39747 { (exit 1); exit 1; }; }
39748 esac
39749
39750 if test "x$PIC_FLAG" != "x" ; then
39751 PIC_FLAG="$PIC_FLAG -DPIC"
39752 fi
39753
39754 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39755 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39756 fi
39757 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39758 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39759 fi
39760
39761
39762
39763
39764
39765
39766
39767
39768 USE_SOVERSION=0
39769 USE_SOVERLINUX=0
39770 USE_SOVERSOLARIS=0
39771 USE_SOSYMLINKS=0
39772 USE_MACVERSION=0
39773 SONAME_FLAG=
39774
39775 case "${BAKEFILE_HOST}" in
39776 *-*-linux* )
39777 SONAME_FLAG="-Wl,-soname,"
39778 USE_SOVERSION=1
39779 USE_SOVERLINUX=1
39780 USE_SOSYMLINKS=1
39781 ;;
39782
39783 *-*-solaris2* )
39784 SONAME_FLAG="-h "
39785 USE_SOVERSION=1
39786 USE_SOVERSOLARIS=1
39787 USE_SOSYMLINKS=1
39788 ;;
39789
39790 *-*-darwin* )
39791 USE_MACVERSION=1
39792 USE_SOVERSION=1
39793 USE_SOSYMLINKS=1
39794 ;;
39795 esac
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39806 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39807 DEPS_TRACKING=0
39808
39809 if test "x$GCC" = "xyes"; then
39810 DEPSMODE=gcc
39811 DEPS_TRACKING=1
39812 case "${BAKEFILE_HOST}" in
39813 powerpc-*-darwin* )
39814 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39815 ;;
39816 * )
39817 DEPSFLAG_GCC="-MMD"
39818 ;;
39819 esac
39820 echo "$as_me:$LINENO: result: gcc" >&5
39821 echo "${ECHO_T}gcc" >&6
39822 else
39823 echo "$as_me:$LINENO: result: none" >&5
39824 echo "${ECHO_T}none" >&6
39825 fi
39826
39827 if test $DEPS_TRACKING = 1 ; then
39828
39829 D='$'
39830 cat <<EOF >bk-deps
39831 #!/bin/sh
39832
39833 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39834 # script. It is used to track C/C++ files dependencies in portable way.
39835 #
39836 # Permission is given to use this file in any way.
39837
39838 DEPSMODE=${DEPSMODE}
39839 DEPSDIR=.deps
39840 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39841
39842 mkdir -p ${D}DEPSDIR
39843
39844 if test ${D}DEPSMODE = gcc ; then
39845 ${D}* ${D}{DEPSFLAG_GCC}
39846 status=${D}?
39847 if test ${D}{status} != 0 ; then
39848 exit ${D}{status}
39849 fi
39850 # move created file to the location we want it in:
39851 while test ${D}# -gt 0; do
39852 case "${D}1" in
39853 -o )
39854 shift
39855 objfile=${D}1
39856 ;;
39857 -* )
39858 ;;
39859 * )
39860 srcfile=${D}1
39861 ;;
39862 esac
39863 shift
39864 done
39865 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39866 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39867 if test -f ${D}depfile ; then
39868 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39869 rm -f ${D}depfile
39870 else
39871 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
39872 if test -f ${D}depfile ; then
39873 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39874 rm -f ${D}depfile
39875 fi
39876 fi
39877 exit 0
39878 else
39879 ${D}*
39880 exit ${D}?
39881 fi
39882 EOF
39883
39884 chmod +x bk-deps
39885 fi
39886
39887
39888
39889
39890 RESCOMP=
39891 SETFILE=
39892
39893 case ${BAKEFILE_HOST} in
39894 *-*-cygwin* | *-*-mingw32* )
39895 if test "$build" != "$host" ; then
39896 RESCOMP=$host_alias-windres
39897 else
39898 # Extract the first word of "windres", so it can be a program name with args.
39899 set dummy windres; ac_word=$2
39900 echo "$as_me:$LINENO: checking for $ac_word" >&5
39901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39902 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39903 echo $ECHO_N "(cached) $ECHO_C" >&6
39904 else
39905 if test -n "$RESCOMP"; then
39906 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39907 else
39908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39909 for as_dir in $PATH
39910 do
39911 IFS=$as_save_IFS
39912 test -z "$as_dir" && as_dir=.
39913 for ac_exec_ext in '' $ac_executable_extensions; do
39914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39915 ac_cv_prog_RESCOMP="windres"
39916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39917 break 2
39918 fi
39919 done
39920 done
39921
39922 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39923 fi
39924 fi
39925 RESCOMP=$ac_cv_prog_RESCOMP
39926 if test -n "$RESCOMP"; then
39927 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39928 echo "${ECHO_T}$RESCOMP" >&6
39929 else
39930 echo "$as_me:$LINENO: result: no" >&5
39931 echo "${ECHO_T}no" >&6
39932 fi
39933
39934 fi
39935 ;;
39936
39937 *-*-darwin* | powerpc-apple-macos* )
39938 # Extract the first word of "Rez", so it can be a program name with args.
39939 set dummy Rez; ac_word=$2
39940 echo "$as_me:$LINENO: checking for $ac_word" >&5
39941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39942 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 else
39945 if test -n "$RESCOMP"; then
39946 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39947 else
39948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39949 for as_dir in $PATH
39950 do
39951 IFS=$as_save_IFS
39952 test -z "$as_dir" && as_dir=.
39953 for ac_exec_ext in '' $ac_executable_extensions; do
39954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39955 ac_cv_prog_RESCOMP="Rez"
39956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39957 break 2
39958 fi
39959 done
39960 done
39961
39962 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39963 fi
39964 fi
39965 RESCOMP=$ac_cv_prog_RESCOMP
39966 if test -n "$RESCOMP"; then
39967 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39968 echo "${ECHO_T}$RESCOMP" >&6
39969 else
39970 echo "$as_me:$LINENO: result: no" >&5
39971 echo "${ECHO_T}no" >&6
39972 fi
39973
39974 # Extract the first word of "SetFile", so it can be a program name with args.
39975 set dummy SetFile; ac_word=$2
39976 echo "$as_me:$LINENO: checking for $ac_word" >&5
39977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39978 if test "${ac_cv_prog_SETFILE+set}" = set; then
39979 echo $ECHO_N "(cached) $ECHO_C" >&6
39980 else
39981 if test -n "$SETFILE"; then
39982 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39983 else
39984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39985 for as_dir in $PATH
39986 do
39987 IFS=$as_save_IFS
39988 test -z "$as_dir" && as_dir=.
39989 for ac_exec_ext in '' $ac_executable_extensions; do
39990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39991 ac_cv_prog_SETFILE="SetFile"
39992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39993 break 2
39994 fi
39995 done
39996 done
39997
39998 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39999 fi
40000 fi
40001 SETFILE=$ac_cv_prog_SETFILE
40002 if test -n "$SETFILE"; then
40003 echo "$as_me:$LINENO: result: $SETFILE" >&5
40004 echo "${ECHO_T}$SETFILE" >&6
40005 else
40006 echo "$as_me:$LINENO: result: no" >&5
40007 echo "${ECHO_T}no" >&6
40008 fi
40009
40010 ;;
40011 esac
40012
40013
40014
40015
40016
40017 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
40018
40019
40020 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
40021
40022
40023
40024 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40025 if test "${enable_precomp_headers+set}" = set; then
40026 enableval="$enable_precomp_headers"
40027 bk_use_pch="$enableval"
40028 fi;
40029
40030 GCC_PCH=0
40031
40032 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40033 if test "x$GCC" = "xyes"; then
40034 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40035 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40036 cat >conftest.$ac_ext <<_ACEOF
40037 /* confdefs.h. */
40038 _ACEOF
40039 cat confdefs.h >>conftest.$ac_ext
40040 cat >>conftest.$ac_ext <<_ACEOF
40041 /* end confdefs.h. */
40042
40043 int
40044 main ()
40045 {
40046
40047 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40048 #error "no pch support"
40049 #endif
40050 #if (__GNUC__ < 3)
40051 #error "no pch support"
40052 #endif
40053 #if (__GNUC__ == 3) && \
40054 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40055 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40056 #error "no pch support"
40057 #endif
40058
40059 ;
40060 return 0;
40061 }
40062 _ACEOF
40063 rm -f conftest.$ac_objext
40064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40065 (eval $ac_compile) 2>conftest.er1
40066 ac_status=$?
40067 grep -v '^ *+' conftest.er1 >conftest.err
40068 rm -f conftest.er1
40069 cat conftest.err >&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } &&
40072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40074 (eval $ac_try) 2>&5
40075 ac_status=$?
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); }; } &&
40078 { ac_try='test -s conftest.$ac_objext'
40079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40080 (eval $ac_try) 2>&5
40081 ac_status=$?
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); }; }; then
40084
40085 echo "$as_me:$LINENO: result: yes" >&5
40086 echo "${ECHO_T}yes" >&6
40087 GCC_PCH=1
40088
40089 else
40090 echo "$as_me: failed program was:" >&5
40091 sed 's/^/| /' conftest.$ac_ext >&5
40092
40093
40094 echo "$as_me:$LINENO: result: no" >&5
40095 echo "${ECHO_T}no" >&6
40096
40097 fi
40098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40099 if test $GCC_PCH = 1 ; then
40100
40101 D='$'
40102 cat <<EOF >bk-make-pch
40103 #!/bin/sh
40104
40105 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40106 # script. It is used to generated precompiled headers.
40107 #
40108 # Permission is given to use this file in any way.
40109
40110 outfile="${D}{1}"
40111 header="${D}{2}"
40112 shift
40113 shift
40114
40115 compiler=
40116 headerfile=
40117 while test ${D}{#} -gt 0; do
40118 case "${D}{1}" in
40119 -I* )
40120 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40121 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40122 headerfile="${D}{incdir}/${D}{header}"
40123 fi
40124 ;;
40125 esac
40126 compiler="${D}{compiler} ${D}{1}"
40127 shift
40128 done
40129
40130 if test "x${D}{headerfile}" = "x" ; then
40131 echo "error: can't find header ${D}{header} in include paths" >2
40132 else
40133 if test -f ${D}{outfile} ; then
40134 rm -f ${D}{outfile}
40135 else
40136 mkdir -p \`dirname ${D}{outfile}\`
40137 fi
40138 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40139 mkdir -p .deps
40140 # can do this because gcc is >= 3.4:
40141 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40142 exit ${D}{?}
40143 fi
40144 EOF
40145
40146 chmod +x bk-make-pch
40147 fi
40148 fi
40149 fi
40150
40151
40152
40153
40154
40155
40156
40157 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40158 if test "${enable_precomp_headers+set}" = set; then
40159 enableval="$enable_precomp_headers"
40160 bk_use_pch="$enableval"
40161 fi;
40162
40163 GCC_PCH=0
40164
40165 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40166 if test "x$GCC" = "xyes"; then
40167 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40168 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40169 cat >conftest.$ac_ext <<_ACEOF
40170 /* confdefs.h. */
40171 _ACEOF
40172 cat confdefs.h >>conftest.$ac_ext
40173 cat >>conftest.$ac_ext <<_ACEOF
40174 /* end confdefs.h. */
40175
40176 int
40177 main ()
40178 {
40179
40180 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40181 #error "no pch support"
40182 #endif
40183 #if (__GNUC__ < 3)
40184 #error "no pch support"
40185 #endif
40186 #if (__GNUC__ == 3) && \
40187 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40188 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40189 #error "no pch support"
40190 #endif
40191
40192 ;
40193 return 0;
40194 }
40195 _ACEOF
40196 rm -f conftest.$ac_objext
40197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40198 (eval $ac_compile) 2>conftest.er1
40199 ac_status=$?
40200 grep -v '^ *+' conftest.er1 >conftest.err
40201 rm -f conftest.er1
40202 cat conftest.err >&5
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); } &&
40205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40207 (eval $ac_try) 2>&5
40208 ac_status=$?
40209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210 (exit $ac_status); }; } &&
40211 { ac_try='test -s conftest.$ac_objext'
40212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40213 (eval $ac_try) 2>&5
40214 ac_status=$?
40215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216 (exit $ac_status); }; }; then
40217
40218 echo "$as_me:$LINENO: result: yes" >&5
40219 echo "${ECHO_T}yes" >&6
40220 GCC_PCH=1
40221
40222 else
40223 echo "$as_me: failed program was:" >&5
40224 sed 's/^/| /' conftest.$ac_ext >&5
40225
40226
40227 echo "$as_me:$LINENO: result: no" >&5
40228 echo "${ECHO_T}no" >&6
40229
40230 fi
40231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40232 if test $GCC_PCH = 1 ; then
40233
40234 D='$'
40235 cat <<EOF >bk-make-pch
40236 #!/bin/sh
40237
40238 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40239 # script. It is used to generated precompiled headers.
40240 #
40241 # Permission is given to use this file in any way.
40242
40243 outfile="${D}{1}"
40244 header="${D}{2}"
40245 shift
40246 shift
40247
40248 compiler=
40249 headerfile=
40250 while test ${D}{#} -gt 0; do
40251 case "${D}{1}" in
40252 -I* )
40253 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40254 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40255 headerfile="${D}{incdir}/${D}{header}"
40256 fi
40257 ;;
40258 esac
40259 compiler="${D}{compiler} ${D}{1}"
40260 shift
40261 done
40262
40263 if test "x${D}{headerfile}" = "x" ; then
40264 echo "error: can't find header ${D}{header} in include paths" >2
40265 else
40266 if test -f ${D}{outfile} ; then
40267 rm -f ${D}{outfile}
40268 else
40269 mkdir -p \`dirname ${D}{outfile}\`
40270 fi
40271 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40272 mkdir -p .deps
40273 # can do this because gcc is >= 3.4:
40274 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40275 exit ${D}{?}
40276 fi
40277 EOF
40278
40279 chmod +x bk-make-pch
40280 fi
40281 fi
40282 fi
40283
40284
40285
40286 COND_BUILD_DEBUG="#"
40287 if test "x$BUILD" = "xdebug" ; then
40288 COND_BUILD_DEBUG=""
40289 fi
40290
40291 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40292 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40293 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40294 fi
40295
40296 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40297 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40298 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40299 fi
40300
40301 COND_BUILD_DEBUG_UNICODE_0="#"
40302 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40303 COND_BUILD_DEBUG_UNICODE_0=""
40304 fi
40305
40306 COND_BUILD_DEBUG_UNICODE_1="#"
40307 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40308 COND_BUILD_DEBUG_UNICODE_1=""
40309 fi
40310
40311 COND_BUILD_RELEASE="#"
40312 if test "x$BUILD" = "xrelease" ; then
40313 COND_BUILD_RELEASE=""
40314 fi
40315
40316 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40317 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40318 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40319 fi
40320
40321 COND_BUILD_RELEASE_UNICODE_0="#"
40322 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40323 COND_BUILD_RELEASE_UNICODE_0=""
40324 fi
40325
40326 COND_BUILD_RELEASE_UNICODE_1="#"
40327 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40328 COND_BUILD_RELEASE_UNICODE_1=""
40329 fi
40330
40331 COND_DEBUG_FLAG_1="#"
40332 if test "x$DEBUG_FLAG" = "x1" ; then
40333 COND_DEBUG_FLAG_1=""
40334 fi
40335
40336 COND_DEBUG_INFO_0="#"
40337 if test "x$DEBUG_INFO" = "x0" ; then
40338 COND_DEBUG_INFO_0=""
40339 fi
40340
40341 COND_DEBUG_INFO_1="#"
40342 if test "x$DEBUG_INFO" = "x1" ; then
40343 COND_DEBUG_INFO_1=""
40344 fi
40345
40346 COND_DEPS_TRACKING_0="#"
40347 if test "x$DEPS_TRACKING" = "x0" ; then
40348 COND_DEPS_TRACKING_0=""
40349 fi
40350
40351 COND_DEPS_TRACKING_1="#"
40352 if test "x$DEPS_TRACKING" = "x1" ; then
40353 COND_DEPS_TRACKING_1=""
40354 fi
40355
40356 COND_GCC_PCH_1="#"
40357 if test "x$GCC_PCH" = "x1" ; then
40358 COND_GCC_PCH_1=""
40359 fi
40360
40361 COND_MONOLITHIC_0="#"
40362 if test "x$MONOLITHIC" = "x0" ; then
40363 COND_MONOLITHIC_0=""
40364 fi
40365
40366 COND_MONOLITHIC_0_SHARED_0="#"
40367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40368 COND_MONOLITHIC_0_SHARED_0=""
40369 fi
40370
40371 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40373 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40374 fi
40375
40376 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40378 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40379 fi
40380
40381 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40383 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40384 fi
40385
40386 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40388 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40389 fi
40390
40391 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40393 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40394 fi
40395
40396 COND_MONOLITHIC_0_SHARED_1="#"
40397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40398 COND_MONOLITHIC_0_SHARED_1=""
40399 fi
40400
40401 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40403 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40404 fi
40405
40406 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40408 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40409 fi
40410
40411 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40413 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40414 fi
40415
40416 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40418 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40419 fi
40420
40421 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40423 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40424 fi
40425
40426 COND_MONOLITHIC_0_USE_ODBC_1="#"
40427 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40428 COND_MONOLITHIC_0_USE_ODBC_1=""
40429 fi
40430
40431 COND_MONOLITHIC_1="#"
40432 if test "x$MONOLITHIC" = "x1" ; then
40433 COND_MONOLITHIC_1=""
40434 fi
40435
40436 COND_MONOLITHIC_1_SHARED_0="#"
40437 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40438 COND_MONOLITHIC_1_SHARED_0=""
40439 fi
40440
40441 COND_MONOLITHIC_1_SHARED_1="#"
40442 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40443 COND_MONOLITHIC_1_SHARED_1=""
40444 fi
40445
40446 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40447 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40448 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40449 fi
40450
40451 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40452 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40453 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40454 fi
40455
40456 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40457 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40458 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40459 fi
40460
40461 COND_PLATFORM_MACOSX_1="#"
40462 if test "x$PLATFORM_MACOSX" = "x1" ; then
40463 COND_PLATFORM_MACOSX_1=""
40464 fi
40465
40466 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40468 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40469 fi
40470
40471 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40473 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40474 fi
40475
40476 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40478 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40479 fi
40480
40481 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40483 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40484 fi
40485
40486 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
40487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40488 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
40489 fi
40490
40491 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40493 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40494 fi
40495
40496 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40498 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40499 fi
40500
40501 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40503 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40504 fi
40505
40506 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40508 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40509 fi
40510
40511 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40513 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40514 fi
40515
40516 COND_PLATFORM_MACOS_1="#"
40517 if test "x$PLATFORM_MACOS" = "x1" ; then
40518 COND_PLATFORM_MACOS_1=""
40519 fi
40520
40521 COND_PLATFORM_MAC_1="#"
40522 if test "x$PLATFORM_MAC" = "x1" ; then
40523 COND_PLATFORM_MAC_1=""
40524 fi
40525
40526 COND_PLATFORM_OS2_1="#"
40527 if test "x$PLATFORM_OS2" = "x1" ; then
40528 COND_PLATFORM_OS2_1=""
40529 fi
40530
40531 COND_PLATFORM_UNIX_0="#"
40532 if test "x$PLATFORM_UNIX" = "x0" ; then
40533 COND_PLATFORM_UNIX_0=""
40534 fi
40535
40536 COND_PLATFORM_UNIX_1="#"
40537 if test "x$PLATFORM_UNIX" = "x1" ; then
40538 COND_PLATFORM_UNIX_1=""
40539 fi
40540
40541 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40542 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40543 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40544 fi
40545
40546 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40547 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40548 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40549 fi
40550
40551 COND_PLATFORM_WIN32_0="#"
40552 if test "x$PLATFORM_WIN32" = "x0" ; then
40553 COND_PLATFORM_WIN32_0=""
40554 fi
40555
40556 COND_PLATFORM_WIN32_1="#"
40557 if test "x$PLATFORM_WIN32" = "x1" ; then
40558 COND_PLATFORM_WIN32_1=""
40559 fi
40560
40561 COND_SHARED_0="#"
40562 if test "x$SHARED" = "x0" ; then
40563 COND_SHARED_0=""
40564 fi
40565
40566 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40567 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40568 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40569 fi
40570
40571 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40572 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40573 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40574 fi
40575
40576 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40577 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40578 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40579 fi
40580
40581 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40582 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40583 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40584 fi
40585
40586 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40587 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40588 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40589 fi
40590
40591 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40592 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40593 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40594 fi
40595
40596 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40597 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40598 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40599 fi
40600
40601 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40602 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40603 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40604 fi
40605
40606 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40607 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40608 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40609 fi
40610
40611 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40612 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40613 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40614 fi
40615
40616 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40617 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40618 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40619 fi
40620
40621 COND_SHARED_1="#"
40622 if test "x$SHARED" = "x1" ; then
40623 COND_SHARED_1=""
40624 fi
40625
40626 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40627 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40628 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40629 fi
40630
40631 COND_TOOLKIT_="#"
40632 if test "x$TOOLKIT" = "x" ; then
40633 COND_TOOLKIT_=""
40634 fi
40635
40636 COND_TOOLKIT_COCOA="#"
40637 if test "x$TOOLKIT" = "xCOCOA" ; then
40638 COND_TOOLKIT_COCOA=""
40639 fi
40640
40641 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40642 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40643 COND_TOOLKIT_COCOA_USE_GUI_1=""
40644 fi
40645
40646 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40647 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40648 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40649 fi
40650
40651 COND_TOOLKIT_GTK="#"
40652 if test "x$TOOLKIT" = "xGTK" ; then
40653 COND_TOOLKIT_GTK=""
40654 fi
40655
40656 COND_TOOLKIT_GTK_USE_GUI_1="#"
40657 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40658 COND_TOOLKIT_GTK_USE_GUI_1=""
40659 fi
40660
40661 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40662 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40663 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40664 fi
40665
40666 COND_TOOLKIT_MAC="#"
40667 if test "x$TOOLKIT" = "xMAC" ; then
40668 COND_TOOLKIT_MAC=""
40669 fi
40670
40671 COND_TOOLKIT_MAC_USE_GUI_1="#"
40672 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40673 COND_TOOLKIT_MAC_USE_GUI_1=""
40674 fi
40675
40676 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40677 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40678 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40679 fi
40680
40681 COND_TOOLKIT_MGL="#"
40682 if test "x$TOOLKIT" = "xMGL" ; then
40683 COND_TOOLKIT_MGL=""
40684 fi
40685
40686 COND_TOOLKIT_MGL_USE_GUI_1="#"
40687 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40688 COND_TOOLKIT_MGL_USE_GUI_1=""
40689 fi
40690
40691 COND_TOOLKIT_MOTIF="#"
40692 if test "x$TOOLKIT" = "xMOTIF" ; then
40693 COND_TOOLKIT_MOTIF=""
40694 fi
40695
40696 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40697 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40698 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40699 fi
40700
40701 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40702 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40703 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40704 fi
40705
40706 COND_TOOLKIT_MSW="#"
40707 if test "x$TOOLKIT" = "xMSW" ; then
40708 COND_TOOLKIT_MSW=""
40709 fi
40710
40711 COND_TOOLKIT_MSW_USE_GUI_1="#"
40712 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40713 COND_TOOLKIT_MSW_USE_GUI_1=""
40714 fi
40715
40716 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40717 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40718 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40719 fi
40720
40721 COND_TOOLKIT_PM="#"
40722 if test "x$TOOLKIT" = "xPM" ; then
40723 COND_TOOLKIT_PM=""
40724 fi
40725
40726 COND_TOOLKIT_PM_USE_GUI_1="#"
40727 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40728 COND_TOOLKIT_PM_USE_GUI_1=""
40729 fi
40730
40731 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40732 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40733 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40734 fi
40735
40736 COND_TOOLKIT_WINCE="#"
40737 if test "x$TOOLKIT" = "xWINCE" ; then
40738 COND_TOOLKIT_WINCE=""
40739 fi
40740
40741 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40742 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40743 COND_TOOLKIT_WINCE_USE_GUI_1=""
40744 fi
40745
40746 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40747 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40748 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40749 fi
40750
40751 COND_TOOLKIT_X11="#"
40752 if test "x$TOOLKIT" = "xX11" ; then
40753 COND_TOOLKIT_X11=""
40754 fi
40755
40756 COND_TOOLKIT_X11_USE_GUI_1="#"
40757 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40758 COND_TOOLKIT_X11_USE_GUI_1=""
40759 fi
40760
40761 COND_UNICODE_1="#"
40762 if test "x$UNICODE" = "x1" ; then
40763 COND_UNICODE_1=""
40764 fi
40765
40766 COND_USE_EXCEPTIONS_0="#"
40767 if test "x$USE_EXCEPTIONS" = "x0" ; then
40768 COND_USE_EXCEPTIONS_0=""
40769 fi
40770
40771 COND_USE_EXCEPTIONS_1="#"
40772 if test "x$USE_EXCEPTIONS" = "x1" ; then
40773 COND_USE_EXCEPTIONS_1=""
40774 fi
40775
40776 COND_USE_GUI_0="#"
40777 if test "x$USE_GUI" = "x0" ; then
40778 COND_USE_GUI_0=""
40779 fi
40780
40781 COND_USE_GUI_1="#"
40782 if test "x$USE_GUI" = "x1" ; then
40783 COND_USE_GUI_1=""
40784 fi
40785
40786 COND_USE_GUI_1_WXUNIV_0="#"
40787 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40788 COND_USE_GUI_1_WXUNIV_0=""
40789 fi
40790
40791 COND_USE_GUI_1_WXUNIV_1="#"
40792 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40793 COND_USE_GUI_1_WXUNIV_1=""
40794 fi
40795
40796 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40797 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40798 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40799 fi
40800
40801 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40802 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40803 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40804 fi
40805
40806 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40807 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40808 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40809 fi
40810
40811 COND_USE_ODBC_1="#"
40812 if test "x$USE_ODBC" = "x1" ; then
40813 COND_USE_ODBC_1=""
40814 fi
40815
40816 COND_USE_OPENGL_1="#"
40817 if test "x$USE_OPENGL" = "x1" ; then
40818 COND_USE_OPENGL_1=""
40819 fi
40820
40821 COND_USE_PLUGINS_0="#"
40822 if test "x$USE_PLUGINS" = "x0" ; then
40823 COND_USE_PLUGINS_0=""
40824 fi
40825
40826 COND_USE_SOSYMLINKS_1="#"
40827 if test "x$USE_SOSYMLINKS" = "x1" ; then
40828 COND_USE_SOSYMLINKS_1=""
40829 fi
40830
40831 COND_USE_SOVERLINUX_1="#"
40832 if test "x$USE_SOVERLINUX" = "x1" ; then
40833 COND_USE_SOVERLINUX_1=""
40834 fi
40835
40836 COND_USE_SOVERSION_0="#"
40837 if test "x$USE_SOVERSION" = "x0" ; then
40838 COND_USE_SOVERSION_0=""
40839 fi
40840
40841 COND_USE_SOVERSOLARIS_1="#"
40842 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40843 COND_USE_SOVERSOLARIS_1=""
40844 fi
40845
40846 COND_USE_XRC_1="#"
40847 if test "x$USE_XRC" = "x1" ; then
40848 COND_USE_XRC_1=""
40849 fi
40850
40851 COND_WITH_PLUGIN_SDL_1="#"
40852 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40853 COND_WITH_PLUGIN_SDL_1=""
40854 fi
40855
40856 COND_WXUNIV_1="#"
40857 if test "x$WXUNIV" = "x1" ; then
40858 COND_WXUNIV_1=""
40859 fi
40860
40861 COND_WXUSE_EXPAT_BUILTIN="#"
40862 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40863 COND_WXUSE_EXPAT_BUILTIN=""
40864 fi
40865
40866 COND_WXUSE_LIBJPEG_BUILTIN="#"
40867 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40868 COND_WXUSE_LIBJPEG_BUILTIN=""
40869 fi
40870
40871 COND_WXUSE_LIBPNG_BUILTIN="#"
40872 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40873 COND_WXUSE_LIBPNG_BUILTIN=""
40874 fi
40875
40876 COND_WXUSE_LIBTIFF_BUILTIN="#"
40877 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40878 COND_WXUSE_LIBTIFF_BUILTIN=""
40879 fi
40880
40881 COND_WXUSE_ODBC_BUILTIN="#"
40882 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40883 COND_WXUSE_ODBC_BUILTIN=""
40884 fi
40885
40886 COND_WXUSE_REGEX_BUILTIN="#"
40887 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40888 COND_WXUSE_REGEX_BUILTIN=""
40889 fi
40890
40891 COND_WXUSE_ZLIB_BUILTIN="#"
40892 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40893 COND_WXUSE_ZLIB_BUILTIN=""
40894 fi
40895
40896 COND_BUILD_DEBUG="#"
40897 if test "x$BUILD" = "xdebug" ; then
40898 COND_BUILD_DEBUG=""
40899 fi
40900
40901 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40902 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40903 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40904 fi
40905
40906 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40907 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40908 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40909 fi
40910
40911 COND_BUILD_DEBUG_UNICODE_0="#"
40912 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40913 COND_BUILD_DEBUG_UNICODE_0=""
40914 fi
40915
40916 COND_BUILD_DEBUG_UNICODE_1="#"
40917 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40918 COND_BUILD_DEBUG_UNICODE_1=""
40919 fi
40920
40921 COND_BUILD_RELEASE="#"
40922 if test "x$BUILD" = "xrelease" ; then
40923 COND_BUILD_RELEASE=""
40924 fi
40925
40926 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40927 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40928 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40929 fi
40930
40931 COND_BUILD_RELEASE_UNICODE_0="#"
40932 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40933 COND_BUILD_RELEASE_UNICODE_0=""
40934 fi
40935
40936 COND_BUILD_RELEASE_UNICODE_1="#"
40937 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40938 COND_BUILD_RELEASE_UNICODE_1=""
40939 fi
40940
40941 COND_DEBUG_FLAG_1="#"
40942 if test "x$DEBUG_FLAG" = "x1" ; then
40943 COND_DEBUG_FLAG_1=""
40944 fi
40945
40946 COND_DEBUG_INFO_0="#"
40947 if test "x$DEBUG_INFO" = "x0" ; then
40948 COND_DEBUG_INFO_0=""
40949 fi
40950
40951 COND_DEBUG_INFO_1="#"
40952 if test "x$DEBUG_INFO" = "x1" ; then
40953 COND_DEBUG_INFO_1=""
40954 fi
40955
40956 COND_DEPS_TRACKING_0="#"
40957 if test "x$DEPS_TRACKING" = "x0" ; then
40958 COND_DEPS_TRACKING_0=""
40959 fi
40960
40961 COND_DEPS_TRACKING_1="#"
40962 if test "x$DEPS_TRACKING" = "x1" ; then
40963 COND_DEPS_TRACKING_1=""
40964 fi
40965
40966 COND_GCC_PCH_1="#"
40967 if test "x$GCC_PCH" = "x1" ; then
40968 COND_GCC_PCH_1=""
40969 fi
40970
40971 COND_MONOLITHIC_0="#"
40972 if test "x$MONOLITHIC" = "x0" ; then
40973 COND_MONOLITHIC_0=""
40974 fi
40975
40976 COND_MONOLITHIC_0_SHARED_0="#"
40977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40978 COND_MONOLITHIC_0_SHARED_0=""
40979 fi
40980
40981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40984 fi
40985
40986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40989 fi
40990
40991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40994 fi
40995
40996 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40998 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40999 fi
41000
41001 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41003 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41004 fi
41005
41006 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
41007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41008 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
41009 fi
41010
41011 COND_MONOLITHIC_0_SHARED_1="#"
41012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41013 COND_MONOLITHIC_0_SHARED_1=""
41014 fi
41015
41016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41018 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41019 fi
41020
41021 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
41022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41023 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
41024 fi
41025
41026 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41028 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41029 fi
41030
41031 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
41032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41033 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
41034 fi
41035
41036 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41038 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41039 fi
41040
41041 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
41042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41043 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
41044 fi
41045
41046 COND_MONOLITHIC_0_USE_ODBC_1="#"
41047 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41048 COND_MONOLITHIC_0_USE_ODBC_1=""
41049 fi
41050
41051 COND_MONOLITHIC_1="#"
41052 if test "x$MONOLITHIC" = "x1" ; then
41053 COND_MONOLITHIC_1=""
41054 fi
41055
41056 COND_MONOLITHIC_1_SHARED_0="#"
41057 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41058 COND_MONOLITHIC_1_SHARED_0=""
41059 fi
41060
41061 COND_MONOLITHIC_1_SHARED_1="#"
41062 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41063 COND_MONOLITHIC_1_SHARED_1=""
41064 fi
41065
41066 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41067 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41068 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41069 fi
41070
41071 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41072 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41073 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41074 fi
41075
41076 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41077 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41078 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41079 fi
41080
41081 COND_PLATFORM_MACOSX_1="#"
41082 if test "x$PLATFORM_MACOSX" = "x1" ; then
41083 COND_PLATFORM_MACOSX_1=""
41084 fi
41085
41086 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
41087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41088 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
41089 fi
41090
41091 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41092 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41093 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41094 fi
41095
41096 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41097 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41098 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41099 fi
41100
41101 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41102 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41103 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41104 fi
41105
41106 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
41107 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41108 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
41109 fi
41110
41111 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41112 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41113 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41114 fi
41115
41116 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
41117 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41118 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
41119 fi
41120
41121 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
41122 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41123 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
41124 fi
41125
41126 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41127 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41128 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41129 fi
41130
41131 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41132 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41133 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41134 fi
41135
41136 COND_PLATFORM_MACOS_1="#"
41137 if test "x$PLATFORM_MACOS" = "x1" ; then
41138 COND_PLATFORM_MACOS_1=""
41139 fi
41140
41141 COND_PLATFORM_MAC_1="#"
41142 if test "x$PLATFORM_MAC" = "x1" ; then
41143 COND_PLATFORM_MAC_1=""
41144 fi
41145
41146 COND_PLATFORM_OS2_1="#"
41147 if test "x$PLATFORM_OS2" = "x1" ; then
41148 COND_PLATFORM_OS2_1=""
41149 fi
41150
41151 COND_PLATFORM_UNIX_0="#"
41152 if test "x$PLATFORM_UNIX" = "x0" ; then
41153 COND_PLATFORM_UNIX_0=""
41154 fi
41155
41156 COND_PLATFORM_UNIX_1="#"
41157 if test "x$PLATFORM_UNIX" = "x1" ; then
41158 COND_PLATFORM_UNIX_1=""
41159 fi
41160
41161 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41162 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41163 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41164 fi
41165
41166 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41167 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41168 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41169 fi
41170
41171 COND_PLATFORM_WIN32_0="#"
41172 if test "x$PLATFORM_WIN32" = "x0" ; then
41173 COND_PLATFORM_WIN32_0=""
41174 fi
41175
41176 COND_PLATFORM_WIN32_1="#"
41177 if test "x$PLATFORM_WIN32" = "x1" ; then
41178 COND_PLATFORM_WIN32_1=""
41179 fi
41180
41181 COND_SHARED_0="#"
41182 if test "x$SHARED" = "x0" ; then
41183 COND_SHARED_0=""
41184 fi
41185
41186 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41187 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41188 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41189 fi
41190
41191 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41192 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41193 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41194 fi
41195
41196 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41197 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41198 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41199 fi
41200
41201 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41202 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41203 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41204 fi
41205
41206 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41207 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41208 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41209 fi
41210
41211 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41212 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41213 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41214 fi
41215
41216 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41217 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41218 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41219 fi
41220
41221 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41222 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41223 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41224 fi
41225
41226 COND_SHARED_1="#"
41227 if test "x$SHARED" = "x1" ; then
41228 COND_SHARED_1=""
41229 fi
41230
41231 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41232 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41233 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41234 fi
41235
41236 COND_TOOLKIT_="#"
41237 if test "x$TOOLKIT" = "x" ; then
41238 COND_TOOLKIT_=""
41239 fi
41240
41241 COND_TOOLKIT_COCOA="#"
41242 if test "x$TOOLKIT" = "xCOCOA" ; then
41243 COND_TOOLKIT_COCOA=""
41244 fi
41245
41246 COND_TOOLKIT_COCOA_USE_GUI_1="#"
41247 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41248 COND_TOOLKIT_COCOA_USE_GUI_1=""
41249 fi
41250
41251 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41252 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41253 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41254 fi
41255
41256 COND_TOOLKIT_GTK="#"
41257 if test "x$TOOLKIT" = "xGTK" ; then
41258 COND_TOOLKIT_GTK=""
41259 fi
41260
41261 COND_TOOLKIT_GTK_USE_GUI_1="#"
41262 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41263 COND_TOOLKIT_GTK_USE_GUI_1=""
41264 fi
41265
41266 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41267 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41268 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41269 fi
41270
41271 COND_TOOLKIT_MAC="#"
41272 if test "x$TOOLKIT" = "xMAC" ; then
41273 COND_TOOLKIT_MAC=""
41274 fi
41275
41276 COND_TOOLKIT_MAC_USE_GUI_1="#"
41277 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41278 COND_TOOLKIT_MAC_USE_GUI_1=""
41279 fi
41280
41281 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41282 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41283 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41284 fi
41285
41286 COND_TOOLKIT_MAC_WXUNIV_0="#"
41287 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41288 COND_TOOLKIT_MAC_WXUNIV_0=""
41289 fi
41290
41291 COND_TOOLKIT_MGL="#"
41292 if test "x$TOOLKIT" = "xMGL" ; then
41293 COND_TOOLKIT_MGL=""
41294 fi
41295
41296 COND_TOOLKIT_MGL_USE_GUI_1="#"
41297 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41298 COND_TOOLKIT_MGL_USE_GUI_1=""
41299 fi
41300
41301 COND_TOOLKIT_MOTIF="#"
41302 if test "x$TOOLKIT" = "xMOTIF" ; then
41303 COND_TOOLKIT_MOTIF=""
41304 fi
41305
41306 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41307 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41308 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41309 fi
41310
41311 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41312 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41313 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41314 fi
41315
41316 COND_TOOLKIT_MSW="#"
41317 if test "x$TOOLKIT" = "xMSW" ; then
41318 COND_TOOLKIT_MSW=""
41319 fi
41320
41321 COND_TOOLKIT_MSW_USE_GUI_1="#"
41322 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41323 COND_TOOLKIT_MSW_USE_GUI_1=""
41324 fi
41325
41326 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41327 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41328 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41329 fi
41330
41331 COND_TOOLKIT_MSW_WXUNIV_0="#"
41332 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41333 COND_TOOLKIT_MSW_WXUNIV_0=""
41334 fi
41335
41336 COND_TOOLKIT_PM="#"
41337 if test "x$TOOLKIT" = "xPM" ; then
41338 COND_TOOLKIT_PM=""
41339 fi
41340
41341 COND_TOOLKIT_PM_USE_GUI_1="#"
41342 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41343 COND_TOOLKIT_PM_USE_GUI_1=""
41344 fi
41345
41346 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41347 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41348 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41349 fi
41350
41351 COND_TOOLKIT_PM_WXUNIV_0="#"
41352 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41353 COND_TOOLKIT_PM_WXUNIV_0=""
41354 fi
41355
41356 COND_TOOLKIT_WINCE="#"
41357 if test "x$TOOLKIT" = "xWINCE" ; then
41358 COND_TOOLKIT_WINCE=""
41359 fi
41360
41361 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41362 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41363 COND_TOOLKIT_WINCE_USE_GUI_1=""
41364 fi
41365
41366 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41367 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41368 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41369 fi
41370
41371 COND_TOOLKIT_X11="#"
41372 if test "x$TOOLKIT" = "xX11" ; then
41373 COND_TOOLKIT_X11=""
41374 fi
41375
41376 COND_TOOLKIT_X11_USE_GUI_1="#"
41377 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41378 COND_TOOLKIT_X11_USE_GUI_1=""
41379 fi
41380
41381 COND_UNICODE_1="#"
41382 if test "x$UNICODE" = "x1" ; then
41383 COND_UNICODE_1=""
41384 fi
41385
41386 COND_USE_EXCEPTIONS_0="#"
41387 if test "x$USE_EXCEPTIONS" = "x0" ; then
41388 COND_USE_EXCEPTIONS_0=""
41389 fi
41390
41391 COND_USE_EXCEPTIONS_1="#"
41392 if test "x$USE_EXCEPTIONS" = "x1" ; then
41393 COND_USE_EXCEPTIONS_1=""
41394 fi
41395
41396 COND_USE_GUI_0="#"
41397 if test "x$USE_GUI" = "x0" ; then
41398 COND_USE_GUI_0=""
41399 fi
41400
41401 COND_USE_GUI_1="#"
41402 if test "x$USE_GUI" = "x1" ; then
41403 COND_USE_GUI_1=""
41404 fi
41405
41406 COND_USE_GUI_1_WXUNIV_0="#"
41407 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41408 COND_USE_GUI_1_WXUNIV_0=""
41409 fi
41410
41411 COND_USE_GUI_1_WXUNIV_1="#"
41412 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41413 COND_USE_GUI_1_WXUNIV_1=""
41414 fi
41415
41416 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41417 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41418 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41419 fi
41420
41421 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41422 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41423 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41424 fi
41425
41426 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41427 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41428 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41429 fi
41430
41431 COND_USE_ODBC_1="#"
41432 if test "x$USE_ODBC" = "x1" ; then
41433 COND_USE_ODBC_1=""
41434 fi
41435
41436 COND_USE_PLUGINS_0="#"
41437 if test "x$USE_PLUGINS" = "x0" ; then
41438 COND_USE_PLUGINS_0=""
41439 fi
41440
41441 COND_USE_SOSYMLINKS_1="#"
41442 if test "x$USE_SOSYMLINKS" = "x1" ; then
41443 COND_USE_SOSYMLINKS_1=""
41444 fi
41445
41446 COND_USE_SOVERLINUX_1="#"
41447 if test "x$USE_SOVERLINUX" = "x1" ; then
41448 COND_USE_SOVERLINUX_1=""
41449 fi
41450
41451 COND_USE_SOVERSION_0="#"
41452 if test "x$USE_SOVERSION" = "x0" ; then
41453 COND_USE_SOVERSION_0=""
41454 fi
41455
41456 COND_USE_SOVERSOLARIS_1="#"
41457 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41458 COND_USE_SOVERSOLARIS_1=""
41459 fi
41460
41461 COND_USE_XRC_1="#"
41462 if test "x$USE_XRC" = "x1" ; then
41463 COND_USE_XRC_1=""
41464 fi
41465
41466 COND_WITH_PLUGIN_SDL_1="#"
41467 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41468 COND_WITH_PLUGIN_SDL_1=""
41469 fi
41470
41471 COND_WXUNIV_1="#"
41472 if test "x$WXUNIV" = "x1" ; then
41473 COND_WXUNIV_1=""
41474 fi
41475
41476 COND_WXUSE_EXPAT_BUILTIN="#"
41477 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41478 COND_WXUSE_EXPAT_BUILTIN=""
41479 fi
41480
41481 COND_WXUSE_LIBJPEG_BUILTIN="#"
41482 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41483 COND_WXUSE_LIBJPEG_BUILTIN=""
41484 fi
41485
41486 COND_WXUSE_LIBPNG_BUILTIN="#"
41487 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41488 COND_WXUSE_LIBPNG_BUILTIN=""
41489 fi
41490
41491 COND_WXUSE_LIBTIFF_BUILTIN="#"
41492 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41493 COND_WXUSE_LIBTIFF_BUILTIN=""
41494 fi
41495
41496 COND_WXUSE_ODBC_BUILTIN="#"
41497 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41498 COND_WXUSE_ODBC_BUILTIN=""
41499 fi
41500
41501 COND_WXUSE_REGEX_BUILTIN="#"
41502 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41503 COND_WXUSE_REGEX_BUILTIN=""
41504 fi
41505
41506 COND_WXUSE_ZLIB_BUILTIN="#"
41507 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41508 COND_WXUSE_ZLIB_BUILTIN=""
41509 fi
41510
41511
41512
41513 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41514 { { 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
41515 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;}
41516 { (exit 1); exit 1; }; }
41517 fi
41518
41519
41520 if test "$wxUSE_SHARED" = "yes"; then
41521
41522 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41523 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41524
41525 else
41526
41527 EXE_LINKER="$CXX -o"
41528
41529 fi
41530
41531 GCC_PRAGMA_FLAGS=""
41532 if test $GCC_PCH = 1 ; then
41533 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41534 else
41535 case "${host}" in
41536 powerpc-*-darwin* )
41537 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41538 ;;
41539 *-*-mingw32* )
41540 if test "$wxUSE_STL" = "yes" -o \
41541 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41542 "$wxUSE_NO_RTTI" != "yes"; then
41543 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41544 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41545 cat >conftest.$ac_ext <<_ACEOF
41546 /* confdefs.h. */
41547 _ACEOF
41548 cat confdefs.h >>conftest.$ac_ext
41549 cat >>conftest.$ac_ext <<_ACEOF
41550 /* end confdefs.h. */
41551
41552 int
41553 main ()
41554 {
41555 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41556 #error "Not GCC 3.2 or greater"
41557 #endif
41558
41559 ;
41560 return 0;
41561 }
41562 _ACEOF
41563 rm -f conftest.$ac_objext
41564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41565 (eval $ac_compile) 2>conftest.er1
41566 ac_status=$?
41567 grep -v '^ *+' conftest.er1 >conftest.err
41568 rm -f conftest.er1
41569 cat conftest.err >&5
41570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); } &&
41572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41574 (eval $ac_try) 2>&5
41575 ac_status=$?
41576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41577 (exit $ac_status); }; } &&
41578 { ac_try='test -s conftest.$ac_objext'
41579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41580 (eval $ac_try) 2>&5
41581 ac_status=$?
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); }; }; then
41584 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41585 echo "$as_me:$LINENO: result: yes" >&5
41586 echo "${ECHO_T}yes" >&6
41587 else
41588 echo "$as_me: failed program was:" >&5
41589 sed 's/^/| /' conftest.$ac_ext >&5
41590
41591 echo "$as_me:$LINENO: result: no" >&5
41592 echo "${ECHO_T}no" >&6
41593 fi
41594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41595 fi
41596 ;;
41597 esac
41598 fi
41599 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41600
41601
41602 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
41626
41627
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655
41656
41657
41658
41659
41660
41661
41662
41663
41664
41665
41666 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41667 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41668 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41669 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41670 echo $ECHO_N "(cached) $ECHO_C" >&6
41671 else
41672 cat >conftest.make <<\_ACEOF
41673 all:
41674 @echo 'ac_maketemp="$(MAKE)"'
41675 _ACEOF
41676 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41677 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41678 if test -n "$ac_maketemp"; then
41679 eval ac_cv_prog_make_${ac_make}_set=yes
41680 else
41681 eval ac_cv_prog_make_${ac_make}_set=no
41682 fi
41683 rm -f conftest.make
41684 fi
41685 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41686 echo "$as_me:$LINENO: result: yes" >&5
41687 echo "${ECHO_T}yes" >&6
41688 SET_MAKE=
41689 else
41690 echo "$as_me:$LINENO: result: no" >&5
41691 echo "${ECHO_T}no" >&6
41692 SET_MAKE="MAKE=${MAKE-make}"
41693 fi
41694
41695
41696
41697 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41698
41699
41700 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41701
41702
41703 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41704
41705
41706 ac_config_files="$ac_config_files version-script Makefile"
41707
41708
41709 ac_config_commands="$ac_config_commands wx-config
41710 "
41711
41712
41713
41714
41715 if test "$wxUSE_GUI" = "yes"; then
41716 SUBDIRS="samples demos utils contrib"
41717 else SUBDIRS="samples utils"
41718 fi
41719
41720
41721
41722 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41723 if test "${with_cppunit_prefix+set}" = set; then
41724 withval="$with_cppunit_prefix"
41725 cppunit_config_prefix="$withval"
41726 else
41727 cppunit_config_prefix=""
41728 fi;
41729
41730 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41731 if test "${with_cppunit_exec_prefix+set}" = set; then
41732 withval="$with_cppunit_exec_prefix"
41733 cppunit_config_exec_prefix="$withval"
41734 else
41735 cppunit_config_exec_prefix=""
41736 fi;
41737
41738 if test x$cppunit_config_exec_prefix != x ; then
41739 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41740 if test x${CPPUNIT_CONFIG+set} != xset ; then
41741 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41742 fi
41743 fi
41744 if test x$cppunit_config_prefix != x ; then
41745 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41746 if test x${CPPUNIT_CONFIG+set} != xset ; then
41747 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41748 fi
41749 fi
41750
41751 # Extract the first word of "cppunit-config", so it can be a program name with args.
41752 set dummy cppunit-config; ac_word=$2
41753 echo "$as_me:$LINENO: checking for $ac_word" >&5
41754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41755 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41756 echo $ECHO_N "(cached) $ECHO_C" >&6
41757 else
41758 case $CPPUNIT_CONFIG in
41759 [\\/]* | ?:[\\/]*)
41760 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41761 ;;
41762 *)
41763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41764 for as_dir in $PATH
41765 do
41766 IFS=$as_save_IFS
41767 test -z "$as_dir" && as_dir=.
41768 for ac_exec_ext in '' $ac_executable_extensions; do
41769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41770 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41772 break 2
41773 fi
41774 done
41775 done
41776
41777 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41778 ;;
41779 esac
41780 fi
41781 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41782
41783 if test -n "$CPPUNIT_CONFIG"; then
41784 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41785 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41786 else
41787 echo "$as_me:$LINENO: result: no" >&5
41788 echo "${ECHO_T}no" >&6
41789 fi
41790
41791 cppunit_version_min=1.8.0
41792
41793 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41794 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41795 no_cppunit=""
41796 if test "$CPPUNIT_CONFIG" = "no" ; then
41797 no_cppunit=yes
41798 else
41799 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41800 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41801 cppunit_version=`$CPPUNIT_CONFIG --version`
41802
41803 cppunit_major_version=`echo $cppunit_version | \
41804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41805 cppunit_minor_version=`echo $cppunit_version | \
41806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41807 cppunit_micro_version=`echo $cppunit_version | \
41808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41809
41810 cppunit_major_min=`echo $cppunit_version_min | \
41811 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41812 cppunit_minor_min=`echo $cppunit_version_min | \
41813 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41814 cppunit_micro_min=`echo $cppunit_version_min | \
41815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41816
41817 cppunit_version_proper=`expr \
41818 $cppunit_major_version \> $cppunit_major_min \| \
41819 $cppunit_major_version \= $cppunit_major_min \& \
41820 $cppunit_minor_version \> $cppunit_minor_min \| \
41821 $cppunit_major_version \= $cppunit_major_min \& \
41822 $cppunit_minor_version \= $cppunit_minor_min \& \
41823 $cppunit_micro_version \>= $cppunit_micro_min `
41824
41825 if test "$cppunit_version_proper" = "1" ; then
41826 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41827 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41828 else
41829 echo "$as_me:$LINENO: result: no" >&5
41830 echo "${ECHO_T}no" >&6
41831 no_cppunit=yes
41832 fi
41833 fi
41834
41835 if test "x$no_cppunit" = x ; then
41836 SUBDIRS="$SUBDIRS tests"
41837 else
41838 CPPUNIT_CFLAGS=""
41839 CPPUNIT_LIBS=""
41840 :
41841 fi
41842
41843
41844
41845
41846
41847 for subdir in `echo $SUBDIRS`; do
41848 if test -d ${srcdir}/${subdir} ; then
41849 if test "$wxUSE_GUI" = "yes"; then
41850 if test ${subdir} = "samples"; then
41851 makefiles="samples/Makefile.in $makefiles"
41852 for sample in `echo $SAMPLES_SUBDIRS`; do
41853 if test -d $srcdir/samples/$sample; then
41854 makefiles="samples/$sample/Makefile.in $makefiles"
41855 fi
41856 done
41857 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41858 fi
41859 else if test ${subdir} = "samples"; then
41860 makefiles="samples/Makefile.in samples/console/Makefile.in"
41861 elif test ${subdir} = "utils"; then
41862 makefiles=""
41863 for util in HelpGen tex2rtf ; do
41864 if test -d $srcdir/utils/$util ; then
41865 makefiles="utils/$util/Makefile.in \
41866 utils/$util/src/Makefile.in \
41867 $makefiles"
41868 fi
41869 done
41870 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41871 fi
41872 fi
41873
41874 for mkin in $makefiles ; do
41875 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41876 ac_config_files="$ac_config_files $mk"
41877
41878 done
41879 fi
41880 done
41881
41882
41883 cat >confcache <<\_ACEOF
41884 # This file is a shell script that caches the results of configure
41885 # tests run on this system so they can be shared between configure
41886 # scripts and configure runs, see configure's option --config-cache.
41887 # It is not useful on other systems. If it contains results you don't
41888 # want to keep, you may remove or edit it.
41889 #
41890 # config.status only pays attention to the cache file if you give it
41891 # the --recheck option to rerun configure.
41892 #
41893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41895 # following values.
41896
41897 _ACEOF
41898
41899 # The following way of writing the cache mishandles newlines in values,
41900 # but we know of no workaround that is simple, portable, and efficient.
41901 # So, don't put newlines in cache variables' values.
41902 # Ultrix sh set writes to stderr and can't be redirected directly,
41903 # and sets the high bit in the cache file unless we assign to the vars.
41904 {
41905 (set) 2>&1 |
41906 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41907 *ac_space=\ *)
41908 # `set' does not quote correctly, so add quotes (double-quote
41909 # substitution turns \\\\ into \\, and sed turns \\ into \).
41910 sed -n \
41911 "s/'/'\\\\''/g;
41912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41913 ;;
41914 *)
41915 # `set' quotes correctly as required by POSIX, so do not add quotes.
41916 sed -n \
41917 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41918 ;;
41919 esac;
41920 } |
41921 sed '
41922 t clear
41923 : clear
41924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41925 t end
41926 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41927 : end' >>confcache
41928 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41929 if test -w $cache_file; then
41930 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41931 cat confcache >$cache_file
41932 else
41933 echo "not updating unwritable cache $cache_file"
41934 fi
41935 fi
41936 rm -f confcache
41937
41938 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41939 # Let make expand exec_prefix.
41940 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41941
41942 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41943 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41944 # trailing colons and then remove the whole line if VPATH becomes empty
41945 # (actually we leave an empty line to preserve line numbers).
41946 if test "x$srcdir" = x.; then
41947 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41948 s/:*\$(srcdir):*/:/;
41949 s/:*\${srcdir}:*/:/;
41950 s/:*@srcdir@:*/:/;
41951 s/^\([^=]*=[ ]*\):*/\1/;
41952 s/:*$//;
41953 s/^[^=]*=[ ]*$//;
41954 }'
41955 fi
41956
41957 DEFS=-DHAVE_CONFIG_H
41958
41959 ac_libobjs=
41960 ac_ltlibobjs=
41961 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41962 # 1. Remove the extension, and $U if already installed.
41963 ac_i=`echo "$ac_i" |
41964 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41965 # 2. Add them.
41966 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41967 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41968 done
41969 LIBOBJS=$ac_libobjs
41970
41971 LTLIBOBJS=$ac_ltlibobjs
41972
41973
41974
41975 : ${CONFIG_STATUS=./config.status}
41976 ac_clean_files_save=$ac_clean_files
41977 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41978 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41979 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41980 cat >$CONFIG_STATUS <<_ACEOF
41981 #! $SHELL
41982 # Generated by $as_me.
41983 # Run this file to recreate the current configuration.
41984 # Compiler output produced by configure, useful for debugging
41985 # configure, is in config.log if it exists.
41986
41987 debug=false
41988 ac_cs_recheck=false
41989 ac_cs_silent=false
41990 SHELL=\${CONFIG_SHELL-$SHELL}
41991 _ACEOF
41992
41993 cat >>$CONFIG_STATUS <<\_ACEOF
41994 ## --------------------- ##
41995 ## M4sh Initialization. ##
41996 ## --------------------- ##
41997
41998 # Be Bourne compatible
41999 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42000 emulate sh
42001 NULLCMD=:
42002 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42003 # is contrary to our usage. Disable this feature.
42004 alias -g '${1+"$@"}'='"$@"'
42005 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42006 set -o posix
42007 fi
42008 DUALCASE=1; export DUALCASE # for MKS sh
42009
42010 # Support unset when possible.
42011 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42012 as_unset=unset
42013 else
42014 as_unset=false
42015 fi
42016
42017
42018 # Work around bugs in pre-3.0 UWIN ksh.
42019 $as_unset ENV MAIL MAILPATH
42020 PS1='$ '
42021 PS2='> '
42022 PS4='+ '
42023
42024 # NLS nuisances.
42025 for as_var in \
42026 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42027 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42028 LC_TELEPHONE LC_TIME
42029 do
42030 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42031 eval $as_var=C; export $as_var
42032 else
42033 $as_unset $as_var
42034 fi
42035 done
42036
42037 # Required to use basename.
42038 if expr a : '\(a\)' >/dev/null 2>&1; then
42039 as_expr=expr
42040 else
42041 as_expr=false
42042 fi
42043
42044 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42045 as_basename=basename
42046 else
42047 as_basename=false
42048 fi
42049
42050
42051 # Name of the executable.
42052 as_me=`$as_basename "$0" ||
42053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42054 X"$0" : 'X\(//\)$' \| \
42055 X"$0" : 'X\(/\)$' \| \
42056 . : '\(.\)' 2>/dev/null ||
42057 echo X/"$0" |
42058 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42059 /^X\/\(\/\/\)$/{ s//\1/; q; }
42060 /^X\/\(\/\).*/{ s//\1/; q; }
42061 s/.*/./; q'`
42062
42063
42064 # PATH needs CR, and LINENO needs CR and PATH.
42065 # Avoid depending upon Character Ranges.
42066 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42067 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42068 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42069 as_cr_digits='0123456789'
42070 as_cr_alnum=$as_cr_Letters$as_cr_digits
42071
42072 # The user is always right.
42073 if test "${PATH_SEPARATOR+set}" != set; then
42074 echo "#! /bin/sh" >conf$$.sh
42075 echo "exit 0" >>conf$$.sh
42076 chmod +x conf$$.sh
42077 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42078 PATH_SEPARATOR=';'
42079 else
42080 PATH_SEPARATOR=:
42081 fi
42082 rm -f conf$$.sh
42083 fi
42084
42085
42086 as_lineno_1=$LINENO
42087 as_lineno_2=$LINENO
42088 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42089 test "x$as_lineno_1" != "x$as_lineno_2" &&
42090 test "x$as_lineno_3" = "x$as_lineno_2" || {
42091 # Find who we are. Look in the path if we contain no path at all
42092 # relative or not.
42093 case $0 in
42094 *[\\/]* ) as_myself=$0 ;;
42095 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42096 for as_dir in $PATH
42097 do
42098 IFS=$as_save_IFS
42099 test -z "$as_dir" && as_dir=.
42100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42101 done
42102
42103 ;;
42104 esac
42105 # We did not find ourselves, most probably we were run as `sh COMMAND'
42106 # in which case we are not to be found in the path.
42107 if test "x$as_myself" = x; then
42108 as_myself=$0
42109 fi
42110 if test ! -f "$as_myself"; then
42111 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42112 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42113 { (exit 1); exit 1; }; }
42114 fi
42115 case $CONFIG_SHELL in
42116 '')
42117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42118 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42119 do
42120 IFS=$as_save_IFS
42121 test -z "$as_dir" && as_dir=.
42122 for as_base in sh bash ksh sh5; do
42123 case $as_dir in
42124 /*)
42125 if ("$as_dir/$as_base" -c '
42126 as_lineno_1=$LINENO
42127 as_lineno_2=$LINENO
42128 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42129 test "x$as_lineno_1" != "x$as_lineno_2" &&
42130 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42131 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42132 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42133 CONFIG_SHELL=$as_dir/$as_base
42134 export CONFIG_SHELL
42135 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42136 fi;;
42137 esac
42138 done
42139 done
42140 ;;
42141 esac
42142
42143 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42144 # uniformly replaced by the line number. The first 'sed' inserts a
42145 # line-number line before each line; the second 'sed' does the real
42146 # work. The second script uses 'N' to pair each line-number line
42147 # with the numbered line, and appends trailing '-' during
42148 # substitution so that $LINENO is not a special case at line end.
42149 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42150 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42151 sed '=' <$as_myself |
42152 sed '
42153 N
42154 s,$,-,
42155 : loop
42156 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42157 t loop
42158 s,-$,,
42159 s,^['$as_cr_digits']*\n,,
42160 ' >$as_me.lineno &&
42161 chmod +x $as_me.lineno ||
42162 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42163 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42164 { (exit 1); exit 1; }; }
42165
42166 # Don't try to exec as it changes $[0], causing all sort of problems
42167 # (the dirname of $[0] is not the place where we might find the
42168 # original and so on. Autoconf is especially sensible to this).
42169 . ./$as_me.lineno
42170 # Exit status is that of the last command.
42171 exit
42172 }
42173
42174
42175 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42176 *c*,-n*) ECHO_N= ECHO_C='
42177 ' ECHO_T=' ' ;;
42178 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42179 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42180 esac
42181
42182 if expr a : '\(a\)' >/dev/null 2>&1; then
42183 as_expr=expr
42184 else
42185 as_expr=false
42186 fi
42187
42188 rm -f conf$$ conf$$.exe conf$$.file
42189 echo >conf$$.file
42190 if ln -s conf$$.file conf$$ 2>/dev/null; then
42191 # We could just check for DJGPP; but this test a) works b) is more generic
42192 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42193 if test -f conf$$.exe; then
42194 # Don't use ln at all; we don't have any links
42195 as_ln_s='cp -p'
42196 else
42197 as_ln_s='ln -s'
42198 fi
42199 elif ln conf$$.file conf$$ 2>/dev/null; then
42200 as_ln_s=ln
42201 else
42202 as_ln_s='cp -p'
42203 fi
42204 rm -f conf$$ conf$$.exe conf$$.file
42205
42206 if mkdir -p . 2>/dev/null; then
42207 as_mkdir_p=:
42208 else
42209 test -d ./-p && rmdir ./-p
42210 as_mkdir_p=false
42211 fi
42212
42213 as_executable_p="test -f"
42214
42215 # Sed expression to map a string onto a valid CPP name.
42216 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42217
42218 # Sed expression to map a string onto a valid variable name.
42219 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42220
42221
42222 # IFS
42223 # We need space, tab and new line, in precisely that order.
42224 as_nl='
42225 '
42226 IFS=" $as_nl"
42227
42228 # CDPATH.
42229 $as_unset CDPATH
42230
42231 exec 6>&1
42232
42233 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42234 # report actual input values of CONFIG_FILES etc. instead of their
42235 # values after options handling. Logging --version etc. is OK.
42236 exec 5>>config.log
42237 {
42238 echo
42239 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42240 ## Running $as_me. ##
42241 _ASBOX
42242 } >&5
42243 cat >&5 <<_CSEOF
42244
42245 This file was extended by wxWidgets $as_me 2.5.3, which was
42246 generated by GNU Autoconf 2.59. Invocation command line was
42247
42248 CONFIG_FILES = $CONFIG_FILES
42249 CONFIG_HEADERS = $CONFIG_HEADERS
42250 CONFIG_LINKS = $CONFIG_LINKS
42251 CONFIG_COMMANDS = $CONFIG_COMMANDS
42252 $ $0 $@
42253
42254 _CSEOF
42255 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42256 echo >&5
42257 _ACEOF
42258
42259 # Files that config.status was made for.
42260 if test -n "$ac_config_files"; then
42261 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42262 fi
42263
42264 if test -n "$ac_config_headers"; then
42265 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42266 fi
42267
42268 if test -n "$ac_config_links"; then
42269 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42270 fi
42271
42272 if test -n "$ac_config_commands"; then
42273 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42274 fi
42275
42276 cat >>$CONFIG_STATUS <<\_ACEOF
42277
42278 ac_cs_usage="\
42279 \`$as_me' instantiates files from templates according to the
42280 current configuration.
42281
42282 Usage: $0 [OPTIONS] [FILE]...
42283
42284 -h, --help print this help, then exit
42285 -V, --version print version number, then exit
42286 -q, --quiet do not print progress messages
42287 -d, --debug don't remove temporary files
42288 --recheck update $as_me by reconfiguring in the same conditions
42289 --file=FILE[:TEMPLATE]
42290 instantiate the configuration file FILE
42291 --header=FILE[:TEMPLATE]
42292 instantiate the configuration header FILE
42293
42294 Configuration files:
42295 $config_files
42296
42297 Configuration headers:
42298 $config_headers
42299
42300 Configuration commands:
42301 $config_commands
42302
42303 Report bugs to <bug-autoconf@gnu.org>."
42304 _ACEOF
42305
42306 cat >>$CONFIG_STATUS <<_ACEOF
42307 ac_cs_version="\\
42308 wxWidgets config.status 2.5.3
42309 configured by $0, generated by GNU Autoconf 2.59,
42310 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42311
42312 Copyright (C) 2003 Free Software Foundation, Inc.
42313 This config.status script is free software; the Free Software Foundation
42314 gives unlimited permission to copy, distribute and modify it."
42315 srcdir=$srcdir
42316 INSTALL="$INSTALL"
42317 _ACEOF
42318
42319 cat >>$CONFIG_STATUS <<\_ACEOF
42320 # If no file are specified by the user, then we need to provide default
42321 # value. By we need to know if files were specified by the user.
42322 ac_need_defaults=:
42323 while test $# != 0
42324 do
42325 case $1 in
42326 --*=*)
42327 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42328 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42329 ac_shift=:
42330 ;;
42331 -*)
42332 ac_option=$1
42333 ac_optarg=$2
42334 ac_shift=shift
42335 ;;
42336 *) # This is not an option, so the user has probably given explicit
42337 # arguments.
42338 ac_option=$1
42339 ac_need_defaults=false;;
42340 esac
42341
42342 case $ac_option in
42343 # Handling of the options.
42344 _ACEOF
42345 cat >>$CONFIG_STATUS <<\_ACEOF
42346 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42347 ac_cs_recheck=: ;;
42348 --version | --vers* | -V )
42349 echo "$ac_cs_version"; exit 0 ;;
42350 --he | --h)
42351 # Conflict between --help and --header
42352 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42353 Try \`$0 --help' for more information." >&5
42354 echo "$as_me: error: ambiguous option: $1
42355 Try \`$0 --help' for more information." >&2;}
42356 { (exit 1); exit 1; }; };;
42357 --help | --hel | -h )
42358 echo "$ac_cs_usage"; exit 0 ;;
42359 --debug | --d* | -d )
42360 debug=: ;;
42361 --file | --fil | --fi | --f )
42362 $ac_shift
42363 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42364 ac_need_defaults=false;;
42365 --header | --heade | --head | --hea )
42366 $ac_shift
42367 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42368 ac_need_defaults=false;;
42369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42370 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42371 ac_cs_silent=: ;;
42372
42373 # This is an error.
42374 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42375 Try \`$0 --help' for more information." >&5
42376 echo "$as_me: error: unrecognized option: $1
42377 Try \`$0 --help' for more information." >&2;}
42378 { (exit 1); exit 1; }; } ;;
42379
42380 *) ac_config_targets="$ac_config_targets $1" ;;
42381
42382 esac
42383 shift
42384 done
42385
42386 ac_configure_extra_args=
42387
42388 if $ac_cs_silent; then
42389 exec 6>/dev/null
42390 ac_configure_extra_args="$ac_configure_extra_args --silent"
42391 fi
42392
42393 _ACEOF
42394 cat >>$CONFIG_STATUS <<_ACEOF
42395 if \$ac_cs_recheck; then
42396 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42397 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42398 fi
42399
42400 _ACEOF
42401
42402 cat >>$CONFIG_STATUS <<_ACEOF
42403 #
42404 # INIT-COMMANDS section.
42405 #
42406
42407 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42408 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42409 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42410 LN_S="${LN_S}"
42411
42412
42413 _ACEOF
42414
42415
42416
42417 cat >>$CONFIG_STATUS <<\_ACEOF
42418 for ac_config_target in $ac_config_targets
42419 do
42420 case "$ac_config_target" in
42421 # Handling of arguments.
42422 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42423 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42424 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42425 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42426 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42427 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42428 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42431 { (exit 1); exit 1; }; };;
42432 esac
42433 done
42434
42435 # If the user did not use the arguments to specify the items to instantiate,
42436 # then the envvar interface is used. Set only those that are not.
42437 # We use the long form for the default assignment because of an extremely
42438 # bizarre bug on SunOS 4.1.3.
42439 if $ac_need_defaults; then
42440 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42441 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42442 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42443 fi
42444
42445 # Have a temporary directory for convenience. Make it in the build tree
42446 # simply because there is no reason to put it here, and in addition,
42447 # creating and moving files from /tmp can sometimes cause problems.
42448 # Create a temporary directory, and hook for its removal unless debugging.
42449 $debug ||
42450 {
42451 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42452 trap '{ (exit 1); exit 1; }' 1 2 13 15
42453 }
42454
42455 # Create a (secure) tmp directory for tmp files.
42456
42457 {
42458 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42459 test -n "$tmp" && test -d "$tmp"
42460 } ||
42461 {
42462 tmp=./confstat$$-$RANDOM
42463 (umask 077 && mkdir $tmp)
42464 } ||
42465 {
42466 echo "$me: cannot create a temporary directory in ." >&2
42467 { (exit 1); exit 1; }
42468 }
42469
42470 _ACEOF
42471
42472 cat >>$CONFIG_STATUS <<_ACEOF
42473
42474 #
42475 # CONFIG_FILES section.
42476 #
42477
42478 # No need to generate the scripts if there are no CONFIG_FILES.
42479 # This happens for instance when ./config.status config.h
42480 if test -n "\$CONFIG_FILES"; then
42481 # Protect against being on the right side of a sed subst in config.status.
42482 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42483 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42484 s,@SHELL@,$SHELL,;t t
42485 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42486 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42487 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42488 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42489 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42490 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42491 s,@exec_prefix@,$exec_prefix,;t t
42492 s,@prefix@,$prefix,;t t
42493 s,@program_transform_name@,$program_transform_name,;t t
42494 s,@bindir@,$bindir,;t t
42495 s,@sbindir@,$sbindir,;t t
42496 s,@libexecdir@,$libexecdir,;t t
42497 s,@datadir@,$datadir,;t t
42498 s,@sysconfdir@,$sysconfdir,;t t
42499 s,@sharedstatedir@,$sharedstatedir,;t t
42500 s,@localstatedir@,$localstatedir,;t t
42501 s,@libdir@,$libdir,;t t
42502 s,@includedir@,$includedir,;t t
42503 s,@oldincludedir@,$oldincludedir,;t t
42504 s,@infodir@,$infodir,;t t
42505 s,@mandir@,$mandir,;t t
42506 s,@build_alias@,$build_alias,;t t
42507 s,@host_alias@,$host_alias,;t t
42508 s,@target_alias@,$target_alias,;t t
42509 s,@DEFS@,$DEFS,;t t
42510 s,@ECHO_C@,$ECHO_C,;t t
42511 s,@ECHO_N@,$ECHO_N,;t t
42512 s,@ECHO_T@,$ECHO_T,;t t
42513 s,@LIBS@,$LIBS,;t t
42514 s,@build@,$build,;t t
42515 s,@build_cpu@,$build_cpu,;t t
42516 s,@build_vendor@,$build_vendor,;t t
42517 s,@build_os@,$build_os,;t t
42518 s,@host@,$host,;t t
42519 s,@host_cpu@,$host_cpu,;t t
42520 s,@host_vendor@,$host_vendor,;t t
42521 s,@host_os@,$host_os,;t t
42522 s,@target@,$target,;t t
42523 s,@target_cpu@,$target_cpu,;t t
42524 s,@target_vendor@,$target_vendor,;t t
42525 s,@target_os@,$target_os,;t t
42526 s,@CC@,$CC,;t t
42527 s,@CFLAGS@,$CFLAGS,;t t
42528 s,@LDFLAGS@,$LDFLAGS,;t t
42529 s,@CPPFLAGS@,$CPPFLAGS,;t t
42530 s,@ac_ct_CC@,$ac_ct_CC,;t t
42531 s,@EXEEXT@,$EXEEXT,;t t
42532 s,@OBJEXT@,$OBJEXT,;t t
42533 s,@CPP@,$CPP,;t t
42534 s,@EGREP@,$EGREP,;t t
42535 s,@CXX@,$CXX,;t t
42536 s,@CXXFLAGS@,$CXXFLAGS,;t t
42537 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42538 s,@RANLIB@,$RANLIB,;t t
42539 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42540 s,@AR@,$AR,;t t
42541 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42542 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42543 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42544 s,@STRIP@,$STRIP,;t t
42545 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42546 s,@LN_S@,$LN_S,;t t
42547 s,@CXXCPP@,$CXXCPP,;t t
42548 s,@subdirs@,$subdirs,;t t
42549 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42550 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42551 s,@GTK_LIBS@,$GTK_LIBS,;t t
42552 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42553 s,@X_CFLAGS@,$X_CFLAGS,;t t
42554 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42555 s,@X_LIBS@,$X_LIBS,;t t
42556 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42557 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42558 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42559 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42560 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42561 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42562 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42563 s,@RESCOMP@,$RESCOMP,;t t
42564 s,@DEREZ@,$DEREZ,;t t
42565 s,@SETFILE@,$SETFILE,;t t
42566 s,@LIBICONV@,$LIBICONV,;t t
42567 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42568 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42569 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42570 s,@SDL_LIBS@,$SDL_LIBS,;t t
42571 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42572 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42573 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42574 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42575 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42576 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42577 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42578 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42579 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42580 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42581 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42582 s,@VENDOR@,$VENDOR,;t t
42583 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42584 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42585 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42586 s,@WXUNIV@,$WXUNIV,;t t
42587 s,@MONOLITHIC@,$MONOLITHIC,;t t
42588 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42589 s,@EXTRALIBS@,$EXTRALIBS,;t t
42590 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42591 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42592 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42593 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42594 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42595 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42596 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42597 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42598 s,@UNICODE@,$UNICODE,;t t
42599 s,@BUILD@,$BUILD,;t t
42600 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42601 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42602 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42603 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42604 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42605 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42606 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42607 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42608 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42609 s,@SET_MAKE@,$SET_MAKE,;t t
42610 s,@MAKE_SET@,$MAKE_SET,;t t
42611 s,@ac_ct_AR@,$ac_ct_AR,;t t
42612 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42613 s,@NM@,$NM,;t t
42614 s,@ac_ct_NM@,$ac_ct_NM,;t t
42615 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42616 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42617 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42618 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42619 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42620 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42621 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42622 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42623 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42624 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42625 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42626 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42627 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42628 s,@LIBPREFIX@,$LIBPREFIX,;t t
42629 s,@LIBEXT@,$LIBEXT,;t t
42630 s,@DLLPREFIX@,$DLLPREFIX,;t t
42631 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42632 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42633 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42634 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42635 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42636 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42637 s,@PIC_FLAG@,$PIC_FLAG,;t t
42638 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42639 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42640 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42641 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42642 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42643 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42644 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42645 s,@GCC_PCH@,$GCC_PCH,;t t
42646 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42647 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42648 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42649 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42650 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42651 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42652 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42653 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42654 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42655 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42656 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42657 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42658 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42659 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42660 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42661 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42662 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42663 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42664 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
42665 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42666 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42667 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42668 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42669 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42670 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
42671 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42672 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42673 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42674 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42675 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42676 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42677 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42678 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42679 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42680 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42681 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42682 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42683 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42684 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42685 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42686 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42687 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
42688 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42689 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42690 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42691 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42692 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42693 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42694 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42695 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42696 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42697 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42698 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42699 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42700 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42701 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42702 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42703 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42704 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42705 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42706 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42707 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42708 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42709 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42710 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42711 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42712 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42713 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42714 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42715 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42716 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42717 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42718 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42719 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42720 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42721 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42722 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42723 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42724 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42725 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42726 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42727 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42728 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42729 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42730 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42731 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42732 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42733 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42734 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42735 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42736 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42737 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42738 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42739 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42740 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42741 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42742 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42743 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42744 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42745 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42746 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42747 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42748 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42749 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42750 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42751 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42752 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42753 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42754 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42755 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42756 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42757 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42758 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42759 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42760 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42761 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42762 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42763 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42764 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42765 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42766 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42767 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42768 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
42769 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
42770 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42771 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42772 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42773 s,@SHARED@,$SHARED,;t t
42774 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42775 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42776 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42777 s,@USE_GUI@,$USE_GUI,;t t
42778 s,@AFMINSTALL@,$AFMINSTALL,;t t
42779 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42780 s,@TOOLKIT@,$TOOLKIT,;t t
42781 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42782 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42783 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42784 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42785 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42786 s,@cross_compiling@,$cross_compiling,;t t
42787 s,@WIDGET_SET@,$WIDGET_SET,;t t
42788 s,@WX_RELEASE@,$WX_RELEASE,;t t
42789 s,@WX_VERSION@,$WX_VERSION,;t t
42790 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42791 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42792 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42793 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42794 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42795 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42796 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42797 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42798 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42799 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42800 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42801 s,@EXE_LINKER@,$EXE_LINKER,;t t
42802 s,@GUIDIST@,$GUIDIST,;t t
42803 s,@DISTDIR@,$DISTDIR,;t t
42804 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42805 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42806 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42807 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42808 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42809 s,@RESFLAGS@,$RESFLAGS,;t t
42810 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42811 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42812 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42813 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42814 s,@MACRESCOMP@,$MACRESCOMP,;t t
42815 s,@MACSETFILE@,$MACSETFILE,;t t
42816 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42817 s,@GCC@,$GCC,;t t
42818 s,@DLLTOOL@,$DLLTOOL,;t t
42819 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42820 s,@LIBOBJS@,$LIBOBJS,;t t
42821 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42822 CEOF
42823
42824 _ACEOF
42825
42826 cat >>$CONFIG_STATUS <<\_ACEOF
42827 # Split the substitutions into bite-sized pieces for seds with
42828 # small command number limits, like on Digital OSF/1 and HP-UX.
42829 ac_max_sed_lines=48
42830 ac_sed_frag=1 # Number of current file.
42831 ac_beg=1 # First line for current file.
42832 ac_end=$ac_max_sed_lines # Line after last line for current file.
42833 ac_more_lines=:
42834 ac_sed_cmds=
42835 while $ac_more_lines; do
42836 if test $ac_beg -gt 1; then
42837 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42838 else
42839 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42840 fi
42841 if test ! -s $tmp/subs.frag; then
42842 ac_more_lines=false
42843 else
42844 # The purpose of the label and of the branching condition is to
42845 # speed up the sed processing (if there are no `@' at all, there
42846 # is no need to browse any of the substitutions).
42847 # These are the two extra sed commands mentioned above.
42848 (echo ':t
42849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42850 if test -z "$ac_sed_cmds"; then
42851 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42852 else
42853 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42854 fi
42855 ac_sed_frag=`expr $ac_sed_frag + 1`
42856 ac_beg=$ac_end
42857 ac_end=`expr $ac_end + $ac_max_sed_lines`
42858 fi
42859 done
42860 if test -z "$ac_sed_cmds"; then
42861 ac_sed_cmds=cat
42862 fi
42863 fi # test -n "$CONFIG_FILES"
42864
42865 _ACEOF
42866 cat >>$CONFIG_STATUS <<\_ACEOF
42867 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42868 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42869 case $ac_file in
42870 - | *:- | *:-:* ) # input from stdin
42871 cat >$tmp/stdin
42872 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42873 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42874 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42875 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42876 * ) ac_file_in=$ac_file.in ;;
42877 esac
42878
42879 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42880 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42881 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42882 X"$ac_file" : 'X\(//\)[^/]' \| \
42883 X"$ac_file" : 'X\(//\)$' \| \
42884 X"$ac_file" : 'X\(/\)' \| \
42885 . : '\(.\)' 2>/dev/null ||
42886 echo X"$ac_file" |
42887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42889 /^X\(\/\/\)$/{ s//\1/; q; }
42890 /^X\(\/\).*/{ s//\1/; q; }
42891 s/.*/./; q'`
42892 { if $as_mkdir_p; then
42893 mkdir -p "$ac_dir"
42894 else
42895 as_dir="$ac_dir"
42896 as_dirs=
42897 while test ! -d "$as_dir"; do
42898 as_dirs="$as_dir $as_dirs"
42899 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42901 X"$as_dir" : 'X\(//\)[^/]' \| \
42902 X"$as_dir" : 'X\(//\)$' \| \
42903 X"$as_dir" : 'X\(/\)' \| \
42904 . : '\(.\)' 2>/dev/null ||
42905 echo X"$as_dir" |
42906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42907 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42908 /^X\(\/\/\)$/{ s//\1/; q; }
42909 /^X\(\/\).*/{ s//\1/; q; }
42910 s/.*/./; q'`
42911 done
42912 test ! -n "$as_dirs" || mkdir $as_dirs
42913 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42914 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42915 { (exit 1); exit 1; }; }; }
42916
42917 ac_builddir=.
42918
42919 if test "$ac_dir" != .; then
42920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42921 # A "../" for each directory in $ac_dir_suffix.
42922 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42923 else
42924 ac_dir_suffix= ac_top_builddir=
42925 fi
42926
42927 case $srcdir in
42928 .) # No --srcdir option. We are building in place.
42929 ac_srcdir=.
42930 if test -z "$ac_top_builddir"; then
42931 ac_top_srcdir=.
42932 else
42933 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42934 fi ;;
42935 [\\/]* | ?:[\\/]* ) # Absolute path.
42936 ac_srcdir=$srcdir$ac_dir_suffix;
42937 ac_top_srcdir=$srcdir ;;
42938 *) # Relative path.
42939 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42940 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42941 esac
42942
42943 # Do not use `cd foo && pwd` to compute absolute paths, because
42944 # the directories may not exist.
42945 case `pwd` in
42946 .) ac_abs_builddir="$ac_dir";;
42947 *)
42948 case "$ac_dir" in
42949 .) ac_abs_builddir=`pwd`;;
42950 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42951 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42952 esac;;
42953 esac
42954 case $ac_abs_builddir in
42955 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42956 *)
42957 case ${ac_top_builddir}. in
42958 .) ac_abs_top_builddir=$ac_abs_builddir;;
42959 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42960 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42961 esac;;
42962 esac
42963 case $ac_abs_builddir in
42964 .) ac_abs_srcdir=$ac_srcdir;;
42965 *)
42966 case $ac_srcdir in
42967 .) ac_abs_srcdir=$ac_abs_builddir;;
42968 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42969 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42970 esac;;
42971 esac
42972 case $ac_abs_builddir in
42973 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42974 *)
42975 case $ac_top_srcdir in
42976 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42977 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42978 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42979 esac;;
42980 esac
42981
42982
42983 case $INSTALL in
42984 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42985 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42986 esac
42987
42988 # Let's still pretend it is `configure' which instantiates (i.e., don't
42989 # use $as_me), people would be surprised to read:
42990 # /* config.h. Generated by config.status. */
42991 if test x"$ac_file" = x-; then
42992 configure_input=
42993 else
42994 configure_input="$ac_file. "
42995 fi
42996 configure_input=$configure_input"Generated from `echo $ac_file_in |
42997 sed 's,.*/,,'` by configure."
42998
42999 # First look for the input files in the build tree, otherwise in the
43000 # src tree.
43001 ac_file_inputs=`IFS=:
43002 for f in $ac_file_in; do
43003 case $f in
43004 -) echo $tmp/stdin ;;
43005 [\\/$]*)
43006 # Absolute (can't be DOS-style, as IFS=:)
43007 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43008 echo "$as_me: error: cannot find input file: $f" >&2;}
43009 { (exit 1); exit 1; }; }
43010 echo "$f";;
43011 *) # Relative
43012 if test -f "$f"; then
43013 # Build tree
43014 echo "$f"
43015 elif test -f "$srcdir/$f"; then
43016 # Source tree
43017 echo "$srcdir/$f"
43018 else
43019 # /dev/null tree
43020 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43021 echo "$as_me: error: cannot find input file: $f" >&2;}
43022 { (exit 1); exit 1; }; }
43023 fi;;
43024 esac
43025 done` || { (exit 1); exit 1; }
43026
43027 if test x"$ac_file" != x-; then
43028 { echo "$as_me:$LINENO: creating $ac_file" >&5
43029 echo "$as_me: creating $ac_file" >&6;}
43030 rm -f "$ac_file"
43031 fi
43032 _ACEOF
43033 cat >>$CONFIG_STATUS <<_ACEOF
43034 sed "$ac_vpsub
43035 $extrasub
43036 _ACEOF
43037 cat >>$CONFIG_STATUS <<\_ACEOF
43038 :t
43039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43040 s,@configure_input@,$configure_input,;t t
43041 s,@srcdir@,$ac_srcdir,;t t
43042 s,@abs_srcdir@,$ac_abs_srcdir,;t t
43043 s,@top_srcdir@,$ac_top_srcdir,;t t
43044 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43045 s,@builddir@,$ac_builddir,;t t
43046 s,@abs_builddir@,$ac_abs_builddir,;t t
43047 s,@top_builddir@,$ac_top_builddir,;t t
43048 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43049 s,@INSTALL@,$ac_INSTALL,;t t
43050 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43051 rm -f $tmp/stdin
43052 if test x"$ac_file" != x-; then
43053 mv $tmp/out $ac_file
43054 else
43055 cat $tmp/out
43056 rm -f $tmp/out
43057 fi
43058
43059 # Run the commands associated with the file.
43060 case $ac_file in
43061 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43062 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43063 esac
43064 done
43065 _ACEOF
43066 cat >>$CONFIG_STATUS <<\_ACEOF
43067
43068 #
43069 # CONFIG_HEADER section.
43070 #
43071
43072 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43073 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43074 #
43075 # ac_d sets the value in "#define NAME VALUE" lines.
43076 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43077 ac_dB='[ ].*$,\1#\2'
43078 ac_dC=' '
43079 ac_dD=',;t'
43080 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43081 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43082 ac_uB='$,\1#\2define\3'
43083 ac_uC=' '
43084 ac_uD=',;t'
43085
43086 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43087 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43088 case $ac_file in
43089 - | *:- | *:-:* ) # input from stdin
43090 cat >$tmp/stdin
43091 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43092 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43093 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43094 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43095 * ) ac_file_in=$ac_file.in ;;
43096 esac
43097
43098 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43099 echo "$as_me: creating $ac_file" >&6;}
43100
43101 # First look for the input files in the build tree, otherwise in the
43102 # src tree.
43103 ac_file_inputs=`IFS=:
43104 for f in $ac_file_in; do
43105 case $f in
43106 -) echo $tmp/stdin ;;
43107 [\\/$]*)
43108 # Absolute (can't be DOS-style, as IFS=:)
43109 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43110 echo "$as_me: error: cannot find input file: $f" >&2;}
43111 { (exit 1); exit 1; }; }
43112 # Do quote $f, to prevent DOS paths from being IFS'd.
43113 echo "$f";;
43114 *) # Relative
43115 if test -f "$f"; then
43116 # Build tree
43117 echo "$f"
43118 elif test -f "$srcdir/$f"; then
43119 # Source tree
43120 echo "$srcdir/$f"
43121 else
43122 # /dev/null tree
43123 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43124 echo "$as_me: error: cannot find input file: $f" >&2;}
43125 { (exit 1); exit 1; }; }
43126 fi;;
43127 esac
43128 done` || { (exit 1); exit 1; }
43129 # Remove the trailing spaces.
43130 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43131
43132 _ACEOF
43133
43134 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43135 # `conftest.undefs', that substitutes the proper values into
43136 # config.h.in to produce config.h. The first handles `#define'
43137 # templates, and the second `#undef' templates.
43138 # And first: Protect against being on the right side of a sed subst in
43139 # config.status. Protect against being in an unquoted here document
43140 # in config.status.
43141 rm -f conftest.defines conftest.undefs
43142 # Using a here document instead of a string reduces the quoting nightmare.
43143 # Putting comments in sed scripts is not portable.
43144 #
43145 # `end' is used to avoid that the second main sed command (meant for
43146 # 0-ary CPP macros) applies to n-ary macro definitions.
43147 # See the Autoconf documentation for `clear'.
43148 cat >confdef2sed.sed <<\_ACEOF
43149 s/[\\&,]/\\&/g
43150 s,[\\$`],\\&,g
43151 t clear
43152 : clear
43153 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43154 t end
43155 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43156 : end
43157 _ACEOF
43158 # If some macros were called several times there might be several times
43159 # the same #defines, which is useless. Nevertheless, we may not want to
43160 # sort them, since we want the *last* AC-DEFINE to be honored.
43161 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43162 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43163 rm -f confdef2sed.sed
43164
43165 # This sed command replaces #undef with comments. This is necessary, for
43166 # example, in the case of _POSIX_SOURCE, which is predefined and required
43167 # on some systems where configure will not decide to define it.
43168 cat >>conftest.undefs <<\_ACEOF
43169 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43170 _ACEOF
43171
43172 # Break up conftest.defines because some shells have a limit on the size
43173 # of here documents, and old seds have small limits too (100 cmds).
43174 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43175 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43176 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43177 echo ' :' >>$CONFIG_STATUS
43178 rm -f conftest.tail
43179 while grep . conftest.defines >/dev/null
43180 do
43181 # Write a limited-size here document to $tmp/defines.sed.
43182 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43183 # Speed up: don't consider the non `#define' lines.
43184 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43185 # Work around the forget-to-reset-the-flag bug.
43186 echo 't clr' >>$CONFIG_STATUS
43187 echo ': clr' >>$CONFIG_STATUS
43188 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43189 echo 'CEOF
43190 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43191 rm -f $tmp/in
43192 mv $tmp/out $tmp/in
43193 ' >>$CONFIG_STATUS
43194 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43195 rm -f conftest.defines
43196 mv conftest.tail conftest.defines
43197 done
43198 rm -f conftest.defines
43199 echo ' fi # grep' >>$CONFIG_STATUS
43200 echo >>$CONFIG_STATUS
43201
43202 # Break up conftest.undefs because some shells have a limit on the size
43203 # of here documents, and old seds have small limits too (100 cmds).
43204 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43205 rm -f conftest.tail
43206 while grep . conftest.undefs >/dev/null
43207 do
43208 # Write a limited-size here document to $tmp/undefs.sed.
43209 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43210 # Speed up: don't consider the non `#undef'
43211 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43212 # Work around the forget-to-reset-the-flag bug.
43213 echo 't clr' >>$CONFIG_STATUS
43214 echo ': clr' >>$CONFIG_STATUS
43215 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43216 echo 'CEOF
43217 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43218 rm -f $tmp/in
43219 mv $tmp/out $tmp/in
43220 ' >>$CONFIG_STATUS
43221 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43222 rm -f conftest.undefs
43223 mv conftest.tail conftest.undefs
43224 done
43225 rm -f conftest.undefs
43226
43227 cat >>$CONFIG_STATUS <<\_ACEOF
43228 # Let's still pretend it is `configure' which instantiates (i.e., don't
43229 # use $as_me), people would be surprised to read:
43230 # /* config.h. Generated by config.status. */
43231 if test x"$ac_file" = x-; then
43232 echo "/* Generated by configure. */" >$tmp/config.h
43233 else
43234 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43235 fi
43236 cat $tmp/in >>$tmp/config.h
43237 rm -f $tmp/in
43238 if test x"$ac_file" != x-; then
43239 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43240 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43241 echo "$as_me: $ac_file is unchanged" >&6;}
43242 else
43243 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43245 X"$ac_file" : 'X\(//\)[^/]' \| \
43246 X"$ac_file" : 'X\(//\)$' \| \
43247 X"$ac_file" : 'X\(/\)' \| \
43248 . : '\(.\)' 2>/dev/null ||
43249 echo X"$ac_file" |
43250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43252 /^X\(\/\/\)$/{ s//\1/; q; }
43253 /^X\(\/\).*/{ s//\1/; q; }
43254 s/.*/./; q'`
43255 { if $as_mkdir_p; then
43256 mkdir -p "$ac_dir"
43257 else
43258 as_dir="$ac_dir"
43259 as_dirs=
43260 while test ! -d "$as_dir"; do
43261 as_dirs="$as_dir $as_dirs"
43262 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43264 X"$as_dir" : 'X\(//\)[^/]' \| \
43265 X"$as_dir" : 'X\(//\)$' \| \
43266 X"$as_dir" : 'X\(/\)' \| \
43267 . : '\(.\)' 2>/dev/null ||
43268 echo X"$as_dir" |
43269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43271 /^X\(\/\/\)$/{ s//\1/; q; }
43272 /^X\(\/\).*/{ s//\1/; q; }
43273 s/.*/./; q'`
43274 done
43275 test ! -n "$as_dirs" || mkdir $as_dirs
43276 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43277 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43278 { (exit 1); exit 1; }; }; }
43279
43280 rm -f $ac_file
43281 mv $tmp/config.h $ac_file
43282 fi
43283 else
43284 cat $tmp/config.h
43285 rm -f $tmp/config.h
43286 fi
43287 done
43288 _ACEOF
43289 cat >>$CONFIG_STATUS <<\_ACEOF
43290
43291 #
43292 # CONFIG_COMMANDS section.
43293 #
43294 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43295 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43296 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43297 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43298 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43299 X"$ac_dest" : 'X\(//\)[^/]' \| \
43300 X"$ac_dest" : 'X\(//\)$' \| \
43301 X"$ac_dest" : 'X\(/\)' \| \
43302 . : '\(.\)' 2>/dev/null ||
43303 echo X"$ac_dest" |
43304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43306 /^X\(\/\/\)$/{ s//\1/; q; }
43307 /^X\(\/\).*/{ s//\1/; q; }
43308 s/.*/./; q'`
43309 { if $as_mkdir_p; then
43310 mkdir -p "$ac_dir"
43311 else
43312 as_dir="$ac_dir"
43313 as_dirs=
43314 while test ! -d "$as_dir"; do
43315 as_dirs="$as_dir $as_dirs"
43316 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43318 X"$as_dir" : 'X\(//\)[^/]' \| \
43319 X"$as_dir" : 'X\(//\)$' \| \
43320 X"$as_dir" : 'X\(/\)' \| \
43321 . : '\(.\)' 2>/dev/null ||
43322 echo X"$as_dir" |
43323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43325 /^X\(\/\/\)$/{ s//\1/; q; }
43326 /^X\(\/\).*/{ s//\1/; q; }
43327 s/.*/./; q'`
43328 done
43329 test ! -n "$as_dirs" || mkdir $as_dirs
43330 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43331 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43332 { (exit 1); exit 1; }; }; }
43333
43334 ac_builddir=.
43335
43336 if test "$ac_dir" != .; then
43337 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43338 # A "../" for each directory in $ac_dir_suffix.
43339 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43340 else
43341 ac_dir_suffix= ac_top_builddir=
43342 fi
43343
43344 case $srcdir in
43345 .) # No --srcdir option. We are building in place.
43346 ac_srcdir=.
43347 if test -z "$ac_top_builddir"; then
43348 ac_top_srcdir=.
43349 else
43350 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43351 fi ;;
43352 [\\/]* | ?:[\\/]* ) # Absolute path.
43353 ac_srcdir=$srcdir$ac_dir_suffix;
43354 ac_top_srcdir=$srcdir ;;
43355 *) # Relative path.
43356 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43357 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43358 esac
43359
43360 # Do not use `cd foo && pwd` to compute absolute paths, because
43361 # the directories may not exist.
43362 case `pwd` in
43363 .) ac_abs_builddir="$ac_dir";;
43364 *)
43365 case "$ac_dir" in
43366 .) ac_abs_builddir=`pwd`;;
43367 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43368 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43369 esac;;
43370 esac
43371 case $ac_abs_builddir in
43372 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43373 *)
43374 case ${ac_top_builddir}. in
43375 .) ac_abs_top_builddir=$ac_abs_builddir;;
43376 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43377 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43378 esac;;
43379 esac
43380 case $ac_abs_builddir in
43381 .) ac_abs_srcdir=$ac_srcdir;;
43382 *)
43383 case $ac_srcdir in
43384 .) ac_abs_srcdir=$ac_abs_builddir;;
43385 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43386 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43387 esac;;
43388 esac
43389 case $ac_abs_builddir in
43390 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43391 *)
43392 case $ac_top_srcdir in
43393 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43394 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43395 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43396 esac;;
43397 esac
43398
43399
43400 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43401 echo "$as_me: executing $ac_dest commands" >&6;}
43402 case $ac_dest in
43403 wx-config ) rm -f wx-config
43404 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43405 ;;
43406 esac
43407 done
43408 _ACEOF
43409
43410 cat >>$CONFIG_STATUS <<\_ACEOF
43411
43412 { (exit 0); exit 0; }
43413 _ACEOF
43414 chmod +x $CONFIG_STATUS
43415 ac_clean_files=$ac_clean_files_save
43416
43417
43418 # configure is writing to config.log, and then calls config.status.
43419 # config.status does its own redirection, appending to config.log.
43420 # Unfortunately, on DOS this fails, as config.log is still kept open
43421 # by configure, so config.status won't be able to write to it; its
43422 # output is simply discarded. So we exec the FD to /dev/null,
43423 # effectively closing config.log, so it can be properly (re)opened and
43424 # appended to by config.status. When coming back to configure, we
43425 # need to make the FD available again.
43426 if test "$no_create" != yes; then
43427 ac_cs_success=:
43428 ac_config_status_args=
43429 test "$silent" = yes &&
43430 ac_config_status_args="$ac_config_status_args --quiet"
43431 exec 5>/dev/null
43432 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43433 exec 5>>config.log
43434 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43435 # would make configure fail if this is the last instruction.
43436 $ac_cs_success || { (exit 1); exit 1; }
43437 fi
43438
43439 #
43440 # CONFIG_SUBDIRS section.
43441 #
43442 if test "$no_recursion" != yes; then
43443
43444 # Remove --cache-file and --srcdir arguments so they do not pile up.
43445 ac_sub_configure_args=
43446 ac_prev=
43447 for ac_arg in $ac_configure_args; do
43448 if test -n "$ac_prev"; then
43449 ac_prev=
43450 continue
43451 fi
43452 case $ac_arg in
43453 -cache-file | --cache-file | --cache-fil | --cache-fi \
43454 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43455 ac_prev=cache_file ;;
43456 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43457 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43458 | --c=*)
43459 ;;
43460 --config-cache | -C)
43461 ;;
43462 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43463 ac_prev=srcdir ;;
43464 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43465 ;;
43466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43467 ac_prev=prefix ;;
43468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43469 ;;
43470 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43471 esac
43472 done
43473
43474 # Always prepend --prefix to ensure using the same prefix
43475 # in subdir configurations.
43476 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43477
43478 ac_popdir=`pwd`
43479 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43480
43481 # Do not complain, so a configure script can configure whichever
43482 # parts of a large source tree are present.
43483 test -d $srcdir/$ac_dir || continue
43484
43485 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43486 echo "$as_me: configuring in $ac_dir" >&6;}
43487 { if $as_mkdir_p; then
43488 mkdir -p "$ac_dir"
43489 else
43490 as_dir="$ac_dir"
43491 as_dirs=
43492 while test ! -d "$as_dir"; do
43493 as_dirs="$as_dir $as_dirs"
43494 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43496 X"$as_dir" : 'X\(//\)[^/]' \| \
43497 X"$as_dir" : 'X\(//\)$' \| \
43498 X"$as_dir" : 'X\(/\)' \| \
43499 . : '\(.\)' 2>/dev/null ||
43500 echo X"$as_dir" |
43501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43503 /^X\(\/\/\)$/{ s//\1/; q; }
43504 /^X\(\/\).*/{ s//\1/; q; }
43505 s/.*/./; q'`
43506 done
43507 test ! -n "$as_dirs" || mkdir $as_dirs
43508 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43509 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43510 { (exit 1); exit 1; }; }; }
43511
43512 ac_builddir=.
43513
43514 if test "$ac_dir" != .; then
43515 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43516 # A "../" for each directory in $ac_dir_suffix.
43517 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43518 else
43519 ac_dir_suffix= ac_top_builddir=
43520 fi
43521
43522 case $srcdir in
43523 .) # No --srcdir option. We are building in place.
43524 ac_srcdir=.
43525 if test -z "$ac_top_builddir"; then
43526 ac_top_srcdir=.
43527 else
43528 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43529 fi ;;
43530 [\\/]* | ?:[\\/]* ) # Absolute path.
43531 ac_srcdir=$srcdir$ac_dir_suffix;
43532 ac_top_srcdir=$srcdir ;;
43533 *) # Relative path.
43534 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43535 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43536 esac
43537
43538 # Do not use `cd foo && pwd` to compute absolute paths, because
43539 # the directories may not exist.
43540 case `pwd` in
43541 .) ac_abs_builddir="$ac_dir";;
43542 *)
43543 case "$ac_dir" in
43544 .) ac_abs_builddir=`pwd`;;
43545 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43546 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43547 esac;;
43548 esac
43549 case $ac_abs_builddir in
43550 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43551 *)
43552 case ${ac_top_builddir}. in
43553 .) ac_abs_top_builddir=$ac_abs_builddir;;
43554 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43555 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43556 esac;;
43557 esac
43558 case $ac_abs_builddir in
43559 .) ac_abs_srcdir=$ac_srcdir;;
43560 *)
43561 case $ac_srcdir in
43562 .) ac_abs_srcdir=$ac_abs_builddir;;
43563 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43564 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43565 esac;;
43566 esac
43567 case $ac_abs_builddir in
43568 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43569 *)
43570 case $ac_top_srcdir in
43571 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43572 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43573 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43574 esac;;
43575 esac
43576
43577
43578 cd $ac_dir
43579
43580 # Check for guested configure; otherwise get Cygnus style configure.
43581 if test -f $ac_srcdir/configure.gnu; then
43582 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43583 elif test -f $ac_srcdir/configure; then
43584 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43585 elif test -f $ac_srcdir/configure.in; then
43586 ac_sub_configure=$ac_configure
43587 else
43588 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43589 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43590 ac_sub_configure=
43591 fi
43592
43593 # The recursion is here.
43594 if test -n "$ac_sub_configure"; then
43595 # Make the cache file name correct relative to the subdirectory.
43596 case $cache_file in
43597 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43598 *) # Relative path.
43599 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43600 esac
43601
43602 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43603 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43604 # The eval makes quoting arguments work.
43605 eval $ac_sub_configure $ac_sub_configure_args \
43606 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43607 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43608 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43609 { (exit 1); exit 1; }; }
43610 fi
43611
43612 cd "$ac_popdir"
43613 done
43614 fi
43615
43616
43617 echo
43618 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43619 echo ""
43620 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43621 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43622
43623 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43624 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43625 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43626
43627 echo " What level of wxWidgets compatibility should be enabled?"
43628 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43629 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43630
43631 echo " Which libraries should wxWidgets use?"
43632 echo " jpeg ${wxUSE_LIBJPEG-none}"
43633 echo " png ${wxUSE_LIBPNG-none}"
43634 echo " regex ${wxUSE_REGEX}"
43635 echo " tiff ${wxUSE_LIBTIFF-none}"
43636 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43637 echo " xpm ${wxUSE_LIBXPM-none}"
43638 fi
43639 echo " zlib ${wxUSE_ZLIB}"
43640 echo " odbc ${wxUSE_ODBC}"
43641 echo " expat ${wxUSE_EXPAT}"
43642 echo " libmspack ${wxUSE_LIBMSPACK}"
43643 echo " sdl ${wxUSE_LIBSDL}"
43644 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"
43645
43646 echo ""
43647