]> git.saurik.com Git - wxWidgets.git/blob - configure
fix unsigned/signed warnings
[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_MACOSX PLATFORM_OS2 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_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_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 audio 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=2
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=4
1668 WX_REVISION=0
1669 WX_AGE=1
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
1993 *-*-beos* )
1994 USE_BEOS=1
1995 cat >>confdefs.h <<\_ACEOF
1996 #define __BEOS__ 1
1997 _ACEOF
1998
1999 ;;
2000
2001 *)
2002 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2003 echo "$as_me: error: unknown system type ${host}." >&2;}
2004 { (exit 1); exit 1; }; }
2005 esac
2006
2007
2008
2009
2010 wx_arg_cache_file="configarg.cache"
2011 echo "loading argument cache $wx_arg_cache_file"
2012 rm -f ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}.tmp
2014 touch ${wx_arg_cache_file}
2015
2016
2017 DEBUG_CONFIGURE=0
2018 if test $DEBUG_CONFIGURE = 1; then
2019 DEFAULT_wxUSE_UNIVERSAL=no
2020 DEFAULT_wxUSE_STL=no
2021
2022 DEFAULT_wxUSE_NANOX=no
2023
2024 DEFAULT_wxUSE_THREADS=yes
2025
2026 DEFAULT_wxUSE_SHARED=yes
2027 DEFAULT_wxUSE_OPTIMISE=no
2028 DEFAULT_wxUSE_PROFILE=no
2029 DEFAULT_wxUSE_NO_DEPS=no
2030 DEFAULT_wxUSE_NO_RTTI=no
2031 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2032 DEFAULT_wxUSE_RPATH=yes
2033 DEFAULT_wxUSE_PERMISSIVE=no
2034 DEFAULT_wxUSE_DEBUG_FLAG=yes
2035 DEFAULT_wxUSE_DEBUG_INFO=yes
2036 DEFAULT_wxUSE_DEBUG_GDB=yes
2037 DEFAULT_wxUSE_MEM_TRACING=no
2038 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2039 DEFAULT_wxUSE_DMALLOC=no
2040 DEFAULT_wxUSE_APPLE_IEEE=no
2041
2042 DEFAULT_wxUSE_EXCEPTIONS=no
2043 DEFAULT_wxUSE_LOG=yes
2044 DEFAULT_wxUSE_LOGWINDOW=no
2045 DEFAULT_wxUSE_LOGGUI=no
2046 DEFAULT_wxUSE_LOGDIALOG=no
2047
2048 DEFAULT_wxUSE_GUI=yes
2049 DEFAULT_wxUSE_CONTROLS=no
2050
2051 DEFAULT_wxUSE_REGEX=no
2052 DEFAULT_wxUSE_XML=no
2053 DEFAULT_wxUSE_EXPAT=no
2054 DEFAULT_wxUSE_ZLIB=no
2055 DEFAULT_wxUSE_LIBPNG=no
2056 DEFAULT_wxUSE_LIBJPEG=no
2057 DEFAULT_wxUSE_LIBTIFF=no
2058 DEFAULT_wxUSE_LIBXPM=no
2059 DEFAULT_wxUSE_LIBMSPACK=no
2060 DEFAULT_wxUSE_LIBSDL=no
2061 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2062 DEFAULT_wxUSE_ODBC=no
2063 DEFAULT_wxUSE_OPENGL=no
2064
2065 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2066 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2067 DEFAULT_wxUSE_STD_IOSTREAM=no
2068 DEFAULT_wxUSE_CMDLINE_PARSER=no
2069 DEFAULT_wxUSE_DATETIME=no
2070 DEFAULT_wxUSE_TIMER=no
2071 DEFAULT_wxUSE_STOPWATCH=no
2072 DEFAULT_wxUSE_FILE=no
2073 DEFAULT_wxUSE_FFILE=no
2074 DEFAULT_wxUSE_TEXTBUFFER=no
2075 DEFAULT_wxUSE_TEXTFILE=no
2076 DEFAULT_wxUSE_SOUND=no
2077 DEFAULT_wxUSE_MEDIACTRL=no
2078 DEFAULT_wxUSE_DIRECTSHOW=no
2079 DEFAULT_wxUSE_INTL=no
2080 DEFAULT_wxUSE_CONFIG=no
2081 DEFAULT_wxUSE_FONTMAP=no
2082 DEFAULT_wxUSE_STREAMS=no
2083 DEFAULT_wxUSE_SOCKETS=no
2084 DEFAULT_wxUSE_OLE=no
2085 DEFAULT_wxUSE_DATAOBJ=no
2086 DEFAULT_wxUSE_DIALUP_MANAGER=no
2087 DEFAULT_wxUSE_JOYSTICK=no
2088 DEFAULT_wxUSE_DYNLIB_CLASS=no
2089 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2090 DEFAULT_wxUSE_LONGLONG=no
2091 DEFAULT_wxUSE_GEOMETRY=no
2092
2093 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2094 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2095 DEFAULT_wxUSE_POSTSCRIPT=no
2096
2097 DEFAULT_wxUSE_CLIPBOARD=no
2098 DEFAULT_wxUSE_TOOLTIPS=no
2099 DEFAULT_wxUSE_DRAG_AND_DROP=no
2100 DEFAULT_wxUSE_DRAGIMAGE=no
2101 DEFAULT_wxUSE_SPLINES=no
2102
2103 DEFAULT_wxUSE_MDI=no
2104 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2105 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2106 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2107
2108 DEFAULT_wxUSE_RESOURCES=no
2109 DEFAULT_wxUSE_CONSTRAINTS=no
2110 DEFAULT_wxUSE_IPC=no
2111 DEFAULT_wxUSE_HELP=no
2112 DEFAULT_wxUSE_MS_HTML_HELP=no
2113 DEFAULT_wxUSE_WXHTML_HELP=no
2114 DEFAULT_wxUSE_TREELAYOUT=no
2115 DEFAULT_wxUSE_METAFILE=no
2116 DEFAULT_wxUSE_MIMETYPE=no
2117 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2118 DEFAULT_wxUSE_PROTOCOL=no
2119 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2120 DEFAULT_wxUSE_PROTOCOL_FTP=no
2121 DEFAULT_wxUSE_PROTOCOL_FILE=no
2122 DEFAULT_wxUSE_URL=no
2123
2124 DEFAULT_wxUSE_COMMONDLGS=no
2125 DEFAULT_wxUSE_CHOICEDLG=no
2126 DEFAULT_wxUSE_COLOURDLG=no
2127 DEFAULT_wxUSE_DIRDLG=no
2128 DEFAULT_wxUSE_FILEDLG=no
2129 DEFAULT_wxUSE_FINDREPLDLG=no
2130 DEFAULT_wxUSE_FONTDLG=no
2131 DEFAULT_wxUSE_MSGDLG=no
2132 DEFAULT_wxUSE_NUMBERDLG=no
2133 DEFAULT_wxUSE_TEXTDLG=no
2134 DEFAULT_wxUSE_SPLASH=no
2135 DEFAULT_wxUSE_STARTUP_TIPS=no
2136 DEFAULT_wxUSE_PROGRESSDLG=no
2137 DEFAULT_wxUSE_WIZARDDLG=no
2138
2139 DEFAULT_wxUSE_MENUS=no
2140 DEFAULT_wxUSE_MINIFRAME=no
2141 DEFAULT_wxUSE_HTML=no
2142 DEFAULT_wxUSE_XRC=no
2143 DEFAULT_wxUSE_WEBKIT=no
2144 DEFAULT_wxUSE_FILESYSTEM=no
2145 DEFAULT_wxUSE_FS_INET=no
2146 DEFAULT_wxUSE_FS_ZIP=no
2147 DEFAULT_wxUSE_BUSYINFO=no
2148 DEFAULT_wxUSE_ZIPSTREAM=no
2149 DEFAULT_wxUSE_VALIDATORS=no
2150
2151 DEFAULT_wxUSE_ACCEL=no
2152 DEFAULT_wxUSE_BUTTON=no
2153 DEFAULT_wxUSE_BMPBUTTON=no
2154 DEFAULT_wxUSE_CALCTRL=no
2155 DEFAULT_wxUSE_CARET=no
2156 DEFAULT_wxUSE_CHECKBOX=no
2157 DEFAULT_wxUSE_CHECKLST=no
2158 DEFAULT_wxUSE_CHOICE=no
2159 DEFAULT_wxUSE_CHOICEBOOK=no
2160 DEFAULT_wxUSE_COMBOBOX=no
2161 DEFAULT_wxUSE_DISPLAY=no
2162 DEFAULT_wxUSE_GAUGE=no
2163 DEFAULT_wxUSE_GRID=no
2164 DEFAULT_wxUSE_IMAGLIST=no
2165 DEFAULT_wxUSE_LISTBOOK=no
2166 DEFAULT_wxUSE_LISTBOX=no
2167 DEFAULT_wxUSE_LISTCTRL=no
2168 DEFAULT_wxUSE_NOTEBOOK=no
2169 DEFAULT_wxUSE_RADIOBOX=no
2170 DEFAULT_wxUSE_RADIOBTN=no
2171 DEFAULT_wxUSE_SASH=no
2172 DEFAULT_wxUSE_SCROLLBAR=no
2173 DEFAULT_wxUSE_SLIDER=no
2174 DEFAULT_wxUSE_SPINBTN=no
2175 DEFAULT_wxUSE_SPINCTRL=no
2176 DEFAULT_wxUSE_SPLITTER=no
2177 DEFAULT_wxUSE_STATBMP=no
2178 DEFAULT_wxUSE_STATBOX=no
2179 DEFAULT_wxUSE_STATLINE=no
2180 DEFAULT_wxUSE_STATTEXT=no
2181 DEFAULT_wxUSE_STATUSBAR=yes
2182 DEFAULT_wxUSE_TABDIALOG=no
2183 DEFAULT_wxUSE_TEXTCTRL=no
2184 DEFAULT_wxUSE_TOGGLEBTN=no
2185 DEFAULT_wxUSE_TOOLBAR=no
2186 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2187 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2188 DEFAULT_wxUSE_TREECTRL=no
2189 DEFAULT_wxUSE_POPUPWIN=no
2190 DEFAULT_wxUSE_TIPWINDOW=no
2191
2192 DEFAULT_wxUSE_UNICODE=no
2193 DEFAULT_wxUSE_UNICODE_MSLU=no
2194 DEFAULT_wxUSE_WCSRTOMBS=no
2195
2196 DEFAULT_wxUSE_PALETTE=no
2197 DEFAULT_wxUSE_IMAGE=no
2198 DEFAULT_wxUSE_GIF=no
2199 DEFAULT_wxUSE_PCX=no
2200 DEFAULT_wxUSE_PNM=no
2201 DEFAULT_wxUSE_IFF=no
2202 DEFAULT_wxUSE_XPM=no
2203 DEFAULT_wxUSE_ICO_CUR=no
2204 DEFAULT_wxUSE_ACCESSIBILITY=no
2205
2206 DEFAULT_wxUSE_MONOLITHIC=no
2207 DEFAULT_wxUSE_PLUGINS=no
2208 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2209 else
2210 DEFAULT_wxUSE_UNIVERSAL=no
2211 DEFAULT_wxUSE_STL=no
2212
2213 DEFAULT_wxUSE_NANOX=no
2214
2215 DEFAULT_wxUSE_THREADS=yes
2216
2217 DEFAULT_wxUSE_SHARED=yes
2218 DEFAULT_wxUSE_OPTIMISE=yes
2219 DEFAULT_wxUSE_PROFILE=no
2220 DEFAULT_wxUSE_NO_DEPS=no
2221 DEFAULT_wxUSE_NO_RTTI=no
2222 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2223 DEFAULT_wxUSE_RPATH=yes
2224 DEFAULT_wxUSE_PERMISSIVE=no
2225 DEFAULT_wxUSE_DEBUG_FLAG=no
2226 DEFAULT_wxUSE_DEBUG_INFO=no
2227 DEFAULT_wxUSE_DEBUG_GDB=no
2228 DEFAULT_wxUSE_MEM_TRACING=no
2229 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2230 DEFAULT_wxUSE_DMALLOC=no
2231 DEFAULT_wxUSE_APPLE_IEEE=yes
2232
2233 DEFAULT_wxUSE_EXCEPTIONS=yes
2234 DEFAULT_wxUSE_LOG=yes
2235 DEFAULT_wxUSE_LOGWINDOW=yes
2236 DEFAULT_wxUSE_LOGGUI=yes
2237 DEFAULT_wxUSE_LOGDIALOG=yes
2238
2239 DEFAULT_wxUSE_GUI=yes
2240
2241 DEFAULT_wxUSE_REGEX=yes
2242 DEFAULT_wxUSE_XML=yes
2243 DEFAULT_wxUSE_EXPAT=yes
2244 DEFAULT_wxUSE_ZLIB=yes
2245 DEFAULT_wxUSE_LIBPNG=yes
2246 DEFAULT_wxUSE_LIBJPEG=yes
2247 DEFAULT_wxUSE_LIBTIFF=yes
2248 DEFAULT_wxUSE_LIBXPM=yes
2249 DEFAULT_wxUSE_LIBMSPACK=yes
2250 DEFAULT_wxUSE_LIBSDL=no
2251 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2252 DEFAULT_wxUSE_ODBC=no
2253 DEFAULT_wxUSE_OPENGL=no
2254
2255 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2256 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2257 DEFAULT_wxUSE_STD_IOSTREAM=no
2258 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2259 DEFAULT_wxUSE_DATETIME=yes
2260 DEFAULT_wxUSE_TIMER=yes
2261 DEFAULT_wxUSE_STOPWATCH=yes
2262 DEFAULT_wxUSE_FILE=yes
2263 DEFAULT_wxUSE_FFILE=yes
2264 DEFAULT_wxUSE_TEXTBUFFER=yes
2265 DEFAULT_wxUSE_TEXTFILE=yes
2266 DEFAULT_wxUSE_SOUND=yes
2267 DEFAULT_wxUSE_MEDIACTRL=no
2268 DEFAULT_wxUSE_DIRECTSHOW=no
2269 DEFAULT_wxUSE_INTL=yes
2270 DEFAULT_wxUSE_CONFIG=yes
2271 DEFAULT_wxUSE_FONTMAP=yes
2272 DEFAULT_wxUSE_STREAMS=yes
2273 DEFAULT_wxUSE_SOCKETS=yes
2274 DEFAULT_wxUSE_OLE=yes
2275 DEFAULT_wxUSE_DATAOBJ=yes
2276 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2277 DEFAULT_wxUSE_JOYSTICK=yes
2278 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2279 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2280 DEFAULT_wxUSE_LONGLONG=yes
2281 DEFAULT_wxUSE_GEOMETRY=yes
2282
2283 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2284 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2285 DEFAULT_wxUSE_POSTSCRIPT=yes
2286
2287 DEFAULT_wxUSE_CLIPBOARD=yes
2288 DEFAULT_wxUSE_TOOLTIPS=yes
2289 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2290 DEFAULT_wxUSE_DRAGIMAGE=yes
2291 DEFAULT_wxUSE_SPLINES=yes
2292
2293 DEFAULT_wxUSE_MDI=yes
2294 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2295 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2296 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2297
2298 DEFAULT_wxUSE_RESOURCES=no
2299 DEFAULT_wxUSE_CONSTRAINTS=yes
2300 DEFAULT_wxUSE_IPC=yes
2301 DEFAULT_wxUSE_HELP=yes
2302 DEFAULT_wxUSE_MS_HTML_HELP=yes
2303 DEFAULT_wxUSE_WXHTML_HELP=yes
2304 DEFAULT_wxUSE_TREELAYOUT=yes
2305 DEFAULT_wxUSE_METAFILE=yes
2306 DEFAULT_wxUSE_MIMETYPE=yes
2307 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2308 DEFAULT_wxUSE_PROTOCOL=yes
2309 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2310 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2311 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2312 DEFAULT_wxUSE_URL=yes
2313
2314 DEFAULT_wxUSE_COMMONDLGS=yes
2315 DEFAULT_wxUSE_CHOICEDLG=yes
2316 DEFAULT_wxUSE_COLOURDLG=yes
2317 DEFAULT_wxUSE_DIRDLG=yes
2318 DEFAULT_wxUSE_FILEDLG=yes
2319 DEFAULT_wxUSE_FINDREPLDLG=yes
2320 DEFAULT_wxUSE_FONTDLG=yes
2321 DEFAULT_wxUSE_MSGDLG=yes
2322 DEFAULT_wxUSE_NUMBERDLG=yes
2323 DEFAULT_wxUSE_TEXTDLG=yes
2324 DEFAULT_wxUSE_SPLASH=yes
2325 DEFAULT_wxUSE_STARTUP_TIPS=yes
2326 DEFAULT_wxUSE_PROGRESSDLG=yes
2327 DEFAULT_wxUSE_WIZARDDLG=yes
2328
2329 DEFAULT_wxUSE_MENUS=yes
2330 DEFAULT_wxUSE_MINIFRAME=yes
2331 DEFAULT_wxUSE_HTML=yes
2332 DEFAULT_wxUSE_XRC=yes
2333 DEFAULT_wxUSE_WEBKIT=yes
2334 DEFAULT_wxUSE_FILESYSTEM=yes
2335 DEFAULT_wxUSE_FS_INET=yes
2336 DEFAULT_wxUSE_FS_ZIP=yes
2337 DEFAULT_wxUSE_BUSYINFO=yes
2338 DEFAULT_wxUSE_ZIPSTREAM=yes
2339 DEFAULT_wxUSE_VALIDATORS=yes
2340
2341 DEFAULT_wxUSE_ACCEL=yes
2342 DEFAULT_wxUSE_BUTTON=yes
2343 DEFAULT_wxUSE_BMPBUTTON=yes
2344 DEFAULT_wxUSE_CALCTRL=yes
2345 DEFAULT_wxUSE_CARET=yes
2346 DEFAULT_wxUSE_CHECKBOX=yes
2347 DEFAULT_wxUSE_CHECKLST=yes
2348 DEFAULT_wxUSE_CHOICE=yes
2349 DEFAULT_wxUSE_CHOICEBOOK=yes
2350 DEFAULT_wxUSE_COMBOBOX=yes
2351 DEFAULT_wxUSE_DISPLAY=yes
2352 DEFAULT_wxUSE_GAUGE=yes
2353 DEFAULT_wxUSE_GRID=yes
2354 DEFAULT_wxUSE_IMAGLIST=yes
2355 DEFAULT_wxUSE_LISTBOOK=yes
2356 DEFAULT_wxUSE_LISTBOX=yes
2357 DEFAULT_wxUSE_LISTCTRL=yes
2358 DEFAULT_wxUSE_NOTEBOOK=yes
2359 DEFAULT_wxUSE_RADIOBOX=yes
2360 DEFAULT_wxUSE_RADIOBTN=yes
2361 DEFAULT_wxUSE_SASH=yes
2362 DEFAULT_wxUSE_SCROLLBAR=yes
2363 DEFAULT_wxUSE_SLIDER=yes
2364 DEFAULT_wxUSE_SPINBTN=yes
2365 DEFAULT_wxUSE_SPINCTRL=yes
2366 DEFAULT_wxUSE_SPLITTER=yes
2367 DEFAULT_wxUSE_STATBMP=yes
2368 DEFAULT_wxUSE_STATBOX=yes
2369 DEFAULT_wxUSE_STATLINE=yes
2370 DEFAULT_wxUSE_STATTEXT=yes
2371 DEFAULT_wxUSE_STATUSBAR=yes
2372 DEFAULT_wxUSE_TABDIALOG=no
2373 DEFAULT_wxUSE_TEXTCTRL=yes
2374 DEFAULT_wxUSE_TOGGLEBTN=yes
2375 DEFAULT_wxUSE_TOOLBAR=yes
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2377 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2378 DEFAULT_wxUSE_TREECTRL=yes
2379 DEFAULT_wxUSE_POPUPWIN=yes
2380 DEFAULT_wxUSE_TIPWINDOW=yes
2381
2382 DEFAULT_wxUSE_UNICODE=no
2383 DEFAULT_wxUSE_UNICODE_MSLU=yes
2384 DEFAULT_wxUSE_WCSRTOMBS=no
2385
2386 DEFAULT_wxUSE_PALETTE=yes
2387 DEFAULT_wxUSE_IMAGE=yes
2388 DEFAULT_wxUSE_GIF=yes
2389 DEFAULT_wxUSE_PCX=yes
2390 DEFAULT_wxUSE_IFF=no
2391 DEFAULT_wxUSE_PNM=yes
2392 DEFAULT_wxUSE_XPM=yes
2393 DEFAULT_wxUSE_ICO_CUR=yes
2394 DEFAULT_wxUSE_ACCESSIBILITY=no
2395
2396 DEFAULT_wxUSE_MONOLITHIC=no
2397 DEFAULT_wxUSE_PLUGINS=no
2398 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2399
2400 DEFAULT_wxUSE_GTK2=yes
2401 fi
2402
2403
2404
2405 for toolkit in `echo $ALL_TOOLKITS`; do
2406 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2407 if test "x$LINE" != "x" ; then
2408 has_toolkit_in_cache=1
2409 eval "DEFAULT_$LINE"
2410 eval "CACHE_$toolkit=1"
2411 fi
2412 done
2413
2414
2415
2416 enablestring=
2417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2418 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2419 no_cache=0
2420 # Check whether --enable-gui or --disable-gui was given.
2421 if test "${enable_gui+set}" = set; then
2422 enableval="$enable_gui"
2423
2424 if test "$enableval" = yes; then
2425 ac_cv_use_gui='wxUSE_GUI=yes'
2426 else
2427 ac_cv_use_gui='wxUSE_GUI=no'
2428 fi
2429
2430 else
2431
2432 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2435 else
2436 no_cache=1
2437 fi
2438
2439 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2440
2441 fi;
2442
2443 eval "$ac_cv_use_gui"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2446 fi
2447
2448 if test "$wxUSE_GUI" = yes; then
2449 echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6
2451 else
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2454 fi
2455
2456
2457 enablestring=
2458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2459 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2460 no_cache=0
2461 # Check whether --enable-monolithic or --disable-monolithic was given.
2462 if test "${enable_monolithic+set}" = set; then
2463 enableval="$enable_monolithic"
2464
2465 if test "$enableval" = yes; then
2466 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2467 else
2468 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2469 fi
2470
2471 else
2472
2473 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x ; then
2475 eval "DEFAULT_$LINE"
2476 else
2477 no_cache=1
2478 fi
2479
2480 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2481
2482 fi;
2483
2484 eval "$ac_cv_use_monolithic"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2487 fi
2488
2489 if test "$wxUSE_MONOLITHIC" = yes; then
2490 echo "$as_me:$LINENO: result: yes" >&5
2491 echo "${ECHO_T}yes" >&6
2492 else
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2495 fi
2496
2497
2498 enablestring=
2499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2500 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2501 no_cache=0
2502 # Check whether --enable-plugins or --disable-plugins was given.
2503 if test "${enable_plugins+set}" = set; then
2504 enableval="$enable_plugins"
2505
2506 if test "$enableval" = yes; then
2507 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2508 else
2509 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2510 fi
2511
2512 else
2513
2514 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x ; then
2516 eval "DEFAULT_$LINE"
2517 else
2518 no_cache=1
2519 fi
2520
2521 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2522
2523 fi;
2524
2525 eval "$ac_cv_use_plugins"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2528 fi
2529
2530 if test "$wxUSE_PLUGINS" = yes; then
2531 echo "$as_me:$LINENO: result: yes" >&5
2532 echo "${ECHO_T}yes" >&6
2533 else
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2536 fi
2537
2538
2539 if test "$wxUSE_GUI" = "yes"; then
2540
2541
2542 enablestring=
2543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2544 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2545 no_cache=0
2546 # Check whether --enable-universal or --disable-universal was given.
2547 if test "${enable_universal+set}" = set; then
2548 enableval="$enable_universal"
2549
2550 if test "$enableval" = yes; then
2551 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2552 else
2553 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2554 fi
2555
2556 else
2557
2558 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x ; then
2560 eval "DEFAULT_$LINE"
2561 else
2562 no_cache=1
2563 fi
2564
2565 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2566
2567 fi;
2568
2569 eval "$ac_cv_use_universal"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2572 fi
2573
2574 if test "$wxUSE_UNIVERSAL" = yes; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2577 else
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2580 fi
2581
2582
2583 # Check whether --with-gtk or --without-gtk was given.
2584 if test "${with_gtk+set}" = set; then
2585 withval="$with_gtk"
2586 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2587 fi;
2588
2589 # Check whether --with-motif or --without-motif was given.
2590 if test "${with_motif+set}" = set; then
2591 withval="$with_motif"
2592 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2593 fi;
2594
2595 # Check whether --with-mac or --without-mac was given.
2596 if test "${with_mac+set}" = set; then
2597 withval="$with_mac"
2598 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2599 fi;
2600
2601 # Check whether --with-cocoa or --without-cocoa was given.
2602 if test "${with_cocoa+set}" = set; then
2603 withval="$with_cocoa"
2604 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2605 fi;
2606
2607 # Check whether --with-wine or --without-wine was given.
2608 if test "${with_wine+set}" = set; then
2609 withval="$with_wine"
2610 wxUSE_WINE="$withval" CACHE_WINE=1
2611 fi;
2612
2613 # Check whether --with-msw or --without-msw was given.
2614 if test "${with_msw+set}" = set; then
2615 withval="$with_msw"
2616 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2617 fi;
2618
2619 # Check whether --with-pm or --without-pm was given.
2620 if test "${with_pm+set}" = set; then
2621 withval="$with_pm"
2622 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2623 fi;
2624
2625 # Check whether --with-mgl or --without-mgl was given.
2626 if test "${with_mgl+set}" = set; then
2627 withval="$with_mgl"
2628 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2629 fi;
2630
2631 # Check whether --with-microwin or --without-microwin was given.
2632 if test "${with_microwin+set}" = set; then
2633 withval="$with_microwin"
2634 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2635 fi;
2636
2637 # Check whether --with-x11 or --without-x11 was given.
2638 if test "${with_x11+set}" = set; then
2639 withval="$with_x11"
2640 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2641 fi;
2642
2643 enablestring=
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2645 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2646 no_cache=0
2647 # Check whether --enable-nanox or --disable-nanox was given.
2648 if test "${enable_nanox+set}" = set; then
2649 enableval="$enable_nanox"
2650
2651 if test "$enableval" = yes; then
2652 ac_cv_use_nanox='wxUSE_NANOX=yes'
2653 else
2654 ac_cv_use_nanox='wxUSE_NANOX=no'
2655 fi
2656
2657 else
2658
2659 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x ; then
2661 eval "DEFAULT_$LINE"
2662 else
2663 no_cache=1
2664 fi
2665
2666 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2667
2668 fi;
2669
2670 eval "$ac_cv_use_nanox"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2673 fi
2674
2675 if test "$wxUSE_NANOX" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2678 else
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2681 fi
2682
2683
2684
2685 enablestring=
2686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2687 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2688 no_cache=0
2689 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2690 if test "${enable_gtk2+set}" = set; then
2691 enableval="$enable_gtk2"
2692
2693 if test "$enableval" = yes; then
2694 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2695 else
2696 ac_cv_use_gtk2='wxUSE_GTK2=no'
2697 fi
2698
2699 else
2700
2701 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2702 if test "x$LINE" != x ; then
2703 eval "DEFAULT_$LINE"
2704 else
2705 no_cache=1
2706 fi
2707
2708 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2709
2710 fi;
2711
2712 eval "$ac_cv_use_gtk2"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2715 fi
2716
2717 if test "$wxUSE_GTK2" = yes; then
2718 echo "$as_me:$LINENO: result: yes" >&5
2719 echo "${ECHO_T}yes" >&6
2720 else
2721 echo "$as_me:$LINENO: result: no" >&5
2722 echo "${ECHO_T}no" >&6
2723 fi
2724
2725
2726 enablestring=
2727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2728 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2729 no_cache=0
2730 # Check whether --enable-gpe or --disable-gpe was given.
2731 if test "${enable_gpe+set}" = set; then
2732 enableval="$enable_gpe"
2733
2734 if test "$enableval" = yes; then
2735 ac_cv_use_gpe='wxUSE_GPE=yes'
2736 else
2737 ac_cv_use_gpe='wxUSE_GPE=no'
2738 fi
2739
2740 else
2741
2742 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2743 if test "x$LINE" != x ; then
2744 eval "DEFAULT_$LINE"
2745 else
2746 no_cache=1
2747 fi
2748
2749 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2750
2751 fi;
2752
2753 eval "$ac_cv_use_gpe"
2754 if test "$no_cache" != 1; then
2755 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2756 fi
2757
2758 if test "$wxUSE_GPE" = yes; then
2759 echo "$as_me:$LINENO: result: yes" >&5
2760 echo "${ECHO_T}yes" >&6
2761 else
2762 echo "$as_me:$LINENO: result: no" >&5
2763 echo "${ECHO_T}no" >&6
2764 fi
2765
2766
2767
2768 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2769 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2770 no_cache=0
2771
2772 # Check whether --with-libpng or --without-libpng was given.
2773 if test "${with_libpng+set}" = set; then
2774 withval="$with_libpng"
2775
2776 if test "$withval" = yes; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2778 elif test "$withval" = no; then
2779 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2780 elif test "$withval" = sys; then
2781 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2782 elif test "$withval" = builtin; then
2783 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2784 else
2785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2786 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2787 { (exit 1); exit 1; }; }
2788 fi
2789
2790 else
2791
2792 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2793 if test "x$LINE" != x ; then
2794 eval "DEFAULT_$LINE"
2795 else
2796 no_cache=1
2797 fi
2798
2799 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2800
2801 fi;
2802
2803 eval "$ac_cv_use_libpng"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2806 fi
2807
2808 if test "$wxUSE_LIBPNG" = yes; then
2809 echo "$as_me:$LINENO: result: yes" >&5
2810 echo "${ECHO_T}yes" >&6
2811 elif test "$wxUSE_LIBPNG" = no; then
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2814 elif test "$wxUSE_LIBPNG" = sys; then
2815 echo "$as_me:$LINENO: result: system version" >&5
2816 echo "${ECHO_T}system version" >&6
2817 elif test "$wxUSE_LIBPNG" = builtin; then
2818 echo "$as_me:$LINENO: result: builtin version" >&5
2819 echo "${ECHO_T}builtin version" >&6
2820 else
2821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2822 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2823 { (exit 1); exit 1; }; }
2824 fi
2825
2826
2827 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2828 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2829 no_cache=0
2830
2831 # Check whether --with-libjpeg or --without-libjpeg was given.
2832 if test "${with_libjpeg+set}" = set; then
2833 withval="$with_libjpeg"
2834
2835 if test "$withval" = yes; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2837 elif test "$withval" = no; then
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2839 elif test "$withval" = sys; then
2840 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2841 elif test "$withval" = builtin; then
2842 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2843 else
2844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2845 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2846 { (exit 1); exit 1; }; }
2847 fi
2848
2849 else
2850
2851 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2852 if test "x$LINE" != x ; then
2853 eval "DEFAULT_$LINE"
2854 else
2855 no_cache=1
2856 fi
2857
2858 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2859
2860 fi;
2861
2862 eval "$ac_cv_use_libjpeg"
2863 if test "$no_cache" != 1; then
2864 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2865 fi
2866
2867 if test "$wxUSE_LIBJPEG" = yes; then
2868 echo "$as_me:$LINENO: result: yes" >&5
2869 echo "${ECHO_T}yes" >&6
2870 elif test "$wxUSE_LIBJPEG" = no; then
2871 echo "$as_me:$LINENO: result: no" >&5
2872 echo "${ECHO_T}no" >&6
2873 elif test "$wxUSE_LIBJPEG" = sys; then
2874 echo "$as_me:$LINENO: result: system version" >&5
2875 echo "${ECHO_T}system version" >&6
2876 elif test "$wxUSE_LIBJPEG" = builtin; then
2877 echo "$as_me:$LINENO: result: builtin version" >&5
2878 echo "${ECHO_T}builtin version" >&6
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885
2886 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2887 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2888 no_cache=0
2889
2890 # Check whether --with-libtiff or --without-libtiff was given.
2891 if test "${with_libtiff+set}" = set; then
2892 withval="$with_libtiff"
2893
2894 if test "$withval" = yes; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2896 elif test "$withval" = no; then
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2898 elif test "$withval" = sys; then
2899 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2900 elif test "$withval" = builtin; then
2901 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2902 else
2903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2904 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2905 { (exit 1); exit 1; }; }
2906 fi
2907
2908 else
2909
2910 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2913 else
2914 no_cache=1
2915 fi
2916
2917 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2918
2919 fi;
2920
2921 eval "$ac_cv_use_libtiff"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2924 fi
2925
2926 if test "$wxUSE_LIBTIFF" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2929 elif test "$wxUSE_LIBTIFF" = no; then
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2932 elif test "$wxUSE_LIBTIFF" = sys; then
2933 echo "$as_me:$LINENO: result: system version" >&5
2934 echo "${ECHO_T}system version" >&6
2935 elif test "$wxUSE_LIBTIFF" = builtin; then
2936 echo "$as_me:$LINENO: result: builtin version" >&5
2937 echo "${ECHO_T}builtin version" >&6
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944
2945 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2946 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2947 no_cache=0
2948
2949 # Check whether --with-libxpm or --without-libxpm was given.
2950 if test "${with_libxpm+set}" = set; then
2951 withval="$with_libxpm"
2952
2953 if test "$withval" = yes; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2955 elif test "$withval" = no; then
2956 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2957 elif test "$withval" = sys; then
2958 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2959 elif test "$withval" = builtin; then
2960 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2961 else
2962 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2963 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2964 { (exit 1); exit 1; }; }
2965 fi
2966
2967 else
2968
2969 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2970 if test "x$LINE" != x ; then
2971 eval "DEFAULT_$LINE"
2972 else
2973 no_cache=1
2974 fi
2975
2976 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2977
2978 fi;
2979
2980 eval "$ac_cv_use_libxpm"
2981 if test "$no_cache" != 1; then
2982 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2983 fi
2984
2985 if test "$wxUSE_LIBXPM" = yes; then
2986 echo "$as_me:$LINENO: result: yes" >&5
2987 echo "${ECHO_T}yes" >&6
2988 elif test "$wxUSE_LIBXPM" = no; then
2989 echo "$as_me:$LINENO: result: no" >&5
2990 echo "${ECHO_T}no" >&6
2991 elif test "$wxUSE_LIBXPM" = sys; then
2992 echo "$as_me:$LINENO: result: system version" >&5
2993 echo "${ECHO_T}system version" >&6
2994 elif test "$wxUSE_LIBXPM" = builtin; then
2995 echo "$as_me:$LINENO: result: builtin version" >&5
2996 echo "${ECHO_T}builtin version" >&6
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003
3004 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3005 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3006 no_cache=0
3007
3008 # Check whether --with-libmspack or --without-libmspack was given.
3009 if test "${with_libmspack+set}" = set; then
3010 withval="$with_libmspack"
3011
3012 if test "$withval" = yes; then
3013 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3014 else
3015 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3016 fi
3017
3018 else
3019
3020 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x ; then
3022 eval "DEFAULT_$LINE"
3023 else
3024 no_cache=1
3025 fi
3026
3027 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3028
3029 fi;
3030
3031 eval "$ac_cv_use_libmspack"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3034 fi
3035
3036 if test "$wxUSE_LIBMSPACK" = yes; then
3037 echo "$as_me:$LINENO: result: yes" >&5
3038 echo "${ECHO_T}yes" >&6
3039 else
3040 echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3042 fi
3043
3044
3045 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3046 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3047 no_cache=0
3048
3049 # Check whether --with-sdl or --without-sdl was given.
3050 if test "${with_sdl+set}" = set; then
3051 withval="$with_sdl"
3052
3053 if test "$withval" = yes; then
3054 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3055 else
3056 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3057 fi
3058
3059 else
3060
3061 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x ; then
3063 eval "DEFAULT_$LINE"
3064 else
3065 no_cache=1
3066 fi
3067
3068 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3069
3070 fi;
3071
3072 eval "$ac_cv_use_sdl"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3075 fi
3076
3077 if test "$wxUSE_LIBSDL" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079 echo "${ECHO_T}yes" >&6
3080 else
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 fi
3084
3085
3086 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3087 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3088 no_cache=0
3089
3090 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3091 if test "${with_gnomeprint+set}" = set; then
3092 withval="$with_gnomeprint"
3093
3094 if test "$withval" = yes; then
3095 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3096 else
3097 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3098 fi
3099
3100 else
3101
3102 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3103 if test "x$LINE" != x ; then
3104 eval "DEFAULT_$LINE"
3105 else
3106 no_cache=1
3107 fi
3108
3109 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3110
3111 fi;
3112
3113 eval "$ac_cv_use_gnomeprint"
3114 if test "$no_cache" != 1; then
3115 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3116 fi
3117
3118 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3119 echo "$as_me:$LINENO: result: yes" >&5
3120 echo "${ECHO_T}yes" >&6
3121 else
3122 echo "$as_me:$LINENO: result: no" >&5
3123 echo "${ECHO_T}no" >&6
3124 fi
3125
3126
3127 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3128 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3129 no_cache=0
3130
3131 # Check whether --with-opengl or --without-opengl was given.
3132 if test "${with_opengl+set}" = set; then
3133 withval="$with_opengl"
3134
3135 if test "$withval" = yes; then
3136 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3137 else
3138 ac_cv_use_opengl='wxUSE_OPENGL=no'
3139 fi
3140
3141 else
3142
3143 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x ; then
3145 eval "DEFAULT_$LINE"
3146 else
3147 no_cache=1
3148 fi
3149
3150 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3151
3152 fi;
3153
3154 eval "$ac_cv_use_opengl"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3157 fi
3158
3159 if test "$wxUSE_OPENGL" = yes; then
3160 echo "$as_me:$LINENO: result: yes" >&5
3161 echo "${ECHO_T}yes" >&6
3162 else
3163 echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6
3165 fi
3166
3167
3168 fi
3169
3170
3171 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3172 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3173 no_cache=0
3174
3175 # Check whether --with-dmalloc or --without-dmalloc was given.
3176 if test "${with_dmalloc+set}" = set; then
3177 withval="$with_dmalloc"
3178
3179 if test "$withval" = yes; then
3180 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3181 else
3182 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3183 fi
3184
3185 else
3186
3187 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x ; then
3189 eval "DEFAULT_$LINE"
3190 else
3191 no_cache=1
3192 fi
3193
3194 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3195
3196 fi;
3197
3198 eval "$ac_cv_use_dmalloc"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3201 fi
3202
3203 if test "$wxUSE_DMALLOC" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 else
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3209 fi
3210
3211
3212 echo "$as_me:$LINENO: checking for --with-regex" >&5
3213 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3214 no_cache=0
3215
3216 # Check whether --with-regex or --without-regex was given.
3217 if test "${with_regex+set}" = set; then
3218 withval="$with_regex"
3219
3220 if test "$withval" = yes; then
3221 ac_cv_use_regex='wxUSE_REGEX=yes'
3222 elif test "$withval" = no; then
3223 ac_cv_use_regex='wxUSE_REGEX=no'
3224 elif test "$withval" = sys; then
3225 ac_cv_use_regex='wxUSE_REGEX=sys'
3226 elif test "$withval" = builtin; then
3227 ac_cv_use_regex='wxUSE_REGEX=builtin'
3228 else
3229 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3230 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3231 { (exit 1); exit 1; }; }
3232 fi
3233
3234 else
3235
3236 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x ; then
3238 eval "DEFAULT_$LINE"
3239 else
3240 no_cache=1
3241 fi
3242
3243 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3244
3245 fi;
3246
3247 eval "$ac_cv_use_regex"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3250 fi
3251
3252 if test "$wxUSE_REGEX" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254 echo "${ECHO_T}yes" >&6
3255 elif test "$wxUSE_REGEX" = no; then
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3258 elif test "$wxUSE_REGEX" = sys; then
3259 echo "$as_me:$LINENO: result: system version" >&5
3260 echo "${ECHO_T}system version" >&6
3261 elif test "$wxUSE_REGEX" = builtin; then
3262 echo "$as_me:$LINENO: result: builtin version" >&5
3263 echo "${ECHO_T}builtin version" >&6
3264 else
3265 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3266 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3267 { (exit 1); exit 1; }; }
3268 fi
3269
3270
3271 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3272 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3273 no_cache=0
3274
3275 # Check whether --with-zlib or --without-zlib was given.
3276 if test "${with_zlib+set}" = set; then
3277 withval="$with_zlib"
3278
3279 if test "$withval" = yes; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3281 elif test "$withval" = no; then
3282 ac_cv_use_zlib='wxUSE_ZLIB=no'
3283 elif test "$withval" = sys; then
3284 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3285 elif test "$withval" = builtin; then
3286 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3287 else
3288 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3289 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3290 { (exit 1); exit 1; }; }
3291 fi
3292
3293 else
3294
3295 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3296 if test "x$LINE" != x ; then
3297 eval "DEFAULT_$LINE"
3298 else
3299 no_cache=1
3300 fi
3301
3302 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3303
3304 fi;
3305
3306 eval "$ac_cv_use_zlib"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3309 fi
3310
3311 if test "$wxUSE_ZLIB" = yes; then
3312 echo "$as_me:$LINENO: result: yes" >&5
3313 echo "${ECHO_T}yes" >&6
3314 elif test "$wxUSE_ZLIB" = no; then
3315 echo "$as_me:$LINENO: result: no" >&5
3316 echo "${ECHO_T}no" >&6
3317 elif test "$wxUSE_ZLIB" = sys; then
3318 echo "$as_me:$LINENO: result: system version" >&5
3319 echo "${ECHO_T}system version" >&6
3320 elif test "$wxUSE_ZLIB" = builtin; then
3321 echo "$as_me:$LINENO: result: builtin version" >&5
3322 echo "${ECHO_T}builtin version" >&6
3323 else
3324 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3325 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3326 { (exit 1); exit 1; }; }
3327 fi
3328
3329
3330 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3331 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3332 no_cache=0
3333
3334 # Check whether --with-odbc or --without-odbc was given.
3335 if test "${with_odbc+set}" = set; then
3336 withval="$with_odbc"
3337
3338 if test "$withval" = yes; then
3339 ac_cv_use_odbc='wxUSE_ODBC=yes'
3340 elif test "$withval" = no; then
3341 ac_cv_use_odbc='wxUSE_ODBC=no'
3342 elif test "$withval" = sys; then
3343 ac_cv_use_odbc='wxUSE_ODBC=sys'
3344 elif test "$withval" = builtin; then
3345 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3346 else
3347 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3348 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3349 { (exit 1); exit 1; }; }
3350 fi
3351
3352 else
3353
3354 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 else
3358 no_cache=1
3359 fi
3360
3361 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3362
3363 fi;
3364
3365 eval "$ac_cv_use_odbc"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3368 fi
3369
3370 if test "$wxUSE_ODBC" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3373 elif test "$wxUSE_ODBC" = no; then
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3376 elif test "$wxUSE_ODBC" = sys; then
3377 echo "$as_me:$LINENO: result: system version" >&5
3378 echo "${ECHO_T}system version" >&6
3379 elif test "$wxUSE_ODBC" = builtin; then
3380 echo "$as_me:$LINENO: result: builtin version" >&5
3381 echo "${ECHO_T}builtin version" >&6
3382 else
3383 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3384 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3385 { (exit 1); exit 1; }; }
3386 fi
3387
3388
3389 echo "$as_me:$LINENO: checking for --with-expat" >&5
3390 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3391 no_cache=0
3392
3393 # Check whether --with-expat or --without-expat was given.
3394 if test "${with_expat+set}" = set; then
3395 withval="$with_expat"
3396
3397 if test "$withval" = yes; then
3398 ac_cv_use_expat='wxUSE_EXPAT=yes'
3399 elif test "$withval" = no; then
3400 ac_cv_use_expat='wxUSE_EXPAT=no'
3401 elif test "$withval" = sys; then
3402 ac_cv_use_expat='wxUSE_EXPAT=sys'
3403 elif test "$withval" = builtin; then
3404 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3405 else
3406 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3407 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3408 { (exit 1); exit 1; }; }
3409 fi
3410
3411 else
3412
3413 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x ; then
3415 eval "DEFAULT_$LINE"
3416 else
3417 no_cache=1
3418 fi
3419
3420 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3421
3422 fi;
3423
3424 eval "$ac_cv_use_expat"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3427 fi
3428
3429 if test "$wxUSE_EXPAT" = yes; then
3430 echo "$as_me:$LINENO: result: yes" >&5
3431 echo "${ECHO_T}yes" >&6
3432 elif test "$wxUSE_EXPAT" = no; then
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3435 elif test "$wxUSE_EXPAT" = sys; then
3436 echo "$as_me:$LINENO: result: system version" >&5
3437 echo "${ECHO_T}system version" >&6
3438 elif test "$wxUSE_EXPAT" = builtin; then
3439 echo "$as_me:$LINENO: result: builtin version" >&5
3440 echo "${ECHO_T}builtin version" >&6
3441 else
3442 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3443 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3444 { (exit 1); exit 1; }; }
3445 fi
3446
3447
3448
3449
3450 enablestring=
3451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3452 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3453 no_cache=0
3454 # Check whether --enable-shared or --disable-shared was given.
3455 if test "${enable_shared+set}" = set; then
3456 enableval="$enable_shared"
3457
3458 if test "$enableval" = yes; then
3459 ac_cv_use_shared='wxUSE_SHARED=yes'
3460 else
3461 ac_cv_use_shared='wxUSE_SHARED=no'
3462 fi
3463
3464 else
3465
3466 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3467 if test "x$LINE" != x ; then
3468 eval "DEFAULT_$LINE"
3469 else
3470 no_cache=1
3471 fi
3472
3473 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3474
3475 fi;
3476
3477 eval "$ac_cv_use_shared"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3480 fi
3481
3482 if test "$wxUSE_SHARED" = yes; then
3483 echo "$as_me:$LINENO: result: yes" >&5
3484 echo "${ECHO_T}yes" >&6
3485 else
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3488 fi
3489
3490
3491 enablestring=
3492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3494 no_cache=0
3495 # Check whether --enable-optimise or --disable-optimise was given.
3496 if test "${enable_optimise+set}" = set; then
3497 enableval="$enable_optimise"
3498
3499 if test "$enableval" = yes; then
3500 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3501 else
3502 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3503 fi
3504
3505 else
3506
3507 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3510 else
3511 no_cache=1
3512 fi
3513
3514 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3515
3516 fi;
3517
3518 eval "$ac_cv_use_optimise"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3521 fi
3522
3523 if test "$wxUSE_OPTIMISE" = yes; then
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3529 fi
3530
3531
3532 enablestring=
3533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3535 no_cache=0
3536 # Check whether --enable-debug or --disable-debug was given.
3537 if test "${enable_debug+set}" = set; then
3538 enableval="$enable_debug"
3539
3540 if test "$enableval" = yes; then
3541 ac_cv_use_debug='wxUSE_DEBUG=yes'
3542 else
3543 ac_cv_use_debug='wxUSE_DEBUG=no'
3544 fi
3545
3546 else
3547
3548 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3551 else
3552 no_cache=1
3553 fi
3554
3555 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3556
3557 fi;
3558
3559 eval "$ac_cv_use_debug"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3562 fi
3563
3564 if test "$wxUSE_DEBUG" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 fi
3571
3572
3573 enablestring=
3574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3575 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3576 no_cache=0
3577 # Check whether --enable-stl or --disable-stl was given.
3578 if test "${enable_stl+set}" = set; then
3579 enableval="$enable_stl"
3580
3581 if test "$enableval" = yes; then
3582 ac_cv_use_stl='wxUSE_STL=yes'
3583 else
3584 ac_cv_use_stl='wxUSE_STL=no'
3585 fi
3586
3587 else
3588
3589 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x ; then
3591 eval "DEFAULT_$LINE"
3592 else
3593 no_cache=1
3594 fi
3595
3596 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3597
3598 fi;
3599
3600 eval "$ac_cv_use_stl"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3603 fi
3604
3605 if test "$wxUSE_STL" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3608 else
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3611 fi
3612
3613 if test "$USE_OS2" = "1"; then
3614
3615 enablestring=
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3617 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3618 no_cache=0
3619 # Check whether --enable-omf or --disable-omf was given.
3620 if test "${enable_omf+set}" = set; then
3621 enableval="$enable_omf"
3622
3623 if test "$enableval" = yes; then
3624 ac_cv_use_omf='wxUSE_OMF=yes'
3625 else
3626 ac_cv_use_omf='wxUSE_OMF=no'
3627 fi
3628
3629 else
3630
3631 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3634 else
3635 no_cache=1
3636 fi
3637
3638 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3639
3640 fi;
3641
3642 eval "$ac_cv_use_omf"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3645 fi
3646
3647 if test "$wxUSE_OMF" = yes; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6
3650 else
3651 echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6
3653 fi
3654
3655 fi
3656
3657 if test "$wxUSE_DEBUG" = "yes"; then
3658 DEFAULT_wxUSE_DEBUG_FLAG=yes
3659 DEFAULT_wxUSE_DEBUG_INFO=yes
3660 BUILD=debug
3661 elif test "$wxUSE_DEBUG" = "no"; then
3662 DEFAULT_wxUSE_DEBUG_FLAG=no
3663 DEFAULT_wxUSE_DEBUG_INFO=no
3664 BUILD=release
3665 fi
3666
3667
3668 enablestring=
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3671 no_cache=0
3672 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3673 if test "${enable_debug_flag+set}" = set; then
3674 enableval="$enable_debug_flag"
3675
3676 if test "$enableval" = yes; then
3677 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3678 else
3679 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3680 fi
3681
3682 else
3683
3684 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3687 else
3688 no_cache=1
3689 fi
3690
3691 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3692
3693 fi;
3694
3695 eval "$ac_cv_use_debug_flag"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3698 fi
3699
3700 if test "$wxUSE_DEBUG_FLAG" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6
3703 else
3704 echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6
3706 fi
3707
3708
3709 enablestring=
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3712 no_cache=0
3713 # Check whether --enable-debug_info or --disable-debug_info was given.
3714 if test "${enable_debug_info+set}" = set; then
3715 enableval="$enable_debug_info"
3716
3717 if test "$enableval" = yes; then
3718 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3719 else
3720 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3721 fi
3722
3723 else
3724
3725 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3728 else
3729 no_cache=1
3730 fi
3731
3732 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3733
3734 fi;
3735
3736 eval "$ac_cv_use_debug_info"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_DEBUG_INFO" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3744 else
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3747 fi
3748
3749
3750 enablestring=
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3753 no_cache=0
3754 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3755 if test "${enable_debug_gdb+set}" = set; then
3756 enableval="$enable_debug_gdb"
3757
3758 if test "$enableval" = yes; then
3759 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3760 else
3761 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3762 fi
3763
3764 else
3765
3766 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x ; then
3768 eval "DEFAULT_$LINE"
3769 else
3770 no_cache=1
3771 fi
3772
3773 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3774
3775 fi;
3776
3777 eval "$ac_cv_use_debug_gdb"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3780 fi
3781
3782 if test "$wxUSE_DEBUG_GDB" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3785 else
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3788 fi
3789
3790
3791 enablestring=
3792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3794 no_cache=0
3795 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3796 if test "${enable_debug_cntxt+set}" = set; then
3797 enableval="$enable_debug_cntxt"
3798
3799 if test "$enableval" = yes; then
3800 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3801 else
3802 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3803 fi
3804
3805 else
3806
3807 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x ; then
3809 eval "DEFAULT_$LINE"
3810 else
3811 no_cache=1
3812 fi
3813
3814 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3815
3816 fi;
3817
3818 eval "$ac_cv_use_debug_cntxt"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3821 fi
3822
3823 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3824 echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6
3826 else
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3829 fi
3830
3831
3832 enablestring=
3833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3834 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3835 no_cache=0
3836 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3837 if test "${enable_mem_tracing+set}" = set; then
3838 enableval="$enable_mem_tracing"
3839
3840 if test "$enableval" = yes; then
3841 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3842 else
3843 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3844 fi
3845
3846 else
3847
3848 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x ; then
3850 eval "DEFAULT_$LINE"
3851 else
3852 no_cache=1
3853 fi
3854
3855 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3856
3857 fi;
3858
3859 eval "$ac_cv_use_mem_tracing"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3862 fi
3863
3864 if test "$wxUSE_MEM_TRACING" = yes; then
3865 echo "$as_me:$LINENO: result: yes" >&5
3866 echo "${ECHO_T}yes" >&6
3867 else
3868 echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3870 fi
3871
3872
3873 enablestring=
3874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3875 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3876 no_cache=0
3877 # Check whether --enable-profile or --disable-profile was given.
3878 if test "${enable_profile+set}" = set; then
3879 enableval="$enable_profile"
3880
3881 if test "$enableval" = yes; then
3882 ac_cv_use_profile='wxUSE_PROFILE=yes'
3883 else
3884 ac_cv_use_profile='wxUSE_PROFILE=no'
3885 fi
3886
3887 else
3888
3889 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3892 else
3893 no_cache=1
3894 fi
3895
3896 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3897
3898 fi;
3899
3900 eval "$ac_cv_use_profile"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3903 fi
3904
3905 if test "$wxUSE_PROFILE" = yes; then
3906 echo "$as_me:$LINENO: result: yes" >&5
3907 echo "${ECHO_T}yes" >&6
3908 else
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3911 fi
3912
3913
3914 enablestring=
3915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3916 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3917 no_cache=0
3918 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3919 if test "${enable_no_rtti+set}" = set; then
3920 enableval="$enable_no_rtti"
3921
3922 if test "$enableval" = yes; then
3923 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3924 else
3925 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3926 fi
3927
3928 else
3929
3930 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x ; then
3932 eval "DEFAULT_$LINE"
3933 else
3934 no_cache=1
3935 fi
3936
3937 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3938
3939 fi;
3940
3941 eval "$ac_cv_use_no_rtti"
3942 if test "$no_cache" != 1; then
3943 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3944 fi
3945
3946 if test "$wxUSE_NO_RTTI" = yes; then
3947 echo "$as_me:$LINENO: result: yes" >&5
3948 echo "${ECHO_T}yes" >&6
3949 else
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3952 fi
3953
3954
3955 enablestring=
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3958 no_cache=0
3959 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3960 if test "${enable_no_exceptions+set}" = set; then
3961 enableval="$enable_no_exceptions"
3962
3963 if test "$enableval" = yes; then
3964 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3965 else
3966 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3967 fi
3968
3969 else
3970
3971 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x ; then
3973 eval "DEFAULT_$LINE"
3974 else
3975 no_cache=1
3976 fi
3977
3978 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3979
3980 fi;
3981
3982 eval "$ac_cv_use_no_exceptions"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3985 fi
3986
3987 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3990 else
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3993 fi
3994
3995
3996 enablestring=
3997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3998 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3999 no_cache=0
4000 # Check whether --enable-permissive or --disable-permissive was given.
4001 if test "${enable_permissive+set}" = set; then
4002 enableval="$enable_permissive"
4003
4004 if test "$enableval" = yes; then
4005 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4006 else
4007 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4008 fi
4009
4010 else
4011
4012 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x ; then
4014 eval "DEFAULT_$LINE"
4015 else
4016 no_cache=1
4017 fi
4018
4019 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4020
4021 fi;
4022
4023 eval "$ac_cv_use_permissive"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4026 fi
4027
4028 if test "$wxUSE_PERMISSIVE" = yes; then
4029 echo "$as_me:$LINENO: result: yes" >&5
4030 echo "${ECHO_T}yes" >&6
4031 else
4032 echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4034 fi
4035
4036
4037 enablestring=
4038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4039 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4040 no_cache=0
4041 # Check whether --enable-no_deps or --disable-no_deps was given.
4042 if test "${enable_no_deps+set}" = set; then
4043 enableval="$enable_no_deps"
4044
4045 if test "$enableval" = yes; then
4046 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4047 else
4048 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4049 fi
4050
4051 else
4052
4053 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x ; then
4055 eval "DEFAULT_$LINE"
4056 else
4057 no_cache=1
4058 fi
4059
4060 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4061
4062 fi;
4063
4064 eval "$ac_cv_use_no_deps"
4065 if test "$no_cache" != 1; then
4066 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4067 fi
4068
4069 if test "$wxUSE_NO_DEPS" = yes; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071 echo "${ECHO_T}yes" >&6
4072 else
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4075 fi
4076
4077
4078
4079 enablestring=
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4082 no_cache=0
4083 # Check whether --enable-compat22 or --disable-compat22 was given.
4084 if test "${enable_compat22+set}" = set; then
4085 enableval="$enable_compat22"
4086
4087 if test "$enableval" = yes; then
4088 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4089 else
4090 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4091 fi
4092
4093 else
4094
4095 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4098 else
4099 no_cache=1
4100 fi
4101
4102 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4103
4104 fi;
4105
4106 eval "$ac_cv_use_compat22"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4109 fi
4110
4111 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4114 else
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4117 fi
4118
4119
4120 enablestring=disable
4121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4122 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4123 no_cache=0
4124 # Check whether --enable-compat24 or --disable-compat24 was given.
4125 if test "${enable_compat24+set}" = set; then
4126 enableval="$enable_compat24"
4127
4128 if test "$enableval" = yes; then
4129 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4130 else
4131 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4132 fi
4133
4134 else
4135
4136 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x ; then
4138 eval "DEFAULT_$LINE"
4139 else
4140 no_cache=1
4141 fi
4142
4143 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4144
4145 fi;
4146
4147 eval "$ac_cv_use_compat24"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4150 fi
4151
4152 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4153 echo "$as_me:$LINENO: result: yes" >&5
4154 echo "${ECHO_T}yes" >&6
4155 else
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4158 fi
4159
4160
4161
4162 enablestring=
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4165 no_cache=0
4166 # Check whether --enable-rpath or --disable-rpath was given.
4167 if test "${enable_rpath+set}" = set; then
4168 enableval="$enable_rpath"
4169
4170 if test "$enableval" = yes; then
4171 ac_cv_use_rpath='wxUSE_RPATH=yes'
4172 else
4173 ac_cv_use_rpath='wxUSE_RPATH=no'
4174 fi
4175
4176 else
4177
4178 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4181 else
4182 no_cache=1
4183 fi
4184
4185 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4186
4187 fi;
4188
4189 eval "$ac_cv_use_rpath"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4192 fi
4193
4194 if test "$wxUSE_RPATH" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4197 else
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4200 fi
4201
4202
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-intl or --disable-intl was given.
4211 if test "${enable_intl+set}" = set; then
4212 enableval="$enable_intl"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_intl='wxUSE_INTL=yes'
4216 else
4217 ac_cv_use_intl='wxUSE_INTL=no'
4218 fi
4219
4220 else
4221
4222 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4225 else
4226 no_cache=1
4227 fi
4228
4229 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4230
4231 fi;
4232
4233 eval "$ac_cv_use_intl"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_INTL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4241 else
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4244 fi
4245
4246
4247 enablestring=
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4250 no_cache=0
4251 # Check whether --enable-config or --disable-config was given.
4252 if test "${enable_config+set}" = set; then
4253 enableval="$enable_config"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_config='wxUSE_CONFIG=yes'
4257 else
4258 ac_cv_use_config='wxUSE_CONFIG=no'
4259 fi
4260
4261 else
4262
4263 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4266 else
4267 no_cache=1
4268 fi
4269
4270 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4271
4272 fi;
4273
4274 eval "$ac_cv_use_config"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4277 fi
4278
4279 if test "$wxUSE_CONFIG" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4282 else
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4285 fi
4286
4287
4288
4289 enablestring=
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4291 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4292 no_cache=0
4293 # Check whether --enable-protocols or --disable-protocols was given.
4294 if test "${enable_protocols+set}" = set; then
4295 enableval="$enable_protocols"
4296
4297 if test "$enableval" = yes; then
4298 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4299 else
4300 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4301 fi
4302
4303 else
4304
4305 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4308 else
4309 no_cache=1
4310 fi
4311
4312 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4313
4314 fi;
4315
4316 eval "$ac_cv_use_protocols"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4319 fi
4320
4321 if test "$wxUSE_PROTOCOL" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6
4324 else
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4327 fi
4328
4329
4330 enablestring=
4331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4332 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4333 no_cache=0
4334 # Check whether --enable-ftp or --disable-ftp was given.
4335 if test "${enable_ftp+set}" = set; then
4336 enableval="$enable_ftp"
4337
4338 if test "$enableval" = yes; then
4339 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4340 else
4341 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4342 fi
4343
4344 else
4345
4346 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x ; then
4348 eval "DEFAULT_$LINE"
4349 else
4350 no_cache=1
4351 fi
4352
4353 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4354
4355 fi;
4356
4357 eval "$ac_cv_use_ftp"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4360 fi
4361
4362 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4363 echo "$as_me:$LINENO: result: yes" >&5
4364 echo "${ECHO_T}yes" >&6
4365 else
4366 echo "$as_me:$LINENO: result: no" >&5
4367 echo "${ECHO_T}no" >&6
4368 fi
4369
4370
4371 enablestring=
4372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4373 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4374 no_cache=0
4375 # Check whether --enable-http or --disable-http was given.
4376 if test "${enable_http+set}" = set; then
4377 enableval="$enable_http"
4378
4379 if test "$enableval" = yes; then
4380 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4381 else
4382 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4383 fi
4384
4385 else
4386
4387 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x ; then
4389 eval "DEFAULT_$LINE"
4390 else
4391 no_cache=1
4392 fi
4393
4394 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4395
4396 fi;
4397
4398 eval "$ac_cv_use_http"
4399 if test "$no_cache" != 1; then
4400 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4401 fi
4402
4403 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4404 echo "$as_me:$LINENO: result: yes" >&5
4405 echo "${ECHO_T}yes" >&6
4406 else
4407 echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6
4409 fi
4410
4411
4412 enablestring=
4413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4414 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4415 no_cache=0
4416 # Check whether --enable-fileproto or --disable-fileproto was given.
4417 if test "${enable_fileproto+set}" = set; then
4418 enableval="$enable_fileproto"
4419
4420 if test "$enableval" = yes; then
4421 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4422 else
4423 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4424 fi
4425
4426 else
4427
4428 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x ; then
4430 eval "DEFAULT_$LINE"
4431 else
4432 no_cache=1
4433 fi
4434
4435 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4436
4437 fi;
4438
4439 eval "$ac_cv_use_fileproto"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4442 fi
4443
4444 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4445 echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6
4447 else
4448 echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6
4450 fi
4451
4452
4453 enablestring=
4454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4455 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4456 no_cache=0
4457 # Check whether --enable-sockets or --disable-sockets was given.
4458 if test "${enable_sockets+set}" = set; then
4459 enableval="$enable_sockets"
4460
4461 if test "$enableval" = yes; then
4462 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4463 else
4464 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4465 fi
4466
4467 else
4468
4469 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x ; then
4471 eval "DEFAULT_$LINE"
4472 else
4473 no_cache=1
4474 fi
4475
4476 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4477
4478 fi;
4479
4480 eval "$ac_cv_use_sockets"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4483 fi
4484
4485 if test "$wxUSE_SOCKETS" = yes; then
4486 echo "$as_me:$LINENO: result: yes" >&5
4487 echo "${ECHO_T}yes" >&6
4488 else
4489 echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6
4491 fi
4492
4493
4494 enablestring=
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4497 no_cache=0
4498 # Check whether --enable-ole or --disable-ole was given.
4499 if test "${enable_ole+set}" = set; then
4500 enableval="$enable_ole"
4501
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ole='wxUSE_OLE=yes'
4504 else
4505 ac_cv_use_ole='wxUSE_OLE=no'
4506 fi
4507
4508 else
4509
4510 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4513 else
4514 no_cache=1
4515 fi
4516
4517 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4518
4519 fi;
4520
4521 eval "$ac_cv_use_ole"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4524 fi
4525
4526 if test "$wxUSE_OLE" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4529 else
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4532 fi
4533
4534
4535 enablestring=
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4538 no_cache=0
4539 # Check whether --enable-dataobj or --disable-dataobj was given.
4540 if test "${enable_dataobj+set}" = set; then
4541 enableval="$enable_dataobj"
4542
4543 if test "$enableval" = yes; then
4544 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4545 else
4546 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4547 fi
4548
4549 else
4550
4551 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x ; then
4553 eval "DEFAULT_$LINE"
4554 else
4555 no_cache=1
4556 fi
4557
4558 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4559
4560 fi;
4561
4562 eval "$ac_cv_use_dataobj"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4565 fi
4566
4567 if test "$wxUSE_DATAOBJ" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4570 else
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4573 fi
4574
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-ipc or --disable-ipc was given.
4582 if test "${enable_ipc+set}" = set; then
4583 enableval="$enable_ipc"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_ipc='wxUSE_IPC=yes'
4587 else
4588 ac_cv_use_ipc='wxUSE_IPC=no'
4589 fi
4590
4591 else
4592
4593 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4601
4602 fi;
4603
4604 eval "$ac_cv_use_ipc"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_IPC" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618
4619 enablestring=
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4622 no_cache=0
4623 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4624 if test "${enable_apple_ieee+set}" = set; then
4625 enableval="$enable_apple_ieee"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4629 else
4630 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4631 fi
4632
4633 else
4634
4635 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4643
4644 fi;
4645
4646 eval "$ac_cv_use_apple_ieee"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4649 fi
4650
4651 if test "$wxUSE_APPLE_IEEE" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4654 else
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4657 fi
4658
4659
4660 enablestring=
4661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4663 no_cache=0
4664 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4665 if test "${enable_catch_segvs+set}" = set; then
4666 enableval="$enable_catch_segvs"
4667
4668 if test "$enableval" = yes; then
4669 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4670 else
4671 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4672 fi
4673
4674 else
4675
4676 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x ; then
4678 eval "DEFAULT_$LINE"
4679 else
4680 no_cache=1
4681 fi
4682
4683 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4684
4685 fi;
4686
4687 eval "$ac_cv_use_catch_segvs"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4690 fi
4691
4692 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694 echo "${ECHO_T}yes" >&6
4695 else
4696 echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6
4698 fi
4699
4700
4701 enablestring=
4702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4703 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4704 no_cache=0
4705 # Check whether --enable-cmdline or --disable-cmdline was given.
4706 if test "${enable_cmdline+set}" = set; then
4707 enableval="$enable_cmdline"
4708
4709 if test "$enableval" = yes; then
4710 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4711 else
4712 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4713 fi
4714
4715 else
4716
4717 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x ; then
4719 eval "DEFAULT_$LINE"
4720 else
4721 no_cache=1
4722 fi
4723
4724 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4725
4726 fi;
4727
4728 eval "$ac_cv_use_cmdline"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4731 fi
4732
4733 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4734 echo "$as_me:$LINENO: result: yes" >&5
4735 echo "${ECHO_T}yes" >&6
4736 else
4737 echo "$as_me:$LINENO: result: no" >&5
4738 echo "${ECHO_T}no" >&6
4739 fi
4740
4741
4742 enablestring=
4743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4745 no_cache=0
4746 # Check whether --enable-datetime or --disable-datetime was given.
4747 if test "${enable_datetime+set}" = set; then
4748 enableval="$enable_datetime"
4749
4750 if test "$enableval" = yes; then
4751 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4752 else
4753 ac_cv_use_datetime='wxUSE_DATETIME=no'
4754 fi
4755
4756 else
4757
4758 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x ; then
4760 eval "DEFAULT_$LINE"
4761 else
4762 no_cache=1
4763 fi
4764
4765 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4766
4767 fi;
4768
4769 eval "$ac_cv_use_datetime"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4772 fi
4773
4774 if test "$wxUSE_DATETIME" = yes; then
4775 echo "$as_me:$LINENO: result: yes" >&5
4776 echo "${ECHO_T}yes" >&6
4777 else
4778 echo "$as_me:$LINENO: result: no" >&5
4779 echo "${ECHO_T}no" >&6
4780 fi
4781
4782
4783 enablestring=
4784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4785 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4786 no_cache=0
4787 # Check whether --enable-dialupman or --disable-dialupman was given.
4788 if test "${enable_dialupman+set}" = set; then
4789 enableval="$enable_dialupman"
4790
4791 if test "$enableval" = yes; then
4792 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4793 else
4794 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4795 fi
4796
4797 else
4798
4799 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x ; then
4801 eval "DEFAULT_$LINE"
4802 else
4803 no_cache=1
4804 fi
4805
4806 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4807
4808 fi;
4809
4810 eval "$ac_cv_use_dialupman"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4813 fi
4814
4815 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4816 echo "$as_me:$LINENO: result: yes" >&5
4817 echo "${ECHO_T}yes" >&6
4818 else
4819 echo "$as_me:$LINENO: result: no" >&5
4820 echo "${ECHO_T}no" >&6
4821 fi
4822
4823
4824 enablestring=
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4827 no_cache=0
4828 # Check whether --enable-dynlib or --disable-dynlib was given.
4829 if test "${enable_dynlib+set}" = set; then
4830 enableval="$enable_dynlib"
4831
4832 if test "$enableval" = yes; then
4833 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4834 else
4835 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4836 fi
4837
4838 else
4839
4840 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x ; then
4842 eval "DEFAULT_$LINE"
4843 else
4844 no_cache=1
4845 fi
4846
4847 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4848
4849 fi;
4850
4851 eval "$ac_cv_use_dynlib"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4854 fi
4855
4856 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858 echo "${ECHO_T}yes" >&6
4859 else
4860 echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6
4862 fi
4863
4864
4865 enablestring=
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4867 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4868 no_cache=0
4869 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4870 if test "${enable_dynamicloader+set}" = set; then
4871 enableval="$enable_dynamicloader"
4872
4873 if test "$enableval" = yes; then
4874 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4875 else
4876 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4877 fi
4878
4879 else
4880
4881 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x ; then
4883 eval "DEFAULT_$LINE"
4884 else
4885 no_cache=1
4886 fi
4887
4888 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4889
4890 fi;
4891
4892 eval "$ac_cv_use_dynamicloader"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4895 fi
4896
4897 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899 echo "${ECHO_T}yes" >&6
4900 else
4901 echo "$as_me:$LINENO: result: no" >&5
4902 echo "${ECHO_T}no" >&6
4903 fi
4904
4905
4906 enablestring=
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4909 no_cache=0
4910 # Check whether --enable-exceptions or --disable-exceptions was given.
4911 if test "${enable_exceptions+set}" = set; then
4912 enableval="$enable_exceptions"
4913
4914 if test "$enableval" = yes; then
4915 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4916 else
4917 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4918 fi
4919
4920 else
4921
4922 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x ; then
4924 eval "DEFAULT_$LINE"
4925 else
4926 no_cache=1
4927 fi
4928
4929 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4930
4931 fi;
4932
4933 eval "$ac_cv_use_exceptions"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4936 fi
4937
4938 if test "$wxUSE_EXCEPTIONS" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4941 else
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4944 fi
4945
4946
4947 enablestring=
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4950 no_cache=0
4951 # Check whether --enable-ffile or --disable-ffile was given.
4952 if test "${enable_ffile+set}" = set; then
4953 enableval="$enable_ffile"
4954
4955 if test "$enableval" = yes; then
4956 ac_cv_use_ffile='wxUSE_FFILE=yes'
4957 else
4958 ac_cv_use_ffile='wxUSE_FFILE=no'
4959 fi
4960
4961 else
4962
4963 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 else
4967 no_cache=1
4968 fi
4969
4970 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4971
4972 fi;
4973
4974 eval "$ac_cv_use_ffile"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4977 fi
4978
4979 if test "$wxUSE_FFILE" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4982 else
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4985 fi
4986
4987
4988 enablestring=
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4991 no_cache=0
4992 # Check whether --enable-file or --disable-file was given.
4993 if test "${enable_file+set}" = set; then
4994 enableval="$enable_file"
4995
4996 if test "$enableval" = yes; then
4997 ac_cv_use_file='wxUSE_FILE=yes'
4998 else
4999 ac_cv_use_file='wxUSE_FILE=no'
5000 fi
5001
5002 else
5003
5004 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x ; then
5006 eval "DEFAULT_$LINE"
5007 else
5008 no_cache=1
5009 fi
5010
5011 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5012
5013 fi;
5014
5015 eval "$ac_cv_use_file"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5018 fi
5019
5020 if test "$wxUSE_FILE" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022 echo "${ECHO_T}yes" >&6
5023 else
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5026 fi
5027
5028
5029 enablestring=
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5032 no_cache=0
5033 # Check whether --enable-filesystem or --disable-filesystem was given.
5034 if test "${enable_filesystem+set}" = set; then
5035 enableval="$enable_filesystem"
5036
5037 if test "$enableval" = yes; then
5038 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5039 else
5040 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5041 fi
5042
5043 else
5044
5045 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x ; then
5047 eval "DEFAULT_$LINE"
5048 else
5049 no_cache=1
5050 fi
5051
5052 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5053
5054 fi;
5055
5056 eval "$ac_cv_use_filesystem"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5059 fi
5060
5061 if test "$wxUSE_FILESYSTEM" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063 echo "${ECHO_T}yes" >&6
5064 else
5065 echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6
5067 fi
5068
5069
5070 enablestring=
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5073 no_cache=0
5074 # Check whether --enable-fontmap or --disable-fontmap was given.
5075 if test "${enable_fontmap+set}" = set; then
5076 enableval="$enable_fontmap"
5077
5078 if test "$enableval" = yes; then
5079 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5080 else
5081 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5082 fi
5083
5084 else
5085
5086 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x ; then
5088 eval "DEFAULT_$LINE"
5089 else
5090 no_cache=1
5091 fi
5092
5093 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5094
5095 fi;
5096
5097 eval "$ac_cv_use_fontmap"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5100 fi
5101
5102 if test "$wxUSE_FONTMAP" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104 echo "${ECHO_T}yes" >&6
5105 else
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5108 fi
5109
5110
5111 enablestring=
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5114 no_cache=0
5115 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5116 if test "${enable_fs_inet+set}" = set; then
5117 enableval="$enable_fs_inet"
5118
5119 if test "$enableval" = yes; then
5120 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5121 else
5122 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5123 fi
5124
5125 else
5126
5127 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x ; then
5129 eval "DEFAULT_$LINE"
5130 else
5131 no_cache=1
5132 fi
5133
5134 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5135
5136 fi;
5137
5138 eval "$ac_cv_use_fs_inet"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5141 fi
5142
5143 if test "$wxUSE_FS_INET" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145 echo "${ECHO_T}yes" >&6
5146 else
5147 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6
5149 fi
5150
5151
5152 enablestring=
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5155 no_cache=0
5156 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5157 if test "${enable_fs_zip+set}" = set; then
5158 enableval="$enable_fs_zip"
5159
5160 if test "$enableval" = yes; then
5161 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5162 else
5163 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5164 fi
5165
5166 else
5167
5168 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x ; then
5170 eval "DEFAULT_$LINE"
5171 else
5172 no_cache=1
5173 fi
5174
5175 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5176
5177 fi;
5178
5179 eval "$ac_cv_use_fs_zip"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5182 fi
5183
5184 if test "$wxUSE_FS_ZIP" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186 echo "${ECHO_T}yes" >&6
5187 else
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5190 fi
5191
5192
5193 enablestring=
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5196 no_cache=0
5197 # Check whether --enable-geometry or --disable-geometry was given.
5198 if test "${enable_geometry+set}" = set; then
5199 enableval="$enable_geometry"
5200
5201 if test "$enableval" = yes; then
5202 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5203 else
5204 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5205 fi
5206
5207 else
5208
5209 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x ; then
5211 eval "DEFAULT_$LINE"
5212 else
5213 no_cache=1
5214 fi
5215
5216 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5217
5218 fi;
5219
5220 eval "$ac_cv_use_geometry"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5223 fi
5224
5225 if test "$wxUSE_GEOMETRY" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227 echo "${ECHO_T}yes" >&6
5228 else
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5231 fi
5232
5233
5234 enablestring=
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5237 no_cache=0
5238 # Check whether --enable-log or --disable-log was given.
5239 if test "${enable_log+set}" = set; then
5240 enableval="$enable_log"
5241
5242 if test "$enableval" = yes; then
5243 ac_cv_use_log='wxUSE_LOG=yes'
5244 else
5245 ac_cv_use_log='wxUSE_LOG=no'
5246 fi
5247
5248 else
5249
5250 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5258
5259 fi;
5260
5261 eval "$ac_cv_use_log"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5264 fi
5265
5266 if test "$wxUSE_LOG" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268 echo "${ECHO_T}yes" >&6
5269 else
5270 echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6
5272 fi
5273
5274
5275 enablestring=
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5278 no_cache=0
5279 # Check whether --enable-longlong or --disable-longlong was given.
5280 if test "${enable_longlong+set}" = set; then
5281 enableval="$enable_longlong"
5282
5283 if test "$enableval" = yes; then
5284 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5285 else
5286 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5287 fi
5288
5289 else
5290
5291 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x ; then
5293 eval "DEFAULT_$LINE"
5294 else
5295 no_cache=1
5296 fi
5297
5298 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5299
5300 fi;
5301
5302 eval "$ac_cv_use_longlong"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5305 fi
5306
5307 if test "$wxUSE_LONGLONG" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6
5310 else
5311 echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5313 fi
5314
5315
5316 enablestring=
5317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5319 no_cache=0
5320 # Check whether --enable-mimetype or --disable-mimetype was given.
5321 if test "${enable_mimetype+set}" = set; then
5322 enableval="$enable_mimetype"
5323
5324 if test "$enableval" = yes; then
5325 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5326 else
5327 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5328 fi
5329
5330 else
5331
5332 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x ; then
5334 eval "DEFAULT_$LINE"
5335 else
5336 no_cache=1
5337 fi
5338
5339 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5340
5341 fi;
5342
5343 eval "$ac_cv_use_mimetype"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5346 fi
5347
5348 if test "$wxUSE_MIMETYPE" = yes; then
5349 echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6
5351 else
5352 echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6
5354 fi
5355
5356
5357 enablestring=
5358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5360 no_cache=0
5361 # Check whether --enable-mslu or --disable-mslu was given.
5362 if test "${enable_mslu+set}" = set; then
5363 enableval="$enable_mslu"
5364
5365 if test "$enableval" = yes; then
5366 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5367 else
5368 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5369 fi
5370
5371 else
5372
5373 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5376 else
5377 no_cache=1
5378 fi
5379
5380 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5381
5382 fi;
5383
5384 eval "$ac_cv_use_mslu"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5387 fi
5388
5389 if test "$wxUSE_UNICODE_MSLU" = yes; then
5390 echo "$as_me:$LINENO: result: yes" >&5
5391 echo "${ECHO_T}yes" >&6
5392 else
5393 echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6
5395 fi
5396
5397
5398 enablestring=
5399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5401 no_cache=0
5402 # Check whether --enable-snglinst or --disable-snglinst was given.
5403 if test "${enable_snglinst+set}" = set; then
5404 enableval="$enable_snglinst"
5405
5406 if test "$enableval" = yes; then
5407 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5408 else
5409 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5410 fi
5411
5412 else
5413
5414 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 else
5418 no_cache=1
5419 fi
5420
5421 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5422
5423 fi;
5424
5425 eval "$ac_cv_use_snglinst"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5428 fi
5429
5430 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5431 echo "$as_me:$LINENO: result: yes" >&5
5432 echo "${ECHO_T}yes" >&6
5433 else
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5436 fi
5437
5438
5439 enablestring=
5440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5442 no_cache=0
5443 # Check whether --enable-streams or --disable-streams was given.
5444 if test "${enable_streams+set}" = set; then
5445 enableval="$enable_streams"
5446
5447 if test "$enableval" = yes; then
5448 ac_cv_use_streams='wxUSE_STREAMS=yes'
5449 else
5450 ac_cv_use_streams='wxUSE_STREAMS=no'
5451 fi
5452
5453 else
5454
5455 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 else
5459 no_cache=1
5460 fi
5461
5462 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5463
5464 fi;
5465
5466 eval "$ac_cv_use_streams"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5469 fi
5470
5471 if test "$wxUSE_STREAMS" = yes; then
5472 echo "$as_me:$LINENO: result: yes" >&5
5473 echo "${ECHO_T}yes" >&6
5474 else
5475 echo "$as_me:$LINENO: result: no" >&5
5476 echo "${ECHO_T}no" >&6
5477 fi
5478
5479
5480 enablestring=
5481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5483 no_cache=0
5484 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5485 if test "${enable_std_iostreams+set}" = set; then
5486 enableval="$enable_std_iostreams"
5487
5488 if test "$enableval" = yes; then
5489 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5490 else
5491 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5492 fi
5493
5494 else
5495
5496 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5497 if test "x$LINE" != x ; then
5498 eval "DEFAULT_$LINE"
5499 else
5500 no_cache=1
5501 fi
5502
5503 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5504
5505 fi;
5506
5507 eval "$ac_cv_use_std_iostreams"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5510 fi
5511
5512 if test "$wxUSE_STD_IOSTREAM" = yes; then
5513 echo "$as_me:$LINENO: result: yes" >&5
5514 echo "${ECHO_T}yes" >&6
5515 else
5516 echo "$as_me:$LINENO: result: no" >&5
5517 echo "${ECHO_T}no" >&6
5518 fi
5519
5520
5521 enablestring=
5522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5523 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5524 no_cache=0
5525 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5526 if test "${enable_stopwatch+set}" = set; then
5527 enableval="$enable_stopwatch"
5528
5529 if test "$enableval" = yes; then
5530 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5531 else
5532 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5533 fi
5534
5535 else
5536
5537 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x ; then
5539 eval "DEFAULT_$LINE"
5540 else
5541 no_cache=1
5542 fi
5543
5544 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5545
5546 fi;
5547
5548 eval "$ac_cv_use_stopwatch"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5551 fi
5552
5553 if test "$wxUSE_STOPWATCH" = yes; then
5554 echo "$as_me:$LINENO: result: yes" >&5
5555 echo "${ECHO_T}yes" >&6
5556 else
5557 echo "$as_me:$LINENO: result: no" >&5
5558 echo "${ECHO_T}no" >&6
5559 fi
5560
5561
5562 enablestring=
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5565 no_cache=0
5566 # Check whether --enable-system_options or --disable-system_options was given.
5567 if test "${enable_system_options+set}" = set; then
5568 enableval="$enable_system_options"
5569
5570 if test "$enableval" = yes; then
5571 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5572 else
5573 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5574 fi
5575
5576 else
5577
5578 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x ; then
5580 eval "DEFAULT_$LINE"
5581 else
5582 no_cache=1
5583 fi
5584
5585 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5586
5587 fi;
5588
5589 eval "$ac_cv_use_system_options"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5592 fi
5593
5594 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596 echo "${ECHO_T}yes" >&6
5597 else
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5600 fi
5601
5602
5603 enablestring=
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5605 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5606 no_cache=0
5607 # Check whether --enable-textbuf or --disable-textbuf was given.
5608 if test "${enable_textbuf+set}" = set; then
5609 enableval="$enable_textbuf"
5610
5611 if test "$enableval" = yes; then
5612 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5613 else
5614 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5615 fi
5616
5617 else
5618
5619 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x ; then
5621 eval "DEFAULT_$LINE"
5622 else
5623 no_cache=1
5624 fi
5625
5626 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5627
5628 fi;
5629
5630 eval "$ac_cv_use_textbuf"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5633 fi
5634
5635 if test "$wxUSE_TEXTBUFFER" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5638 else
5639 echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6
5641 fi
5642
5643
5644 enablestring=
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5647 no_cache=0
5648 # Check whether --enable-textfile or --disable-textfile was given.
5649 if test "${enable_textfile+set}" = set; then
5650 enableval="$enable_textfile"
5651
5652 if test "$enableval" = yes; then
5653 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5654 else
5655 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5656 fi
5657
5658 else
5659
5660 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x ; then
5662 eval "DEFAULT_$LINE"
5663 else
5664 no_cache=1
5665 fi
5666
5667 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5668
5669 fi;
5670
5671 eval "$ac_cv_use_textfile"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5674 fi
5675
5676 if test "$wxUSE_TEXTFILE" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678 echo "${ECHO_T}yes" >&6
5679 else
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5682 fi
5683
5684
5685 enablestring=
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5688 no_cache=0
5689 # Check whether --enable-timer or --disable-timer was given.
5690 if test "${enable_timer+set}" = set; then
5691 enableval="$enable_timer"
5692
5693 if test "$enableval" = yes; then
5694 ac_cv_use_timer='wxUSE_TIMER=yes'
5695 else
5696 ac_cv_use_timer='wxUSE_TIMER=no'
5697 fi
5698
5699 else
5700
5701 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x ; then
5703 eval "DEFAULT_$LINE"
5704 else
5705 no_cache=1
5706 fi
5707
5708 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5709
5710 fi;
5711
5712 eval "$ac_cv_use_timer"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5715 fi
5716
5717 if test "$wxUSE_TIMER" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6
5720 else
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5723 fi
5724
5725
5726 enablestring=
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5729 no_cache=0
5730 # Check whether --enable-unicode or --disable-unicode was given.
5731 if test "${enable_unicode+set}" = set; then
5732 enableval="$enable_unicode"
5733
5734 if test "$enableval" = yes; then
5735 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5736 else
5737 ac_cv_use_unicode='wxUSE_UNICODE=no'
5738 fi
5739
5740 else
5741
5742 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x ; then
5744 eval "DEFAULT_$LINE"
5745 else
5746 no_cache=1
5747 fi
5748
5749 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5750
5751 fi;
5752
5753 eval "$ac_cv_use_unicode"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5756 fi
5757
5758 if test "$wxUSE_UNICODE" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760 echo "${ECHO_T}yes" >&6
5761 else
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5764 fi
5765
5766
5767 enablestring=
5768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5770 no_cache=0
5771 # Check whether --enable-sound or --disable-sound was given.
5772 if test "${enable_sound+set}" = set; then
5773 enableval="$enable_sound"
5774
5775 if test "$enableval" = yes; then
5776 ac_cv_use_sound='wxUSE_SOUND=yes'
5777 else
5778 ac_cv_use_sound='wxUSE_SOUND=no'
5779 fi
5780
5781 else
5782
5783 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x ; then
5785 eval "DEFAULT_$LINE"
5786 else
5787 no_cache=1
5788 fi
5789
5790 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5791
5792 fi;
5793
5794 eval "$ac_cv_use_sound"
5795 if test "$no_cache" != 1; then
5796 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5797 fi
5798
5799 if test "$wxUSE_SOUND" = yes; then
5800 echo "$as_me:$LINENO: result: yes" >&5
5801 echo "${ECHO_T}yes" >&6
5802 else
5803 echo "$as_me:$LINENO: result: no" >&5
5804 echo "${ECHO_T}no" >&6
5805 fi
5806
5807
5808 enablestring=
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5811 no_cache=0
5812 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5813 if test "${enable_mediactrl+set}" = set; then
5814 enableval="$enable_mediactrl"
5815
5816 if test "$enableval" = yes; then
5817 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5818 else
5819 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5820 fi
5821
5822 else
5823
5824 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x ; then
5826 eval "DEFAULT_$LINE"
5827 else
5828 no_cache=1
5829 fi
5830
5831 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5832
5833 fi;
5834
5835 eval "$ac_cv_use_mediactrl"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5838 fi
5839
5840 if test "$wxUSE_MEDIACTRL" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5843 else
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5846 fi
5847
5848
5849 enablestring=
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5852 no_cache=0
5853 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5854 if test "${enable_wxprintfv+set}" = set; then
5855 enableval="$enable_wxprintfv"
5856
5857 if test "$enableval" = yes; then
5858 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5859 else
5860 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5861 fi
5862
5863 else
5864
5865 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x ; then
5867 eval "DEFAULT_$LINE"
5868 else
5869 no_cache=1
5870 fi
5871
5872 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5873
5874 fi;
5875
5876 eval "$ac_cv_use_wxprintfv"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5879 fi
5880
5881 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5884 else
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5887 fi
5888
5889
5890 enablestring=
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5893 no_cache=0
5894 # Check whether --enable-zipstream or --disable-zipstream was given.
5895 if test "${enable_zipstream+set}" = set; then
5896 enableval="$enable_zipstream"
5897
5898 if test "$enableval" = yes; then
5899 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5900 else
5901 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5902 fi
5903
5904 else
5905
5906 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x ; then
5908 eval "DEFAULT_$LINE"
5909 else
5910 no_cache=1
5911 fi
5912
5913 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5914
5915 fi;
5916
5917 eval "$ac_cv_use_zipstream"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test "$wxUSE_ZIPSTREAM" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5925 else
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5928 fi
5929
5930
5931
5932 enablestring=
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5935 no_cache=0
5936 # Check whether --enable-url or --disable-url was given.
5937 if test "${enable_url+set}" = set; then
5938 enableval="$enable_url"
5939
5940 if test "$enableval" = yes; then
5941 ac_cv_use_url='wxUSE_URL=yes'
5942 else
5943 ac_cv_use_url='wxUSE_URL=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5956
5957 fi;
5958
5959 eval "$ac_cv_use_url"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5962 fi
5963
5964 if test "$wxUSE_URL" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5967 else
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5970 fi
5971
5972
5973 enablestring=
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5976 no_cache=0
5977 # Check whether --enable-protocol or --disable-protocol was given.
5978 if test "${enable_protocol+set}" = set; then
5979 enableval="$enable_protocol"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5983 else
5984 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5985 fi
5986
5987 else
5988
5989 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5997
5998 fi;
5999
6000 eval "$ac_cv_use_protocol"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6003 fi
6004
6005 if test "$wxUSE_PROTOCOL" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6008 else
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6011 fi
6012
6013
6014 enablestring=
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6017 no_cache=0
6018 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6019 if test "${enable_protocol_http+set}" = set; then
6020 enableval="$enable_protocol_http"
6021
6022 if test "$enableval" = yes; then
6023 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6024 else
6025 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6026 fi
6027
6028 else
6029
6030 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6033 else
6034 no_cache=1
6035 fi
6036
6037 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6038
6039 fi;
6040
6041 eval "$ac_cv_use_protocol_http"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6049 else
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6052 fi
6053
6054
6055 enablestring=
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6058 no_cache=0
6059 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6060 if test "${enable_protocol_ftp+set}" = set; then
6061 enableval="$enable_protocol_ftp"
6062
6063 if test "$enableval" = yes; then
6064 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6065 else
6066 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6067 fi
6068
6069 else
6070
6071 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6079
6080 fi;
6081
6082 eval "$ac_cv_use_protocol_ftp"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6090 else
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6093 fi
6094
6095
6096 enablestring=
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6099 no_cache=0
6100 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6101 if test "${enable_protocol_file+set}" = set; then
6102 enableval="$enable_protocol_file"
6103
6104 if test "$enableval" = yes; then
6105 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6106 else
6107 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6108 fi
6109
6110 else
6111
6112 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6120
6121 fi;
6122
6123 eval "$ac_cv_use_protocol_file"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6126 fi
6127
6128 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6131 else
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6134 fi
6135
6136
6137
6138
6139
6140 enablestring=
6141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6143 no_cache=0
6144 # Check whether --enable-threads or --disable-threads was given.
6145 if test "${enable_threads+set}" = set; then
6146 enableval="$enable_threads"
6147
6148 if test "$enableval" = yes; then
6149 ac_cv_use_threads='wxUSE_THREADS=yes'
6150 else
6151 ac_cv_use_threads='wxUSE_THREADS=no'
6152 fi
6153
6154 else
6155
6156 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6157 if test "x$LINE" != x ; then
6158 eval "DEFAULT_$LINE"
6159 else
6160 no_cache=1
6161 fi
6162
6163 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6164
6165 fi;
6166
6167 eval "$ac_cv_use_threads"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6170 fi
6171
6172 if test "$wxUSE_THREADS" = yes; then
6173 echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6
6175 else
6176 echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6
6178 fi
6179
6180
6181 if test "$wxUSE_GUI" = "yes"; then
6182
6183
6184
6185 enablestring=
6186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6188 no_cache=0
6189 # Check whether --enable-docview or --disable-docview was given.
6190 if test "${enable_docview+set}" = set; then
6191 enableval="$enable_docview"
6192
6193 if test "$enableval" = yes; then
6194 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6195 else
6196 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6197 fi
6198
6199 else
6200
6201 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x ; then
6203 eval "DEFAULT_$LINE"
6204 else
6205 no_cache=1
6206 fi
6207
6208 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6209
6210 fi;
6211
6212 eval "$ac_cv_use_docview"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6215 fi
6216
6217 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6218 echo "$as_me:$LINENO: result: yes" >&5
6219 echo "${ECHO_T}yes" >&6
6220 else
6221 echo "$as_me:$LINENO: result: no" >&5
6222 echo "${ECHO_T}no" >&6
6223 fi
6224
6225
6226 enablestring=
6227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6229 no_cache=0
6230 # Check whether --enable-help or --disable-help was given.
6231 if test "${enable_help+set}" = set; then
6232 enableval="$enable_help"
6233
6234 if test "$enableval" = yes; then
6235 ac_cv_use_help='wxUSE_HELP=yes'
6236 else
6237 ac_cv_use_help='wxUSE_HELP=no'
6238 fi
6239
6240 else
6241
6242 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6243 if test "x$LINE" != x ; then
6244 eval "DEFAULT_$LINE"
6245 else
6246 no_cache=1
6247 fi
6248
6249 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6250
6251 fi;
6252
6253 eval "$ac_cv_use_help"
6254 if test "$no_cache" != 1; then
6255 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6256 fi
6257
6258 if test "$wxUSE_HELP" = yes; then
6259 echo "$as_me:$LINENO: result: yes" >&5
6260 echo "${ECHO_T}yes" >&6
6261 else
6262 echo "$as_me:$LINENO: result: no" >&5
6263 echo "${ECHO_T}no" >&6
6264 fi
6265
6266
6267 enablestring=
6268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6269 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6270 no_cache=0
6271 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6272 if test "${enable_mshtmlhelp+set}" = set; then
6273 enableval="$enable_mshtmlhelp"
6274
6275 if test "$enableval" = yes; then
6276 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6277 else
6278 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6279 fi
6280
6281 else
6282
6283 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6286 else
6287 no_cache=1
6288 fi
6289
6290 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6291
6292 fi;
6293
6294 eval "$ac_cv_use_mshtmlhelp"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6297 fi
6298
6299 if test "$wxUSE_MS_HTML_HELP" = yes; then
6300 echo "$as_me:$LINENO: result: yes" >&5
6301 echo "${ECHO_T}yes" >&6
6302 else
6303 echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6305 fi
6306
6307
6308 enablestring=
6309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6310 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6311 no_cache=0
6312 # Check whether --enable-html or --disable-html was given.
6313 if test "${enable_html+set}" = set; then
6314 enableval="$enable_html"
6315
6316 if test "$enableval" = yes; then
6317 ac_cv_use_html='wxUSE_HTML=yes'
6318 else
6319 ac_cv_use_html='wxUSE_HTML=no'
6320 fi
6321
6322 else
6323
6324 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6325 if test "x$LINE" != x ; then
6326 eval "DEFAULT_$LINE"
6327 else
6328 no_cache=1
6329 fi
6330
6331 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6332
6333 fi;
6334
6335 eval "$ac_cv_use_html"
6336 if test "$no_cache" != 1; then
6337 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6338 fi
6339
6340 if test "$wxUSE_HTML" = yes; then
6341 echo "$as_me:$LINENO: result: yes" >&5
6342 echo "${ECHO_T}yes" >&6
6343 else
6344 echo "$as_me:$LINENO: result: no" >&5
6345 echo "${ECHO_T}no" >&6
6346 fi
6347
6348
6349 enablestring=
6350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6351 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6352 no_cache=0
6353 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6354 if test "${enable_htmlhelp+set}" = set; then
6355 enableval="$enable_htmlhelp"
6356
6357 if test "$enableval" = yes; then
6358 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6359 else
6360 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6361 fi
6362
6363 else
6364
6365 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6366 if test "x$LINE" != x ; then
6367 eval "DEFAULT_$LINE"
6368 else
6369 no_cache=1
6370 fi
6371
6372 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6373
6374 fi;
6375
6376 eval "$ac_cv_use_htmlhelp"
6377 if test "$no_cache" != 1; then
6378 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6379 fi
6380
6381 if test "$wxUSE_WXHTML_HELP" = yes; then
6382 echo "$as_me:$LINENO: result: yes" >&5
6383 echo "${ECHO_T}yes" >&6
6384 else
6385 echo "$as_me:$LINENO: result: no" >&5
6386 echo "${ECHO_T}no" >&6
6387 fi
6388
6389
6390 enablestring=
6391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6392 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6393 no_cache=0
6394 # Check whether --enable-xrc or --disable-xrc was given.
6395 if test "${enable_xrc+set}" = set; then
6396 enableval="$enable_xrc"
6397
6398 if test "$enableval" = yes; then
6399 ac_cv_use_xrc='wxUSE_XRC=yes'
6400 else
6401 ac_cv_use_xrc='wxUSE_XRC=no'
6402 fi
6403
6404 else
6405
6406 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x ; then
6408 eval "DEFAULT_$LINE"
6409 else
6410 no_cache=1
6411 fi
6412
6413 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6414
6415 fi;
6416
6417 eval "$ac_cv_use_xrc"
6418 if test "$no_cache" != 1; then
6419 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6420 fi
6421
6422 if test "$wxUSE_XRC" = yes; then
6423 echo "$as_me:$LINENO: result: yes" >&5
6424 echo "${ECHO_T}yes" >&6
6425 else
6426 echo "$as_me:$LINENO: result: no" >&5
6427 echo "${ECHO_T}no" >&6
6428 fi
6429
6430
6431 enablestring=
6432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6433 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6434 no_cache=0
6435 # Check whether --enable-constraints or --disable-constraints was given.
6436 if test "${enable_constraints+set}" = set; then
6437 enableval="$enable_constraints"
6438
6439 if test "$enableval" = yes; then
6440 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6441 else
6442 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6443 fi
6444
6445 else
6446
6447 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6450 else
6451 no_cache=1
6452 fi
6453
6454 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6455
6456 fi;
6457
6458 eval "$ac_cv_use_constraints"
6459 if test "$no_cache" != 1; then
6460 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6461 fi
6462
6463 if test "$wxUSE_CONSTRAINTS" = yes; then
6464 echo "$as_me:$LINENO: result: yes" >&5
6465 echo "${ECHO_T}yes" >&6
6466 else
6467 echo "$as_me:$LINENO: result: no" >&5
6468 echo "${ECHO_T}no" >&6
6469 fi
6470
6471
6472 enablestring=
6473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6474 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6475 no_cache=0
6476 # Check whether --enable-printarch or --disable-printarch was given.
6477 if test "${enable_printarch+set}" = set; then
6478 enableval="$enable_printarch"
6479
6480 if test "$enableval" = yes; then
6481 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6482 else
6483 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6484 fi
6485
6486 else
6487
6488 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6489 if test "x$LINE" != x ; then
6490 eval "DEFAULT_$LINE"
6491 else
6492 no_cache=1
6493 fi
6494
6495 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6496
6497 fi;
6498
6499 eval "$ac_cv_use_printarch"
6500 if test "$no_cache" != 1; then
6501 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6502 fi
6503
6504 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6505 echo "$as_me:$LINENO: result: yes" >&5
6506 echo "${ECHO_T}yes" >&6
6507 else
6508 echo "$as_me:$LINENO: result: no" >&5
6509 echo "${ECHO_T}no" >&6
6510 fi
6511
6512
6513 enablestring=
6514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6516 no_cache=0
6517 # Check whether --enable-mdi or --disable-mdi was given.
6518 if test "${enable_mdi+set}" = set; then
6519 enableval="$enable_mdi"
6520
6521 if test "$enableval" = yes; then
6522 ac_cv_use_mdi='wxUSE_MDI=yes'
6523 else
6524 ac_cv_use_mdi='wxUSE_MDI=no'
6525 fi
6526
6527 else
6528
6529 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6532 else
6533 no_cache=1
6534 fi
6535
6536 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6537
6538 fi;
6539
6540 eval "$ac_cv_use_mdi"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6543 fi
6544
6545 if test "$wxUSE_MDI" = yes; then
6546 echo "$as_me:$LINENO: result: yes" >&5
6547 echo "${ECHO_T}yes" >&6
6548 else
6549 echo "$as_me:$LINENO: result: no" >&5
6550 echo "${ECHO_T}no" >&6
6551 fi
6552
6553
6554 enablestring=
6555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6557 no_cache=0
6558 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6559 if test "${enable_mdidoc+set}" = set; then
6560 enableval="$enable_mdidoc"
6561
6562 if test "$enableval" = yes; then
6563 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6564 else
6565 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6566 fi
6567
6568 else
6569
6570 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x ; then
6572 eval "DEFAULT_$LINE"
6573 else
6574 no_cache=1
6575 fi
6576
6577 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6578
6579 fi;
6580
6581 eval "$ac_cv_use_mdidoc"
6582 if test "$no_cache" != 1; then
6583 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6584 fi
6585
6586 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6587 echo "$as_me:$LINENO: result: yes" >&5
6588 echo "${ECHO_T}yes" >&6
6589 else
6590 echo "$as_me:$LINENO: result: no" >&5
6591 echo "${ECHO_T}no" >&6
6592 fi
6593
6594
6595 enablestring=
6596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6598 no_cache=0
6599 # Check whether --enable-loggui or --disable-loggui was given.
6600 if test "${enable_loggui+set}" = set; then
6601 enableval="$enable_loggui"
6602
6603 if test "$enableval" = yes; then
6604 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6605 else
6606 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6607 fi
6608
6609 else
6610
6611 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x ; then
6613 eval "DEFAULT_$LINE"
6614 else
6615 no_cache=1
6616 fi
6617
6618 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6619
6620 fi;
6621
6622 eval "$ac_cv_use_loggui"
6623 if test "$no_cache" != 1; then
6624 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6625 fi
6626
6627 if test "$wxUSE_LOGGUI" = yes; then
6628 echo "$as_me:$LINENO: result: yes" >&5
6629 echo "${ECHO_T}yes" >&6
6630 else
6631 echo "$as_me:$LINENO: result: no" >&5
6632 echo "${ECHO_T}no" >&6
6633 fi
6634
6635
6636 enablestring=
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6639 no_cache=0
6640 # Check whether --enable-logwin or --disable-logwin was given.
6641 if test "${enable_logwin+set}" = set; then
6642 enableval="$enable_logwin"
6643
6644 if test "$enableval" = yes; then
6645 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6646 else
6647 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6648 fi
6649
6650 else
6651
6652 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x ; then
6654 eval "DEFAULT_$LINE"
6655 else
6656 no_cache=1
6657 fi
6658
6659 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6660
6661 fi;
6662
6663 eval "$ac_cv_use_logwin"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6666 fi
6667
6668 if test "$wxUSE_LOGWINDOW" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6671 else
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6674 fi
6675
6676
6677 enablestring=
6678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6679 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6680 no_cache=0
6681 # Check whether --enable-logdialog or --disable-logdialog was given.
6682 if test "${enable_logdialog+set}" = set; then
6683 enableval="$enable_logdialog"
6684
6685 if test "$enableval" = yes; then
6686 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6687 else
6688 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6689 fi
6690
6691 else
6692
6693 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x ; then
6695 eval "DEFAULT_$LINE"
6696 else
6697 no_cache=1
6698 fi
6699
6700 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6701
6702 fi;
6703
6704 eval "$ac_cv_use_logdialog"
6705 if test "$no_cache" != 1; then
6706 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6707 fi
6708
6709 if test "$wxUSE_LOGDIALOG" = yes; then
6710 echo "$as_me:$LINENO: result: yes" >&5
6711 echo "${ECHO_T}yes" >&6
6712 else
6713 echo "$as_me:$LINENO: result: no" >&5
6714 echo "${ECHO_T}no" >&6
6715 fi
6716
6717
6718 enablestring=
6719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6721 no_cache=0
6722 # Check whether --enable-webkit or --disable-webkit was given.
6723 if test "${enable_webkit+set}" = set; then
6724 enableval="$enable_webkit"
6725
6726 if test "$enableval" = yes; then
6727 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6728 else
6729 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6730 fi
6731
6732 else
6733
6734 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x ; then
6736 eval "DEFAULT_$LINE"
6737 else
6738 no_cache=1
6739 fi
6740
6741 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6742
6743 fi;
6744
6745 eval "$ac_cv_use_webkit"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6748 fi
6749
6750 if test "$wxUSE_WEBKIT" = yes; then
6751 echo "$as_me:$LINENO: result: yes" >&5
6752 echo "${ECHO_T}yes" >&6
6753 else
6754 echo "$as_me:$LINENO: result: no" >&5
6755 echo "${ECHO_T}no" >&6
6756 fi
6757
6758
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-postscript or --disable-postscript was given.
6765 if test "${enable_postscript+set}" = set; then
6766 enableval="$enable_postscript"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6770 else
6771 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6784
6785 fi;
6786
6787 eval "$ac_cv_use_postscript"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_POSTSCRIPT" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801
6802
6803
6804 enablestring=
6805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6807 no_cache=0
6808 # Check whether --enable-prologio or --disable-prologio was given.
6809 if test "${enable_prologio+set}" = set; then
6810 enableval="$enable_prologio"
6811
6812 if test "$enableval" = yes; then
6813 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6814 else
6815 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6816 fi
6817
6818 else
6819
6820 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x ; then
6822 eval "DEFAULT_$LINE"
6823 else
6824 no_cache=1
6825 fi
6826
6827 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6828
6829 fi;
6830
6831 eval "$ac_cv_use_prologio"
6832 if test "$no_cache" != 1; then
6833 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6834 fi
6835
6836 if test "$wxUSE_PROLOGIO" = yes; then
6837 echo "$as_me:$LINENO: result: yes" >&5
6838 echo "${ECHO_T}yes" >&6
6839 else
6840 echo "$as_me:$LINENO: result: no" >&5
6841 echo "${ECHO_T}no" >&6
6842 fi
6843
6844
6845 enablestring=
6846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6847 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6848 no_cache=0
6849 # Check whether --enable-resources or --disable-resources was given.
6850 if test "${enable_resources+set}" = set; then
6851 enableval="$enable_resources"
6852
6853 if test "$enableval" = yes; then
6854 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6855 else
6856 ac_cv_use_resources='wxUSE_RESOURCES=no'
6857 fi
6858
6859 else
6860
6861 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6862 if test "x$LINE" != x ; then
6863 eval "DEFAULT_$LINE"
6864 else
6865 no_cache=1
6866 fi
6867
6868 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6869
6870 fi;
6871
6872 eval "$ac_cv_use_resources"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6875 fi
6876
6877 if test "$wxUSE_RESOURCES" = yes; then
6878 echo "$as_me:$LINENO: result: yes" >&5
6879 echo "${ECHO_T}yes" >&6
6880 else
6881 echo "$as_me:$LINENO: result: no" >&5
6882 echo "${ECHO_T}no" >&6
6883 fi
6884
6885
6886
6887
6888 enablestring=
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6891 no_cache=0
6892 # Check whether --enable-clipboard or --disable-clipboard was given.
6893 if test "${enable_clipboard+set}" = set; then
6894 enableval="$enable_clipboard"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6898 else
6899 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6900 fi
6901
6902 else
6903
6904 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6912
6913 fi;
6914
6915 eval "$ac_cv_use_clipboard"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6918 fi
6919
6920 if test "$wxUSE_CLIPBOARD" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6923 else
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6926 fi
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-dnd or --disable-dnd was given.
6934 if test "${enable_dnd+set}" = set; then
6935 enableval="$enable_dnd"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6939 else
6940 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6953
6954 fi;
6955
6956 eval "$ac_cv_use_dnd"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-metafile or --disable-metafile was given.
6975 if test "${enable_metafile+set}" = set; then
6976 enableval="$enable_metafile"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6980 else
6981 ac_cv_use_metafile='wxUSE_METAFILE=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6994
6995 fi;
6996
6997 eval "$ac_cv_use_metafile"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_METAFILE" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011
7012
7013
7014 enablestring=
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7017 no_cache=0
7018 # Check whether --enable-controls or --disable-controls was given.
7019 if test "${enable_controls+set}" = set; then
7020 enableval="$enable_controls"
7021
7022 if test "$enableval" = yes; then
7023 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7024 else
7025 ac_cv_use_controls='wxUSE_CONTROLS=no'
7026 fi
7027
7028 else
7029
7030 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7033 else
7034 no_cache=1
7035 fi
7036
7037 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7038
7039 fi;
7040
7041 eval "$ac_cv_use_controls"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_CONTROLS" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7049 else
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7052 fi
7053
7054
7055 if test "$wxUSE_CONTROLS" = "yes"; then
7056 DEFAULT_wxUSE_ACCEL=yes
7057 DEFAULT_wxUSE_BMPBUTTON=yes
7058 DEFAULT_wxUSE_BUTTON=yes
7059 DEFAULT_wxUSE_CALCTRL=no
7060 DEFAULT_wxUSE_CARET=yes
7061 DEFAULT_wxUSE_COMBOBOX=yes
7062 DEFAULT_wxUSE_CHECKBOX=yes
7063 DEFAULT_wxUSE_CHECKLISTBOX=yes
7064 DEFAULT_wxUSE_CHOICE=yes
7065 DEFAULT_wxUSE_CHOICEBOOK=yes
7066 DEFAULT_wxUSE_GAUGE=yes
7067 DEFAULT_wxUSE_GRID=yes
7068 DEFAULT_wxUSE_IMAGLIST=yes
7069 DEFAULT_wxUSE_LISTBOOK=yes
7070 DEFAULT_wxUSE_LISTBOX=yes
7071 DEFAULT_wxUSE_LISTCTRL=yes
7072 DEFAULT_wxUSE_NOTEBOOK=yes
7073 DEFAULT_wxUSE_RADIOBOX=yes
7074 DEFAULT_wxUSE_RADIOBTN=yes
7075 DEFAULT_wxUSE_SASH=yes
7076 DEFAULT_wxUSE_SCROLLBAR=yes
7077 DEFAULT_wxUSE_SLIDER=yes
7078 DEFAULT_wxUSE_SPINBTN=yes
7079 DEFAULT_wxUSE_SPINCTRL=yes
7080 DEFAULT_wxUSE_SPLITTER=yes
7081 DEFAULT_wxUSE_STATBMP=yes
7082 DEFAULT_wxUSE_STATBOX=yes
7083 DEFAULT_wxUSE_STATLINE=yes
7084 DEFAULT_wxUSE_STATUSBAR=yes
7085 DEFAULT_wxUSE_TAB_DIALOG=yes
7086 DEFAULT_wxUSE_TOGGLEBTN=yes
7087 DEFAULT_wxUSE_TOOLBAR=yes
7088 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7089 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7090 DEFAULT_wxUSE_TOOLTIPS=yes
7091 DEFAULT_wxUSE_TREECTRL=yes
7092 DEFAULT_wxUSE_POPUPWIN=yes
7093 DEFAULT_wxUSE_TIPWINDOW=yes
7094 elif test "$wxUSE_CONTROLS" = "no"; then
7095 DEFAULT_wxUSE_ACCEL=no
7096 DEFAULT_wxUSE_BMPBUTTON=no
7097 DEFAULT_wxUSE_BUTTON=no
7098 DEFAULT_wxUSE_CALCTRL=no
7099 DEFAULT_wxUSE_CARET=no
7100 DEFAULT_wxUSE_COMBOBOX=no
7101 DEFAULT_wxUSE_CHECKBOX=no
7102 DEFAULT_wxUSE_CHECKLISTBOX=no
7103 DEFAULT_wxUSE_CHOICE=no
7104 DEFAULT_wxUSE_CHOICEBOOK=no
7105 DEFAULT_wxUSE_GAUGE=no
7106 DEFAULT_wxUSE_GRID=no
7107 DEFAULT_wxUSE_IMAGLIST=no
7108 DEFAULT_wxUSE_LISTBOOK=no
7109 DEFAULT_wxUSE_LISTBOX=no
7110 DEFAULT_wxUSE_LISTCTRL=no
7111 DEFAULT_wxUSE_NOTEBOOK=no
7112 DEFAULT_wxUSE_RADIOBOX=no
7113 DEFAULT_wxUSE_RADIOBTN=no
7114 DEFAULT_wxUSE_SASH=no
7115 DEFAULT_wxUSE_SCROLLBAR=no
7116 DEFAULT_wxUSE_SLIDER=no
7117 DEFAULT_wxUSE_SPINBTN=no
7118 DEFAULT_wxUSE_SPINCTRL=no
7119 DEFAULT_wxUSE_SPLITTER=no
7120 DEFAULT_wxUSE_STATBMP=no
7121 DEFAULT_wxUSE_STATBOX=no
7122 DEFAULT_wxUSE_STATLINE=no
7123 DEFAULT_wxUSE_STATUSBAR=no
7124 DEFAULT_wxUSE_TAB_DIALOG=no
7125 DEFAULT_wxUSE_TOGGLEBTN=no
7126 DEFAULT_wxUSE_TOOLBAR=no
7127 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7128 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7129 DEFAULT_wxUSE_TOOLTIPS=no
7130 DEFAULT_wxUSE_TREECTRL=no
7131 DEFAULT_wxUSE_POPUPWIN=no
7132 DEFAULT_wxUSE_TIPWINDOW=no
7133 fi
7134
7135
7136 enablestring=
7137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7139 no_cache=0
7140 # Check whether --enable-accel or --disable-accel was given.
7141 if test "${enable_accel+set}" = set; then
7142 enableval="$enable_accel"
7143
7144 if test "$enableval" = yes; then
7145 ac_cv_use_accel='wxUSE_ACCEL=yes'
7146 else
7147 ac_cv_use_accel='wxUSE_ACCEL=no'
7148 fi
7149
7150 else
7151
7152 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x ; then
7154 eval "DEFAULT_$LINE"
7155 else
7156 no_cache=1
7157 fi
7158
7159 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7160
7161 fi;
7162
7163 eval "$ac_cv_use_accel"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7166 fi
7167
7168 if test "$wxUSE_ACCEL" = yes; then
7169 echo "$as_me:$LINENO: result: yes" >&5
7170 echo "${ECHO_T}yes" >&6
7171 else
7172 echo "$as_me:$LINENO: result: no" >&5
7173 echo "${ECHO_T}no" >&6
7174 fi
7175
7176
7177 enablestring=
7178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7180 no_cache=0
7181 # Check whether --enable-button or --disable-button was given.
7182 if test "${enable_button+set}" = set; then
7183 enableval="$enable_button"
7184
7185 if test "$enableval" = yes; then
7186 ac_cv_use_button='wxUSE_BUTTON=yes'
7187 else
7188 ac_cv_use_button='wxUSE_BUTTON=no'
7189 fi
7190
7191 else
7192
7193 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x ; then
7195 eval "DEFAULT_$LINE"
7196 else
7197 no_cache=1
7198 fi
7199
7200 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7201
7202 fi;
7203
7204 eval "$ac_cv_use_button"
7205 if test "$no_cache" != 1; then
7206 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7207 fi
7208
7209 if test "$wxUSE_BUTTON" = yes; then
7210 echo "$as_me:$LINENO: result: yes" >&5
7211 echo "${ECHO_T}yes" >&6
7212 else
7213 echo "$as_me:$LINENO: result: no" >&5
7214 echo "${ECHO_T}no" >&6
7215 fi
7216
7217
7218 enablestring=
7219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7221 no_cache=0
7222 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7223 if test "${enable_bmpbutton+set}" = set; then
7224 enableval="$enable_bmpbutton"
7225
7226 if test "$enableval" = yes; then
7227 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7228 else
7229 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7230 fi
7231
7232 else
7233
7234 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x ; then
7236 eval "DEFAULT_$LINE"
7237 else
7238 no_cache=1
7239 fi
7240
7241 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7242
7243 fi;
7244
7245 eval "$ac_cv_use_bmpbutton"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7248 fi
7249
7250 if test "$wxUSE_BMPBUTTON" = yes; then
7251 echo "$as_me:$LINENO: result: yes" >&5
7252 echo "${ECHO_T}yes" >&6
7253 else
7254 echo "$as_me:$LINENO: result: no" >&5
7255 echo "${ECHO_T}no" >&6
7256 fi
7257
7258
7259 enablestring=
7260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7261 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7262 no_cache=0
7263 # Check whether --enable-calendar or --disable-calendar was given.
7264 if test "${enable_calendar+set}" = set; then
7265 enableval="$enable_calendar"
7266
7267 if test "$enableval" = yes; then
7268 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7269 else
7270 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7271 fi
7272
7273 else
7274
7275 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x ; then
7277 eval "DEFAULT_$LINE"
7278 else
7279 no_cache=1
7280 fi
7281
7282 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7283
7284 fi;
7285
7286 eval "$ac_cv_use_calendar"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7289 fi
7290
7291 if test "$wxUSE_CALCTRL" = yes; then
7292 echo "$as_me:$LINENO: result: yes" >&5
7293 echo "${ECHO_T}yes" >&6
7294 else
7295 echo "$as_me:$LINENO: result: no" >&5
7296 echo "${ECHO_T}no" >&6
7297 fi
7298
7299
7300 enablestring=
7301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7303 no_cache=0
7304 # Check whether --enable-caret or --disable-caret was given.
7305 if test "${enable_caret+set}" = set; then
7306 enableval="$enable_caret"
7307
7308 if test "$enableval" = yes; then
7309 ac_cv_use_caret='wxUSE_CARET=yes'
7310 else
7311 ac_cv_use_caret='wxUSE_CARET=no'
7312 fi
7313
7314 else
7315
7316 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x ; then
7318 eval "DEFAULT_$LINE"
7319 else
7320 no_cache=1
7321 fi
7322
7323 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7324
7325 fi;
7326
7327 eval "$ac_cv_use_caret"
7328 if test "$no_cache" != 1; then
7329 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7330 fi
7331
7332 if test "$wxUSE_CARET" = yes; then
7333 echo "$as_me:$LINENO: result: yes" >&5
7334 echo "${ECHO_T}yes" >&6
7335 else
7336 echo "$as_me:$LINENO: result: no" >&5
7337 echo "${ECHO_T}no" >&6
7338 fi
7339
7340
7341 enablestring=
7342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7343 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7344 no_cache=0
7345 # Check whether --enable-checkbox or --disable-checkbox was given.
7346 if test "${enable_checkbox+set}" = set; then
7347 enableval="$enable_checkbox"
7348
7349 if test "$enableval" = yes; then
7350 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7351 else
7352 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7353 fi
7354
7355 else
7356
7357 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7358 if test "x$LINE" != x ; then
7359 eval "DEFAULT_$LINE"
7360 else
7361 no_cache=1
7362 fi
7363
7364 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7365
7366 fi;
7367
7368 eval "$ac_cv_use_checkbox"
7369 if test "$no_cache" != 1; then
7370 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7371 fi
7372
7373 if test "$wxUSE_CHECKBOX" = yes; then
7374 echo "$as_me:$LINENO: result: yes" >&5
7375 echo "${ECHO_T}yes" >&6
7376 else
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7379 fi
7380
7381
7382 enablestring=
7383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7384 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7385 no_cache=0
7386 # Check whether --enable-checklst or --disable-checklst was given.
7387 if test "${enable_checklst+set}" = set; then
7388 enableval="$enable_checklst"
7389
7390 if test "$enableval" = yes; then
7391 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7392 else
7393 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7394 fi
7395
7396 else
7397
7398 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7399 if test "x$LINE" != x ; then
7400 eval "DEFAULT_$LINE"
7401 else
7402 no_cache=1
7403 fi
7404
7405 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7406
7407 fi;
7408
7409 eval "$ac_cv_use_checklst"
7410 if test "$no_cache" != 1; then
7411 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7412 fi
7413
7414 if test "$wxUSE_CHECKLST" = yes; then
7415 echo "$as_me:$LINENO: result: yes" >&5
7416 echo "${ECHO_T}yes" >&6
7417 else
7418 echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6
7420 fi
7421
7422
7423 enablestring=
7424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7425 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7426 no_cache=0
7427 # Check whether --enable-choice or --disable-choice was given.
7428 if test "${enable_choice+set}" = set; then
7429 enableval="$enable_choice"
7430
7431 if test "$enableval" = yes; then
7432 ac_cv_use_choice='wxUSE_CHOICE=yes'
7433 else
7434 ac_cv_use_choice='wxUSE_CHOICE=no'
7435 fi
7436
7437 else
7438
7439 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7440 if test "x$LINE" != x ; then
7441 eval "DEFAULT_$LINE"
7442 else
7443 no_cache=1
7444 fi
7445
7446 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7447
7448 fi;
7449
7450 eval "$ac_cv_use_choice"
7451 if test "$no_cache" != 1; then
7452 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7453 fi
7454
7455 if test "$wxUSE_CHOICE" = yes; then
7456 echo "$as_me:$LINENO: result: yes" >&5
7457 echo "${ECHO_T}yes" >&6
7458 else
7459 echo "$as_me:$LINENO: result: no" >&5
7460 echo "${ECHO_T}no" >&6
7461 fi
7462
7463
7464 enablestring=
7465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7466 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7467 no_cache=0
7468 # Check whether --enable-choicebook or --disable-choicebook was given.
7469 if test "${enable_choicebook+set}" = set; then
7470 enableval="$enable_choicebook"
7471
7472 if test "$enableval" = yes; then
7473 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7474 else
7475 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7476 fi
7477
7478 else
7479
7480 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7481 if test "x$LINE" != x ; then
7482 eval "DEFAULT_$LINE"
7483 else
7484 no_cache=1
7485 fi
7486
7487 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7488
7489 fi;
7490
7491 eval "$ac_cv_use_choicebook"
7492 if test "$no_cache" != 1; then
7493 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7494 fi
7495
7496 if test "$wxUSE_CHOICEBOOK" = yes; then
7497 echo "$as_me:$LINENO: result: yes" >&5
7498 echo "${ECHO_T}yes" >&6
7499 else
7500 echo "$as_me:$LINENO: result: no" >&5
7501 echo "${ECHO_T}no" >&6
7502 fi
7503
7504
7505 enablestring=
7506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7507 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7508 no_cache=0
7509 # Check whether --enable-combobox or --disable-combobox was given.
7510 if test "${enable_combobox+set}" = set; then
7511 enableval="$enable_combobox"
7512
7513 if test "$enableval" = yes; then
7514 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7515 else
7516 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7517 fi
7518
7519 else
7520
7521 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x ; then
7523 eval "DEFAULT_$LINE"
7524 else
7525 no_cache=1
7526 fi
7527
7528 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7529
7530 fi;
7531
7532 eval "$ac_cv_use_combobox"
7533 if test "$no_cache" != 1; then
7534 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7535 fi
7536
7537 if test "$wxUSE_COMBOBOX" = yes; then
7538 echo "$as_me:$LINENO: result: yes" >&5
7539 echo "${ECHO_T}yes" >&6
7540 else
7541 echo "$as_me:$LINENO: result: no" >&5
7542 echo "${ECHO_T}no" >&6
7543 fi
7544
7545
7546 enablestring=
7547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7549 no_cache=0
7550 # Check whether --enable-display or --disable-display was given.
7551 if test "${enable_display+set}" = set; then
7552 enableval="$enable_display"
7553
7554 if test "$enableval" = yes; then
7555 ac_cv_use_display='wxUSE_DISPLAY=yes'
7556 else
7557 ac_cv_use_display='wxUSE_DISPLAY=no'
7558 fi
7559
7560 else
7561
7562 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x ; then
7564 eval "DEFAULT_$LINE"
7565 else
7566 no_cache=1
7567 fi
7568
7569 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7570
7571 fi;
7572
7573 eval "$ac_cv_use_display"
7574 if test "$no_cache" != 1; then
7575 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7576 fi
7577
7578 if test "$wxUSE_DISPLAY" = yes; then
7579 echo "$as_me:$LINENO: result: yes" >&5
7580 echo "${ECHO_T}yes" >&6
7581 else
7582 echo "$as_me:$LINENO: result: no" >&5
7583 echo "${ECHO_T}no" >&6
7584 fi
7585
7586
7587 enablestring=
7588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7589 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7590 no_cache=0
7591 # Check whether --enable-gauge or --disable-gauge was given.
7592 if test "${enable_gauge+set}" = set; then
7593 enableval="$enable_gauge"
7594
7595 if test "$enableval" = yes; then
7596 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7597 else
7598 ac_cv_use_gauge='wxUSE_GAUGE=no'
7599 fi
7600
7601 else
7602
7603 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x ; then
7605 eval "DEFAULT_$LINE"
7606 else
7607 no_cache=1
7608 fi
7609
7610 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7611
7612 fi;
7613
7614 eval "$ac_cv_use_gauge"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7617 fi
7618
7619 if test "$wxUSE_GAUGE" = yes; then
7620 echo "$as_me:$LINENO: result: yes" >&5
7621 echo "${ECHO_T}yes" >&6
7622 else
7623 echo "$as_me:$LINENO: result: no" >&5
7624 echo "${ECHO_T}no" >&6
7625 fi
7626
7627
7628 enablestring=
7629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7631 no_cache=0
7632 # Check whether --enable-grid or --disable-grid was given.
7633 if test "${enable_grid+set}" = set; then
7634 enableval="$enable_grid"
7635
7636 if test "$enableval" = yes; then
7637 ac_cv_use_grid='wxUSE_GRID=yes'
7638 else
7639 ac_cv_use_grid='wxUSE_GRID=no'
7640 fi
7641
7642 else
7643
7644 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7645 if test "x$LINE" != x ; then
7646 eval "DEFAULT_$LINE"
7647 else
7648 no_cache=1
7649 fi
7650
7651 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7652
7653 fi;
7654
7655 eval "$ac_cv_use_grid"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7658 fi
7659
7660 if test "$wxUSE_GRID" = yes; then
7661 echo "$as_me:$LINENO: result: yes" >&5
7662 echo "${ECHO_T}yes" >&6
7663 else
7664 echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6
7666 fi
7667
7668
7669 enablestring=
7670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7671 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7672 no_cache=0
7673 # Check whether --enable-imaglist or --disable-imaglist was given.
7674 if test "${enable_imaglist+set}" = set; then
7675 enableval="$enable_imaglist"
7676
7677 if test "$enableval" = yes; then
7678 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7679 else
7680 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7681 fi
7682
7683 else
7684
7685 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x ; then
7687 eval "DEFAULT_$LINE"
7688 else
7689 no_cache=1
7690 fi
7691
7692 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7693
7694 fi;
7695
7696 eval "$ac_cv_use_imaglist"
7697 if test "$no_cache" != 1; then
7698 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7699 fi
7700
7701 if test "$wxUSE_IMAGLIST" = yes; then
7702 echo "$as_me:$LINENO: result: yes" >&5
7703 echo "${ECHO_T}yes" >&6
7704 else
7705 echo "$as_me:$LINENO: result: no" >&5
7706 echo "${ECHO_T}no" >&6
7707 fi
7708
7709
7710 enablestring=
7711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7713 no_cache=0
7714 # Check whether --enable-listbook or --disable-listbook was given.
7715 if test "${enable_listbook+set}" = set; then
7716 enableval="$enable_listbook"
7717
7718 if test "$enableval" = yes; then
7719 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7720 else
7721 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7722 fi
7723
7724 else
7725
7726 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7727 if test "x$LINE" != x ; then
7728 eval "DEFAULT_$LINE"
7729 else
7730 no_cache=1
7731 fi
7732
7733 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7734
7735 fi;
7736
7737 eval "$ac_cv_use_listbook"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7740 fi
7741
7742 if test "$wxUSE_LISTBOOK" = yes; then
7743 echo "$as_me:$LINENO: result: yes" >&5
7744 echo "${ECHO_T}yes" >&6
7745 else
7746 echo "$as_me:$LINENO: result: no" >&5
7747 echo "${ECHO_T}no" >&6
7748 fi
7749
7750
7751 enablestring=
7752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7753 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7754 no_cache=0
7755 # Check whether --enable-listbox or --disable-listbox was given.
7756 if test "${enable_listbox+set}" = set; then
7757 enableval="$enable_listbox"
7758
7759 if test "$enableval" = yes; then
7760 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7761 else
7762 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7763 fi
7764
7765 else
7766
7767 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7768 if test "x$LINE" != x ; then
7769 eval "DEFAULT_$LINE"
7770 else
7771 no_cache=1
7772 fi
7773
7774 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7775
7776 fi;
7777
7778 eval "$ac_cv_use_listbox"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7781 fi
7782
7783 if test "$wxUSE_LISTBOX" = yes; then
7784 echo "$as_me:$LINENO: result: yes" >&5
7785 echo "${ECHO_T}yes" >&6
7786 else
7787 echo "$as_me:$LINENO: result: no" >&5
7788 echo "${ECHO_T}no" >&6
7789 fi
7790
7791
7792 enablestring=
7793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7795 no_cache=0
7796 # Check whether --enable-listctrl or --disable-listctrl was given.
7797 if test "${enable_listctrl+set}" = set; then
7798 enableval="$enable_listctrl"
7799
7800 if test "$enableval" = yes; then
7801 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7802 else
7803 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7804 fi
7805
7806 else
7807
7808 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7809 if test "x$LINE" != x ; then
7810 eval "DEFAULT_$LINE"
7811 else
7812 no_cache=1
7813 fi
7814
7815 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7816
7817 fi;
7818
7819 eval "$ac_cv_use_listctrl"
7820 if test "$no_cache" != 1; then
7821 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7822 fi
7823
7824 if test "$wxUSE_LISTCTRL" = yes; then
7825 echo "$as_me:$LINENO: result: yes" >&5
7826 echo "${ECHO_T}yes" >&6
7827 else
7828 echo "$as_me:$LINENO: result: no" >&5
7829 echo "${ECHO_T}no" >&6
7830 fi
7831
7832
7833 enablestring=
7834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7835 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7836 no_cache=0
7837 # Check whether --enable-notebook or --disable-notebook was given.
7838 if test "${enable_notebook+set}" = set; then
7839 enableval="$enable_notebook"
7840
7841 if test "$enableval" = yes; then
7842 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7843 else
7844 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7845 fi
7846
7847 else
7848
7849 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7850 if test "x$LINE" != x ; then
7851 eval "DEFAULT_$LINE"
7852 else
7853 no_cache=1
7854 fi
7855
7856 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7857
7858 fi;
7859
7860 eval "$ac_cv_use_notebook"
7861 if test "$no_cache" != 1; then
7862 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7863 fi
7864
7865 if test "$wxUSE_NOTEBOOK" = yes; then
7866 echo "$as_me:$LINENO: result: yes" >&5
7867 echo "${ECHO_T}yes" >&6
7868 else
7869 echo "$as_me:$LINENO: result: no" >&5
7870 echo "${ECHO_T}no" >&6
7871 fi
7872
7873
7874 enablestring=
7875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7876 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7877 no_cache=0
7878 # Check whether --enable-radiobox or --disable-radiobox was given.
7879 if test "${enable_radiobox+set}" = set; then
7880 enableval="$enable_radiobox"
7881
7882 if test "$enableval" = yes; then
7883 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7884 else
7885 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7886 fi
7887
7888 else
7889
7890 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x ; then
7892 eval "DEFAULT_$LINE"
7893 else
7894 no_cache=1
7895 fi
7896
7897 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7898
7899 fi;
7900
7901 eval "$ac_cv_use_radiobox"
7902 if test "$no_cache" != 1; then
7903 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7904 fi
7905
7906 if test "$wxUSE_RADIOBOX" = yes; then
7907 echo "$as_me:$LINENO: result: yes" >&5
7908 echo "${ECHO_T}yes" >&6
7909 else
7910 echo "$as_me:$LINENO: result: no" >&5
7911 echo "${ECHO_T}no" >&6
7912 fi
7913
7914
7915 enablestring=
7916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7918 no_cache=0
7919 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7920 if test "${enable_radiobtn+set}" = set; then
7921 enableval="$enable_radiobtn"
7922
7923 if test "$enableval" = yes; then
7924 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7925 else
7926 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7927 fi
7928
7929 else
7930
7931 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7934 else
7935 no_cache=1
7936 fi
7937
7938 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7939
7940 fi;
7941
7942 eval "$ac_cv_use_radiobtn"
7943 if test "$no_cache" != 1; then
7944 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7945 fi
7946
7947 if test "$wxUSE_RADIOBTN" = yes; then
7948 echo "$as_me:$LINENO: result: yes" >&5
7949 echo "${ECHO_T}yes" >&6
7950 else
7951 echo "$as_me:$LINENO: result: no" >&5
7952 echo "${ECHO_T}no" >&6
7953 fi
7954
7955
7956 enablestring=
7957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7959 no_cache=0
7960 # Check whether --enable-sash or --disable-sash was given.
7961 if test "${enable_sash+set}" = set; then
7962 enableval="$enable_sash"
7963
7964 if test "$enableval" = yes; then
7965 ac_cv_use_sash='wxUSE_SASH=yes'
7966 else
7967 ac_cv_use_sash='wxUSE_SASH=no'
7968 fi
7969
7970 else
7971
7972 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x ; then
7974 eval "DEFAULT_$LINE"
7975 else
7976 no_cache=1
7977 fi
7978
7979 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7980
7981 fi;
7982
7983 eval "$ac_cv_use_sash"
7984 if test "$no_cache" != 1; then
7985 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7986 fi
7987
7988 if test "$wxUSE_SASH" = yes; then
7989 echo "$as_me:$LINENO: result: yes" >&5
7990 echo "${ECHO_T}yes" >&6
7991 else
7992 echo "$as_me:$LINENO: result: no" >&5
7993 echo "${ECHO_T}no" >&6
7994 fi
7995
7996
7997 enablestring=
7998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7999 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8000 no_cache=0
8001 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8002 if test "${enable_scrollbar+set}" = set; then
8003 enableval="$enable_scrollbar"
8004
8005 if test "$enableval" = yes; then
8006 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8007 else
8008 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8009 fi
8010
8011 else
8012
8013 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8014 if test "x$LINE" != x ; then
8015 eval "DEFAULT_$LINE"
8016 else
8017 no_cache=1
8018 fi
8019
8020 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8021
8022 fi;
8023
8024 eval "$ac_cv_use_scrollbar"
8025 if test "$no_cache" != 1; then
8026 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8027 fi
8028
8029 if test "$wxUSE_SCROLLBAR" = yes; then
8030 echo "$as_me:$LINENO: result: yes" >&5
8031 echo "${ECHO_T}yes" >&6
8032 else
8033 echo "$as_me:$LINENO: result: no" >&5
8034 echo "${ECHO_T}no" >&6
8035 fi
8036
8037
8038 enablestring=
8039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8041 no_cache=0
8042 # Check whether --enable-slider or --disable-slider was given.
8043 if test "${enable_slider+set}" = set; then
8044 enableval="$enable_slider"
8045
8046 if test "$enableval" = yes; then
8047 ac_cv_use_slider='wxUSE_SLIDER=yes'
8048 else
8049 ac_cv_use_slider='wxUSE_SLIDER=no'
8050 fi
8051
8052 else
8053
8054 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8055 if test "x$LINE" != x ; then
8056 eval "DEFAULT_$LINE"
8057 else
8058 no_cache=1
8059 fi
8060
8061 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8062
8063 fi;
8064
8065 eval "$ac_cv_use_slider"
8066 if test "$no_cache" != 1; then
8067 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8068 fi
8069
8070 if test "$wxUSE_SLIDER" = yes; then
8071 echo "$as_me:$LINENO: result: yes" >&5
8072 echo "${ECHO_T}yes" >&6
8073 else
8074 echo "$as_me:$LINENO: result: no" >&5
8075 echo "${ECHO_T}no" >&6
8076 fi
8077
8078
8079 enablestring=
8080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8081 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8082 no_cache=0
8083 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8084 if test "${enable_spinbtn+set}" = set; then
8085 enableval="$enable_spinbtn"
8086
8087 if test "$enableval" = yes; then
8088 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8089 else
8090 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8091 fi
8092
8093 else
8094
8095 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8096 if test "x$LINE" != x ; then
8097 eval "DEFAULT_$LINE"
8098 else
8099 no_cache=1
8100 fi
8101
8102 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8103
8104 fi;
8105
8106 eval "$ac_cv_use_spinbtn"
8107 if test "$no_cache" != 1; then
8108 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8109 fi
8110
8111 if test "$wxUSE_SPINBTN" = yes; then
8112 echo "$as_me:$LINENO: result: yes" >&5
8113 echo "${ECHO_T}yes" >&6
8114 else
8115 echo "$as_me:$LINENO: result: no" >&5
8116 echo "${ECHO_T}no" >&6
8117 fi
8118
8119
8120 enablestring=
8121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8123 no_cache=0
8124 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8125 if test "${enable_spinctrl+set}" = set; then
8126 enableval="$enable_spinctrl"
8127
8128 if test "$enableval" = yes; then
8129 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8130 else
8131 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8132 fi
8133
8134 else
8135
8136 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x ; then
8138 eval "DEFAULT_$LINE"
8139 else
8140 no_cache=1
8141 fi
8142
8143 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8144
8145 fi;
8146
8147 eval "$ac_cv_use_spinctrl"
8148 if test "$no_cache" != 1; then
8149 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8150 fi
8151
8152 if test "$wxUSE_SPINCTRL" = yes; then
8153 echo "$as_me:$LINENO: result: yes" >&5
8154 echo "${ECHO_T}yes" >&6
8155 else
8156 echo "$as_me:$LINENO: result: no" >&5
8157 echo "${ECHO_T}no" >&6
8158 fi
8159
8160
8161 enablestring=
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8164 no_cache=0
8165 # Check whether --enable-splitter or --disable-splitter was given.
8166 if test "${enable_splitter+set}" = set; then
8167 enableval="$enable_splitter"
8168
8169 if test "$enableval" = yes; then
8170 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8171 else
8172 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8173 fi
8174
8175 else
8176
8177 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8180 else
8181 no_cache=1
8182 fi
8183
8184 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8185
8186 fi;
8187
8188 eval "$ac_cv_use_splitter"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8191 fi
8192
8193 if test "$wxUSE_SPLITTER" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6
8196 else
8197 echo "$as_me:$LINENO: result: no" >&5
8198 echo "${ECHO_T}no" >&6
8199 fi
8200
8201
8202 enablestring=
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8205 no_cache=0
8206 # Check whether --enable-statbmp or --disable-statbmp was given.
8207 if test "${enable_statbmp+set}" = set; then
8208 enableval="$enable_statbmp"
8209
8210 if test "$enableval" = yes; then
8211 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8212 else
8213 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8214 fi
8215
8216 else
8217
8218 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8221 else
8222 no_cache=1
8223 fi
8224
8225 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8226
8227 fi;
8228
8229 eval "$ac_cv_use_statbmp"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8232 fi
8233
8234 if test "$wxUSE_STATBMP" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236 echo "${ECHO_T}yes" >&6
8237 else
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8240 fi
8241
8242
8243 enablestring=
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8246 no_cache=0
8247 # Check whether --enable-statbox or --disable-statbox was given.
8248 if test "${enable_statbox+set}" = set; then
8249 enableval="$enable_statbox"
8250
8251 if test "$enableval" = yes; then
8252 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8253 else
8254 ac_cv_use_statbox='wxUSE_STATBOX=no'
8255 fi
8256
8257 else
8258
8259 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 else
8263 no_cache=1
8264 fi
8265
8266 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8267
8268 fi;
8269
8270 eval "$ac_cv_use_statbox"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8273 fi
8274
8275 if test "$wxUSE_STATBOX" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8278 else
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8281 fi
8282
8283
8284 enablestring=
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8287 no_cache=0
8288 # Check whether --enable-statline or --disable-statline was given.
8289 if test "${enable_statline+set}" = set; then
8290 enableval="$enable_statline"
8291
8292 if test "$enableval" = yes; then
8293 ac_cv_use_statline='wxUSE_STATLINE=yes'
8294 else
8295 ac_cv_use_statline='wxUSE_STATLINE=no'
8296 fi
8297
8298 else
8299
8300 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8303 else
8304 no_cache=1
8305 fi
8306
8307 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8308
8309 fi;
8310
8311 eval "$ac_cv_use_statline"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8314 fi
8315
8316 if test "$wxUSE_STATLINE" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8319 else
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8322 fi
8323
8324
8325 enablestring=
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8328 no_cache=0
8329 # Check whether --enable-stattext or --disable-stattext was given.
8330 if test "${enable_stattext+set}" = set; then
8331 enableval="$enable_stattext"
8332
8333 if test "$enableval" = yes; then
8334 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8335 else
8336 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8337 fi
8338
8339 else
8340
8341 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8344 else
8345 no_cache=1
8346 fi
8347
8348 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8349
8350 fi;
8351
8352 eval "$ac_cv_use_stattext"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8355 fi
8356
8357 if test "$wxUSE_STATTEXT" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8360 else
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8363 fi
8364
8365
8366 enablestring=
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8369 no_cache=0
8370 # Check whether --enable-statusbar or --disable-statusbar was given.
8371 if test "${enable_statusbar+set}" = set; then
8372 enableval="$enable_statusbar"
8373
8374 if test "$enableval" = yes; then
8375 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8376 else
8377 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8378 fi
8379
8380 else
8381
8382 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8385 else
8386 no_cache=1
8387 fi
8388
8389 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8390
8391 fi;
8392
8393 eval "$ac_cv_use_statusbar"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test "$wxUSE_STATUSBAR" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8401 else
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8404 fi
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8412 if test "${enable_tabdialog+set}" = set; then
8413 enableval="$enable_tabdialog"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8417 else
8418 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8419 fi
8420
8421 else
8422
8423 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8431
8432 fi;
8433
8434 eval "$ac_cv_use_tabdialog"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_TABDIALOG" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-textctrl or --disable-textctrl was given.
8453 if test "${enable_textctrl+set}" = set; then
8454 enableval="$enable_textctrl"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8458 else
8459 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8460 fi
8461
8462 else
8463
8464 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8472
8473 fi;
8474
8475 eval "$ac_cv_use_textctrl"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_TEXTCTRL" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8494 if test "${enable_togglebtn+set}" = set; then
8495 enableval="$enable_togglebtn"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8499 else
8500 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8501 fi
8502
8503 else
8504
8505 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8513
8514 fi;
8515
8516 eval "$ac_cv_use_togglebtn"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_TOGGLEBTN" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-toolbar or --disable-toolbar was given.
8535 if test "${enable_toolbar+set}" = set; then
8536 enableval="$enable_toolbar"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8540 else
8541 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8542 fi
8543
8544 else
8545
8546 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8554
8555 fi;
8556
8557 eval "$ac_cv_use_toolbar"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_TOOLBAR" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8576 if test "${enable_tbarnative+set}" = set; then
8577 enableval="$enable_tbarnative"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8581 else
8582 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8583 fi
8584
8585 else
8586
8587 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8595
8596 fi;
8597
8598 eval "$ac_cv_use_tbarnative"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8617 if test "${enable_tbarsmpl+set}" = set; then
8618 enableval="$enable_tbarsmpl"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8622 else
8623 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8624 fi
8625
8626 else
8627
8628 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8636
8637 fi;
8638
8639 eval "$ac_cv_use_tbarsmpl"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-treectrl or --disable-treectrl was given.
8658 if test "${enable_treectrl+set}" = set; then
8659 enableval="$enable_treectrl"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8663 else
8664 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8665 fi
8666
8667 else
8668
8669 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8677
8678 fi;
8679
8680 eval "$ac_cv_use_treectrl"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_TREECTRL" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8699 if test "${enable_tipwindow+set}" = set; then
8700 enableval="$enable_tipwindow"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8704 else
8705 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8706 fi
8707
8708 else
8709
8710 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8718
8719 fi;
8720
8721 eval "$ac_cv_use_tipwindow"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_TIPWINDOW" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735 enablestring=
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8738 no_cache=0
8739 # Check whether --enable-popupwin or --disable-popupwin was given.
8740 if test "${enable_popupwin+set}" = set; then
8741 enableval="$enable_popupwin"
8742
8743 if test "$enableval" = yes; then
8744 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8745 else
8746 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8747 fi
8748
8749 else
8750
8751 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x ; then
8753 eval "DEFAULT_$LINE"
8754 else
8755 no_cache=1
8756 fi
8757
8758 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8759
8760 fi;
8761
8762 eval "$ac_cv_use_popupwin"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8765 fi
8766
8767 if test "$wxUSE_POPUPWIN" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6
8770 else
8771 echo "$as_me:$LINENO: result: no" >&5
8772 echo "${ECHO_T}no" >&6
8773 fi
8774
8775
8776
8777
8778 enablestring=
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8781 no_cache=0
8782 # Check whether --enable-commondlg or --disable-commondlg was given.
8783 if test "${enable_commondlg+set}" = set; then
8784 enableval="$enable_commondlg"
8785
8786 if test "$enableval" = yes; then
8787 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8788 else
8789 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8790 fi
8791
8792 else
8793
8794 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8797 else
8798 no_cache=1
8799 fi
8800
8801 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8802
8803 fi;
8804
8805 eval "$ac_cv_use_commondlg"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8808 fi
8809
8810 if test "$wxUSE_COMMONDLGS" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8813 else
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8816 fi
8817
8818
8819 enablestring=
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8822 no_cache=0
8823 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8824 if test "${enable_choicedlg+set}" = set; then
8825 enableval="$enable_choicedlg"
8826
8827 if test "$enableval" = yes; then
8828 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8829 else
8830 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8831 fi
8832
8833 else
8834
8835 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 else
8839 no_cache=1
8840 fi
8841
8842 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8843
8844 fi;
8845
8846 eval "$ac_cv_use_choicedlg"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test "$wxUSE_CHOICEDLG" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8854 else
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8857 fi
8858
8859
8860 enablestring=
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8863 no_cache=0
8864 # Check whether --enable-coldlg or --disable-coldlg was given.
8865 if test "${enable_coldlg+set}" = set; then
8866 enableval="$enable_coldlg"
8867
8868 if test "$enableval" = yes; then
8869 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8870 else
8871 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8872 fi
8873
8874 else
8875
8876 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8879 else
8880 no_cache=1
8881 fi
8882
8883 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8884
8885 fi;
8886
8887 eval "$ac_cv_use_coldlg"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8890 fi
8891
8892 if test "$wxUSE_COLOURDLG" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8895 else
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8898 fi
8899
8900
8901 enablestring=
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8904 no_cache=0
8905 # Check whether --enable-filedlg or --disable-filedlg was given.
8906 if test "${enable_filedlg+set}" = set; then
8907 enableval="$enable_filedlg"
8908
8909 if test "$enableval" = yes; then
8910 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8911 else
8912 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8913 fi
8914
8915 else
8916
8917 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8920 else
8921 no_cache=1
8922 fi
8923
8924 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8925
8926 fi;
8927
8928 eval "$ac_cv_use_filedlg"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8931 fi
8932
8933 if test "$wxUSE_FILEDLG" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8936 else
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8939 fi
8940
8941
8942 enablestring=
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8945 no_cache=0
8946 # Check whether --enable-finddlg or --disable-finddlg was given.
8947 if test "${enable_finddlg+set}" = set; then
8948 enableval="$enable_finddlg"
8949
8950 if test "$enableval" = yes; then
8951 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8952 else
8953 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8954 fi
8955
8956 else
8957
8958 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 else
8962 no_cache=1
8963 fi
8964
8965 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8966
8967 fi;
8968
8969 eval "$ac_cv_use_finddlg"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8972 fi
8973
8974 if test "$wxUSE_FINDREPLDLG" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8977 else
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8980 fi
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8988 if test "${enable_fontdlg+set}" = set; then
8989 enableval="$enable_fontdlg"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8993 else
8994 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8995 fi
8996
8997 else
8998
8999 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9007
9008 fi;
9009
9010 eval "$ac_cv_use_fontdlg"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_FONTDLG" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9029 if test "${enable_dirdlg+set}" = set; then
9030 enableval="$enable_dirdlg"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9034 else
9035 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9036 fi
9037
9038 else
9039
9040 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9048
9049 fi;
9050
9051 eval "$ac_cv_use_dirdlg"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_DIRDLG" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9070 if test "${enable_msgdlg+set}" = set; then
9071 enableval="$enable_msgdlg"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9075 else
9076 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9077 fi
9078
9079 else
9080
9081 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9089
9090 fi;
9091
9092 eval "$ac_cv_use_msgdlg"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_MSGDLG" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9111 if test "${enable_numberdlg+set}" = set; then
9112 enableval="$enable_numberdlg"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9116 else
9117 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9118 fi
9119
9120 else
9121
9122 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9130
9131 fi;
9132
9133 eval "$ac_cv_use_numberdlg"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_NUMBERDLG" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147 enablestring=
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9150 no_cache=0
9151 # Check whether --enable-splash or --disable-splash was given.
9152 if test "${enable_splash+set}" = set; then
9153 enableval="$enable_splash"
9154
9155 if test "$enableval" = yes; then
9156 ac_cv_use_splash='wxUSE_SPLASH=yes'
9157 else
9158 ac_cv_use_splash='wxUSE_SPLASH=no'
9159 fi
9160
9161 else
9162
9163 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9166 else
9167 no_cache=1
9168 fi
9169
9170 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9171
9172 fi;
9173
9174 eval "$ac_cv_use_splash"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test "$wxUSE_SPLASH" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9182 else
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9185 fi
9186
9187
9188 enablestring=
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9191 no_cache=0
9192 # Check whether --enable-textdlg or --disable-textdlg was given.
9193 if test "${enable_textdlg+set}" = set; then
9194 enableval="$enable_textdlg"
9195
9196 if test "$enableval" = yes; then
9197 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9198 else
9199 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9200 fi
9201
9202 else
9203
9204 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9207 else
9208 no_cache=1
9209 fi
9210
9211 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9212
9213 fi;
9214
9215 eval "$ac_cv_use_textdlg"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9218 fi
9219
9220 if test "$wxUSE_TEXTDLG" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9223 else
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9226 fi
9227
9228
9229 enablestring=
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9234 if test "${enable_tipdlg+set}" = set; then
9235 enableval="$enable_tipdlg"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9239 else
9240 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9241 fi
9242
9243 else
9244
9245 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9253
9254 fi;
9255
9256 eval "$ac_cv_use_tipdlg"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test "$wxUSE_STARTUP_TIPS" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9264 else
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9267 fi
9268
9269
9270 enablestring=
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9273 no_cache=0
9274 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9275 if test "${enable_progressdlg+set}" = set; then
9276 enableval="$enable_progressdlg"
9277
9278 if test "$enableval" = yes; then
9279 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9280 else
9281 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9282 fi
9283
9284 else
9285
9286 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 else
9290 no_cache=1
9291 fi
9292
9293 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9294
9295 fi;
9296
9297 eval "$ac_cv_use_progressdlg"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test "$wxUSE_PROGRESSDLG" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9305 else
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9308 fi
9309
9310
9311 enablestring=
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9314 no_cache=0
9315 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9316 if test "${enable_wizarddlg+set}" = set; then
9317 enableval="$enable_wizarddlg"
9318
9319 if test "$enableval" = yes; then
9320 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9321 else
9322 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9323 fi
9324
9325 else
9326
9327 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9335
9336 fi;
9337
9338 eval "$ac_cv_use_wizarddlg"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test "$wxUSE_WIZARDDLG" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9346 else
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9349 fi
9350
9351
9352
9353
9354 enablestring=
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9357 no_cache=0
9358 # Check whether --enable-menus or --disable-menus was given.
9359 if test "${enable_menus+set}" = set; then
9360 enableval="$enable_menus"
9361
9362 if test "$enableval" = yes; then
9363 ac_cv_use_menus='wxUSE_MENUS=yes'
9364 else
9365 ac_cv_use_menus='wxUSE_MENUS=no'
9366 fi
9367
9368 else
9369
9370 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9373 else
9374 no_cache=1
9375 fi
9376
9377 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9378
9379 fi;
9380
9381 eval "$ac_cv_use_menus"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9384 fi
9385
9386 if test "$wxUSE_MENUS" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9389 else
9390 echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6
9392 fi
9393
9394
9395 enablestring=
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9398 no_cache=0
9399 # Check whether --enable-miniframe or --disable-miniframe was given.
9400 if test "${enable_miniframe+set}" = set; then
9401 enableval="$enable_miniframe"
9402
9403 if test "$enableval" = yes; then
9404 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9405 else
9406 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9407 fi
9408
9409 else
9410
9411 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9414 else
9415 no_cache=1
9416 fi
9417
9418 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9419
9420 fi;
9421
9422 eval "$ac_cv_use_miniframe"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9425 fi
9426
9427 if test "$wxUSE_MINIFRAME" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9430 else
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9433 fi
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-tooltips or --disable-tooltips was given.
9441 if test "${enable_tooltips+set}" = set; then
9442 enableval="$enable_tooltips"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9446 else
9447 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9448 fi
9449
9450 else
9451
9452 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9460
9461 fi;
9462
9463 eval "$ac_cv_use_tooltips"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_TOOLTIPS" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477 enablestring=
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9480 no_cache=0
9481 # Check whether --enable-splines or --disable-splines was given.
9482 if test "${enable_splines+set}" = set; then
9483 enableval="$enable_splines"
9484
9485 if test "$enableval" = yes; then
9486 ac_cv_use_splines='wxUSE_SPLINES=yes'
9487 else
9488 ac_cv_use_splines='wxUSE_SPLINES=no'
9489 fi
9490
9491 else
9492
9493 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9496 else
9497 no_cache=1
9498 fi
9499
9500 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9501
9502 fi;
9503
9504 eval "$ac_cv_use_splines"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test "$wxUSE_SPLINES" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9512 else
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9515 fi
9516
9517
9518 enablestring=
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9521 no_cache=0
9522 # Check whether --enable-validators or --disable-validators was given.
9523 if test "${enable_validators+set}" = set; then
9524 enableval="$enable_validators"
9525
9526 if test "$enableval" = yes; then
9527 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9528 else
9529 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9530 fi
9531
9532 else
9533
9534 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x ; then
9536 eval "DEFAULT_$LINE"
9537 else
9538 no_cache=1
9539 fi
9540
9541 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9542
9543 fi;
9544
9545 eval "$ac_cv_use_validators"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9548 fi
9549
9550 if test "$wxUSE_VALIDATORS" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9553 else
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9556 fi
9557
9558
9559 enablestring=
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9562 no_cache=0
9563 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9564 if test "${enable_busyinfo+set}" = set; then
9565 enableval="$enable_busyinfo"
9566
9567 if test "$enableval" = yes; then
9568 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9569 else
9570 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9571 fi
9572
9573 else
9574
9575 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x ; then
9577 eval "DEFAULT_$LINE"
9578 else
9579 no_cache=1
9580 fi
9581
9582 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9583
9584 fi;
9585
9586 eval "$ac_cv_use_busyinfo"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test "$wxUSE_BUSYINFO" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9594 else
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9597 fi
9598
9599
9600 enablestring=
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9603 no_cache=0
9604 # Check whether --enable-joystick or --disable-joystick was given.
9605 if test "${enable_joystick+set}" = set; then
9606 enableval="$enable_joystick"
9607
9608 if test "$enableval" = yes; then
9609 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9610 else
9611 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9612 fi
9613
9614 else
9615
9616 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 else
9620 no_cache=1
9621 fi
9622
9623 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9624
9625 fi;
9626
9627 eval "$ac_cv_use_joystick"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9630 fi
9631
9632 if test "$wxUSE_JOYSTICK" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9635 else
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9638 fi
9639
9640
9641 enablestring=
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9644 no_cache=0
9645 # Check whether --enable-metafile or --disable-metafile was given.
9646 if test "${enable_metafile+set}" = set; then
9647 enableval="$enable_metafile"
9648
9649 if test "$enableval" = yes; then
9650 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9651 else
9652 ac_cv_use_metafile='wxUSE_METAFILE=no'
9653 fi
9654
9655 else
9656
9657 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x ; then
9659 eval "DEFAULT_$LINE"
9660 else
9661 no_cache=1
9662 fi
9663
9664 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9665
9666 fi;
9667
9668 eval "$ac_cv_use_metafile"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test "$wxUSE_METAFILE" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9676 else
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9679 fi
9680
9681
9682 enablestring=
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9685 no_cache=0
9686 # Check whether --enable-dragimage or --disable-dragimage was given.
9687 if test "${enable_dragimage+set}" = set; then
9688 enableval="$enable_dragimage"
9689
9690 if test "$enableval" = yes; then
9691 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9692 else
9693 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9694 fi
9695
9696 else
9697
9698 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x ; then
9700 eval "DEFAULT_$LINE"
9701 else
9702 no_cache=1
9703 fi
9704
9705 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9706
9707 fi;
9708
9709 eval "$ac_cv_use_dragimage"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test "$wxUSE_DRAGIMAGE" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9717 else
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9720 fi
9721
9722
9723 enablestring=
9724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9726 no_cache=0
9727 # Check whether --enable-accessibility or --disable-accessibility was given.
9728 if test "${enable_accessibility+set}" = set; then
9729 enableval="$enable_accessibility"
9730
9731 if test "$enableval" = yes; then
9732 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9733 else
9734 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9735 fi
9736
9737 else
9738
9739 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9742 else
9743 no_cache=1
9744 fi
9745
9746 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9747
9748 fi;
9749
9750 eval "$ac_cv_use_accessibility"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9753 fi
9754
9755 if test "$wxUSE_ACCESSIBILITY" = yes; then
9756 echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6
9758 else
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9761 fi
9762
9763
9764
9765
9766 enablestring=
9767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9768 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9769 no_cache=0
9770 # Check whether --enable-palette or --disable-palette was given.
9771 if test "${enable_palette+set}" = set; then
9772 enableval="$enable_palette"
9773
9774 if test "$enableval" = yes; then
9775 ac_cv_use_palette='wxUSE_PALETTE=yes'
9776 else
9777 ac_cv_use_palette='wxUSE_PALETTE=no'
9778 fi
9779
9780 else
9781
9782 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x ; then
9784 eval "DEFAULT_$LINE"
9785 else
9786 no_cache=1
9787 fi
9788
9789 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9790
9791 fi;
9792
9793 eval "$ac_cv_use_palette"
9794 if test "$no_cache" != 1; then
9795 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9796 fi
9797
9798 if test "$wxUSE_PALETTE" = yes; then
9799 echo "$as_me:$LINENO: result: yes" >&5
9800 echo "${ECHO_T}yes" >&6
9801 else
9802 echo "$as_me:$LINENO: result: no" >&5
9803 echo "${ECHO_T}no" >&6
9804 fi
9805
9806
9807 enablestring=
9808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9809 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9810 no_cache=0
9811 # Check whether --enable-image or --disable-image was given.
9812 if test "${enable_image+set}" = set; then
9813 enableval="$enable_image"
9814
9815 if test "$enableval" = yes; then
9816 ac_cv_use_image='wxUSE_IMAGE=yes'
9817 else
9818 ac_cv_use_image='wxUSE_IMAGE=no'
9819 fi
9820
9821 else
9822
9823 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x ; then
9825 eval "DEFAULT_$LINE"
9826 else
9827 no_cache=1
9828 fi
9829
9830 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9831
9832 fi;
9833
9834 eval "$ac_cv_use_image"
9835 if test "$no_cache" != 1; then
9836 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9837 fi
9838
9839 if test "$wxUSE_IMAGE" = yes; then
9840 echo "$as_me:$LINENO: result: yes" >&5
9841 echo "${ECHO_T}yes" >&6
9842 else
9843 echo "$as_me:$LINENO: result: no" >&5
9844 echo "${ECHO_T}no" >&6
9845 fi
9846
9847
9848 enablestring=
9849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9850 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9851 no_cache=0
9852 # Check whether --enable-gif or --disable-gif was given.
9853 if test "${enable_gif+set}" = set; then
9854 enableval="$enable_gif"
9855
9856 if test "$enableval" = yes; then
9857 ac_cv_use_gif='wxUSE_GIF=yes'
9858 else
9859 ac_cv_use_gif='wxUSE_GIF=no'
9860 fi
9861
9862 else
9863
9864 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x ; then
9866 eval "DEFAULT_$LINE"
9867 else
9868 no_cache=1
9869 fi
9870
9871 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9872
9873 fi;
9874
9875 eval "$ac_cv_use_gif"
9876 if test "$no_cache" != 1; then
9877 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9878 fi
9879
9880 if test "$wxUSE_GIF" = yes; then
9881 echo "$as_me:$LINENO: result: yes" >&5
9882 echo "${ECHO_T}yes" >&6
9883 else
9884 echo "$as_me:$LINENO: result: no" >&5
9885 echo "${ECHO_T}no" >&6
9886 fi
9887
9888
9889 enablestring=
9890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9892 no_cache=0
9893 # Check whether --enable-pcx or --disable-pcx was given.
9894 if test "${enable_pcx+set}" = set; then
9895 enableval="$enable_pcx"
9896
9897 if test "$enableval" = yes; then
9898 ac_cv_use_pcx='wxUSE_PCX=yes'
9899 else
9900 ac_cv_use_pcx='wxUSE_PCX=no'
9901 fi
9902
9903 else
9904
9905 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x ; then
9907 eval "DEFAULT_$LINE"
9908 else
9909 no_cache=1
9910 fi
9911
9912 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9913
9914 fi;
9915
9916 eval "$ac_cv_use_pcx"
9917 if test "$no_cache" != 1; then
9918 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9919 fi
9920
9921 if test "$wxUSE_PCX" = yes; then
9922 echo "$as_me:$LINENO: result: yes" >&5
9923 echo "${ECHO_T}yes" >&6
9924 else
9925 echo "$as_me:$LINENO: result: no" >&5
9926 echo "${ECHO_T}no" >&6
9927 fi
9928
9929
9930 enablestring=
9931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9933 no_cache=0
9934 # Check whether --enable-iff or --disable-iff was given.
9935 if test "${enable_iff+set}" = set; then
9936 enableval="$enable_iff"
9937
9938 if test "$enableval" = yes; then
9939 ac_cv_use_iff='wxUSE_IFF=yes'
9940 else
9941 ac_cv_use_iff='wxUSE_IFF=no'
9942 fi
9943
9944 else
9945
9946 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x ; then
9948 eval "DEFAULT_$LINE"
9949 else
9950 no_cache=1
9951 fi
9952
9953 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9954
9955 fi;
9956
9957 eval "$ac_cv_use_iff"
9958 if test "$no_cache" != 1; then
9959 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9960 fi
9961
9962 if test "$wxUSE_IFF" = yes; then
9963 echo "$as_me:$LINENO: result: yes" >&5
9964 echo "${ECHO_T}yes" >&6
9965 else
9966 echo "$as_me:$LINENO: result: no" >&5
9967 echo "${ECHO_T}no" >&6
9968 fi
9969
9970
9971 enablestring=
9972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9973 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9974 no_cache=0
9975 # Check whether --enable-pnm or --disable-pnm was given.
9976 if test "${enable_pnm+set}" = set; then
9977 enableval="$enable_pnm"
9978
9979 if test "$enableval" = yes; then
9980 ac_cv_use_pnm='wxUSE_PNM=yes'
9981 else
9982 ac_cv_use_pnm='wxUSE_PNM=no'
9983 fi
9984
9985 else
9986
9987 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x ; then
9989 eval "DEFAULT_$LINE"
9990 else
9991 no_cache=1
9992 fi
9993
9994 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9995
9996 fi;
9997
9998 eval "$ac_cv_use_pnm"
9999 if test "$no_cache" != 1; then
10000 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10001 fi
10002
10003 if test "$wxUSE_PNM" = yes; then
10004 echo "$as_me:$LINENO: result: yes" >&5
10005 echo "${ECHO_T}yes" >&6
10006 else
10007 echo "$as_me:$LINENO: result: no" >&5
10008 echo "${ECHO_T}no" >&6
10009 fi
10010
10011
10012 enablestring=
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10015 no_cache=0
10016 # Check whether --enable-xpm or --disable-xpm was given.
10017 if test "${enable_xpm+set}" = set; then
10018 enableval="$enable_xpm"
10019
10020 if test "$enableval" = yes; then
10021 ac_cv_use_xpm='wxUSE_XPM=yes'
10022 else
10023 ac_cv_use_xpm='wxUSE_XPM=no'
10024 fi
10025
10026 else
10027
10028 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10031 else
10032 no_cache=1
10033 fi
10034
10035 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10036
10037 fi;
10038
10039 eval "$ac_cv_use_xpm"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10042 fi
10043
10044 if test "$wxUSE_XPM" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10047 else
10048 echo "$as_me:$LINENO: result: no" >&5
10049 echo "${ECHO_T}no" >&6
10050 fi
10051
10052
10053 enablestring=
10054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10056 no_cache=0
10057 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10058 if test "${enable_ico_cur+set}" = set; then
10059 enableval="$enable_ico_cur"
10060
10061 if test "$enableval" = yes; then
10062 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10063 else
10064 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10065 fi
10066
10067 else
10068
10069 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10072 else
10073 no_cache=1
10074 fi
10075
10076 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10077
10078 fi;
10079
10080 eval "$ac_cv_use_ico_cur"
10081 if test "$no_cache" != 1; then
10082 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10083 fi
10084
10085 if test "$wxUSE_ICO_CUR" = yes; then
10086 echo "$as_me:$LINENO: result: yes" >&5
10087 echo "${ECHO_T}yes" >&6
10088 else
10089 echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6
10091 fi
10092
10093
10094 fi
10095
10096
10097
10098 # Check whether --with-flavour or --without-flavour was given.
10099 if test "${with_flavour+set}" = set; then
10100 withval="$with_flavour"
10101 WX_FLAVOUR="$withval"
10102 fi;
10103
10104
10105
10106 enablestring=
10107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10109 no_cache=0
10110 # Check whether --enable-official_build or --disable-official_build was given.
10111 if test "${enable_official_build+set}" = set; then
10112 enableval="$enable_official_build"
10113
10114 if test "$enableval" = yes; then
10115 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10116 else
10117 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10118 fi
10119
10120 else
10121
10122 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10123 if test "x$LINE" != x ; then
10124 eval "DEFAULT_$LINE"
10125 else
10126 no_cache=1
10127 fi
10128
10129 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10130
10131 fi;
10132
10133 eval "$ac_cv_use_official_build"
10134 if test "$no_cache" != 1; then
10135 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10136 fi
10137
10138 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10139 echo "$as_me:$LINENO: result: yes" >&5
10140 echo "${ECHO_T}yes" >&6
10141 else
10142 echo "$as_me:$LINENO: result: no" >&5
10143 echo "${ECHO_T}no" >&6
10144 fi
10145
10146 # Check whether --enable-vendor or --disable-vendor was given.
10147 if test "${enable_vendor+set}" = set; then
10148 enableval="$enable_vendor"
10149 VENDOR="$enableval"
10150 fi;
10151 if test "x$VENDOR" = "x"; then
10152 VENDOR="custom"
10153 fi
10154
10155
10156
10157
10158 echo "saving argument cache $wx_arg_cache_file"
10159 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10160
10161
10162
10163 echo "$as_me:$LINENO: checking for toolkit" >&5
10164 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10165
10166 # In Wine, we need to default to MSW, not GTK or MOTIF
10167 if test "$wxUSE_WINE" = "yes"; then
10168 DEFAULT_DEFAULT_wxUSE_GTK=0
10169 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10170 DEFAULT_DEFAULT_wxUSE_MSW=1
10171 wxUSE_SHARED=no
10172 fi
10173
10174 if test "$wxUSE_GUI" = "yes"; then
10175
10176 if test "$USE_BEOS" = 1; then
10177 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10178 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10179 { (exit 1); exit 1; }; }
10180 fi
10181
10182 if test "$TOOLKIT_GIVEN" = 1; then
10183 for toolkit in `echo $ALL_TOOLKITS`; do
10184 var=wxUSE_$toolkit
10185 eval "value=\$${var}"
10186 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10187 done
10188 else
10189 for toolkit in `echo $ALL_TOOLKITS`; do
10190 if test "$has_toolkit_in_cache" != 1; then
10191 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10192 else
10193 var=DEFAULT_wxUSE_$toolkit
10194 fi
10195 eval "wxUSE_$toolkit=\$${var}"
10196 done
10197 fi
10198
10199 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10200 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10201 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10202
10203 case "${host}" in
10204 *-pc-os2_emx | *-pc-os2-emx )
10205 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10206 esac
10207
10208 case "$NUM_TOOLKITS" in
10209 1)
10210 ;;
10211 0)
10212 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10213 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10214 { (exit 1); exit 1; }; }
10215 ;;
10216 *)
10217 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10218 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10219 { (exit 1); exit 1; }; }
10220 esac
10221
10222 for toolkit in `echo $ALL_TOOLKITS`; do
10223 var=wxUSE_$toolkit
10224 eval "value=\$${var}"
10225 if test "x$value" != x; then
10226 cache_var=CACHE_$toolkit
10227 eval "cache=\$${cache_var}"
10228 if test "$cache" = 1; then
10229 echo "$var=$value" >> ${wx_arg_cache_file}
10230 fi
10231 if test "$value" = 1; then
10232 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10233 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10234 echo "${ECHO_T}$toolkit_echo" >&6
10235 fi
10236 fi
10237 done
10238 else
10239 if test "x$host_alias" != "x"; then
10240 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10241 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10242 else
10243 echo "$as_me:$LINENO: result: base only" >&5
10244 echo "${ECHO_T}base only" >&6
10245 fi
10246 fi
10247
10248 wants_win32=0
10249 doesnt_want_win32=0
10250 case "${host}" in
10251 *-*-cygwin*)
10252 if test "$wxUSE_MSW" = 1 ; then
10253 wants_win32=1
10254 else
10255 doesnt_want_win32=1
10256 fi
10257 ;;
10258 *-*-mingw*)
10259 wants_win32=1
10260 ;;
10261 esac
10262
10263 if test "$wxUSE_WINE" = "yes"; then
10264 wants_win32=1
10265 CC=winegcc
10266 CXX=wineg++
10267 RESCOMP=wrc
10268 LDFLAGS_GUI="-mwindows"
10269 fi
10270
10271 if test "$wants_win32" = 1 ; then
10272 USE_UNIX=0
10273 USE_WIN32=1
10274 cat >>confdefs.h <<\_ACEOF
10275 #define __WIN32__ 1
10276 _ACEOF
10277
10278 cat >>confdefs.h <<\_ACEOF
10279 #define __WIN95__ 1
10280 _ACEOF
10281
10282 cat >>confdefs.h <<\_ACEOF
10283 #define __WINDOWS__ 1
10284 _ACEOF
10285
10286 cat >>confdefs.h <<\_ACEOF
10287 #define __GNUWIN32__ 1
10288 _ACEOF
10289
10290 cat >>confdefs.h <<\_ACEOF
10291 #define STRICT 1
10292 _ACEOF
10293
10294 cat >>confdefs.h <<\_ACEOF
10295 #define WINVER 0x0400
10296 _ACEOF
10297
10298 fi
10299 if test "$doesnt_want_win32" = 1 ; then
10300 USE_UNIX=1
10301 USE_WIN32=0
10302 fi
10303
10304 if test "$USE_UNIX" = 1 ; then
10305 wxUSE_UNIX=yes
10306 cat >>confdefs.h <<\_ACEOF
10307 #define __UNIX__ 1
10308 _ACEOF
10309
10310 fi
10311
10312
10313 cat >confcache <<\_ACEOF
10314 # This file is a shell script that caches the results of configure
10315 # tests run on this system so they can be shared between configure
10316 # scripts and configure runs, see configure's option --config-cache.
10317 # It is not useful on other systems. If it contains results you don't
10318 # want to keep, you may remove or edit it.
10319 #
10320 # config.status only pays attention to the cache file if you give it
10321 # the --recheck option to rerun configure.
10322 #
10323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10325 # following values.
10326
10327 _ACEOF
10328
10329 # The following way of writing the cache mishandles newlines in values,
10330 # but we know of no workaround that is simple, portable, and efficient.
10331 # So, don't put newlines in cache variables' values.
10332 # Ultrix sh set writes to stderr and can't be redirected directly,
10333 # and sets the high bit in the cache file unless we assign to the vars.
10334 {
10335 (set) 2>&1 |
10336 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10337 *ac_space=\ *)
10338 # `set' does not quote correctly, so add quotes (double-quote
10339 # substitution turns \\\\ into \\, and sed turns \\ into \).
10340 sed -n \
10341 "s/'/'\\\\''/g;
10342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10343 ;;
10344 *)
10345 # `set' quotes correctly as required by POSIX, so do not add quotes.
10346 sed -n \
10347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10348 ;;
10349 esac;
10350 } |
10351 sed '
10352 t clear
10353 : clear
10354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10355 t end
10356 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10357 : end' >>confcache
10358 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10359 if test -w $cache_file; then
10360 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10361 cat confcache >$cache_file
10362 else
10363 echo "not updating unwritable cache $cache_file"
10364 fi
10365 fi
10366 rm -f confcache
10367
10368 if test "$build" != "$host" ; then
10369 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10370 CC=$host_alias-gcc
10371 CXX=$host_alias-c++
10372 AR=$host_alias-ar
10373 RANLIB=$host_alias-ranlib
10374 DLLTOOL=$host_alias-dlltool
10375 RESCOMP=$host_alias-windres
10376 STRIP=$host_alias-strip
10377 else
10378 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10379 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10380 { (exit 1); exit 1; }; }
10381 fi
10382 fi
10383
10384 CFLAGS=${CFLAGS:=}
10385 ac_ext=c
10386 ac_cpp='$CPP $CPPFLAGS'
10387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10390 if test -n "$ac_tool_prefix"; then
10391 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10392 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10393 echo "$as_me:$LINENO: checking for $ac_word" >&5
10394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10395 if test "${ac_cv_prog_CC+set}" = set; then
10396 echo $ECHO_N "(cached) $ECHO_C" >&6
10397 else
10398 if test -n "$CC"; then
10399 ac_cv_prog_CC="$CC" # Let the user override the test.
10400 else
10401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10402 for as_dir in $PATH
10403 do
10404 IFS=$as_save_IFS
10405 test -z "$as_dir" && as_dir=.
10406 for ac_exec_ext in '' $ac_executable_extensions; do
10407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10408 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10410 break 2
10411 fi
10412 done
10413 done
10414
10415 fi
10416 fi
10417 CC=$ac_cv_prog_CC
10418 if test -n "$CC"; then
10419 echo "$as_me:$LINENO: result: $CC" >&5
10420 echo "${ECHO_T}$CC" >&6
10421 else
10422 echo "$as_me:$LINENO: result: no" >&5
10423 echo "${ECHO_T}no" >&6
10424 fi
10425
10426 fi
10427 if test -z "$ac_cv_prog_CC"; then
10428 ac_ct_CC=$CC
10429 # Extract the first word of "gcc", so it can be a program name with args.
10430 set dummy gcc; ac_word=$2
10431 echo "$as_me:$LINENO: checking for $ac_word" >&5
10432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 else
10436 if test -n "$ac_ct_CC"; then
10437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10438 else
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in $PATH
10441 do
10442 IFS=$as_save_IFS
10443 test -z "$as_dir" && as_dir=.
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_ac_ct_CC="gcc"
10447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10448 break 2
10449 fi
10450 done
10451 done
10452
10453 fi
10454 fi
10455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10456 if test -n "$ac_ct_CC"; then
10457 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10458 echo "${ECHO_T}$ac_ct_CC" >&6
10459 else
10460 echo "$as_me:$LINENO: result: no" >&5
10461 echo "${ECHO_T}no" >&6
10462 fi
10463
10464 CC=$ac_ct_CC
10465 else
10466 CC="$ac_cv_prog_CC"
10467 fi
10468
10469 if test -z "$CC"; then
10470 if test -n "$ac_tool_prefix"; then
10471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10472 set dummy ${ac_tool_prefix}cc; ac_word=$2
10473 echo "$as_me:$LINENO: checking for $ac_word" >&5
10474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10475 if test "${ac_cv_prog_CC+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10477 else
10478 if test -n "$CC"; then
10479 ac_cv_prog_CC="$CC" # Let the user override the test.
10480 else
10481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10482 for as_dir in $PATH
10483 do
10484 IFS=$as_save_IFS
10485 test -z "$as_dir" && as_dir=.
10486 for ac_exec_ext in '' $ac_executable_extensions; do
10487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10488 ac_cv_prog_CC="${ac_tool_prefix}cc"
10489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10490 break 2
10491 fi
10492 done
10493 done
10494
10495 fi
10496 fi
10497 CC=$ac_cv_prog_CC
10498 if test -n "$CC"; then
10499 echo "$as_me:$LINENO: result: $CC" >&5
10500 echo "${ECHO_T}$CC" >&6
10501 else
10502 echo "$as_me:$LINENO: result: no" >&5
10503 echo "${ECHO_T}no" >&6
10504 fi
10505
10506 fi
10507 if test -z "$ac_cv_prog_CC"; then
10508 ac_ct_CC=$CC
10509 # Extract the first word of "cc", so it can be a program name with args.
10510 set dummy cc; ac_word=$2
10511 echo "$as_me:$LINENO: checking for $ac_word" >&5
10512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 else
10516 if test -n "$ac_ct_CC"; then
10517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10518 else
10519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10520 for as_dir in $PATH
10521 do
10522 IFS=$as_save_IFS
10523 test -z "$as_dir" && as_dir=.
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10526 ac_cv_prog_ac_ct_CC="cc"
10527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10528 break 2
10529 fi
10530 done
10531 done
10532
10533 fi
10534 fi
10535 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10536 if test -n "$ac_ct_CC"; then
10537 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10538 echo "${ECHO_T}$ac_ct_CC" >&6
10539 else
10540 echo "$as_me:$LINENO: result: no" >&5
10541 echo "${ECHO_T}no" >&6
10542 fi
10543
10544 CC=$ac_ct_CC
10545 else
10546 CC="$ac_cv_prog_CC"
10547 fi
10548
10549 fi
10550 if test -z "$CC"; then
10551 # Extract the first word of "cc", so it can be a program name with args.
10552 set dummy cc; ac_word=$2
10553 echo "$as_me:$LINENO: checking for $ac_word" >&5
10554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10555 if test "${ac_cv_prog_CC+set}" = set; then
10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10557 else
10558 if test -n "$CC"; then
10559 ac_cv_prog_CC="$CC" # Let the user override the test.
10560 else
10561 ac_prog_rejected=no
10562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10563 for as_dir in $PATH
10564 do
10565 IFS=$as_save_IFS
10566 test -z "$as_dir" && as_dir=.
10567 for ac_exec_ext in '' $ac_executable_extensions; do
10568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10569 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10570 ac_prog_rejected=yes
10571 continue
10572 fi
10573 ac_cv_prog_CC="cc"
10574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10575 break 2
10576 fi
10577 done
10578 done
10579
10580 if test $ac_prog_rejected = yes; then
10581 # We found a bogon in the path, so make sure we never use it.
10582 set dummy $ac_cv_prog_CC
10583 shift
10584 if test $# != 0; then
10585 # We chose a different compiler from the bogus one.
10586 # However, it has the same basename, so the bogon will be chosen
10587 # first if we set CC to just the basename; use the full file name.
10588 shift
10589 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10590 fi
10591 fi
10592 fi
10593 fi
10594 CC=$ac_cv_prog_CC
10595 if test -n "$CC"; then
10596 echo "$as_me:$LINENO: result: $CC" >&5
10597 echo "${ECHO_T}$CC" >&6
10598 else
10599 echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6
10601 fi
10602
10603 fi
10604 if test -z "$CC"; then
10605 if test -n "$ac_tool_prefix"; then
10606 for ac_prog in cl
10607 do
10608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10609 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10610 echo "$as_me:$LINENO: checking for $ac_word" >&5
10611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10612 if test "${ac_cv_prog_CC+set}" = set; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 else
10615 if test -n "$CC"; then
10616 ac_cv_prog_CC="$CC" # Let the user override the test.
10617 else
10618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10619 for as_dir in $PATH
10620 do
10621 IFS=$as_save_IFS
10622 test -z "$as_dir" && as_dir=.
10623 for ac_exec_ext in '' $ac_executable_extensions; do
10624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10625 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10627 break 2
10628 fi
10629 done
10630 done
10631
10632 fi
10633 fi
10634 CC=$ac_cv_prog_CC
10635 if test -n "$CC"; then
10636 echo "$as_me:$LINENO: result: $CC" >&5
10637 echo "${ECHO_T}$CC" >&6
10638 else
10639 echo "$as_me:$LINENO: result: no" >&5
10640 echo "${ECHO_T}no" >&6
10641 fi
10642
10643 test -n "$CC" && break
10644 done
10645 fi
10646 if test -z "$CC"; then
10647 ac_ct_CC=$CC
10648 for ac_prog in cl
10649 do
10650 # Extract the first word of "$ac_prog", so it can be a program name with args.
10651 set dummy $ac_prog; ac_word=$2
10652 echo "$as_me:$LINENO: checking for $ac_word" >&5
10653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 else
10657 if test -n "$ac_ct_CC"; then
10658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10659 else
10660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10661 for as_dir in $PATH
10662 do
10663 IFS=$as_save_IFS
10664 test -z "$as_dir" && as_dir=.
10665 for ac_exec_ext in '' $ac_executable_extensions; do
10666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10667 ac_cv_prog_ac_ct_CC="$ac_prog"
10668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10669 break 2
10670 fi
10671 done
10672 done
10673
10674 fi
10675 fi
10676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10677 if test -n "$ac_ct_CC"; then
10678 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10679 echo "${ECHO_T}$ac_ct_CC" >&6
10680 else
10681 echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6
10683 fi
10684
10685 test -n "$ac_ct_CC" && break
10686 done
10687
10688 CC=$ac_ct_CC
10689 fi
10690
10691 fi
10692
10693
10694 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10695 See \`config.log' for more details." >&5
10696 echo "$as_me: error: no acceptable C compiler found in \$PATH
10697 See \`config.log' for more details." >&2;}
10698 { (exit 1); exit 1; }; }
10699
10700 # Provide some information about the compiler.
10701 echo "$as_me:$LINENO:" \
10702 "checking for C compiler version" >&5
10703 ac_compiler=`set X $ac_compile; echo $2`
10704 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10705 (eval $ac_compiler --version </dev/null >&5) 2>&5
10706 ac_status=$?
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }
10709 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10710 (eval $ac_compiler -v </dev/null >&5) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }
10714 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10715 (eval $ac_compiler -V </dev/null >&5) 2>&5
10716 ac_status=$?
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }
10719
10720 cat >conftest.$ac_ext <<_ACEOF
10721 /* confdefs.h. */
10722 _ACEOF
10723 cat confdefs.h >>conftest.$ac_ext
10724 cat >>conftest.$ac_ext <<_ACEOF
10725 /* end confdefs.h. */
10726
10727 int
10728 main ()
10729 {
10730
10731 ;
10732 return 0;
10733 }
10734 _ACEOF
10735 ac_clean_files_save=$ac_clean_files
10736 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10737 # Try to create an executable without -o first, disregard a.out.
10738 # It will help us diagnose broken compilers, and finding out an intuition
10739 # of exeext.
10740 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10741 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10742 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10743 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10744 (eval $ac_link_default) 2>&5
10745 ac_status=$?
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; then
10748 # Find the output, starting from the most likely. This scheme is
10749 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10750 # resort.
10751
10752 # Be careful to initialize this variable, since it used to be cached.
10753 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10754 ac_cv_exeext=
10755 # b.out is created by i960 compilers.
10756 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10757 do
10758 test -f "$ac_file" || continue
10759 case $ac_file in
10760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10761 ;;
10762 conftest.$ac_ext )
10763 # This is the source file.
10764 ;;
10765 [ab].out )
10766 # We found the default executable, but exeext='' is most
10767 # certainly right.
10768 break;;
10769 *.* )
10770 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10771 # FIXME: I believe we export ac_cv_exeext for Libtool,
10772 # but it would be cool to find out if it's true. Does anybody
10773 # maintain Libtool? --akim.
10774 export ac_cv_exeext
10775 break;;
10776 * )
10777 break;;
10778 esac
10779 done
10780 else
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.$ac_ext >&5
10783
10784 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10785 See \`config.log' for more details." >&5
10786 echo "$as_me: error: C compiler cannot create executables
10787 See \`config.log' for more details." >&2;}
10788 { (exit 77); exit 77; }; }
10789 fi
10790
10791 ac_exeext=$ac_cv_exeext
10792 echo "$as_me:$LINENO: result: $ac_file" >&5
10793 echo "${ECHO_T}$ac_file" >&6
10794
10795 # Check the compiler produces executables we can run. If not, either
10796 # the compiler is broken, or we cross compile.
10797 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10798 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10799 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10800 # If not cross compiling, check that we can run a simple program.
10801 if test "$cross_compiling" != yes; then
10802 if { ac_try='./$ac_file'
10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10804 (eval $ac_try) 2>&5
10805 ac_status=$?
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; }; then
10808 cross_compiling=no
10809 else
10810 if test "$cross_compiling" = maybe; then
10811 cross_compiling=yes
10812 else
10813 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10814 If you meant to cross compile, use \`--host'.
10815 See \`config.log' for more details." >&5
10816 echo "$as_me: error: cannot run C compiled programs.
10817 If you meant to cross compile, use \`--host'.
10818 See \`config.log' for more details." >&2;}
10819 { (exit 1); exit 1; }; }
10820 fi
10821 fi
10822 fi
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10825
10826 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10827 ac_clean_files=$ac_clean_files_save
10828 # Check the compiler produces executables we can run. If not, either
10829 # the compiler is broken, or we cross compile.
10830 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10831 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10832 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10833 echo "${ECHO_T}$cross_compiling" >&6
10834
10835 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10836 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10838 (eval $ac_link) 2>&5
10839 ac_status=$?
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; then
10842 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10843 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10844 # work properly (i.e., refer to `conftest.exe'), while it won't with
10845 # `rm'.
10846 for ac_file in conftest.exe conftest conftest.*; do
10847 test -f "$ac_file" || continue
10848 case $ac_file in
10849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10850 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10851 export ac_cv_exeext
10852 break;;
10853 * ) break;;
10854 esac
10855 done
10856 else
10857 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10858 See \`config.log' for more details." >&5
10859 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10860 See \`config.log' for more details." >&2;}
10861 { (exit 1); exit 1; }; }
10862 fi
10863
10864 rm -f conftest$ac_cv_exeext
10865 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10866 echo "${ECHO_T}$ac_cv_exeext" >&6
10867
10868 rm -f conftest.$ac_ext
10869 EXEEXT=$ac_cv_exeext
10870 ac_exeext=$EXEEXT
10871 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10872 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10873 if test "${ac_cv_objext+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 else
10876 cat >conftest.$ac_ext <<_ACEOF
10877 /* confdefs.h. */
10878 _ACEOF
10879 cat confdefs.h >>conftest.$ac_ext
10880 cat >>conftest.$ac_ext <<_ACEOF
10881 /* end confdefs.h. */
10882
10883 int
10884 main ()
10885 {
10886
10887 ;
10888 return 0;
10889 }
10890 _ACEOF
10891 rm -f conftest.o conftest.obj
10892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10893 (eval $ac_compile) 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; then
10897 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10898 case $ac_file in
10899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10900 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10901 break;;
10902 esac
10903 done
10904 else
10905 echo "$as_me: failed program was:" >&5
10906 sed 's/^/| /' conftest.$ac_ext >&5
10907
10908 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10909 See \`config.log' for more details." >&5
10910 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10911 See \`config.log' for more details." >&2;}
10912 { (exit 1); exit 1; }; }
10913 fi
10914
10915 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10916 fi
10917 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10918 echo "${ECHO_T}$ac_cv_objext" >&6
10919 OBJEXT=$ac_cv_objext
10920 ac_objext=$OBJEXT
10921 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10922 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10923 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 else
10926 cat >conftest.$ac_ext <<_ACEOF
10927 /* confdefs.h. */
10928 _ACEOF
10929 cat confdefs.h >>conftest.$ac_ext
10930 cat >>conftest.$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10932
10933 int
10934 main ()
10935 {
10936 #ifndef __GNUC__
10937 choke me
10938 #endif
10939
10940 ;
10941 return 0;
10942 }
10943 _ACEOF
10944 rm -f conftest.$ac_objext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10946 (eval $ac_compile) 2>conftest.er1
10947 ac_status=$?
10948 grep -v '^ *+' conftest.er1 >conftest.err
10949 rm -f conftest.er1
10950 cat conftest.err >&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } &&
10953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10956 ac_status=$?
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; } &&
10959 { ac_try='test -s conftest.$ac_objext'
10960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5
10962 ac_status=$?
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; }; then
10965 ac_compiler_gnu=yes
10966 else
10967 echo "$as_me: failed program was:" >&5
10968 sed 's/^/| /' conftest.$ac_ext >&5
10969
10970 ac_compiler_gnu=no
10971 fi
10972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10973 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10974
10975 fi
10976 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10977 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10978 GCC=`test $ac_compiler_gnu = yes && echo yes`
10979 ac_test_CFLAGS=${CFLAGS+set}
10980 ac_save_CFLAGS=$CFLAGS
10981 CFLAGS="-g"
10982 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10983 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10984 if test "${ac_cv_prog_cc_g+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else
10987 cat >conftest.$ac_ext <<_ACEOF
10988 /* confdefs.h. */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993
10994 int
10995 main ()
10996 {
10997
10998 ;
10999 return 0;
11000 }
11001 _ACEOF
11002 rm -f conftest.$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11005 ac_status=$?
11006 grep -v '^ *+' conftest.er1 >conftest.err
11007 rm -f conftest.er1
11008 cat conftest.err >&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try='test -s conftest.$ac_objext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11020 ac_status=$?
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_prog_cc_g=yes
11024 else
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.$ac_ext >&5
11027
11028 ac_cv_prog_cc_g=no
11029 fi
11030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11031 fi
11032 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11033 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11034 if test "$ac_test_CFLAGS" = set; then
11035 CFLAGS=$ac_save_CFLAGS
11036 elif test $ac_cv_prog_cc_g = yes; then
11037 if test "$GCC" = yes; then
11038 CFLAGS="-g -O2"
11039 else
11040 CFLAGS="-g"
11041 fi
11042 else
11043 if test "$GCC" = yes; then
11044 CFLAGS="-O2"
11045 else
11046 CFLAGS=
11047 fi
11048 fi
11049 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11050 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11051 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11052 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 else
11054 ac_cv_prog_cc_stdc=no
11055 ac_save_CC=$CC
11056 cat >conftest.$ac_ext <<_ACEOF
11057 /* confdefs.h. */
11058 _ACEOF
11059 cat confdefs.h >>conftest.$ac_ext
11060 cat >>conftest.$ac_ext <<_ACEOF
11061 /* end confdefs.h. */
11062 #include <stdarg.h>
11063 #include <stdio.h>
11064 #include <sys/types.h>
11065 #include <sys/stat.h>
11066 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11067 struct buf { int x; };
11068 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11069 static char *e (p, i)
11070 char **p;
11071 int i;
11072 {
11073 return p[i];
11074 }
11075 static char *f (char * (*g) (char **, int), char **p, ...)
11076 {
11077 char *s;
11078 va_list v;
11079 va_start (v,p);
11080 s = g (p, va_arg (v,int));
11081 va_end (v);
11082 return s;
11083 }
11084
11085 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11086 function prototypes and stuff, but not '\xHH' hex character constants.
11087 These don't provoke an error unfortunately, instead are silently treated
11088 as 'x'. The following induces an error, until -std1 is added to get
11089 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11090 array size at least. It's necessary to write '\x00'==0 to get something
11091 that's true only with -std1. */
11092 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11093
11094 int test (int i, double x);
11095 struct s1 {int (*f) (int a);};
11096 struct s2 {int (*f) (double a);};
11097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11098 int argc;
11099 char **argv;
11100 int
11101 main ()
11102 {
11103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11104 ;
11105 return 0;
11106 }
11107 _ACEOF
11108 # Don't try gcc -ansi; that turns off useful extensions and
11109 # breaks some systems' header files.
11110 # AIX -qlanglvl=ansi
11111 # Ultrix and OSF/1 -std1
11112 # HP-UX 10.20 and later -Ae
11113 # HP-UX older versions -Aa -D_HPUX_SOURCE
11114 # SVR4 -Xc -D__EXTENSIONS__
11115 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11116 do
11117 CC="$ac_save_CC $ac_arg"
11118 rm -f conftest.$ac_objext
11119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11120 (eval $ac_compile) 2>conftest.er1
11121 ac_status=$?
11122 grep -v '^ *+' conftest.er1 >conftest.err
11123 rm -f conftest.er1
11124 cat conftest.err >&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11130 ac_status=$?
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try='test -s conftest.$ac_objext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11136 ac_status=$?
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 ac_cv_prog_cc_stdc=$ac_arg
11140 break
11141 else
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11144
11145 fi
11146 rm -f conftest.err conftest.$ac_objext
11147 done
11148 rm -f conftest.$ac_ext conftest.$ac_objext
11149 CC=$ac_save_CC
11150
11151 fi
11152
11153 case "x$ac_cv_prog_cc_stdc" in
11154 x|xno)
11155 echo "$as_me:$LINENO: result: none needed" >&5
11156 echo "${ECHO_T}none needed" >&6 ;;
11157 *)
11158 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11159 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11160 CC="$CC $ac_cv_prog_cc_stdc" ;;
11161 esac
11162
11163 # Some people use a C++ compiler to compile C. Since we use `exit',
11164 # in C++ we need to declare it. In case someone uses the same compiler
11165 # for both compiling C and C++ we need to have the C++ compiler decide
11166 # the declaration of exit, since it's the most demanding environment.
11167 cat >conftest.$ac_ext <<_ACEOF
11168 #ifndef __cplusplus
11169 choke me
11170 #endif
11171 _ACEOF
11172 rm -f conftest.$ac_objext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11174 (eval $ac_compile) 2>conftest.er1
11175 ac_status=$?
11176 grep -v '^ *+' conftest.er1 >conftest.err
11177 rm -f conftest.er1
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 for ac_declaration in \
11194 '' \
11195 'extern "C" void std::exit (int) throw (); using std::exit;' \
11196 'extern "C" void std::exit (int); using std::exit;' \
11197 'extern "C" void exit (int) throw ();' \
11198 'extern "C" void exit (int);' \
11199 'void exit (int);'
11200 do
11201 cat >conftest.$ac_ext <<_ACEOF
11202 /* confdefs.h. */
11203 _ACEOF
11204 cat confdefs.h >>conftest.$ac_ext
11205 cat >>conftest.$ac_ext <<_ACEOF
11206 /* end confdefs.h. */
11207 $ac_declaration
11208 #include <stdlib.h>
11209 int
11210 main ()
11211 {
11212 exit (42);
11213 ;
11214 return 0;
11215 }
11216 _ACEOF
11217 rm -f conftest.$ac_objext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219 (eval $ac_compile) 2>conftest.er1
11220 ac_status=$?
11221 grep -v '^ *+' conftest.er1 >conftest.err
11222 rm -f conftest.er1
11223 cat conftest.err >&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } &&
11226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11229 ac_status=$?
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; } &&
11232 { ac_try='test -s conftest.$ac_objext'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11235 ac_status=$?
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; }; then
11238 :
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11242
11243 continue
11244 fi
11245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11246 cat >conftest.$ac_ext <<_ACEOF
11247 /* confdefs.h. */
11248 _ACEOF
11249 cat confdefs.h >>conftest.$ac_ext
11250 cat >>conftest.$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11252 $ac_declaration
11253 int
11254 main ()
11255 {
11256 exit (42);
11257 ;
11258 return 0;
11259 }
11260 _ACEOF
11261 rm -f conftest.$ac_objext
11262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263 (eval $ac_compile) 2>conftest.er1
11264 ac_status=$?
11265 grep -v '^ *+' conftest.er1 >conftest.err
11266 rm -f conftest.er1
11267 cat conftest.err >&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } &&
11270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11273 ac_status=$?
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; } &&
11276 { ac_try='test -s conftest.$ac_objext'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11279 ac_status=$?
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11282 break
11283 else
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11286
11287 fi
11288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11289 done
11290 rm -f conftest*
11291 if test -n "$ac_declaration"; then
11292 echo '#ifdef __cplusplus' >>confdefs.h
11293 echo $ac_declaration >>confdefs.h
11294 echo '#endif' >>confdefs.h
11295 fi
11296
11297 else
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.$ac_ext >&5
11300
11301 fi
11302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11303 ac_ext=c
11304 ac_cpp='$CPP $CPPFLAGS'
11305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11308
11309
11310
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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11317 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11318 # On Suns, sometimes $CPP names a directory.
11319 if test -n "$CPP" && test -d "$CPP"; then
11320 CPP=
11321 fi
11322 if test -z "$CPP"; then
11323 if test "${ac_cv_prog_CPP+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 else
11326 # Double quotes because CPP needs to be expanded
11327 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11328 do
11329 ac_preproc_ok=false
11330 for ac_c_preproc_warn_flag in '' yes
11331 do
11332 # Use a header file that comes with gcc, so configuring glibc
11333 # with a fresh cross-compiler works.
11334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11335 # <limits.h> exists even on freestanding compilers.
11336 # On the NeXT, cc -E runs the code through the compiler's parser,
11337 # not just through cpp. "Syntax error" is here to catch this case.
11338 cat >conftest.$ac_ext <<_ACEOF
11339 /* confdefs.h. */
11340 _ACEOF
11341 cat confdefs.h >>conftest.$ac_ext
11342 cat >>conftest.$ac_ext <<_ACEOF
11343 /* end confdefs.h. */
11344 #ifdef __STDC__
11345 # include <limits.h>
11346 #else
11347 # include <assert.h>
11348 #endif
11349 Syntax error
11350 _ACEOF
11351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11353 ac_status=$?
11354 grep -v '^ *+' conftest.er1 >conftest.err
11355 rm -f conftest.er1
11356 cat conftest.err >&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); } >/dev/null; then
11359 if test -s conftest.err; then
11360 ac_cpp_err=$ac_c_preproc_warn_flag
11361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11362 else
11363 ac_cpp_err=
11364 fi
11365 else
11366 ac_cpp_err=yes
11367 fi
11368 if test -z "$ac_cpp_err"; then
11369 :
11370 else
11371 echo "$as_me: failed program was:" >&5
11372 sed 's/^/| /' conftest.$ac_ext >&5
11373
11374 # Broken: fails on valid input.
11375 continue
11376 fi
11377 rm -f conftest.err conftest.$ac_ext
11378
11379 # OK, works on sane cases. Now check whether non-existent headers
11380 # can be detected and how.
11381 cat >conftest.$ac_ext <<_ACEOF
11382 /* confdefs.h. */
11383 _ACEOF
11384 cat confdefs.h >>conftest.$ac_ext
11385 cat >>conftest.$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11387 #include <ac_nonexistent.h>
11388 _ACEOF
11389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11391 ac_status=$?
11392 grep -v '^ *+' conftest.er1 >conftest.err
11393 rm -f conftest.er1
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } >/dev/null; then
11397 if test -s conftest.err; then
11398 ac_cpp_err=$ac_c_preproc_warn_flag
11399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11400 else
11401 ac_cpp_err=
11402 fi
11403 else
11404 ac_cpp_err=yes
11405 fi
11406 if test -z "$ac_cpp_err"; then
11407 # Broken: success on invalid input.
11408 continue
11409 else
11410 echo "$as_me: failed program was:" >&5
11411 sed 's/^/| /' conftest.$ac_ext >&5
11412
11413 # Passes both tests.
11414 ac_preproc_ok=:
11415 break
11416 fi
11417 rm -f conftest.err conftest.$ac_ext
11418
11419 done
11420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11421 rm -f conftest.err conftest.$ac_ext
11422 if $ac_preproc_ok; then
11423 break
11424 fi
11425
11426 done
11427 ac_cv_prog_CPP=$CPP
11428
11429 fi
11430 CPP=$ac_cv_prog_CPP
11431 else
11432 ac_cv_prog_CPP=$CPP
11433 fi
11434 echo "$as_me:$LINENO: result: $CPP" >&5
11435 echo "${ECHO_T}$CPP" >&6
11436 ac_preproc_ok=false
11437 for ac_c_preproc_warn_flag in '' yes
11438 do
11439 # Use a header file that comes with gcc, so configuring glibc
11440 # with a fresh cross-compiler works.
11441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11442 # <limits.h> exists even on freestanding compilers.
11443 # On the NeXT, cc -E runs the code through the compiler's parser,
11444 # not just through cpp. "Syntax error" is here to catch this case.
11445 cat >conftest.$ac_ext <<_ACEOF
11446 /* confdefs.h. */
11447 _ACEOF
11448 cat confdefs.h >>conftest.$ac_ext
11449 cat >>conftest.$ac_ext <<_ACEOF
11450 /* end confdefs.h. */
11451 #ifdef __STDC__
11452 # include <limits.h>
11453 #else
11454 # include <assert.h>
11455 #endif
11456 Syntax error
11457 _ACEOF
11458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11460 ac_status=$?
11461 grep -v '^ *+' conftest.er1 >conftest.err
11462 rm -f conftest.er1
11463 cat conftest.err >&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } >/dev/null; then
11466 if test -s conftest.err; then
11467 ac_cpp_err=$ac_c_preproc_warn_flag
11468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11469 else
11470 ac_cpp_err=
11471 fi
11472 else
11473 ac_cpp_err=yes
11474 fi
11475 if test -z "$ac_cpp_err"; then
11476 :
11477 else
11478 echo "$as_me: failed program was:" >&5
11479 sed 's/^/| /' conftest.$ac_ext >&5
11480
11481 # Broken: fails on valid input.
11482 continue
11483 fi
11484 rm -f conftest.err conftest.$ac_ext
11485
11486 # OK, works on sane cases. Now check whether non-existent headers
11487 # can be detected and how.
11488 cat >conftest.$ac_ext <<_ACEOF
11489 /* confdefs.h. */
11490 _ACEOF
11491 cat confdefs.h >>conftest.$ac_ext
11492 cat >>conftest.$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 #include <ac_nonexistent.h>
11495 _ACEOF
11496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11498 ac_status=$?
11499 grep -v '^ *+' conftest.er1 >conftest.err
11500 rm -f conftest.er1
11501 cat conftest.err >&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } >/dev/null; then
11504 if test -s conftest.err; then
11505 ac_cpp_err=$ac_c_preproc_warn_flag
11506 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11507 else
11508 ac_cpp_err=
11509 fi
11510 else
11511 ac_cpp_err=yes
11512 fi
11513 if test -z "$ac_cpp_err"; then
11514 # Broken: success on invalid input.
11515 continue
11516 else
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11519
11520 # Passes both tests.
11521 ac_preproc_ok=:
11522 break
11523 fi
11524 rm -f conftest.err conftest.$ac_ext
11525
11526 done
11527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11528 rm -f conftest.err conftest.$ac_ext
11529 if $ac_preproc_ok; then
11530 :
11531 else
11532 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11533 See \`config.log' for more details." >&5
11534 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11535 See \`config.log' for more details." >&2;}
11536 { (exit 1); exit 1; }; }
11537 fi
11538
11539 ac_ext=c
11540 ac_cpp='$CPP $CPPFLAGS'
11541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11544
11545
11546 echo "$as_me:$LINENO: checking for egrep" >&5
11547 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11548 if test "${ac_cv_prog_egrep+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11550 else
11551 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11552 then ac_cv_prog_egrep='grep -E'
11553 else ac_cv_prog_egrep='egrep'
11554 fi
11555 fi
11556 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11557 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11558 EGREP=$ac_cv_prog_egrep
11559
11560
11561 if test $ac_cv_c_compiler_gnu = yes; then
11562 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11563 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11564 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 else
11567 ac_pattern="Autoconf.*'x'"
11568 cat >conftest.$ac_ext <<_ACEOF
11569 /* confdefs.h. */
11570 _ACEOF
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11574 #include <sgtty.h>
11575 Autoconf TIOCGETP
11576 _ACEOF
11577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11578 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11579 ac_cv_prog_gcc_traditional=yes
11580 else
11581 ac_cv_prog_gcc_traditional=no
11582 fi
11583 rm -f conftest*
11584
11585
11586 if test $ac_cv_prog_gcc_traditional = no; then
11587 cat >conftest.$ac_ext <<_ACEOF
11588 /* confdefs.h. */
11589 _ACEOF
11590 cat confdefs.h >>conftest.$ac_ext
11591 cat >>conftest.$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11593 #include <termio.h>
11594 Autoconf TCGETA
11595 _ACEOF
11596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11597 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11598 ac_cv_prog_gcc_traditional=yes
11599 fi
11600 rm -f conftest*
11601
11602 fi
11603 fi
11604 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11605 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11606 if test $ac_cv_prog_gcc_traditional = yes; then
11607 CC="$CC -traditional"
11608 fi
11609 fi
11610
11611
11612
11613
11614 ac_ext=cc
11615 ac_cpp='$CXXCPP $CPPFLAGS'
11616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11619
11620
11621 CXXFLAGS=${CXXFLAGS:=}
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 if test -n "$ac_tool_prefix"; then
11628 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11629 do
11630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11632 echo "$as_me:$LINENO: checking for $ac_word" >&5
11633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11634 if test "${ac_cv_prog_CXX+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 else
11637 if test -n "$CXX"; then
11638 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11639 else
11640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11641 for as_dir in $PATH
11642 do
11643 IFS=$as_save_IFS
11644 test -z "$as_dir" && as_dir=.
11645 for ac_exec_ext in '' $ac_executable_extensions; do
11646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11647 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11649 break 2
11650 fi
11651 done
11652 done
11653
11654 fi
11655 fi
11656 CXX=$ac_cv_prog_CXX
11657 if test -n "$CXX"; then
11658 echo "$as_me:$LINENO: result: $CXX" >&5
11659 echo "${ECHO_T}$CXX" >&6
11660 else
11661 echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6
11663 fi
11664
11665 test -n "$CXX" && break
11666 done
11667 fi
11668 if test -z "$CXX"; then
11669 ac_ct_CXX=$CXX
11670 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11671 do
11672 # Extract the first word of "$ac_prog", so it can be a program name with args.
11673 set dummy $ac_prog; ac_word=$2
11674 echo "$as_me:$LINENO: checking for $ac_word" >&5
11675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11676 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 else
11679 if test -n "$ac_ct_CXX"; then
11680 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11681 else
11682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11683 for as_dir in $PATH
11684 do
11685 IFS=$as_save_IFS
11686 test -z "$as_dir" && as_dir=.
11687 for ac_exec_ext in '' $ac_executable_extensions; do
11688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11689 ac_cv_prog_ac_ct_CXX="$ac_prog"
11690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11691 break 2
11692 fi
11693 done
11694 done
11695
11696 fi
11697 fi
11698 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11699 if test -n "$ac_ct_CXX"; then
11700 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11701 echo "${ECHO_T}$ac_ct_CXX" >&6
11702 else
11703 echo "$as_me:$LINENO: result: no" >&5
11704 echo "${ECHO_T}no" >&6
11705 fi
11706
11707 test -n "$ac_ct_CXX" && break
11708 done
11709 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11710
11711 CXX=$ac_ct_CXX
11712 fi
11713
11714
11715 # Provide some information about the compiler.
11716 echo "$as_me:$LINENO:" \
11717 "checking for C++ compiler version" >&5
11718 ac_compiler=`set X $ac_compile; echo $2`
11719 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11720 (eval $ac_compiler --version </dev/null >&5) 2>&5
11721 ac_status=$?
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }
11724 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11725 (eval $ac_compiler -v </dev/null >&5) 2>&5
11726 ac_status=$?
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }
11729 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11730 (eval $ac_compiler -V </dev/null >&5) 2>&5
11731 ac_status=$?
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }
11734
11735 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11736 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11737 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11738 echo $ECHO_N "(cached) $ECHO_C" >&6
11739 else
11740 cat >conftest.$ac_ext <<_ACEOF
11741 /* confdefs.h. */
11742 _ACEOF
11743 cat confdefs.h >>conftest.$ac_ext
11744 cat >>conftest.$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11746
11747 int
11748 main ()
11749 {
11750 #ifndef __GNUC__
11751 choke me
11752 #endif
11753
11754 ;
11755 return 0;
11756 }
11757 _ACEOF
11758 rm -f conftest.$ac_objext
11759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11760 (eval $ac_compile) 2>conftest.er1
11761 ac_status=$?
11762 grep -v '^ *+' conftest.er1 >conftest.err
11763 rm -f conftest.er1
11764 cat conftest.err >&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11769 (eval $ac_try) 2>&5
11770 ac_status=$?
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }; } &&
11773 { ac_try='test -s conftest.$ac_objext'
11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11776 ac_status=$?
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; }; then
11779 ac_compiler_gnu=yes
11780 else
11781 echo "$as_me: failed program was:" >&5
11782 sed 's/^/| /' conftest.$ac_ext >&5
11783
11784 ac_compiler_gnu=no
11785 fi
11786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11787 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11788
11789 fi
11790 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11791 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11792 GXX=`test $ac_compiler_gnu = yes && echo yes`
11793 ac_test_CXXFLAGS=${CXXFLAGS+set}
11794 ac_save_CXXFLAGS=$CXXFLAGS
11795 CXXFLAGS="-g"
11796 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11797 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11798 if test "${ac_cv_prog_cxx_g+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 else
11801 cat >conftest.$ac_ext <<_ACEOF
11802 /* confdefs.h. */
11803 _ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11807
11808 int
11809 main ()
11810 {
11811
11812 ;
11813 return 0;
11814 }
11815 _ACEOF
11816 rm -f conftest.$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11819 ac_status=$?
11820 grep -v '^ *+' conftest.er1 >conftest.err
11821 rm -f conftest.er1
11822 cat conftest.err >&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11828 ac_status=$?
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; } &&
11831 { ac_try='test -s conftest.$ac_objext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11834 ac_status=$?
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 ac_cv_prog_cxx_g=yes
11838 else
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.$ac_ext >&5
11841
11842 ac_cv_prog_cxx_g=no
11843 fi
11844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11845 fi
11846 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11847 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11848 if test "$ac_test_CXXFLAGS" = set; then
11849 CXXFLAGS=$ac_save_CXXFLAGS
11850 elif test $ac_cv_prog_cxx_g = yes; then
11851 if test "$GXX" = yes; then
11852 CXXFLAGS="-g -O2"
11853 else
11854 CXXFLAGS="-g"
11855 fi
11856 else
11857 if test "$GXX" = yes; then
11858 CXXFLAGS="-O2"
11859 else
11860 CXXFLAGS=
11861 fi
11862 fi
11863 for ac_declaration in \
11864 '' \
11865 'extern "C" void std::exit (int) throw (); using std::exit;' \
11866 'extern "C" void std::exit (int); using std::exit;' \
11867 'extern "C" void exit (int) throw ();' \
11868 'extern "C" void exit (int);' \
11869 'void exit (int);'
11870 do
11871 cat >conftest.$ac_ext <<_ACEOF
11872 /* confdefs.h. */
11873 _ACEOF
11874 cat confdefs.h >>conftest.$ac_ext
11875 cat >>conftest.$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11877 $ac_declaration
11878 #include <stdlib.h>
11879 int
11880 main ()
11881 {
11882 exit (42);
11883 ;
11884 return 0;
11885 }
11886 _ACEOF
11887 rm -f conftest.$ac_objext
11888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11889 (eval $ac_compile) 2>conftest.er1
11890 ac_status=$?
11891 grep -v '^ *+' conftest.er1 >conftest.err
11892 rm -f conftest.er1
11893 cat conftest.err >&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } &&
11896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11899 ac_status=$?
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; } &&
11902 { ac_try='test -s conftest.$ac_objext'
11903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11904 (eval $ac_try) 2>&5
11905 ac_status=$?
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; }; then
11908 :
11909 else
11910 echo "$as_me: failed program was:" >&5
11911 sed 's/^/| /' conftest.$ac_ext >&5
11912
11913 continue
11914 fi
11915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11916 cat >conftest.$ac_ext <<_ACEOF
11917 /* confdefs.h. */
11918 _ACEOF
11919 cat confdefs.h >>conftest.$ac_ext
11920 cat >>conftest.$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11922 $ac_declaration
11923 int
11924 main ()
11925 {
11926 exit (42);
11927 ;
11928 return 0;
11929 }
11930 _ACEOF
11931 rm -f conftest.$ac_objext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11933 (eval $ac_compile) 2>conftest.er1
11934 ac_status=$?
11935 grep -v '^ *+' conftest.er1 >conftest.err
11936 rm -f conftest.er1
11937 cat conftest.err >&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11943 ac_status=$?
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try='test -s conftest.$ac_objext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11949 ac_status=$?
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 break
11953 else
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.$ac_ext >&5
11956
11957 fi
11958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11959 done
11960 rm -f conftest*
11961 if test -n "$ac_declaration"; then
11962 echo '#ifdef __cplusplus' >>confdefs.h
11963 echo $ac_declaration >>confdefs.h
11964 echo '#endif' >>confdefs.h
11965 fi
11966
11967 ac_ext=cc
11968 ac_cpp='$CXXCPP $CPPFLAGS'
11969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11972
11973
11974 ac_ext=c
11975 ac_cpp='$CPP $CPPFLAGS'
11976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11979
11980
11981 if test -n "$ac_tool_prefix"; then
11982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11983 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11984 echo "$as_me:$LINENO: checking for $ac_word" >&5
11985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11986 if test "${ac_cv_prog_RANLIB+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 else
11989 if test -n "$RANLIB"; then
11990 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11991 else
11992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11993 for as_dir in $PATH
11994 do
11995 IFS=$as_save_IFS
11996 test -z "$as_dir" && as_dir=.
11997 for ac_exec_ext in '' $ac_executable_extensions; do
11998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11999 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12001 break 2
12002 fi
12003 done
12004 done
12005
12006 fi
12007 fi
12008 RANLIB=$ac_cv_prog_RANLIB
12009 if test -n "$RANLIB"; then
12010 echo "$as_me:$LINENO: result: $RANLIB" >&5
12011 echo "${ECHO_T}$RANLIB" >&6
12012 else
12013 echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6
12015 fi
12016
12017 fi
12018 if test -z "$ac_cv_prog_RANLIB"; then
12019 ac_ct_RANLIB=$RANLIB
12020 # Extract the first word of "ranlib", so it can be a program name with args.
12021 set dummy ranlib; ac_word=$2
12022 echo "$as_me:$LINENO: checking for $ac_word" >&5
12023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 else
12027 if test -n "$ac_ct_RANLIB"; then
12028 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12029 else
12030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12031 for as_dir in $PATH
12032 do
12033 IFS=$as_save_IFS
12034 test -z "$as_dir" && as_dir=.
12035 for ac_exec_ext in '' $ac_executable_extensions; do
12036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12037 ac_cv_prog_ac_ct_RANLIB="ranlib"
12038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12039 break 2
12040 fi
12041 done
12042 done
12043
12044 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12045 fi
12046 fi
12047 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12048 if test -n "$ac_ct_RANLIB"; then
12049 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12051 else
12052 echo "$as_me:$LINENO: result: no" >&5
12053 echo "${ECHO_T}no" >&6
12054 fi
12055
12056 RANLIB=$ac_ct_RANLIB
12057 else
12058 RANLIB="$ac_cv_prog_RANLIB"
12059 fi
12060
12061
12062 # Extract the first word of "ar", so it can be a program name with args.
12063 set dummy ar; ac_word=$2
12064 echo "$as_me:$LINENO: checking for $ac_word" >&5
12065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12066 if test "${ac_cv_prog_AR+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 else
12069 if test -n "$AR"; then
12070 ac_cv_prog_AR="$AR" # Let the user override the test.
12071 else
12072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12073 for as_dir in $PATH
12074 do
12075 IFS=$as_save_IFS
12076 test -z "$as_dir" && as_dir=.
12077 for ac_exec_ext in '' $ac_executable_extensions; do
12078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12079 ac_cv_prog_AR="ar"
12080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12081 break 2
12082 fi
12083 done
12084 done
12085
12086 fi
12087 fi
12088 AR=$ac_cv_prog_AR
12089 if test -n "$AR"; then
12090 echo "$as_me:$LINENO: result: $AR" >&5
12091 echo "${ECHO_T}$AR" >&6
12092 else
12093 echo "$as_me:$LINENO: result: no" >&5
12094 echo "${ECHO_T}no" >&6
12095 fi
12096
12097 if test "x$AR" = "x" ; then
12098 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12099 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12100 { (exit 1); exit 1; }; }
12101 fi
12102
12103 # Find a good install program. We prefer a C program (faster),
12104 # so one script is as good as another. But avoid the broken or
12105 # incompatible versions:
12106 # SysV /etc/install, /usr/sbin/install
12107 # SunOS /usr/etc/install
12108 # IRIX /sbin/install
12109 # AIX /bin/install
12110 # AmigaOS /C/install, which installs bootblocks on floppy discs
12111 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12112 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12113 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12114 # OS/2's system install, which has a completely different semantic
12115 # ./install, which can be erroneously created by make from ./install.sh.
12116 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12117 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12118 if test -z "$INSTALL"; then
12119 if test "${ac_cv_path_install+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 else
12122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 for as_dir in $PATH
12124 do
12125 IFS=$as_save_IFS
12126 test -z "$as_dir" && as_dir=.
12127 # Account for people who put trailing slashes in PATH elements.
12128 case $as_dir/ in
12129 ./ | .// | /cC/* | \
12130 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12131 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12132 /usr/ucb/* ) ;;
12133 *)
12134 # OSF1 and SCO ODT 3.0 have their own names for install.
12135 # Don't use installbsd from OSF since it installs stuff as root
12136 # by default.
12137 for ac_prog in ginstall scoinst install; do
12138 for ac_exec_ext in '' $ac_executable_extensions; do
12139 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12140 if test $ac_prog = install &&
12141 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12142 # AIX install. It has an incompatible calling convention.
12143 :
12144 elif test $ac_prog = install &&
12145 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12146 # program-specific install script used by HP pwplus--don't use.
12147 :
12148 else
12149 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12150 break 3
12151 fi
12152 fi
12153 done
12154 done
12155 ;;
12156 esac
12157 done
12158
12159
12160 fi
12161 if test "${ac_cv_path_install+set}" = set; then
12162 INSTALL=$ac_cv_path_install
12163 else
12164 # As a last resort, use the slow shell script. We don't cache a
12165 # path for INSTALL within a source directory, because that will
12166 # break other packages using the cache if that directory is
12167 # removed, or if the path is relative.
12168 INSTALL=$ac_install_sh
12169 fi
12170 fi
12171 echo "$as_me:$LINENO: result: $INSTALL" >&5
12172 echo "${ECHO_T}$INSTALL" >&6
12173
12174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12175 # It thinks the first close brace ends the variable substitution.
12176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12177
12178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12179
12180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12181
12182
12183 case ${INSTALL} in
12184 /* ) # Absolute
12185 ;;
12186 ?:* ) # Drive letter, considered as absolute.
12187 ;;
12188 *)
12189 INSTALL=`pwd`/${INSTALL} ;;
12190 esac
12191
12192
12193 case "${host}" in
12194
12195 powerpc-*-darwin* )
12196 INSTALL_PROGRAM="cp -fp"
12197 INSTALL_DATA="cp -fp"
12198 ;;
12199 *)
12200 ;;
12201 esac
12202
12203 # Extract the first word of "strip", so it can be a program name with args.
12204 set dummy strip; ac_word=$2
12205 echo "$as_me:$LINENO: checking for $ac_word" >&5
12206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12207 if test "${ac_cv_prog_STRIP+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 else
12210 if test -n "$STRIP"; then
12211 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12212 else
12213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214 for as_dir in $PATH
12215 do
12216 IFS=$as_save_IFS
12217 test -z "$as_dir" && as_dir=.
12218 for ac_exec_ext in '' $ac_executable_extensions; do
12219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12220 ac_cv_prog_STRIP="strip"
12221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12222 break 2
12223 fi
12224 done
12225 done
12226
12227 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12228 fi
12229 fi
12230 STRIP=$ac_cv_prog_STRIP
12231 if test -n "$STRIP"; then
12232 echo "$as_me:$LINENO: result: $STRIP" >&5
12233 echo "${ECHO_T}$STRIP" >&6
12234 else
12235 echo "$as_me:$LINENO: result: no" >&5
12236 echo "${ECHO_T}no" >&6
12237 fi
12238
12239
12240 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12241 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12242 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12245
12246 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12247 egrep -s GNU > /dev/null); then
12248 wx_cv_prog_makeisgnu="yes"
12249 else
12250 wx_cv_prog_makeisgnu="no"
12251 fi
12252
12253 fi
12254 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12255 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12256
12257 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12258 IF_GNU_MAKE=""
12259 else
12260 IF_GNU_MAKE="#"
12261 fi
12262
12263
12264
12265 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12266 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12267 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12268 if test "${wx_cv_prog_makevpath+set}" = set; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 else
12271
12272 cat - << EOF > confMake
12273 check : file
12274 cp \$? \$@
12275 cp \$? final_file
12276 EOF
12277
12278 if test ! -d sub ; then
12279 mkdir sub
12280 fi
12281 echo dummy > sub/file
12282 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12283 RESULT=$?
12284 rm -f sub/file check final_file confMake
12285 rmdir sub
12286 if test "$RESULT" = 0; then
12287 wx_cv_prog_makevpath="yes"
12288 else
12289 wx_cv_prog_makevpath="no"
12290 fi
12291
12292 fi
12293 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12294 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12295
12296 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12297 { { echo "$as_me:$LINENO: error:
12298 You need a make-utility that is able to use the variable
12299 VPATH correctly.
12300 If your version of make does not support VPATH correctly,
12301 please install GNU-make (possibly as gmake), and start
12302 configure with the following command:
12303 export MAKE=gmake; ./configure for sh-type shells
12304 setenv MAKE gmake; ./configure for csh-type shells
12305 Also please do remember to use gmake in this case every time
12306 you are trying to compile.
12307 " >&5
12308 echo "$as_me: error:
12309 You need a make-utility that is able to use the variable
12310 VPATH correctly.
12311 If your version of make does not support VPATH correctly,
12312 please install GNU-make (possibly as gmake), and start
12313 configure with the following command:
12314 export MAKE=gmake; ./configure for sh-type shells
12315 setenv MAKE gmake; ./configure for csh-type shells
12316 Also please do remember to use gmake in this case every time
12317 you are trying to compile.
12318 " >&2;}
12319 { (exit 1); exit 1; }; }
12320 fi fi
12321 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12322 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12323 LN_S=$as_ln_s
12324 if test "$LN_S" = "ln -s"; then
12325 echo "$as_me:$LINENO: result: yes" >&5
12326 echo "${ECHO_T}yes" >&6
12327 else
12328 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12329 echo "${ECHO_T}no, using $LN_S" >&6
12330 fi
12331
12332
12333
12334 case "${host}" in
12335 *-pc-os2_emx | *-pc-os2-emx )
12336 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12337 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12338 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12339 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12341 else
12342 ac_check_lib_save_LIBS=$LIBS
12343 LIBS="-lcExt $LIBS"
12344 cat >conftest.$ac_ext <<_ACEOF
12345 /* confdefs.h. */
12346 _ACEOF
12347 cat confdefs.h >>conftest.$ac_ext
12348 cat >>conftest.$ac_ext <<_ACEOF
12349 /* end confdefs.h. */
12350
12351 /* Override any gcc2 internal prototype to avoid an error. */
12352 #ifdef __cplusplus
12353 extern "C"
12354 #endif
12355 /* We use char because int might match the return type of a gcc2
12356 builtin and then its argument prototype would still apply. */
12357 char drand48 ();
12358 int
12359 main ()
12360 {
12361 drand48 ();
12362 ;
12363 return 0;
12364 }
12365 _ACEOF
12366 rm -f conftest.$ac_objext conftest$ac_exeext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12368 (eval $ac_link) 2>conftest.er1
12369 ac_status=$?
12370 grep -v '^ *+' conftest.er1 >conftest.err
12371 rm -f conftest.er1
12372 cat conftest.err >&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12378 ac_status=$?
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try='test -s conftest$ac_exeext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_cv_lib_cExt_drand48=yes
12388 else
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.$ac_ext >&5
12391
12392 ac_cv_lib_cExt_drand48=no
12393 fi
12394 rm -f conftest.err conftest.$ac_objext \
12395 conftest$ac_exeext conftest.$ac_ext
12396 LIBS=$ac_check_lib_save_LIBS
12397 fi
12398 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12399 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12400 if test $ac_cv_lib_cExt_drand48 = yes; then
12401 LIBS="$LIBS -lcExt"
12402 fi
12403
12404 else
12405 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12406 fi
12407 echo "$as_me:$LINENO: checking for gcc version" >&5
12408 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12409 if test "${wx_cv_gccversion+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 else
12412
12413 cat >conftest.$ac_ext <<_ACEOF
12414 /* confdefs.h. */
12415 _ACEOF
12416 cat confdefs.h >>conftest.$ac_ext
12417 cat >>conftest.$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12419
12420 int
12421 main ()
12422 {
12423
12424 #if (__GNUC__ < 3)
12425 #error old gcc
12426 #endif
12427
12428 ;
12429 return 0;
12430 }
12431 _ACEOF
12432 rm -f conftest.$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453
12454 cat >conftest.$ac_ext <<_ACEOF
12455 /* confdefs.h. */
12456 _ACEOF
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12460
12461 int
12462 main ()
12463 {
12464
12465 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12466 #error intermediate gcc
12467 #endif
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12476 ac_status=$?
12477 grep -v '^ *+' conftest.er1 >conftest.err
12478 rm -f conftest.er1
12479 cat conftest.err >&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12485 ac_status=$?
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12491 ac_status=$?
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494
12495 wx_cv_gccversion=Innotek
12496
12497 else
12498 echo "$as_me: failed program was:" >&5
12499 sed 's/^/| /' conftest.$ac_ext >&5
12500
12501
12502 wx_cv_gccversion=3
12503
12504
12505 fi
12506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12507
12508 else
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.$ac_ext >&5
12511
12512
12513 wx_cv_gccversion=2
12514
12515
12516 fi
12517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12518
12519 fi
12520 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12521 echo "${ECHO_T}$wx_cv_gccversion" >&6
12522 if test "$wx_cv_gccversion" = "2"; then
12523 LIBS="$LIBS -lstdcpp"
12524 LDFLAGS="$LDFLAGS -Zsysv-signals"
12525 else
12526 if test "$wx_cv_gccversion" = "3"; then
12527 LIBS="$LIBS -lstdcxx"
12528 LDFLAGS="$LDFLAGS -Zsysv-signals"
12529 else
12530 LIBS="$LIBS -lstdc++"
12531 fi
12532 fi
12533 if test "$wxUSE_OMF" = "yes"; then
12534 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12535 fi
12536 ;;
12537 *)
12538
12539
12540
12541 ac_ext=cc
12542 ac_cpp='$CXXCPP $CPPFLAGS'
12543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12546
12547
12548
12549 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12550 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12551 if test "${ac_cv_string_strcasecmp+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554
12555 cat >conftest.$ac_ext <<_ACEOF
12556 /* confdefs.h. */
12557 _ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12561
12562 #include <string.h>
12563
12564 int
12565 main ()
12566 {
12567
12568 strcasecmp("foo", "bar");
12569
12570 ;
12571 return 0;
12572 }
12573 _ACEOF
12574 rm -f conftest.$ac_objext conftest$ac_exeext
12575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12576 (eval $ac_link) 2>conftest.er1
12577 ac_status=$?
12578 grep -v '^ *+' conftest.er1 >conftest.err
12579 rm -f conftest.er1
12580 cat conftest.err >&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } &&
12583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12585 (eval $ac_try) 2>&5
12586 ac_status=$?
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }; } &&
12589 { ac_try='test -s conftest$ac_exeext'
12590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591 (eval $ac_try) 2>&5
12592 ac_status=$?
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }; }; then
12595 ac_cv_string_strcasecmp=yes
12596 else
12597 echo "$as_me: failed program was:" >&5
12598 sed 's/^/| /' conftest.$ac_ext >&5
12599
12600 ac_cv_string_strcasecmp=no
12601
12602 fi
12603 rm -f conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605
12606 fi
12607 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12608 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12609
12610 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12611 cat >>confdefs.h <<\_ACEOF
12612 #define HAVE_STRCASECMP_IN_STRING_H 1
12613 _ACEOF
12614
12615 else
12616 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12617 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12618 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12620 else
12621
12622 cat >conftest.$ac_ext <<_ACEOF
12623 /* confdefs.h. */
12624 _ACEOF
12625 cat confdefs.h >>conftest.$ac_ext
12626 cat >>conftest.$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12628
12629 #include <strings.h>
12630
12631 int
12632 main ()
12633 {
12634
12635 strcasecmp("foo", "bar");
12636
12637 ;
12638 return 0;
12639 }
12640 _ACEOF
12641 rm -f conftest.$ac_objext conftest$ac_exeext
12642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12643 (eval $ac_link) 2>conftest.er1
12644 ac_status=$?
12645 grep -v '^ *+' conftest.er1 >conftest.err
12646 rm -f conftest.er1
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } &&
12650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try='test -s conftest$ac_exeext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12659 ac_status=$?
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_cv_strings_strcasecmp=yes
12663 else
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12666
12667 ac_cv_strings_strcasecmp=no
12668
12669 fi
12670 rm -f conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672
12673 fi
12674 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12675 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12676
12677 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12678 cat >>confdefs.h <<\_ACEOF
12679 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12680 _ACEOF
12681
12682 else
12683 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12684 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12685 { (exit 1); exit 1; }; }
12686 fi
12687 fi
12688
12689 ac_ext=c
12690 ac_cpp='$CPP $CPPFLAGS'
12691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12694
12695 ;;
12696 esac
12697
12698
12699 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12700 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12701 if test "${ac_cv_header_stdc+set}" = set; then
12702 echo $ECHO_N "(cached) $ECHO_C" >&6
12703 else
12704 cat >conftest.$ac_ext <<_ACEOF
12705 /* confdefs.h. */
12706 _ACEOF
12707 cat confdefs.h >>conftest.$ac_ext
12708 cat >>conftest.$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12710 #include <stdlib.h>
12711 #include <stdarg.h>
12712 #include <string.h>
12713 #include <float.h>
12714
12715 int
12716 main ()
12717 {
12718
12719 ;
12720 return 0;
12721 }
12722 _ACEOF
12723 rm -f conftest.$ac_objext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12725 (eval $ac_compile) 2>conftest.er1
12726 ac_status=$?
12727 grep -v '^ *+' conftest.er1 >conftest.err
12728 rm -f conftest.er1
12729 cat conftest.err >&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 (eval $ac_try) 2>&5
12735 ac_status=$?
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); }; } &&
12738 { ac_try='test -s conftest.$ac_objext'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12741 ac_status=$?
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; }; then
12744 ac_cv_header_stdc=yes
12745 else
12746 echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.$ac_ext >&5
12748
12749 ac_cv_header_stdc=no
12750 fi
12751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12752
12753 if test $ac_cv_header_stdc = yes; then
12754 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12755 cat >conftest.$ac_ext <<_ACEOF
12756 /* confdefs.h. */
12757 _ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12761 #include <string.h>
12762
12763 _ACEOF
12764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12765 $EGREP "memchr" >/dev/null 2>&1; then
12766 :
12767 else
12768 ac_cv_header_stdc=no
12769 fi
12770 rm -f conftest*
12771
12772 fi
12773
12774 if test $ac_cv_header_stdc = yes; then
12775 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12776 cat >conftest.$ac_ext <<_ACEOF
12777 /* confdefs.h. */
12778 _ACEOF
12779 cat confdefs.h >>conftest.$ac_ext
12780 cat >>conftest.$ac_ext <<_ACEOF
12781 /* end confdefs.h. */
12782 #include <stdlib.h>
12783
12784 _ACEOF
12785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12786 $EGREP "free" >/dev/null 2>&1; then
12787 :
12788 else
12789 ac_cv_header_stdc=no
12790 fi
12791 rm -f conftest*
12792
12793 fi
12794
12795 if test $ac_cv_header_stdc = yes; then
12796 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12797 if test "$cross_compiling" = yes; then
12798 :
12799 else
12800 cat >conftest.$ac_ext <<_ACEOF
12801 /* confdefs.h. */
12802 _ACEOF
12803 cat confdefs.h >>conftest.$ac_ext
12804 cat >>conftest.$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 #include <ctype.h>
12807 #if ((' ' & 0x0FF) == 0x020)
12808 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12809 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12810 #else
12811 # define ISLOWER(c) \
12812 (('a' <= (c) && (c) <= 'i') \
12813 || ('j' <= (c) && (c) <= 'r') \
12814 || ('s' <= (c) && (c) <= 'z'))
12815 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12816 #endif
12817
12818 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12819 int
12820 main ()
12821 {
12822 int i;
12823 for (i = 0; i < 256; i++)
12824 if (XOR (islower (i), ISLOWER (i))
12825 || toupper (i) != TOUPPER (i))
12826 exit(2);
12827 exit (0);
12828 }
12829 _ACEOF
12830 rm -f conftest$ac_exeext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12832 (eval $ac_link) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12838 ac_status=$?
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; }; then
12841 :
12842 else
12843 echo "$as_me: program exited with status $ac_status" >&5
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.$ac_ext >&5
12846
12847 ( exit $ac_status )
12848 ac_cv_header_stdc=no
12849 fi
12850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12851 fi
12852 fi
12853 fi
12854 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12855 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12856 if test $ac_cv_header_stdc = yes; then
12857
12858 cat >>confdefs.h <<\_ACEOF
12859 #define STDC_HEADERS 1
12860 _ACEOF
12861
12862 fi
12863
12864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12875 inttypes.h stdint.h unistd.h
12876 do
12877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12878 echo "$as_me:$LINENO: checking for $ac_header" >&5
12879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12882 else
12883 cat >conftest.$ac_ext <<_ACEOF
12884 /* confdefs.h. */
12885 _ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889 $ac_includes_default
12890
12891 #include <$ac_header>
12892 _ACEOF
12893 rm -f conftest.$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>conftest.er1
12896 ac_status=$?
12897 grep -v '^ *+' conftest.er1 >conftest.err
12898 rm -f conftest.er1
12899 cat conftest.err >&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12905 ac_status=$?
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try='test -s conftest.$ac_objext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12911 ac_status=$?
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 eval "$as_ac_Header=yes"
12915 else
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.$ac_ext >&5
12918
12919 eval "$as_ac_Header=no"
12920 fi
12921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12922 fi
12923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12926 cat >>confdefs.h <<_ACEOF
12927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12928 _ACEOF
12929
12930 fi
12931
12932 done
12933
12934
12935
12936 for ac_header in stdlib.h
12937 do
12938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12940 echo "$as_me:$LINENO: checking for $ac_header" >&5
12941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12943 echo $ECHO_N "(cached) $ECHO_C" >&6
12944 fi
12945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12947 else
12948 # Is the header compilable?
12949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12951 cat >conftest.$ac_ext <<_ACEOF
12952 /* confdefs.h. */
12953 _ACEOF
12954 cat confdefs.h >>conftest.$ac_ext
12955 cat >>conftest.$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957 $ac_includes_default
12958 #include <$ac_header>
12959 _ACEOF
12960 rm -f conftest.$ac_objext
12961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12962 (eval $ac_compile) 2>conftest.er1
12963 ac_status=$?
12964 grep -v '^ *+' conftest.er1 >conftest.err
12965 rm -f conftest.er1
12966 cat conftest.err >&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } &&
12969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 (eval $ac_try) 2>&5
12972 ac_status=$?
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); }; } &&
12975 { ac_try='test -s conftest.$ac_objext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12978 ac_status=$?
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12981 ac_header_compiler=yes
12982 else
12983 echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.$ac_ext >&5
12985
12986 ac_header_compiler=no
12987 fi
12988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12990 echo "${ECHO_T}$ac_header_compiler" >&6
12991
12992 # Is the header present?
12993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12995 cat >conftest.$ac_ext <<_ACEOF
12996 /* confdefs.h. */
12997 _ACEOF
12998 cat confdefs.h >>conftest.$ac_ext
12999 cat >>conftest.$ac_ext <<_ACEOF
13000 /* end confdefs.h. */
13001 #include <$ac_header>
13002 _ACEOF
13003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13005 ac_status=$?
13006 grep -v '^ *+' conftest.er1 >conftest.err
13007 rm -f conftest.er1
13008 cat conftest.err >&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); } >/dev/null; then
13011 if test -s conftest.err; then
13012 ac_cpp_err=$ac_c_preproc_warn_flag
13013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13014 else
13015 ac_cpp_err=
13016 fi
13017 else
13018 ac_cpp_err=yes
13019 fi
13020 if test -z "$ac_cpp_err"; then
13021 ac_header_preproc=yes
13022 else
13023 echo "$as_me: failed program was:" >&5
13024 sed 's/^/| /' conftest.$ac_ext >&5
13025
13026 ac_header_preproc=no
13027 fi
13028 rm -f conftest.err conftest.$ac_ext
13029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13030 echo "${ECHO_T}$ac_header_preproc" >&6
13031
13032 # So? What about this header?
13033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13034 yes:no: )
13035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13039 ac_header_preproc=yes
13040 ;;
13041 no:yes:* )
13042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13054 (
13055 cat <<\_ASBOX
13056 ## ----------------------------------------- ##
13057 ## Report this to wx-dev@lists.wxwidgets.org ##
13058 ## ----------------------------------------- ##
13059 _ASBOX
13060 ) |
13061 sed "s/^/$as_me: WARNING: /" >&2
13062 ;;
13063 esac
13064 echo "$as_me:$LINENO: checking for $ac_header" >&5
13065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 else
13069 eval "$as_ac_Header=\$ac_header_preproc"
13070 fi
13071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13073
13074 fi
13075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13076 cat >>confdefs.h <<_ACEOF
13077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13078 _ACEOF
13079
13080 fi
13081
13082 done
13083
13084
13085 for ac_header in malloc.h
13086 do
13087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13089 echo "$as_me:$LINENO: checking for $ac_header" >&5
13090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 fi
13094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13096 else
13097 # Is the header compilable?
13098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13100 cat >conftest.$ac_ext <<_ACEOF
13101 /* confdefs.h. */
13102 _ACEOF
13103 cat confdefs.h >>conftest.$ac_ext
13104 cat >>conftest.$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 $ac_includes_default
13107 #include <$ac_header>
13108 _ACEOF
13109 rm -f conftest.$ac_objext
13110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13111 (eval $ac_compile) 2>conftest.er1
13112 ac_status=$?
13113 grep -v '^ *+' conftest.er1 >conftest.err
13114 rm -f conftest.er1
13115 cat conftest.err >&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } &&
13118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13121 ac_status=$?
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; } &&
13124 { ac_try='test -s conftest.$ac_objext'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13127 ac_status=$?
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; }; then
13130 ac_header_compiler=yes
13131 else
13132 echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.$ac_ext >&5
13134
13135 ac_header_compiler=no
13136 fi
13137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13139 echo "${ECHO_T}$ac_header_compiler" >&6
13140
13141 # Is the header present?
13142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13144 cat >conftest.$ac_ext <<_ACEOF
13145 /* confdefs.h. */
13146 _ACEOF
13147 cat confdefs.h >>conftest.$ac_ext
13148 cat >>conftest.$ac_ext <<_ACEOF
13149 /* end confdefs.h. */
13150 #include <$ac_header>
13151 _ACEOF
13152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13154 ac_status=$?
13155 grep -v '^ *+' conftest.er1 >conftest.err
13156 rm -f conftest.er1
13157 cat conftest.err >&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } >/dev/null; then
13160 if test -s conftest.err; then
13161 ac_cpp_err=$ac_c_preproc_warn_flag
13162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13163 else
13164 ac_cpp_err=
13165 fi
13166 else
13167 ac_cpp_err=yes
13168 fi
13169 if test -z "$ac_cpp_err"; then
13170 ac_header_preproc=yes
13171 else
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.$ac_ext >&5
13174
13175 ac_header_preproc=no
13176 fi
13177 rm -f conftest.err conftest.$ac_ext
13178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13179 echo "${ECHO_T}$ac_header_preproc" >&6
13180
13181 # So? What about this header?
13182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13183 yes:no: )
13184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13188 ac_header_preproc=yes
13189 ;;
13190 no:yes:* )
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13203 (
13204 cat <<\_ASBOX
13205 ## ----------------------------------------- ##
13206 ## Report this to wx-dev@lists.wxwidgets.org ##
13207 ## ----------------------------------------- ##
13208 _ASBOX
13209 ) |
13210 sed "s/^/$as_me: WARNING: /" >&2
13211 ;;
13212 esac
13213 echo "$as_me:$LINENO: checking for $ac_header" >&5
13214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13216 echo $ECHO_N "(cached) $ECHO_C" >&6
13217 else
13218 eval "$as_ac_Header=\$ac_header_preproc"
13219 fi
13220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13222
13223 fi
13224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13225 cat >>confdefs.h <<_ACEOF
13226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13227 _ACEOF
13228
13229 fi
13230
13231 done
13232
13233
13234 for ac_header in unistd.h
13235 do
13236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13238 echo "$as_me:$LINENO: checking for $ac_header" >&5
13239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 fi
13243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13245 else
13246 # Is the header compilable?
13247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13249 cat >conftest.$ac_ext <<_ACEOF
13250 /* confdefs.h. */
13251 _ACEOF
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13255 $ac_includes_default
13256 #include <$ac_header>
13257 _ACEOF
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13261 ac_status=$?
13262 grep -v '^ *+' conftest.er1 >conftest.err
13263 rm -f conftest.er1
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13270 ac_status=$?
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_header_compiler=yes
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13283
13284 ac_header_compiler=no
13285 fi
13286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13288 echo "${ECHO_T}$ac_header_compiler" >&6
13289
13290 # Is the header present?
13291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13293 cat >conftest.$ac_ext <<_ACEOF
13294 /* confdefs.h. */
13295 _ACEOF
13296 cat confdefs.h >>conftest.$ac_ext
13297 cat >>conftest.$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299 #include <$ac_header>
13300 _ACEOF
13301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev/null; then
13309 if test -s conftest.err; then
13310 ac_cpp_err=$ac_c_preproc_warn_flag
13311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13312 else
13313 ac_cpp_err=
13314 fi
13315 else
13316 ac_cpp_err=yes
13317 fi
13318 if test -z "$ac_cpp_err"; then
13319 ac_header_preproc=yes
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 ac_header_preproc=no
13325 fi
13326 rm -f conftest.err conftest.$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13328 echo "${ECHO_T}$ac_header_preproc" >&6
13329
13330 # So? What about this header?
13331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13332 yes:no: )
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13337 ac_header_preproc=yes
13338 ;;
13339 no:yes:* )
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13352 (
13353 cat <<\_ASBOX
13354 ## ----------------------------------------- ##
13355 ## Report this to wx-dev@lists.wxwidgets.org ##
13356 ## ----------------------------------------- ##
13357 _ASBOX
13358 ) |
13359 sed "s/^/$as_me: WARNING: /" >&2
13360 ;;
13361 esac
13362 echo "$as_me:$LINENO: checking for $ac_header" >&5
13363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13366 else
13367 eval "$as_ac_Header=\$ac_header_preproc"
13368 fi
13369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13371
13372 fi
13373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13374 cat >>confdefs.h <<_ACEOF
13375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13376 _ACEOF
13377
13378 fi
13379
13380 done
13381
13382
13383 for ac_header in wchar.h
13384 do
13385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13387 echo "$as_me:$LINENO: checking for $ac_header" >&5
13388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13391 fi
13392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13394 else
13395 # Is the header compilable?
13396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13398 cat >conftest.$ac_ext <<_ACEOF
13399 /* confdefs.h. */
13400 _ACEOF
13401 cat confdefs.h >>conftest.$ac_ext
13402 cat >>conftest.$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404 $ac_includes_default
13405 #include <$ac_header>
13406 _ACEOF
13407 rm -f conftest.$ac_objext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13409 (eval $ac_compile) 2>conftest.er1
13410 ac_status=$?
13411 grep -v '^ *+' conftest.er1 >conftest.err
13412 rm -f conftest.er1
13413 cat conftest.err >&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13419 ac_status=$?
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; } &&
13422 { ac_try='test -s conftest.$ac_objext'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13425 ac_status=$?
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; }; then
13428 ac_header_compiler=yes
13429 else
13430 echo "$as_me: failed program was:" >&5
13431 sed 's/^/| /' conftest.$ac_ext >&5
13432
13433 ac_header_compiler=no
13434 fi
13435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13437 echo "${ECHO_T}$ac_header_compiler" >&6
13438
13439 # Is the header present?
13440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13442 cat >conftest.$ac_ext <<_ACEOF
13443 /* confdefs.h. */
13444 _ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448 #include <$ac_header>
13449 _ACEOF
13450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13452 ac_status=$?
13453 grep -v '^ *+' conftest.er1 >conftest.err
13454 rm -f conftest.er1
13455 cat conftest.err >&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } >/dev/null; then
13458 if test -s conftest.err; then
13459 ac_cpp_err=$ac_c_preproc_warn_flag
13460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13461 else
13462 ac_cpp_err=
13463 fi
13464 else
13465 ac_cpp_err=yes
13466 fi
13467 if test -z "$ac_cpp_err"; then
13468 ac_header_preproc=yes
13469 else
13470 echo "$as_me: failed program was:" >&5
13471 sed 's/^/| /' conftest.$ac_ext >&5
13472
13473 ac_header_preproc=no
13474 fi
13475 rm -f conftest.err conftest.$ac_ext
13476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13477 echo "${ECHO_T}$ac_header_preproc" >&6
13478
13479 # So? What about this header?
13480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13481 yes:no: )
13482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13486 ac_header_preproc=yes
13487 ;;
13488 no:yes:* )
13489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13501 (
13502 cat <<\_ASBOX
13503 ## ----------------------------------------- ##
13504 ## Report this to wx-dev@lists.wxwidgets.org ##
13505 ## ----------------------------------------- ##
13506 _ASBOX
13507 ) |
13508 sed "s/^/$as_me: WARNING: /" >&2
13509 ;;
13510 esac
13511 echo "$as_me:$LINENO: checking for $ac_header" >&5
13512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13515 else
13516 eval "$as_ac_Header=\$ac_header_preproc"
13517 fi
13518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13520
13521 fi
13522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13523 cat >>confdefs.h <<_ACEOF
13524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13525 _ACEOF
13526
13527 fi
13528
13529 done
13530
13531
13532 if test "$ac_cv_header_wchar_h" != "yes"; then
13533
13534 for ac_header in wcstr.h
13535 do
13536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13538 echo "$as_me:$LINENO: checking for $ac_header" >&5
13539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13542 fi
13543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13545 else
13546 # Is the header compilable?
13547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13549 cat >conftest.$ac_ext <<_ACEOF
13550 /* confdefs.h. */
13551 _ACEOF
13552 cat confdefs.h >>conftest.$ac_ext
13553 cat >>conftest.$ac_ext <<_ACEOF
13554 /* end confdefs.h. */
13555 $ac_includes_default
13556 #include <$ac_header>
13557 _ACEOF
13558 rm -f conftest.$ac_objext
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560 (eval $ac_compile) 2>conftest.er1
13561 ac_status=$?
13562 grep -v '^ *+' conftest.er1 >conftest.err
13563 rm -f conftest.er1
13564 cat conftest.err >&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } &&
13567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13569 (eval $ac_try) 2>&5
13570 ac_status=$?
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); }; } &&
13573 { ac_try='test -s conftest.$ac_objext'
13574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13575 (eval $ac_try) 2>&5
13576 ac_status=$?
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); }; }; then
13579 ac_header_compiler=yes
13580 else
13581 echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.$ac_ext >&5
13583
13584 ac_header_compiler=no
13585 fi
13586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13588 echo "${ECHO_T}$ac_header_compiler" >&6
13589
13590 # Is the header present?
13591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13593 cat >conftest.$ac_ext <<_ACEOF
13594 /* confdefs.h. */
13595 _ACEOF
13596 cat confdefs.h >>conftest.$ac_ext
13597 cat >>conftest.$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 #include <$ac_header>
13600 _ACEOF
13601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13603 ac_status=$?
13604 grep -v '^ *+' conftest.er1 >conftest.err
13605 rm -f conftest.er1
13606 cat conftest.err >&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); } >/dev/null; then
13609 if test -s conftest.err; then
13610 ac_cpp_err=$ac_c_preproc_warn_flag
13611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13612 else
13613 ac_cpp_err=
13614 fi
13615 else
13616 ac_cpp_err=yes
13617 fi
13618 if test -z "$ac_cpp_err"; then
13619 ac_header_preproc=yes
13620 else
13621 echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.$ac_ext >&5
13623
13624 ac_header_preproc=no
13625 fi
13626 rm -f conftest.err conftest.$ac_ext
13627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13628 echo "${ECHO_T}$ac_header_preproc" >&6
13629
13630 # So? What about this header?
13631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13632 yes:no: )
13633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13637 ac_header_preproc=yes
13638 ;;
13639 no:yes:* )
13640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13652 (
13653 cat <<\_ASBOX
13654 ## ----------------------------------------- ##
13655 ## Report this to wx-dev@lists.wxwidgets.org ##
13656 ## ----------------------------------------- ##
13657 _ASBOX
13658 ) |
13659 sed "s/^/$as_me: WARNING: /" >&2
13660 ;;
13661 esac
13662 echo "$as_me:$LINENO: checking for $ac_header" >&5
13663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13666 else
13667 eval "$as_ac_Header=\$ac_header_preproc"
13668 fi
13669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13671
13672 fi
13673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13674 cat >>confdefs.h <<_ACEOF
13675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13676 _ACEOF
13677
13678 fi
13679
13680 done
13681
13682 fi
13683
13684
13685 for ac_header in fnmatch.h
13686 do
13687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13689 echo "$as_me:$LINENO: checking for $ac_header" >&5
13690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13692 echo $ECHO_N "(cached) $ECHO_C" >&6
13693 fi
13694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13696 else
13697 # Is the header compilable?
13698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13700 cat >conftest.$ac_ext <<_ACEOF
13701 /* confdefs.h. */
13702 _ACEOF
13703 cat confdefs.h >>conftest.$ac_ext
13704 cat >>conftest.$ac_ext <<_ACEOF
13705 /* end confdefs.h. */
13706 $ac_includes_default
13707 #include <$ac_header>
13708 _ACEOF
13709 rm -f conftest.$ac_objext
13710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13711 (eval $ac_compile) 2>conftest.er1
13712 ac_status=$?
13713 grep -v '^ *+' conftest.er1 >conftest.err
13714 rm -f conftest.er1
13715 cat conftest.err >&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13721 ac_status=$?
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13727 ac_status=$?
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ac_header_compiler=yes
13731 else
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13734
13735 ac_header_compiler=no
13736 fi
13737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13739 echo "${ECHO_T}$ac_header_compiler" >&6
13740
13741 # Is the header present?
13742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13744 cat >conftest.$ac_ext <<_ACEOF
13745 /* confdefs.h. */
13746 _ACEOF
13747 cat confdefs.h >>conftest.$ac_ext
13748 cat >>conftest.$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13750 #include <$ac_header>
13751 _ACEOF
13752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13754 ac_status=$?
13755 grep -v '^ *+' conftest.er1 >conftest.err
13756 rm -f conftest.er1
13757 cat conftest.err >&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } >/dev/null; then
13760 if test -s conftest.err; then
13761 ac_cpp_err=$ac_c_preproc_warn_flag
13762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13763 else
13764 ac_cpp_err=
13765 fi
13766 else
13767 ac_cpp_err=yes
13768 fi
13769 if test -z "$ac_cpp_err"; then
13770 ac_header_preproc=yes
13771 else
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13774
13775 ac_header_preproc=no
13776 fi
13777 rm -f conftest.err conftest.$ac_ext
13778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13779 echo "${ECHO_T}$ac_header_preproc" >&6
13780
13781 # So? What about this header?
13782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13783 yes:no: )
13784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13788 ac_header_preproc=yes
13789 ;;
13790 no:yes:* )
13791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13803 (
13804 cat <<\_ASBOX
13805 ## ----------------------------------------- ##
13806 ## Report this to wx-dev@lists.wxwidgets.org ##
13807 ## ----------------------------------------- ##
13808 _ASBOX
13809 ) |
13810 sed "s/^/$as_me: WARNING: /" >&2
13811 ;;
13812 esac
13813 echo "$as_me:$LINENO: checking for $ac_header" >&5
13814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13817 else
13818 eval "$as_ac_Header=\$ac_header_preproc"
13819 fi
13820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13822
13823 fi
13824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13825 cat >>confdefs.h <<_ACEOF
13826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13827 _ACEOF
13828
13829 fi
13830
13831 done
13832
13833
13834 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13835
13836 for ac_func in fnmatch
13837 do
13838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13839 echo "$as_me:$LINENO: checking for $ac_func" >&5
13840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13841 if eval "test \"\${$as_ac_var+set}\" = set"; then
13842 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 else
13844 cat >conftest.$ac_ext <<_ACEOF
13845 /* confdefs.h. */
13846 _ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13852 #define $ac_func innocuous_$ac_func
13853
13854 /* System header to define __stub macros and hopefully few prototypes,
13855 which can conflict with char $ac_func (); below.
13856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13857 <limits.h> exists even on freestanding compilers. */
13858
13859 #ifdef __STDC__
13860 # include <limits.h>
13861 #else
13862 # include <assert.h>
13863 #endif
13864
13865 #undef $ac_func
13866
13867 /* Override any gcc2 internal prototype to avoid an error. */
13868 #ifdef __cplusplus
13869 extern "C"
13870 {
13871 #endif
13872 /* We use char because int might match the return type of a gcc2
13873 builtin and then its argument prototype would still apply. */
13874 char $ac_func ();
13875 /* The GNU C library defines this for functions which it implements
13876 to always fail with ENOSYS. Some functions are actually named
13877 something starting with __ and the normal name is an alias. */
13878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13879 choke me
13880 #else
13881 char (*f) () = $ac_func;
13882 #endif
13883 #ifdef __cplusplus
13884 }
13885 #endif
13886
13887 int
13888 main ()
13889 {
13890 return f != $ac_func;
13891 ;
13892 return 0;
13893 }
13894 _ACEOF
13895 rm -f conftest.$ac_objext conftest$ac_exeext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13897 (eval $ac_link) 2>conftest.er1
13898 ac_status=$?
13899 grep -v '^ *+' conftest.er1 >conftest.err
13900 rm -f conftest.er1
13901 cat conftest.err >&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } &&
13904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13907 ac_status=$?
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; } &&
13910 { ac_try='test -s conftest$ac_exeext'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; }; then
13916 eval "$as_ac_var=yes"
13917 else
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.$ac_ext >&5
13920
13921 eval "$as_ac_var=no"
13922 fi
13923 rm -f conftest.err conftest.$ac_objext \
13924 conftest$ac_exeext conftest.$ac_ext
13925 fi
13926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13928 if test `eval echo '${'$as_ac_var'}'` = yes; then
13929 cat >>confdefs.h <<_ACEOF
13930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13931 _ACEOF
13932
13933 fi
13934 done
13935
13936 fi
13937
13938
13939 for ac_header in langinfo.h
13940 do
13941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13943 echo "$as_me:$LINENO: checking for $ac_header" >&5
13944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13946 echo $ECHO_N "(cached) $ECHO_C" >&6
13947 fi
13948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13950 else
13951 # Is the header compilable?
13952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13954 cat >conftest.$ac_ext <<_ACEOF
13955 /* confdefs.h. */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 $ac_includes_default
13961 #include <$ac_header>
13962 _ACEOF
13963 rm -f conftest.$ac_objext
13964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13965 (eval $ac_compile) 2>conftest.er1
13966 ac_status=$?
13967 grep -v '^ *+' conftest.er1 >conftest.err
13968 rm -f conftest.er1
13969 cat conftest.err >&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } &&
13972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13975 ac_status=$?
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; } &&
13978 { ac_try='test -s conftest.$ac_objext'
13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13980 (eval $ac_try) 2>&5
13981 ac_status=$?
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }; }; then
13984 ac_header_compiler=yes
13985 else
13986 echo "$as_me: failed program was:" >&5
13987 sed 's/^/| /' conftest.$ac_ext >&5
13988
13989 ac_header_compiler=no
13990 fi
13991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13993 echo "${ECHO_T}$ac_header_compiler" >&6
13994
13995 # Is the header present?
13996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13998 cat >conftest.$ac_ext <<_ACEOF
13999 /* confdefs.h. */
14000 _ACEOF
14001 cat confdefs.h >>conftest.$ac_ext
14002 cat >>conftest.$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 #include <$ac_header>
14005 _ACEOF
14006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14008 ac_status=$?
14009 grep -v '^ *+' conftest.er1 >conftest.err
14010 rm -f conftest.er1
14011 cat conftest.err >&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); } >/dev/null; then
14014 if test -s conftest.err; then
14015 ac_cpp_err=$ac_c_preproc_warn_flag
14016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14017 else
14018 ac_cpp_err=
14019 fi
14020 else
14021 ac_cpp_err=yes
14022 fi
14023 if test -z "$ac_cpp_err"; then
14024 ac_header_preproc=yes
14025 else
14026 echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.$ac_ext >&5
14028
14029 ac_header_preproc=no
14030 fi
14031 rm -f conftest.err conftest.$ac_ext
14032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14033 echo "${ECHO_T}$ac_header_preproc" >&6
14034
14035 # So? What about this header?
14036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14037 yes:no: )
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14042 ac_header_preproc=yes
14043 ;;
14044 no:yes:* )
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14057 (
14058 cat <<\_ASBOX
14059 ## ----------------------------------------- ##
14060 ## Report this to wx-dev@lists.wxwidgets.org ##
14061 ## ----------------------------------------- ##
14062 _ASBOX
14063 ) |
14064 sed "s/^/$as_me: WARNING: /" >&2
14065 ;;
14066 esac
14067 echo "$as_me:$LINENO: checking for $ac_header" >&5
14068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 else
14072 eval "$as_ac_Header=\$ac_header_preproc"
14073 fi
14074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14076
14077 fi
14078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14079 cat >>confdefs.h <<_ACEOF
14080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14081 _ACEOF
14082
14083 fi
14084
14085 done
14086
14087
14088 case "${host}" in
14089 *-pc-os2_emx | *-pc-os2-emx )
14090 if test $ac_cv_header_langinfo_h = "yes"; then
14091 LIBS="$LIBS -lintl"
14092 fi
14093 ;;
14094 esac
14095
14096 if test "$wxUSE_GUI" = "yes"; then
14097 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14098
14099 for ac_header in X11/Xlib.h
14100 do
14101 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14103 echo "$as_me:$LINENO: checking for $ac_header" >&5
14104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6
14107 fi
14108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14110 else
14111 # Is the header compilable?
14112 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14114 cat >conftest.$ac_ext <<_ACEOF
14115 /* confdefs.h. */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120 $ac_includes_default
14121 #include <$ac_header>
14122 _ACEOF
14123 rm -f conftest.$ac_objext
14124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14125 (eval $ac_compile) 2>conftest.er1
14126 ac_status=$?
14127 grep -v '^ *+' conftest.er1 >conftest.err
14128 rm -f conftest.er1
14129 cat conftest.err >&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); } &&
14132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14134 (eval $ac_try) 2>&5
14135 ac_status=$?
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; } &&
14138 { ac_try='test -s conftest.$ac_objext'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; }; then
14144 ac_header_compiler=yes
14145 else
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.$ac_ext >&5
14148
14149 ac_header_compiler=no
14150 fi
14151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14153 echo "${ECHO_T}$ac_header_compiler" >&6
14154
14155 # Is the header present?
14156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14158 cat >conftest.$ac_ext <<_ACEOF
14159 /* confdefs.h. */
14160 _ACEOF
14161 cat confdefs.h >>conftest.$ac_ext
14162 cat >>conftest.$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 #include <$ac_header>
14165 _ACEOF
14166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14168 ac_status=$?
14169 grep -v '^ *+' conftest.er1 >conftest.err
14170 rm -f conftest.er1
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } >/dev/null; then
14174 if test -s conftest.err; then
14175 ac_cpp_err=$ac_c_preproc_warn_flag
14176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14177 else
14178 ac_cpp_err=
14179 fi
14180 else
14181 ac_cpp_err=yes
14182 fi
14183 if test -z "$ac_cpp_err"; then
14184 ac_header_preproc=yes
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 ac_header_preproc=no
14190 fi
14191 rm -f conftest.err conftest.$ac_ext
14192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14193 echo "${ECHO_T}$ac_header_preproc" >&6
14194
14195 # So? What about this header?
14196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14197 yes:no: )
14198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14202 ac_header_preproc=yes
14203 ;;
14204 no:yes:* )
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14217 (
14218 cat <<\_ASBOX
14219 ## ----------------------------------------- ##
14220 ## Report this to wx-dev@lists.wxwidgets.org ##
14221 ## ----------------------------------------- ##
14222 _ASBOX
14223 ) |
14224 sed "s/^/$as_me: WARNING: /" >&2
14225 ;;
14226 esac
14227 echo "$as_me:$LINENO: checking for $ac_header" >&5
14228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 else
14232 eval "$as_ac_Header=\$ac_header_preproc"
14233 fi
14234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14236
14237 fi
14238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14239 cat >>confdefs.h <<_ACEOF
14240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14241 _ACEOF
14242
14243 fi
14244
14245 done
14246
14247
14248 for ac_header in X11/XKBlib.h
14249 do
14250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14251 echo "$as_me:$LINENO: checking for $ac_header" >&5
14252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14255 else
14256 cat >conftest.$ac_ext <<_ACEOF
14257 /* confdefs.h. */
14258 _ACEOF
14259 cat confdefs.h >>conftest.$ac_ext
14260 cat >>conftest.$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14262
14263 #if HAVE_X11_XLIB_H
14264 #include <X11/Xlib.h>
14265 #endif
14266
14267
14268 #include <$ac_header>
14269 _ACEOF
14270 rm -f conftest.$ac_objext
14271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14272 (eval $ac_compile) 2>conftest.er1
14273 ac_status=$?
14274 grep -v '^ *+' conftest.er1 >conftest.err
14275 rm -f conftest.er1
14276 cat conftest.err >&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14282 ac_status=$?
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; } &&
14285 { ac_try='test -s conftest.$ac_objext'
14286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14287 (eval $ac_try) 2>&5
14288 ac_status=$?
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; }; then
14291 eval "$as_ac_Header=yes"
14292 else
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.$ac_ext >&5
14295
14296 eval "$as_ac_Header=no"
14297 fi
14298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14299 fi
14300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14303 cat >>confdefs.h <<_ACEOF
14304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14305 _ACEOF
14306
14307 fi
14308
14309 done
14310
14311 fi
14312 fi
14313
14314
14315 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14316 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14317 if test "${ac_cv_c_const+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 else
14320 cat >conftest.$ac_ext <<_ACEOF
14321 /* confdefs.h. */
14322 _ACEOF
14323 cat confdefs.h >>conftest.$ac_ext
14324 cat >>conftest.$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14326
14327 int
14328 main ()
14329 {
14330 /* FIXME: Include the comments suggested by Paul. */
14331 #ifndef __cplusplus
14332 /* Ultrix mips cc rejects this. */
14333 typedef int charset[2];
14334 const charset x;
14335 /* SunOS 4.1.1 cc rejects this. */
14336 char const *const *ccp;
14337 char **p;
14338 /* NEC SVR4.0.2 mips cc rejects this. */
14339 struct point {int x, y;};
14340 static struct point const zero = {0,0};
14341 /* AIX XL C 1.02.0.0 rejects this.
14342 It does not let you subtract one const X* pointer from another in
14343 an arm of an if-expression whose if-part is not a constant
14344 expression */
14345 const char *g = "string";
14346 ccp = &g + (g ? g-g : 0);
14347 /* HPUX 7.0 cc rejects these. */
14348 ++ccp;
14349 p = (char**) ccp;
14350 ccp = (char const *const *) p;
14351 { /* SCO 3.2v4 cc rejects this. */
14352 char *t;
14353 char const *s = 0 ? (char *) 0 : (char const *) 0;
14354
14355 *t++ = 0;
14356 }
14357 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14358 int x[] = {25, 17};
14359 const int *foo = &x[0];
14360 ++foo;
14361 }
14362 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14363 typedef const int *iptr;
14364 iptr p = 0;
14365 ++p;
14366 }
14367 { /* AIX XL C 1.02.0.0 rejects this saying
14368 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14369 struct s { int j; const int *ap[3]; };
14370 struct s *b; b->j = 5;
14371 }
14372 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14373 const int foo = 10;
14374 }
14375 #endif
14376
14377 ;
14378 return 0;
14379 }
14380 _ACEOF
14381 rm -f conftest.$ac_objext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14383 (eval $ac_compile) 2>conftest.er1
14384 ac_status=$?
14385 grep -v '^ *+' conftest.er1 >conftest.err
14386 rm -f conftest.er1
14387 cat conftest.err >&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } &&
14390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; } &&
14396 { ac_try='test -s conftest.$ac_objext'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14399 ac_status=$?
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; }; then
14402 ac_cv_c_const=yes
14403 else
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.$ac_ext >&5
14406
14407 ac_cv_c_const=no
14408 fi
14409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14410 fi
14411 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14412 echo "${ECHO_T}$ac_cv_c_const" >&6
14413 if test $ac_cv_c_const = no; then
14414
14415 cat >>confdefs.h <<\_ACEOF
14416 #define const
14417 _ACEOF
14418
14419 fi
14420
14421 echo "$as_me:$LINENO: checking for inline" >&5
14422 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14423 if test "${ac_cv_c_inline+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 ac_cv_c_inline=no
14427 for ac_kw in inline __inline__ __inline; do
14428 cat >conftest.$ac_ext <<_ACEOF
14429 /* confdefs.h. */
14430 _ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 #ifndef __cplusplus
14435 typedef int foo_t;
14436 static $ac_kw foo_t static_foo () {return 0; }
14437 $ac_kw foo_t foo () {return 0; }
14438 #endif
14439
14440 _ACEOF
14441 rm -f conftest.$ac_objext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14443 (eval $ac_compile) 2>conftest.er1
14444 ac_status=$?
14445 grep -v '^ *+' conftest.er1 >conftest.err
14446 rm -f conftest.er1
14447 cat conftest.err >&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } &&
14450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14453 ac_status=$?
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; } &&
14456 { ac_try='test -s conftest.$ac_objext'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14459 ac_status=$?
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; }; then
14462 ac_cv_c_inline=$ac_kw; break
14463 else
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.$ac_ext >&5
14466
14467 fi
14468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14469 done
14470
14471 fi
14472 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14473 echo "${ECHO_T}$ac_cv_c_inline" >&6
14474
14475
14476 case $ac_cv_c_inline in
14477 inline | yes) ;;
14478 *)
14479 case $ac_cv_c_inline in
14480 no) ac_val=;;
14481 *) ac_val=$ac_cv_c_inline;;
14482 esac
14483 cat >>confdefs.h <<_ACEOF
14484 #ifndef __cplusplus
14485 #define inline $ac_val
14486 #endif
14487 _ACEOF
14488 ;;
14489 esac
14490
14491
14492 echo "$as_me:$LINENO: checking for char" >&5
14493 echo $ECHO_N "checking for char... $ECHO_C" >&6
14494 if test "${ac_cv_type_char+set}" = set; then
14495 echo $ECHO_N "(cached) $ECHO_C" >&6
14496 else
14497 cat >conftest.$ac_ext <<_ACEOF
14498 /* confdefs.h. */
14499 _ACEOF
14500 cat confdefs.h >>conftest.$ac_ext
14501 cat >>conftest.$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 $ac_includes_default
14504 int
14505 main ()
14506 {
14507 if ((char *) 0)
14508 return 0;
14509 if (sizeof (char))
14510 return 0;
14511 ;
14512 return 0;
14513 }
14514 _ACEOF
14515 rm -f conftest.$ac_objext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>conftest.er1
14518 ac_status=$?
14519 grep -v '^ *+' conftest.er1 >conftest.err
14520 rm -f conftest.er1
14521 cat conftest.err >&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14527 ac_status=$?
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; } &&
14530 { ac_try='test -s conftest.$ac_objext'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14536 ac_cv_type_char=yes
14537 else
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.$ac_ext >&5
14540
14541 ac_cv_type_char=no
14542 fi
14543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14544 fi
14545 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14546 echo "${ECHO_T}$ac_cv_type_char" >&6
14547
14548 echo "$as_me:$LINENO: checking size of char" >&5
14549 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14550 if test "${ac_cv_sizeof_char+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 else
14553 if test "$ac_cv_type_char" = yes; then
14554 # The cast to unsigned long works around a bug in the HP C Compiler
14555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14557 # This bug is HP SR number 8606223364.
14558 if test "$cross_compiling" = yes; then
14559 # Depending upon the size, compute the lo and hi bounds.
14560 cat >conftest.$ac_ext <<_ACEOF
14561 /* confdefs.h. */
14562 _ACEOF
14563 cat confdefs.h >>conftest.$ac_ext
14564 cat >>conftest.$ac_ext <<_ACEOF
14565 /* end confdefs.h. */
14566 $ac_includes_default
14567 int
14568 main ()
14569 {
14570 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14571 test_array [0] = 0
14572
14573 ;
14574 return 0;
14575 }
14576 _ACEOF
14577 rm -f conftest.$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14580 ac_status=$?
14581 grep -v '^ *+' conftest.er1 >conftest.err
14582 rm -f conftest.er1
14583 cat conftest.err >&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 ac_lo=0 ac_mid=0
14599 while :; do
14600 cat >conftest.$ac_ext <<_ACEOF
14601 /* confdefs.h. */
14602 _ACEOF
14603 cat confdefs.h >>conftest.$ac_ext
14604 cat >>conftest.$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606 $ac_includes_default
14607 int
14608 main ()
14609 {
14610 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14611 test_array [0] = 0
14612
14613 ;
14614 return 0;
14615 }
14616 _ACEOF
14617 rm -f conftest.$ac_objext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 (eval $ac_compile) 2>conftest.er1
14620 ac_status=$?
14621 grep -v '^ *+' conftest.er1 >conftest.err
14622 rm -f conftest.er1
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } &&
14626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14628 (eval $ac_try) 2>&5
14629 ac_status=$?
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; } &&
14632 { ac_try='test -s conftest.$ac_objext'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14635 ac_status=$?
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; }; then
14638 ac_hi=$ac_mid; break
14639 else
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14642
14643 ac_lo=`expr $ac_mid + 1`
14644 if test $ac_lo -le $ac_mid; then
14645 ac_lo= ac_hi=
14646 break
14647 fi
14648 ac_mid=`expr 2 '*' $ac_mid + 1`
14649 fi
14650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14651 done
14652 else
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14655
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 $ac_includes_default
14663 int
14664 main ()
14665 {
14666 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14667 test_array [0] = 0
14668
14669 ;
14670 return 0;
14671 }
14672 _ACEOF
14673 rm -f conftest.$ac_objext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14675 (eval $ac_compile) 2>conftest.er1
14676 ac_status=$?
14677 grep -v '^ *+' conftest.er1 >conftest.err
14678 rm -f conftest.er1
14679 cat conftest.err >&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } &&
14682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14685 ac_status=$?
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; } &&
14688 { ac_try='test -s conftest.$ac_objext'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14694 ac_hi=-1 ac_mid=-1
14695 while :; do
14696 cat >conftest.$ac_ext <<_ACEOF
14697 /* confdefs.h. */
14698 _ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702 $ac_includes_default
14703 int
14704 main ()
14705 {
14706 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14707 test_array [0] = 0
14708
14709 ;
14710 return 0;
14711 }
14712 _ACEOF
14713 rm -f conftest.$ac_objext
14714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14715 (eval $ac_compile) 2>conftest.er1
14716 ac_status=$?
14717 grep -v '^ *+' conftest.er1 >conftest.err
14718 rm -f conftest.er1
14719 cat conftest.err >&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } &&
14722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14724 (eval $ac_try) 2>&5
14725 ac_status=$?
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); }; } &&
14728 { ac_try='test -s conftest.$ac_objext'
14729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730 (eval $ac_try) 2>&5
14731 ac_status=$?
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14734 ac_lo=$ac_mid; break
14735 else
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14738
14739 ac_hi=`expr '(' $ac_mid ')' - 1`
14740 if test $ac_mid -le $ac_hi; then
14741 ac_lo= ac_hi=
14742 break
14743 fi
14744 ac_mid=`expr 2 '*' $ac_mid`
14745 fi
14746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14747 done
14748 else
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14751
14752 ac_lo= ac_hi=
14753 fi
14754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14755 fi
14756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14757 # Binary search between lo and hi bounds.
14758 while test "x$ac_lo" != "x$ac_hi"; do
14759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14760 cat >conftest.$ac_ext <<_ACEOF
14761 /* confdefs.h. */
14762 _ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766 $ac_includes_default
14767 int
14768 main ()
14769 {
14770 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14771 test_array [0] = 0
14772
14773 ;
14774 return 0;
14775 }
14776 _ACEOF
14777 rm -f conftest.$ac_objext
14778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14779 (eval $ac_compile) 2>conftest.er1
14780 ac_status=$?
14781 grep -v '^ *+' conftest.er1 >conftest.err
14782 rm -f conftest.er1
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } &&
14786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14789 ac_status=$?
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; } &&
14792 { ac_try='test -s conftest.$ac_objext'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14795 ac_status=$?
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14798 ac_hi=$ac_mid
14799 else
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14802
14803 ac_lo=`expr '(' $ac_mid ')' + 1`
14804 fi
14805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14806 done
14807 case $ac_lo in
14808 ?*) ac_cv_sizeof_char=$ac_lo;;
14809 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14810 See \`config.log' for more details." >&5
14811 echo "$as_me: error: cannot compute sizeof (char), 77
14812 See \`config.log' for more details." >&2;}
14813 { (exit 1); exit 1; }; } ;;
14814 esac
14815 else
14816 if test "$cross_compiling" = yes; then
14817 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14818 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14819 { (exit 1); exit 1; }; }
14820 else
14821 cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h. */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14828 long longval () { return (long) (sizeof (char)); }
14829 unsigned long ulongval () { return (long) (sizeof (char)); }
14830 #include <stdio.h>
14831 #include <stdlib.h>
14832 int
14833 main ()
14834 {
14835
14836 FILE *f = fopen ("conftest.val", "w");
14837 if (! f)
14838 exit (1);
14839 if (((long) (sizeof (char))) < 0)
14840 {
14841 long i = longval ();
14842 if (i != ((long) (sizeof (char))))
14843 exit (1);
14844 fprintf (f, "%ld\n", i);
14845 }
14846 else
14847 {
14848 unsigned long i = ulongval ();
14849 if (i != ((long) (sizeof (char))))
14850 exit (1);
14851 fprintf (f, "%lu\n", i);
14852 }
14853 exit (ferror (f) || fclose (f) != 0);
14854
14855 ;
14856 return 0;
14857 }
14858 _ACEOF
14859 rm -f conftest$ac_exeext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14861 (eval $ac_link) 2>&5
14862 ac_status=$?
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14867 ac_status=$?
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 ac_cv_sizeof_char=`cat conftest.val`
14871 else
14872 echo "$as_me: program exited with status $ac_status" >&5
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.$ac_ext >&5
14875
14876 ( exit $ac_status )
14877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14878 See \`config.log' for more details." >&5
14879 echo "$as_me: error: cannot compute sizeof (char), 77
14880 See \`config.log' for more details." >&2;}
14881 { (exit 1); exit 1; }; }
14882 fi
14883 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14884 fi
14885 fi
14886 rm -f conftest.val
14887 else
14888 ac_cv_sizeof_char=0
14889 fi
14890 fi
14891 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14892 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14893 cat >>confdefs.h <<_ACEOF
14894 #define SIZEOF_CHAR $ac_cv_sizeof_char
14895 _ACEOF
14896
14897
14898 echo "$as_me:$LINENO: checking for short" >&5
14899 echo $ECHO_N "checking for short... $ECHO_C" >&6
14900 if test "${ac_cv_type_short+set}" = set; then
14901 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 else
14903 cat >conftest.$ac_ext <<_ACEOF
14904 /* confdefs.h. */
14905 _ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14910 int
14911 main ()
14912 {
14913 if ((short *) 0)
14914 return 0;
14915 if (sizeof (short))
14916 return 0;
14917 ;
14918 return 0;
14919 }
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14924 ac_status=$?
14925 grep -v '^ *+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 ac_cv_type_short=yes
14943 else
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14946
14947 ac_cv_type_short=no
14948 fi
14949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14950 fi
14951 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14952 echo "${ECHO_T}$ac_cv_type_short" >&6
14953
14954 echo "$as_me:$LINENO: checking size of short" >&5
14955 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14956 if test "${ac_cv_sizeof_short+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 else
14959 if test "$ac_cv_type_short" = yes; then
14960 # The cast to unsigned long works around a bug in the HP C Compiler
14961 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14962 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14963 # This bug is HP SR number 8606223364.
14964 if test "$cross_compiling" = yes; then
14965 # Depending upon the size, compute the lo and hi bounds.
14966 cat >conftest.$ac_ext <<_ACEOF
14967 /* confdefs.h. */
14968 _ACEOF
14969 cat confdefs.h >>conftest.$ac_ext
14970 cat >>conftest.$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14972 $ac_includes_default
14973 int
14974 main ()
14975 {
14976 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14977 test_array [0] = 0
14978
14979 ;
14980 return 0;
14981 }
14982 _ACEOF
14983 rm -f conftest.$ac_objext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14985 (eval $ac_compile) 2>conftest.er1
14986 ac_status=$?
14987 grep -v '^ *+' conftest.er1 >conftest.err
14988 rm -f conftest.er1
14989 cat conftest.err >&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); } &&
14992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14995 ac_status=$?
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; } &&
14998 { ac_try='test -s conftest.$ac_objext'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15001 ac_status=$?
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; }; then
15004 ac_lo=0 ac_mid=0
15005 while :; do
15006 cat >conftest.$ac_ext <<_ACEOF
15007 /* confdefs.h. */
15008 _ACEOF
15009 cat confdefs.h >>conftest.$ac_ext
15010 cat >>conftest.$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012 $ac_includes_default
15013 int
15014 main ()
15015 {
15016 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15017 test_array [0] = 0
15018
15019 ;
15020 return 0;
15021 }
15022 _ACEOF
15023 rm -f conftest.$ac_objext
15024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15025 (eval $ac_compile) 2>conftest.er1
15026 ac_status=$?
15027 grep -v '^ *+' conftest.er1 >conftest.err
15028 rm -f conftest.er1
15029 cat conftest.err >&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; } &&
15038 { ac_try='test -s conftest.$ac_objext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_hi=$ac_mid; break
15045 else
15046 echo "$as_me: failed program was:" >&5
15047 sed 's/^/| /' conftest.$ac_ext >&5
15048
15049 ac_lo=`expr $ac_mid + 1`
15050 if test $ac_lo -le $ac_mid; then
15051 ac_lo= ac_hi=
15052 break
15053 fi
15054 ac_mid=`expr 2 '*' $ac_mid + 1`
15055 fi
15056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15057 done
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15061
15062 cat >conftest.$ac_ext <<_ACEOF
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068 $ac_includes_default
15069 int
15070 main ()
15071 {
15072 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15073 test_array [0] = 0
15074
15075 ;
15076 return 0;
15077 }
15078 _ACEOF
15079 rm -f conftest.$ac_objext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15081 (eval $ac_compile) 2>conftest.er1
15082 ac_status=$?
15083 grep -v '^ *+' conftest.er1 >conftest.err
15084 rm -f conftest.er1
15085 cat conftest.err >&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15091 ac_status=$?
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try='test -s conftest.$ac_objext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 ac_hi=-1 ac_mid=-1
15101 while :; do
15102 cat >conftest.$ac_ext <<_ACEOF
15103 /* confdefs.h. */
15104 _ACEOF
15105 cat confdefs.h >>conftest.$ac_ext
15106 cat >>conftest.$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15108 $ac_includes_default
15109 int
15110 main ()
15111 {
15112 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15113 test_array [0] = 0
15114
15115 ;
15116 return 0;
15117 }
15118 _ACEOF
15119 rm -f conftest.$ac_objext
15120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15121 (eval $ac_compile) 2>conftest.er1
15122 ac_status=$?
15123 grep -v '^ *+' conftest.er1 >conftest.err
15124 rm -f conftest.er1
15125 cat conftest.err >&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
15128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15131 ac_status=$?
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; } &&
15134 { ac_try='test -s conftest.$ac_objext'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15137 ac_status=$?
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; }; then
15140 ac_lo=$ac_mid; break
15141 else
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.$ac_ext >&5
15144
15145 ac_hi=`expr '(' $ac_mid ')' - 1`
15146 if test $ac_mid -le $ac_hi; then
15147 ac_lo= ac_hi=
15148 break
15149 fi
15150 ac_mid=`expr 2 '*' $ac_mid`
15151 fi
15152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15153 done
15154 else
15155 echo "$as_me: failed program was:" >&5
15156 sed 's/^/| /' conftest.$ac_ext >&5
15157
15158 ac_lo= ac_hi=
15159 fi
15160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15161 fi
15162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15163 # Binary search between lo and hi bounds.
15164 while test "x$ac_lo" != "x$ac_hi"; do
15165 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 $ac_includes_default
15173 int
15174 main ()
15175 {
15176 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15177 test_array [0] = 0
15178
15179 ;
15180 return 0;
15181 }
15182 _ACEOF
15183 rm -f conftest.$ac_objext
15184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15185 (eval $ac_compile) 2>conftest.er1
15186 ac_status=$?
15187 grep -v '^ *+' conftest.er1 >conftest.err
15188 rm -f conftest.er1
15189 cat conftest.err >&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15195 ac_status=$?
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; } &&
15198 { ac_try='test -s conftest.$ac_objext'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15201 ac_status=$?
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15204 ac_hi=$ac_mid
15205 else
15206 echo "$as_me: failed program was:" >&5
15207 sed 's/^/| /' conftest.$ac_ext >&5
15208
15209 ac_lo=`expr '(' $ac_mid ')' + 1`
15210 fi
15211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15212 done
15213 case $ac_lo in
15214 ?*) ac_cv_sizeof_short=$ac_lo;;
15215 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15216 See \`config.log' for more details." >&5
15217 echo "$as_me: error: cannot compute sizeof (short), 77
15218 See \`config.log' for more details." >&2;}
15219 { (exit 1); exit 1; }; } ;;
15220 esac
15221 else
15222 if test "$cross_compiling" = yes; then
15223 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15224 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15225 { (exit 1); exit 1; }; }
15226 else
15227 cat >conftest.$ac_ext <<_ACEOF
15228 /* confdefs.h. */
15229 _ACEOF
15230 cat confdefs.h >>conftest.$ac_ext
15231 cat >>conftest.$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15233 $ac_includes_default
15234 long longval () { return (long) (sizeof (short)); }
15235 unsigned long ulongval () { return (long) (sizeof (short)); }
15236 #include <stdio.h>
15237 #include <stdlib.h>
15238 int
15239 main ()
15240 {
15241
15242 FILE *f = fopen ("conftest.val", "w");
15243 if (! f)
15244 exit (1);
15245 if (((long) (sizeof (short))) < 0)
15246 {
15247 long i = longval ();
15248 if (i != ((long) (sizeof (short))))
15249 exit (1);
15250 fprintf (f, "%ld\n", i);
15251 }
15252 else
15253 {
15254 unsigned long i = ulongval ();
15255 if (i != ((long) (sizeof (short))))
15256 exit (1);
15257 fprintf (f, "%lu\n", i);
15258 }
15259 exit (ferror (f) || fclose (f) != 0);
15260
15261 ;
15262 return 0;
15263 }
15264 _ACEOF
15265 rm -f conftest$ac_exeext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15267 (eval $ac_link) 2>&5
15268 ac_status=$?
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15273 ac_status=$?
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; }; then
15276 ac_cv_sizeof_short=`cat conftest.val`
15277 else
15278 echo "$as_me: program exited with status $ac_status" >&5
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15281
15282 ( exit $ac_status )
15283 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15284 See \`config.log' for more details." >&5
15285 echo "$as_me: error: cannot compute sizeof (short), 77
15286 See \`config.log' for more details." >&2;}
15287 { (exit 1); exit 1; }; }
15288 fi
15289 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15290 fi
15291 fi
15292 rm -f conftest.val
15293 else
15294 ac_cv_sizeof_short=0
15295 fi
15296 fi
15297 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15298 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15299 cat >>confdefs.h <<_ACEOF
15300 #define SIZEOF_SHORT $ac_cv_sizeof_short
15301 _ACEOF
15302
15303
15304 echo "$as_me:$LINENO: checking for void *" >&5
15305 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15306 if test "${ac_cv_type_void_p+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 else
15309 cat >conftest.$ac_ext <<_ACEOF
15310 /* confdefs.h. */
15311 _ACEOF
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 $ac_includes_default
15316 int
15317 main ()
15318 {
15319 if ((void * *) 0)
15320 return 0;
15321 if (sizeof (void *))
15322 return 0;
15323 ;
15324 return 0;
15325 }
15326 _ACEOF
15327 rm -f conftest.$ac_objext
15328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15329 (eval $ac_compile) 2>conftest.er1
15330 ac_status=$?
15331 grep -v '^ *+' conftest.er1 >conftest.err
15332 rm -f conftest.er1
15333 cat conftest.err >&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } &&
15336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 ac_cv_type_void_p=yes
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15352
15353 ac_cv_type_void_p=no
15354 fi
15355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15356 fi
15357 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15358 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15359
15360 echo "$as_me:$LINENO: checking size of void *" >&5
15361 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15362 if test "${ac_cv_sizeof_void_p+set}" = set; then
15363 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 else
15365 if test "$ac_cv_type_void_p" = yes; then
15366 # The cast to unsigned long works around a bug in the HP C Compiler
15367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15369 # This bug is HP SR number 8606223364.
15370 if test "$cross_compiling" = yes; then
15371 # Depending upon the size, compute the lo and hi bounds.
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 $ac_includes_default
15379 int
15380 main ()
15381 {
15382 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15383 test_array [0] = 0
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15391 (eval $ac_compile) 2>conftest.er1
15392 ac_status=$?
15393 grep -v '^ *+' conftest.er1 >conftest.err
15394 rm -f conftest.er1
15395 cat conftest.err >&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15401 ac_status=$?
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } &&
15404 { ac_try='test -s conftest.$ac_objext'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15407 ac_status=$?
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; }; then
15410 ac_lo=0 ac_mid=0
15411 while :; do
15412 cat >conftest.$ac_ext <<_ACEOF
15413 /* confdefs.h. */
15414 _ACEOF
15415 cat confdefs.h >>conftest.$ac_ext
15416 cat >>conftest.$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418 $ac_includes_default
15419 int
15420 main ()
15421 {
15422 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15423 test_array [0] = 0
15424
15425 ;
15426 return 0;
15427 }
15428 _ACEOF
15429 rm -f conftest.$ac_objext
15430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15431 (eval $ac_compile) 2>conftest.er1
15432 ac_status=$?
15433 grep -v '^ *+' conftest.er1 >conftest.err
15434 rm -f conftest.er1
15435 cat conftest.err >&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15441 ac_status=$?
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; } &&
15444 { ac_try='test -s conftest.$ac_objext'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15447 ac_status=$?
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; }; then
15450 ac_hi=$ac_mid; break
15451 else
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.$ac_ext >&5
15454
15455 ac_lo=`expr $ac_mid + 1`
15456 if test $ac_lo -le $ac_mid; then
15457 ac_lo= ac_hi=
15458 break
15459 fi
15460 ac_mid=`expr 2 '*' $ac_mid + 1`
15461 fi
15462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15463 done
15464 else
15465 echo "$as_me: failed program was:" >&5
15466 sed 's/^/| /' conftest.$ac_ext >&5
15467
15468 cat >conftest.$ac_ext <<_ACEOF
15469 /* confdefs.h. */
15470 _ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 $ac_includes_default
15475 int
15476 main ()
15477 {
15478 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15479 test_array [0] = 0
15480
15481 ;
15482 return 0;
15483 }
15484 _ACEOF
15485 rm -f conftest.$ac_objext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 (eval $ac_compile) 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15503 ac_status=$?
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15506 ac_hi=-1 ac_mid=-1
15507 while :; do
15508 cat >conftest.$ac_ext <<_ACEOF
15509 /* confdefs.h. */
15510 _ACEOF
15511 cat confdefs.h >>conftest.$ac_ext
15512 cat >>conftest.$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514 $ac_includes_default
15515 int
15516 main ()
15517 {
15518 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15519 test_array [0] = 0
15520
15521 ;
15522 return 0;
15523 }
15524 _ACEOF
15525 rm -f conftest.$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>conftest.er1
15528 ac_status=$?
15529 grep -v '^ *+' conftest.er1 >conftest.err
15530 rm -f conftest.er1
15531 cat conftest.err >&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } &&
15534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536 (eval $ac_try) 2>&5
15537 ac_status=$?
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); }; } &&
15540 { ac_try='test -s conftest.$ac_objext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15543 ac_status=$?
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15546 ac_lo=$ac_mid; break
15547 else
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.$ac_ext >&5
15550
15551 ac_hi=`expr '(' $ac_mid ')' - 1`
15552 if test $ac_mid -le $ac_hi; then
15553 ac_lo= ac_hi=
15554 break
15555 fi
15556 ac_mid=`expr 2 '*' $ac_mid`
15557 fi
15558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15559 done
15560 else
15561 echo "$as_me: failed program was:" >&5
15562 sed 's/^/| /' conftest.$ac_ext >&5
15563
15564 ac_lo= ac_hi=
15565 fi
15566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15567 fi
15568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15569 # Binary search between lo and hi bounds.
15570 while test "x$ac_lo" != "x$ac_hi"; do
15571 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15572 cat >conftest.$ac_ext <<_ACEOF
15573 /* confdefs.h. */
15574 _ACEOF
15575 cat confdefs.h >>conftest.$ac_ext
15576 cat >>conftest.$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578 $ac_includes_default
15579 int
15580 main ()
15581 {
15582 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15583 test_array [0] = 0
15584
15585 ;
15586 return 0;
15587 }
15588 _ACEOF
15589 rm -f conftest.$ac_objext
15590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15591 (eval $ac_compile) 2>conftest.er1
15592 ac_status=$?
15593 grep -v '^ *+' conftest.er1 >conftest.err
15594 rm -f conftest.er1
15595 cat conftest.err >&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } &&
15598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; } &&
15604 { ac_try='test -s conftest.$ac_objext'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; }; then
15610 ac_hi=$ac_mid
15611 else
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.$ac_ext >&5
15614
15615 ac_lo=`expr '(' $ac_mid ')' + 1`
15616 fi
15617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15618 done
15619 case $ac_lo in
15620 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15621 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15622 See \`config.log' for more details." >&5
15623 echo "$as_me: error: cannot compute sizeof (void *), 77
15624 See \`config.log' for more details." >&2;}
15625 { (exit 1); exit 1; }; } ;;
15626 esac
15627 else
15628 if test "$cross_compiling" = yes; then
15629 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15630 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15631 { (exit 1); exit 1; }; }
15632 else
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h. */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 $ac_includes_default
15640 long longval () { return (long) (sizeof (void *)); }
15641 unsigned long ulongval () { return (long) (sizeof (void *)); }
15642 #include <stdio.h>
15643 #include <stdlib.h>
15644 int
15645 main ()
15646 {
15647
15648 FILE *f = fopen ("conftest.val", "w");
15649 if (! f)
15650 exit (1);
15651 if (((long) (sizeof (void *))) < 0)
15652 {
15653 long i = longval ();
15654 if (i != ((long) (sizeof (void *))))
15655 exit (1);
15656 fprintf (f, "%ld\n", i);
15657 }
15658 else
15659 {
15660 unsigned long i = ulongval ();
15661 if (i != ((long) (sizeof (void *))))
15662 exit (1);
15663 fprintf (f, "%lu\n", i);
15664 }
15665 exit (ferror (f) || fclose (f) != 0);
15666
15667 ;
15668 return 0;
15669 }
15670 _ACEOF
15671 rm -f conftest$ac_exeext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15673 (eval $ac_link) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15682 ac_cv_sizeof_void_p=`cat conftest.val`
15683 else
15684 echo "$as_me: program exited with status $ac_status" >&5
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.$ac_ext >&5
15687
15688 ( exit $ac_status )
15689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15690 See \`config.log' for more details." >&5
15691 echo "$as_me: error: cannot compute sizeof (void *), 77
15692 See \`config.log' for more details." >&2;}
15693 { (exit 1); exit 1; }; }
15694 fi
15695 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15696 fi
15697 fi
15698 rm -f conftest.val
15699 else
15700 ac_cv_sizeof_void_p=0
15701 fi
15702 fi
15703 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15704 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15705 cat >>confdefs.h <<_ACEOF
15706 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15707 _ACEOF
15708
15709
15710 echo "$as_me:$LINENO: checking for int" >&5
15711 echo $ECHO_N "checking for int... $ECHO_C" >&6
15712 if test "${ac_cv_type_int+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721 $ac_includes_default
15722 int
15723 main ()
15724 {
15725 if ((int *) 0)
15726 return 0;
15727 if (sizeof (int))
15728 return 0;
15729 ;
15730 return 0;
15731 }
15732 _ACEOF
15733 rm -f conftest.$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>conftest.er1
15736 ac_status=$?
15737 grep -v '^ *+' conftest.er1 >conftest.err
15738 rm -f conftest.er1
15739 cat conftest.err >&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } &&
15742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15745 ac_status=$?
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15751 ac_status=$?
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_cv_type_int=yes
15755 else
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15758
15759 ac_cv_type_int=no
15760 fi
15761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15762 fi
15763 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15764 echo "${ECHO_T}$ac_cv_type_int" >&6
15765
15766 echo "$as_me:$LINENO: checking size of int" >&5
15767 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15768 if test "${ac_cv_sizeof_int+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 else
15771 if test "$ac_cv_type_int" = yes; then
15772 # The cast to unsigned long works around a bug in the HP C Compiler
15773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15775 # This bug is HP SR number 8606223364.
15776 if test "$cross_compiling" = yes; then
15777 # Depending upon the size, compute the lo and hi bounds.
15778 cat >conftest.$ac_ext <<_ACEOF
15779 /* confdefs.h. */
15780 _ACEOF
15781 cat confdefs.h >>conftest.$ac_ext
15782 cat >>conftest.$ac_ext <<_ACEOF
15783 /* end confdefs.h. */
15784 $ac_includes_default
15785 int
15786 main ()
15787 {
15788 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15789 test_array [0] = 0
15790
15791 ;
15792 return 0;
15793 }
15794 _ACEOF
15795 rm -f conftest.$ac_objext
15796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15797 (eval $ac_compile) 2>conftest.er1
15798 ac_status=$?
15799 grep -v '^ *+' conftest.er1 >conftest.err
15800 rm -f conftest.er1
15801 cat conftest.err >&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); } &&
15804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15807 ac_status=$?
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; } &&
15810 { ac_try='test -s conftest.$ac_objext'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then
15816 ac_lo=0 ac_mid=0
15817 while :; do
15818 cat >conftest.$ac_ext <<_ACEOF
15819 /* confdefs.h. */
15820 _ACEOF
15821 cat confdefs.h >>conftest.$ac_ext
15822 cat >>conftest.$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824 $ac_includes_default
15825 int
15826 main ()
15827 {
15828 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15829 test_array [0] = 0
15830
15831 ;
15832 return 0;
15833 }
15834 _ACEOF
15835 rm -f conftest.$ac_objext
15836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15837 (eval $ac_compile) 2>conftest.er1
15838 ac_status=$?
15839 grep -v '^ *+' conftest.er1 >conftest.err
15840 rm -f conftest.er1
15841 cat conftest.err >&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); } &&
15844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15846 (eval $ac_try) 2>&5
15847 ac_status=$?
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); }; } &&
15850 { ac_try='test -s conftest.$ac_objext'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15853 ac_status=$?
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; }; then
15856 ac_hi=$ac_mid; break
15857 else
15858 echo "$as_me: failed program was:" >&5
15859 sed 's/^/| /' conftest.$ac_ext >&5
15860
15861 ac_lo=`expr $ac_mid + 1`
15862 if test $ac_lo -le $ac_mid; then
15863 ac_lo= ac_hi=
15864 break
15865 fi
15866 ac_mid=`expr 2 '*' $ac_mid + 1`
15867 fi
15868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15869 done
15870 else
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.$ac_ext >&5
15873
15874 cat >conftest.$ac_ext <<_ACEOF
15875 /* confdefs.h. */
15876 _ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 $ac_includes_default
15881 int
15882 main ()
15883 {
15884 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15885 test_array [0] = 0
15886
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 rm -f conftest.$ac_objext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15893 (eval $ac_compile) 2>conftest.er1
15894 ac_status=$?
15895 grep -v '^ *+' conftest.er1 >conftest.err
15896 rm -f conftest.er1
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; } &&
15906 { ac_try='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 ac_hi=-1 ac_mid=-1
15913 while :; do
15914 cat >conftest.$ac_ext <<_ACEOF
15915 /* confdefs.h. */
15916 _ACEOF
15917 cat confdefs.h >>conftest.$ac_ext
15918 cat >>conftest.$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15921 int
15922 main ()
15923 {
15924 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15925 test_array [0] = 0
15926
15927 ;
15928 return 0;
15929 }
15930 _ACEOF
15931 rm -f conftest.$ac_objext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15933 (eval $ac_compile) 2>conftest.er1
15934 ac_status=$?
15935 grep -v '^ *+' conftest.er1 >conftest.err
15936 rm -f conftest.er1
15937 cat conftest.err >&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } &&
15940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try='test -s conftest.$ac_objext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 ac_lo=$ac_mid; break
15953 else
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.$ac_ext >&5
15956
15957 ac_hi=`expr '(' $ac_mid ')' - 1`
15958 if test $ac_mid -le $ac_hi; then
15959 ac_lo= ac_hi=
15960 break
15961 fi
15962 ac_mid=`expr 2 '*' $ac_mid`
15963 fi
15964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15965 done
15966 else
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.$ac_ext >&5
15969
15970 ac_lo= ac_hi=
15971 fi
15972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15973 fi
15974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15975 # Binary search between lo and hi bounds.
15976 while test "x$ac_lo" != "x$ac_hi"; do
15977 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15978 cat >conftest.$ac_ext <<_ACEOF
15979 /* confdefs.h. */
15980 _ACEOF
15981 cat confdefs.h >>conftest.$ac_ext
15982 cat >>conftest.$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15984 $ac_includes_default
15985 int
15986 main ()
15987 {
15988 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15989 test_array [0] = 0
15990
15991 ;
15992 return 0;
15993 }
15994 _ACEOF
15995 rm -f conftest.$ac_objext
15996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15997 (eval $ac_compile) 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } &&
16004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16007 ac_status=$?
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; } &&
16010 { ac_try='test -s conftest.$ac_objext'
16011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16012 (eval $ac_try) 2>&5
16013 ac_status=$?
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); }; }; then
16016 ac_hi=$ac_mid
16017 else
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.$ac_ext >&5
16020
16021 ac_lo=`expr '(' $ac_mid ')' + 1`
16022 fi
16023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16024 done
16025 case $ac_lo in
16026 ?*) ac_cv_sizeof_int=$ac_lo;;
16027 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16028 See \`config.log' for more details." >&5
16029 echo "$as_me: error: cannot compute sizeof (int), 77
16030 See \`config.log' for more details." >&2;}
16031 { (exit 1); exit 1; }; } ;;
16032 esac
16033 else
16034 if test "$cross_compiling" = yes; then
16035 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16036 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16037 { (exit 1); exit 1; }; }
16038 else
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045 $ac_includes_default
16046 long longval () { return (long) (sizeof (int)); }
16047 unsigned long ulongval () { return (long) (sizeof (int)); }
16048 #include <stdio.h>
16049 #include <stdlib.h>
16050 int
16051 main ()
16052 {
16053
16054 FILE *f = fopen ("conftest.val", "w");
16055 if (! f)
16056 exit (1);
16057 if (((long) (sizeof (int))) < 0)
16058 {
16059 long i = longval ();
16060 if (i != ((long) (sizeof (int))))
16061 exit (1);
16062 fprintf (f, "%ld\n", i);
16063 }
16064 else
16065 {
16066 unsigned long i = ulongval ();
16067 if (i != ((long) (sizeof (int))))
16068 exit (1);
16069 fprintf (f, "%lu\n", i);
16070 }
16071 exit (ferror (f) || fclose (f) != 0);
16072
16073 ;
16074 return 0;
16075 }
16076 _ACEOF
16077 rm -f conftest$ac_exeext
16078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16079 (eval $ac_link) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16088 ac_cv_sizeof_int=`cat conftest.val`
16089 else
16090 echo "$as_me: program exited with status $ac_status" >&5
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.$ac_ext >&5
16093
16094 ( exit $ac_status )
16095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16096 See \`config.log' for more details." >&5
16097 echo "$as_me: error: cannot compute sizeof (int), 77
16098 See \`config.log' for more details." >&2;}
16099 { (exit 1); exit 1; }; }
16100 fi
16101 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16102 fi
16103 fi
16104 rm -f conftest.val
16105 else
16106 ac_cv_sizeof_int=0
16107 fi
16108 fi
16109 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16110 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16111 cat >>confdefs.h <<_ACEOF
16112 #define SIZEOF_INT $ac_cv_sizeof_int
16113 _ACEOF
16114
16115
16116 echo "$as_me:$LINENO: checking for long" >&5
16117 echo $ECHO_N "checking for long... $ECHO_C" >&6
16118 if test "${ac_cv_type_long+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16120 else
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 $ac_includes_default
16128 int
16129 main ()
16130 {
16131 if ((long *) 0)
16132 return 0;
16133 if (sizeof (long))
16134 return 0;
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16151 ac_status=$?
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try='test -s conftest.$ac_objext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_type_long=yes
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16164
16165 ac_cv_type_long=no
16166 fi
16167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16168 fi
16169 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16170 echo "${ECHO_T}$ac_cv_type_long" >&6
16171
16172 echo "$as_me:$LINENO: checking size of long" >&5
16173 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16174 if test "${ac_cv_sizeof_long+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177 if test "$ac_cv_type_long" = yes; then
16178 # The cast to unsigned long works around a bug in the HP C Compiler
16179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16181 # This bug is HP SR number 8606223364.
16182 if test "$cross_compiling" = yes; then
16183 # Depending upon the size, compute the lo and hi bounds.
16184 cat >conftest.$ac_ext <<_ACEOF
16185 /* confdefs.h. */
16186 _ACEOF
16187 cat confdefs.h >>conftest.$ac_ext
16188 cat >>conftest.$ac_ext <<_ACEOF
16189 /* end confdefs.h. */
16190 $ac_includes_default
16191 int
16192 main ()
16193 {
16194 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16195 test_array [0] = 0
16196
16197 ;
16198 return 0;
16199 }
16200 _ACEOF
16201 rm -f conftest.$ac_objext
16202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16203 (eval $ac_compile) 2>conftest.er1
16204 ac_status=$?
16205 grep -v '^ *+' conftest.er1 >conftest.err
16206 rm -f conftest.er1
16207 cat conftest.err >&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); } &&
16210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; } &&
16216 { ac_try='test -s conftest.$ac_objext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 ac_lo=0 ac_mid=0
16223 while :; do
16224 cat >conftest.$ac_ext <<_ACEOF
16225 /* confdefs.h. */
16226 _ACEOF
16227 cat confdefs.h >>conftest.$ac_ext
16228 cat >>conftest.$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16231 int
16232 main ()
16233 {
16234 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16235 test_array [0] = 0
16236
16237 ;
16238 return 0;
16239 }
16240 _ACEOF
16241 rm -f conftest.$ac_objext
16242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16243 (eval $ac_compile) 2>conftest.er1
16244 ac_status=$?
16245 grep -v '^ *+' conftest.er1 >conftest.err
16246 rm -f conftest.er1
16247 cat conftest.err >&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); } &&
16250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16253 ac_status=$?
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; } &&
16256 { ac_try='test -s conftest.$ac_objext'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16259 ac_status=$?
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; }; then
16262 ac_hi=$ac_mid; break
16263 else
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.$ac_ext >&5
16266
16267 ac_lo=`expr $ac_mid + 1`
16268 if test $ac_lo -le $ac_mid; then
16269 ac_lo= ac_hi=
16270 break
16271 fi
16272 ac_mid=`expr 2 '*' $ac_mid + 1`
16273 fi
16274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16275 done
16276 else
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.$ac_ext >&5
16279
16280 cat >conftest.$ac_ext <<_ACEOF
16281 /* confdefs.h. */
16282 _ACEOF
16283 cat confdefs.h >>conftest.$ac_ext
16284 cat >>conftest.$ac_ext <<_ACEOF
16285 /* end confdefs.h. */
16286 $ac_includes_default
16287 int
16288 main ()
16289 {
16290 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16291 test_array [0] = 0
16292
16293 ;
16294 return 0;
16295 }
16296 _ACEOF
16297 rm -f conftest.$ac_objext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16299 (eval $ac_compile) 2>conftest.er1
16300 ac_status=$?
16301 grep -v '^ *+' conftest.er1 >conftest.err
16302 rm -f conftest.er1
16303 cat conftest.err >&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } &&
16306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16309 ac_status=$?
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; } &&
16312 { ac_try='test -s conftest.$ac_objext'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; }; then
16318 ac_hi=-1 ac_mid=-1
16319 while :; do
16320 cat >conftest.$ac_ext <<_ACEOF
16321 /* confdefs.h. */
16322 _ACEOF
16323 cat confdefs.h >>conftest.$ac_ext
16324 cat >>conftest.$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16327 int
16328 main ()
16329 {
16330 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16331 test_array [0] = 0
16332
16333 ;
16334 return 0;
16335 }
16336 _ACEOF
16337 rm -f conftest.$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>conftest.er1
16340 ac_status=$?
16341 grep -v '^ *+' conftest.er1 >conftest.err
16342 rm -f conftest.er1
16343 cat conftest.err >&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_lo=$ac_mid; break
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16362
16363 ac_hi=`expr '(' $ac_mid ')' - 1`
16364 if test $ac_mid -le $ac_hi; then
16365 ac_lo= ac_hi=
16366 break
16367 fi
16368 ac_mid=`expr 2 '*' $ac_mid`
16369 fi
16370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16371 done
16372 else
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.$ac_ext >&5
16375
16376 ac_lo= ac_hi=
16377 fi
16378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16379 fi
16380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16381 # Binary search between lo and hi bounds.
16382 while test "x$ac_lo" != "x$ac_hi"; do
16383 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 $ac_includes_default
16391 int
16392 main ()
16393 {
16394 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16395 test_array [0] = 0
16396
16397 ;
16398 return 0;
16399 }
16400 _ACEOF
16401 rm -f conftest.$ac_objext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16403 (eval $ac_compile) 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } &&
16410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16413 ac_status=$?
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; } &&
16416 { ac_try='test -s conftest.$ac_objext'
16417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16418 (eval $ac_try) 2>&5
16419 ac_status=$?
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }; }; then
16422 ac_hi=$ac_mid
16423 else
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.$ac_ext >&5
16426
16427 ac_lo=`expr '(' $ac_mid ')' + 1`
16428 fi
16429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16430 done
16431 case $ac_lo in
16432 ?*) ac_cv_sizeof_long=$ac_lo;;
16433 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16434 See \`config.log' for more details." >&5
16435 echo "$as_me: error: cannot compute sizeof (long), 77
16436 See \`config.log' for more details." >&2;}
16437 { (exit 1); exit 1; }; } ;;
16438 esac
16439 else
16440 if test "$cross_compiling" = yes; then
16441 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16442 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16443 { (exit 1); exit 1; }; }
16444 else
16445 cat >conftest.$ac_ext <<_ACEOF
16446 /* confdefs.h. */
16447 _ACEOF
16448 cat confdefs.h >>conftest.$ac_ext
16449 cat >>conftest.$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16452 long longval () { return (long) (sizeof (long)); }
16453 unsigned long ulongval () { return (long) (sizeof (long)); }
16454 #include <stdio.h>
16455 #include <stdlib.h>
16456 int
16457 main ()
16458 {
16459
16460 FILE *f = fopen ("conftest.val", "w");
16461 if (! f)
16462 exit (1);
16463 if (((long) (sizeof (long))) < 0)
16464 {
16465 long i = longval ();
16466 if (i != ((long) (sizeof (long))))
16467 exit (1);
16468 fprintf (f, "%ld\n", i);
16469 }
16470 else
16471 {
16472 unsigned long i = ulongval ();
16473 if (i != ((long) (sizeof (long))))
16474 exit (1);
16475 fprintf (f, "%lu\n", i);
16476 }
16477 exit (ferror (f) || fclose (f) != 0);
16478
16479 ;
16480 return 0;
16481 }
16482 _ACEOF
16483 rm -f conftest$ac_exeext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16485 (eval $ac_link) 2>&5
16486 ac_status=$?
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_cv_sizeof_long=`cat conftest.val`
16495 else
16496 echo "$as_me: program exited with status $ac_status" >&5
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16499
16500 ( exit $ac_status )
16501 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16502 See \`config.log' for more details." >&5
16503 echo "$as_me: error: cannot compute sizeof (long), 77
16504 See \`config.log' for more details." >&2;}
16505 { (exit 1); exit 1; }; }
16506 fi
16507 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16508 fi
16509 fi
16510 rm -f conftest.val
16511 else
16512 ac_cv_sizeof_long=0
16513 fi
16514 fi
16515 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16516 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16517 cat >>confdefs.h <<_ACEOF
16518 #define SIZEOF_LONG $ac_cv_sizeof_long
16519 _ACEOF
16520
16521
16522 echo "$as_me:$LINENO: checking for size_t" >&5
16523 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16524 if test "${ac_cv_type_size_t+set}" = set; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16526 else
16527 cat >conftest.$ac_ext <<_ACEOF
16528 /* confdefs.h. */
16529 _ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 $ac_includes_default
16534 int
16535 main ()
16536 {
16537 if ((size_t *) 0)
16538 return 0;
16539 if (sizeof (size_t))
16540 return 0;
16541 ;
16542 return 0;
16543 }
16544 _ACEOF
16545 rm -f conftest.$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16548 ac_status=$?
16549 grep -v '^ *+' conftest.er1 >conftest.err
16550 rm -f conftest.er1
16551 cat conftest.err >&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16557 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; } &&
16560 { ac_try='test -s conftest.$ac_objext'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16563 ac_status=$?
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; }; then
16566 ac_cv_type_size_t=yes
16567 else
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.$ac_ext >&5
16570
16571 ac_cv_type_size_t=no
16572 fi
16573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16574 fi
16575 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16576 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16577
16578 echo "$as_me:$LINENO: checking size of size_t" >&5
16579 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16580 if test "${ac_cv_sizeof_size_t+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583 if test "$ac_cv_type_size_t" = yes; then
16584 # The cast to unsigned long works around a bug in the HP C Compiler
16585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16587 # This bug is HP SR number 8606223364.
16588 if test "$cross_compiling" = yes; then
16589 # Depending upon the size, compute the lo and hi bounds.
16590 cat >conftest.$ac_ext <<_ACEOF
16591 /* confdefs.h. */
16592 _ACEOF
16593 cat confdefs.h >>conftest.$ac_ext
16594 cat >>conftest.$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596 $ac_includes_default
16597 int
16598 main ()
16599 {
16600 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16601 test_array [0] = 0
16602
16603 ;
16604 return 0;
16605 }
16606 _ACEOF
16607 rm -f conftest.$ac_objext
16608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16609 (eval $ac_compile) 2>conftest.er1
16610 ac_status=$?
16611 grep -v '^ *+' conftest.er1 >conftest.err
16612 rm -f conftest.er1
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } &&
16616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; } &&
16622 { ac_try='test -s conftest.$ac_objext'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16625 ac_status=$?
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; }; then
16628 ac_lo=0 ac_mid=0
16629 while :; do
16630 cat >conftest.$ac_ext <<_ACEOF
16631 /* confdefs.h. */
16632 _ACEOF
16633 cat confdefs.h >>conftest.$ac_ext
16634 cat >>conftest.$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16636 $ac_includes_default
16637 int
16638 main ()
16639 {
16640 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16641 test_array [0] = 0
16642
16643 ;
16644 return 0;
16645 }
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16650 ac_status=$?
16651 grep -v '^ *+' conftest.er1 >conftest.err
16652 rm -f conftest.er1
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16659 ac_status=$?
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_hi=$ac_mid; break
16669 else
16670 echo "$as_me: failed program was:" >&5
16671 sed 's/^/| /' conftest.$ac_ext >&5
16672
16673 ac_lo=`expr $ac_mid + 1`
16674 if test $ac_lo -le $ac_mid; then
16675 ac_lo= ac_hi=
16676 break
16677 fi
16678 ac_mid=`expr 2 '*' $ac_mid + 1`
16679 fi
16680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16681 done
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 cat >conftest.$ac_ext <<_ACEOF
16687 /* confdefs.h. */
16688 _ACEOF
16689 cat confdefs.h >>conftest.$ac_ext
16690 cat >>conftest.$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16692 $ac_includes_default
16693 int
16694 main ()
16695 {
16696 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16697 test_array [0] = 0
16698
16699 ;
16700 return 0;
16701 }
16702 _ACEOF
16703 rm -f conftest.$ac_objext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 (eval $ac_compile) 2>conftest.er1
16706 ac_status=$?
16707 grep -v '^ *+' conftest.er1 >conftest.err
16708 rm -f conftest.er1
16709 cat conftest.err >&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16715 ac_status=$?
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try='test -s conftest.$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16721 ac_status=$?
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16724 ac_hi=-1 ac_mid=-1
16725 while :; do
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16733 int
16734 main ()
16735 {
16736 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16737 test_array [0] = 0
16738
16739 ;
16740 return 0;
16741 }
16742 _ACEOF
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16746 ac_status=$?
16747 grep -v '^ *+' conftest.er1 >conftest.err
16748 rm -f conftest.er1
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16755 ac_status=$?
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 ac_lo=$ac_mid; break
16765 else
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16768
16769 ac_hi=`expr '(' $ac_mid ')' - 1`
16770 if test $ac_mid -le $ac_hi; then
16771 ac_lo= ac_hi=
16772 break
16773 fi
16774 ac_mid=`expr 2 '*' $ac_mid`
16775 fi
16776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16777 done
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ac_lo= ac_hi=
16783 fi
16784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16785 fi
16786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16787 # Binary search between lo and hi bounds.
16788 while test "x$ac_lo" != "x$ac_hi"; do
16789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16790 cat >conftest.$ac_ext <<_ACEOF
16791 /* confdefs.h. */
16792 _ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 $ac_includes_default
16797 int
16798 main ()
16799 {
16800 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16801 test_array [0] = 0
16802
16803 ;
16804 return 0;
16805 }
16806 _ACEOF
16807 rm -f conftest.$ac_objext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809 (eval $ac_compile) 2>conftest.er1
16810 ac_status=$?
16811 grep -v '^ *+' conftest.er1 >conftest.err
16812 rm -f conftest.er1
16813 cat conftest.err >&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } &&
16816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16819 ac_status=$?
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; } &&
16822 { ac_try='test -s conftest.$ac_objext'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16825 ac_status=$?
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; }; then
16828 ac_hi=$ac_mid
16829 else
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16832
16833 ac_lo=`expr '(' $ac_mid ')' + 1`
16834 fi
16835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16836 done
16837 case $ac_lo in
16838 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16839 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16840 See \`config.log' for more details." >&5
16841 echo "$as_me: error: cannot compute sizeof (size_t), 77
16842 See \`config.log' for more details." >&2;}
16843 { (exit 1); exit 1; }; } ;;
16844 esac
16845 else
16846 if test "$cross_compiling" = yes; then
16847 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16848 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16849 { (exit 1); exit 1; }; }
16850 else
16851 cat >conftest.$ac_ext <<_ACEOF
16852 /* confdefs.h. */
16853 _ACEOF
16854 cat confdefs.h >>conftest.$ac_ext
16855 cat >>conftest.$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 $ac_includes_default
16858 long longval () { return (long) (sizeof (size_t)); }
16859 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16860 #include <stdio.h>
16861 #include <stdlib.h>
16862 int
16863 main ()
16864 {
16865
16866 FILE *f = fopen ("conftest.val", "w");
16867 if (! f)
16868 exit (1);
16869 if (((long) (sizeof (size_t))) < 0)
16870 {
16871 long i = longval ();
16872 if (i != ((long) (sizeof (size_t))))
16873 exit (1);
16874 fprintf (f, "%ld\n", i);
16875 }
16876 else
16877 {
16878 unsigned long i = ulongval ();
16879 if (i != ((long) (sizeof (size_t))))
16880 exit (1);
16881 fprintf (f, "%lu\n", i);
16882 }
16883 exit (ferror (f) || fclose (f) != 0);
16884
16885 ;
16886 return 0;
16887 }
16888 _ACEOF
16889 rm -f conftest$ac_exeext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16891 (eval $ac_link) 2>&5
16892 ac_status=$?
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16897 ac_status=$?
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16900 ac_cv_sizeof_size_t=`cat conftest.val`
16901 else
16902 echo "$as_me: program exited with status $ac_status" >&5
16903 echo "$as_me: failed program was:" >&5
16904 sed 's/^/| /' conftest.$ac_ext >&5
16905
16906 ( exit $ac_status )
16907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16908 See \`config.log' for more details." >&5
16909 echo "$as_me: error: cannot compute sizeof (size_t), 77
16910 See \`config.log' for more details." >&2;}
16911 { (exit 1); exit 1; }; }
16912 fi
16913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16914 fi
16915 fi
16916 rm -f conftest.val
16917 else
16918 ac_cv_sizeof_size_t=0
16919 fi
16920 fi
16921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16922 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16923 cat >>confdefs.h <<_ACEOF
16924 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16925 _ACEOF
16926
16927
16928
16929 case "${host}" in
16930 arm-*-linux* )
16931 echo "$as_me:$LINENO: checking for long long" >&5
16932 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16933 if test "${ac_cv_type_long_long+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 else
16936 cat >conftest.$ac_ext <<_ACEOF
16937 /* confdefs.h. */
16938 _ACEOF
16939 cat confdefs.h >>conftest.$ac_ext
16940 cat >>conftest.$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 $ac_includes_default
16943 int
16944 main ()
16945 {
16946 if ((long long *) 0)
16947 return 0;
16948 if (sizeof (long long))
16949 return 0;
16950 ;
16951 return 0;
16952 }
16953 _ACEOF
16954 rm -f conftest.$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16957 ac_status=$?
16958 grep -v '^ *+' conftest.er1 >conftest.err
16959 rm -f conftest.er1
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16966 ac_status=$?
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try='test -s conftest.$ac_objext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 ac_cv_type_long_long=yes
16976 else
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.$ac_ext >&5
16979
16980 ac_cv_type_long_long=no
16981 fi
16982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16983 fi
16984 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16985 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16986
16987 echo "$as_me:$LINENO: checking size of long long" >&5
16988 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16989 if test "${ac_cv_sizeof_long_long+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 else
16992 if test "$ac_cv_type_long_long" = yes; then
16993 # The cast to unsigned long works around a bug in the HP C Compiler
16994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16996 # This bug is HP SR number 8606223364.
16997 if test "$cross_compiling" = yes; then
16998 # Depending upon the size, compute the lo and hi bounds.
16999 cat >conftest.$ac_ext <<_ACEOF
17000 /* confdefs.h. */
17001 _ACEOF
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005 $ac_includes_default
17006 int
17007 main ()
17008 {
17009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17010 test_array [0] = 0
17011
17012 ;
17013 return 0;
17014 }
17015 _ACEOF
17016 rm -f conftest.$ac_objext
17017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17018 (eval $ac_compile) 2>conftest.er1
17019 ac_status=$?
17020 grep -v '^ *+' conftest.er1 >conftest.err
17021 rm -f conftest.er1
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } &&
17025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try='test -s conftest.$ac_objext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17034 ac_status=$?
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17037 ac_lo=0 ac_mid=0
17038 while :; do
17039 cat >conftest.$ac_ext <<_ACEOF
17040 /* confdefs.h. */
17041 _ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17046 int
17047 main ()
17048 {
17049 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17050 test_array [0] = 0
17051
17052 ;
17053 return 0;
17054 }
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17067 (eval $ac_try) 2>&5
17068 ac_status=$?
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); }; } &&
17071 { ac_try='test -s conftest.$ac_objext'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17074 ac_status=$?
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; }; then
17077 ac_hi=$ac_mid; break
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17081
17082 ac_lo=`expr $ac_mid + 1`
17083 if test $ac_lo -le $ac_mid; then
17084 ac_lo= ac_hi=
17085 break
17086 fi
17087 ac_mid=`expr 2 '*' $ac_mid + 1`
17088 fi
17089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17090 done
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17094
17095 cat >conftest.$ac_ext <<_ACEOF
17096 /* confdefs.h. */
17097 _ACEOF
17098 cat confdefs.h >>conftest.$ac_ext
17099 cat >>conftest.$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 $ac_includes_default
17102 int
17103 main ()
17104 {
17105 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17106 test_array [0] = 0
17107
17108 ;
17109 return 0;
17110 }
17111 _ACEOF
17112 rm -f conftest.$ac_objext
17113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17114 (eval $ac_compile) 2>conftest.er1
17115 ac_status=$?
17116 grep -v '^ *+' conftest.er1 >conftest.err
17117 rm -f conftest.er1
17118 cat conftest.err >&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); } &&
17121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17124 ac_status=$?
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; } &&
17127 { ac_try='test -s conftest.$ac_objext'
17128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129 (eval $ac_try) 2>&5
17130 ac_status=$?
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; }; then
17133 ac_hi=-1 ac_mid=-1
17134 while :; do
17135 cat >conftest.$ac_ext <<_ACEOF
17136 /* confdefs.h. */
17137 _ACEOF
17138 cat confdefs.h >>conftest.$ac_ext
17139 cat >>conftest.$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 $ac_includes_default
17142 int
17143 main ()
17144 {
17145 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17146 test_array [0] = 0
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17155 ac_status=$?
17156 grep -v '^ *+' conftest.er1 >conftest.err
17157 rm -f conftest.er1
17158 cat conftest.err >&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17170 ac_status=$?
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_lo=$ac_mid; break
17174 else
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17177
17178 ac_hi=`expr '(' $ac_mid ')' - 1`
17179 if test $ac_mid -le $ac_hi; then
17180 ac_lo= ac_hi=
17181 break
17182 fi
17183 ac_mid=`expr 2 '*' $ac_mid`
17184 fi
17185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17186 done
17187 else
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17190
17191 ac_lo= ac_hi=
17192 fi
17193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17194 fi
17195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17196 # Binary search between lo and hi bounds.
17197 while test "x$ac_lo" != "x$ac_hi"; do
17198 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h. */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17206 int
17207 main ()
17208 {
17209 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17210 test_array [0] = 0
17211
17212 ;
17213 return 0;
17214 }
17215 _ACEOF
17216 rm -f conftest.$ac_objext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17218 (eval $ac_compile) 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17228 ac_status=$?
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; } &&
17231 { ac_try='test -s conftest.$ac_objext'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17234 ac_status=$?
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; }; then
17237 ac_hi=$ac_mid
17238 else
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.$ac_ext >&5
17241
17242 ac_lo=`expr '(' $ac_mid ')' + 1`
17243 fi
17244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17245 done
17246 case $ac_lo in
17247 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17248 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17249 See \`config.log' for more details." >&5
17250 echo "$as_me: error: cannot compute sizeof (long long), 77
17251 See \`config.log' for more details." >&2;}
17252 { (exit 1); exit 1; }; } ;;
17253 esac
17254 else
17255 if test "$cross_compiling" = yes; then
17256 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17257 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17258 { (exit 1); exit 1; }; }
17259 else
17260 cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h. */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 $ac_includes_default
17267 long longval () { return (long) (sizeof (long long)); }
17268 unsigned long ulongval () { return (long) (sizeof (long long)); }
17269 #include <stdio.h>
17270 #include <stdlib.h>
17271 int
17272 main ()
17273 {
17274
17275 FILE *f = fopen ("conftest.val", "w");
17276 if (! f)
17277 exit (1);
17278 if (((long) (sizeof (long long))) < 0)
17279 {
17280 long i = longval ();
17281 if (i != ((long) (sizeof (long long))))
17282 exit (1);
17283 fprintf (f, "%ld\n", i);
17284 }
17285 else
17286 {
17287 unsigned long i = ulongval ();
17288 if (i != ((long) (sizeof (long long))))
17289 exit (1);
17290 fprintf (f, "%lu\n", i);
17291 }
17292 exit (ferror (f) || fclose (f) != 0);
17293
17294 ;
17295 return 0;
17296 }
17297 _ACEOF
17298 rm -f conftest$ac_exeext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17300 (eval $ac_link) 2>&5
17301 ac_status=$?
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 ac_cv_sizeof_long_long=`cat conftest.val`
17310 else
17311 echo "$as_me: program exited with status $ac_status" >&5
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.$ac_ext >&5
17314
17315 ( exit $ac_status )
17316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17317 See \`config.log' for more details." >&5
17318 echo "$as_me: error: cannot compute sizeof (long long), 77
17319 See \`config.log' for more details." >&2;}
17320 { (exit 1); exit 1; }; }
17321 fi
17322 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17323 fi
17324 fi
17325 rm -f conftest.val
17326 else
17327 ac_cv_sizeof_long_long=0
17328 fi
17329 fi
17330 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17331 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17332 cat >>confdefs.h <<_ACEOF
17333 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17334 _ACEOF
17335
17336
17337 ;;
17338 *-hp-hpux* )
17339 echo "$as_me:$LINENO: checking for long long" >&5
17340 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17341 if test "${ac_cv_type_long_long+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 else
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 $ac_includes_default
17351 int
17352 main ()
17353 {
17354 if ((long long *) 0)
17355 return 0;
17356 if (sizeof (long long))
17357 return 0;
17358 ;
17359 return 0;
17360 }
17361 _ACEOF
17362 rm -f conftest.$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17365 ac_status=$?
17366 grep -v '^ *+' conftest.er1 >conftest.err
17367 rm -f conftest.er1
17368 cat conftest.err >&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17374 ac_status=$?
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17380 ac_status=$?
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_cv_type_long_long=yes
17384 else
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17387
17388 ac_cv_type_long_long=no
17389 fi
17390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17391 fi
17392 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17393 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17394
17395 echo "$as_me:$LINENO: checking size of long long" >&5
17396 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17397 if test "${ac_cv_sizeof_long_long+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 else
17400 if test "$ac_cv_type_long_long" = yes; then
17401 # The cast to unsigned long works around a bug in the HP C Compiler
17402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17404 # This bug is HP SR number 8606223364.
17405 if test "$cross_compiling" = yes; then
17406 # Depending upon the size, compute the lo and hi bounds.
17407 cat >conftest.$ac_ext <<_ACEOF
17408 /* confdefs.h. */
17409 _ACEOF
17410 cat confdefs.h >>conftest.$ac_ext
17411 cat >>conftest.$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 $ac_includes_default
17414 int
17415 main ()
17416 {
17417 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17418 test_array [0] = 0
17419
17420 ;
17421 return 0;
17422 }
17423 _ACEOF
17424 rm -f conftest.$ac_objext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17426 (eval $ac_compile) 2>conftest.er1
17427 ac_status=$?
17428 grep -v '^ *+' conftest.er1 >conftest.err
17429 rm -f conftest.er1
17430 cat conftest.err >&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17436 ac_status=$?
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; } &&
17439 { ac_try='test -s conftest.$ac_objext'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; }; then
17445 ac_lo=0 ac_mid=0
17446 while :; do
17447 cat >conftest.$ac_ext <<_ACEOF
17448 /* confdefs.h. */
17449 _ACEOF
17450 cat confdefs.h >>conftest.$ac_ext
17451 cat >>conftest.$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17453 $ac_includes_default
17454 int
17455 main ()
17456 {
17457 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17458 test_array [0] = 0
17459
17460 ;
17461 return 0;
17462 }
17463 _ACEOF
17464 rm -f conftest.$ac_objext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17466 (eval $ac_compile) 2>conftest.er1
17467 ac_status=$?
17468 grep -v '^ *+' conftest.er1 >conftest.err
17469 rm -f conftest.er1
17470 cat conftest.err >&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17476 ac_status=$?
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; } &&
17479 { ac_try='test -s conftest.$ac_objext'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17482 ac_status=$?
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; }; then
17485 ac_hi=$ac_mid; break
17486 else
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17489
17490 ac_lo=`expr $ac_mid + 1`
17491 if test $ac_lo -le $ac_mid; then
17492 ac_lo= ac_hi=
17493 break
17494 fi
17495 ac_mid=`expr 2 '*' $ac_mid + 1`
17496 fi
17497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17498 done
17499 else
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17502
17503 cat >conftest.$ac_ext <<_ACEOF
17504 /* confdefs.h. */
17505 _ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17509 $ac_includes_default
17510 int
17511 main ()
17512 {
17513 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17514 test_array [0] = 0
17515
17516 ;
17517 return 0;
17518 }
17519 _ACEOF
17520 rm -f conftest.$ac_objext
17521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17522 (eval $ac_compile) 2>conftest.er1
17523 ac_status=$?
17524 grep -v '^ *+' conftest.er1 >conftest.err
17525 rm -f conftest.er1
17526 cat conftest.err >&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); } &&
17529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; } &&
17535 { ac_try='test -s conftest.$ac_objext'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17538 ac_status=$?
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; }; then
17541 ac_hi=-1 ac_mid=-1
17542 while :; do
17543 cat >conftest.$ac_ext <<_ACEOF
17544 /* confdefs.h. */
17545 _ACEOF
17546 cat confdefs.h >>conftest.$ac_ext
17547 cat >>conftest.$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 $ac_includes_default
17550 int
17551 main ()
17552 {
17553 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17554 test_array [0] = 0
17555
17556 ;
17557 return 0;
17558 }
17559 _ACEOF
17560 rm -f conftest.$ac_objext
17561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17562 (eval $ac_compile) 2>conftest.er1
17563 ac_status=$?
17564 grep -v '^ *+' conftest.er1 >conftest.err
17565 rm -f conftest.er1
17566 cat conftest.err >&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); } &&
17569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17572 ac_status=$?
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try='test -s conftest.$ac_objext'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17578 ac_status=$?
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17581 ac_lo=$ac_mid; break
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17585
17586 ac_hi=`expr '(' $ac_mid ')' - 1`
17587 if test $ac_mid -le $ac_hi; then
17588 ac_lo= ac_hi=
17589 break
17590 fi
17591 ac_mid=`expr 2 '*' $ac_mid`
17592 fi
17593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17594 done
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17598
17599 ac_lo= ac_hi=
17600 fi
17601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17602 fi
17603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17604 # Binary search between lo and hi bounds.
17605 while test "x$ac_lo" != "x$ac_hi"; do
17606 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17607 cat >conftest.$ac_ext <<_ACEOF
17608 /* confdefs.h. */
17609 _ACEOF
17610 cat confdefs.h >>conftest.$ac_ext
17611 cat >>conftest.$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17613 $ac_includes_default
17614 int
17615 main ()
17616 {
17617 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17618 test_array [0] = 0
17619
17620 ;
17621 return 0;
17622 }
17623 _ACEOF
17624 rm -f conftest.$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17627 ac_status=$?
17628 grep -v '^ *+' conftest.er1 >conftest.err
17629 rm -f conftest.er1
17630 cat conftest.err >&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17636 ac_status=$?
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try='test -s conftest.$ac_objext'
17640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641 (eval $ac_try) 2>&5
17642 ac_status=$?
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; }; then
17645 ac_hi=$ac_mid
17646 else
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.$ac_ext >&5
17649
17650 ac_lo=`expr '(' $ac_mid ')' + 1`
17651 fi
17652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17653 done
17654 case $ac_lo in
17655 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17657 See \`config.log' for more details." >&5
17658 echo "$as_me: error: cannot compute sizeof (long long), 77
17659 See \`config.log' for more details." >&2;}
17660 { (exit 1); exit 1; }; } ;;
17661 esac
17662 else
17663 if test "$cross_compiling" = yes; then
17664 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17665 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17666 { (exit 1); exit 1; }; }
17667 else
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h. */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674 $ac_includes_default
17675 long longval () { return (long) (sizeof (long long)); }
17676 unsigned long ulongval () { return (long) (sizeof (long long)); }
17677 #include <stdio.h>
17678 #include <stdlib.h>
17679 int
17680 main ()
17681 {
17682
17683 FILE *f = fopen ("conftest.val", "w");
17684 if (! f)
17685 exit (1);
17686 if (((long) (sizeof (long long))) < 0)
17687 {
17688 long i = longval ();
17689 if (i != ((long) (sizeof (long long))))
17690 exit (1);
17691 fprintf (f, "%ld\n", i);
17692 }
17693 else
17694 {
17695 unsigned long i = ulongval ();
17696 if (i != ((long) (sizeof (long long))))
17697 exit (1);
17698 fprintf (f, "%lu\n", i);
17699 }
17700 exit (ferror (f) || fclose (f) != 0);
17701
17702 ;
17703 return 0;
17704 }
17705 _ACEOF
17706 rm -f conftest$ac_exeext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17708 (eval $ac_link) 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17714 ac_status=$?
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; }; then
17717 ac_cv_sizeof_long_long=`cat conftest.val`
17718 else
17719 echo "$as_me: program exited with status $ac_status" >&5
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 ( exit $ac_status )
17724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17725 See \`config.log' for more details." >&5
17726 echo "$as_me: error: cannot compute sizeof (long long), 77
17727 See \`config.log' for more details." >&2;}
17728 { (exit 1); exit 1; }; }
17729 fi
17730 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17731 fi
17732 fi
17733 rm -f conftest.val
17734 else
17735 ac_cv_sizeof_long_long=0
17736 fi
17737 fi
17738 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17739 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17740 cat >>confdefs.h <<_ACEOF
17741 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17742 _ACEOF
17743
17744
17745 if test "$ac_cv_sizeof_long_long" != "0"; then
17746 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17747 fi
17748 ;;
17749 * )
17750 echo "$as_me:$LINENO: checking for long long" >&5
17751 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17752 if test "${ac_cv_type_long_long+set}" = set; then
17753 echo $ECHO_N "(cached) $ECHO_C" >&6
17754 else
17755 cat >conftest.$ac_ext <<_ACEOF
17756 /* confdefs.h. */
17757 _ACEOF
17758 cat confdefs.h >>conftest.$ac_ext
17759 cat >>conftest.$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 $ac_includes_default
17762 int
17763 main ()
17764 {
17765 if ((long long *) 0)
17766 return 0;
17767 if (sizeof (long long))
17768 return 0;
17769 ;
17770 return 0;
17771 }
17772 _ACEOF
17773 rm -f conftest.$ac_objext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>conftest.er1
17776 ac_status=$?
17777 grep -v '^ *+' conftest.er1 >conftest.err
17778 rm -f conftest.er1
17779 cat conftest.err >&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try='test -s conftest.$ac_objext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 ac_cv_type_long_long=yes
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17798
17799 ac_cv_type_long_long=no
17800 fi
17801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17802 fi
17803 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17804 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17805
17806 echo "$as_me:$LINENO: checking size of long long" >&5
17807 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17808 if test "${ac_cv_sizeof_long_long+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 else
17811 if test "$ac_cv_type_long_long" = yes; then
17812 # The cast to unsigned long works around a bug in the HP C Compiler
17813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17815 # This bug is HP SR number 8606223364.
17816 if test "$cross_compiling" = yes; then
17817 # Depending upon the size, compute the lo and hi bounds.
17818 cat >conftest.$ac_ext <<_ACEOF
17819 /* confdefs.h. */
17820 _ACEOF
17821 cat confdefs.h >>conftest.$ac_ext
17822 cat >>conftest.$ac_ext <<_ACEOF
17823 /* end confdefs.h. */
17824 $ac_includes_default
17825 int
17826 main ()
17827 {
17828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17829 test_array [0] = 0
17830
17831 ;
17832 return 0;
17833 }
17834 _ACEOF
17835 rm -f conftest.$ac_objext
17836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17837 (eval $ac_compile) 2>conftest.er1
17838 ac_status=$?
17839 grep -v '^ *+' conftest.er1 >conftest.err
17840 rm -f conftest.er1
17841 cat conftest.err >&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } &&
17844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17847 ac_status=$?
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; } &&
17850 { ac_try='test -s conftest.$ac_objext'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; }; then
17856 ac_lo=0 ac_mid=0
17857 while :; do
17858 cat >conftest.$ac_ext <<_ACEOF
17859 /* confdefs.h. */
17860 _ACEOF
17861 cat confdefs.h >>conftest.$ac_ext
17862 cat >>conftest.$ac_ext <<_ACEOF
17863 /* end confdefs.h. */
17864 $ac_includes_default
17865 int
17866 main ()
17867 {
17868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17869 test_array [0] = 0
17870
17871 ;
17872 return 0;
17873 }
17874 _ACEOF
17875 rm -f conftest.$ac_objext
17876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17877 (eval $ac_compile) 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } &&
17884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17887 ac_status=$?
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 ac_hi=$ac_mid; break
17897 else
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.$ac_ext >&5
17900
17901 ac_lo=`expr $ac_mid + 1`
17902 if test $ac_lo -le $ac_mid; then
17903 ac_lo= ac_hi=
17904 break
17905 fi
17906 ac_mid=`expr 2 '*' $ac_mid + 1`
17907 fi
17908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17909 done
17910 else
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17913
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 $ac_includes_default
17921 int
17922 main ()
17923 {
17924 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17925 test_array [0] = 0
17926
17927 ;
17928 return 0;
17929 }
17930 _ACEOF
17931 rm -f conftest.$ac_objext
17932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17933 (eval $ac_compile) 2>conftest.er1
17934 ac_status=$?
17935 grep -v '^ *+' conftest.er1 >conftest.err
17936 rm -f conftest.er1
17937 cat conftest.err >&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); } &&
17940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17943 ac_status=$?
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; } &&
17946 { ac_try='test -s conftest.$ac_objext'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17949 ac_status=$?
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; }; then
17952 ac_hi=-1 ac_mid=-1
17953 while :; do
17954 cat >conftest.$ac_ext <<_ACEOF
17955 /* confdefs.h. */
17956 _ACEOF
17957 cat confdefs.h >>conftest.$ac_ext
17958 cat >>conftest.$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 $ac_includes_default
17961 int
17962 main ()
17963 {
17964 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17965 test_array [0] = 0
17966
17967 ;
17968 return 0;
17969 }
17970 _ACEOF
17971 rm -f conftest.$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17974 ac_status=$?
17975 grep -v '^ *+' conftest.er1 >conftest.err
17976 rm -f conftest.er1
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try='test -s conftest.$ac_objext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17989 ac_status=$?
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 ac_lo=$ac_mid; break
17993 else
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.$ac_ext >&5
17996
17997 ac_hi=`expr '(' $ac_mid ')' - 1`
17998 if test $ac_mid -le $ac_hi; then
17999 ac_lo= ac_hi=
18000 break
18001 fi
18002 ac_mid=`expr 2 '*' $ac_mid`
18003 fi
18004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18005 done
18006 else
18007 echo "$as_me: failed program was:" >&5
18008 sed 's/^/| /' conftest.$ac_ext >&5
18009
18010 ac_lo= ac_hi=
18011 fi
18012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18013 fi
18014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18015 # Binary search between lo and hi bounds.
18016 while test "x$ac_lo" != "x$ac_hi"; do
18017 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18018 cat >conftest.$ac_ext <<_ACEOF
18019 /* confdefs.h. */
18020 _ACEOF
18021 cat confdefs.h >>conftest.$ac_ext
18022 cat >>conftest.$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18024 $ac_includes_default
18025 int
18026 main ()
18027 {
18028 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18029 test_array [0] = 0
18030
18031 ;
18032 return 0;
18033 }
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>conftest.er1
18038 ac_status=$?
18039 grep -v '^ *+' conftest.er1 >conftest.err
18040 rm -f conftest.er1
18041 cat conftest.err >&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try='test -s conftest.$ac_objext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_hi=$ac_mid
18057 else
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 ac_lo=`expr '(' $ac_mid ')' + 1`
18062 fi
18063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18064 done
18065 case $ac_lo in
18066 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18067 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18068 See \`config.log' for more details." >&5
18069 echo "$as_me: error: cannot compute sizeof (long long), 77
18070 See \`config.log' for more details." >&2;}
18071 { (exit 1); exit 1; }; } ;;
18072 esac
18073 else
18074 if test "$cross_compiling" = yes; then
18075 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18076 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18077 { (exit 1); exit 1; }; }
18078 else
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18086 long longval () { return (long) (sizeof (long long)); }
18087 unsigned long ulongval () { return (long) (sizeof (long long)); }
18088 #include <stdio.h>
18089 #include <stdlib.h>
18090 int
18091 main ()
18092 {
18093
18094 FILE *f = fopen ("conftest.val", "w");
18095 if (! f)
18096 exit (1);
18097 if (((long) (sizeof (long long))) < 0)
18098 {
18099 long i = longval ();
18100 if (i != ((long) (sizeof (long long))))
18101 exit (1);
18102 fprintf (f, "%ld\n", i);
18103 }
18104 else
18105 {
18106 unsigned long i = ulongval ();
18107 if (i != ((long) (sizeof (long long))))
18108 exit (1);
18109 fprintf (f, "%lu\n", i);
18110 }
18111 exit (ferror (f) || fclose (f) != 0);
18112
18113 ;
18114 return 0;
18115 }
18116 _ACEOF
18117 rm -f conftest$ac_exeext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18119 (eval $ac_link) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_sizeof_long_long=`cat conftest.val`
18129 else
18130 echo "$as_me: program exited with status $ac_status" >&5
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134 ( exit $ac_status )
18135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18136 See \`config.log' for more details." >&5
18137 echo "$as_me: error: cannot compute sizeof (long long), 77
18138 See \`config.log' for more details." >&2;}
18139 { (exit 1); exit 1; }; }
18140 fi
18141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18142 fi
18143 fi
18144 rm -f conftest.val
18145 else
18146 ac_cv_sizeof_long_long=0
18147 fi
18148 fi
18149 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18150 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18151 cat >>confdefs.h <<_ACEOF
18152 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18153 _ACEOF
18154
18155
18156 esac
18157
18158 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18159 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18160 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18161 echo $ECHO_N "(cached) $ECHO_C" >&6
18162 else
18163
18164 if test "$cross_compiling" = yes; then
18165
18166 case "${host}" in
18167 *-pc-msdosdjgpp )
18168 wx_cv_sizeof_wchar_t=0
18169 ;;
18170 * )
18171 wx_cv_sizeof_wchar_t=4
18172 ;;
18173 esac
18174
18175
18176 else
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183
18184 /* DJGPP only has fake wchar_t: */
18185 #ifdef __DJGPP__
18186 # error "fake wchar_t"
18187 #endif
18188 #ifdef HAVE_WCHAR_H
18189 # ifdef __CYGWIN__
18190 # include <stddef.h>
18191 # endif
18192 # include <wchar.h>
18193 #endif
18194 #ifdef HAVE_STDLIB_H
18195 # include <stdlib.h>
18196 #endif
18197 #include <stdio.h>
18198 int main()
18199 {
18200 FILE *f=fopen("conftestval", "w");
18201 if (!f) exit(1);
18202 fprintf(f, "%i", sizeof(wchar_t));
18203 exit(0);
18204 }
18205
18206 _ACEOF
18207 rm -f conftest$ac_exeext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18209 (eval $ac_link) 2>&5
18210 ac_status=$?
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; }; then
18218 wx_cv_sizeof_wchar_t=`cat conftestval`
18219 else
18220 echo "$as_me: program exited with status $ac_status" >&5
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18223
18224 ( exit $ac_status )
18225 wx_cv_sizeof_wchar_t=0
18226 fi
18227 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18228 fi
18229
18230 fi
18231 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18232 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18233
18234 cat >>confdefs.h <<_ACEOF
18235 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18236 _ACEOF
18237
18238
18239 echo "$as_me:$LINENO: checking for va_copy" >&5
18240 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18241 if test "${wx_cv_func_va_copy+set}" = set; then
18242 echo $ECHO_N "(cached) $ECHO_C" >&6
18243 else
18244
18245 cat >conftest.$ac_ext <<_ACEOF
18246
18247 #include <stdarg.h>
18248 void foo(char *f, ...)
18249 {
18250 va_list ap1, ap2;
18251 va_start(ap1, f);
18252 va_copy(ap2, ap1);
18253 va_end(ap2);
18254 va_end(ap1);
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext conftest$ac_exeext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18259 (eval $ac_link) 2>conftest.er1
18260 ac_status=$?
18261 grep -v '^ *+' conftest.er1 >conftest.err
18262 rm -f conftest.er1
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18269 ac_status=$?
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try='test -s conftest$ac_exeext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 wx_cv_func_va_copy=yes
18279 else
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 wx_cv_func_va_copy=no
18284
18285 fi
18286 rm -f conftest.err conftest.$ac_objext \
18287 conftest$ac_exeext conftest.$ac_ext
18288
18289
18290 fi
18291 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18292 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18293
18294 if test $wx_cv_func_va_copy = "yes"; then
18295 cat >>confdefs.h <<\_ACEOF
18296 #define HAVE_VA_COPY 1
18297 _ACEOF
18298
18299 else
18300 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18301 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18302 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18303 echo $ECHO_N "(cached) $ECHO_C" >&6
18304 else
18305
18306 if test "$cross_compiling" = yes; then
18307 wx_cv_type_va_list_lvalue=yes
18308
18309 else
18310 cat >conftest.$ac_ext <<_ACEOF
18311
18312 #include <stdarg.h>
18313 int foo(char *f, ...)
18314 {
18315 va_list ap1, ap2;
18316 va_start(ap1, f);
18317 ap2 = ap1;
18318 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18319 return 1;
18320 va_end(ap2);
18321 va_end(ap1);
18322 return 0;
18323 }
18324 int main()
18325 {
18326 return foo("hi", 17);
18327 }
18328 _ACEOF
18329 rm -f conftest$ac_exeext
18330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18331 (eval $ac_link) 2>&5
18332 ac_status=$?
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 wx_cv_type_va_list_lvalue=yes
18341 else
18342 echo "$as_me: program exited with status $ac_status" >&5
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.$ac_ext >&5
18345
18346 ( exit $ac_status )
18347 wx_cv_type_va_list_lvalue=no
18348 fi
18349 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18350 fi
18351
18352
18353 fi
18354 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18355 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18356
18357 if test $wx_cv_type_va_list_lvalue != "yes"; then
18358 cat >>confdefs.h <<\_ACEOF
18359 #define VA_LIST_IS_ARRAY 1
18360 _ACEOF
18361
18362 fi
18363 fi
18364
18365 # Check whether --enable-largefile or --disable-largefile was given.
18366 if test "${enable_largefile+set}" = set; then
18367 enableval="$enable_largefile"
18368
18369 fi;
18370 if test "$enable_largefile" != no; then
18371 wx_largefile=no
18372
18373 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18374 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18375 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 else
18378
18379 cat >conftest.$ac_ext <<_ACEOF
18380 /* confdefs.h. */
18381 _ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385 #define _FILE_OFFSET_BITS 64
18386 #include <sys/types.h>
18387 int
18388 main ()
18389 {
18390 typedef struct {
18391 unsigned int field: sizeof(off_t) == 8;
18392 } wxlf;
18393
18394 ;
18395 return 0;
18396 }
18397 _ACEOF
18398 rm -f conftest.$ac_objext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18400 (eval $ac_compile) 2>conftest.er1
18401 ac_status=$?
18402 grep -v '^ *+' conftest.er1 >conftest.err
18403 rm -f conftest.er1
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18409 (eval $ac_try) 2>&5
18410 ac_status=$?
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); }; } &&
18413 { ac_try='test -s conftest.$ac_objext'
18414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18415 (eval $ac_try) 2>&5
18416 ac_status=$?
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); }; }; then
18419 ac_cv_sys_file_offset_bits=64
18420 else
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18423
18424 ac_cv_sys_file_offset_bits=no
18425 fi
18426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18427
18428
18429 fi
18430 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18431 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18432
18433 if test "$ac_cv_sys_file_offset_bits" != no; then
18434 wx_largefile=yes
18435 cat >>confdefs.h <<_ACEOF
18436 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18437 _ACEOF
18438
18439 fi
18440
18441 if test "x$wx_largefile" != "xyes"; then
18442
18443 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18444 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18445 if test "${ac_cv_sys_large_files+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 else
18448
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 #define _LARGE_FILES 1
18456 #include <sys/types.h>
18457 int
18458 main ()
18459 {
18460 typedef struct {
18461 unsigned int field: sizeof(off_t) == 8;
18462 } wxlf;
18463
18464 ;
18465 return 0;
18466 }
18467 _ACEOF
18468 rm -f conftest.$ac_objext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18470 (eval $ac_compile) 2>conftest.er1
18471 ac_status=$?
18472 grep -v '^ *+' conftest.er1 >conftest.err
18473 rm -f conftest.er1
18474 cat conftest.err >&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18480 ac_status=$?
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; } &&
18483 { ac_try='test -s conftest.$ac_objext'
18484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 (eval $ac_try) 2>&5
18486 ac_status=$?
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; }; then
18489 ac_cv_sys_large_files=1
18490 else
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18493
18494 ac_cv_sys_large_files=no
18495 fi
18496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18497
18498
18499 fi
18500 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18501 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18502
18503 if test "$ac_cv_sys_large_files" != no; then
18504 wx_largefile=yes
18505 cat >>confdefs.h <<_ACEOF
18506 #define _LARGE_FILES $ac_cv_sys_large_files
18507 _ACEOF
18508
18509 fi
18510
18511 fi
18512
18513 echo "$as_me:$LINENO: checking if large file support is available" >&5
18514 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18515 if test "x$wx_largefile" = "xyes"; then
18516 cat >>confdefs.h <<\_ACEOF
18517 #define HAVE_LARGEFILE_SUPPORT 1
18518 _ACEOF
18519
18520 fi
18521 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18522 echo "${ECHO_T}$wx_largefile" >&6
18523 fi
18524
18525
18526 if test "x$wx_largefile" = "xyes"; then
18527 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18528 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18529 else
18530 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18531 fi
18532 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18533 fi
18534
18535 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18536 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18537 if test "${ac_cv_c_bigendian+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 else
18540 ac_cv_c_bigendian=unknown
18541 # See if sys/param.h defines the BYTE_ORDER macro.
18542 cat >conftest.$ac_ext <<_ACEOF
18543 /* confdefs.h. */
18544 _ACEOF
18545 cat confdefs.h >>conftest.$ac_ext
18546 cat >>conftest.$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 #include <sys/types.h>
18549 #include <sys/param.h>
18550 int
18551 main ()
18552 {
18553
18554 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18555 bogus endian macros
18556 #endif
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 rm -f conftest.$ac_objext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18563 (eval $ac_compile) 2>conftest.er1
18564 ac_status=$?
18565 grep -v '^ *+' conftest.er1 >conftest.err
18566 rm -f conftest.er1
18567 cat conftest.err >&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } &&
18570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; } &&
18576 { ac_try='test -s conftest.$ac_objext'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18579 ac_status=$?
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; }; then
18582 # It does; now see whether it defined to BIG_ENDIAN or not.
18583 cat >conftest.$ac_ext <<_ACEOF
18584 /* confdefs.h. */
18585 _ACEOF
18586 cat confdefs.h >>conftest.$ac_ext
18587 cat >>conftest.$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18589 #include <sys/types.h>
18590 #include <sys/param.h>
18591 int
18592 main ()
18593 {
18594
18595 #if BYTE_ORDER != BIG_ENDIAN
18596 not big endian
18597 #endif
18598 ;
18599 return 0;
18600 }
18601 _ACEOF
18602 rm -f conftest.$ac_objext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18604 (eval $ac_compile) 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18614 ac_status=$?
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try='test -s conftest.$ac_objext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_c_bigendian=yes
18624 else
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628 ac_cv_c_bigendian=no
18629 fi
18630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18631 else
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18634
18635 fi
18636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18637 if test $ac_cv_c_bigendian = unknown; then
18638 if test "$cross_compiling" = yes; then
18639 ac_cv_c_bigendian=unknown
18640 else
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 main () {
18648 /* Are we little or big endian? From Harbison&Steele. */
18649 union
18650 {
18651 long l;
18652 char c[sizeof (long)];
18653 } u;
18654 u.l = 1;
18655 exit (u.c[sizeof (long) - 1] == 1);
18656 }
18657 _ACEOF
18658 rm -f conftest$ac_exeext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18660 (eval $ac_link) 2>&5
18661 ac_status=$?
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18666 ac_status=$?
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; }; then
18669 ac_cv_c_bigendian=no
18670 else
18671 echo "$as_me: program exited with status $ac_status" >&5
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 ( exit $ac_status )
18676 ac_cv_c_bigendian=yes
18677 fi
18678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18679 fi
18680 fi
18681 fi
18682 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18683 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18684 if test $ac_cv_c_bigendian = unknown; then
18685 { 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
18686 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;}
18687 fi
18688 if test $ac_cv_c_bigendian = yes; then
18689 cat >>confdefs.h <<\_ACEOF
18690 #define WORDS_BIGENDIAN 1
18691 _ACEOF
18692
18693 fi
18694
18695
18696 ac_ext=cc
18697 ac_cpp='$CXXCPP $CPPFLAGS'
18698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18701 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18702 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18703 if test -z "$CXXCPP"; then
18704 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 else
18707 # Double quotes because CXXCPP needs to be expanded
18708 for CXXCPP in "$CXX -E" "/lib/cpp"
18709 do
18710 ac_preproc_ok=false
18711 for ac_cxx_preproc_warn_flag in '' yes
18712 do
18713 # Use a header file that comes with gcc, so configuring glibc
18714 # with a fresh cross-compiler works.
18715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18716 # <limits.h> exists even on freestanding compilers.
18717 # On the NeXT, cc -E runs the code through the compiler's parser,
18718 # not just through cpp. "Syntax error" is here to catch this case.
18719 cat >conftest.$ac_ext <<_ACEOF
18720 /* confdefs.h. */
18721 _ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 #ifdef __STDC__
18726 # include <limits.h>
18727 #else
18728 # include <assert.h>
18729 #endif
18730 Syntax error
18731 _ACEOF
18732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18734 ac_status=$?
18735 grep -v '^ *+' conftest.er1 >conftest.err
18736 rm -f conftest.er1
18737 cat conftest.err >&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } >/dev/null; then
18740 if test -s conftest.err; then
18741 ac_cpp_err=$ac_cxx_preproc_warn_flag
18742 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18743 else
18744 ac_cpp_err=
18745 fi
18746 else
18747 ac_cpp_err=yes
18748 fi
18749 if test -z "$ac_cpp_err"; then
18750 :
18751 else
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18754
18755 # Broken: fails on valid input.
18756 continue
18757 fi
18758 rm -f conftest.err conftest.$ac_ext
18759
18760 # OK, works on sane cases. Now check whether non-existent headers
18761 # can be detected and how.
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 #include <ac_nonexistent.h>
18769 _ACEOF
18770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18772 ac_status=$?
18773 grep -v '^ *+' conftest.er1 >conftest.err
18774 rm -f conftest.er1
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } >/dev/null; then
18778 if test -s conftest.err; then
18779 ac_cpp_err=$ac_cxx_preproc_warn_flag
18780 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18781 else
18782 ac_cpp_err=
18783 fi
18784 else
18785 ac_cpp_err=yes
18786 fi
18787 if test -z "$ac_cpp_err"; then
18788 # Broken: success on invalid input.
18789 continue
18790 else
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18793
18794 # Passes both tests.
18795 ac_preproc_ok=:
18796 break
18797 fi
18798 rm -f conftest.err conftest.$ac_ext
18799
18800 done
18801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18802 rm -f conftest.err conftest.$ac_ext
18803 if $ac_preproc_ok; then
18804 break
18805 fi
18806
18807 done
18808 ac_cv_prog_CXXCPP=$CXXCPP
18809
18810 fi
18811 CXXCPP=$ac_cv_prog_CXXCPP
18812 else
18813 ac_cv_prog_CXXCPP=$CXXCPP
18814 fi
18815 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18816 echo "${ECHO_T}$CXXCPP" >&6
18817 ac_preproc_ok=false
18818 for ac_cxx_preproc_warn_flag in '' yes
18819 do
18820 # Use a header file that comes with gcc, so configuring glibc
18821 # with a fresh cross-compiler works.
18822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18823 # <limits.h> exists even on freestanding compilers.
18824 # On the NeXT, cc -E runs the code through the compiler's parser,
18825 # not just through cpp. "Syntax error" is here to catch this case.
18826 cat >conftest.$ac_ext <<_ACEOF
18827 /* confdefs.h. */
18828 _ACEOF
18829 cat confdefs.h >>conftest.$ac_ext
18830 cat >>conftest.$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18832 #ifdef __STDC__
18833 # include <limits.h>
18834 #else
18835 # include <assert.h>
18836 #endif
18837 Syntax error
18838 _ACEOF
18839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18841 ac_status=$?
18842 grep -v '^ *+' conftest.er1 >conftest.err
18843 rm -f conftest.er1
18844 cat conftest.err >&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); } >/dev/null; then
18847 if test -s conftest.err; then
18848 ac_cpp_err=$ac_cxx_preproc_warn_flag
18849 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18850 else
18851 ac_cpp_err=
18852 fi
18853 else
18854 ac_cpp_err=yes
18855 fi
18856 if test -z "$ac_cpp_err"; then
18857 :
18858 else
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18861
18862 # Broken: fails on valid input.
18863 continue
18864 fi
18865 rm -f conftest.err conftest.$ac_ext
18866
18867 # OK, works on sane cases. Now check whether non-existent headers
18868 # can be detected and how.
18869 cat >conftest.$ac_ext <<_ACEOF
18870 /* confdefs.h. */
18871 _ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <ac_nonexistent.h>
18876 _ACEOF
18877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18879 ac_status=$?
18880 grep -v '^ *+' conftest.er1 >conftest.err
18881 rm -f conftest.er1
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } >/dev/null; then
18885 if test -s conftest.err; then
18886 ac_cpp_err=$ac_cxx_preproc_warn_flag
18887 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18888 else
18889 ac_cpp_err=
18890 fi
18891 else
18892 ac_cpp_err=yes
18893 fi
18894 if test -z "$ac_cpp_err"; then
18895 # Broken: success on invalid input.
18896 continue
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18900
18901 # Passes both tests.
18902 ac_preproc_ok=:
18903 break
18904 fi
18905 rm -f conftest.err conftest.$ac_ext
18906
18907 done
18908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18909 rm -f conftest.err conftest.$ac_ext
18910 if $ac_preproc_ok; then
18911 :
18912 else
18913 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18914 See \`config.log' for more details." >&5
18915 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18916 See \`config.log' for more details." >&2;}
18917 { (exit 1); exit 1; }; }
18918 fi
18919
18920 ac_ext=cc
18921 ac_cpp='$CXXCPP $CPPFLAGS'
18922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18925
18926
18927
18928
18929
18930 ac_ext=cc
18931 ac_cpp='$CXXCPP $CPPFLAGS'
18932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18935
18936
18937
18938 for ac_header in iostream
18939 do
18940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18942 echo "$as_me:$LINENO: checking for $ac_header" >&5
18943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 fi
18947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18949 else
18950 # Is the header compilable?
18951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18953 cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h. */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 $ac_includes_default
18960 #include <$ac_header>
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18974 ac_status=$?
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18980 ac_status=$?
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_header_compiler=yes
18984 else
18985 echo "$as_me: failed program was:" >&5
18986 sed 's/^/| /' conftest.$ac_ext >&5
18987
18988 ac_header_compiler=no
18989 fi
18990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18992 echo "${ECHO_T}$ac_header_compiler" >&6
18993
18994 # Is the header present?
18995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18997 cat >conftest.$ac_ext <<_ACEOF
18998 /* confdefs.h. */
18999 _ACEOF
19000 cat confdefs.h >>conftest.$ac_ext
19001 cat >>conftest.$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19003 #include <$ac_header>
19004 _ACEOF
19005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19007 ac_status=$?
19008 grep -v '^ *+' conftest.er1 >conftest.err
19009 rm -f conftest.er1
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } >/dev/null; then
19013 if test -s conftest.err; then
19014 ac_cpp_err=$ac_cxx_preproc_warn_flag
19015 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19016 else
19017 ac_cpp_err=
19018 fi
19019 else
19020 ac_cpp_err=yes
19021 fi
19022 if test -z "$ac_cpp_err"; then
19023 ac_header_preproc=yes
19024 else
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19027
19028 ac_header_preproc=no
19029 fi
19030 rm -f conftest.err conftest.$ac_ext
19031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19032 echo "${ECHO_T}$ac_header_preproc" >&6
19033
19034 # So? What about this header?
19035 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19036 yes:no: )
19037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19041 ac_header_preproc=yes
19042 ;;
19043 no:yes:* )
19044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19056 (
19057 cat <<\_ASBOX
19058 ## ----------------------------------------- ##
19059 ## Report this to wx-dev@lists.wxwidgets.org ##
19060 ## ----------------------------------------- ##
19061 _ASBOX
19062 ) |
19063 sed "s/^/$as_me: WARNING: /" >&2
19064 ;;
19065 esac
19066 echo "$as_me:$LINENO: checking for $ac_header" >&5
19067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 else
19071 eval "$as_ac_Header=\$ac_header_preproc"
19072 fi
19073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19075
19076 fi
19077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19078 cat >>confdefs.h <<_ACEOF
19079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19080 _ACEOF
19081
19082 fi
19083
19084 done
19085
19086
19087 if test "$ac_cv_header_iostream" = "yes" ; then
19088 :
19089 else
19090 cat >>confdefs.h <<\_ACEOF
19091 #define wxUSE_IOSTREAMH 1
19092 _ACEOF
19093
19094 fi
19095
19096 ac_ext=c
19097 ac_cpp='$CPP $CPPFLAGS'
19098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19101
19102
19103
19104
19105 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19106 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19107 if test "${wx_cv_cpp_bool+set}" = set; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 else
19110
19111
19112
19113 ac_ext=cc
19114 ac_cpp='$CXXCPP $CPPFLAGS'
19115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19118
19119
19120 cat >conftest.$ac_ext <<_ACEOF
19121 /* confdefs.h. */
19122 _ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126
19127
19128 int
19129 main ()
19130 {
19131
19132 bool b = true;
19133
19134 return 0;
19135
19136 ;
19137 return 0;
19138 }
19139 _ACEOF
19140 rm -f conftest.$ac_objext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19142 (eval $ac_compile) 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
19149 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try='test -s conftest.$ac_objext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161
19162 wx_cv_cpp_bool=yes
19163
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19167
19168
19169 wx_cv_cpp_bool=no
19170
19171
19172 fi
19173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19174
19175 ac_ext=c
19176 ac_cpp='$CPP $CPPFLAGS'
19177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19180
19181
19182 fi
19183 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19184 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19185
19186 if test "$wx_cv_cpp_bool" = "yes"; then
19187 cat >>confdefs.h <<\_ACEOF
19188 #define HAVE_BOOL 1
19189 _ACEOF
19190
19191 fi
19192
19193
19194
19195 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19196 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19197 if test "${wx_cv_explicit+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200
19201
19202
19203 ac_ext=cc
19204 ac_cpp='$CXXCPP $CPPFLAGS'
19205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19208
19209
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216
19217 class Foo { public: explicit Foo(int) {} };
19218
19219 int
19220 main ()
19221 {
19222
19223 return 0;
19224
19225 ;
19226 return 0;
19227 }
19228 _ACEOF
19229 rm -f conftest.$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19232 ac_status=$?
19233 grep -v '^ *+' conftest.er1 >conftest.err
19234 rm -f conftest.er1
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19241 ac_status=$?
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; } &&
19244 { ac_try='test -s conftest.$ac_objext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19247 ac_status=$?
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19250
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257
19258 class Foo { public: explicit Foo(int) {} };
19259 static void TakeFoo(const Foo& foo) { }
19260
19261 int
19262 main ()
19263 {
19264
19265 TakeFoo(17);
19266 return 0;
19267
19268 ;
19269 return 0;
19270 }
19271 _ACEOF
19272 rm -f conftest.$ac_objext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19274 (eval $ac_compile) 2>conftest.er1
19275 ac_status=$?
19276 grep -v '^ *+' conftest.er1 >conftest.err
19277 rm -f conftest.er1
19278 cat conftest.err >&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } &&
19281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19284 ac_status=$?
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; } &&
19287 { ac_try='test -s conftest.$ac_objext'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19290 ac_status=$?
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; }; then
19293 wx_cv_explicit=no
19294 else
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19297
19298 wx_cv_explicit=yes
19299
19300 fi
19301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19302
19303 else
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19306
19307 wx_cv_explicit=no
19308
19309 fi
19310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19311
19312 ac_ext=c
19313 ac_cpp='$CPP $CPPFLAGS'
19314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19317
19318
19319 fi
19320 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19321 echo "${ECHO_T}$wx_cv_explicit" >&6
19322
19323 if test "$wx_cv_explicit" = "yes"; then
19324 cat >>confdefs.h <<\_ACEOF
19325 #define HAVE_EXPLICIT 1
19326 _ACEOF
19327
19328 fi
19329
19330
19331 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19332 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19333 if test "${ac_cv_cxx_const_cast+set}" = set; then
19334 echo $ECHO_N "(cached) $ECHO_C" >&6
19335 else
19336
19337
19338 ac_ext=cc
19339 ac_cpp='$CXXCPP $CPPFLAGS'
19340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19343
19344 cat >conftest.$ac_ext <<_ACEOF
19345 /* confdefs.h. */
19346 _ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350
19351 int
19352 main ()
19353 {
19354 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19355 ;
19356 return 0;
19357 }
19358 _ACEOF
19359 rm -f conftest.$ac_objext
19360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19361 (eval $ac_compile) 2>conftest.er1
19362 ac_status=$?
19363 grep -v '^ *+' conftest.er1 >conftest.err
19364 rm -f conftest.er1
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } &&
19368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19371 ac_status=$?
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; } &&
19374 { ac_try='test -s conftest.$ac_objext'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19377 ac_status=$?
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; }; then
19380 ac_cv_cxx_const_cast=yes
19381 else
19382 echo "$as_me: failed program was:" >&5
19383 sed 's/^/| /' conftest.$ac_ext >&5
19384
19385 ac_cv_cxx_const_cast=no
19386 fi
19387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19388 ac_ext=c
19389 ac_cpp='$CPP $CPPFLAGS'
19390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19393
19394
19395 fi
19396 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19397 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19398 if test "$ac_cv_cxx_const_cast" = yes; then
19399
19400 cat >>confdefs.h <<\_ACEOF
19401 #define HAVE_CONST_CAST
19402 _ACEOF
19403
19404 fi
19405
19406 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19407 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19408 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19409 echo $ECHO_N "(cached) $ECHO_C" >&6
19410 else
19411
19412
19413 ac_ext=cc
19414 ac_cpp='$CXXCPP $CPPFLAGS'
19415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19418
19419 cat >conftest.$ac_ext <<_ACEOF
19420 /* confdefs.h. */
19421 _ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <typeinfo>
19426 class Base { public : Base () {} virtual void f () = 0;};
19427 class Derived : public Base { public : Derived () {} virtual void f () {} };
19428 class Unrelated { public : Unrelated () {} };
19429 int g (Unrelated&) { return 0; }
19430 int
19431 main ()
19432 {
19433
19434 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19435 ;
19436 return 0;
19437 }
19438 _ACEOF
19439 rm -f conftest.$ac_objext
19440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19441 (eval $ac_compile) 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19457 ac_status=$?
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_cv_cxx_reinterpret_cast=yes
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 ac_cv_cxx_reinterpret_cast=no
19466 fi
19467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19468 ac_ext=c
19469 ac_cpp='$CPP $CPPFLAGS'
19470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19473
19474
19475 fi
19476 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19477 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19478 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19479
19480 cat >>confdefs.h <<\_ACEOF
19481 #define HAVE_REINTERPRET_CAST
19482 _ACEOF
19483
19484 fi
19485
19486 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19487 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19488 if test "${ac_cv_cxx_static_cast+set}" = set; then
19489 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 else
19491
19492
19493 ac_ext=cc
19494 ac_cpp='$CXXCPP $CPPFLAGS'
19495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19498
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 #include <typeinfo>
19506 class Base { public : Base () {} virtual void f () = 0; };
19507 class Derived : public Base { public : Derived () {} virtual void f () {} };
19508 int g (Derived&) { return 0; }
19509 int
19510 main ()
19511 {
19512
19513 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19514 ;
19515 return 0;
19516 }
19517 _ACEOF
19518 rm -f conftest.$ac_objext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520 (eval $ac_compile) 2>conftest.er1
19521 ac_status=$?
19522 grep -v '^ *+' conftest.er1 >conftest.err
19523 rm -f conftest.er1
19524 cat conftest.err >&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_cxx_static_cast=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544 ac_cv_cxx_static_cast=no
19545 fi
19546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19547 ac_ext=c
19548 ac_cpp='$CPP $CPPFLAGS'
19549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19552
19553
19554 fi
19555 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19556 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19557 if test "$ac_cv_cxx_static_cast" = yes; then
19558
19559 cat >>confdefs.h <<\_ACEOF
19560 #define HAVE_STATIC_CAST
19561 _ACEOF
19562
19563 fi
19564
19565
19566 if test "$wxUSE_STL" = "yes"; then
19567 ac_ext=cc
19568 ac_cpp='$CXXCPP $CPPFLAGS'
19569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19572
19573
19574 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19575 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 #include <string>
19583 #include <functional>
19584 #include <algorithm>
19585 #include <vector>
19586 #include <list>
19587 int
19588 main ()
19589 {
19590 std::vector<int> moo;
19591 std::list<int> foo;
19592 std::vector<int>::iterator it =
19593 std::find_if(moo.begin(), moo.end(),
19594 std::bind2nd(std::less<int>(), 3));
19595 ;
19596 return 0;
19597 }
19598 _ACEOF
19599 rm -f conftest.$ac_objext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19601 (eval $ac_compile) 2>conftest.er1
19602 ac_status=$?
19603 grep -v '^ *+' conftest.er1 >conftest.err
19604 rm -f conftest.er1
19605 cat conftest.err >&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } &&
19608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19611 ac_status=$?
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try='test -s conftest.$ac_objext'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; }; then
19620 echo "$as_me:$LINENO: result: yes" >&5
19621 echo "${ECHO_T}yes" >&6
19622 else
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.$ac_ext >&5
19625
19626 echo "$as_me:$LINENO: result: no" >&5
19627 echo "${ECHO_T}no" >&6
19628 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19629 echo "$as_me: error: Basic STL functionality missing" >&2;}
19630 { (exit 1); exit 1; }; }
19631 fi
19632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19633
19634 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19635 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19636 cat >conftest.$ac_ext <<_ACEOF
19637 /* confdefs.h. */
19638 _ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 #include <string>
19643 int
19644 main ()
19645 {
19646 std::wstring foo;
19647 ;
19648 return 0;
19649 }
19650 _ACEOF
19651 rm -f conftest.$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19663 ac_status=$?
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; } &&
19666 { ac_try='test -s conftest.$ac_objext'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19669 ac_status=$?
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; }; then
19672 echo "$as_me:$LINENO: result: yes" >&5
19673 echo "${ECHO_T}yes" >&6
19674 cat >>confdefs.h <<\_ACEOF
19675 #define HAVE_STD_WSTRING 1
19676 _ACEOF
19677
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 echo "$as_me:$LINENO: result: no" >&5
19683 echo "${ECHO_T}no" >&6
19684 fi
19685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19686
19687 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19688 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19689 cat >conftest.$ac_ext <<_ACEOF
19690 /* confdefs.h. */
19691 _ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 #include <string>
19696 int
19697 main ()
19698 {
19699 std::string foo, bar;
19700 foo.compare(bar);
19701 foo.compare(1, 1, bar);
19702 foo.compare(1, 1, bar, 1, 1);
19703 foo.compare("");
19704 foo.compare(1, 1, "");
19705 foo.compare(1, 1, "", 2);
19706 ;
19707 return 0;
19708 }
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19712 (eval $ac_compile) 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19722 ac_status=$?
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try='test -s conftest.$ac_objext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19728 ac_status=$?
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 echo "$as_me:$LINENO: result: yes" >&5
19732 echo "${ECHO_T}yes" >&6
19733 cat >>confdefs.h <<\_ACEOF
19734 #define HAVE_STD_STRING_COMPARE 1
19735 _ACEOF
19736
19737 else
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19740
19741 echo "$as_me:$LINENO: result: no" >&5
19742 echo "${ECHO_T}no" >&6
19743 fi
19744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19745
19746 if test "${ac_cv_header_hash_map+set}" = set; then
19747 echo "$as_me:$LINENO: checking for hash_map" >&5
19748 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19749 if test "${ac_cv_header_hash_map+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 fi
19752 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19753 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19754 else
19755 # Is the header compilable?
19756 echo "$as_me:$LINENO: checking hash_map usability" >&5
19757 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19758 cat >conftest.$ac_ext <<_ACEOF
19759 /* confdefs.h. */
19760 _ACEOF
19761 cat confdefs.h >>conftest.$ac_ext
19762 cat >>conftest.$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19764 $ac_includes_default
19765 #include <hash_map>
19766 _ACEOF
19767 rm -f conftest.$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>conftest.er1
19770 ac_status=$?
19771 grep -v '^ *+' conftest.er1 >conftest.err
19772 rm -f conftest.er1
19773 cat conftest.err >&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_header_compiler=yes
19789 else
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19792
19793 ac_header_compiler=no
19794 fi
19795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19797 echo "${ECHO_T}$ac_header_compiler" >&6
19798
19799 # Is the header present?
19800 echo "$as_me:$LINENO: checking hash_map presence" >&5
19801 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 #include <hash_map>
19809 _ACEOF
19810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } >/dev/null; then
19818 if test -s conftest.err; then
19819 ac_cpp_err=$ac_cxx_preproc_warn_flag
19820 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19821 else
19822 ac_cpp_err=
19823 fi
19824 else
19825 ac_cpp_err=yes
19826 fi
19827 if test -z "$ac_cpp_err"; then
19828 ac_header_preproc=yes
19829 else
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833 ac_header_preproc=no
19834 fi
19835 rm -f conftest.err conftest.$ac_ext
19836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19837 echo "${ECHO_T}$ac_header_preproc" >&6
19838
19839 # So? What about this header?
19840 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19841 yes:no: )
19842 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19843 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19845 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19846 ac_header_preproc=yes
19847 ;;
19848 no:yes:* )
19849 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19850 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19851 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19852 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19853 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19854 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19855 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19856 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19858 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19859 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19860 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19861 (
19862 cat <<\_ASBOX
19863 ## ----------------------------------------- ##
19864 ## Report this to wx-dev@lists.wxwidgets.org ##
19865 ## ----------------------------------------- ##
19866 _ASBOX
19867 ) |
19868 sed "s/^/$as_me: WARNING: /" >&2
19869 ;;
19870 esac
19871 echo "$as_me:$LINENO: checking for hash_map" >&5
19872 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19873 if test "${ac_cv_header_hash_map+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 else
19876 ac_cv_header_hash_map=$ac_header_preproc
19877 fi
19878 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19879 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19880
19881 fi
19882 if test $ac_cv_header_hash_map = yes; then
19883 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19884 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <hash_map>
19892 #include <hash_set>
19893 int
19894 main ()
19895 {
19896 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19897 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19898 ;
19899 return 0;
19900 }
19901 _ACEOF
19902 rm -f conftest.$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19905 ac_status=$?
19906 grep -v '^ *+' conftest.er1 >conftest.err
19907 rm -f conftest.er1
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19914 ac_status=$?
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; } &&
19917 { ac_try='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 echo "$as_me:$LINENO: result: yes" >&5
19924 echo "${ECHO_T}yes" >&6
19925 cat >>confdefs.h <<\_ACEOF
19926 #define HAVE_HASH_MAP 1
19927 _ACEOF
19928
19929 cat >>confdefs.h <<\_ACEOF
19930 #define HAVE_STD_HASH_MAP 1
19931 _ACEOF
19932
19933 else
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.$ac_ext >&5
19936
19937 echo "$as_me:$LINENO: result: no" >&5
19938 echo "${ECHO_T}no" >&6
19939 fi
19940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19941
19942 fi
19943
19944
19945
19946 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19947 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19948 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19949 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 fi
19952 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19953 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19954 else
19955 # Is the header compilable?
19956 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19957 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19958 cat >conftest.$ac_ext <<_ACEOF
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19965 #include <ext/hash_map>
19966 _ACEOF
19967 rm -f conftest.$ac_objext
19968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19969 (eval $ac_compile) 2>conftest.er1
19970 ac_status=$?
19971 grep -v '^ *+' conftest.er1 >conftest.err
19972 rm -f conftest.er1
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } &&
19976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; } &&
19982 { ac_try='test -s conftest.$ac_objext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19988 ac_header_compiler=yes
19989 else
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19992
19993 ac_header_compiler=no
19994 fi
19995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19997 echo "${ECHO_T}$ac_header_compiler" >&6
19998
19999 # Is the header present?
20000 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20001 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20002 cat >conftest.$ac_ext <<_ACEOF
20003 /* confdefs.h. */
20004 _ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 #include <ext/hash_map>
20009 _ACEOF
20010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20012 ac_status=$?
20013 grep -v '^ *+' conftest.er1 >conftest.err
20014 rm -f conftest.er1
20015 cat conftest.err >&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } >/dev/null; then
20018 if test -s conftest.err; then
20019 ac_cpp_err=$ac_cxx_preproc_warn_flag
20020 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20021 else
20022 ac_cpp_err=
20023 fi
20024 else
20025 ac_cpp_err=yes
20026 fi
20027 if test -z "$ac_cpp_err"; then
20028 ac_header_preproc=yes
20029 else
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20032
20033 ac_header_preproc=no
20034 fi
20035 rm -f conftest.err conftest.$ac_ext
20036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20037 echo "${ECHO_T}$ac_header_preproc" >&6
20038
20039 # So? What about this header?
20040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20041 yes:no: )
20042 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20043 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20044 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20045 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20046 ac_header_preproc=yes
20047 ;;
20048 no:yes:* )
20049 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20050 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20051 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20052 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20053 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20054 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20055 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20056 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20057 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20058 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20059 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20060 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20061 (
20062 cat <<\_ASBOX
20063 ## ----------------------------------------- ##
20064 ## Report this to wx-dev@lists.wxwidgets.org ##
20065 ## ----------------------------------------- ##
20066 _ASBOX
20067 ) |
20068 sed "s/^/$as_me: WARNING: /" >&2
20069 ;;
20070 esac
20071 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20072 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20073 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 ac_cv_header_ext_hash_map=$ac_header_preproc
20077 fi
20078 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20079 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20080
20081 fi
20082 if test $ac_cv_header_ext_hash_map = yes; then
20083 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20084 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20085 cat >conftest.$ac_ext <<_ACEOF
20086 /* confdefs.h. */
20087 _ACEOF
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 #include <ext/hash_map>
20092 #include <ext/hash_set>
20093 int
20094 main ()
20095 {
20096 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20097 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104 (eval $ac_compile) 2>conftest.er1
20105 ac_status=$?
20106 grep -v '^ *+' conftest.er1 >conftest.err
20107 rm -f conftest.er1
20108 cat conftest.err >&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } &&
20111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20114 ac_status=$?
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; } &&
20117 { ac_try='test -s conftest.$ac_objext'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; }; then
20123 echo "$as_me:$LINENO: result: yes" >&5
20124 echo "${ECHO_T}yes" >&6
20125 cat >>confdefs.h <<\_ACEOF
20126 #define HAVE_EXT_HASH_MAP 1
20127 _ACEOF
20128
20129 cat >>confdefs.h <<\_ACEOF
20130 #define HAVE_GNU_CXX_HASH_MAP 1
20131 _ACEOF
20132
20133 else
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20136
20137 echo "$as_me:$LINENO: result: no" >&5
20138 echo "${ECHO_T}no" >&6
20139 fi
20140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20141
20142 fi
20143
20144
20145
20146 ac_ext=c
20147 ac_cpp='$CPP $CPPFLAGS'
20148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20151
20152 fi
20153
20154
20155 SEARCH_INCLUDE="\
20156 /usr/local/include \
20157 \
20158 /usr/Motif-2.1/include \
20159 /usr/Motif-1.2/include \
20160 /usr/include/Motif1.2 \
20161 /opt/xpm/include/X11 \
20162 /opt/GBxpm/include/ \
20163 /opt/GBxpm/X11/include/ \
20164 \
20165 /usr/dt/include \
20166 /usr/openwin/include \
20167 \
20168 /usr/include/Xm \
20169 \
20170 /usr/X11R6/include \
20171 /usr/X11R6.4/include \
20172 /usr/X11R5/include \
20173 /usr/X11R4/include \
20174 \
20175 /usr/include/X11R6 \
20176 /usr/include/X11R5 \
20177 /usr/include/X11R4 \
20178 \
20179 /usr/local/X11R6/include \
20180 /usr/local/X11R5/include \
20181 /usr/local/X11R4/include \
20182 \
20183 /usr/local/include/X11R6 \
20184 /usr/local/include/X11R5 \
20185 /usr/local/include/X11R4 \
20186 \
20187 /usr/X11/include \
20188 /usr/include/X11 \
20189 /usr/local/X11/include \
20190 /usr/local/include/X11 \
20191 \
20192 /usr/X386/include \
20193 /usr/x386/include \
20194 /usr/XFree86/include/X11 \
20195 \
20196 X:/XFree86/include \
20197 X:/XFree86/include/X11 \
20198 \
20199 /usr/include/gtk \
20200 /usr/local/include/gtk \
20201 /usr/include/glib \
20202 /usr/local/include/glib \
20203 \
20204 /usr/include/qt \
20205 /usr/local/include/qt \
20206 \
20207 /usr/local/arm/3.3.2/include \
20208 \
20209 /usr/include/windows \
20210 /usr/include/wine \
20211 /usr/local/include/wine \
20212 \
20213 /usr/unsupported/include \
20214 /usr/athena/include \
20215 /usr/local/x11r5/include \
20216 /usr/lpp/Xamples/include \
20217 \
20218 /usr/openwin/share/include"
20219
20220 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20221
20222
20223 cat >confcache <<\_ACEOF
20224 # This file is a shell script that caches the results of configure
20225 # tests run on this system so they can be shared between configure
20226 # scripts and configure runs, see configure's option --config-cache.
20227 # It is not useful on other systems. If it contains results you don't
20228 # want to keep, you may remove or edit it.
20229 #
20230 # config.status only pays attention to the cache file if you give it
20231 # the --recheck option to rerun configure.
20232 #
20233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20235 # following values.
20236
20237 _ACEOF
20238
20239 # The following way of writing the cache mishandles newlines in values,
20240 # but we know of no workaround that is simple, portable, and efficient.
20241 # So, don't put newlines in cache variables' values.
20242 # Ultrix sh set writes to stderr and can't be redirected directly,
20243 # and sets the high bit in the cache file unless we assign to the vars.
20244 {
20245 (set) 2>&1 |
20246 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20247 *ac_space=\ *)
20248 # `set' does not quote correctly, so add quotes (double-quote
20249 # substitution turns \\\\ into \\, and sed turns \\ into \).
20250 sed -n \
20251 "s/'/'\\\\''/g;
20252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20253 ;;
20254 *)
20255 # `set' quotes correctly as required by POSIX, so do not add quotes.
20256 sed -n \
20257 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20258 ;;
20259 esac;
20260 } |
20261 sed '
20262 t clear
20263 : clear
20264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20265 t end
20266 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20267 : end' >>confcache
20268 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20269 if test -w $cache_file; then
20270 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20271 cat confcache >$cache_file
20272 else
20273 echo "not updating unwritable cache $cache_file"
20274 fi
20275 fi
20276 rm -f confcache
20277
20278 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20279 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20280 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20281 if test "${wx_cv_lib_glibc21+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20283 else
20284
20285 cat >conftest.$ac_ext <<_ACEOF
20286 /* confdefs.h. */
20287 _ACEOF
20288 cat confdefs.h >>conftest.$ac_ext
20289 cat >>conftest.$ac_ext <<_ACEOF
20290 /* end confdefs.h. */
20291 #include <features.h>
20292 int
20293 main ()
20294 {
20295
20296 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20297 #error not glibc2.1
20298 #endif
20299
20300 ;
20301 return 0;
20302 }
20303 _ACEOF
20304 rm -f conftest.$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306 (eval $ac_compile) 2>conftest.er1
20307 ac_status=$?
20308 grep -v '^ *+' conftest.er1 >conftest.err
20309 rm -f conftest.er1
20310 cat conftest.err >&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20316 ac_status=$?
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; } &&
20319 { ac_try='test -s conftest.$ac_objext'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20322 ac_status=$?
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; }; then
20325
20326 wx_cv_lib_glibc21=yes
20327
20328 else
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20331
20332
20333 wx_cv_lib_glibc21=no
20334
20335
20336 fi
20337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20338
20339 fi
20340 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20341 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20342 if test "$wx_cv_lib_glibc21" = "yes"; then
20343 cat >>confdefs.h <<\_ACEOF
20344 #define wxHAVE_GLIBC2 1
20345 _ACEOF
20346
20347 fi
20348 fi
20349
20350 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20351 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20352 cat >>confdefs.h <<\_ACEOF
20353 #define _GNU_SOURCE 1
20354 _ACEOF
20355
20356 fi
20357 fi
20358
20359
20360
20361 if test "$wxUSE_REGEX" != "no"; then
20362 cat >>confdefs.h <<\_ACEOF
20363 #define wxUSE_REGEX 1
20364 _ACEOF
20365
20366
20367 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20368 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20369 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20370 wxUSE_REGEX=builtin
20371 fi
20372
20373 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20374 if test "${ac_cv_header_regex_h+set}" = set; then
20375 echo "$as_me:$LINENO: checking for regex.h" >&5
20376 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20377 if test "${ac_cv_header_regex_h+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 fi
20380 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20381 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20382 else
20383 # Is the header compilable?
20384 echo "$as_me:$LINENO: checking regex.h usability" >&5
20385 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 #include <regex.h>
20394 _ACEOF
20395 rm -f conftest.$ac_objext
20396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20397 (eval $ac_compile) 2>conftest.er1
20398 ac_status=$?
20399 grep -v '^ *+' conftest.er1 >conftest.err
20400 rm -f conftest.er1
20401 cat conftest.err >&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try='test -s conftest.$ac_objext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20413 ac_status=$?
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20416 ac_header_compiler=yes
20417 else
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.$ac_ext >&5
20420
20421 ac_header_compiler=no
20422 fi
20423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20425 echo "${ECHO_T}$ac_header_compiler" >&6
20426
20427 # Is the header present?
20428 echo "$as_me:$LINENO: checking regex.h presence" >&5
20429 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20430 cat >conftest.$ac_ext <<_ACEOF
20431 /* confdefs.h. */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 #include <regex.h>
20437 _ACEOF
20438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20440 ac_status=$?
20441 grep -v '^ *+' conftest.er1 >conftest.err
20442 rm -f conftest.er1
20443 cat conftest.err >&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } >/dev/null; then
20446 if test -s conftest.err; then
20447 ac_cpp_err=$ac_c_preproc_warn_flag
20448 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20449 else
20450 ac_cpp_err=
20451 fi
20452 else
20453 ac_cpp_err=yes
20454 fi
20455 if test -z "$ac_cpp_err"; then
20456 ac_header_preproc=yes
20457 else
20458 echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.$ac_ext >&5
20460
20461 ac_header_preproc=no
20462 fi
20463 rm -f conftest.err conftest.$ac_ext
20464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20465 echo "${ECHO_T}$ac_header_preproc" >&6
20466
20467 # So? What about this header?
20468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20469 yes:no: )
20470 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20471 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20472 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20473 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20474 ac_header_preproc=yes
20475 ;;
20476 no:yes:* )
20477 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20478 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20479 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20480 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20481 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20482 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20483 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20484 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20485 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20486 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20487 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20488 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20489 (
20490 cat <<\_ASBOX
20491 ## ----------------------------------------- ##
20492 ## Report this to wx-dev@lists.wxwidgets.org ##
20493 ## ----------------------------------------- ##
20494 _ASBOX
20495 ) |
20496 sed "s/^/$as_me: WARNING: /" >&2
20497 ;;
20498 esac
20499 echo "$as_me:$LINENO: checking for regex.h" >&5
20500 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20501 if test "${ac_cv_header_regex_h+set}" = set; then
20502 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 else
20504 ac_cv_header_regex_h=$ac_header_preproc
20505 fi
20506 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20507 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20508
20509 fi
20510 if test $ac_cv_header_regex_h = yes; then
20511
20512 for ac_func in regcomp
20513 do
20514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20515 echo "$as_me:$LINENO: checking for $ac_func" >&5
20516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20517 if eval "test \"\${$as_ac_var+set}\" = set"; then
20518 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 else
20520 cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h. */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20528 #define $ac_func innocuous_$ac_func
20529
20530 /* System header to define __stub macros and hopefully few prototypes,
20531 which can conflict with char $ac_func (); below.
20532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20533 <limits.h> exists even on freestanding compilers. */
20534
20535 #ifdef __STDC__
20536 # include <limits.h>
20537 #else
20538 # include <assert.h>
20539 #endif
20540
20541 #undef $ac_func
20542
20543 /* Override any gcc2 internal prototype to avoid an error. */
20544 #ifdef __cplusplus
20545 extern "C"
20546 {
20547 #endif
20548 /* We use char because int might match the return type of a gcc2
20549 builtin and then its argument prototype would still apply. */
20550 char $ac_func ();
20551 /* The GNU C library defines this for functions which it implements
20552 to always fail with ENOSYS. Some functions are actually named
20553 something starting with __ and the normal name is an alias. */
20554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20555 choke me
20556 #else
20557 char (*f) () = $ac_func;
20558 #endif
20559 #ifdef __cplusplus
20560 }
20561 #endif
20562
20563 int
20564 main ()
20565 {
20566 return f != $ac_func;
20567 ;
20568 return 0;
20569 }
20570 _ACEOF
20571 rm -f conftest.$ac_objext conftest$ac_exeext
20572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20573 (eval $ac_link) 2>conftest.er1
20574 ac_status=$?
20575 grep -v '^ *+' conftest.er1 >conftest.err
20576 rm -f conftest.er1
20577 cat conftest.err >&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); } &&
20580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582 (eval $ac_try) 2>&5
20583 ac_status=$?
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; } &&
20586 { ac_try='test -s conftest$ac_exeext'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20589 ac_status=$?
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; }; then
20592 eval "$as_ac_var=yes"
20593 else
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.$ac_ext >&5
20596
20597 eval "$as_ac_var=no"
20598 fi
20599 rm -f conftest.err conftest.$ac_objext \
20600 conftest$ac_exeext conftest.$ac_ext
20601 fi
20602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20604 if test `eval echo '${'$as_ac_var'}'` = yes; then
20605 cat >>confdefs.h <<_ACEOF
20606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20607 _ACEOF
20608
20609 fi
20610 done
20611
20612 fi
20613
20614
20615
20616 if test "x$ac_cv_func_regcomp" != "xyes"; then
20617 if test "$wxUSE_REGEX" = "sys" ; then
20618 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20619 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20620 { (exit 1); exit 1; }; }
20621 else
20622 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20623 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20624 wxUSE_REGEX=builtin
20625 fi
20626 else
20627 wxUSE_REGEX=sys
20628 cat >>confdefs.h <<\_ACEOF
20629 #define WX_NO_REGEX_ADVANCED 1
20630 _ACEOF
20631
20632 fi
20633 fi
20634 fi
20635
20636
20637 ZLIB_LINK=
20638 if test "$wxUSE_ZLIB" != "no" ; then
20639 cat >>confdefs.h <<\_ACEOF
20640 #define wxUSE_ZLIB 1
20641 _ACEOF
20642
20643
20644 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20645 if test "$USE_DARWIN" = 1; then
20646 system_zlib_h_ok="yes"
20647 else
20648 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20649 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20650 if test "${ac_cv_header_zlib_h+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 else
20653 if test "$cross_compiling" = yes; then
20654 unset ac_cv_header_zlib_h
20655
20656 else
20657 cat >conftest.$ac_ext <<_ACEOF
20658 /* confdefs.h. */
20659 _ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20663
20664 #include <zlib.h>
20665 #include <stdio.h>
20666
20667 int main()
20668 {
20669 FILE *f=fopen("conftestval", "w");
20670 if (!f) exit(1);
20671 fprintf(f, "%s",
20672 ZLIB_VERSION[0] == '1' &&
20673 (ZLIB_VERSION[2] > '1' ||
20674 (ZLIB_VERSION[2] == '1' &&
20675 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20676 exit(0);
20677 }
20678
20679 _ACEOF
20680 rm -f conftest$ac_exeext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20682 (eval $ac_link) 2>&5
20683 ac_status=$?
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20687 (eval $ac_try) 2>&5
20688 ac_status=$?
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); }; }; then
20691 ac_cv_header_zlib_h=`cat conftestval`
20692 else
20693 echo "$as_me: program exited with status $ac_status" >&5
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.$ac_ext >&5
20696
20697 ( exit $ac_status )
20698 ac_cv_header_zlib_h=no
20699 fi
20700 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20701 fi
20702
20703 fi
20704 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20705 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20706 if test "${ac_cv_header_zlib_h+set}" = set; then
20707 echo "$as_me:$LINENO: checking for zlib.h" >&5
20708 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20709 if test "${ac_cv_header_zlib_h+set}" = set; then
20710 echo $ECHO_N "(cached) $ECHO_C" >&6
20711 fi
20712 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20713 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20714 else
20715 # Is the header compilable?
20716 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20717 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20718 cat >conftest.$ac_ext <<_ACEOF
20719 /* confdefs.h. */
20720 _ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20724 $ac_includes_default
20725 #include <zlib.h>
20726 _ACEOF
20727 rm -f conftest.$ac_objext
20728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20729 (eval $ac_compile) 2>conftest.er1
20730 ac_status=$?
20731 grep -v '^ *+' conftest.er1 >conftest.err
20732 rm -f conftest.er1
20733 cat conftest.err >&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
20736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20739 ac_status=$?
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; } &&
20742 { ac_try='test -s conftest.$ac_objext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20745 ac_status=$?
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 ac_header_compiler=yes
20749 else
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20752
20753 ac_header_compiler=no
20754 fi
20755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20757 echo "${ECHO_T}$ac_header_compiler" >&6
20758
20759 # Is the header present?
20760 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20761 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20762 cat >conftest.$ac_ext <<_ACEOF
20763 /* confdefs.h. */
20764 _ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768 #include <zlib.h>
20769 _ACEOF
20770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20772 ac_status=$?
20773 grep -v '^ *+' conftest.er1 >conftest.err
20774 rm -f conftest.er1
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } >/dev/null; then
20778 if test -s conftest.err; then
20779 ac_cpp_err=$ac_c_preproc_warn_flag
20780 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20781 else
20782 ac_cpp_err=
20783 fi
20784 else
20785 ac_cpp_err=yes
20786 fi
20787 if test -z "$ac_cpp_err"; then
20788 ac_header_preproc=yes
20789 else
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20792
20793 ac_header_preproc=no
20794 fi
20795 rm -f conftest.err conftest.$ac_ext
20796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20797 echo "${ECHO_T}$ac_header_preproc" >&6
20798
20799 # So? What about this header?
20800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20801 yes:no: )
20802 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20803 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20804 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20805 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20806 ac_header_preproc=yes
20807 ;;
20808 no:yes:* )
20809 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20810 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20811 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20812 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20813 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20814 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20815 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20816 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20817 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20818 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20819 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20820 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20821 (
20822 cat <<\_ASBOX
20823 ## ----------------------------------------- ##
20824 ## Report this to wx-dev@lists.wxwidgets.org ##
20825 ## ----------------------------------------- ##
20826 _ASBOX
20827 ) |
20828 sed "s/^/$as_me: WARNING: /" >&2
20829 ;;
20830 esac
20831 echo "$as_me:$LINENO: checking for zlib.h" >&5
20832 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20833 if test "${ac_cv_header_zlib_h+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 else
20836 ac_cv_header_zlib_h=$ac_header_preproc
20837 fi
20838 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20839 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20840
20841 fi
20842
20843
20844
20845 system_zlib_h_ok=$ac_cv_header_zlib_h
20846 fi
20847
20848 if test "$system_zlib_h_ok" = "yes"; then
20849 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20850 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20851 if test "${ac_cv_lib_z_deflate+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 else
20854 ac_check_lib_save_LIBS=$LIBS
20855 LIBS="-lz $LIBS"
20856 cat >conftest.$ac_ext <<_ACEOF
20857 /* confdefs.h. */
20858 _ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862
20863 /* Override any gcc2 internal prototype to avoid an error. */
20864 #ifdef __cplusplus
20865 extern "C"
20866 #endif
20867 /* We use char because int might match the return type of a gcc2
20868 builtin and then its argument prototype would still apply. */
20869 char deflate ();
20870 int
20871 main ()
20872 {
20873 deflate ();
20874 ;
20875 return 0;
20876 }
20877 _ACEOF
20878 rm -f conftest.$ac_objext conftest$ac_exeext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20880 (eval $ac_link) 2>conftest.er1
20881 ac_status=$?
20882 grep -v '^ *+' conftest.er1 >conftest.err
20883 rm -f conftest.er1
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889 (eval $ac_try) 2>&5
20890 ac_status=$?
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; } &&
20893 { ac_try='test -s conftest$ac_exeext'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; }; then
20899 ac_cv_lib_z_deflate=yes
20900 else
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.$ac_ext >&5
20903
20904 ac_cv_lib_z_deflate=no
20905 fi
20906 rm -f conftest.err conftest.$ac_objext \
20907 conftest$ac_exeext conftest.$ac_ext
20908 LIBS=$ac_check_lib_save_LIBS
20909 fi
20910 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20911 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20912 if test $ac_cv_lib_z_deflate = yes; then
20913 ZLIB_LINK=" -lz"
20914 fi
20915
20916 fi
20917
20918 if test "x$ZLIB_LINK" = "x" ; then
20919 if test "$wxUSE_ZLIB" = "sys" ; then
20920 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20921 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20922 { (exit 1); exit 1; }; }
20923 else
20924 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20925 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20926 wxUSE_ZLIB=builtin
20927 fi
20928 else
20929 wxUSE_ZLIB=sys
20930 fi
20931 fi
20932 fi
20933
20934
20935 PNG_LINK=
20936 if test "$wxUSE_LIBPNG" != "no" ; then
20937 cat >>confdefs.h <<\_ACEOF
20938 #define wxUSE_LIBPNG 1
20939 _ACEOF
20940
20941
20942 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20943 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20944 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20945 wxUSE_LIBPNG=sys
20946 fi
20947
20948 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20949 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20950 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20951 wxUSE_LIBPNG=builtin
20952 fi
20953
20954 if test "$wxUSE_MGL" != 1 ; then
20955 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20956 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20957 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20958 if test "${ac_cv_header_png_h+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20961 if test "$cross_compiling" = yes; then
20962 unset ac_cv_header_png_h
20963
20964 else
20965 cat >conftest.$ac_ext <<_ACEOF
20966 /* confdefs.h. */
20967 _ACEOF
20968 cat confdefs.h >>conftest.$ac_ext
20969 cat >>conftest.$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971
20972 #include <png.h>
20973 #include <stdio.h>
20974
20975 int main()
20976 {
20977 FILE *f=fopen("conftestval", "w");
20978 if (!f) exit(1);
20979 fprintf(f, "%s",
20980 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20981 exit(0);
20982 }
20983
20984 _ACEOF
20985 rm -f conftest$ac_exeext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20987 (eval $ac_link) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20993 ac_status=$?
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 ac_cv_header_png_h=`cat conftestval`
20997 else
20998 echo "$as_me: program exited with status $ac_status" >&5
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21001
21002 ( exit $ac_status )
21003 ac_cv_header_png_h=no
21004 fi
21005 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21006 fi
21007
21008 fi
21009 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21010 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21011 if test "${ac_cv_header_png_h+set}" = set; then
21012 echo "$as_me:$LINENO: checking for png.h" >&5
21013 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21014 if test "${ac_cv_header_png_h+set}" = set; then
21015 echo $ECHO_N "(cached) $ECHO_C" >&6
21016 fi
21017 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21018 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21019 else
21020 # Is the header compilable?
21021 echo "$as_me:$LINENO: checking png.h usability" >&5
21022 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21023 cat >conftest.$ac_ext <<_ACEOF
21024 /* confdefs.h. */
21025 _ACEOF
21026 cat confdefs.h >>conftest.$ac_ext
21027 cat >>conftest.$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21029 $ac_includes_default
21030 #include <png.h>
21031 _ACEOF
21032 rm -f conftest.$ac_objext
21033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21034 (eval $ac_compile) 2>conftest.er1
21035 ac_status=$?
21036 grep -v '^ *+' conftest.er1 >conftest.err
21037 rm -f conftest.er1
21038 cat conftest.err >&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } &&
21041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21043 (eval $ac_try) 2>&5
21044 ac_status=$?
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; } &&
21047 { ac_try='test -s conftest.$ac_objext'
21048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049 (eval $ac_try) 2>&5
21050 ac_status=$?
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; }; then
21053 ac_header_compiler=yes
21054 else
21055 echo "$as_me: failed program was:" >&5
21056 sed 's/^/| /' conftest.$ac_ext >&5
21057
21058 ac_header_compiler=no
21059 fi
21060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21062 echo "${ECHO_T}$ac_header_compiler" >&6
21063
21064 # Is the header present?
21065 echo "$as_me:$LINENO: checking png.h presence" >&5
21066 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 #include <png.h>
21074 _ACEOF
21075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21077 ac_status=$?
21078 grep -v '^ *+' conftest.er1 >conftest.err
21079 rm -f conftest.er1
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } >/dev/null; then
21083 if test -s conftest.err; then
21084 ac_cpp_err=$ac_c_preproc_warn_flag
21085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21086 else
21087 ac_cpp_err=
21088 fi
21089 else
21090 ac_cpp_err=yes
21091 fi
21092 if test -z "$ac_cpp_err"; then
21093 ac_header_preproc=yes
21094 else
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.$ac_ext >&5
21097
21098 ac_header_preproc=no
21099 fi
21100 rm -f conftest.err conftest.$ac_ext
21101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21102 echo "${ECHO_T}$ac_header_preproc" >&6
21103
21104 # So? What about this header?
21105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21106 yes:no: )
21107 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21108 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21109 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21110 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21111 ac_header_preproc=yes
21112 ;;
21113 no:yes:* )
21114 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21115 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21116 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21117 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21118 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21119 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21120 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21121 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21122 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21123 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21124 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21125 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21126 (
21127 cat <<\_ASBOX
21128 ## ----------------------------------------- ##
21129 ## Report this to wx-dev@lists.wxwidgets.org ##
21130 ## ----------------------------------------- ##
21131 _ASBOX
21132 ) |
21133 sed "s/^/$as_me: WARNING: /" >&2
21134 ;;
21135 esac
21136 echo "$as_me:$LINENO: checking for png.h" >&5
21137 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21138 if test "${ac_cv_header_png_h+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 else
21141 ac_cv_header_png_h=$ac_header_preproc
21142 fi
21143 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21144 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21145
21146 fi
21147
21148
21149
21150 if test "$ac_cv_header_png_h" = "yes"; then
21151 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21152 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21153 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21154 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 else
21156 ac_check_lib_save_LIBS=$LIBS
21157 LIBS="-lpng -lz -lm $LIBS"
21158 cat >conftest.$ac_ext <<_ACEOF
21159 /* confdefs.h. */
21160 _ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164
21165 /* Override any gcc2 internal prototype to avoid an error. */
21166 #ifdef __cplusplus
21167 extern "C"
21168 #endif
21169 /* We use char because int might match the return type of a gcc2
21170 builtin and then its argument prototype would still apply. */
21171 char png_check_sig ();
21172 int
21173 main ()
21174 {
21175 png_check_sig ();
21176 ;
21177 return 0;
21178 }
21179 _ACEOF
21180 rm -f conftest.$ac_objext conftest$ac_exeext
21181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21182 (eval $ac_link) 2>conftest.er1
21183 ac_status=$?
21184 grep -v '^ *+' conftest.er1 >conftest.err
21185 rm -f conftest.er1
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } &&
21189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21192 ac_status=$?
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; } &&
21195 { ac_try='test -s conftest$ac_exeext'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21198 ac_status=$?
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; }; then
21201 ac_cv_lib_png_png_check_sig=yes
21202 else
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21205
21206 ac_cv_lib_png_png_check_sig=no
21207 fi
21208 rm -f conftest.err conftest.$ac_objext \
21209 conftest$ac_exeext conftest.$ac_ext
21210 LIBS=$ac_check_lib_save_LIBS
21211 fi
21212 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21213 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21214 if test $ac_cv_lib_png_png_check_sig = yes; then
21215 PNG_LINK=" -lpng -lz"
21216 fi
21217
21218 fi
21219
21220 if test "x$PNG_LINK" = "x" ; then
21221 if test "$wxUSE_LIBPNG" = "sys" ; then
21222 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21223 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21224 { (exit 1); exit 1; }; }
21225 else
21226 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21227 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21228 wxUSE_LIBPNG=builtin
21229 fi
21230 else
21231 wxUSE_LIBPNG=sys
21232 fi
21233 fi
21234 fi
21235
21236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21237 fi
21238
21239
21240 JPEG_LINK=
21241 if test "$wxUSE_LIBJPEG" != "no" ; then
21242 cat >>confdefs.h <<\_ACEOF
21243 #define wxUSE_LIBJPEG 1
21244 _ACEOF
21245
21246
21247 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21248 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21249 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21250 wxUSE_LIBJPEG=sys
21251 fi
21252
21253 if test "$wxUSE_MGL" != 1 ; then
21254 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21255 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21256 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21257 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 else
21260 cat >conftest.$ac_ext <<_ACEOF
21261 /* confdefs.h. */
21262 _ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266
21267 #undef HAVE_STDLIB_H
21268 #include <stdio.h>
21269 #include <jpeglib.h>
21270
21271 int
21272 main ()
21273 {
21274
21275
21276 ;
21277 return 0;
21278 }
21279 _ACEOF
21280 rm -f conftest.$ac_objext
21281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21282 (eval $ac_compile) 2>conftest.er1
21283 ac_status=$?
21284 grep -v '^ *+' conftest.er1 >conftest.err
21285 rm -f conftest.er1
21286 cat conftest.err >&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } &&
21289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; } &&
21295 { ac_try='test -s conftest.$ac_objext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21298 ac_status=$?
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 ac_cv_header_jpeglib_h=yes
21302 else
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21305
21306 ac_cv_header_jpeglib_h=no
21307
21308 fi
21309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21310
21311 fi
21312
21313 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21314 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21315
21316 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21317 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21318 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21319 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21320 echo $ECHO_N "(cached) $ECHO_C" >&6
21321 else
21322 ac_check_lib_save_LIBS=$LIBS
21323 LIBS="-ljpeg $LIBS"
21324 cat >conftest.$ac_ext <<_ACEOF
21325 /* confdefs.h. */
21326 _ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330
21331 /* Override any gcc2 internal prototype to avoid an error. */
21332 #ifdef __cplusplus
21333 extern "C"
21334 #endif
21335 /* We use char because int might match the return type of a gcc2
21336 builtin and then its argument prototype would still apply. */
21337 char jpeg_read_header ();
21338 int
21339 main ()
21340 {
21341 jpeg_read_header ();
21342 ;
21343 return 0;
21344 }
21345 _ACEOF
21346 rm -f conftest.$ac_objext conftest$ac_exeext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21348 (eval $ac_link) 2>conftest.er1
21349 ac_status=$?
21350 grep -v '^ *+' conftest.er1 >conftest.err
21351 rm -f conftest.er1
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; } &&
21361 { ac_try='test -s conftest$ac_exeext'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_lib_jpeg_jpeg_read_header=yes
21368 else
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.$ac_ext >&5
21371
21372 ac_cv_lib_jpeg_jpeg_read_header=no
21373 fi
21374 rm -f conftest.err conftest.$ac_objext \
21375 conftest$ac_exeext conftest.$ac_ext
21376 LIBS=$ac_check_lib_save_LIBS
21377 fi
21378 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21379 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21380 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21381 JPEG_LINK=" -ljpeg"
21382 fi
21383
21384 fi
21385
21386 if test "x$JPEG_LINK" = "x" ; then
21387 if test "$wxUSE_LIBJPEG" = "sys" ; then
21388 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21389 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21390 { (exit 1); exit 1; }; }
21391 else
21392 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21393 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21394 wxUSE_LIBJPEG=builtin
21395 fi
21396 else
21397 wxUSE_LIBJPEG=sys
21398 fi
21399 fi
21400 fi
21401 fi
21402
21403
21404 TIFF_LINK=
21405 TIFF_PREREQ_LINKS=-lm
21406 if test "$wxUSE_LIBTIFF" != "no" ; then
21407 cat >>confdefs.h <<\_ACEOF
21408 #define wxUSE_LIBTIFF 1
21409 _ACEOF
21410
21411
21412 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21413 if test "$wxUSE_LIBJPEG" = "sys"; then
21414 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21415 fi
21416 if test "$wxUSE_ZLIB" = "sys"; then
21417 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21418 fi
21419 if test "${ac_cv_header_tiffio_h+set}" = set; then
21420 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21421 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21422 if test "${ac_cv_header_tiffio_h+set}" = set; then
21423 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 fi
21425 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21426 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21427 else
21428 # Is the header compilable?
21429 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21430 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21431 cat >conftest.$ac_ext <<_ACEOF
21432 /* confdefs.h. */
21433 _ACEOF
21434 cat confdefs.h >>conftest.$ac_ext
21435 cat >>conftest.$ac_ext <<_ACEOF
21436 /* end confdefs.h. */
21437 $ac_includes_default
21438 #include <tiffio.h>
21439 _ACEOF
21440 rm -f conftest.$ac_objext
21441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21442 (eval $ac_compile) 2>conftest.er1
21443 ac_status=$?
21444 grep -v '^ *+' conftest.er1 >conftest.err
21445 rm -f conftest.er1
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; } &&
21455 { ac_try='test -s conftest.$ac_objext'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21458 ac_status=$?
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; }; then
21461 ac_header_compiler=yes
21462 else
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.$ac_ext >&5
21465
21466 ac_header_compiler=no
21467 fi
21468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21470 echo "${ECHO_T}$ac_header_compiler" >&6
21471
21472 # Is the header present?
21473 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21474 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21475 cat >conftest.$ac_ext <<_ACEOF
21476 /* confdefs.h. */
21477 _ACEOF
21478 cat confdefs.h >>conftest.$ac_ext
21479 cat >>conftest.$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 #include <tiffio.h>
21482 _ACEOF
21483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21485 ac_status=$?
21486 grep -v '^ *+' conftest.er1 >conftest.err
21487 rm -f conftest.er1
21488 cat conftest.err >&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } >/dev/null; then
21491 if test -s conftest.err; then
21492 ac_cpp_err=$ac_c_preproc_warn_flag
21493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21494 else
21495 ac_cpp_err=
21496 fi
21497 else
21498 ac_cpp_err=yes
21499 fi
21500 if test -z "$ac_cpp_err"; then
21501 ac_header_preproc=yes
21502 else
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.$ac_ext >&5
21505
21506 ac_header_preproc=no
21507 fi
21508 rm -f conftest.err conftest.$ac_ext
21509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21510 echo "${ECHO_T}$ac_header_preproc" >&6
21511
21512 # So? What about this header?
21513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21514 yes:no: )
21515 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21516 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21517 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21518 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21519 ac_header_preproc=yes
21520 ;;
21521 no:yes:* )
21522 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21523 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21524 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21525 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21526 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21527 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21528 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21529 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21530 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21531 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21532 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21533 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21534 (
21535 cat <<\_ASBOX
21536 ## ----------------------------------------- ##
21537 ## Report this to wx-dev@lists.wxwidgets.org ##
21538 ## ----------------------------------------- ##
21539 _ASBOX
21540 ) |
21541 sed "s/^/$as_me: WARNING: /" >&2
21542 ;;
21543 esac
21544 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21545 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21546 if test "${ac_cv_header_tiffio_h+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 else
21549 ac_cv_header_tiffio_h=$ac_header_preproc
21550 fi
21551 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21552 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21553
21554 fi
21555 if test $ac_cv_header_tiffio_h = yes; then
21556
21557 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21558 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21559 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 else
21562 ac_check_lib_save_LIBS=$LIBS
21563 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h. */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570
21571 /* Override any gcc2 internal prototype to avoid an error. */
21572 #ifdef __cplusplus
21573 extern "C"
21574 #endif
21575 /* We use char because int might match the return type of a gcc2
21576 builtin and then its argument prototype would still apply. */
21577 char TIFFError ();
21578 int
21579 main ()
21580 {
21581 TIFFError ();
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest.$ac_objext conftest$ac_exeext
21587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21588 (eval $ac_link) 2>conftest.er1
21589 ac_status=$?
21590 grep -v '^ *+' conftest.er1 >conftest.err
21591 rm -f conftest.er1
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } &&
21595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21598 ac_status=$?
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; } &&
21601 { ac_try='test -s conftest$ac_exeext'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 ac_cv_lib_tiff_TIFFError=yes
21608 else
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21611
21612 ac_cv_lib_tiff_TIFFError=no
21613 fi
21614 rm -f conftest.err conftest.$ac_objext \
21615 conftest$ac_exeext conftest.$ac_ext
21616 LIBS=$ac_check_lib_save_LIBS
21617 fi
21618 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21619 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21620 if test $ac_cv_lib_tiff_TIFFError = yes; then
21621 TIFF_LINK=" -ltiff"
21622 fi
21623
21624
21625
21626 fi
21627
21628
21629
21630 if test "x$TIFF_LINK" = "x" ; then
21631 if test "$wxUSE_LIBTIFF" = "sys" ; then
21632 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21633 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21634 { (exit 1); exit 1; }; }
21635 else
21636 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21637 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21638 wxUSE_LIBTIFF=builtin
21639 fi
21640 else
21641 wxUSE_LIBTIFF=sys
21642 fi
21643 fi
21644 fi
21645
21646
21647 if test "$wxUSE_EXPAT" != "no"; then
21648 wxUSE_XML=yes
21649 cat >>confdefs.h <<\_ACEOF
21650 #define wxUSE_EXPAT 1
21651 _ACEOF
21652
21653 cat >>confdefs.h <<\_ACEOF
21654 #define wxUSE_XML 1
21655 _ACEOF
21656
21657
21658 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21659 if test "${ac_cv_header_expat_h+set}" = set; then
21660 echo "$as_me:$LINENO: checking for expat.h" >&5
21661 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21662 if test "${ac_cv_header_expat_h+set}" = set; then
21663 echo $ECHO_N "(cached) $ECHO_C" >&6
21664 fi
21665 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21666 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21667 else
21668 # Is the header compilable?
21669 echo "$as_me:$LINENO: checking expat.h usability" >&5
21670 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 #include <expat.h>
21679 _ACEOF
21680 rm -f conftest.$ac_objext
21681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21682 (eval $ac_compile) 2>conftest.er1
21683 ac_status=$?
21684 grep -v '^ *+' conftest.er1 >conftest.err
21685 rm -f conftest.er1
21686 cat conftest.err >&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } &&
21689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21691 (eval $ac_try) 2>&5
21692 ac_status=$?
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; } &&
21695 { ac_try='test -s conftest.$ac_objext'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21698 ac_status=$?
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; }; then
21701 ac_header_compiler=yes
21702 else
21703 echo "$as_me: failed program was:" >&5
21704 sed 's/^/| /' conftest.$ac_ext >&5
21705
21706 ac_header_compiler=no
21707 fi
21708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21710 echo "${ECHO_T}$ac_header_compiler" >&6
21711
21712 # Is the header present?
21713 echo "$as_me:$LINENO: checking expat.h presence" >&5
21714 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21715 cat >conftest.$ac_ext <<_ACEOF
21716 /* confdefs.h. */
21717 _ACEOF
21718 cat confdefs.h >>conftest.$ac_ext
21719 cat >>conftest.$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21721 #include <expat.h>
21722 _ACEOF
21723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } >/dev/null; then
21731 if test -s conftest.err; then
21732 ac_cpp_err=$ac_c_preproc_warn_flag
21733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21734 else
21735 ac_cpp_err=
21736 fi
21737 else
21738 ac_cpp_err=yes
21739 fi
21740 if test -z "$ac_cpp_err"; then
21741 ac_header_preproc=yes
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_header_preproc=no
21747 fi
21748 rm -f conftest.err conftest.$ac_ext
21749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21750 echo "${ECHO_T}$ac_header_preproc" >&6
21751
21752 # So? What about this header?
21753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21754 yes:no: )
21755 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21756 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21757 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21758 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21759 ac_header_preproc=yes
21760 ;;
21761 no:yes:* )
21762 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21763 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21764 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21765 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21766 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21767 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21768 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21769 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21770 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21771 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21772 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21773 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21774 (
21775 cat <<\_ASBOX
21776 ## ----------------------------------------- ##
21777 ## Report this to wx-dev@lists.wxwidgets.org ##
21778 ## ----------------------------------------- ##
21779 _ASBOX
21780 ) |
21781 sed "s/^/$as_me: WARNING: /" >&2
21782 ;;
21783 esac
21784 echo "$as_me:$LINENO: checking for expat.h" >&5
21785 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21786 if test "${ac_cv_header_expat_h+set}" = set; then
21787 echo $ECHO_N "(cached) $ECHO_C" >&6
21788 else
21789 ac_cv_header_expat_h=$ac_header_preproc
21790 fi
21791 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21792 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21793
21794 fi
21795 if test $ac_cv_header_expat_h = yes; then
21796 found_expat_h=1
21797 fi
21798
21799
21800 if test "x$found_expat_h" = "x1"; then
21801 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21802 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21803 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21804 echo $ECHO_N "(cached) $ECHO_C" >&6
21805 else
21806
21807
21808
21809 ac_ext=cc
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h. */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 #include <expat.h>
21822 int
21823 main ()
21824 {
21825
21826 ;
21827 return 0;
21828 }
21829 _ACEOF
21830 rm -f conftest.$ac_objext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21832 (eval $ac_compile) 2>conftest.er1
21833 ac_status=$?
21834 grep -v '^ *+' conftest.er1 >conftest.err
21835 rm -f conftest.er1
21836 cat conftest.err >&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21842 ac_status=$?
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; } &&
21845 { ac_try='test -s conftest.$ac_objext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21848 ac_status=$?
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 wx_cv_expat_is_not_broken=yes
21852 else
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856 wx_cv_expat_is_not_broken=no
21857
21858 fi
21859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21860 ac_ext=c
21861 ac_cpp='$CPP $CPPFLAGS'
21862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21865
21866
21867
21868 fi
21869 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21870 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21871 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21872 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21873 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21874 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21876 else
21877 ac_check_lib_save_LIBS=$LIBS
21878 LIBS="-lexpat $LIBS"
21879 cat >conftest.$ac_ext <<_ACEOF
21880 /* confdefs.h. */
21881 _ACEOF
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885
21886 /* Override any gcc2 internal prototype to avoid an error. */
21887 #ifdef __cplusplus
21888 extern "C"
21889 #endif
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21892 char XML_ParserCreate ();
21893 int
21894 main ()
21895 {
21896 XML_ParserCreate ();
21897 ;
21898 return 0;
21899 }
21900 _ACEOF
21901 rm -f conftest.$ac_objext conftest$ac_exeext
21902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21903 (eval $ac_link) 2>conftest.er1
21904 ac_status=$?
21905 grep -v '^ *+' conftest.er1 >conftest.err
21906 rm -f conftest.er1
21907 cat conftest.err >&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } &&
21910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try='test -s conftest$ac_exeext'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21919 ac_status=$?
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; }; then
21922 ac_cv_lib_expat_XML_ParserCreate=yes
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21926
21927 ac_cv_lib_expat_XML_ParserCreate=no
21928 fi
21929 rm -f conftest.err conftest.$ac_objext \
21930 conftest$ac_exeext conftest.$ac_ext
21931 LIBS=$ac_check_lib_save_LIBS
21932 fi
21933 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21934 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21935 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21936 EXPAT_LINK=" -lexpat"
21937 fi
21938
21939 fi
21940 fi
21941 if test "x$EXPAT_LINK" = "x" ; then
21942 if test "$wxUSE_EXPAT" = "sys" ; then
21943 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21944 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21945 { (exit 1); exit 1; }; }
21946 else
21947 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21948 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21949 wxUSE_EXPAT=builtin
21950 fi
21951 else
21952 wxUSE_EXPAT=sys
21953 fi
21954 fi
21955 if test "$wxUSE_EXPAT" = "builtin" ; then
21956
21957
21958 subdirs="$subdirs src/expat"
21959
21960 fi
21961 fi
21962
21963
21964
21965 if test "$wxUSE_LIBMSPACK" != "no"; then
21966
21967 if test "${ac_cv_header_mspack_h+set}" = set; then
21968 echo "$as_me:$LINENO: checking for mspack.h" >&5
21969 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21970 if test "${ac_cv_header_mspack_h+set}" = set; then
21971 echo $ECHO_N "(cached) $ECHO_C" >&6
21972 fi
21973 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21974 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21975 else
21976 # Is the header compilable?
21977 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21978 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 $ac_includes_default
21986 #include <mspack.h>
21987 _ACEOF
21988 rm -f conftest.$ac_objext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21990 (eval $ac_compile) 2>conftest.er1
21991 ac_status=$?
21992 grep -v '^ *+' conftest.er1 >conftest.err
21993 rm -f conftest.er1
21994 cat conftest.err >&5
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); } &&
21997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21999 (eval $ac_try) 2>&5
22000 ac_status=$?
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); }; } &&
22003 { ac_try='test -s conftest.$ac_objext'
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22005 (eval $ac_try) 2>&5
22006 ac_status=$?
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; }; then
22009 ac_header_compiler=yes
22010 else
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22013
22014 ac_header_compiler=no
22015 fi
22016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22018 echo "${ECHO_T}$ac_header_compiler" >&6
22019
22020 # Is the header present?
22021 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22022 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22023 cat >conftest.$ac_ext <<_ACEOF
22024 /* confdefs.h. */
22025 _ACEOF
22026 cat confdefs.h >>conftest.$ac_ext
22027 cat >>conftest.$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22029 #include <mspack.h>
22030 _ACEOF
22031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22033 ac_status=$?
22034 grep -v '^ *+' conftest.er1 >conftest.err
22035 rm -f conftest.er1
22036 cat conftest.err >&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } >/dev/null; then
22039 if test -s conftest.err; then
22040 ac_cpp_err=$ac_c_preproc_warn_flag
22041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22042 else
22043 ac_cpp_err=
22044 fi
22045 else
22046 ac_cpp_err=yes
22047 fi
22048 if test -z "$ac_cpp_err"; then
22049 ac_header_preproc=yes
22050 else
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 ac_header_preproc=no
22055 fi
22056 rm -f conftest.err conftest.$ac_ext
22057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22058 echo "${ECHO_T}$ac_header_preproc" >&6
22059
22060 # So? What about this header?
22061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22062 yes:no: )
22063 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22064 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22065 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22066 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22067 ac_header_preproc=yes
22068 ;;
22069 no:yes:* )
22070 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22071 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22072 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22073 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22074 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22075 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22076 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22077 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22078 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22079 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22080 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22081 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22082 (
22083 cat <<\_ASBOX
22084 ## ----------------------------------------- ##
22085 ## Report this to wx-dev@lists.wxwidgets.org ##
22086 ## ----------------------------------------- ##
22087 _ASBOX
22088 ) |
22089 sed "s/^/$as_me: WARNING: /" >&2
22090 ;;
22091 esac
22092 echo "$as_me:$LINENO: checking for mspack.h" >&5
22093 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22094 if test "${ac_cv_header_mspack_h+set}" = set; then
22095 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 else
22097 ac_cv_header_mspack_h=$ac_header_preproc
22098 fi
22099 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22100 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22101
22102 fi
22103 if test $ac_cv_header_mspack_h = yes; then
22104 found_mspack_h=1
22105 fi
22106
22107
22108 if test "x$found_mspack_h" = "x1"; then
22109 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22110 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22111 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22112 echo $ECHO_N "(cached) $ECHO_C" >&6
22113 else
22114 ac_check_lib_save_LIBS=$LIBS
22115 LIBS="-lmspack $LIBS"
22116 cat >conftest.$ac_ext <<_ACEOF
22117 /* confdefs.h. */
22118 _ACEOF
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122
22123 /* Override any gcc2 internal prototype to avoid an error. */
22124 #ifdef __cplusplus
22125 extern "C"
22126 #endif
22127 /* We use char because int might match the return type of a gcc2
22128 builtin and then its argument prototype would still apply. */
22129 char mspack_create_chm_decompressor ();
22130 int
22131 main ()
22132 {
22133 mspack_create_chm_decompressor ();
22134 ;
22135 return 0;
22136 }
22137 _ACEOF
22138 rm -f conftest.$ac_objext conftest$ac_exeext
22139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22140 (eval $ac_link) 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } &&
22147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try='test -s conftest$ac_exeext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22156 ac_status=$?
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22165 fi
22166 rm -f conftest.err conftest.$ac_objext \
22167 conftest$ac_exeext conftest.$ac_ext
22168 LIBS=$ac_check_lib_save_LIBS
22169 fi
22170 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22171 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22172 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22173 MSPACK_LINK=" -lmspack"
22174 fi
22175
22176 fi
22177 if test "x$MSPACK_LINK" = "x" ; then
22178 wxUSE_LIBMSPACK=no
22179 else
22180 cat >>confdefs.h <<\_ACEOF
22181 #define wxUSE_LIBMSPACK 1
22182 _ACEOF
22183
22184 fi
22185 fi
22186
22187
22188
22189 AFMINSTALL=
22190 WIN32INSTALL=
22191
22192 TOOLKIT=
22193 TOOLKIT_INCLUDE=
22194 WIDGET_SET=
22195
22196 if test "$USE_WIN32" = 1 ; then
22197
22198 for ac_header in w32api.h
22199 do
22200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22202 echo "$as_me:$LINENO: checking for $ac_header" >&5
22203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22205 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 fi
22207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22209 else
22210 # Is the header compilable?
22211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22213 cat >conftest.$ac_ext <<_ACEOF
22214 /* confdefs.h. */
22215 _ACEOF
22216 cat confdefs.h >>conftest.$ac_ext
22217 cat >>conftest.$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22219 $ac_includes_default
22220 #include <$ac_header>
22221 _ACEOF
22222 rm -f conftest.$ac_objext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22224 (eval $ac_compile) 2>conftest.er1
22225 ac_status=$?
22226 grep -v '^ *+' conftest.er1 >conftest.err
22227 rm -f conftest.er1
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233 (eval $ac_try) 2>&5
22234 ac_status=$?
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); }; } &&
22237 { ac_try='test -s conftest.$ac_objext'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; }; then
22243 ac_header_compiler=yes
22244 else
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.$ac_ext >&5
22247
22248 ac_header_compiler=no
22249 fi
22250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22252 echo "${ECHO_T}$ac_header_compiler" >&6
22253
22254 # Is the header present?
22255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22257 cat >conftest.$ac_ext <<_ACEOF
22258 /* confdefs.h. */
22259 _ACEOF
22260 cat confdefs.h >>conftest.$ac_ext
22261 cat >>conftest.$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22263 #include <$ac_header>
22264 _ACEOF
22265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22267 ac_status=$?
22268 grep -v '^ *+' conftest.er1 >conftest.err
22269 rm -f conftest.er1
22270 cat conftest.err >&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); } >/dev/null; then
22273 if test -s conftest.err; then
22274 ac_cpp_err=$ac_c_preproc_warn_flag
22275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22276 else
22277 ac_cpp_err=
22278 fi
22279 else
22280 ac_cpp_err=yes
22281 fi
22282 if test -z "$ac_cpp_err"; then
22283 ac_header_preproc=yes
22284 else
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22287
22288 ac_header_preproc=no
22289 fi
22290 rm -f conftest.err conftest.$ac_ext
22291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22292 echo "${ECHO_T}$ac_header_preproc" >&6
22293
22294 # So? What about this header?
22295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22296 yes:no: )
22297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22301 ac_header_preproc=yes
22302 ;;
22303 no:yes:* )
22304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22316 (
22317 cat <<\_ASBOX
22318 ## ----------------------------------------- ##
22319 ## Report this to wx-dev@lists.wxwidgets.org ##
22320 ## ----------------------------------------- ##
22321 _ASBOX
22322 ) |
22323 sed "s/^/$as_me: WARNING: /" >&2
22324 ;;
22325 esac
22326 echo "$as_me:$LINENO: checking for $ac_header" >&5
22327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 else
22331 eval "$as_ac_Header=\$ac_header_preproc"
22332 fi
22333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22335
22336 fi
22337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22338 cat >>confdefs.h <<_ACEOF
22339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22340 _ACEOF
22341
22342 fi
22343
22344 done
22345
22346 if test "${ac_cv_header_windows_h+set}" = set; then
22347 echo "$as_me:$LINENO: checking for windows.h" >&5
22348 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22349 if test "${ac_cv_header_windows_h+set}" = set; then
22350 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 fi
22352 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22353 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22354 else
22355 # Is the header compilable?
22356 echo "$as_me:$LINENO: checking windows.h usability" >&5
22357 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22358 cat >conftest.$ac_ext <<_ACEOF
22359 /* confdefs.h. */
22360 _ACEOF
22361 cat confdefs.h >>conftest.$ac_ext
22362 cat >>conftest.$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364 $ac_includes_default
22365 #include <windows.h>
22366 _ACEOF
22367 rm -f conftest.$ac_objext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22369 (eval $ac_compile) 2>conftest.er1
22370 ac_status=$?
22371 grep -v '^ *+' conftest.er1 >conftest.err
22372 rm -f conftest.er1
22373 cat conftest.err >&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } &&
22376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378 (eval $ac_try) 2>&5
22379 ac_status=$?
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; } &&
22382 { ac_try='test -s conftest.$ac_objext'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 ac_header_compiler=yes
22389 else
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22392
22393 ac_header_compiler=no
22394 fi
22395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22397 echo "${ECHO_T}$ac_header_compiler" >&6
22398
22399 # Is the header present?
22400 echo "$as_me:$LINENO: checking windows.h presence" >&5
22401 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22402 cat >conftest.$ac_ext <<_ACEOF
22403 /* confdefs.h. */
22404 _ACEOF
22405 cat confdefs.h >>conftest.$ac_ext
22406 cat >>conftest.$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22408 #include <windows.h>
22409 _ACEOF
22410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22412 ac_status=$?
22413 grep -v '^ *+' conftest.er1 >conftest.err
22414 rm -f conftest.er1
22415 cat conftest.err >&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } >/dev/null; then
22418 if test -s conftest.err; then
22419 ac_cpp_err=$ac_c_preproc_warn_flag
22420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22421 else
22422 ac_cpp_err=
22423 fi
22424 else
22425 ac_cpp_err=yes
22426 fi
22427 if test -z "$ac_cpp_err"; then
22428 ac_header_preproc=yes
22429 else
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 ac_header_preproc=no
22434 fi
22435 rm -f conftest.err conftest.$ac_ext
22436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22437 echo "${ECHO_T}$ac_header_preproc" >&6
22438
22439 # So? What about this header?
22440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22441 yes:no: )
22442 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22443 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22444 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22445 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22446 ac_header_preproc=yes
22447 ;;
22448 no:yes:* )
22449 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22450 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22451 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22452 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22453 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22454 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22455 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22456 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22457 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22458 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22459 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22460 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22461 (
22462 cat <<\_ASBOX
22463 ## ----------------------------------------- ##
22464 ## Report this to wx-dev@lists.wxwidgets.org ##
22465 ## ----------------------------------------- ##
22466 _ASBOX
22467 ) |
22468 sed "s/^/$as_me: WARNING: /" >&2
22469 ;;
22470 esac
22471 echo "$as_me:$LINENO: checking for windows.h" >&5
22472 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22473 if test "${ac_cv_header_windows_h+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22475 else
22476 ac_cv_header_windows_h=$ac_header_preproc
22477 fi
22478 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22479 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22480
22481 fi
22482 if test $ac_cv_header_windows_h = yes; then
22483 :
22484 else
22485
22486 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22487 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22488 { (exit 1); exit 1; }; }
22489
22490 fi
22491
22492
22493
22494 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22495
22496 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22497 LIBS="$LIBS -loleacc"
22498 fi
22499
22500 case "${host}" in
22501 *-*-cygwin* )
22502 LIBS="$LIBS -lkernel32 -luser32"
22503 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22504 esac
22505
22506 if test "$wxUSE_ODBC" = "sys" ; then
22507 wxUSE_ODBC = "yes"
22508 fi
22509 if test "$wxUSE_ODBC" = "yes" ; then
22510 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22511 cat >>confdefs.h <<\_ACEOF
22512 #define wxUSE_ODBC 1
22513 _ACEOF
22514
22515 fi
22516
22517 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22518 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22519
22520 WIN32INSTALL=win32install
22521 fi
22522
22523 if test "$wxUSE_GUI" = "yes"; then
22524 USE_GUI=1
22525
22526 GUI_TK_LIBRARY=
22527
22528 WXGTK12=
22529 WXGTK127=
22530 WXGTK20=
22531 WXGPE=
22532
22533 if test "$wxUSE_COCOA" = 1 ; then
22534 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22535 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22536 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22537 wxUSE_PRINTING_ARCHITECTURE=no
22538 fi
22539 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22540 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22541 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22542 wxUSE_DRAG_AND_DROP=no
22543 fi
22544 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22545 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22546 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22547 wxUSE_DRAGIMAGE=no
22548 fi
22549 fi
22550
22551 if test "$wxUSE_MSW" = 1 ; then
22552 TOOLKIT=MSW
22553 GUIDIST=MSW_DIST
22554
22555 case "${host}" in
22556 *-*-mingw32* )
22557 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22558 esac
22559 fi
22560
22561 if test "$wxUSE_GTK" = 1; then
22562 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22563 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22564
22565 gtk_version_cached=1
22566 if test "${wx_cv_lib_gtk+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 else
22569
22570 gtk_version_cached=0
22571 echo "$as_me:$LINENO: result: " >&5
22572 echo "${ECHO_T}" >&6
22573
22574 GTK_MODULES=
22575 if test "$wxUSE_THREADS" = "yes"; then
22576 GTK_MODULES=gthread
22577 fi
22578
22579 wx_cv_lib_gtk=
22580 if test "x$wxUSE_GTK2" = "xyes"; then
22581 # Check whether --enable-gtktest or --disable-gtktest was given.
22582 if test "${enable_gtktest+set}" = set; then
22583 enableval="$enable_gtktest"
22584
22585 else
22586 enable_gtktest=yes
22587 fi;
22588
22589 pkg_config_args=gtk+-2.0
22590 for module in . $GTK_MODULES
22591 do
22592 case "$module" in
22593 gthread)
22594 pkg_config_args="$pkg_config_args gthread-2.0"
22595 ;;
22596 esac
22597 done
22598
22599 no_gtk=""
22600
22601 # Extract the first word of "pkg-config", so it can be a program name with args.
22602 set dummy pkg-config; ac_word=$2
22603 echo "$as_me:$LINENO: checking for $ac_word" >&5
22604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22605 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 else
22608 case $PKG_CONFIG in
22609 [\\/]* | ?:[\\/]*)
22610 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22611 ;;
22612 *)
22613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22614 for as_dir in $PATH
22615 do
22616 IFS=$as_save_IFS
22617 test -z "$as_dir" && as_dir=.
22618 for ac_exec_ext in '' $ac_executable_extensions; do
22619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22620 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22622 break 2
22623 fi
22624 done
22625 done
22626
22627 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22628 ;;
22629 esac
22630 fi
22631 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22632
22633 if test -n "$PKG_CONFIG"; then
22634 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22635 echo "${ECHO_T}$PKG_CONFIG" >&6
22636 else
22637 echo "$as_me:$LINENO: result: no" >&5
22638 echo "${ECHO_T}no" >&6
22639 fi
22640
22641
22642 if test x$PKG_CONFIG != xno ; then
22643 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22644 :
22645 else
22646 echo "*** pkg-config too old; version 0.7 or better required."
22647 no_gtk=yes
22648 PKG_CONFIG=no
22649 fi
22650 else
22651 no_gtk=yes
22652 fi
22653
22654 min_gtk_version=2.0.0
22655 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22656 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22657
22658 if test x$PKG_CONFIG != xno ; then
22659 ## don't try to run the test against uninstalled libtool libs
22660 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22661 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22662 enable_gtktest=no
22663 fi
22664
22665 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22666 :
22667 else
22668 no_gtk=yes
22669 fi
22670 fi
22671
22672 if test x"$no_gtk" = x ; then
22673 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22674 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22675 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22677 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22679 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22681 if test "x$enable_gtktest" = "xyes" ; then
22682 ac_save_CFLAGS="$CFLAGS"
22683 ac_save_LIBS="$LIBS"
22684 CFLAGS="$CFLAGS $GTK_CFLAGS"
22685 LIBS="$GTK_LIBS $LIBS"
22686 rm -f conf.gtktest
22687 if test "$cross_compiling" = yes; then
22688 echo $ac_n "cross compiling; assumed OK... $ac_c"
22689 else
22690 cat >conftest.$ac_ext <<_ACEOF
22691 /* confdefs.h. */
22692 _ACEOF
22693 cat confdefs.h >>conftest.$ac_ext
22694 cat >>conftest.$ac_ext <<_ACEOF
22695 /* end confdefs.h. */
22696
22697 #include <gtk/gtk.h>
22698 #include <stdio.h>
22699 #include <stdlib.h>
22700
22701 int
22702 main ()
22703 {
22704 int major, minor, micro;
22705 char *tmp_version;
22706
22707 system ("touch conf.gtktest");
22708
22709 /* HP/UX 9 (%@#!) writes to sscanf strings */
22710 tmp_version = g_strdup("$min_gtk_version");
22711 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22712 printf("%s, bad version string\n", "$min_gtk_version");
22713 exit(1);
22714 }
22715
22716 if ((gtk_major_version != $gtk_config_major_version) ||
22717 (gtk_minor_version != $gtk_config_minor_version) ||
22718 (gtk_micro_version != $gtk_config_micro_version))
22719 {
22720 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22721 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22722 gtk_major_version, gtk_minor_version, gtk_micro_version);
22723 printf ("*** was found! If pkg-config was correct, then it is best\n");
22724 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22725 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22726 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22727 printf("*** required on your system.\n");
22728 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22729 printf("*** to point to the correct configuration files\n");
22730 }
22731 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22732 (gtk_minor_version != GTK_MINOR_VERSION) ||
22733 (gtk_micro_version != GTK_MICRO_VERSION))
22734 {
22735 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22736 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22737 printf("*** library (version %d.%d.%d)\n",
22738 gtk_major_version, gtk_minor_version, gtk_micro_version);
22739 }
22740 else
22741 {
22742 if ((gtk_major_version > major) ||
22743 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22744 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22745 {
22746 return 0;
22747 }
22748 else
22749 {
22750 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22751 gtk_major_version, gtk_minor_version, gtk_micro_version);
22752 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22753 major, minor, micro);
22754 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22755 printf("***\n");
22756 printf("*** If you have already installed a sufficiently new version, this error\n");
22757 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22758 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22759 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22760 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22761 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22762 printf("*** so that the correct libraries are found at run-time))\n");
22763 }
22764 }
22765 return 1;
22766 }
22767
22768 _ACEOF
22769 rm -f conftest$ac_exeext
22770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22771 (eval $ac_link) 2>&5
22772 ac_status=$?
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22777 ac_status=$?
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; }; then
22780 :
22781 else
22782 echo "$as_me: program exited with status $ac_status" >&5
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.$ac_ext >&5
22785
22786 ( exit $ac_status )
22787 no_gtk=yes
22788 fi
22789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22790 fi
22791 CFLAGS="$ac_save_CFLAGS"
22792 LIBS="$ac_save_LIBS"
22793 fi
22794 fi
22795 if test "x$no_gtk" = x ; then
22796 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22797 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22798 wx_cv_lib_gtk=2.0
22799 else
22800 echo "$as_me:$LINENO: result: no" >&5
22801 echo "${ECHO_T}no" >&6
22802 if test "$PKG_CONFIG" = "no" ; then
22803 echo "*** A new enough version of pkg-config was not found."
22804 echo "*** See http://pkgconfig.sourceforge.net"
22805 else
22806 if test -f conf.gtktest ; then
22807 :
22808 else
22809 echo "*** Could not run GTK+ test program, checking why..."
22810 ac_save_CFLAGS="$CFLAGS"
22811 ac_save_LIBS="$LIBS"
22812 CFLAGS="$CFLAGS $GTK_CFLAGS"
22813 LIBS="$LIBS $GTK_LIBS"
22814 cat >conftest.$ac_ext <<_ACEOF
22815 /* confdefs.h. */
22816 _ACEOF
22817 cat confdefs.h >>conftest.$ac_ext
22818 cat >>conftest.$ac_ext <<_ACEOF
22819 /* end confdefs.h. */
22820
22821 #include <gtk/gtk.h>
22822 #include <stdio.h>
22823
22824 int
22825 main ()
22826 {
22827 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22828 ;
22829 return 0;
22830 }
22831 _ACEOF
22832 rm -f conftest.$ac_objext conftest$ac_exeext
22833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22834 (eval $ac_link) 2>conftest.er1
22835 ac_status=$?
22836 grep -v '^ *+' conftest.er1 >conftest.err
22837 rm -f conftest.er1
22838 cat conftest.err >&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } &&
22841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22844 ac_status=$?
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; } &&
22847 { ac_try='test -s conftest$ac_exeext'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22850 ac_status=$?
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; }; then
22853 echo "*** The test program compiled, but did not run. This usually means"
22854 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22855 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22856 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22857 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22858 echo "*** is required on your system"
22859 echo "***"
22860 echo "*** If you have an old version installed, it is best to remove it, although"
22861 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22862 else
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.$ac_ext >&5
22865
22866 echo "*** The test program failed to compile or link. See the file config.log for the"
22867 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22868 fi
22869 rm -f conftest.err conftest.$ac_objext \
22870 conftest$ac_exeext conftest.$ac_ext
22871 CFLAGS="$ac_save_CFLAGS"
22872 LIBS="$ac_save_LIBS"
22873 fi
22874 fi
22875 GTK_CFLAGS=""
22876 GTK_LIBS=""
22877 :
22878 fi
22879
22880
22881 rm -f conf.gtktest
22882
22883 else
22884
22885 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22886 if test "${with_gtk_prefix+set}" = set; then
22887 withval="$with_gtk_prefix"
22888 gtk_config_prefix="$withval"
22889 else
22890 gtk_config_prefix=""
22891 fi;
22892
22893 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22894 if test "${with_gtk_exec_prefix+set}" = set; then
22895 withval="$with_gtk_exec_prefix"
22896 gtk_config_exec_prefix="$withval"
22897 else
22898 gtk_config_exec_prefix=""
22899 fi;
22900 # Check whether --enable-gtktest or --disable-gtktest was given.
22901 if test "${enable_gtktest+set}" = set; then
22902 enableval="$enable_gtktest"
22903
22904 else
22905 enable_gtktest=yes
22906 fi;
22907
22908 for module in . $GTK_MODULES
22909 do
22910 case "$module" in
22911 gthread)
22912 gtk_config_args="$gtk_config_args gthread"
22913 ;;
22914 esac
22915 done
22916
22917 if test x$gtk_config_exec_prefix != x ; then
22918 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22919 if test x${GTK_CONFIG+set} != xset ; then
22920 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22921 fi
22922 fi
22923 if test x$gtk_config_prefix != x ; then
22924 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22925 if test x${GTK_CONFIG+set} != xset ; then
22926 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22927 fi
22928 fi
22929
22930 # Extract the first word of "gtk-config", so it can be a program name with args.
22931 set dummy gtk-config; ac_word=$2
22932 echo "$as_me:$LINENO: checking for $ac_word" >&5
22933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22934 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 else
22937 case $GTK_CONFIG in
22938 [\\/]* | ?:[\\/]*)
22939 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22940 ;;
22941 *)
22942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22943 for as_dir in $PATH
22944 do
22945 IFS=$as_save_IFS
22946 test -z "$as_dir" && as_dir=.
22947 for ac_exec_ext in '' $ac_executable_extensions; do
22948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22949 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22951 break 2
22952 fi
22953 done
22954 done
22955
22956 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22957 ;;
22958 esac
22959 fi
22960 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22961
22962 if test -n "$GTK_CONFIG"; then
22963 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22964 echo "${ECHO_T}$GTK_CONFIG" >&6
22965 else
22966 echo "$as_me:$LINENO: result: no" >&5
22967 echo "${ECHO_T}no" >&6
22968 fi
22969
22970 min_gtk_version=1.2.7
22971 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22972 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22973 no_gtk=""
22974 if test "$GTK_CONFIG" = "no" ; then
22975 no_gtk=yes
22976 else
22977 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22978 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22979 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22981 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22983 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22985 if test "x$enable_gtktest" = "xyes" ; then
22986 ac_save_CFLAGS="$CFLAGS"
22987 ac_save_LIBS="$LIBS"
22988 CFLAGS="$CFLAGS $GTK_CFLAGS"
22989 LIBS="$GTK_LIBS $LIBS"
22990 rm -f conf.gtktest
22991 if test "$cross_compiling" = yes; then
22992 echo $ac_n "cross compiling; assumed OK... $ac_c"
22993 else
22994 cat >conftest.$ac_ext <<_ACEOF
22995 /* confdefs.h. */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000
23001 #include <gtk/gtk.h>
23002 #include <stdio.h>
23003 #include <stdlib.h>
23004
23005 int
23006 main ()
23007 {
23008 int major, minor, micro;
23009 char *tmp_version;
23010
23011 system ("touch conf.gtktest");
23012
23013 /* HP/UX 9 (%@#!) writes to sscanf strings */
23014 tmp_version = g_strdup("$min_gtk_version");
23015 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23016 printf("%s, bad version string\n", "$min_gtk_version");
23017 exit(1);
23018 }
23019
23020 if ((gtk_major_version != $gtk_config_major_version) ||
23021 (gtk_minor_version != $gtk_config_minor_version) ||
23022 (gtk_micro_version != $gtk_config_micro_version))
23023 {
23024 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23025 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23026 gtk_major_version, gtk_minor_version, gtk_micro_version);
23027 printf ("*** was found! If gtk-config was correct, then it is best\n");
23028 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23029 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23030 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23031 printf("*** required on your system.\n");
23032 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23033 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23034 printf("*** before re-running configure\n");
23035 }
23036 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23037 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23038 (gtk_minor_version != GTK_MINOR_VERSION) ||
23039 (gtk_micro_version != GTK_MICRO_VERSION))
23040 {
23041 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23042 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23043 printf("*** library (version %d.%d.%d)\n",
23044 gtk_major_version, gtk_minor_version, gtk_micro_version);
23045 }
23046 #endif /* defined (GTK_MAJOR_VERSION) ... */
23047 else
23048 {
23049 if ((gtk_major_version > major) ||
23050 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23051 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23052 {
23053 return 0;
23054 }
23055 else
23056 {
23057 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23058 gtk_major_version, gtk_minor_version, gtk_micro_version);
23059 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23060 major, minor, micro);
23061 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23062 printf("***\n");
23063 printf("*** If you have already installed a sufficiently new version, this error\n");
23064 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23065 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23066 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23067 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23068 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23069 printf("*** so that the correct libraries are found at run-time))\n");
23070 }
23071 }
23072 return 1;
23073 }
23074
23075 _ACEOF
23076 rm -f conftest$ac_exeext
23077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23078 (eval $ac_link) 2>&5
23079 ac_status=$?
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23084 ac_status=$?
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; }; then
23087 :
23088 else
23089 echo "$as_me: program exited with status $ac_status" >&5
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23092
23093 ( exit $ac_status )
23094 no_gtk=yes
23095 fi
23096 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23097 fi
23098 CFLAGS="$ac_save_CFLAGS"
23099 LIBS="$ac_save_LIBS"
23100 fi
23101 fi
23102 if test "x$no_gtk" = x ; then
23103 echo "$as_me:$LINENO: result: yes" >&5
23104 echo "${ECHO_T}yes" >&6
23105 wx_cv_lib_gtk=1.2.7
23106 else
23107 echo "$as_me:$LINENO: result: no" >&5
23108 echo "${ECHO_T}no" >&6
23109 if test "$GTK_CONFIG" = "no" ; then
23110 echo "*** The gtk-config script installed by GTK could not be found"
23111 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23112 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23113 echo "*** full path to gtk-config."
23114 else
23115 if test -f conf.gtktest ; then
23116 :
23117 else
23118 echo "*** Could not run GTK test program, checking why..."
23119 CFLAGS="$CFLAGS $GTK_CFLAGS"
23120 LIBS="$LIBS $GTK_LIBS"
23121 cat >conftest.$ac_ext <<_ACEOF
23122 /* confdefs.h. */
23123 _ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23127
23128 #include <gtk/gtk.h>
23129 #include <stdio.h>
23130
23131 int
23132 main ()
23133 {
23134 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest.$ac_objext conftest$ac_exeext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23141 (eval $ac_link) 2>conftest.er1
23142 ac_status=$?
23143 grep -v '^ *+' conftest.er1 >conftest.err
23144 rm -f conftest.er1
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } &&
23148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try='test -s conftest$ac_exeext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23157 ac_status=$?
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 echo "*** The test program compiled, but did not run. This usually means"
23161 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23162 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23163 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23164 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23165 echo "*** is required on your system"
23166 echo "***"
23167 echo "*** If you have an old version installed, it is best to remove it, although"
23168 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23169 echo "***"
23170 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23171 echo "*** came with the system with the command"
23172 echo "***"
23173 echo "*** rpm --erase --nodeps gtk gtk-devel"
23174 else
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.$ac_ext >&5
23177
23178 echo "*** The test program failed to compile or link. See the file config.log for the"
23179 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23180 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23181 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23182 fi
23183 rm -f conftest.err conftest.$ac_objext \
23184 conftest$ac_exeext conftest.$ac_ext
23185 CFLAGS="$ac_save_CFLAGS"
23186 LIBS="$ac_save_LIBS"
23187 fi
23188 fi
23189 GTK_CFLAGS=""
23190 GTK_LIBS=""
23191 :
23192 fi
23193
23194
23195 rm -f conf.gtktest
23196
23197
23198 if test -z "$wx_cv_lib_gtk"; then
23199
23200 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23201 if test "${with_gtk_prefix+set}" = set; then
23202 withval="$with_gtk_prefix"
23203 gtk_config_prefix="$withval"
23204 else
23205 gtk_config_prefix=""
23206 fi;
23207
23208 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23209 if test "${with_gtk_exec_prefix+set}" = set; then
23210 withval="$with_gtk_exec_prefix"
23211 gtk_config_exec_prefix="$withval"
23212 else
23213 gtk_config_exec_prefix=""
23214 fi;
23215 # Check whether --enable-gtktest or --disable-gtktest was given.
23216 if test "${enable_gtktest+set}" = set; then
23217 enableval="$enable_gtktest"
23218
23219 else
23220 enable_gtktest=yes
23221 fi;
23222
23223 for module in . $GTK_MODULES
23224 do
23225 case "$module" in
23226 gthread)
23227 gtk_config_args="$gtk_config_args gthread"
23228 ;;
23229 esac
23230 done
23231
23232 if test x$gtk_config_exec_prefix != x ; then
23233 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23234 if test x${GTK_CONFIG+set} != xset ; then
23235 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23236 fi
23237 fi
23238 if test x$gtk_config_prefix != x ; then
23239 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23240 if test x${GTK_CONFIG+set} != xset ; then
23241 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23242 fi
23243 fi
23244
23245 # Extract the first word of "gtk-config", so it can be a program name with args.
23246 set dummy gtk-config; ac_word=$2
23247 echo "$as_me:$LINENO: checking for $ac_word" >&5
23248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23249 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 else
23252 case $GTK_CONFIG in
23253 [\\/]* | ?:[\\/]*)
23254 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23255 ;;
23256 *)
23257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23258 for as_dir in $PATH
23259 do
23260 IFS=$as_save_IFS
23261 test -z "$as_dir" && as_dir=.
23262 for ac_exec_ext in '' $ac_executable_extensions; do
23263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23264 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23266 break 2
23267 fi
23268 done
23269 done
23270
23271 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23272 ;;
23273 esac
23274 fi
23275 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23276
23277 if test -n "$GTK_CONFIG"; then
23278 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23279 echo "${ECHO_T}$GTK_CONFIG" >&6
23280 else
23281 echo "$as_me:$LINENO: result: no" >&5
23282 echo "${ECHO_T}no" >&6
23283 fi
23284
23285 min_gtk_version=1.2.3
23286 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23287 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23288 no_gtk=""
23289 if test "$GTK_CONFIG" = "no" ; then
23290 no_gtk=yes
23291 else
23292 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23293 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23294 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23296 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23298 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23300 if test "x$enable_gtktest" = "xyes" ; then
23301 ac_save_CFLAGS="$CFLAGS"
23302 ac_save_LIBS="$LIBS"
23303 CFLAGS="$CFLAGS $GTK_CFLAGS"
23304 LIBS="$GTK_LIBS $LIBS"
23305 rm -f conf.gtktest
23306 if test "$cross_compiling" = yes; then
23307 echo $ac_n "cross compiling; assumed OK... $ac_c"
23308 else
23309 cat >conftest.$ac_ext <<_ACEOF
23310 /* confdefs.h. */
23311 _ACEOF
23312 cat confdefs.h >>conftest.$ac_ext
23313 cat >>conftest.$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23315
23316 #include <gtk/gtk.h>
23317 #include <stdio.h>
23318 #include <stdlib.h>
23319
23320 int
23321 main ()
23322 {
23323 int major, minor, micro;
23324 char *tmp_version;
23325
23326 system ("touch conf.gtktest");
23327
23328 /* HP/UX 9 (%@#!) writes to sscanf strings */
23329 tmp_version = g_strdup("$min_gtk_version");
23330 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23331 printf("%s, bad version string\n", "$min_gtk_version");
23332 exit(1);
23333 }
23334
23335 if ((gtk_major_version != $gtk_config_major_version) ||
23336 (gtk_minor_version != $gtk_config_minor_version) ||
23337 (gtk_micro_version != $gtk_config_micro_version))
23338 {
23339 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23340 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23341 gtk_major_version, gtk_minor_version, gtk_micro_version);
23342 printf ("*** was found! If gtk-config was correct, then it is best\n");
23343 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23344 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23345 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23346 printf("*** required on your system.\n");
23347 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23348 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23349 printf("*** before re-running configure\n");
23350 }
23351 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23352 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23353 (gtk_minor_version != GTK_MINOR_VERSION) ||
23354 (gtk_micro_version != GTK_MICRO_VERSION))
23355 {
23356 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23357 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23358 printf("*** library (version %d.%d.%d)\n",
23359 gtk_major_version, gtk_minor_version, gtk_micro_version);
23360 }
23361 #endif /* defined (GTK_MAJOR_VERSION) ... */
23362 else
23363 {
23364 if ((gtk_major_version > major) ||
23365 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23366 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23367 {
23368 return 0;
23369 }
23370 else
23371 {
23372 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23373 gtk_major_version, gtk_minor_version, gtk_micro_version);
23374 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23375 major, minor, micro);
23376 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23377 printf("***\n");
23378 printf("*** If you have already installed a sufficiently new version, this error\n");
23379 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23380 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23381 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23382 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23383 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23384 printf("*** so that the correct libraries are found at run-time))\n");
23385 }
23386 }
23387 return 1;
23388 }
23389
23390 _ACEOF
23391 rm -f conftest$ac_exeext
23392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23393 (eval $ac_link) 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23398 (eval $ac_try) 2>&5
23399 ac_status=$?
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; }; then
23402 :
23403 else
23404 echo "$as_me: program exited with status $ac_status" >&5
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23407
23408 ( exit $ac_status )
23409 no_gtk=yes
23410 fi
23411 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23412 fi
23413 CFLAGS="$ac_save_CFLAGS"
23414 LIBS="$ac_save_LIBS"
23415 fi
23416 fi
23417 if test "x$no_gtk" = x ; then
23418 echo "$as_me:$LINENO: result: yes" >&5
23419 echo "${ECHO_T}yes" >&6
23420 wx_cv_lib_gtk=1.2.3
23421 else
23422 echo "$as_me:$LINENO: result: no" >&5
23423 echo "${ECHO_T}no" >&6
23424 if test "$GTK_CONFIG" = "no" ; then
23425 echo "*** The gtk-config script installed by GTK could not be found"
23426 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23427 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23428 echo "*** full path to gtk-config."
23429 else
23430 if test -f conf.gtktest ; then
23431 :
23432 else
23433 echo "*** Could not run GTK test program, checking why..."
23434 CFLAGS="$CFLAGS $GTK_CFLAGS"
23435 LIBS="$LIBS $GTK_LIBS"
23436 cat >conftest.$ac_ext <<_ACEOF
23437 /* confdefs.h. */
23438 _ACEOF
23439 cat confdefs.h >>conftest.$ac_ext
23440 cat >>conftest.$ac_ext <<_ACEOF
23441 /* end confdefs.h. */
23442
23443 #include <gtk/gtk.h>
23444 #include <stdio.h>
23445
23446 int
23447 main ()
23448 {
23449 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23450 ;
23451 return 0;
23452 }
23453 _ACEOF
23454 rm -f conftest.$ac_objext conftest$ac_exeext
23455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23456 (eval $ac_link) 2>conftest.er1
23457 ac_status=$?
23458 grep -v '^ *+' conftest.er1 >conftest.err
23459 rm -f conftest.er1
23460 cat conftest.err >&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } &&
23463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23465 (eval $ac_try) 2>&5
23466 ac_status=$?
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); }; } &&
23469 { ac_try='test -s conftest$ac_exeext'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23472 ac_status=$?
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; }; then
23475 echo "*** The test program compiled, but did not run. This usually means"
23476 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23477 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23478 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23479 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23480 echo "*** is required on your system"
23481 echo "***"
23482 echo "*** If you have an old version installed, it is best to remove it, although"
23483 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23484 echo "***"
23485 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23486 echo "*** came with the system with the command"
23487 echo "***"
23488 echo "*** rpm --erase --nodeps gtk gtk-devel"
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 echo "*** The test program failed to compile or link. See the file config.log for the"
23494 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23495 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23496 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23497 fi
23498 rm -f conftest.err conftest.$ac_objext \
23499 conftest$ac_exeext conftest.$ac_ext
23500 CFLAGS="$ac_save_CFLAGS"
23501 LIBS="$ac_save_LIBS"
23502 fi
23503 fi
23504 GTK_CFLAGS=""
23505 GTK_LIBS=""
23506 :
23507 fi
23508
23509
23510 rm -f conf.gtktest
23511
23512 fi
23513 fi
23514
23515 if test -z "$wx_cv_lib_gtk"; then
23516 wx_cv_lib_gtk=none
23517 else
23518 wx_cv_cflags_gtk=$GTK_CFLAGS
23519 wx_cv_libs_gtk=$GTK_LIBS
23520 fi
23521
23522
23523 fi
23524
23525
23526 if test "$gtk_version_cached" = 1; then
23527 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23528 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23529 fi
23530
23531 case "$wx_cv_lib_gtk" in
23532 2.0) WXGTK20=1
23533 TOOLKIT_VERSION=2
23534 ;;
23535 1.2.7) WXGTK127=1
23536 WXGTK12=1
23537 ;;
23538 1.2.3) WXGTK12=1
23539 ;;
23540 *) { { echo "$as_me:$LINENO: error:
23541 Please check that gtk-config is in path, the directory
23542 where GTK+ libraries are installed (returned by
23543 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23544 equivalent variable and GTK+ is version 1.2.3 or above.
23545 " >&5
23546 echo "$as_me: error:
23547 Please check that gtk-config is in path, the directory
23548 where GTK+ libraries are installed (returned by
23549 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23550 equivalent variable and GTK+ is version 1.2.3 or above.
23551 " >&2;}
23552 { (exit 1); exit 1; }; }
23553 ;;
23554 esac
23555
23556 if test "$WXGTK20" = 1; then
23557 save_CFLAGS="$CFLAGS"
23558 save_LIBS="$LIBS"
23559 CFLAGS="$CFLAGS $GTK_CFLAGS"
23560 LIBS="$LIBS $GTK_LIBS"
23561
23562 for ac_func in pango_font_family_is_monospace
23563 do
23564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23565 echo "$as_me:$LINENO: checking for $ac_func" >&5
23566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23567 if eval "test \"\${$as_ac_var+set}\" = set"; then
23568 echo $ECHO_N "(cached) $ECHO_C" >&6
23569 else
23570 cat >conftest.$ac_ext <<_ACEOF
23571 /* confdefs.h. */
23572 _ACEOF
23573 cat confdefs.h >>conftest.$ac_ext
23574 cat >>conftest.$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23578 #define $ac_func innocuous_$ac_func
23579
23580 /* System header to define __stub macros and hopefully few prototypes,
23581 which can conflict with char $ac_func (); below.
23582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23583 <limits.h> exists even on freestanding compilers. */
23584
23585 #ifdef __STDC__
23586 # include <limits.h>
23587 #else
23588 # include <assert.h>
23589 #endif
23590
23591 #undef $ac_func
23592
23593 /* Override any gcc2 internal prototype to avoid an error. */
23594 #ifdef __cplusplus
23595 extern "C"
23596 {
23597 #endif
23598 /* We use char because int might match the return type of a gcc2
23599 builtin and then its argument prototype would still apply. */
23600 char $ac_func ();
23601 /* The GNU C library defines this for functions which it implements
23602 to always fail with ENOSYS. Some functions are actually named
23603 something starting with __ and the normal name is an alias. */
23604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23605 choke me
23606 #else
23607 char (*f) () = $ac_func;
23608 #endif
23609 #ifdef __cplusplus
23610 }
23611 #endif
23612
23613 int
23614 main ()
23615 {
23616 return f != $ac_func;
23617 ;
23618 return 0;
23619 }
23620 _ACEOF
23621 rm -f conftest.$ac_objext conftest$ac_exeext
23622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23623 (eval $ac_link) 2>conftest.er1
23624 ac_status=$?
23625 grep -v '^ *+' conftest.er1 >conftest.err
23626 rm -f conftest.er1
23627 cat conftest.err >&5
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } &&
23630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632 (eval $ac_try) 2>&5
23633 ac_status=$?
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); }; } &&
23636 { ac_try='test -s conftest$ac_exeext'
23637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23638 (eval $ac_try) 2>&5
23639 ac_status=$?
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); }; }; then
23642 eval "$as_ac_var=yes"
23643 else
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23646
23647 eval "$as_ac_var=no"
23648 fi
23649 rm -f conftest.err conftest.$ac_objext \
23650 conftest$ac_exeext conftest.$ac_ext
23651 fi
23652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23654 if test `eval echo '${'$as_ac_var'}'` = yes; then
23655 cat >>confdefs.h <<_ACEOF
23656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23657 _ACEOF
23658
23659 fi
23660 done
23661
23662 CFLAGS="$save_CFLAGS"
23663 LIBS="$save_LIBS"
23664 else
23665 if test "$wxUSE_UNICODE" = "yes"; then
23666 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23667 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23668 wxUSE_UNICODE=no
23669 fi
23670 fi
23671
23672 if test "$USE_DARWIN" != 1; then
23673
23674 for ac_func in poll
23675 do
23676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23677 echo "$as_me:$LINENO: checking for $ac_func" >&5
23678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23679 if eval "test \"\${$as_ac_var+set}\" = set"; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 else
23682 cat >conftest.$ac_ext <<_ACEOF
23683 /* confdefs.h. */
23684 _ACEOF
23685 cat confdefs.h >>conftest.$ac_ext
23686 cat >>conftest.$ac_ext <<_ACEOF
23687 /* end confdefs.h. */
23688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23690 #define $ac_func innocuous_$ac_func
23691
23692 /* System header to define __stub macros and hopefully few prototypes,
23693 which can conflict with char $ac_func (); below.
23694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23695 <limits.h> exists even on freestanding compilers. */
23696
23697 #ifdef __STDC__
23698 # include <limits.h>
23699 #else
23700 # include <assert.h>
23701 #endif
23702
23703 #undef $ac_func
23704
23705 /* Override any gcc2 internal prototype to avoid an error. */
23706 #ifdef __cplusplus
23707 extern "C"
23708 {
23709 #endif
23710 /* We use char because int might match the return type of a gcc2
23711 builtin and then its argument prototype would still apply. */
23712 char $ac_func ();
23713 /* The GNU C library defines this for functions which it implements
23714 to always fail with ENOSYS. Some functions are actually named
23715 something starting with __ and the normal name is an alias. */
23716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23717 choke me
23718 #else
23719 char (*f) () = $ac_func;
23720 #endif
23721 #ifdef __cplusplus
23722 }
23723 #endif
23724
23725 int
23726 main ()
23727 {
23728 return f != $ac_func;
23729 ;
23730 return 0;
23731 }
23732 _ACEOF
23733 rm -f conftest.$ac_objext conftest$ac_exeext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23735 (eval $ac_link) 2>conftest.er1
23736 ac_status=$?
23737 grep -v '^ *+' conftest.er1 >conftest.err
23738 rm -f conftest.er1
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } &&
23742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23744 (eval $ac_try) 2>&5
23745 ac_status=$?
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); }; } &&
23748 { ac_try='test -s conftest$ac_exeext'
23749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750 (eval $ac_try) 2>&5
23751 ac_status=$?
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); }; }; then
23754 eval "$as_ac_var=yes"
23755 else
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23758
23759 eval "$as_ac_var=no"
23760 fi
23761 rm -f conftest.err conftest.$ac_objext \
23762 conftest$ac_exeext conftest.$ac_ext
23763 fi
23764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23766 if test `eval echo '${'$as_ac_var'}'` = yes; then
23767 cat >>confdefs.h <<_ACEOF
23768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23769 _ACEOF
23770
23771 fi
23772 done
23773
23774 fi
23775
23776 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23777 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23778
23779 AFMINSTALL=afminstall
23780 TOOLKIT=GTK
23781 GUIDIST=GTK_DIST
23782
23783 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23784 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23785 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23787 else
23788 ac_check_lib_save_LIBS=$LIBS
23789 LIBS="-lgdk $LIBS"
23790 cat >conftest.$ac_ext <<_ACEOF
23791 /* confdefs.h. */
23792 _ACEOF
23793 cat confdefs.h >>conftest.$ac_ext
23794 cat >>conftest.$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23796
23797 /* Override any gcc2 internal prototype to avoid an error. */
23798 #ifdef __cplusplus
23799 extern "C"
23800 #endif
23801 /* We use char because int might match the return type of a gcc2
23802 builtin and then its argument prototype would still apply. */
23803 char gdk_im_open ();
23804 int
23805 main ()
23806 {
23807 gdk_im_open ();
23808 ;
23809 return 0;
23810 }
23811 _ACEOF
23812 rm -f conftest.$ac_objext conftest$ac_exeext
23813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23814 (eval $ac_link) 2>conftest.er1
23815 ac_status=$?
23816 grep -v '^ *+' conftest.er1 >conftest.err
23817 rm -f conftest.er1
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } &&
23821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823 (eval $ac_try) 2>&5
23824 ac_status=$?
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; } &&
23827 { ac_try='test -s conftest$ac_exeext'
23828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829 (eval $ac_try) 2>&5
23830 ac_status=$?
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); }; }; then
23833 ac_cv_lib_gdk_gdk_im_open=yes
23834 else
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.$ac_ext >&5
23837
23838 ac_cv_lib_gdk_gdk_im_open=no
23839 fi
23840 rm -f conftest.err conftest.$ac_objext \
23841 conftest$ac_exeext conftest.$ac_ext
23842 LIBS=$ac_check_lib_save_LIBS
23843 fi
23844 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23845 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23846 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23847 cat >>confdefs.h <<\_ACEOF
23848 #define HAVE_XIM 1
23849 _ACEOF
23850
23851 fi
23852
23853
23854
23855 if test "$wxUSE_GPE" = "yes"; then
23856 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23857 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23858
23859 ac_find_libraries=
23860 for ac_dir in $SEARCH_LIB /usr/lib;
23861 do
23862 for ac_extension in a so sl dylib; do
23863 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23864 ac_find_libraries=$ac_dir
23865 break 2
23866 fi
23867 done
23868 done
23869
23870 if test "$ac_find_libraries" != "" ; then
23871
23872 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23873 result=$?
23874 if test $result = 0; then
23875 ac_path_to_link=""
23876 else
23877 ac_path_to_link=" -L$ac_find_libraries"
23878 fi
23879
23880 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23881 WXGPE=1
23882 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23883 echo "${ECHO_T}found at $ac_find_libraries" >&6
23884 else
23885 echo "$as_me:$LINENO: result: not found" >&5
23886 echo "${ECHO_T}not found" >&6
23887 fi
23888
23889 fi
23890 fi
23891
23892 if test "$wxUSE_MGL" = 1; then
23893 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23894 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23895 if test "x$MGL_ROOT" = x ; then
23896 echo "$as_me:$LINENO: result: not found" >&5
23897 echo "${ECHO_T}not found" >&6
23898 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23899 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23900 { (exit 1); exit 1; }; }
23901 else
23902 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23903 echo "${ECHO_T}$MGL_ROOT" >&6
23904 fi
23905
23906 echo "$as_me:$LINENO: checking for libmgl location" >&5
23907 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23908 case "${host}" in
23909 *-*-linux* )
23910 if test "x$wxUSE_SHARED" = xyes ; then
23911 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23912 else
23913 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23914 fi
23915 ;;
23916 *-pc-msdosdjgpp )
23917 mgl_os_candidates="dos32/dj2"
23918 ;;
23919 *)
23920 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23921 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23922 { (exit 1); exit 1; }; }
23923 esac
23924
23925 mgl_lib_type=""
23926 mgl_os=""
23927
23928 for mgl_os_i in $mgl_os_candidates ; do
23929 if test "x$mgl_os" = x ; then
23930 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23931 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23932 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23933 mgl_lib_type=debug
23934 mgl_os=$mgl_os_i
23935 fi
23936 fi
23937 if test "x$mgl_lib_type" = x ; then
23938 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23939 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23940 mgl_lib_type=release
23941 mgl_os=$mgl_os_i
23942 fi
23943 fi
23944 fi
23945 done
23946
23947 if test "x$mgl_os" = x ; then
23948 echo "$as_me:$LINENO: result: not found" >&5
23949 echo "${ECHO_T}not found" >&6
23950 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23951 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23952 { (exit 1); exit 1; }; }
23953 fi
23954 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23955 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23956
23957 wxUSE_UNIVERSAL="yes"
23958
23959 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23960 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23961
23962 AFMINSTALL=afminstall
23963 TOOLKIT=MGL
23964 GUIDIST=MGL_DIST
23965 fi
23966
23967 if test "$wxUSE_MICROWIN" = 1; then
23968 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23969 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23970 if test "x$MICROWINDOWS" = x ; then
23971 echo "$as_me:$LINENO: result: not found" >&5
23972 echo "${ECHO_T}not found" >&6
23973 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23974 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23975 { (exit 1); exit 1; }; }
23976 else
23977 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23978 echo "${ECHO_T}$MICROWINDOWS" >&6
23979 fi
23980
23981 if test -f $MICROWINDOWS/lib/libmwin.a; then
23982 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23983 echo "${ECHO_T}MicroWindows' libraries found." >&6
23984 else
23985 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23986 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23987 { (exit 1); exit 1; }; }
23988 fi
23989
23990 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23991 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23992
23993 wxUSE_UNIVERSAL="yes"
23994
23995 AFMINSTALL=afminstall
23996 TOOLKIT=MICROWIN
23997 GUIDIST=MICROWIN_DIST
23998
23999 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24000 fi
24001
24002 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24003
24004 if test "x$ac_path_x_has_been_run" != xyes; then
24005 echo "$as_me:$LINENO: checking for X" >&5
24006 echo $ECHO_N "checking for X... $ECHO_C" >&6
24007
24008 ac_path_x_has_been_run=yes
24009
24010 # Check whether --with-x or --without-x was given.
24011 if test "${with_x+set}" = set; then
24012 withval="$with_x"
24013
24014 fi;
24015 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24016 if test "x$with_x" = xno; then
24017 # The user explicitly disabled X.
24018 have_x=disabled
24019 else
24020 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24021 # Both variables are already set.
24022 have_x=yes
24023 else
24024 if test "${ac_cv_have_x+set}" = set; then
24025 echo $ECHO_N "(cached) $ECHO_C" >&6
24026 else
24027 # One or both of the vars are not set, and there is no cached value.
24028 ac_x_includes=no ac_x_libraries=no
24029 rm -fr conftest.dir
24030 if mkdir conftest.dir; then
24031 cd conftest.dir
24032 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24033 cat >Imakefile <<'_ACEOF'
24034 acfindx:
24035 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24036 _ACEOF
24037 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24038 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24039 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24040 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24041 for ac_extension in a so sl; do
24042 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24043 test -f $ac_im_libdir/libX11.$ac_extension; then
24044 ac_im_usrlibdir=$ac_im_libdir; break
24045 fi
24046 done
24047 # Screen out bogus values from the imake configuration. They are
24048 # bogus both because they are the default anyway, and because
24049 # using them would break gcc on systems where it needs fixed includes.
24050 case $ac_im_incroot in
24051 /usr/include) ;;
24052 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24053 esac
24054 case $ac_im_usrlibdir in
24055 /usr/lib | /lib) ;;
24056 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24057 esac
24058 fi
24059 cd ..
24060 rm -fr conftest.dir
24061 fi
24062
24063 # Standard set of common directories for X headers.
24064 # Check X11 before X11Rn because it is often a symlink to the current release.
24065 ac_x_header_dirs='
24066 /usr/X11/include
24067 /usr/X11R6/include
24068 /usr/X11R5/include
24069 /usr/X11R4/include
24070
24071 /usr/include/X11
24072 /usr/include/X11R6
24073 /usr/include/X11R5
24074 /usr/include/X11R4
24075
24076 /usr/local/X11/include
24077 /usr/local/X11R6/include
24078 /usr/local/X11R5/include
24079 /usr/local/X11R4/include
24080
24081 /usr/local/include/X11
24082 /usr/local/include/X11R6
24083 /usr/local/include/X11R5
24084 /usr/local/include/X11R4
24085
24086 /usr/X386/include
24087 /usr/x386/include
24088 /usr/XFree86/include/X11
24089
24090 /usr/include
24091 /usr/local/include
24092 /usr/unsupported/include
24093 /usr/athena/include
24094 /usr/local/x11r5/include
24095 /usr/lpp/Xamples/include
24096
24097 /usr/openwin/include
24098 /usr/openwin/share/include'
24099
24100 if test "$ac_x_includes" = no; then
24101 # Guess where to find include files, by looking for a specified header file.
24102 # First, try using that file with no special directory specified.
24103 cat >conftest.$ac_ext <<_ACEOF
24104 /* confdefs.h. */
24105 _ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #include <X11/Intrinsic.h>
24110 _ACEOF
24111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } >/dev/null; then
24119 if test -s conftest.err; then
24120 ac_cpp_err=$ac_c_preproc_warn_flag
24121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24122 else
24123 ac_cpp_err=
24124 fi
24125 else
24126 ac_cpp_err=yes
24127 fi
24128 if test -z "$ac_cpp_err"; then
24129 # We can compile using X headers with no special include directory.
24130 ac_x_includes=
24131 else
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.$ac_ext >&5
24134
24135 for ac_dir in $ac_x_header_dirs; do
24136 if test -r "$ac_dir/X11/Intrinsic.h"; then
24137 ac_x_includes=$ac_dir
24138 break
24139 fi
24140 done
24141 fi
24142 rm -f conftest.err conftest.$ac_ext
24143 fi # $ac_x_includes = no
24144
24145 if test "$ac_x_libraries" = no; then
24146 # Check for the libraries.
24147 # See if we find them without any special options.
24148 # Don't add to $LIBS permanently.
24149 ac_save_LIBS=$LIBS
24150 LIBS="-lXt $LIBS"
24151 cat >conftest.$ac_ext <<_ACEOF
24152 /* confdefs.h. */
24153 _ACEOF
24154 cat confdefs.h >>conftest.$ac_ext
24155 cat >>conftest.$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24157 #include <X11/Intrinsic.h>
24158 int
24159 main ()
24160 {
24161 XtMalloc (0)
24162 ;
24163 return 0;
24164 }
24165 _ACEOF
24166 rm -f conftest.$ac_objext conftest$ac_exeext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177 (eval $ac_try) 2>&5
24178 ac_status=$?
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try='test -s conftest$ac_exeext'
24182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183 (eval $ac_try) 2>&5
24184 ac_status=$?
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); }; }; then
24187 LIBS=$ac_save_LIBS
24188 # We can link X programs with no special library path.
24189 ac_x_libraries=
24190 else
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.$ac_ext >&5
24193
24194 LIBS=$ac_save_LIBS
24195 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24196 do
24197 # Don't even attempt the hair of trying to link an X program!
24198 for ac_extension in a so sl; do
24199 if test -r $ac_dir/libXt.$ac_extension; then
24200 ac_x_libraries=$ac_dir
24201 break 2
24202 fi
24203 done
24204 done
24205 fi
24206 rm -f conftest.err conftest.$ac_objext \
24207 conftest$ac_exeext conftest.$ac_ext
24208 fi # $ac_x_libraries = no
24209
24210 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24211 # Didn't find X anywhere. Cache the known absence of X.
24212 ac_cv_have_x="have_x=no"
24213 else
24214 # Record where we found X for the cache.
24215 ac_cv_have_x="have_x=yes \
24216 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24217 fi
24218 fi
24219
24220 fi
24221 eval "$ac_cv_have_x"
24222 fi # $with_x != no
24223
24224 if test "$have_x" != yes; then
24225 echo "$as_me:$LINENO: result: $have_x" >&5
24226 echo "${ECHO_T}$have_x" >&6
24227 no_x=yes
24228 else
24229 # If each of the values was on the command line, it overrides each guess.
24230 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24231 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24232 # Update the cache value to reflect the command line values.
24233 ac_cv_have_x="have_x=yes \
24234 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24235 # It might be that x_includes is empty (headers are found in the
24236 # standard search path. Then output the corresponding message
24237 ac_out_x_includes=$x_includes
24238 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
24239 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24240 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24241 fi
24242
24243 fi
24244 if test "$no_x" = yes; then
24245 # Not all programs may use this symbol, but it does not hurt to define it.
24246
24247 cat >>confdefs.h <<\_ACEOF
24248 #define X_DISPLAY_MISSING 1
24249 _ACEOF
24250
24251 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24252 else
24253 if test -n "$x_includes"; then
24254 X_CFLAGS="$X_CFLAGS -I$x_includes"
24255 fi
24256
24257 # It would also be nice to do this for all -L options, not just this one.
24258 if test -n "$x_libraries"; then
24259 X_LIBS="$X_LIBS -L$x_libraries"
24260 # For Solaris; some versions of Sun CC require a space after -R and
24261 # others require no space. Words are not sufficient . . . .
24262 case `(uname -sr) 2>/dev/null` in
24263 "SunOS 5"*)
24264 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24265 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24266 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24267 cat >conftest.$ac_ext <<_ACEOF
24268 /* confdefs.h. */
24269 _ACEOF
24270 cat confdefs.h >>conftest.$ac_ext
24271 cat >>conftest.$ac_ext <<_ACEOF
24272 /* end confdefs.h. */
24273
24274 int
24275 main ()
24276 {
24277
24278 ;
24279 return 0;
24280 }
24281 _ACEOF
24282 rm -f conftest.$ac_objext conftest$ac_exeext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24284 (eval $ac_link) 2>conftest.er1
24285 ac_status=$?
24286 grep -v '^ *+' conftest.er1 >conftest.err
24287 rm -f conftest.er1
24288 cat conftest.err >&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } &&
24291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24294 ac_status=$?
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; } &&
24297 { ac_try='test -s conftest$ac_exeext'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24300 ac_status=$?
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; }; then
24303 ac_R_nospace=yes
24304 else
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.$ac_ext >&5
24307
24308 ac_R_nospace=no
24309 fi
24310 rm -f conftest.err conftest.$ac_objext \
24311 conftest$ac_exeext conftest.$ac_ext
24312 if test $ac_R_nospace = yes; then
24313 echo "$as_me:$LINENO: result: no" >&5
24314 echo "${ECHO_T}no" >&6
24315 X_LIBS="$X_LIBS -R$x_libraries"
24316 else
24317 LIBS="$ac_xsave_LIBS -R $x_libraries"
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324
24325 int
24326 main ()
24327 {
24328
24329 ;
24330 return 0;
24331 }
24332 _ACEOF
24333 rm -f conftest.$ac_objext conftest$ac_exeext
24334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24335 (eval $ac_link) 2>conftest.er1
24336 ac_status=$?
24337 grep -v '^ *+' conftest.er1 >conftest.err
24338 rm -f conftest.er1
24339 cat conftest.err >&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); } &&
24342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24345 ac_status=$?
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; } &&
24348 { ac_try='test -s conftest$ac_exeext'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24351 ac_status=$?
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; }; then
24354 ac_R_space=yes
24355 else
24356 echo "$as_me: failed program was:" >&5
24357 sed 's/^/| /' conftest.$ac_ext >&5
24358
24359 ac_R_space=no
24360 fi
24361 rm -f conftest.err conftest.$ac_objext \
24362 conftest$ac_exeext conftest.$ac_ext
24363 if test $ac_R_space = yes; then
24364 echo "$as_me:$LINENO: result: yes" >&5
24365 echo "${ECHO_T}yes" >&6
24366 X_LIBS="$X_LIBS -R $x_libraries"
24367 else
24368 echo "$as_me:$LINENO: result: neither works" >&5
24369 echo "${ECHO_T}neither works" >&6
24370 fi
24371 fi
24372 LIBS=$ac_xsave_LIBS
24373 esac
24374 fi
24375
24376 # Check for system-dependent libraries X programs must link with.
24377 # Do this before checking for the system-independent R6 libraries
24378 # (-lICE), since we may need -lsocket or whatever for X linking.
24379
24380 if test "$ISC" = yes; then
24381 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24382 else
24383 # Martyn Johnson says this is needed for Ultrix, if the X
24384 # libraries were built with DECnet support. And Karl Berry says
24385 # the Alpha needs dnet_stub (dnet does not exist).
24386 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24387 cat >conftest.$ac_ext <<_ACEOF
24388 /* confdefs.h. */
24389 _ACEOF
24390 cat confdefs.h >>conftest.$ac_ext
24391 cat >>conftest.$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24393
24394 /* Override any gcc2 internal prototype to avoid an error. */
24395 #ifdef __cplusplus
24396 extern "C"
24397 #endif
24398 /* We use char because int might match the return type of a gcc2
24399 builtin and then its argument prototype would still apply. */
24400 char XOpenDisplay ();
24401 int
24402 main ()
24403 {
24404 XOpenDisplay ();
24405 ;
24406 return 0;
24407 }
24408 _ACEOF
24409 rm -f conftest.$ac_objext conftest$ac_exeext
24410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24411 (eval $ac_link) 2>conftest.er1
24412 ac_status=$?
24413 grep -v '^ *+' conftest.er1 >conftest.err
24414 rm -f conftest.er1
24415 cat conftest.err >&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } &&
24418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420 (eval $ac_try) 2>&5
24421 ac_status=$?
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; } &&
24424 { ac_try='test -s conftest$ac_exeext'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24427 ac_status=$?
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; }; then
24430 :
24431 else
24432 echo "$as_me: failed program was:" >&5
24433 sed 's/^/| /' conftest.$ac_ext >&5
24434
24435 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24436 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24437 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24438 echo $ECHO_N "(cached) $ECHO_C" >&6
24439 else
24440 ac_check_lib_save_LIBS=$LIBS
24441 LIBS="-ldnet $LIBS"
24442 cat >conftest.$ac_ext <<_ACEOF
24443 /* confdefs.h. */
24444 _ACEOF
24445 cat confdefs.h >>conftest.$ac_ext
24446 cat >>conftest.$ac_ext <<_ACEOF
24447 /* end confdefs.h. */
24448
24449 /* Override any gcc2 internal prototype to avoid an error. */
24450 #ifdef __cplusplus
24451 extern "C"
24452 #endif
24453 /* We use char because int might match the return type of a gcc2
24454 builtin and then its argument prototype would still apply. */
24455 char dnet_ntoa ();
24456 int
24457 main ()
24458 {
24459 dnet_ntoa ();
24460 ;
24461 return 0;
24462 }
24463 _ACEOF
24464 rm -f conftest.$ac_objext conftest$ac_exeext
24465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24466 (eval $ac_link) 2>conftest.er1
24467 ac_status=$?
24468 grep -v '^ *+' conftest.er1 >conftest.err
24469 rm -f conftest.er1
24470 cat conftest.err >&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } &&
24473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24476 ac_status=$?
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; } &&
24479 { ac_try='test -s conftest$ac_exeext'
24480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481 (eval $ac_try) 2>&5
24482 ac_status=$?
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); }; }; then
24485 ac_cv_lib_dnet_dnet_ntoa=yes
24486 else
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24489
24490 ac_cv_lib_dnet_dnet_ntoa=no
24491 fi
24492 rm -f conftest.err conftest.$ac_objext \
24493 conftest$ac_exeext conftest.$ac_ext
24494 LIBS=$ac_check_lib_save_LIBS
24495 fi
24496 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24497 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24498 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24499 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24500 fi
24501
24502 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24503 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24504 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24505 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 else
24508 ac_check_lib_save_LIBS=$LIBS
24509 LIBS="-ldnet_stub $LIBS"
24510 cat >conftest.$ac_ext <<_ACEOF
24511 /* confdefs.h. */
24512 _ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516
24517 /* Override any gcc2 internal prototype to avoid an error. */
24518 #ifdef __cplusplus
24519 extern "C"
24520 #endif
24521 /* We use char because int might match the return type of a gcc2
24522 builtin and then its argument prototype would still apply. */
24523 char dnet_ntoa ();
24524 int
24525 main ()
24526 {
24527 dnet_ntoa ();
24528 ;
24529 return 0;
24530 }
24531 _ACEOF
24532 rm -f conftest.$ac_objext conftest$ac_exeext
24533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24534 (eval $ac_link) 2>conftest.er1
24535 ac_status=$?
24536 grep -v '^ *+' conftest.er1 >conftest.err
24537 rm -f conftest.er1
24538 cat conftest.err >&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; } &&
24547 { ac_try='test -s conftest$ac_exeext'
24548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24549 (eval $ac_try) 2>&5
24550 ac_status=$?
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); }; }; then
24553 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24554 else
24555 echo "$as_me: failed program was:" >&5
24556 sed 's/^/| /' conftest.$ac_ext >&5
24557
24558 ac_cv_lib_dnet_stub_dnet_ntoa=no
24559 fi
24560 rm -f conftest.err conftest.$ac_objext \
24561 conftest$ac_exeext conftest.$ac_ext
24562 LIBS=$ac_check_lib_save_LIBS
24563 fi
24564 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24565 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24566 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24567 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24568 fi
24569
24570 fi
24571 fi
24572 rm -f conftest.err conftest.$ac_objext \
24573 conftest$ac_exeext conftest.$ac_ext
24574 LIBS="$ac_xsave_LIBS"
24575
24576 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24577 # to get the SysV transport functions.
24578 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24579 # needs -lnsl.
24580 # The nsl library prevents programs from opening the X display
24581 # on Irix 5.2, according to T.E. Dickey.
24582 # The functions gethostbyname, getservbyname, and inet_addr are
24583 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24584 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24585 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24586 if test "${ac_cv_func_gethostbyname+set}" = set; then
24587 echo $ECHO_N "(cached) $ECHO_C" >&6
24588 else
24589 cat >conftest.$ac_ext <<_ACEOF
24590 /* confdefs.h. */
24591 _ACEOF
24592 cat confdefs.h >>conftest.$ac_ext
24593 cat >>conftest.$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24595 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24597 #define gethostbyname innocuous_gethostbyname
24598
24599 /* System header to define __stub macros and hopefully few prototypes,
24600 which can conflict with char gethostbyname (); below.
24601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24602 <limits.h> exists even on freestanding compilers. */
24603
24604 #ifdef __STDC__
24605 # include <limits.h>
24606 #else
24607 # include <assert.h>
24608 #endif
24609
24610 #undef gethostbyname
24611
24612 /* Override any gcc2 internal prototype to avoid an error. */
24613 #ifdef __cplusplus
24614 extern "C"
24615 {
24616 #endif
24617 /* We use char because int might match the return type of a gcc2
24618 builtin and then its argument prototype would still apply. */
24619 char gethostbyname ();
24620 /* The GNU C library defines this for functions which it implements
24621 to always fail with ENOSYS. Some functions are actually named
24622 something starting with __ and the normal name is an alias. */
24623 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24624 choke me
24625 #else
24626 char (*f) () = gethostbyname;
24627 #endif
24628 #ifdef __cplusplus
24629 }
24630 #endif
24631
24632 int
24633 main ()
24634 {
24635 return f != gethostbyname;
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 rm -f conftest.$ac_objext conftest$ac_exeext
24641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24642 (eval $ac_link) 2>conftest.er1
24643 ac_status=$?
24644 grep -v '^ *+' conftest.er1 >conftest.err
24645 rm -f conftest.er1
24646 cat conftest.err >&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); } &&
24649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651 (eval $ac_try) 2>&5
24652 ac_status=$?
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); }; } &&
24655 { ac_try='test -s conftest$ac_exeext'
24656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657 (eval $ac_try) 2>&5
24658 ac_status=$?
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); }; }; then
24661 ac_cv_func_gethostbyname=yes
24662 else
24663 echo "$as_me: failed program was:" >&5
24664 sed 's/^/| /' conftest.$ac_ext >&5
24665
24666 ac_cv_func_gethostbyname=no
24667 fi
24668 rm -f conftest.err conftest.$ac_objext \
24669 conftest$ac_exeext conftest.$ac_ext
24670 fi
24671 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24672 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24673
24674 if test $ac_cv_func_gethostbyname = no; then
24675 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24676 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24677 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 else
24680 ac_check_lib_save_LIBS=$LIBS
24681 LIBS="-lnsl $LIBS"
24682 cat >conftest.$ac_ext <<_ACEOF
24683 /* confdefs.h. */
24684 _ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24688
24689 /* Override any gcc2 internal prototype to avoid an error. */
24690 #ifdef __cplusplus
24691 extern "C"
24692 #endif
24693 /* We use char because int might match the return type of a gcc2
24694 builtin and then its argument prototype would still apply. */
24695 char gethostbyname ();
24696 int
24697 main ()
24698 {
24699 gethostbyname ();
24700 ;
24701 return 0;
24702 }
24703 _ACEOF
24704 rm -f conftest.$ac_objext conftest$ac_exeext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24706 (eval $ac_link) 2>conftest.er1
24707 ac_status=$?
24708 grep -v '^ *+' conftest.er1 >conftest.err
24709 rm -f conftest.er1
24710 cat conftest.err >&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } &&
24713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24715 (eval $ac_try) 2>&5
24716 ac_status=$?
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); }; } &&
24719 { ac_try='test -s conftest$ac_exeext'
24720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24721 (eval $ac_try) 2>&5
24722 ac_status=$?
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); }; }; then
24725 ac_cv_lib_nsl_gethostbyname=yes
24726 else
24727 echo "$as_me: failed program was:" >&5
24728 sed 's/^/| /' conftest.$ac_ext >&5
24729
24730 ac_cv_lib_nsl_gethostbyname=no
24731 fi
24732 rm -f conftest.err conftest.$ac_objext \
24733 conftest$ac_exeext conftest.$ac_ext
24734 LIBS=$ac_check_lib_save_LIBS
24735 fi
24736 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24737 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24738 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24739 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24740 fi
24741
24742 if test $ac_cv_lib_nsl_gethostbyname = no; then
24743 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24744 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24745 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24746 echo $ECHO_N "(cached) $ECHO_C" >&6
24747 else
24748 ac_check_lib_save_LIBS=$LIBS
24749 LIBS="-lbsd $LIBS"
24750 cat >conftest.$ac_ext <<_ACEOF
24751 /* confdefs.h. */
24752 _ACEOF
24753 cat confdefs.h >>conftest.$ac_ext
24754 cat >>conftest.$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24756
24757 /* Override any gcc2 internal prototype to avoid an error. */
24758 #ifdef __cplusplus
24759 extern "C"
24760 #endif
24761 /* We use char because int might match the return type of a gcc2
24762 builtin and then its argument prototype would still apply. */
24763 char gethostbyname ();
24764 int
24765 main ()
24766 {
24767 gethostbyname ();
24768 ;
24769 return 0;
24770 }
24771 _ACEOF
24772 rm -f conftest.$ac_objext conftest$ac_exeext
24773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24774 (eval $ac_link) 2>conftest.er1
24775 ac_status=$?
24776 grep -v '^ *+' conftest.er1 >conftest.err
24777 rm -f conftest.er1
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } &&
24781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24783 (eval $ac_try) 2>&5
24784 ac_status=$?
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); }; } &&
24787 { ac_try='test -s conftest$ac_exeext'
24788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24789 (eval $ac_try) 2>&5
24790 ac_status=$?
24791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792 (exit $ac_status); }; }; then
24793 ac_cv_lib_bsd_gethostbyname=yes
24794 else
24795 echo "$as_me: failed program was:" >&5
24796 sed 's/^/| /' conftest.$ac_ext >&5
24797
24798 ac_cv_lib_bsd_gethostbyname=no
24799 fi
24800 rm -f conftest.err conftest.$ac_objext \
24801 conftest$ac_exeext conftest.$ac_ext
24802 LIBS=$ac_check_lib_save_LIBS
24803 fi
24804 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24805 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24806 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24807 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24808 fi
24809
24810 fi
24811 fi
24812
24813 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24814 # socket/setsockopt and other routines are undefined under SCO ODT
24815 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24816 # on later versions), says Simon Leinen: it contains gethostby*
24817 # variants that don't use the name server (or something). -lsocket
24818 # must be given before -lnsl if both are needed. We assume that
24819 # if connect needs -lnsl, so does gethostbyname.
24820 echo "$as_me:$LINENO: checking for connect" >&5
24821 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24822 if test "${ac_cv_func_connect+set}" = set; then
24823 echo $ECHO_N "(cached) $ECHO_C" >&6
24824 else
24825 cat >conftest.$ac_ext <<_ACEOF
24826 /* confdefs.h. */
24827 _ACEOF
24828 cat confdefs.h >>conftest.$ac_ext
24829 cat >>conftest.$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24831 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24833 #define connect innocuous_connect
24834
24835 /* System header to define __stub macros and hopefully few prototypes,
24836 which can conflict with char connect (); below.
24837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24838 <limits.h> exists even on freestanding compilers. */
24839
24840 #ifdef __STDC__
24841 # include <limits.h>
24842 #else
24843 # include <assert.h>
24844 #endif
24845
24846 #undef connect
24847
24848 /* Override any gcc2 internal prototype to avoid an error. */
24849 #ifdef __cplusplus
24850 extern "C"
24851 {
24852 #endif
24853 /* We use char because int might match the return type of a gcc2
24854 builtin and then its argument prototype would still apply. */
24855 char connect ();
24856 /* The GNU C library defines this for functions which it implements
24857 to always fail with ENOSYS. Some functions are actually named
24858 something starting with __ and the normal name is an alias. */
24859 #if defined (__stub_connect) || defined (__stub___connect)
24860 choke me
24861 #else
24862 char (*f) () = connect;
24863 #endif
24864 #ifdef __cplusplus
24865 }
24866 #endif
24867
24868 int
24869 main ()
24870 {
24871 return f != connect;
24872 ;
24873 return 0;
24874 }
24875 _ACEOF
24876 rm -f conftest.$ac_objext conftest$ac_exeext
24877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24878 (eval $ac_link) 2>conftest.er1
24879 ac_status=$?
24880 grep -v '^ *+' conftest.er1 >conftest.err
24881 rm -f conftest.er1
24882 cat conftest.err >&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } &&
24885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; } &&
24891 { ac_try='test -s conftest$ac_exeext'
24892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24893 (eval $ac_try) 2>&5
24894 ac_status=$?
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); }; }; then
24897 ac_cv_func_connect=yes
24898 else
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.$ac_ext >&5
24901
24902 ac_cv_func_connect=no
24903 fi
24904 rm -f conftest.err conftest.$ac_objext \
24905 conftest$ac_exeext conftest.$ac_ext
24906 fi
24907 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24908 echo "${ECHO_T}$ac_cv_func_connect" >&6
24909
24910 if test $ac_cv_func_connect = no; then
24911 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24912 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24913 if test "${ac_cv_lib_socket_connect+set}" = set; then
24914 echo $ECHO_N "(cached) $ECHO_C" >&6
24915 else
24916 ac_check_lib_save_LIBS=$LIBS
24917 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24918 cat >conftest.$ac_ext <<_ACEOF
24919 /* confdefs.h. */
24920 _ACEOF
24921 cat confdefs.h >>conftest.$ac_ext
24922 cat >>conftest.$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924
24925 /* Override any gcc2 internal prototype to avoid an error. */
24926 #ifdef __cplusplus
24927 extern "C"
24928 #endif
24929 /* We use char because int might match the return type of a gcc2
24930 builtin and then its argument prototype would still apply. */
24931 char connect ();
24932 int
24933 main ()
24934 {
24935 connect ();
24936 ;
24937 return 0;
24938 }
24939 _ACEOF
24940 rm -f conftest.$ac_objext conftest$ac_exeext
24941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24942 (eval $ac_link) 2>conftest.er1
24943 ac_status=$?
24944 grep -v '^ *+' conftest.er1 >conftest.err
24945 rm -f conftest.er1
24946 cat conftest.err >&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } &&
24949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24951 (eval $ac_try) 2>&5
24952 ac_status=$?
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); }; } &&
24955 { ac_try='test -s conftest$ac_exeext'
24956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24957 (eval $ac_try) 2>&5
24958 ac_status=$?
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); }; }; then
24961 ac_cv_lib_socket_connect=yes
24962 else
24963 echo "$as_me: failed program was:" >&5
24964 sed 's/^/| /' conftest.$ac_ext >&5
24965
24966 ac_cv_lib_socket_connect=no
24967 fi
24968 rm -f conftest.err conftest.$ac_objext \
24969 conftest$ac_exeext conftest.$ac_ext
24970 LIBS=$ac_check_lib_save_LIBS
24971 fi
24972 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24973 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24974 if test $ac_cv_lib_socket_connect = yes; then
24975 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24976 fi
24977
24978 fi
24979
24980 # Guillermo Gomez says -lposix is necessary on A/UX.
24981 echo "$as_me:$LINENO: checking for remove" >&5
24982 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24983 if test "${ac_cv_func_remove+set}" = set; then
24984 echo $ECHO_N "(cached) $ECHO_C" >&6
24985 else
24986 cat >conftest.$ac_ext <<_ACEOF
24987 /* confdefs.h. */
24988 _ACEOF
24989 cat confdefs.h >>conftest.$ac_ext
24990 cat >>conftest.$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24992 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24994 #define remove innocuous_remove
24995
24996 /* System header to define __stub macros and hopefully few prototypes,
24997 which can conflict with char remove (); below.
24998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24999 <limits.h> exists even on freestanding compilers. */
25000
25001 #ifdef __STDC__
25002 # include <limits.h>
25003 #else
25004 # include <assert.h>
25005 #endif
25006
25007 #undef remove
25008
25009 /* Override any gcc2 internal prototype to avoid an error. */
25010 #ifdef __cplusplus
25011 extern "C"
25012 {
25013 #endif
25014 /* We use char because int might match the return type of a gcc2
25015 builtin and then its argument prototype would still apply. */
25016 char remove ();
25017 /* The GNU C library defines this for functions which it implements
25018 to always fail with ENOSYS. Some functions are actually named
25019 something starting with __ and the normal name is an alias. */
25020 #if defined (__stub_remove) || defined (__stub___remove)
25021 choke me
25022 #else
25023 char (*f) () = remove;
25024 #endif
25025 #ifdef __cplusplus
25026 }
25027 #endif
25028
25029 int
25030 main ()
25031 {
25032 return f != remove;
25033 ;
25034 return 0;
25035 }
25036 _ACEOF
25037 rm -f conftest.$ac_objext conftest$ac_exeext
25038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25039 (eval $ac_link) 2>conftest.er1
25040 ac_status=$?
25041 grep -v '^ *+' conftest.er1 >conftest.err
25042 rm -f conftest.er1
25043 cat conftest.err >&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } &&
25046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25048 (eval $ac_try) 2>&5
25049 ac_status=$?
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; } &&
25052 { ac_try='test -s conftest$ac_exeext'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25055 ac_status=$?
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; }; then
25058 ac_cv_func_remove=yes
25059 else
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.$ac_ext >&5
25062
25063 ac_cv_func_remove=no
25064 fi
25065 rm -f conftest.err conftest.$ac_objext \
25066 conftest$ac_exeext conftest.$ac_ext
25067 fi
25068 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25069 echo "${ECHO_T}$ac_cv_func_remove" >&6
25070
25071 if test $ac_cv_func_remove = no; then
25072 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25073 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25074 if test "${ac_cv_lib_posix_remove+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 else
25077 ac_check_lib_save_LIBS=$LIBS
25078 LIBS="-lposix $LIBS"
25079 cat >conftest.$ac_ext <<_ACEOF
25080 /* confdefs.h. */
25081 _ACEOF
25082 cat confdefs.h >>conftest.$ac_ext
25083 cat >>conftest.$ac_ext <<_ACEOF
25084 /* end confdefs.h. */
25085
25086 /* Override any gcc2 internal prototype to avoid an error. */
25087 #ifdef __cplusplus
25088 extern "C"
25089 #endif
25090 /* We use char because int might match the return type of a gcc2
25091 builtin and then its argument prototype would still apply. */
25092 char remove ();
25093 int
25094 main ()
25095 {
25096 remove ();
25097 ;
25098 return 0;
25099 }
25100 _ACEOF
25101 rm -f conftest.$ac_objext conftest$ac_exeext
25102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25103 (eval $ac_link) 2>conftest.er1
25104 ac_status=$?
25105 grep -v '^ *+' conftest.er1 >conftest.err
25106 rm -f conftest.er1
25107 cat conftest.err >&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } &&
25110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25112 (eval $ac_try) 2>&5
25113 ac_status=$?
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); }; } &&
25116 { ac_try='test -s conftest$ac_exeext'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25119 ac_status=$?
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; }; then
25122 ac_cv_lib_posix_remove=yes
25123 else
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25126
25127 ac_cv_lib_posix_remove=no
25128 fi
25129 rm -f conftest.err conftest.$ac_objext \
25130 conftest$ac_exeext conftest.$ac_ext
25131 LIBS=$ac_check_lib_save_LIBS
25132 fi
25133 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25134 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25135 if test $ac_cv_lib_posix_remove = yes; then
25136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25137 fi
25138
25139 fi
25140
25141 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25142 echo "$as_me:$LINENO: checking for shmat" >&5
25143 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25144 if test "${ac_cv_func_shmat+set}" = set; then
25145 echo $ECHO_N "(cached) $ECHO_C" >&6
25146 else
25147 cat >conftest.$ac_ext <<_ACEOF
25148 /* confdefs.h. */
25149 _ACEOF
25150 cat confdefs.h >>conftest.$ac_ext
25151 cat >>conftest.$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25155 #define shmat innocuous_shmat
25156
25157 /* System header to define __stub macros and hopefully few prototypes,
25158 which can conflict with char shmat (); below.
25159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25160 <limits.h> exists even on freestanding compilers. */
25161
25162 #ifdef __STDC__
25163 # include <limits.h>
25164 #else
25165 # include <assert.h>
25166 #endif
25167
25168 #undef shmat
25169
25170 /* Override any gcc2 internal prototype to avoid an error. */
25171 #ifdef __cplusplus
25172 extern "C"
25173 {
25174 #endif
25175 /* We use char because int might match the return type of a gcc2
25176 builtin and then its argument prototype would still apply. */
25177 char shmat ();
25178 /* The GNU C library defines this for functions which it implements
25179 to always fail with ENOSYS. Some functions are actually named
25180 something starting with __ and the normal name is an alias. */
25181 #if defined (__stub_shmat) || defined (__stub___shmat)
25182 choke me
25183 #else
25184 char (*f) () = shmat;
25185 #endif
25186 #ifdef __cplusplus
25187 }
25188 #endif
25189
25190 int
25191 main ()
25192 {
25193 return f != shmat;
25194 ;
25195 return 0;
25196 }
25197 _ACEOF
25198 rm -f conftest.$ac_objext conftest$ac_exeext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25200 (eval $ac_link) 2>conftest.er1
25201 ac_status=$?
25202 grep -v '^ *+' conftest.er1 >conftest.err
25203 rm -f conftest.er1
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } &&
25207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209 (eval $ac_try) 2>&5
25210 ac_status=$?
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); }; } &&
25213 { ac_try='test -s conftest$ac_exeext'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25216 ac_status=$?
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; }; then
25219 ac_cv_func_shmat=yes
25220 else
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25223
25224 ac_cv_func_shmat=no
25225 fi
25226 rm -f conftest.err conftest.$ac_objext \
25227 conftest$ac_exeext conftest.$ac_ext
25228 fi
25229 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25230 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25231
25232 if test $ac_cv_func_shmat = no; then
25233 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25234 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25235 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25237 else
25238 ac_check_lib_save_LIBS=$LIBS
25239 LIBS="-lipc $LIBS"
25240 cat >conftest.$ac_ext <<_ACEOF
25241 /* confdefs.h. */
25242 _ACEOF
25243 cat confdefs.h >>conftest.$ac_ext
25244 cat >>conftest.$ac_ext <<_ACEOF
25245 /* end confdefs.h. */
25246
25247 /* Override any gcc2 internal prototype to avoid an error. */
25248 #ifdef __cplusplus
25249 extern "C"
25250 #endif
25251 /* We use char because int might match the return type of a gcc2
25252 builtin and then its argument prototype would still apply. */
25253 char shmat ();
25254 int
25255 main ()
25256 {
25257 shmat ();
25258 ;
25259 return 0;
25260 }
25261 _ACEOF
25262 rm -f conftest.$ac_objext conftest$ac_exeext
25263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25264 (eval $ac_link) 2>conftest.er1
25265 ac_status=$?
25266 grep -v '^ *+' conftest.er1 >conftest.err
25267 rm -f conftest.er1
25268 cat conftest.err >&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } &&
25271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25273 (eval $ac_try) 2>&5
25274 ac_status=$?
25275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276 (exit $ac_status); }; } &&
25277 { ac_try='test -s conftest$ac_exeext'
25278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279 (eval $ac_try) 2>&5
25280 ac_status=$?
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); }; }; then
25283 ac_cv_lib_ipc_shmat=yes
25284 else
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25287
25288 ac_cv_lib_ipc_shmat=no
25289 fi
25290 rm -f conftest.err conftest.$ac_objext \
25291 conftest$ac_exeext conftest.$ac_ext
25292 LIBS=$ac_check_lib_save_LIBS
25293 fi
25294 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25295 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25296 if test $ac_cv_lib_ipc_shmat = yes; then
25297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25298 fi
25299
25300 fi
25301 fi
25302
25303 # Check for libraries that X11R6 Xt/Xaw programs need.
25304 ac_save_LDFLAGS=$LDFLAGS
25305 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25306 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25307 # check for ICE first), but we must link in the order -lSM -lICE or
25308 # we get undefined symbols. So assume we have SM if we have ICE.
25309 # These have to be linked with before -lX11, unlike the other
25310 # libraries we check for below, so use a different variable.
25311 # John Interrante, Karl Berry
25312 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25313 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25314 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 else
25317 ac_check_lib_save_LIBS=$LIBS
25318 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25319 cat >conftest.$ac_ext <<_ACEOF
25320 /* confdefs.h. */
25321 _ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325
25326 /* Override any gcc2 internal prototype to avoid an error. */
25327 #ifdef __cplusplus
25328 extern "C"
25329 #endif
25330 /* We use char because int might match the return type of a gcc2
25331 builtin and then its argument prototype would still apply. */
25332 char IceConnectionNumber ();
25333 int
25334 main ()
25335 {
25336 IceConnectionNumber ();
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 rm -f conftest.$ac_objext conftest$ac_exeext
25342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25343 (eval $ac_link) 2>conftest.er1
25344 ac_status=$?
25345 grep -v '^ *+' conftest.er1 >conftest.err
25346 rm -f conftest.er1
25347 cat conftest.err >&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } &&
25350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25352 (eval $ac_try) 2>&5
25353 ac_status=$?
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); }; } &&
25356 { ac_try='test -s conftest$ac_exeext'
25357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25358 (eval $ac_try) 2>&5
25359 ac_status=$?
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); }; }; then
25362 ac_cv_lib_ICE_IceConnectionNumber=yes
25363 else
25364 echo "$as_me: failed program was:" >&5
25365 sed 's/^/| /' conftest.$ac_ext >&5
25366
25367 ac_cv_lib_ICE_IceConnectionNumber=no
25368 fi
25369 rm -f conftest.err conftest.$ac_objext \
25370 conftest$ac_exeext conftest.$ac_ext
25371 LIBS=$ac_check_lib_save_LIBS
25372 fi
25373 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25374 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25375 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25376 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25377 fi
25378
25379 LDFLAGS=$ac_save_LDFLAGS
25380
25381 fi
25382
25383
25384 if test "$no_x" = "yes"; then
25385 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25386 echo "$as_me: error: X11 not found" >&2;}
25387 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25388 fi
25389
25390 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25391 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25392 AFMINSTALL=afminstall
25393 COMPILED_X_PROGRAM=0
25394
25395 fi
25396
25397 if test "$wxUSE_X11" = 1; then
25398 if test "$wxUSE_NANOX" = "yes"; then
25399 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25400 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25401 if test "x$MICROWIN" = x ; then
25402 echo "$as_me:$LINENO: result: not found" >&5
25403 echo "${ECHO_T}not found" >&6
25404 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25405 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25406 { (exit 1); exit 1; }; }
25407 else
25408 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25409 echo "${ECHO_T}$MICROWIN" >&6
25410 cat >>confdefs.h <<\_ACEOF
25411 #define wxUSE_NANOX 1
25412 _ACEOF
25413
25414 fi
25415 fi
25416
25417 if test "$wxUSE_UNICODE" = "yes"; then
25418
25419 succeeded=no
25420
25421 if test -z "$PKG_CONFIG"; then
25422 # Extract the first word of "pkg-config", so it can be a program name with args.
25423 set dummy pkg-config; ac_word=$2
25424 echo "$as_me:$LINENO: checking for $ac_word" >&5
25425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25426 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25428 else
25429 case $PKG_CONFIG in
25430 [\\/]* | ?:[\\/]*)
25431 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25432 ;;
25433 *)
25434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25435 for as_dir in $PATH
25436 do
25437 IFS=$as_save_IFS
25438 test -z "$as_dir" && as_dir=.
25439 for ac_exec_ext in '' $ac_executable_extensions; do
25440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25441 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25443 break 2
25444 fi
25445 done
25446 done
25447
25448 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25449 ;;
25450 esac
25451 fi
25452 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25453
25454 if test -n "$PKG_CONFIG"; then
25455 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25456 echo "${ECHO_T}$PKG_CONFIG" >&6
25457 else
25458 echo "$as_me:$LINENO: result: no" >&5
25459 echo "${ECHO_T}no" >&6
25460 fi
25461
25462 fi
25463
25464 if test "$PKG_CONFIG" = "no" ; then
25465 echo "*** The pkg-config script could not be found. Make sure it is"
25466 echo "*** in your path, or set the PKG_CONFIG environment variable"
25467 echo "*** to the full path to pkg-config."
25468 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25469 else
25470 PKG_CONFIG_MIN_VERSION=0.9.0
25471 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25472 echo "$as_me:$LINENO: checking for pangox" >&5
25473 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25474
25475 if $PKG_CONFIG --exists "pangox" ; then
25476 echo "$as_me:$LINENO: result: yes" >&5
25477 echo "${ECHO_T}yes" >&6
25478 succeeded=yes
25479
25480 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25481 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25482 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25483 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25484 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25485
25486 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25487 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25488 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25489 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25490 echo "${ECHO_T}$PANGOX_LIBS" >&6
25491 else
25492 PANGOX_CFLAGS=""
25493 PANGOX_LIBS=""
25494 ## If we have a custom action on failure, don't print errors, but
25495 ## do set a variable so people can do so.
25496 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25497
25498 fi
25499
25500
25501
25502 else
25503 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25504 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25505 fi
25506 fi
25507
25508 if test $succeeded = yes; then
25509
25510 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25511 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25512
25513 else
25514
25515 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25516 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25517 { (exit 1); exit 1; }; }
25518
25519
25520 fi
25521
25522
25523 succeeded=no
25524
25525 if test -z "$PKG_CONFIG"; then
25526 # Extract the first word of "pkg-config", so it can be a program name with args.
25527 set dummy pkg-config; ac_word=$2
25528 echo "$as_me:$LINENO: checking for $ac_word" >&5
25529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533 case $PKG_CONFIG in
25534 [\\/]* | ?:[\\/]*)
25535 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25536 ;;
25537 *)
25538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25539 for as_dir in $PATH
25540 do
25541 IFS=$as_save_IFS
25542 test -z "$as_dir" && as_dir=.
25543 for ac_exec_ext in '' $ac_executable_extensions; do
25544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25545 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25547 break 2
25548 fi
25549 done
25550 done
25551
25552 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25553 ;;
25554 esac
25555 fi
25556 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25557
25558 if test -n "$PKG_CONFIG"; then
25559 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25560 echo "${ECHO_T}$PKG_CONFIG" >&6
25561 else
25562 echo "$as_me:$LINENO: result: no" >&5
25563 echo "${ECHO_T}no" >&6
25564 fi
25565
25566 fi
25567
25568 if test "$PKG_CONFIG" = "no" ; then
25569 echo "*** The pkg-config script could not be found. Make sure it is"
25570 echo "*** in your path, or set the PKG_CONFIG environment variable"
25571 echo "*** to the full path to pkg-config."
25572 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25573 else
25574 PKG_CONFIG_MIN_VERSION=0.9.0
25575 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25576 echo "$as_me:$LINENO: checking for pangoft2" >&5
25577 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25578
25579 if $PKG_CONFIG --exists "pangoft2" ; then
25580 echo "$as_me:$LINENO: result: yes" >&5
25581 echo "${ECHO_T}yes" >&6
25582 succeeded=yes
25583
25584 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25585 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25586 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25587 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25588 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25589
25590 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25591 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25592 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25593 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25594 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25595 else
25596 PANGOFT2_CFLAGS=""
25597 PANGOFT2_LIBS=""
25598 ## If we have a custom action on failure, don't print errors, but
25599 ## do set a variable so people can do so.
25600 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25601
25602 fi
25603
25604
25605
25606 else
25607 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25608 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25609 fi
25610 fi
25611
25612 if test $succeeded = yes; then
25613
25614 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25615 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25616
25617 else
25618
25619 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25620 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25621 wxUSE_PRINTING_ARCHITECTURE="no"
25622
25623
25624 fi
25625
25626
25627 succeeded=no
25628
25629 if test -z "$PKG_CONFIG"; then
25630 # Extract the first word of "pkg-config", so it can be a program name with args.
25631 set dummy pkg-config; ac_word=$2
25632 echo "$as_me:$LINENO: checking for $ac_word" >&5
25633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25634 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 else
25637 case $PKG_CONFIG in
25638 [\\/]* | ?:[\\/]*)
25639 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25640 ;;
25641 *)
25642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25643 for as_dir in $PATH
25644 do
25645 IFS=$as_save_IFS
25646 test -z "$as_dir" && as_dir=.
25647 for ac_exec_ext in '' $ac_executable_extensions; do
25648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25649 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25651 break 2
25652 fi
25653 done
25654 done
25655
25656 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25657 ;;
25658 esac
25659 fi
25660 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25661
25662 if test -n "$PKG_CONFIG"; then
25663 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25664 echo "${ECHO_T}$PKG_CONFIG" >&6
25665 else
25666 echo "$as_me:$LINENO: result: no" >&5
25667 echo "${ECHO_T}no" >&6
25668 fi
25669
25670 fi
25671
25672 if test "$PKG_CONFIG" = "no" ; then
25673 echo "*** The pkg-config script could not be found. Make sure it is"
25674 echo "*** in your path, or set the PKG_CONFIG environment variable"
25675 echo "*** to the full path to pkg-config."
25676 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25677 else
25678 PKG_CONFIG_MIN_VERSION=0.9.0
25679 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25680 echo "$as_me:$LINENO: checking for pangoxft" >&5
25681 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25682
25683 if $PKG_CONFIG --exists "pangoxft" ; then
25684 echo "$as_me:$LINENO: result: yes" >&5
25685 echo "${ECHO_T}yes" >&6
25686 succeeded=yes
25687
25688 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25689 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25690 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25691 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25692 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25693
25694 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25695 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25696 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25697 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25698 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25699 else
25700 PANGOXFT_CFLAGS=""
25701 PANGOXFT_LIBS=""
25702 ## If we have a custom action on failure, don't print errors, but
25703 ## do set a variable so people can do so.
25704 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25705
25706 fi
25707
25708
25709
25710 else
25711 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25712 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25713 fi
25714 fi
25715
25716 if test $succeeded = yes; then
25717
25718 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25719 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25720
25721 else
25722
25723 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25724 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25725
25726
25727 fi
25728
25729 save_CFLAGS="$CFLAGS"
25730 save_LIBS="$LIBS"
25731 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25732 LIBS="$LIBS $PANGOX_LIBS"
25733
25734 for ac_func in pango_font_family_is_monospace
25735 do
25736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25737 echo "$as_me:$LINENO: checking for $ac_func" >&5
25738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25739 if eval "test \"\${$as_ac_var+set}\" = set"; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 else
25742 cat >conftest.$ac_ext <<_ACEOF
25743 /* confdefs.h. */
25744 _ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25750 #define $ac_func innocuous_$ac_func
25751
25752 /* System header to define __stub macros and hopefully few prototypes,
25753 which can conflict with char $ac_func (); below.
25754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25755 <limits.h> exists even on freestanding compilers. */
25756
25757 #ifdef __STDC__
25758 # include <limits.h>
25759 #else
25760 # include <assert.h>
25761 #endif
25762
25763 #undef $ac_func
25764
25765 /* Override any gcc2 internal prototype to avoid an error. */
25766 #ifdef __cplusplus
25767 extern "C"
25768 {
25769 #endif
25770 /* We use char because int might match the return type of a gcc2
25771 builtin and then its argument prototype would still apply. */
25772 char $ac_func ();
25773 /* The GNU C library defines this for functions which it implements
25774 to always fail with ENOSYS. Some functions are actually named
25775 something starting with __ and the normal name is an alias. */
25776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25777 choke me
25778 #else
25779 char (*f) () = $ac_func;
25780 #endif
25781 #ifdef __cplusplus
25782 }
25783 #endif
25784
25785 int
25786 main ()
25787 {
25788 return f != $ac_func;
25789 ;
25790 return 0;
25791 }
25792 _ACEOF
25793 rm -f conftest.$ac_objext conftest$ac_exeext
25794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25795 (eval $ac_link) 2>conftest.er1
25796 ac_status=$?
25797 grep -v '^ *+' conftest.er1 >conftest.err
25798 rm -f conftest.er1
25799 cat conftest.err >&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); } &&
25802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25804 (eval $ac_try) 2>&5
25805 ac_status=$?
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); }; } &&
25808 { ac_try='test -s conftest$ac_exeext'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 eval "$as_ac_var=yes"
25815 else
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.$ac_ext >&5
25818
25819 eval "$as_ac_var=no"
25820 fi
25821 rm -f conftest.err conftest.$ac_objext \
25822 conftest$ac_exeext conftest.$ac_ext
25823 fi
25824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25826 if test `eval echo '${'$as_ac_var'}'` = yes; then
25827 cat >>confdefs.h <<_ACEOF
25828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25829 _ACEOF
25830
25831 fi
25832 done
25833
25834 CFLAGS="$save_CFLAGS"
25835 LIBS="$save_LIBS"
25836 fi
25837
25838 wxUSE_UNIVERSAL="yes"
25839
25840 if test "$wxUSE_NANOX" = "yes"; then
25841 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25842 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"
25843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25844 else
25845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25846 fi
25847
25848 TOOLKIT=X11
25849 GUIDIST=X11_DIST
25850 fi
25851
25852 if test "$wxUSE_MOTIF" = 1; then
25853 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25854 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25855
25856 ac_find_includes=
25857 for ac_dir in $SEARCH_INCLUDE /usr/include;
25858 do
25859 if test -f "$ac_dir/Xm/Xm.h"; then
25860 ac_find_includes=$ac_dir
25861 break
25862 fi
25863 done
25864
25865 if test "$ac_find_includes" != "" ; then
25866 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25867 echo "${ECHO_T}found in $ac_find_includes" >&6
25868
25869 if test "x$ac_find_includes" = "x/usr/include"; then
25870 ac_path_to_include=""
25871 else
25872 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25873 result=$?
25874 if test $result = 0; then
25875 ac_path_to_include=""
25876 else
25877 ac_path_to_include=" -I$ac_find_includes"
25878 fi
25879 fi
25880
25881 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25882 else
25883 cat >conftest.$ac_ext <<_ACEOF
25884 /* confdefs.h. */
25885 _ACEOF
25886 cat confdefs.h >>conftest.$ac_ext
25887 cat >>conftest.$ac_ext <<_ACEOF
25888 /* end confdefs.h. */
25889
25890 #include <Xm/Xm.h>
25891
25892 int
25893 main ()
25894 {
25895
25896 int version;
25897 version = xmUseVersion;
25898
25899 ;
25900 return 0;
25901 }
25902 _ACEOF
25903 rm -f conftest.$ac_objext
25904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25905 (eval $ac_compile) 2>conftest.er1
25906 ac_status=$?
25907 grep -v '^ *+' conftest.er1 >conftest.err
25908 rm -f conftest.er1
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } &&
25912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25914 (eval $ac_try) 2>&5
25915 ac_status=$?
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); }; } &&
25918 { ac_try='test -s conftest.$ac_objext'
25919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25920 (eval $ac_try) 2>&5
25921 ac_status=$?
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); }; }; then
25924
25925 echo "$as_me:$LINENO: result: found in default search path" >&5
25926 echo "${ECHO_T}found in default search path" >&6
25927 COMPILED_X_PROGRAM=1
25928
25929 else
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.$ac_ext >&5
25932
25933
25934 echo "$as_me:$LINENO: result: no" >&5
25935 echo "${ECHO_T}no" >&6
25936 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25937 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25938 { (exit 1); exit 1; }; }
25939
25940
25941 fi
25942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25943 fi
25944
25945 if test "$COMPILED_X_PROGRAM" = 0; then
25946 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25947 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25948
25949 ac_find_libraries=
25950 for ac_dir in $SEARCH_LIB /usr/lib;
25951 do
25952 for ac_extension in a so sl dylib; do
25953 if test -f "$ac_dir/libXm.$ac_extension"; then
25954 ac_find_libraries=$ac_dir
25955 break 2
25956 fi
25957 done
25958 done
25959
25960 if test "$ac_find_libraries" != "" ; then
25961 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25962 echo "${ECHO_T}found at $ac_find_libraries" >&6
25963
25964
25965 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25966 result=$?
25967 if test $result = 0; then
25968 ac_path_to_link=""
25969 else
25970 ac_path_to_link=" -L$ac_find_libraries"
25971 fi
25972
25973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25974 else
25975 save_CFLAGS=$CFLAGS
25976 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25977
25978 cat >conftest.$ac_ext <<_ACEOF
25979 /* confdefs.h. */
25980 _ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25984
25985 #include <Xm/Xm.h>
25986
25987 int
25988 main ()
25989 {
25990
25991 int version;
25992 version = xmUseVersion;
25993
25994 ;
25995 return 0;
25996 }
25997 _ACEOF
25998 rm -f conftest.$ac_objext
25999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26000 (eval $ac_compile) 2>conftest.er1
26001 ac_status=$?
26002 grep -v '^ *+' conftest.er1 >conftest.err
26003 rm -f conftest.er1
26004 cat conftest.err >&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); } &&
26007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26010 ac_status=$?
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; } &&
26013 { ac_try='test -s conftest.$ac_objext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26019
26020 echo "$as_me:$LINENO: result: found in default search path" >&5
26021 echo "${ECHO_T}found in default search path" >&6
26022 COMPILED_X_PROGRAM=1
26023
26024 else
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26027
26028
26029 echo "$as_me:$LINENO: result: no" >&5
26030 echo "${ECHO_T}no" >&6
26031 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26032 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26033 { (exit 1); exit 1; }; }
26034
26035
26036 fi
26037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26038
26039 CFLAGS=$save_CFLAGS
26040 fi
26041 fi
26042
26043 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26044 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26045 libp_link=""
26046 libsm_ice_link=""
26047 libs_found=0
26048 for libp in "" " -lXp"; do
26049 if test "$libs_found" = "0"; then
26050 for libsm_ice in "" " -lSM -lICE"; do
26051 if test "$libs_found" = "0"; then
26052 save_LIBS="$LIBS"
26053 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26054 save_CFLAGS=$CFLAGS
26055 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26056
26057 cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h. */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26063
26064 #include <Xm/Xm.h>
26065 #include <Xm/List.h>
26066
26067 int
26068 main ()
26069 {
26070
26071 XmString string = NULL;
26072 Widget w = NULL;
26073 int position = 0;
26074 XmListAddItem(w, string, position);
26075
26076 ;
26077 return 0;
26078 }
26079 _ACEOF
26080 rm -f conftest.$ac_objext conftest$ac_exeext
26081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26082 (eval $ac_link) 2>conftest.er1
26083 ac_status=$?
26084 grep -v '^ *+' conftest.er1 >conftest.err
26085 rm -f conftest.er1
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } &&
26089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26092 ac_status=$?
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; } &&
26095 { ac_try='test -s conftest$ac_exeext'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26098 ac_status=$?
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; }; then
26101
26102 libp_link="$libp"
26103 libsm_ice_link="$libsm_ice"
26104 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26105 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26106 libs_found=1
26107
26108 else
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.$ac_ext >&5
26111
26112
26113
26114 fi
26115 rm -f conftest.err conftest.$ac_objext \
26116 conftest$ac_exeext conftest.$ac_ext
26117
26118 LIBS="$save_LIBS"
26119 CFLAGS=$save_CFLAGS
26120 fi
26121 done
26122 fi
26123 done
26124
26125 if test "$libs_found" = "0"; then
26126 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26127 echo "${ECHO_T}can't find the right libraries" >&6
26128 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26129 echo "$as_me: error: can't link a simple motif program" >&2;}
26130 { (exit 1); exit 1; }; }
26131 fi
26132
26133 save_CFLAGS=$CFLAGS
26134 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26135 echo "$as_me:$LINENO: checking for Motif 2" >&5
26136 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26137 cat >conftest.$ac_ext <<_ACEOF
26138 /* confdefs.h. */
26139 _ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26143
26144 #include <Xm/Xm.h>
26145
26146 int
26147 main ()
26148 {
26149
26150 #if XmVersion < 2000
26151 #error "Not Motif 2"
26152 #endif
26153
26154 ;
26155 return 0;
26156 }
26157 _ACEOF
26158 rm -f conftest.$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160 (eval $ac_compile) 2>conftest.er1
26161 ac_status=$?
26162 grep -v '^ *+' conftest.er1 >conftest.err
26163 rm -f conftest.er1
26164 cat conftest.err >&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } &&
26167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26170 ac_status=$?
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; } &&
26173 { ac_try='test -s conftest.$ac_objext'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; }; then
26179
26180 cat >>confdefs.h <<\_ACEOF
26181 #define __WXMOTIF20__ 1
26182 _ACEOF
26183
26184 echo "$as_me:$LINENO: result: found" >&5
26185 echo "${ECHO_T}found" >&6
26186
26187 else
26188 echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.$ac_ext >&5
26190
26191
26192 cat >>confdefs.h <<\_ACEOF
26193 #define __WXMOTIF20__ 0
26194 _ACEOF
26195
26196 echo "$as_me:$LINENO: result: not found" >&5
26197 echo "${ECHO_T}not found" >&6
26198
26199 fi
26200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26201 CFLAGS=$save_CFLAGS
26202
26203 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26204 TOOLKIT=MOTIF
26205 GUIDIST=MOTIF_DIST
26206 fi
26207
26208 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26209 if test "$wxUSE_LIBXPM" = "sys"; then
26210 echo "$as_me:$LINENO: checking for Xpm library" >&5
26211 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26212
26213 ac_find_libraries=
26214 for ac_dir in $SEARCH_LIB /usr/lib;
26215 do
26216 for ac_extension in a so sl dylib; do
26217 if test -f "$ac_dir/libXpm.$ac_extension"; then
26218 ac_find_libraries=$ac_dir
26219 break 2
26220 fi
26221 done
26222 done
26223
26224 if test "$ac_find_libraries" != "" ; then
26225
26226 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26227 result=$?
26228 if test $result = 0; then
26229 ac_path_to_link=""
26230 else
26231 ac_path_to_link=" -L$ac_find_libraries"
26232 fi
26233
26234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26235 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26236 echo "${ECHO_T}found at $ac_find_libraries" >&6
26237
26238 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26239 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26240 if test "${wx_cv_x11_xpm_h+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 else
26243
26244 save_CFLAGS=$CFLAGS
26245 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26246
26247 cat >conftest.$ac_ext <<_ACEOF
26248 /* confdefs.h. */
26249 _ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26253
26254 #include <X11/xpm.h>
26255
26256 int
26257 main ()
26258 {
26259
26260 int version;
26261 version = XpmLibraryVersion();
26262
26263 ;
26264 return 0;
26265 }
26266 _ACEOF
26267 rm -f conftest.$ac_objext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26269 (eval $ac_compile) 2>conftest.er1
26270 ac_status=$?
26271 grep -v '^ *+' conftest.er1 >conftest.err
26272 rm -f conftest.er1
26273 cat conftest.err >&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } &&
26276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26278 (eval $ac_try) 2>&5
26279 ac_status=$?
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); }; } &&
26282 { ac_try='test -s conftest.$ac_objext'
26283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26284 (eval $ac_try) 2>&5
26285 ac_status=$?
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); }; }; then
26288 wx_cv_x11_xpm_h=yes
26289 else
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.$ac_ext >&5
26292
26293 wx_cv_x11_xpm_h=no
26294
26295 fi
26296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26297
26298 CFLAGS=$save_CFLAGS
26299
26300
26301 fi
26302 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26303 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26304
26305 if test $wx_cv_x11_xpm_h = "yes"; then
26306 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26307 cat >>confdefs.h <<\_ACEOF
26308 #define wxHAVE_LIB_XPM 1
26309 _ACEOF
26310
26311 else
26312 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26313 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26314 fi
26315 fi
26316
26317 fi
26318
26319 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26320 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26321 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26322 echo $ECHO_N "(cached) $ECHO_C" >&6
26323 else
26324 ac_check_lib_save_LIBS=$LIBS
26325 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26326 cat >conftest.$ac_ext <<_ACEOF
26327 /* confdefs.h. */
26328 _ACEOF
26329 cat confdefs.h >>conftest.$ac_ext
26330 cat >>conftest.$ac_ext <<_ACEOF
26331 /* end confdefs.h. */
26332
26333 /* Override any gcc2 internal prototype to avoid an error. */
26334 #ifdef __cplusplus
26335 extern "C"
26336 #endif
26337 /* We use char because int might match the return type of a gcc2
26338 builtin and then its argument prototype would still apply. */
26339 char XShapeQueryExtension ();
26340 int
26341 main ()
26342 {
26343 XShapeQueryExtension ();
26344 ;
26345 return 0;
26346 }
26347 _ACEOF
26348 rm -f conftest.$ac_objext conftest$ac_exeext
26349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26350 (eval $ac_link) 2>conftest.er1
26351 ac_status=$?
26352 grep -v '^ *+' conftest.er1 >conftest.err
26353 rm -f conftest.er1
26354 cat conftest.err >&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); } &&
26357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26359 (eval $ac_try) 2>&5
26360 ac_status=$?
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); }; } &&
26363 { ac_try='test -s conftest$ac_exeext'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26366 ac_status=$?
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; }; then
26369 ac_cv_lib_Xext_XShapeQueryExtension=yes
26370 else
26371 echo "$as_me: failed program was:" >&5
26372 sed 's/^/| /' conftest.$ac_ext >&5
26373
26374 ac_cv_lib_Xext_XShapeQueryExtension=no
26375 fi
26376 rm -f conftest.err conftest.$ac_objext \
26377 conftest$ac_exeext conftest.$ac_ext
26378 LIBS=$ac_check_lib_save_LIBS
26379 fi
26380 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26381 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26382 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26383
26384 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26385 wxHAVE_XEXT_LIB=1
26386
26387 fi
26388
26389
26390 if test "$wxHAVE_XEXT_LIB" = 1; then
26391 save_CFLAGS="$CFLAGS"
26392 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26393
26394 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26395 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26396 cat >conftest.$ac_ext <<_ACEOF
26397 /* confdefs.h. */
26398 _ACEOF
26399 cat confdefs.h >>conftest.$ac_ext
26400 cat >>conftest.$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26402
26403 #include <X11/Xlib.h>
26404 #include <X11/extensions/shape.h>
26405
26406 int
26407 main ()
26408 {
26409
26410 int dummy1, dummy2;
26411 XShapeQueryExtension((Display*)NULL,
26412 (int*)NULL, (int*)NULL);
26413
26414 ;
26415 return 0;
26416 }
26417 _ACEOF
26418 rm -f conftest.$ac_objext
26419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26420 (eval $ac_compile) 2>conftest.er1
26421 ac_status=$?
26422 grep -v '^ *+' conftest.er1 >conftest.err
26423 rm -f conftest.er1
26424 cat conftest.err >&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); } &&
26427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26430 ac_status=$?
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; } &&
26433 { ac_try='test -s conftest.$ac_objext'
26434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435 (eval $ac_try) 2>&5
26436 ac_status=$?
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; }; then
26439
26440 cat >>confdefs.h <<\_ACEOF
26441 #define HAVE_XSHAPE 1
26442 _ACEOF
26443
26444 echo "$as_me:$LINENO: result: found" >&5
26445 echo "${ECHO_T}found" >&6
26446
26447 else
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.$ac_ext >&5
26450
26451
26452 echo "$as_me:$LINENO: result: not found" >&5
26453 echo "${ECHO_T}not found" >&6
26454
26455 fi
26456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26457 CFLAGS="$save_CFLAGS"
26458
26459 fi
26460 fi
26461
26462 if test "$wxUSE_MAC" = 1; then
26463 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26464 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26465 if test "$GCC" = yes; then
26466 echo "$as_me:$LINENO: result: gcc" >&5
26467 echo "${ECHO_T}gcc" >&6
26468 CPPFLAGS_PASCAL="-fpascal-strings"
26469 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26470 echo "$as_me:$LINENO: result: xlc" >&5
26471 echo "${ECHO_T}xlc" >&6
26472 CPPFLAGS_PASCAL="-qmacpstr"
26473 else
26474 echo "$as_me:$LINENO: result: none" >&5
26475 echo "${ECHO_T}none" >&6
26476 fi
26477
26478 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26479
26480 TOOLKIT=MAC
26481 GUIDIST=MACX_DIST
26482 WXBASEPORT="_carbon"
26483 fi
26484
26485 if test "$wxUSE_COCOA" = 1; then
26486 TOOLKIT=COCOA
26487 GUIDIST=COCOA_DIST
26488 fi
26489
26490 if test "$wxUSE_PM" = 1; then
26491 TOOLKIT=PM
26492 GUIDIST=PM_DIST
26493 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26494 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26495 if test "${wx_cv_spbcdata+set}" = set; then
26496 echo $ECHO_N "(cached) $ECHO_C" >&6
26497 else
26498
26499 cat >conftest.$ac_ext <<_ACEOF
26500 /* confdefs.h. */
26501 _ACEOF
26502 cat confdefs.h >>conftest.$ac_ext
26503 cat >>conftest.$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26505
26506 #define INCL_PM
26507 #include <os2.h>
26508
26509 int
26510 main ()
26511 {
26512
26513 SPBCDATA test;
26514
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>conftest.er1
26522 ac_status=$?
26523 grep -v '^ *+' conftest.er1 >conftest.err
26524 rm -f conftest.er1
26525 cat conftest.err >&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest.$ac_objext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 wx_cv_spbcdata=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26544
26545 wx_cv_spbcdata=no
26546
26547 fi
26548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26549
26550
26551 fi
26552 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26553 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26554
26555 if test $wx_cv_spbcdata = "yes"; then
26556 cat >>confdefs.h <<\_ACEOF
26557 #define HAVE_SPBCDATA 1
26558 _ACEOF
26559
26560 fi
26561 fi
26562
26563 if test "$TOOLKIT" = "PM" ; then
26564 TOOLKIT_DIR="os2"
26565 else
26566 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26567 fi
26568
26569 if test "$wxUSE_UNIVERSAL" = "yes"; then
26570 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26571 WIDGET_SET=univ
26572 fi
26573
26574 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26575 DISTDIR="wx\$(TOOLKIT)"
26576 else
26577 USE_GUI=0
26578
26579 TOOLKIT_DIR="base"
26580
26581 if test "$USE_WIN32" = 1 ; then
26582 TOOLKIT="MSW"
26583 fi
26584
26585 GUIDIST="BASE_DIST"
26586 DISTDIR="wxBase"
26587 fi
26588
26589
26590
26591
26592 IODBC_C_SRC=""
26593
26594
26595 if test "$TOOLKIT" != "MSW" ; then
26596
26597 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26598
26599 if test "${ac_cv_header_sql_h+set}" = set; then
26600 echo "$as_me:$LINENO: checking for sql.h" >&5
26601 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26602 if test "${ac_cv_header_sql_h+set}" = set; then
26603 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 fi
26605 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26606 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26607 else
26608 # Is the header compilable?
26609 echo "$as_me:$LINENO: checking sql.h usability" >&5
26610 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26611 cat >conftest.$ac_ext <<_ACEOF
26612 /* confdefs.h. */
26613 _ACEOF
26614 cat confdefs.h >>conftest.$ac_ext
26615 cat >>conftest.$ac_ext <<_ACEOF
26616 /* end confdefs.h. */
26617 $ac_includes_default
26618 #include <sql.h>
26619 _ACEOF
26620 rm -f conftest.$ac_objext
26621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26622 (eval $ac_compile) 2>conftest.er1
26623 ac_status=$?
26624 grep -v '^ *+' conftest.er1 >conftest.err
26625 rm -f conftest.er1
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } &&
26629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26631 (eval $ac_try) 2>&5
26632 ac_status=$?
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); }; } &&
26635 { ac_try='test -s conftest.$ac_objext'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26638 ac_status=$?
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; }; then
26641 ac_header_compiler=yes
26642 else
26643 echo "$as_me: failed program was:" >&5
26644 sed 's/^/| /' conftest.$ac_ext >&5
26645
26646 ac_header_compiler=no
26647 fi
26648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26650 echo "${ECHO_T}$ac_header_compiler" >&6
26651
26652 # Is the header present?
26653 echo "$as_me:$LINENO: checking sql.h presence" >&5
26654 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661 #include <sql.h>
26662 _ACEOF
26663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26665 ac_status=$?
26666 grep -v '^ *+' conftest.er1 >conftest.err
26667 rm -f conftest.er1
26668 cat conftest.err >&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } >/dev/null; then
26671 if test -s conftest.err; then
26672 ac_cpp_err=$ac_c_preproc_warn_flag
26673 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26674 else
26675 ac_cpp_err=
26676 fi
26677 else
26678 ac_cpp_err=yes
26679 fi
26680 if test -z "$ac_cpp_err"; then
26681 ac_header_preproc=yes
26682 else
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26685
26686 ac_header_preproc=no
26687 fi
26688 rm -f conftest.err conftest.$ac_ext
26689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26690 echo "${ECHO_T}$ac_header_preproc" >&6
26691
26692 # So? What about this header?
26693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26694 yes:no: )
26695 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26696 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26697 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26698 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26699 ac_header_preproc=yes
26700 ;;
26701 no:yes:* )
26702 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26703 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26704 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26705 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26706 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26707 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26708 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26709 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26710 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26711 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26712 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26713 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26714 (
26715 cat <<\_ASBOX
26716 ## ----------------------------------------- ##
26717 ## Report this to wx-dev@lists.wxwidgets.org ##
26718 ## ----------------------------------------- ##
26719 _ASBOX
26720 ) |
26721 sed "s/^/$as_me: WARNING: /" >&2
26722 ;;
26723 esac
26724 echo "$as_me:$LINENO: checking for sql.h" >&5
26725 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26726 if test "${ac_cv_header_sql_h+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 else
26729 ac_cv_header_sql_h=$ac_header_preproc
26730 fi
26731 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26732 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26733
26734 fi
26735 if test $ac_cv_header_sql_h = yes; then
26736 found_sql_h=1
26737 fi
26738
26739
26740 if test "x$found_sql_h" = "x1" ; then
26741 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26742 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26743 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 else
26746 ac_check_lib_save_LIBS=$LIBS
26747 LIBS="-liodbc $LIBS"
26748 cat >conftest.$ac_ext <<_ACEOF
26749 /* confdefs.h. */
26750 _ACEOF
26751 cat confdefs.h >>conftest.$ac_ext
26752 cat >>conftest.$ac_ext <<_ACEOF
26753 /* end confdefs.h. */
26754
26755 /* Override any gcc2 internal prototype to avoid an error. */
26756 #ifdef __cplusplus
26757 extern "C"
26758 #endif
26759 /* We use char because int might match the return type of a gcc2
26760 builtin and then its argument prototype would still apply. */
26761 char SQLAllocEnv ();
26762 int
26763 main ()
26764 {
26765 SQLAllocEnv ();
26766 ;
26767 return 0;
26768 }
26769 _ACEOF
26770 rm -f conftest.$ac_objext conftest$ac_exeext
26771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26772 (eval $ac_link) 2>conftest.er1
26773 ac_status=$?
26774 grep -v '^ *+' conftest.er1 >conftest.err
26775 rm -f conftest.er1
26776 cat conftest.err >&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); } &&
26779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26781 (eval $ac_try) 2>&5
26782 ac_status=$?
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); }; } &&
26785 { ac_try='test -s conftest$ac_exeext'
26786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26787 (eval $ac_try) 2>&5
26788 ac_status=$?
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); }; }; then
26791 ac_cv_lib_iodbc_SQLAllocEnv=yes
26792 else
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26795
26796 ac_cv_lib_iodbc_SQLAllocEnv=no
26797 fi
26798 rm -f conftest.err conftest.$ac_objext \
26799 conftest$ac_exeext conftest.$ac_ext
26800 LIBS=$ac_check_lib_save_LIBS
26801 fi
26802 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26803 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26804 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26805 ODBC_LINK=" -liodbc"
26806 else
26807
26808 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26809 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26810 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 else
26813 ac_check_lib_save_LIBS=$LIBS
26814 LIBS="-lunixodbc $LIBS"
26815 cat >conftest.$ac_ext <<_ACEOF
26816 /* confdefs.h. */
26817 _ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821
26822 /* Override any gcc2 internal prototype to avoid an error. */
26823 #ifdef __cplusplus
26824 extern "C"
26825 #endif
26826 /* We use char because int might match the return type of a gcc2
26827 builtin and then its argument prototype would still apply. */
26828 char SQLAllocEnv ();
26829 int
26830 main ()
26831 {
26832 SQLAllocEnv ();
26833 ;
26834 return 0;
26835 }
26836 _ACEOF
26837 rm -f conftest.$ac_objext conftest$ac_exeext
26838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26839 (eval $ac_link) 2>conftest.er1
26840 ac_status=$?
26841 grep -v '^ *+' conftest.er1 >conftest.err
26842 rm -f conftest.er1
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26849 ac_status=$?
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; } &&
26852 { ac_try='test -s conftest$ac_exeext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26855 ac_status=$?
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26859 else
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26862
26863 ac_cv_lib_unixodbc_SQLAllocEnv=no
26864 fi
26865 rm -f conftest.err conftest.$ac_objext \
26866 conftest$ac_exeext conftest.$ac_ext
26867 LIBS=$ac_check_lib_save_LIBS
26868 fi
26869 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26870 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26871 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26872 ODBC_LINK=" -lunixodbc"
26873 else
26874
26875 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26876 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26877 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 else
26880 ac_check_lib_save_LIBS=$LIBS
26881 LIBS="-lodbc $LIBS"
26882 cat >conftest.$ac_ext <<_ACEOF
26883 /* confdefs.h. */
26884 _ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26888
26889 /* Override any gcc2 internal prototype to avoid an error. */
26890 #ifdef __cplusplus
26891 extern "C"
26892 #endif
26893 /* We use char because int might match the return type of a gcc2
26894 builtin and then its argument prototype would still apply. */
26895 char SQLAllocEnv ();
26896 int
26897 main ()
26898 {
26899 SQLAllocEnv ();
26900 ;
26901 return 0;
26902 }
26903 _ACEOF
26904 rm -f conftest.$ac_objext conftest$ac_exeext
26905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26906 (eval $ac_link) 2>conftest.er1
26907 ac_status=$?
26908 grep -v '^ *+' conftest.er1 >conftest.err
26909 rm -f conftest.er1
26910 cat conftest.err >&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } &&
26913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 ac_cv_lib_odbc_SQLAllocEnv=yes
26926 else
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26929
26930 ac_cv_lib_odbc_SQLAllocEnv=no
26931 fi
26932 rm -f conftest.err conftest.$ac_objext \
26933 conftest$ac_exeext conftest.$ac_ext
26934 LIBS=$ac_check_lib_save_LIBS
26935 fi
26936 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26937 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26938 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26939 ODBC_LINK=" -lodbc"
26940 fi
26941
26942
26943 fi
26944
26945
26946 fi
26947
26948 fi
26949 if test "x$ODBC_LINK" = "x" ; then
26950 if test "$wxUSE_ODBC" = "sys" ; then
26951 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26952 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26953 { (exit 1); exit 1; }; }
26954 else
26955 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26956 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26957 wxUSE_ODBC=builtin
26958 fi
26959 else
26960 wxUSE_ODBC=sys
26961 fi
26962 fi
26963 if test "$wxUSE_ODBC" != "no" ; then
26964 cat >>confdefs.h <<\_ACEOF
26965 #define wxUSE_ODBC 1
26966 _ACEOF
26967
26968 if test "$wxUSE_ODBC" = "builtin" ; then
26969 cat >>confdefs.h <<\_ACEOF
26970 #define wxUSE_BUILTIN_IODBC 1
26971 _ACEOF
26972
26973 fi
26974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26975
26976 WXODBCFLAG="-D_IODBC_"
26977 fi
26978 fi
26979
26980
26981
26982 if test "$wxUSE_DISPLAY" = "yes"; then
26983 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26984 echo "$as_me:$LINENO: checking for Xinerama" >&5
26985 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26986
26987 ac_find_libraries=
26988 for ac_dir in $SEARCH_LIB /usr/lib;
26989 do
26990 for ac_extension in a so sl dylib; do
26991 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26992 ac_find_libraries=$ac_dir
26993 break 2
26994 fi
26995 done
26996 done
26997
26998 if test "$ac_find_libraries" != "" ; then
26999
27000 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27001 result=$?
27002 if test $result = 0; then
27003 ac_path_to_link=""
27004 else
27005 ac_path_to_link=" -L$ac_find_libraries"
27006 fi
27007
27008 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27009 LDFLAGS="$LDFLAGS $ac_path_to_link"
27010 fi
27011 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27012 echo "$as_me:$LINENO: result: yes" >&5
27013 echo "${ECHO_T}yes" >&6
27014
27015 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27016 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27017
27018 ac_find_libraries=
27019 for ac_dir in $SEARCH_LIB /usr/lib;
27020 do
27021 for ac_extension in a so sl dylib; do
27022 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27023 ac_find_libraries=$ac_dir
27024 break 2
27025 fi
27026 done
27027 done
27028
27029 if test "$ac_find_libraries" != "" ; then
27030 echo "$as_me:$LINENO: result: yes" >&5
27031 echo "${ECHO_T}yes" >&6
27032
27033 for ac_header in X11/extensions/xf86vmode.h
27034 do
27035 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27036 echo "$as_me:$LINENO: checking for $ac_header" >&5
27037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 else
27041 cat >conftest.$ac_ext <<_ACEOF
27042 /* confdefs.h. */
27043 _ACEOF
27044 cat confdefs.h >>conftest.$ac_ext
27045 cat >>conftest.$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27047
27048 #if HAVE_X11_XLIB_H
27049 #include <X11/Xlib.h>
27050 #endif
27051
27052
27053 #include <$ac_header>
27054 _ACEOF
27055 rm -f conftest.$ac_objext
27056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27057 (eval $ac_compile) 2>conftest.er1
27058 ac_status=$?
27059 grep -v '^ *+' conftest.er1 >conftest.err
27060 rm -f conftest.er1
27061 cat conftest.err >&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } &&
27064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; } &&
27070 { ac_try='test -s conftest.$ac_objext'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; }; then
27076 eval "$as_ac_Header=yes"
27077 else
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27080
27081 eval "$as_ac_Header=no"
27082 fi
27083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27084 fi
27085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27088 cat >>confdefs.h <<_ACEOF
27089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27090 _ACEOF
27091
27092 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27093
27094 fi
27095
27096 done
27097
27098 else
27099 echo "$as_me:$LINENO: result: no" >&5
27100 echo "${ECHO_T}no" >&6
27101 fi
27102
27103 else
27104 echo "$as_me:$LINENO: result: no" >&5
27105 echo "${ECHO_T}no" >&6
27106 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27107 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27108 wxUSE_DISPLAY="no"
27109 fi
27110 elif test "$wxUSE_MSW" = 1; then
27111
27112
27113 for ac_header in multimon.h ddraw.h
27114 do
27115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 fi
27122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27124 else
27125 # Is the header compilable?
27126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27128 cat >conftest.$ac_ext <<_ACEOF
27129 /* confdefs.h. */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 $ac_includes_default
27135 #include <$ac_header>
27136 _ACEOF
27137 rm -f conftest.$ac_objext
27138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27139 (eval $ac_compile) 2>conftest.er1
27140 ac_status=$?
27141 grep -v '^ *+' conftest.er1 >conftest.err
27142 rm -f conftest.er1
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } &&
27146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27149 ac_status=$?
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; } &&
27152 { ac_try='test -s conftest.$ac_objext'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27155 ac_status=$?
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; }; then
27158 ac_header_compiler=yes
27159 else
27160 echo "$as_me: failed program was:" >&5
27161 sed 's/^/| /' conftest.$ac_ext >&5
27162
27163 ac_header_compiler=no
27164 fi
27165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27167 echo "${ECHO_T}$ac_header_compiler" >&6
27168
27169 # Is the header present?
27170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178 #include <$ac_header>
27179 _ACEOF
27180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27182 ac_status=$?
27183 grep -v '^ *+' conftest.er1 >conftest.err
27184 rm -f conftest.er1
27185 cat conftest.err >&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } >/dev/null; then
27188 if test -s conftest.err; then
27189 ac_cpp_err=$ac_c_preproc_warn_flag
27190 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27191 else
27192 ac_cpp_err=
27193 fi
27194 else
27195 ac_cpp_err=yes
27196 fi
27197 if test -z "$ac_cpp_err"; then
27198 ac_header_preproc=yes
27199 else
27200 echo "$as_me: failed program was:" >&5
27201 sed 's/^/| /' conftest.$ac_ext >&5
27202
27203 ac_header_preproc=no
27204 fi
27205 rm -f conftest.err conftest.$ac_ext
27206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27207 echo "${ECHO_T}$ac_header_preproc" >&6
27208
27209 # So? What about this header?
27210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27211 yes:no: )
27212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27216 ac_header_preproc=yes
27217 ;;
27218 no:yes:* )
27219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27231 (
27232 cat <<\_ASBOX
27233 ## ----------------------------------------- ##
27234 ## Report this to wx-dev@lists.wxwidgets.org ##
27235 ## ----------------------------------------- ##
27236 _ASBOX
27237 ) |
27238 sed "s/^/$as_me: WARNING: /" >&2
27239 ;;
27240 esac
27241 echo "$as_me:$LINENO: checking for $ac_header" >&5
27242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27245 else
27246 eval "$as_ac_Header=\$ac_header_preproc"
27247 fi
27248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27250
27251 fi
27252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27253 cat >>confdefs.h <<_ACEOF
27254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27255 _ACEOF
27256
27257 else
27258
27259 wxUSE_DISPLAY="no"
27260 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27261 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27262
27263 fi
27264
27265 done
27266
27267 fi
27268 fi
27269
27270
27271 if test "$wxUSE_MEDIACTRL" = "yes"; then
27272 if test "$wxUSE_MSW" = 1; then
27273 wxUSE_DIRECTSHOW="yes"
27274
27275 for ac_header in dshow.h
27276 do
27277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27279 echo "$as_me:$LINENO: checking for $ac_header" >&5
27280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27282 echo $ECHO_N "(cached) $ECHO_C" >&6
27283 fi
27284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27286 else
27287 # Is the header compilable?
27288 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27289 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27290 cat >conftest.$ac_ext <<_ACEOF
27291 /* confdefs.h. */
27292 _ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27296 $ac_includes_default
27297 #include <$ac_header>
27298 _ACEOF
27299 rm -f conftest.$ac_objext
27300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27301 (eval $ac_compile) 2>conftest.er1
27302 ac_status=$?
27303 grep -v '^ *+' conftest.er1 >conftest.err
27304 rm -f conftest.er1
27305 cat conftest.err >&5
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); } &&
27308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27310 (eval $ac_try) 2>&5
27311 ac_status=$?
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); }; } &&
27314 { ac_try='test -s conftest.$ac_objext'
27315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27316 (eval $ac_try) 2>&5
27317 ac_status=$?
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); }; }; then
27320 ac_header_compiler=yes
27321 else
27322 echo "$as_me: failed program was:" >&5
27323 sed 's/^/| /' conftest.$ac_ext >&5
27324
27325 ac_header_compiler=no
27326 fi
27327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27329 echo "${ECHO_T}$ac_header_compiler" >&6
27330
27331 # Is the header present?
27332 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27333 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27334 cat >conftest.$ac_ext <<_ACEOF
27335 /* confdefs.h. */
27336 _ACEOF
27337 cat confdefs.h >>conftest.$ac_ext
27338 cat >>conftest.$ac_ext <<_ACEOF
27339 /* end confdefs.h. */
27340 #include <$ac_header>
27341 _ACEOF
27342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27344 ac_status=$?
27345 grep -v '^ *+' conftest.er1 >conftest.err
27346 rm -f conftest.er1
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } >/dev/null; then
27350 if test -s conftest.err; then
27351 ac_cpp_err=$ac_c_preproc_warn_flag
27352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27353 else
27354 ac_cpp_err=
27355 fi
27356 else
27357 ac_cpp_err=yes
27358 fi
27359 if test -z "$ac_cpp_err"; then
27360 ac_header_preproc=yes
27361 else
27362 echo "$as_me: failed program was:" >&5
27363 sed 's/^/| /' conftest.$ac_ext >&5
27364
27365 ac_header_preproc=no
27366 fi
27367 rm -f conftest.err conftest.$ac_ext
27368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27369 echo "${ECHO_T}$ac_header_preproc" >&6
27370
27371 # So? What about this header?
27372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27373 yes:no: )
27374 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27375 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27377 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27378 ac_header_preproc=yes
27379 ;;
27380 no:yes:* )
27381 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27382 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27383 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27384 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27385 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27386 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27387 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27388 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27390 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27391 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27392 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27393 (
27394 cat <<\_ASBOX
27395 ## ----------------------------------------- ##
27396 ## Report this to wx-dev@lists.wxwidgets.org ##
27397 ## ----------------------------------------- ##
27398 _ASBOX
27399 ) |
27400 sed "s/^/$as_me: WARNING: /" >&2
27401 ;;
27402 esac
27403 echo "$as_me:$LINENO: checking for $ac_header" >&5
27404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 else
27408 eval "$as_ac_Header=\$ac_header_preproc"
27409 fi
27410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27412
27413 fi
27414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27415 cat >>confdefs.h <<_ACEOF
27416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27417 _ACEOF
27418
27419 else
27420
27421 wxUSE_DIRECTSHOW="no"
27422 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27423 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27424
27425 fi
27426
27427 done
27428
27429
27430 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27431 cat >>confdefs.h <<\_ACEOF
27432 #define wxUSE_DIRECTSHOW 1
27433 _ACEOF
27434
27435 LIBS="$LIBS -lstrmiids"
27436 fi
27437 fi
27438 fi
27439
27440
27441 USE_OPENGL=0
27442 if test "$wxUSE_OPENGL" = "yes"; then
27443 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27444 OPENGL_LIBS="-framework OpenGL -framework AGL"
27445 elif test "$wxUSE_MSW" = 1; then
27446 OPENGL_LIBS="-lopengl32 -lglu32"
27447 else
27448
27449
27450 ac_find_includes=
27451 for ac_dir in $SEARCH_INCLUDE /usr/include;
27452 do
27453 if test -f "$ac_dir/GL/gl.h"; then
27454 ac_find_includes=$ac_dir
27455 break
27456 fi
27457 done
27458
27459 if test "$ac_find_includes" != "" ; then
27460 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27461 echo "${ECHO_T}found in $ac_find_includes" >&6
27462
27463 if test "x$ac_find_includes" = "x/usr/include"; then
27464 ac_path_to_include=""
27465 else
27466 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27467 result=$?
27468 if test $result = 0; then
27469 ac_path_to_include=""
27470 else
27471 ac_path_to_include=" -I$ac_find_includes"
27472 fi
27473 fi
27474
27475 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27476 fi
27477
27478 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27479 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27480 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27481 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27482 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 fi
27484 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27485 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27486 else
27487 # Is the header compilable?
27488 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27489 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27490 cat >conftest.$ac_ext <<_ACEOF
27491 /* confdefs.h. */
27492 _ACEOF
27493 cat confdefs.h >>conftest.$ac_ext
27494 cat >>conftest.$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27496 $ac_includes_default
27497 #include <GL/gl.h>
27498 _ACEOF
27499 rm -f conftest.$ac_objext
27500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27501 (eval $ac_compile) 2>conftest.er1
27502 ac_status=$?
27503 grep -v '^ *+' conftest.er1 >conftest.err
27504 rm -f conftest.er1
27505 cat conftest.err >&5
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); } &&
27508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27511 ac_status=$?
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; } &&
27514 { ac_try='test -s conftest.$ac_objext'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27517 ac_status=$?
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; }; then
27520 ac_header_compiler=yes
27521 else
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.$ac_ext >&5
27524
27525 ac_header_compiler=no
27526 fi
27527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27529 echo "${ECHO_T}$ac_header_compiler" >&6
27530
27531 # Is the header present?
27532 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27533 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27534 cat >conftest.$ac_ext <<_ACEOF
27535 /* confdefs.h. */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540 #include <GL/gl.h>
27541 _ACEOF
27542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27544 ac_status=$?
27545 grep -v '^ *+' conftest.er1 >conftest.err
27546 rm -f conftest.er1
27547 cat conftest.err >&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } >/dev/null; then
27550 if test -s conftest.err; then
27551 ac_cpp_err=$ac_c_preproc_warn_flag
27552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27553 else
27554 ac_cpp_err=
27555 fi
27556 else
27557 ac_cpp_err=yes
27558 fi
27559 if test -z "$ac_cpp_err"; then
27560 ac_header_preproc=yes
27561 else
27562 echo "$as_me: failed program was:" >&5
27563 sed 's/^/| /' conftest.$ac_ext >&5
27564
27565 ac_header_preproc=no
27566 fi
27567 rm -f conftest.err conftest.$ac_ext
27568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27569 echo "${ECHO_T}$ac_header_preproc" >&6
27570
27571 # So? What about this header?
27572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27573 yes:no: )
27574 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27575 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27576 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27577 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27578 ac_header_preproc=yes
27579 ;;
27580 no:yes:* )
27581 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27582 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27583 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27584 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27585 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27586 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27587 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27588 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27589 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27590 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27591 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27592 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27593 (
27594 cat <<\_ASBOX
27595 ## ----------------------------------------- ##
27596 ## Report this to wx-dev@lists.wxwidgets.org ##
27597 ## ----------------------------------------- ##
27598 _ASBOX
27599 ) |
27600 sed "s/^/$as_me: WARNING: /" >&2
27601 ;;
27602 esac
27603 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27604 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27605 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 else
27608 ac_cv_header_GL_gl_h=$ac_header_preproc
27609 fi
27610 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27611 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27612
27613 fi
27614 if test $ac_cv_header_GL_gl_h = yes; then
27615
27616 found_gl=0
27617
27618 echo "$as_me:$LINENO: checking for -lGL" >&5
27619 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27620
27621 ac_find_libraries=
27622 for ac_dir in $SEARCH_LIB /usr/lib;
27623 do
27624 for ac_extension in a so sl dylib; do
27625 if test -f "$ac_dir/libGL.$ac_extension"; then
27626 ac_find_libraries=$ac_dir
27627 break 2
27628 fi
27629 done
27630 done
27631
27632 if test "$ac_find_libraries" != "" ; then
27633
27634 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27635 result=$?
27636 if test $result = 0; then
27637 ac_path_to_link=""
27638 else
27639 ac_path_to_link=" -L$ac_find_libraries"
27640 fi
27641
27642 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27643 LDFLAGS_GL="$ac_path_to_link"
27644 fi
27645
27646
27647 ac_find_libraries=
27648 for ac_dir in $SEARCH_LIB /usr/lib;
27649 do
27650 for ac_extension in a so sl dylib; do
27651 if test -f "$ac_dir/libGLU.$ac_extension"; then
27652 ac_find_libraries=$ac_dir
27653 break 2
27654 fi
27655 done
27656 done
27657
27658 if test "$ac_find_libraries" != "" ; then
27659
27660 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27661 result=$?
27662 if test $result = 0; then
27663 ac_path_to_link=""
27664 else
27665 ac_path_to_link=" -L$ac_find_libraries"
27666 fi
27667
27668 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27669 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27670 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27671 fi
27672
27673 found_gl=1
27674 OPENGL_LIBS="-lGL -lGLU"
27675 echo "$as_me:$LINENO: result: yes" >&5
27676 echo "${ECHO_T}yes" >&6
27677 fi
27678 fi
27679
27680 if test "$found_gl" != 1; then
27681 echo "$as_me:$LINENO: result: no" >&5
27682 echo "${ECHO_T}no" >&6
27683 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27684 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27685
27686 ac_find_libraries=
27687 for ac_dir in $SEARCH_LIB /usr/lib;
27688 do
27689 for ac_extension in a so sl dylib; do
27690 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27691 ac_find_libraries=$ac_dir
27692 break 2
27693 fi
27694 done
27695 done
27696
27697 if test "$ac_find_libraries" != "" ; then
27698
27699 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27700 result=$?
27701 if test $result = 0; then
27702 ac_path_to_link=""
27703 else
27704 ac_path_to_link=" -L$ac_find_libraries"
27705 fi
27706
27707 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27708 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27709 echo "$as_me:$LINENO: result: yes" >&5
27710 echo "${ECHO_T}yes" >&6
27711 else
27712 echo "$as_me:$LINENO: result: no" >&5
27713 echo "${ECHO_T}no" >&6
27714 fi
27715 fi
27716
27717 fi
27718
27719
27720
27721 if test "x$OPENGL_LIBS" = "x"; then
27722 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27723 echo "$as_me: error: OpenGL libraries not available" >&2;}
27724 { (exit 1); exit 1; }; }
27725 fi
27726 fi
27727
27728 if test "$wxUSE_OPENGL" = "yes"; then
27729 USE_OPENGL=1
27730 cat >>confdefs.h <<\_ACEOF
27731 #define wxUSE_OPENGL 1
27732 _ACEOF
27733
27734 cat >>confdefs.h <<\_ACEOF
27735 #define wxUSE_GLCANVAS 1
27736 _ACEOF
27737
27738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27739 fi
27740 fi
27741
27742
27743 if test -n "$TOOLKIT" ; then
27744 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27745 fi
27746
27747
27748
27749 if test "$wxUSE_SHARED" = "yes"; then
27750 case "${host}" in
27751 *-pc-msdosdjgpp )
27752 wxUSE_SHARED=no
27753 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27754 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27755 ;;
27756 esac
27757 fi
27758
27759 if test "$wxUSE_SHARED" = "yes"; then
27760
27761
27762 found_versioning=no
27763
27764
27765 if test $found_versioning = no ; then
27766 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27767 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27768 if test "${wx_cv_version_script+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 else
27771
27772 echo "VER_1 { *; };" >conftest.sym
27773 echo "int main() { return 0; }" >conftest.cpp
27774
27775 if { ac_try='
27776 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27777 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27780 ac_status=$?
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; } ; then
27783 if test -s conftest.stderr ; then
27784 wx_cv_version_script=no
27785 else
27786 wx_cv_version_script=yes
27787 fi
27788 else
27789 wx_cv_version_script=no
27790 fi
27791 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27792
27793 fi
27794 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27795 echo "${ECHO_T}$wx_cv_version_script" >&6
27796 if test $wx_cv_version_script = yes ; then
27797 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27798 fi
27799 fi
27800
27801
27802 case "${host}" in
27803 *-*-linux* | *-*-gnu* )
27804 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27805 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27806 ;;
27807
27808 *-*-solaris2* )
27809 if test "$GCC" = yes ; then
27810 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27811
27812 saveLdflags="$LDFLAGS"
27813 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27814 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27815 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27816 cat >conftest.$ac_ext <<_ACEOF
27817 /* confdefs.h. */
27818 _ACEOF
27819 cat confdefs.h >>conftest.$ac_ext
27820 cat >>conftest.$ac_ext <<_ACEOF
27821 /* end confdefs.h. */
27822
27823 int
27824 main ()
27825 {
27826
27827 ;
27828 return 0;
27829 }
27830 _ACEOF
27831 rm -f conftest.$ac_objext conftest$ac_exeext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27833 (eval $ac_link) 2>conftest.er1
27834 ac_status=$?
27835 grep -v '^ *+' conftest.er1 >conftest.err
27836 rm -f conftest.er1
27837 cat conftest.err >&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); } &&
27840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27843 ac_status=$?
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; } &&
27846 { ac_try='test -s conftest$ac_exeext'
27847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848 (eval $ac_try) 2>&5
27849 ac_status=$?
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); }; }; then
27852
27853 echo "$as_me:$LINENO: result: yes" >&5
27854 echo "${ECHO_T}yes" >&6
27855 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27856 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27857
27858 else
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27861
27862
27863 echo "$as_me:$LINENO: result: no" >&5
27864 echo "${ECHO_T}no" >&6
27865 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27866 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27867 LDFLAGS="$saveLdflags -Wl,-R,/"
27868 cat >conftest.$ac_ext <<_ACEOF
27869 /* confdefs.h. */
27870 _ACEOF
27871 cat confdefs.h >>conftest.$ac_ext
27872 cat >>conftest.$ac_ext <<_ACEOF
27873 /* end confdefs.h. */
27874
27875 int
27876 main ()
27877 {
27878
27879 ;
27880 return 0;
27881 }
27882 _ACEOF
27883 rm -f conftest.$ac_objext conftest$ac_exeext
27884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27885 (eval $ac_link) 2>conftest.er1
27886 ac_status=$?
27887 grep -v '^ *+' conftest.er1 >conftest.err
27888 rm -f conftest.er1
27889 cat conftest.err >&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } &&
27892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27895 ac_status=$?
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; } &&
27898 { ac_try='test -s conftest$ac_exeext'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27901 ac_status=$?
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; }; then
27904
27905 echo "$as_me:$LINENO: result: yes" >&5
27906 echo "${ECHO_T}yes" >&6
27907 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27908 WXCONFIG_RPATH="-Wl,-R,\$libdir"
27909
27910 else
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.$ac_ext >&5
27913
27914
27915 echo "$as_me:$LINENO: result: no" >&5
27916 echo "${ECHO_T}no" >&6
27917
27918 fi
27919 rm -f conftest.err conftest.$ac_objext \
27920 conftest$ac_exeext conftest.$ac_ext
27921
27922 fi
27923 rm -f conftest.err conftest.$ac_objext \
27924 conftest$ac_exeext conftest.$ac_ext
27925 LDFLAGS="$saveLdflags"
27926 else
27927 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27928 WXCONFIG_RPATH="-R\$libdir"
27929 fi
27930 ;;
27931
27932 powerpc-*-darwin* )
27933 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27934 cat <<EOF >change-install-names
27935 #!/bin/sh
27936 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27937 inst_cmd="install_name_tool "
27938 for i in \${libnames} ; do
27939 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27940 done
27941 \${inst_cmd} \${3}
27942 EOF
27943 chmod +x change-install-names
27944 ;;
27945
27946 *-*-cygwin* | *-*-mingw32* )
27947 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27948 ;;
27949
27950 esac
27951
27952 if test $wxUSE_RPATH = "no"; then
27953 SAMPLES_RPATH_FLAG=''
27954 SAMPLES_RPATH_POSTLINK=''
27955 WXCONFIG_RPATH=''
27956 fi
27957
27958 SHARED=1
27959
27960 else
27961
27962 config_linkage_component="-static"
27963 SHARED=0
27964
27965 fi
27966
27967
27968 UNICODE=0
27969 lib_unicode_suffix=
27970 WX_CHARTYPE="ansi"
27971 if test "$wxUSE_UNICODE" = "yes"; then
27972 lib_unicode_suffix=u
27973 WX_CHARTYPE="unicode"
27974 UNICODE=1
27975 fi
27976
27977 lib_debug_suffix=
27978 WX_DEBUGTYPE="release"
27979 DEBUG_FLAG=0
27980 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27981 lib_debug_suffix=d
27982 WX_DEBUGTYPE="debug"
27983 DEBUG_FLAG=1
27984 fi
27985
27986 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
27987 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
27988
27989 DEBUG_INFO=0
27990 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27991 DEBUG_INFO=1
27992 fi
27993
27994 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27995
27996 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27997
27998 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27999
28000 if test "$cross_compiling" = "yes"; then
28001 HOST_SUFFIX="-$host_alias"
28002 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28003 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28004 fi
28005
28006 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28007 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28008
28009
28010
28011 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28012 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28013 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28014
28015 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28016
28017 # Extract the first word of "Rez", so it can be a program name with args.
28018 set dummy Rez; ac_word=$2
28019 echo "$as_me:$LINENO: checking for $ac_word" >&5
28020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28021 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28022 echo $ECHO_N "(cached) $ECHO_C" >&6
28023 else
28024 if test -n "$RESCOMP"; then
28025 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28026 else
28027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28028 for as_dir in $PATH
28029 do
28030 IFS=$as_save_IFS
28031 test -z "$as_dir" && as_dir=.
28032 for ac_exec_ext in '' $ac_executable_extensions; do
28033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28034 ac_cv_prog_RESCOMP="Rez"
28035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28036 break 2
28037 fi
28038 done
28039 done
28040
28041 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28042 fi
28043 fi
28044 RESCOMP=$ac_cv_prog_RESCOMP
28045 if test -n "$RESCOMP"; then
28046 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28047 echo "${ECHO_T}$RESCOMP" >&6
28048 else
28049 echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6
28051 fi
28052
28053 # Extract the first word of "DeRez", so it can be a program name with args.
28054 set dummy DeRez; ac_word=$2
28055 echo "$as_me:$LINENO: checking for $ac_word" >&5
28056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28057 if test "${ac_cv_prog_DEREZ+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28059 else
28060 if test -n "$DEREZ"; then
28061 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28062 else
28063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28064 for as_dir in $PATH
28065 do
28066 IFS=$as_save_IFS
28067 test -z "$as_dir" && as_dir=.
28068 for ac_exec_ext in '' $ac_executable_extensions; do
28069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28070 ac_cv_prog_DEREZ="DeRez"
28071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28072 break 2
28073 fi
28074 done
28075 done
28076
28077 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28078 fi
28079 fi
28080 DEREZ=$ac_cv_prog_DEREZ
28081 if test -n "$DEREZ"; then
28082 echo "$as_me:$LINENO: result: $DEREZ" >&5
28083 echo "${ECHO_T}$DEREZ" >&6
28084 else
28085 echo "$as_me:$LINENO: result: no" >&5
28086 echo "${ECHO_T}no" >&6
28087 fi
28088
28089 # Extract the first word of "SetFile", so it can be a program name with args.
28090 set dummy SetFile; ac_word=$2
28091 echo "$as_me:$LINENO: checking for $ac_word" >&5
28092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28093 if test "${ac_cv_prog_SETFILE+set}" = set; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 else
28096 if test -n "$SETFILE"; then
28097 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28098 else
28099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28100 for as_dir in $PATH
28101 do
28102 IFS=$as_save_IFS
28103 test -z "$as_dir" && as_dir=.
28104 for ac_exec_ext in '' $ac_executable_extensions; do
28105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28106 ac_cv_prog_SETFILE="SetFile"
28107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28108 break 2
28109 fi
28110 done
28111 done
28112
28113 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28114 fi
28115 fi
28116 SETFILE=$ac_cv_prog_SETFILE
28117 if test -n "$SETFILE"; then
28118 echo "$as_me:$LINENO: result: $SETFILE" >&5
28119 echo "${ECHO_T}$SETFILE" >&6
28120 else
28121 echo "$as_me:$LINENO: result: no" >&5
28122 echo "${ECHO_T}no" >&6
28123 fi
28124
28125
28126 MACSETFILE="\$(SETFILE)"
28127
28128 if test "$wxUSE_MAC" = 1; then
28129 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28130
28131 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28132 else
28133 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28134 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28135 fi
28136 else
28137 MACSETFILE="@true"
28138 MACRESWXCONFIG="@true"
28139
28140 if test "$wxUSE_PM" = 1; then
28141 MACRESCOMP="emxbind -ep"
28142 else
28143 MACRESCOMP="@true"
28144 fi
28145 fi
28146
28147
28148
28149 echo "$as_me:$LINENO: checking for mode_t" >&5
28150 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28151 if test "${ac_cv_type_mode_t+set}" = set; then
28152 echo $ECHO_N "(cached) $ECHO_C" >&6
28153 else
28154 cat >conftest.$ac_ext <<_ACEOF
28155 /* confdefs.h. */
28156 _ACEOF
28157 cat confdefs.h >>conftest.$ac_ext
28158 cat >>conftest.$ac_ext <<_ACEOF
28159 /* end confdefs.h. */
28160 $ac_includes_default
28161 int
28162 main ()
28163 {
28164 if ((mode_t *) 0)
28165 return 0;
28166 if (sizeof (mode_t))
28167 return 0;
28168 ;
28169 return 0;
28170 }
28171 _ACEOF
28172 rm -f conftest.$ac_objext
28173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28174 (eval $ac_compile) 2>conftest.er1
28175 ac_status=$?
28176 grep -v '^ *+' conftest.er1 >conftest.err
28177 rm -f conftest.er1
28178 cat conftest.err >&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); } &&
28181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28183 (eval $ac_try) 2>&5
28184 ac_status=$?
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); }; } &&
28187 { ac_try='test -s conftest.$ac_objext'
28188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28189 (eval $ac_try) 2>&5
28190 ac_status=$?
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); }; }; then
28193 ac_cv_type_mode_t=yes
28194 else
28195 echo "$as_me: failed program was:" >&5
28196 sed 's/^/| /' conftest.$ac_ext >&5
28197
28198 ac_cv_type_mode_t=no
28199 fi
28200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28201 fi
28202 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28203 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28204 if test $ac_cv_type_mode_t = yes; then
28205 :
28206 else
28207
28208 cat >>confdefs.h <<_ACEOF
28209 #define mode_t int
28210 _ACEOF
28211
28212 fi
28213
28214 echo "$as_me:$LINENO: checking for off_t" >&5
28215 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28216 if test "${ac_cv_type_off_t+set}" = set; then
28217 echo $ECHO_N "(cached) $ECHO_C" >&6
28218 else
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 $ac_includes_default
28226 int
28227 main ()
28228 {
28229 if ((off_t *) 0)
28230 return 0;
28231 if (sizeof (off_t))
28232 return 0;
28233 ;
28234 return 0;
28235 }
28236 _ACEOF
28237 rm -f conftest.$ac_objext
28238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28239 (eval $ac_compile) 2>conftest.er1
28240 ac_status=$?
28241 grep -v '^ *+' conftest.er1 >conftest.err
28242 rm -f conftest.er1
28243 cat conftest.err >&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } &&
28246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28249 ac_status=$?
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try='test -s conftest.$ac_objext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28255 ac_status=$?
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 ac_cv_type_off_t=yes
28259 else
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28262
28263 ac_cv_type_off_t=no
28264 fi
28265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28266 fi
28267 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28268 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28269 if test $ac_cv_type_off_t = yes; then
28270 :
28271 else
28272
28273 cat >>confdefs.h <<_ACEOF
28274 #define off_t long
28275 _ACEOF
28276
28277 fi
28278
28279 echo "$as_me:$LINENO: checking for pid_t" >&5
28280 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28281 if test "${ac_cv_type_pid_t+set}" = set; then
28282 echo $ECHO_N "(cached) $ECHO_C" >&6
28283 else
28284 cat >conftest.$ac_ext <<_ACEOF
28285 /* confdefs.h. */
28286 _ACEOF
28287 cat confdefs.h >>conftest.$ac_ext
28288 cat >>conftest.$ac_ext <<_ACEOF
28289 /* end confdefs.h. */
28290 $ac_includes_default
28291 int
28292 main ()
28293 {
28294 if ((pid_t *) 0)
28295 return 0;
28296 if (sizeof (pid_t))
28297 return 0;
28298 ;
28299 return 0;
28300 }
28301 _ACEOF
28302 rm -f conftest.$ac_objext
28303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28304 (eval $ac_compile) 2>conftest.er1
28305 ac_status=$?
28306 grep -v '^ *+' conftest.er1 >conftest.err
28307 rm -f conftest.er1
28308 cat conftest.err >&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); } &&
28311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313 (eval $ac_try) 2>&5
28314 ac_status=$?
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); }; } &&
28317 { ac_try='test -s conftest.$ac_objext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28320 ac_status=$?
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 ac_cv_type_pid_t=yes
28324 else
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28327
28328 ac_cv_type_pid_t=no
28329 fi
28330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28331 fi
28332 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28333 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28334 if test $ac_cv_type_pid_t = yes; then
28335 :
28336 else
28337
28338 cat >>confdefs.h <<_ACEOF
28339 #define pid_t int
28340 _ACEOF
28341
28342 fi
28343
28344 echo "$as_me:$LINENO: checking for size_t" >&5
28345 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28346 if test "${ac_cv_type_size_t+set}" = set; then
28347 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 else
28349 cat >conftest.$ac_ext <<_ACEOF
28350 /* confdefs.h. */
28351 _ACEOF
28352 cat confdefs.h >>conftest.$ac_ext
28353 cat >>conftest.$ac_ext <<_ACEOF
28354 /* end confdefs.h. */
28355 $ac_includes_default
28356 int
28357 main ()
28358 {
28359 if ((size_t *) 0)
28360 return 0;
28361 if (sizeof (size_t))
28362 return 0;
28363 ;
28364 return 0;
28365 }
28366 _ACEOF
28367 rm -f conftest.$ac_objext
28368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28369 (eval $ac_compile) 2>conftest.er1
28370 ac_status=$?
28371 grep -v '^ *+' conftest.er1 >conftest.err
28372 rm -f conftest.er1
28373 cat conftest.err >&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); } &&
28376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28379 ac_status=$?
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; } &&
28382 { ac_try='test -s conftest.$ac_objext'
28383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384 (eval $ac_try) 2>&5
28385 ac_status=$?
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 ac_cv_type_size_t=yes
28389 else
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28392
28393 ac_cv_type_size_t=no
28394 fi
28395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28396 fi
28397 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28398 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28399 if test $ac_cv_type_size_t = yes; then
28400 :
28401 else
28402
28403 cat >>confdefs.h <<_ACEOF
28404 #define size_t unsigned
28405 _ACEOF
28406
28407 fi
28408
28409 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28410 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28411 if test "${ac_cv_type_uid_t+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28413 else
28414 cat >conftest.$ac_ext <<_ACEOF
28415 /* confdefs.h. */
28416 _ACEOF
28417 cat confdefs.h >>conftest.$ac_ext
28418 cat >>conftest.$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28420 #include <sys/types.h>
28421
28422 _ACEOF
28423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28424 $EGREP "uid_t" >/dev/null 2>&1; then
28425 ac_cv_type_uid_t=yes
28426 else
28427 ac_cv_type_uid_t=no
28428 fi
28429 rm -f conftest*
28430
28431 fi
28432 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28433 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28434 if test $ac_cv_type_uid_t = no; then
28435
28436 cat >>confdefs.h <<\_ACEOF
28437 #define uid_t int
28438 _ACEOF
28439
28440
28441 cat >>confdefs.h <<\_ACEOF
28442 #define gid_t int
28443 _ACEOF
28444
28445 fi
28446
28447
28448
28449
28450 ac_ext=cc
28451 ac_cpp='$CXXCPP $CPPFLAGS'
28452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28455
28456 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28457 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28458 if test "${wx_cv_size_t_is_uint+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 else
28461
28462 cat >conftest.$ac_ext <<_ACEOF
28463 /* confdefs.h. */
28464 _ACEOF
28465 cat confdefs.h >>conftest.$ac_ext
28466 cat >>conftest.$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28468 #include <stddef.h>
28469 int
28470 main ()
28471 {
28472
28473 return 0; }
28474
28475 struct Foo { void foo(size_t); void foo(unsigned int); };
28476
28477 int bar() {
28478
28479 ;
28480 return 0;
28481 }
28482 _ACEOF
28483 rm -f conftest.$ac_objext
28484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28485 (eval $ac_compile) 2>conftest.er1
28486 ac_status=$?
28487 grep -v '^ *+' conftest.er1 >conftest.err
28488 rm -f conftest.er1
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; } &&
28498 { ac_try='test -s conftest.$ac_objext'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28501 ac_status=$?
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; }; then
28504 wx_cv_size_t_is_uint=no
28505 else
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28508
28509 wx_cv_size_t_is_uint=yes
28510
28511 fi
28512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28513
28514
28515 fi
28516 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28517 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28518
28519 if test "$wx_cv_size_t_is_uint" = "yes"; then
28520 cat >>confdefs.h <<\_ACEOF
28521 #define wxSIZE_T_IS_UINT 1
28522 _ACEOF
28523
28524 else
28525 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28526 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28527 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28528 echo $ECHO_N "(cached) $ECHO_C" >&6
28529 else
28530 cat >conftest.$ac_ext <<_ACEOF
28531 /* confdefs.h. */
28532 _ACEOF
28533 cat confdefs.h >>conftest.$ac_ext
28534 cat >>conftest.$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28536 #include <stddef.h>
28537 int
28538 main ()
28539 {
28540
28541 return 0; }
28542
28543 struct Foo { void foo(size_t); void foo(unsigned long); };
28544
28545 int bar() {
28546
28547 ;
28548 return 0;
28549 }
28550 _ACEOF
28551 rm -f conftest.$ac_objext
28552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28553 (eval $ac_compile) 2>conftest.er1
28554 ac_status=$?
28555 grep -v '^ *+' conftest.er1 >conftest.err
28556 rm -f conftest.er1
28557 cat conftest.err >&5
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); } &&
28560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28562 (eval $ac_try) 2>&5
28563 ac_status=$?
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); }; } &&
28566 { ac_try='test -s conftest.$ac_objext'
28567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28569 ac_status=$?
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); }; }; then
28572 wx_cv_size_t_is_ulong=no
28573 else
28574 echo "$as_me: failed program was:" >&5
28575 sed 's/^/| /' conftest.$ac_ext >&5
28576
28577 wx_cv_size_t_is_ulong=yes
28578
28579 fi
28580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28581
28582 fi
28583 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28584 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28585
28586 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28587 cat >>confdefs.h <<\_ACEOF
28588 #define wxSIZE_T_IS_ULONG 1
28589 _ACEOF
28590
28591 fi
28592 fi
28593
28594 ac_ext=c
28595 ac_cpp='$CPP $CPPFLAGS'
28596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28599
28600
28601
28602 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28603 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28604 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 else
28607
28608 cat >conftest.$ac_ext <<_ACEOF
28609 /* confdefs.h. */
28610 _ACEOF
28611 cat confdefs.h >>conftest.$ac_ext
28612 cat >>conftest.$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28614 #include <pwd.h>
28615 int
28616 main ()
28617 {
28618
28619 char *p;
28620 struct passwd *pw;
28621 p = pw->pw_gecos;
28622
28623 ;
28624 return 0;
28625 }
28626 _ACEOF
28627 rm -f conftest.$ac_objext
28628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28629 (eval $ac_compile) 2>conftest.er1
28630 ac_status=$?
28631 grep -v '^ *+' conftest.er1 >conftest.err
28632 rm -f conftest.er1
28633 cat conftest.err >&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } &&
28636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28639 ac_status=$?
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; } &&
28642 { ac_try='test -s conftest.$ac_objext'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28645 ac_status=$?
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; }; then
28648
28649 wx_cv_struct_pw_gecos=yes
28650
28651 else
28652 echo "$as_me: failed program was:" >&5
28653 sed 's/^/| /' conftest.$ac_ext >&5
28654
28655
28656 wx_cv_struct_pw_gecos=no
28657
28658
28659 fi
28660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28661
28662
28663 fi
28664 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28665 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28666
28667 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28668 cat >>confdefs.h <<\_ACEOF
28669 #define HAVE_PW_GECOS 1
28670 _ACEOF
28671
28672 fi
28673
28674
28675 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28676 cat >>confdefs.h <<\_ACEOF
28677 #define wxUSE_WCHAR_T 1
28678 _ACEOF
28679
28680
28681 WCSLEN_FOUND=0
28682 WCHAR_LINK=
28683
28684 for ac_func in wcslen
28685 do
28686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28687 echo "$as_me:$LINENO: checking for $ac_func" >&5
28688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28689 if eval "test \"\${$as_ac_var+set}\" = set"; then
28690 echo $ECHO_N "(cached) $ECHO_C" >&6
28691 else
28692 cat >conftest.$ac_ext <<_ACEOF
28693 /* confdefs.h. */
28694 _ACEOF
28695 cat confdefs.h >>conftest.$ac_ext
28696 cat >>conftest.$ac_ext <<_ACEOF
28697 /* end confdefs.h. */
28698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28700 #define $ac_func innocuous_$ac_func
28701
28702 /* System header to define __stub macros and hopefully few prototypes,
28703 which can conflict with char $ac_func (); below.
28704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28705 <limits.h> exists even on freestanding compilers. */
28706
28707 #ifdef __STDC__
28708 # include <limits.h>
28709 #else
28710 # include <assert.h>
28711 #endif
28712
28713 #undef $ac_func
28714
28715 /* Override any gcc2 internal prototype to avoid an error. */
28716 #ifdef __cplusplus
28717 extern "C"
28718 {
28719 #endif
28720 /* We use char because int might match the return type of a gcc2
28721 builtin and then its argument prototype would still apply. */
28722 char $ac_func ();
28723 /* The GNU C library defines this for functions which it implements
28724 to always fail with ENOSYS. Some functions are actually named
28725 something starting with __ and the normal name is an alias. */
28726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28727 choke me
28728 #else
28729 char (*f) () = $ac_func;
28730 #endif
28731 #ifdef __cplusplus
28732 }
28733 #endif
28734
28735 int
28736 main ()
28737 {
28738 return f != $ac_func;
28739 ;
28740 return 0;
28741 }
28742 _ACEOF
28743 rm -f conftest.$ac_objext conftest$ac_exeext
28744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28745 (eval $ac_link) 2>conftest.er1
28746 ac_status=$?
28747 grep -v '^ *+' conftest.er1 >conftest.err
28748 rm -f conftest.er1
28749 cat conftest.err >&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); } &&
28752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28755 ac_status=$?
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; } &&
28758 { ac_try='test -s conftest$ac_exeext'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28761 ac_status=$?
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; }; then
28764 eval "$as_ac_var=yes"
28765 else
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28768
28769 eval "$as_ac_var=no"
28770 fi
28771 rm -f conftest.err conftest.$ac_objext \
28772 conftest$ac_exeext conftest.$ac_ext
28773 fi
28774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28776 if test `eval echo '${'$as_ac_var'}'` = yes; then
28777 cat >>confdefs.h <<_ACEOF
28778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28779 _ACEOF
28780 WCSLEN_FOUND=1
28781 fi
28782 done
28783
28784
28785 if test "$WCSLEN_FOUND" = 0; then
28786 if test "$TOOLKIT" = "MSW"; then
28787 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28788 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28789 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28790 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 else
28792 ac_check_lib_save_LIBS=$LIBS
28793 LIBS="-lmsvcrt $LIBS"
28794 cat >conftest.$ac_ext <<_ACEOF
28795 /* confdefs.h. */
28796 _ACEOF
28797 cat confdefs.h >>conftest.$ac_ext
28798 cat >>conftest.$ac_ext <<_ACEOF
28799 /* end confdefs.h. */
28800
28801 /* Override any gcc2 internal prototype to avoid an error. */
28802 #ifdef __cplusplus
28803 extern "C"
28804 #endif
28805 /* We use char because int might match the return type of a gcc2
28806 builtin and then its argument prototype would still apply. */
28807 char wcslen ();
28808 int
28809 main ()
28810 {
28811 wcslen ();
28812 ;
28813 return 0;
28814 }
28815 _ACEOF
28816 rm -f conftest.$ac_objext conftest$ac_exeext
28817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28818 (eval $ac_link) 2>conftest.er1
28819 ac_status=$?
28820 grep -v '^ *+' conftest.er1 >conftest.err
28821 rm -f conftest.er1
28822 cat conftest.err >&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } &&
28825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827 (eval $ac_try) 2>&5
28828 ac_status=$?
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); }; } &&
28831 { ac_try='test -s conftest$ac_exeext'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28834 ac_status=$?
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; }; then
28837 ac_cv_lib_msvcrt_wcslen=yes
28838 else
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.$ac_ext >&5
28841
28842 ac_cv_lib_msvcrt_wcslen=no
28843 fi
28844 rm -f conftest.err conftest.$ac_objext \
28845 conftest$ac_exeext conftest.$ac_ext
28846 LIBS=$ac_check_lib_save_LIBS
28847 fi
28848 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28849 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28850 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28851 WCHAR_OK=1
28852 fi
28853
28854 else
28855 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28856 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28857 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28858 echo $ECHO_N "(cached) $ECHO_C" >&6
28859 else
28860 ac_check_lib_save_LIBS=$LIBS
28861 LIBS="-lw $LIBS"
28862 cat >conftest.$ac_ext <<_ACEOF
28863 /* confdefs.h. */
28864 _ACEOF
28865 cat confdefs.h >>conftest.$ac_ext
28866 cat >>conftest.$ac_ext <<_ACEOF
28867 /* end confdefs.h. */
28868
28869 /* Override any gcc2 internal prototype to avoid an error. */
28870 #ifdef __cplusplus
28871 extern "C"
28872 #endif
28873 /* We use char because int might match the return type of a gcc2
28874 builtin and then its argument prototype would still apply. */
28875 char wcslen ();
28876 int
28877 main ()
28878 {
28879 wcslen ();
28880 ;
28881 return 0;
28882 }
28883 _ACEOF
28884 rm -f conftest.$ac_objext conftest$ac_exeext
28885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28886 (eval $ac_link) 2>conftest.er1
28887 ac_status=$?
28888 grep -v '^ *+' conftest.er1 >conftest.err
28889 rm -f conftest.er1
28890 cat conftest.err >&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } &&
28893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28896 ac_status=$?
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; } &&
28899 { ac_try='test -s conftest$ac_exeext'
28900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28901 (eval $ac_try) 2>&5
28902 ac_status=$?
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); }; }; then
28905 ac_cv_lib_w_wcslen=yes
28906 else
28907 echo "$as_me: failed program was:" >&5
28908 sed 's/^/| /' conftest.$ac_ext >&5
28909
28910 ac_cv_lib_w_wcslen=no
28911 fi
28912 rm -f conftest.err conftest.$ac_objext \
28913 conftest$ac_exeext conftest.$ac_ext
28914 LIBS=$ac_check_lib_save_LIBS
28915 fi
28916 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28917 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28918 if test $ac_cv_lib_w_wcslen = yes; then
28919
28920 WCHAR_LINK=" -lw"
28921 WCSLEN_FOUND=1
28922
28923 fi
28924
28925 fi
28926 fi
28927
28928 if test "$WCSLEN_FOUND" = 1; then
28929 cat >>confdefs.h <<\_ACEOF
28930 #define HAVE_WCSLEN 1
28931 _ACEOF
28932
28933 fi
28934
28935 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28936 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28937 fi
28938
28939
28940 for ac_func in wcsrtombs
28941 do
28942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28943 echo "$as_me:$LINENO: checking for $ac_func" >&5
28944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28945 if eval "test \"\${$as_ac_var+set}\" = set"; then
28946 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 else
28948 cat >conftest.$ac_ext <<_ACEOF
28949 /* confdefs.h. */
28950 _ACEOF
28951 cat confdefs.h >>conftest.$ac_ext
28952 cat >>conftest.$ac_ext <<_ACEOF
28953 /* end confdefs.h. */
28954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28956 #define $ac_func innocuous_$ac_func
28957
28958 /* System header to define __stub macros and hopefully few prototypes,
28959 which can conflict with char $ac_func (); below.
28960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28961 <limits.h> exists even on freestanding compilers. */
28962
28963 #ifdef __STDC__
28964 # include <limits.h>
28965 #else
28966 # include <assert.h>
28967 #endif
28968
28969 #undef $ac_func
28970
28971 /* Override any gcc2 internal prototype to avoid an error. */
28972 #ifdef __cplusplus
28973 extern "C"
28974 {
28975 #endif
28976 /* We use char because int might match the return type of a gcc2
28977 builtin and then its argument prototype would still apply. */
28978 char $ac_func ();
28979 /* The GNU C library defines this for functions which it implements
28980 to always fail with ENOSYS. Some functions are actually named
28981 something starting with __ and the normal name is an alias. */
28982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28983 choke me
28984 #else
28985 char (*f) () = $ac_func;
28986 #endif
28987 #ifdef __cplusplus
28988 }
28989 #endif
28990
28991 int
28992 main ()
28993 {
28994 return f != $ac_func;
28995 ;
28996 return 0;
28997 }
28998 _ACEOF
28999 rm -f conftest.$ac_objext conftest$ac_exeext
29000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29001 (eval $ac_link) 2>conftest.er1
29002 ac_status=$?
29003 grep -v '^ *+' conftest.er1 >conftest.err
29004 rm -f conftest.er1
29005 cat conftest.err >&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } &&
29008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010 (eval $ac_try) 2>&5
29011 ac_status=$?
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; } &&
29014 { ac_try='test -s conftest$ac_exeext'
29015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016 (eval $ac_try) 2>&5
29017 ac_status=$?
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; }; then
29020 eval "$as_ac_var=yes"
29021 else
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29024
29025 eval "$as_ac_var=no"
29026 fi
29027 rm -f conftest.err conftest.$ac_objext \
29028 conftest$ac_exeext conftest.$ac_ext
29029 fi
29030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29032 if test `eval echo '${'$as_ac_var'}'` = yes; then
29033 cat >>confdefs.h <<_ACEOF
29034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29035 _ACEOF
29036
29037 fi
29038 done
29039
29040 else
29041 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29042 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29043 fi
29044
29045
29046
29047 ac_ext=cc
29048 ac_cpp='$CXXCPP $CPPFLAGS'
29049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29052
29053
29054
29055 for ac_func in vsnprintf
29056 do
29057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29058 echo "$as_me:$LINENO: checking for $ac_func" >&5
29059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29060 if eval "test \"\${$as_ac_var+set}\" = set"; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 else
29063 cat >conftest.$ac_ext <<_ACEOF
29064 /* confdefs.h. */
29065 _ACEOF
29066 cat confdefs.h >>conftest.$ac_ext
29067 cat >>conftest.$ac_ext <<_ACEOF
29068 /* end confdefs.h. */
29069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29071 #define $ac_func innocuous_$ac_func
29072
29073 /* System header to define __stub macros and hopefully few prototypes,
29074 which can conflict with char $ac_func (); below.
29075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29076 <limits.h> exists even on freestanding compilers. */
29077
29078 #ifdef __STDC__
29079 # include <limits.h>
29080 #else
29081 # include <assert.h>
29082 #endif
29083
29084 #undef $ac_func
29085
29086 /* Override any gcc2 internal prototype to avoid an error. */
29087 #ifdef __cplusplus
29088 extern "C"
29089 {
29090 #endif
29091 /* We use char because int might match the return type of a gcc2
29092 builtin and then its argument prototype would still apply. */
29093 char $ac_func ();
29094 /* The GNU C library defines this for functions which it implements
29095 to always fail with ENOSYS. Some functions are actually named
29096 something starting with __ and the normal name is an alias. */
29097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29098 choke me
29099 #else
29100 char (*f) () = $ac_func;
29101 #endif
29102 #ifdef __cplusplus
29103 }
29104 #endif
29105
29106 int
29107 main ()
29108 {
29109 return f != $ac_func;
29110 ;
29111 return 0;
29112 }
29113 _ACEOF
29114 rm -f conftest.$ac_objext conftest$ac_exeext
29115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29116 (eval $ac_link) 2>conftest.er1
29117 ac_status=$?
29118 grep -v '^ *+' conftest.er1 >conftest.err
29119 rm -f conftest.er1
29120 cat conftest.err >&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } &&
29123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29126 ac_status=$?
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; } &&
29129 { ac_try='test -s conftest$ac_exeext'
29130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29131 (eval $ac_try) 2>&5
29132 ac_status=$?
29133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29134 (exit $ac_status); }; }; then
29135 eval "$as_ac_var=yes"
29136 else
29137 echo "$as_me: failed program was:" >&5
29138 sed 's/^/| /' conftest.$ac_ext >&5
29139
29140 eval "$as_ac_var=no"
29141 fi
29142 rm -f conftest.err conftest.$ac_objext \
29143 conftest$ac_exeext conftest.$ac_ext
29144 fi
29145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29147 if test `eval echo '${'$as_ac_var'}'` = yes; then
29148 cat >>confdefs.h <<_ACEOF
29149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29150 _ACEOF
29151
29152 fi
29153 done
29154
29155
29156 if test "$ac_cv_func_vsnprintf" = "yes"; then
29157 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29158 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29159 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29160 echo $ECHO_N "(cached) $ECHO_C" >&6
29161 else
29162
29163 cat >conftest.$ac_ext <<_ACEOF
29164 /* confdefs.h. */
29165 _ACEOF
29166 cat confdefs.h >>conftest.$ac_ext
29167 cat >>conftest.$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169
29170 #include <stdio.h>
29171 #include <stdarg.h>
29172
29173 int
29174 main ()
29175 {
29176
29177 char *buf;
29178 va_list ap;
29179 vsnprintf(buf, 10u, "%s", ap);
29180
29181 ;
29182 return 0;
29183 }
29184 _ACEOF
29185 rm -f conftest.$ac_objext
29186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29187 (eval $ac_compile) 2>conftest.er1
29188 ac_status=$?
29189 grep -v '^ *+' conftest.er1 >conftest.err
29190 rm -f conftest.er1
29191 cat conftest.err >&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } &&
29194 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29196 (eval $ac_try) 2>&5
29197 ac_status=$?
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); }; } &&
29200 { ac_try='test -s conftest.$ac_objext'
29201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202 (eval $ac_try) 2>&5
29203 ac_status=$?
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; }; then
29206 wx_cv_func_vsnprintf_decl=yes
29207 else
29208 echo "$as_me: failed program was:" >&5
29209 sed 's/^/| /' conftest.$ac_ext >&5
29210
29211 wx_cv_func_vsnprintf_decl=no
29212
29213 fi
29214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29215
29216
29217 fi
29218 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29219 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29220
29221 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29222 cat >>confdefs.h <<\_ACEOF
29223 #define HAVE_VSNPRINTF_DECL 1
29224 _ACEOF
29225
29226 fi
29227 fi
29228
29229 if test "$wxUSE_UNICODE" = yes; then
29230
29231
29232
29233
29234
29235
29236 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29237 do
29238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29239 echo "$as_me:$LINENO: checking for $ac_func" >&5
29240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29241 if eval "test \"\${$as_ac_var+set}\" = set"; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29243 else
29244 cat >conftest.$ac_ext <<_ACEOF
29245 /* confdefs.h. */
29246 _ACEOF
29247 cat confdefs.h >>conftest.$ac_ext
29248 cat >>conftest.$ac_ext <<_ACEOF
29249 /* end confdefs.h. */
29250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29252 #define $ac_func innocuous_$ac_func
29253
29254 /* System header to define __stub macros and hopefully few prototypes,
29255 which can conflict with char $ac_func (); below.
29256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29257 <limits.h> exists even on freestanding compilers. */
29258
29259 #ifdef __STDC__
29260 # include <limits.h>
29261 #else
29262 # include <assert.h>
29263 #endif
29264
29265 #undef $ac_func
29266
29267 /* Override any gcc2 internal prototype to avoid an error. */
29268 #ifdef __cplusplus
29269 extern "C"
29270 {
29271 #endif
29272 /* We use char because int might match the return type of a gcc2
29273 builtin and then its argument prototype would still apply. */
29274 char $ac_func ();
29275 /* The GNU C library defines this for functions which it implements
29276 to always fail with ENOSYS. Some functions are actually named
29277 something starting with __ and the normal name is an alias. */
29278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29279 choke me
29280 #else
29281 char (*f) () = $ac_func;
29282 #endif
29283 #ifdef __cplusplus
29284 }
29285 #endif
29286
29287 int
29288 main ()
29289 {
29290 return f != $ac_func;
29291 ;
29292 return 0;
29293 }
29294 _ACEOF
29295 rm -f conftest.$ac_objext conftest$ac_exeext
29296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29297 (eval $ac_link) 2>conftest.er1
29298 ac_status=$?
29299 grep -v '^ *+' conftest.er1 >conftest.err
29300 rm -f conftest.er1
29301 cat conftest.err >&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } &&
29304 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29306 (eval $ac_try) 2>&5
29307 ac_status=$?
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); }; } &&
29310 { ac_try='test -s conftest$ac_exeext'
29311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29312 (eval $ac_try) 2>&5
29313 ac_status=$?
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); }; }; then
29316 eval "$as_ac_var=yes"
29317 else
29318 echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.$ac_ext >&5
29320
29321 eval "$as_ac_var=no"
29322 fi
29323 rm -f conftest.err conftest.$ac_objext \
29324 conftest$ac_exeext conftest.$ac_ext
29325 fi
29326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29328 if test `eval echo '${'$as_ac_var'}'` = yes; then
29329 cat >>confdefs.h <<_ACEOF
29330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29331 _ACEOF
29332
29333 fi
29334 done
29335
29336
29337 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29338 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29339 cat >conftest.$ac_ext <<_ACEOF
29340 /* confdefs.h. */
29341 _ACEOF
29342 cat confdefs.h >>conftest.$ac_ext
29343 cat >>conftest.$ac_ext <<_ACEOF
29344 /* end confdefs.h. */
29345 #include <wchar.h>
29346 int
29347 main ()
29348 {
29349 &_vsnwprintf;
29350 ;
29351 return 0;
29352 }
29353 _ACEOF
29354 rm -f conftest.$ac_objext
29355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29356 (eval $ac_compile) 2>conftest.er1
29357 ac_status=$?
29358 grep -v '^ *+' conftest.er1 >conftest.err
29359 rm -f conftest.er1
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } &&
29363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29365 (eval $ac_try) 2>&5
29366 ac_status=$?
29367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29368 (exit $ac_status); }; } &&
29369 { ac_try='test -s conftest.$ac_objext'
29370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29371 (eval $ac_try) 2>&5
29372 ac_status=$?
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); }; }; then
29375 echo "$as_me:$LINENO: result: yes" >&5
29376 echo "${ECHO_T}yes" >&6
29377 cat >>confdefs.h <<\_ACEOF
29378 #define HAVE__VSNWPRINTF 1
29379 _ACEOF
29380
29381 else
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.$ac_ext >&5
29384
29385 echo "$as_me:$LINENO: result: no" >&5
29386 echo "${ECHO_T}no" >&6
29387 fi
29388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29389 fi
29390
29391 ac_ext=c
29392 ac_cpp='$CPP $CPPFLAGS'
29393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29396
29397
29398
29399
29400 if test "$TOOLKIT" != "MSW"; then
29401
29402
29403
29404
29405 ac_ext=cc
29406 ac_cpp='$CXXCPP $CPPFLAGS'
29407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29410
29411
29412
29413
29414 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29415 if test "${with_libiconv_prefix+set}" = set; then
29416 withval="$with_libiconv_prefix"
29417
29418 for dir in `echo "$withval" | tr : ' '`; do
29419 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29420 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29421 done
29422
29423 fi;
29424
29425 echo "$as_me:$LINENO: checking for iconv" >&5
29426 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29427 if test "${am_cv_func_iconv+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 else
29430
29431 am_cv_func_iconv="no, consider installing GNU libiconv"
29432 am_cv_lib_iconv=no
29433 cat >conftest.$ac_ext <<_ACEOF
29434 /* confdefs.h. */
29435 _ACEOF
29436 cat confdefs.h >>conftest.$ac_ext
29437 cat >>conftest.$ac_ext <<_ACEOF
29438 /* end confdefs.h. */
29439 #include <stdlib.h>
29440 #include <iconv.h>
29441 int
29442 main ()
29443 {
29444 iconv_t cd = iconv_open("","");
29445 iconv(cd,NULL,NULL,NULL,NULL);
29446 iconv_close(cd);
29447 ;
29448 return 0;
29449 }
29450 _ACEOF
29451 rm -f conftest.$ac_objext conftest$ac_exeext
29452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29453 (eval $ac_link) 2>conftest.er1
29454 ac_status=$?
29455 grep -v '^ *+' conftest.er1 >conftest.err
29456 rm -f conftest.er1
29457 cat conftest.err >&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); } &&
29460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29462 (eval $ac_try) 2>&5
29463 ac_status=$?
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); }; } &&
29466 { ac_try='test -s conftest$ac_exeext'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29469 ac_status=$?
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; }; then
29472 am_cv_func_iconv=yes
29473 else
29474 echo "$as_me: failed program was:" >&5
29475 sed 's/^/| /' conftest.$ac_ext >&5
29476
29477 fi
29478 rm -f conftest.err conftest.$ac_objext \
29479 conftest$ac_exeext conftest.$ac_ext
29480 if test "$am_cv_func_iconv" != yes; then
29481 am_save_LIBS="$LIBS"
29482 LIBS="$LIBS -liconv"
29483 cat >conftest.$ac_ext <<_ACEOF
29484 /* confdefs.h. */
29485 _ACEOF
29486 cat confdefs.h >>conftest.$ac_ext
29487 cat >>conftest.$ac_ext <<_ACEOF
29488 /* end confdefs.h. */
29489 #include <stdlib.h>
29490 #include <iconv.h>
29491 int
29492 main ()
29493 {
29494 iconv_t cd = iconv_open("","");
29495 iconv(cd,NULL,NULL,NULL,NULL);
29496 iconv_close(cd);
29497 ;
29498 return 0;
29499 }
29500 _ACEOF
29501 rm -f conftest.$ac_objext conftest$ac_exeext
29502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29503 (eval $ac_link) 2>conftest.er1
29504 ac_status=$?
29505 grep -v '^ *+' conftest.er1 >conftest.err
29506 rm -f conftest.er1
29507 cat conftest.err >&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); } &&
29510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29512 (eval $ac_try) 2>&5
29513 ac_status=$?
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); }; } &&
29516 { ac_try='test -s conftest$ac_exeext'
29517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29518 (eval $ac_try) 2>&5
29519 ac_status=$?
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); }; }; then
29522 am_cv_lib_iconv=yes
29523 am_cv_func_iconv=yes
29524 else
29525 echo "$as_me: failed program was:" >&5
29526 sed 's/^/| /' conftest.$ac_ext >&5
29527
29528 fi
29529 rm -f conftest.err conftest.$ac_objext \
29530 conftest$ac_exeext conftest.$ac_ext
29531 LIBS="$am_save_LIBS"
29532 fi
29533
29534 fi
29535 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29536 echo "${ECHO_T}$am_cv_func_iconv" >&6
29537 if test "$am_cv_func_iconv" = yes; then
29538
29539 cat >>confdefs.h <<\_ACEOF
29540 #define HAVE_ICONV 1
29541 _ACEOF
29542
29543 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29544 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29545 if test "${wx_cv_func_iconv_const+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 else
29548 cat >conftest.$ac_ext <<_ACEOF
29549 /* confdefs.h. */
29550 _ACEOF
29551 cat confdefs.h >>conftest.$ac_ext
29552 cat >>conftest.$ac_ext <<_ACEOF
29553 /* end confdefs.h. */
29554
29555 #include <stdlib.h>
29556 #include <iconv.h>
29557 extern
29558 #ifdef __cplusplus
29559 "C"
29560 #endif
29561 #if defined(__STDC__) || defined(__cplusplus)
29562 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29563 #else
29564 size_t iconv();
29565 #endif
29566
29567 int
29568 main ()
29569 {
29570
29571 ;
29572 return 0;
29573 }
29574 _ACEOF
29575 rm -f conftest.$ac_objext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29577 (eval $ac_compile) 2>conftest.er1
29578 ac_status=$?
29579 grep -v '^ *+' conftest.er1 >conftest.err
29580 rm -f conftest.er1
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29587 ac_status=$?
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; } &&
29590 { ac_try='test -s conftest.$ac_objext'
29591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592 (eval $ac_try) 2>&5
29593 ac_status=$?
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; }; then
29596 wx_cv_func_iconv_const="no"
29597 else
29598 echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.$ac_ext >&5
29600
29601 wx_cv_func_iconv_const="yes"
29602
29603 fi
29604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29605
29606 fi
29607 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29608 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29609
29610 iconv_const=
29611 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29612 iconv_const="const"
29613 fi
29614
29615
29616 cat >>confdefs.h <<_ACEOF
29617 #define ICONV_CONST $iconv_const
29618 _ACEOF
29619
29620 fi
29621 LIBICONV=
29622 if test "$am_cv_lib_iconv" = yes; then
29623 LIBICONV="-liconv"
29624 fi
29625
29626
29627 LIBS="$LIBICONV $LIBS"
29628 ac_ext=c
29629 ac_cpp='$CPP $CPPFLAGS'
29630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29633
29634
29635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29636
29637 for ac_func in sigaction
29638 do
29639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29640 echo "$as_me:$LINENO: checking for $ac_func" >&5
29641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29642 if eval "test \"\${$as_ac_var+set}\" = set"; then
29643 echo $ECHO_N "(cached) $ECHO_C" >&6
29644 else
29645 cat >conftest.$ac_ext <<_ACEOF
29646 /* confdefs.h. */
29647 _ACEOF
29648 cat confdefs.h >>conftest.$ac_ext
29649 cat >>conftest.$ac_ext <<_ACEOF
29650 /* end confdefs.h. */
29651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29653 #define $ac_func innocuous_$ac_func
29654
29655 /* System header to define __stub macros and hopefully few prototypes,
29656 which can conflict with char $ac_func (); below.
29657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29658 <limits.h> exists even on freestanding compilers. */
29659
29660 #ifdef __STDC__
29661 # include <limits.h>
29662 #else
29663 # include <assert.h>
29664 #endif
29665
29666 #undef $ac_func
29667
29668 /* Override any gcc2 internal prototype to avoid an error. */
29669 #ifdef __cplusplus
29670 extern "C"
29671 {
29672 #endif
29673 /* We use char because int might match the return type of a gcc2
29674 builtin and then its argument prototype would still apply. */
29675 char $ac_func ();
29676 /* The GNU C library defines this for functions which it implements
29677 to always fail with ENOSYS. Some functions are actually named
29678 something starting with __ and the normal name is an alias. */
29679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29680 choke me
29681 #else
29682 char (*f) () = $ac_func;
29683 #endif
29684 #ifdef __cplusplus
29685 }
29686 #endif
29687
29688 int
29689 main ()
29690 {
29691 return f != $ac_func;
29692 ;
29693 return 0;
29694 }
29695 _ACEOF
29696 rm -f conftest.$ac_objext conftest$ac_exeext
29697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29698 (eval $ac_link) 2>conftest.er1
29699 ac_status=$?
29700 grep -v '^ *+' conftest.er1 >conftest.err
29701 rm -f conftest.er1
29702 cat conftest.err >&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } &&
29705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29707 (eval $ac_try) 2>&5
29708 ac_status=$?
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); }; } &&
29711 { ac_try='test -s conftest$ac_exeext'
29712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29713 (eval $ac_try) 2>&5
29714 ac_status=$?
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); }; }; then
29717 eval "$as_ac_var=yes"
29718 else
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.$ac_ext >&5
29721
29722 eval "$as_ac_var=no"
29723 fi
29724 rm -f conftest.err conftest.$ac_objext \
29725 conftest$ac_exeext conftest.$ac_ext
29726 fi
29727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29729 if test `eval echo '${'$as_ac_var'}'` = yes; then
29730 cat >>confdefs.h <<_ACEOF
29731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29732 _ACEOF
29733
29734 fi
29735 done
29736
29737
29738 if test "$ac_cv_func_sigaction" = "no"; then
29739 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29740 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29741 wxUSE_ON_FATAL_EXCEPTION=no
29742 fi
29743
29744 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29745
29746
29747 ac_ext=cc
29748 ac_cpp='$CXXCPP $CPPFLAGS'
29749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29752
29753
29754 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29755 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29756 if test "${wx_cv_type_sa_handler+set}" = set; then
29757 echo $ECHO_N "(cached) $ECHO_C" >&6
29758 else
29759
29760 cat >conftest.$ac_ext <<_ACEOF
29761 /* confdefs.h. */
29762 _ACEOF
29763 cat confdefs.h >>conftest.$ac_ext
29764 cat >>conftest.$ac_ext <<_ACEOF
29765 /* end confdefs.h. */
29766 #include <signal.h>
29767 int
29768 main ()
29769 {
29770
29771 extern void testSigHandler(int);
29772
29773 struct sigaction sa;
29774 sa.sa_handler = testSigHandler;
29775
29776 ;
29777 return 0;
29778 }
29779 _ACEOF
29780 rm -f conftest.$ac_objext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29782 (eval $ac_compile) 2>conftest.er1
29783 ac_status=$?
29784 grep -v '^ *+' conftest.er1 >conftest.err
29785 rm -f conftest.er1
29786 cat conftest.err >&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29792 ac_status=$?
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try='test -s conftest.$ac_objext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29798 ac_status=$?
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801
29802 wx_cv_type_sa_handler=int
29803
29804 else
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.$ac_ext >&5
29807
29808
29809 wx_cv_type_sa_handler=void
29810
29811 fi
29812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29813
29814 fi
29815 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29816 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29817
29818 ac_ext=c
29819 ac_cpp='$CPP $CPPFLAGS'
29820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29823
29824
29825 cat >>confdefs.h <<_ACEOF
29826 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29827 _ACEOF
29828
29829 fi
29830 fi
29831
29832
29833
29834 for ac_func in mkstemp mktemp
29835 do
29836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29837 echo "$as_me:$LINENO: checking for $ac_func" >&5
29838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29839 if eval "test \"\${$as_ac_var+set}\" = set"; then
29840 echo $ECHO_N "(cached) $ECHO_C" >&6
29841 else
29842 cat >conftest.$ac_ext <<_ACEOF
29843 /* confdefs.h. */
29844 _ACEOF
29845 cat confdefs.h >>conftest.$ac_ext
29846 cat >>conftest.$ac_ext <<_ACEOF
29847 /* end confdefs.h. */
29848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29850 #define $ac_func innocuous_$ac_func
29851
29852 /* System header to define __stub macros and hopefully few prototypes,
29853 which can conflict with char $ac_func (); below.
29854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29855 <limits.h> exists even on freestanding compilers. */
29856
29857 #ifdef __STDC__
29858 # include <limits.h>
29859 #else
29860 # include <assert.h>
29861 #endif
29862
29863 #undef $ac_func
29864
29865 /* Override any gcc2 internal prototype to avoid an error. */
29866 #ifdef __cplusplus
29867 extern "C"
29868 {
29869 #endif
29870 /* We use char because int might match the return type of a gcc2
29871 builtin and then its argument prototype would still apply. */
29872 char $ac_func ();
29873 /* The GNU C library defines this for functions which it implements
29874 to always fail with ENOSYS. Some functions are actually named
29875 something starting with __ and the normal name is an alias. */
29876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29877 choke me
29878 #else
29879 char (*f) () = $ac_func;
29880 #endif
29881 #ifdef __cplusplus
29882 }
29883 #endif
29884
29885 int
29886 main ()
29887 {
29888 return f != $ac_func;
29889 ;
29890 return 0;
29891 }
29892 _ACEOF
29893 rm -f conftest.$ac_objext conftest$ac_exeext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29895 (eval $ac_link) 2>conftest.er1
29896 ac_status=$?
29897 grep -v '^ *+' conftest.er1 >conftest.err
29898 rm -f conftest.er1
29899 cat conftest.err >&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } &&
29902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29904 (eval $ac_try) 2>&5
29905 ac_status=$?
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; } &&
29908 { ac_try='test -s conftest$ac_exeext'
29909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29910 (eval $ac_try) 2>&5
29911 ac_status=$?
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); }; }; then
29914 eval "$as_ac_var=yes"
29915 else
29916 echo "$as_me: failed program was:" >&5
29917 sed 's/^/| /' conftest.$ac_ext >&5
29918
29919 eval "$as_ac_var=no"
29920 fi
29921 rm -f conftest.err conftest.$ac_objext \
29922 conftest$ac_exeext conftest.$ac_ext
29923 fi
29924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29926 if test `eval echo '${'$as_ac_var'}'` = yes; then
29927 cat >>confdefs.h <<_ACEOF
29928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29929 _ACEOF
29930 break
29931 fi
29932 done
29933
29934
29935 echo "$as_me:$LINENO: checking for statfs" >&5
29936 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29937 if test "${wx_cv_func_statfs+set}" = set; then
29938 echo $ECHO_N "(cached) $ECHO_C" >&6
29939 else
29940 cat >conftest.$ac_ext <<_ACEOF
29941 /* confdefs.h. */
29942 _ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29946
29947 #if defined(__BSD__)
29948 #include <sys/param.h>
29949 #include <sys/mount.h>
29950 #else
29951 #include <sys/vfs.h>
29952 #endif
29953
29954 int
29955 main ()
29956 {
29957
29958 long l;
29959 struct statfs fs;
29960 statfs("/", &fs);
29961 l = fs.f_bsize;
29962 l += fs.f_blocks;
29963 l += fs.f_bavail;
29964
29965 ;
29966 return 0;
29967 }
29968 _ACEOF
29969 rm -f conftest.$ac_objext
29970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29971 (eval $ac_compile) 2>conftest.er1
29972 ac_status=$?
29973 grep -v '^ *+' conftest.er1 >conftest.err
29974 rm -f conftest.er1
29975 cat conftest.err >&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); } &&
29978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29980 (eval $ac_try) 2>&5
29981 ac_status=$?
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; } &&
29984 { ac_try='test -s conftest.$ac_objext'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29987 ac_status=$?
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; }; then
29990
29991 wx_cv_func_statfs=yes
29992
29993 else
29994 echo "$as_me: failed program was:" >&5
29995 sed 's/^/| /' conftest.$ac_ext >&5
29996
29997
29998 wx_cv_func_statfs=no
29999
30000
30001 fi
30002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30003
30004 fi
30005 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30006 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30007
30008 if test "$wx_cv_func_statfs" = "yes"; then
30009 wx_cv_type_statvfs_t="struct statfs"
30010 cat >>confdefs.h <<\_ACEOF
30011 #define HAVE_STATFS 1
30012 _ACEOF
30013
30014 else
30015 echo "$as_me:$LINENO: checking for statvfs" >&5
30016 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30017 if test "${wx_cv_func_statvfs+set}" = set; then
30018 echo $ECHO_N "(cached) $ECHO_C" >&6
30019 else
30020 cat >conftest.$ac_ext <<_ACEOF
30021 /* confdefs.h. */
30022 _ACEOF
30023 cat confdefs.h >>conftest.$ac_ext
30024 cat >>conftest.$ac_ext <<_ACEOF
30025 /* end confdefs.h. */
30026
30027 #include <stddef.h>
30028 #include <sys/statvfs.h>
30029
30030 int
30031 main ()
30032 {
30033
30034 statvfs("/", NULL);
30035
30036 ;
30037 return 0;
30038 }
30039 _ACEOF
30040 rm -f conftest.$ac_objext
30041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30042 (eval $ac_compile) 2>conftest.er1
30043 ac_status=$?
30044 grep -v '^ *+' conftest.er1 >conftest.err
30045 rm -f conftest.er1
30046 cat conftest.err >&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); } &&
30049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30052 ac_status=$?
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; } &&
30055 { ac_try='test -s conftest.$ac_objext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30058 ac_status=$?
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 wx_cv_func_statvfs=yes
30062 else
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.$ac_ext >&5
30065
30066 wx_cv_func_statvfs=no
30067
30068 fi
30069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30070
30071 fi
30072 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30073 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30074
30075 if test "$wx_cv_func_statvfs" = "yes"; then
30076
30077
30078 ac_ext=cc
30079 ac_cpp='$CXXCPP $CPPFLAGS'
30080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30083
30084
30085 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30086 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30087 if test "${wx_cv_type_statvfs_t+set}" = set; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30089 else
30090 cat >conftest.$ac_ext <<_ACEOF
30091 /* confdefs.h. */
30092 _ACEOF
30093 cat confdefs.h >>conftest.$ac_ext
30094 cat >>conftest.$ac_ext <<_ACEOF
30095 /* end confdefs.h. */
30096
30097 #include <sys/statvfs.h>
30098
30099 int
30100 main ()
30101 {
30102
30103 long l;
30104 statvfs_t fs;
30105 statvfs("/", &fs);
30106 l = fs.f_bsize;
30107 l += fs.f_blocks;
30108 l += fs.f_bavail;
30109
30110 ;
30111 return 0;
30112 }
30113 _ACEOF
30114 rm -f conftest.$ac_objext
30115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30116 (eval $ac_compile) 2>conftest.er1
30117 ac_status=$?
30118 grep -v '^ *+' conftest.er1 >conftest.err
30119 rm -f conftest.er1
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } &&
30123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30126 ac_status=$?
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; } &&
30129 { ac_try='test -s conftest.$ac_objext'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30132 ac_status=$?
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; }; then
30135 wx_cv_type_statvfs_t=statvfs_t
30136 else
30137 echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.$ac_ext >&5
30139
30140
30141 cat >conftest.$ac_ext <<_ACEOF
30142 /* confdefs.h. */
30143 _ACEOF
30144 cat confdefs.h >>conftest.$ac_ext
30145 cat >>conftest.$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30147
30148 #include <sys/statvfs.h>
30149
30150 int
30151 main ()
30152 {
30153
30154 long l;
30155 struct statvfs fs;
30156 statvfs("/", &fs);
30157 l = fs.f_bsize;
30158 l += fs.f_blocks;
30159 l += fs.f_bavail;
30160
30161 ;
30162 return 0;
30163 }
30164 _ACEOF
30165 rm -f conftest.$ac_objext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30167 (eval $ac_compile) 2>conftest.er1
30168 ac_status=$?
30169 grep -v '^ *+' conftest.er1 >conftest.err
30170 rm -f conftest.er1
30171 cat conftest.err >&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30177 ac_status=$?
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; } &&
30180 { ac_try='test -s conftest.$ac_objext'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30183 ac_status=$?
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; }; then
30186 wx_cv_type_statvfs_t="struct statvfs"
30187 else
30188 echo "$as_me: failed program was:" >&5
30189 sed 's/^/| /' conftest.$ac_ext >&5
30190
30191 wx_cv_type_statvfs_t="unknown"
30192
30193 fi
30194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30195
30196
30197 fi
30198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30199
30200 fi
30201 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30202 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30203
30204 ac_ext=c
30205 ac_cpp='$CPP $CPPFLAGS'
30206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30209
30210
30211 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30212 cat >>confdefs.h <<\_ACEOF
30213 #define HAVE_STATVFS 1
30214 _ACEOF
30215
30216 fi
30217 else
30218 wx_cv_type_statvfs_t="unknown"
30219 fi
30220 fi
30221
30222 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30223 cat >>confdefs.h <<_ACEOF
30224 #define WX_STATFS_T $wx_cv_type_statvfs_t
30225 _ACEOF
30226
30227 else
30228 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30229 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30230 fi
30231
30232 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30233
30234
30235 for ac_func in fcntl flock
30236 do
30237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30238 echo "$as_me:$LINENO: checking for $ac_func" >&5
30239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30240 if eval "test \"\${$as_ac_var+set}\" = set"; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 else
30243 cat >conftest.$ac_ext <<_ACEOF
30244 /* confdefs.h. */
30245 _ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define $ac_func innocuous_$ac_func
30252
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char $ac_func (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30257
30258 #ifdef __STDC__
30259 # include <limits.h>
30260 #else
30261 # include <assert.h>
30262 #endif
30263
30264 #undef $ac_func
30265
30266 /* Override any gcc2 internal prototype to avoid an error. */
30267 #ifdef __cplusplus
30268 extern "C"
30269 {
30270 #endif
30271 /* We use char because int might match the return type of a gcc2
30272 builtin and then its argument prototype would still apply. */
30273 char $ac_func ();
30274 /* The GNU C library defines this for functions which it implements
30275 to always fail with ENOSYS. Some functions are actually named
30276 something starting with __ and the normal name is an alias. */
30277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30278 choke me
30279 #else
30280 char (*f) () = $ac_func;
30281 #endif
30282 #ifdef __cplusplus
30283 }
30284 #endif
30285
30286 int
30287 main ()
30288 {
30289 return f != $ac_func;
30290 ;
30291 return 0;
30292 }
30293 _ACEOF
30294 rm -f conftest.$ac_objext conftest$ac_exeext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30296 (eval $ac_link) 2>conftest.er1
30297 ac_status=$?
30298 grep -v '^ *+' conftest.er1 >conftest.err
30299 rm -f conftest.er1
30300 cat conftest.err >&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30312 ac_status=$?
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 eval "$as_ac_var=yes"
30316 else
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30319
30320 eval "$as_ac_var=no"
30321 fi
30322 rm -f conftest.err conftest.$ac_objext \
30323 conftest$ac_exeext conftest.$ac_ext
30324 fi
30325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30327 if test `eval echo '${'$as_ac_var'}'` = yes; then
30328 cat >>confdefs.h <<_ACEOF
30329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30330 _ACEOF
30331 break
30332 fi
30333 done
30334
30335
30336 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30337 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30338 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30339 wxUSE_SNGLINST_CHECKER=no
30340 fi
30341 fi
30342
30343
30344 for ac_func in timegm
30345 do
30346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30347 echo "$as_me:$LINENO: checking for $ac_func" >&5
30348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30349 if eval "test \"\${$as_ac_var+set}\" = set"; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30351 else
30352 cat >conftest.$ac_ext <<_ACEOF
30353 /* confdefs.h. */
30354 _ACEOF
30355 cat confdefs.h >>conftest.$ac_ext
30356 cat >>conftest.$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30360 #define $ac_func innocuous_$ac_func
30361
30362 /* System header to define __stub macros and hopefully few prototypes,
30363 which can conflict with char $ac_func (); below.
30364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30365 <limits.h> exists even on freestanding compilers. */
30366
30367 #ifdef __STDC__
30368 # include <limits.h>
30369 #else
30370 # include <assert.h>
30371 #endif
30372
30373 #undef $ac_func
30374
30375 /* Override any gcc2 internal prototype to avoid an error. */
30376 #ifdef __cplusplus
30377 extern "C"
30378 {
30379 #endif
30380 /* We use char because int might match the return type of a gcc2
30381 builtin and then its argument prototype would still apply. */
30382 char $ac_func ();
30383 /* The GNU C library defines this for functions which it implements
30384 to always fail with ENOSYS. Some functions are actually named
30385 something starting with __ and the normal name is an alias. */
30386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30387 choke me
30388 #else
30389 char (*f) () = $ac_func;
30390 #endif
30391 #ifdef __cplusplus
30392 }
30393 #endif
30394
30395 int
30396 main ()
30397 {
30398 return f != $ac_func;
30399 ;
30400 return 0;
30401 }
30402 _ACEOF
30403 rm -f conftest.$ac_objext conftest$ac_exeext
30404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30405 (eval $ac_link) 2>conftest.er1
30406 ac_status=$?
30407 grep -v '^ *+' conftest.er1 >conftest.err
30408 rm -f conftest.er1
30409 cat conftest.err >&5
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); } &&
30412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30414 (eval $ac_try) 2>&5
30415 ac_status=$?
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); }; } &&
30418 { ac_try='test -s conftest$ac_exeext'
30419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420 (eval $ac_try) 2>&5
30421 ac_status=$?
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); }; }; then
30424 eval "$as_ac_var=yes"
30425 else
30426 echo "$as_me: failed program was:" >&5
30427 sed 's/^/| /' conftest.$ac_ext >&5
30428
30429 eval "$as_ac_var=no"
30430 fi
30431 rm -f conftest.err conftest.$ac_objext \
30432 conftest$ac_exeext conftest.$ac_ext
30433 fi
30434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30436 if test `eval echo '${'$as_ac_var'}'` = yes; then
30437 cat >>confdefs.h <<_ACEOF
30438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30439 _ACEOF
30440
30441 fi
30442 done
30443
30444
30445
30446
30447 for ac_func in putenv setenv
30448 do
30449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30450 echo "$as_me:$LINENO: checking for $ac_func" >&5
30451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30452 if eval "test \"\${$as_ac_var+set}\" = set"; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 else
30455 cat >conftest.$ac_ext <<_ACEOF
30456 /* confdefs.h. */
30457 _ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30463 #define $ac_func innocuous_$ac_func
30464
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char $ac_func (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30469
30470 #ifdef __STDC__
30471 # include <limits.h>
30472 #else
30473 # include <assert.h>
30474 #endif
30475
30476 #undef $ac_func
30477
30478 /* Override any gcc2 internal prototype to avoid an error. */
30479 #ifdef __cplusplus
30480 extern "C"
30481 {
30482 #endif
30483 /* We use char because int might match the return type of a gcc2
30484 builtin and then its argument prototype would still apply. */
30485 char $ac_func ();
30486 /* The GNU C library defines this for functions which it implements
30487 to always fail with ENOSYS. Some functions are actually named
30488 something starting with __ and the normal name is an alias. */
30489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30490 choke me
30491 #else
30492 char (*f) () = $ac_func;
30493 #endif
30494 #ifdef __cplusplus
30495 }
30496 #endif
30497
30498 int
30499 main ()
30500 {
30501 return f != $ac_func;
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30508 (eval $ac_link) 2>conftest.er1
30509 ac_status=$?
30510 grep -v '^ *+' conftest.er1 >conftest.err
30511 rm -f conftest.er1
30512 cat conftest.err >&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); } &&
30515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30517 (eval $ac_try) 2>&5
30518 ac_status=$?
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); }; } &&
30521 { ac_try='test -s conftest$ac_exeext'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30527 eval "$as_ac_var=yes"
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30531
30532 eval "$as_ac_var=no"
30533 fi
30534 rm -f conftest.err conftest.$ac_objext \
30535 conftest$ac_exeext conftest.$ac_ext
30536 fi
30537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30539 if test `eval echo '${'$as_ac_var'}'` = yes; then
30540 cat >>confdefs.h <<_ACEOF
30541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30542 _ACEOF
30543 break
30544 fi
30545 done
30546
30547
30548 HAVE_SOME_SLEEP_FUNC=0
30549 if test "$USE_BEOS" = 1; then
30550 cat >>confdefs.h <<\_ACEOF
30551 #define HAVE_SLEEP 1
30552 _ACEOF
30553
30554 HAVE_SOME_SLEEP_FUNC=1
30555 fi
30556
30557 if test "$USE_DARWIN" = 1; then
30558 cat >>confdefs.h <<\_ACEOF
30559 #define HAVE_USLEEP 1
30560 _ACEOF
30561
30562 HAVE_SOME_SLEEP_FUNC=1
30563 fi
30564
30565 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30566 POSIX4_LINK=
30567
30568 for ac_func in nanosleep
30569 do
30570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30571 echo "$as_me:$LINENO: checking for $ac_func" >&5
30572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30573 if eval "test \"\${$as_ac_var+set}\" = set"; then
30574 echo $ECHO_N "(cached) $ECHO_C" >&6
30575 else
30576 cat >conftest.$ac_ext <<_ACEOF
30577 /* confdefs.h. */
30578 _ACEOF
30579 cat confdefs.h >>conftest.$ac_ext
30580 cat >>conftest.$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30584 #define $ac_func innocuous_$ac_func
30585
30586 /* System header to define __stub macros and hopefully few prototypes,
30587 which can conflict with char $ac_func (); below.
30588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30589 <limits.h> exists even on freestanding compilers. */
30590
30591 #ifdef __STDC__
30592 # include <limits.h>
30593 #else
30594 # include <assert.h>
30595 #endif
30596
30597 #undef $ac_func
30598
30599 /* Override any gcc2 internal prototype to avoid an error. */
30600 #ifdef __cplusplus
30601 extern "C"
30602 {
30603 #endif
30604 /* We use char because int might match the return type of a gcc2
30605 builtin and then its argument prototype would still apply. */
30606 char $ac_func ();
30607 /* The GNU C library defines this for functions which it implements
30608 to always fail with ENOSYS. Some functions are actually named
30609 something starting with __ and the normal name is an alias. */
30610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30611 choke me
30612 #else
30613 char (*f) () = $ac_func;
30614 #endif
30615 #ifdef __cplusplus
30616 }
30617 #endif
30618
30619 int
30620 main ()
30621 {
30622 return f != $ac_func;
30623 ;
30624 return 0;
30625 }
30626 _ACEOF
30627 rm -f conftest.$ac_objext conftest$ac_exeext
30628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30629 (eval $ac_link) 2>conftest.er1
30630 ac_status=$?
30631 grep -v '^ *+' conftest.er1 >conftest.err
30632 rm -f conftest.er1
30633 cat conftest.err >&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); } &&
30636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30638 (eval $ac_try) 2>&5
30639 ac_status=$?
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; } &&
30642 { ac_try='test -s conftest$ac_exeext'
30643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30644 (eval $ac_try) 2>&5
30645 ac_status=$?
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); }; }; then
30648 eval "$as_ac_var=yes"
30649 else
30650 echo "$as_me: failed program was:" >&5
30651 sed 's/^/| /' conftest.$ac_ext >&5
30652
30653 eval "$as_ac_var=no"
30654 fi
30655 rm -f conftest.err conftest.$ac_objext \
30656 conftest$ac_exeext conftest.$ac_ext
30657 fi
30658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30660 if test `eval echo '${'$as_ac_var'}'` = yes; then
30661 cat >>confdefs.h <<_ACEOF
30662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30663 _ACEOF
30664 cat >>confdefs.h <<\_ACEOF
30665 #define HAVE_NANOSLEEP 1
30666 _ACEOF
30667
30668 else
30669
30670 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30671 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30672 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30673 echo $ECHO_N "(cached) $ECHO_C" >&6
30674 else
30675 ac_check_lib_save_LIBS=$LIBS
30676 LIBS="-lposix4 $LIBS"
30677 cat >conftest.$ac_ext <<_ACEOF
30678 /* confdefs.h. */
30679 _ACEOF
30680 cat confdefs.h >>conftest.$ac_ext
30681 cat >>conftest.$ac_ext <<_ACEOF
30682 /* end confdefs.h. */
30683
30684 /* Override any gcc2 internal prototype to avoid an error. */
30685 #ifdef __cplusplus
30686 extern "C"
30687 #endif
30688 /* We use char because int might match the return type of a gcc2
30689 builtin and then its argument prototype would still apply. */
30690 char nanosleep ();
30691 int
30692 main ()
30693 {
30694 nanosleep ();
30695 ;
30696 return 0;
30697 }
30698 _ACEOF
30699 rm -f conftest.$ac_objext conftest$ac_exeext
30700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30701 (eval $ac_link) 2>conftest.er1
30702 ac_status=$?
30703 grep -v '^ *+' conftest.er1 >conftest.err
30704 rm -f conftest.er1
30705 cat conftest.err >&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } &&
30708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30711 ac_status=$?
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; } &&
30714 { ac_try='test -s conftest$ac_exeext'
30715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30716 (eval $ac_try) 2>&5
30717 ac_status=$?
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; }; then
30720 ac_cv_lib_posix4_nanosleep=yes
30721 else
30722 echo "$as_me: failed program was:" >&5
30723 sed 's/^/| /' conftest.$ac_ext >&5
30724
30725 ac_cv_lib_posix4_nanosleep=no
30726 fi
30727 rm -f conftest.err conftest.$ac_objext \
30728 conftest$ac_exeext conftest.$ac_ext
30729 LIBS=$ac_check_lib_save_LIBS
30730 fi
30731 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30732 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30733 if test $ac_cv_lib_posix4_nanosleep = yes; then
30734
30735 cat >>confdefs.h <<\_ACEOF
30736 #define HAVE_NANOSLEEP 1
30737 _ACEOF
30738
30739 POSIX4_LINK=" -lposix4"
30740
30741 else
30742
30743
30744 for ac_func in usleep
30745 do
30746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30747 echo "$as_me:$LINENO: checking for $ac_func" >&5
30748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30749 if eval "test \"\${$as_ac_var+set}\" = set"; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30751 else
30752 cat >conftest.$ac_ext <<_ACEOF
30753 /* confdefs.h. */
30754 _ACEOF
30755 cat confdefs.h >>conftest.$ac_ext
30756 cat >>conftest.$ac_ext <<_ACEOF
30757 /* end confdefs.h. */
30758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30760 #define $ac_func innocuous_$ac_func
30761
30762 /* System header to define __stub macros and hopefully few prototypes,
30763 which can conflict with char $ac_func (); below.
30764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30765 <limits.h> exists even on freestanding compilers. */
30766
30767 #ifdef __STDC__
30768 # include <limits.h>
30769 #else
30770 # include <assert.h>
30771 #endif
30772
30773 #undef $ac_func
30774
30775 /* Override any gcc2 internal prototype to avoid an error. */
30776 #ifdef __cplusplus
30777 extern "C"
30778 {
30779 #endif
30780 /* We use char because int might match the return type of a gcc2
30781 builtin and then its argument prototype would still apply. */
30782 char $ac_func ();
30783 /* The GNU C library defines this for functions which it implements
30784 to always fail with ENOSYS. Some functions are actually named
30785 something starting with __ and the normal name is an alias. */
30786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30787 choke me
30788 #else
30789 char (*f) () = $ac_func;
30790 #endif
30791 #ifdef __cplusplus
30792 }
30793 #endif
30794
30795 int
30796 main ()
30797 {
30798 return f != $ac_func;
30799 ;
30800 return 0;
30801 }
30802 _ACEOF
30803 rm -f conftest.$ac_objext conftest$ac_exeext
30804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30805 (eval $ac_link) 2>conftest.er1
30806 ac_status=$?
30807 grep -v '^ *+' conftest.er1 >conftest.err
30808 rm -f conftest.er1
30809 cat conftest.err >&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } &&
30812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30814 (eval $ac_try) 2>&5
30815 ac_status=$?
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; } &&
30818 { ac_try='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30821 ac_status=$?
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 eval "$as_ac_var=yes"
30825 else
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.$ac_ext >&5
30828
30829 eval "$as_ac_var=no"
30830 fi
30831 rm -f conftest.err conftest.$ac_objext \
30832 conftest$ac_exeext conftest.$ac_ext
30833 fi
30834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30836 if test `eval echo '${'$as_ac_var'}'` = yes; then
30837 cat >>confdefs.h <<_ACEOF
30838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30839 _ACEOF
30840 cat >>confdefs.h <<\_ACEOF
30841 #define HAVE_USLEEP 1
30842 _ACEOF
30843
30844 else
30845 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30846 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30847
30848 fi
30849 done
30850
30851
30852
30853 fi
30854
30855
30856
30857 fi
30858 done
30859
30860 fi
30861
30862
30863
30864 for ac_func in uname gethostname
30865 do
30866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30867 echo "$as_me:$LINENO: checking for $ac_func" >&5
30868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30869 if eval "test \"\${$as_ac_var+set}\" = set"; then
30870 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 else
30872 cat >conftest.$ac_ext <<_ACEOF
30873 /* confdefs.h. */
30874 _ACEOF
30875 cat confdefs.h >>conftest.$ac_ext
30876 cat >>conftest.$ac_ext <<_ACEOF
30877 /* end confdefs.h. */
30878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30880 #define $ac_func innocuous_$ac_func
30881
30882 /* System header to define __stub macros and hopefully few prototypes,
30883 which can conflict with char $ac_func (); below.
30884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30885 <limits.h> exists even on freestanding compilers. */
30886
30887 #ifdef __STDC__
30888 # include <limits.h>
30889 #else
30890 # include <assert.h>
30891 #endif
30892
30893 #undef $ac_func
30894
30895 /* Override any gcc2 internal prototype to avoid an error. */
30896 #ifdef __cplusplus
30897 extern "C"
30898 {
30899 #endif
30900 /* We use char because int might match the return type of a gcc2
30901 builtin and then its argument prototype would still apply. */
30902 char $ac_func ();
30903 /* The GNU C library defines this for functions which it implements
30904 to always fail with ENOSYS. Some functions are actually named
30905 something starting with __ and the normal name is an alias. */
30906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30907 choke me
30908 #else
30909 char (*f) () = $ac_func;
30910 #endif
30911 #ifdef __cplusplus
30912 }
30913 #endif
30914
30915 int
30916 main ()
30917 {
30918 return f != $ac_func;
30919 ;
30920 return 0;
30921 }
30922 _ACEOF
30923 rm -f conftest.$ac_objext conftest$ac_exeext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30925 (eval $ac_link) 2>conftest.er1
30926 ac_status=$?
30927 grep -v '^ *+' conftest.er1 >conftest.err
30928 rm -f conftest.er1
30929 cat conftest.err >&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30935 ac_status=$?
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; } &&
30938 { ac_try='test -s conftest$ac_exeext'
30939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30940 (eval $ac_try) 2>&5
30941 ac_status=$?
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); }; }; then
30944 eval "$as_ac_var=yes"
30945 else
30946 echo "$as_me: failed program was:" >&5
30947 sed 's/^/| /' conftest.$ac_ext >&5
30948
30949 eval "$as_ac_var=no"
30950 fi
30951 rm -f conftest.err conftest.$ac_objext \
30952 conftest$ac_exeext conftest.$ac_ext
30953 fi
30954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30956 if test `eval echo '${'$as_ac_var'}'` = yes; then
30957 cat >>confdefs.h <<_ACEOF
30958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30959 _ACEOF
30960 break
30961 fi
30962 done
30963
30964
30965
30966
30967 ac_ext=cc
30968 ac_cpp='$CXXCPP $CPPFLAGS'
30969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30972
30973
30974
30975 for ac_func in strtok_r
30976 do
30977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30978 echo "$as_me:$LINENO: checking for $ac_func" >&5
30979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30980 if eval "test \"\${$as_ac_var+set}\" = set"; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 else
30983 cat >conftest.$ac_ext <<_ACEOF
30984 /* confdefs.h. */
30985 _ACEOF
30986 cat confdefs.h >>conftest.$ac_ext
30987 cat >>conftest.$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30991 #define $ac_func innocuous_$ac_func
30992
30993 /* System header to define __stub macros and hopefully few prototypes,
30994 which can conflict with char $ac_func (); below.
30995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30996 <limits.h> exists even on freestanding compilers. */
30997
30998 #ifdef __STDC__
30999 # include <limits.h>
31000 #else
31001 # include <assert.h>
31002 #endif
31003
31004 #undef $ac_func
31005
31006 /* Override any gcc2 internal prototype to avoid an error. */
31007 #ifdef __cplusplus
31008 extern "C"
31009 {
31010 #endif
31011 /* We use char because int might match the return type of a gcc2
31012 builtin and then its argument prototype would still apply. */
31013 char $ac_func ();
31014 /* The GNU C library defines this for functions which it implements
31015 to always fail with ENOSYS. Some functions are actually named
31016 something starting with __ and the normal name is an alias. */
31017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31018 choke me
31019 #else
31020 char (*f) () = $ac_func;
31021 #endif
31022 #ifdef __cplusplus
31023 }
31024 #endif
31025
31026 int
31027 main ()
31028 {
31029 return f != $ac_func;
31030 ;
31031 return 0;
31032 }
31033 _ACEOF
31034 rm -f conftest.$ac_objext conftest$ac_exeext
31035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31036 (eval $ac_link) 2>conftest.er1
31037 ac_status=$?
31038 grep -v '^ *+' conftest.er1 >conftest.err
31039 rm -f conftest.er1
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } &&
31043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; } &&
31049 { ac_try='test -s conftest$ac_exeext'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31052 ac_status=$?
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; }; then
31055 eval "$as_ac_var=yes"
31056 else
31057 echo "$as_me: failed program was:" >&5
31058 sed 's/^/| /' conftest.$ac_ext >&5
31059
31060 eval "$as_ac_var=no"
31061 fi
31062 rm -f conftest.err conftest.$ac_objext \
31063 conftest$ac_exeext conftest.$ac_ext
31064 fi
31065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31067 if test `eval echo '${'$as_ac_var'}'` = yes; then
31068 cat >>confdefs.h <<_ACEOF
31069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31070 _ACEOF
31071
31072 fi
31073 done
31074
31075
31076 ac_ext=c
31077 ac_cpp='$CPP $CPPFLAGS'
31078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081
31082
31083 INET_LINK=
31084
31085 for ac_func in inet_addr
31086 do
31087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31088 echo "$as_me:$LINENO: checking for $ac_func" >&5
31089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31090 if eval "test \"\${$as_ac_var+set}\" = set"; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31092 else
31093 cat >conftest.$ac_ext <<_ACEOF
31094 /* confdefs.h. */
31095 _ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31101 #define $ac_func innocuous_$ac_func
31102
31103 /* System header to define __stub macros and hopefully few prototypes,
31104 which can conflict with char $ac_func (); below.
31105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31106 <limits.h> exists even on freestanding compilers. */
31107
31108 #ifdef __STDC__
31109 # include <limits.h>
31110 #else
31111 # include <assert.h>
31112 #endif
31113
31114 #undef $ac_func
31115
31116 /* Override any gcc2 internal prototype to avoid an error. */
31117 #ifdef __cplusplus
31118 extern "C"
31119 {
31120 #endif
31121 /* We use char because int might match the return type of a gcc2
31122 builtin and then its argument prototype would still apply. */
31123 char $ac_func ();
31124 /* The GNU C library defines this for functions which it implements
31125 to always fail with ENOSYS. Some functions are actually named
31126 something starting with __ and the normal name is an alias. */
31127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31128 choke me
31129 #else
31130 char (*f) () = $ac_func;
31131 #endif
31132 #ifdef __cplusplus
31133 }
31134 #endif
31135
31136 int
31137 main ()
31138 {
31139 return f != $ac_func;
31140 ;
31141 return 0;
31142 }
31143 _ACEOF
31144 rm -f conftest.$ac_objext conftest$ac_exeext
31145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31146 (eval $ac_link) 2>conftest.er1
31147 ac_status=$?
31148 grep -v '^ *+' conftest.er1 >conftest.err
31149 rm -f conftest.er1
31150 cat conftest.err >&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); } &&
31153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31155 (eval $ac_try) 2>&5
31156 ac_status=$?
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); }; } &&
31159 { ac_try='test -s conftest$ac_exeext'
31160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161 (eval $ac_try) 2>&5
31162 ac_status=$?
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); }; }; then
31165 eval "$as_ac_var=yes"
31166 else
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31169
31170 eval "$as_ac_var=no"
31171 fi
31172 rm -f conftest.err conftest.$ac_objext \
31173 conftest$ac_exeext conftest.$ac_ext
31174 fi
31175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31177 if test `eval echo '${'$as_ac_var'}'` = yes; then
31178 cat >>confdefs.h <<_ACEOF
31179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31180 _ACEOF
31181 cat >>confdefs.h <<\_ACEOF
31182 #define HAVE_INET_ADDR 1
31183 _ACEOF
31184
31185 else
31186
31187 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31188 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31189 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31190 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 else
31192 ac_check_lib_save_LIBS=$LIBS
31193 LIBS="-lnsl $LIBS"
31194 cat >conftest.$ac_ext <<_ACEOF
31195 /* confdefs.h. */
31196 _ACEOF
31197 cat confdefs.h >>conftest.$ac_ext
31198 cat >>conftest.$ac_ext <<_ACEOF
31199 /* end confdefs.h. */
31200
31201 /* Override any gcc2 internal prototype to avoid an error. */
31202 #ifdef __cplusplus
31203 extern "C"
31204 #endif
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31207 char inet_addr ();
31208 int
31209 main ()
31210 {
31211 inet_addr ();
31212 ;
31213 return 0;
31214 }
31215 _ACEOF
31216 rm -f conftest.$ac_objext conftest$ac_exeext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31218 (eval $ac_link) 2>conftest.er1
31219 ac_status=$?
31220 grep -v '^ *+' conftest.er1 >conftest.err
31221 rm -f conftest.er1
31222 cat conftest.err >&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } &&
31225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31228 ac_status=$?
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; } &&
31231 { ac_try='test -s conftest$ac_exeext'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31234 ac_status=$?
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; }; then
31237 ac_cv_lib_nsl_inet_addr=yes
31238 else
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.$ac_ext >&5
31241
31242 ac_cv_lib_nsl_inet_addr=no
31243 fi
31244 rm -f conftest.err conftest.$ac_objext \
31245 conftest$ac_exeext conftest.$ac_ext
31246 LIBS=$ac_check_lib_save_LIBS
31247 fi
31248 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31249 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31250 if test $ac_cv_lib_nsl_inet_addr = yes; then
31251 INET_LINK="nsl"
31252 else
31253
31254 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31255 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31256 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31258 else
31259 ac_check_lib_save_LIBS=$LIBS
31260 LIBS="-lresolv $LIBS"
31261 cat >conftest.$ac_ext <<_ACEOF
31262 /* confdefs.h. */
31263 _ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267
31268 /* Override any gcc2 internal prototype to avoid an error. */
31269 #ifdef __cplusplus
31270 extern "C"
31271 #endif
31272 /* We use char because int might match the return type of a gcc2
31273 builtin and then its argument prototype would still apply. */
31274 char inet_addr ();
31275 int
31276 main ()
31277 {
31278 inet_addr ();
31279 ;
31280 return 0;
31281 }
31282 _ACEOF
31283 rm -f conftest.$ac_objext conftest$ac_exeext
31284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31285 (eval $ac_link) 2>conftest.er1
31286 ac_status=$?
31287 grep -v '^ *+' conftest.er1 >conftest.err
31288 rm -f conftest.er1
31289 cat conftest.err >&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); } &&
31292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31294 (eval $ac_try) 2>&5
31295 ac_status=$?
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); }; } &&
31298 { ac_try='test -s conftest$ac_exeext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31301 ac_status=$?
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304 ac_cv_lib_resolv_inet_addr=yes
31305 else
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.$ac_ext >&5
31308
31309 ac_cv_lib_resolv_inet_addr=no
31310 fi
31311 rm -f conftest.err conftest.$ac_objext \
31312 conftest$ac_exeext conftest.$ac_ext
31313 LIBS=$ac_check_lib_save_LIBS
31314 fi
31315 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31316 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31317 if test $ac_cv_lib_resolv_inet_addr = yes; then
31318 INET_LINK="resolv"
31319 else
31320
31321 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31322 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31323 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31324 echo $ECHO_N "(cached) $ECHO_C" >&6
31325 else
31326 ac_check_lib_save_LIBS=$LIBS
31327 LIBS="-lsocket $LIBS"
31328 cat >conftest.$ac_ext <<_ACEOF
31329 /* confdefs.h. */
31330 _ACEOF
31331 cat confdefs.h >>conftest.$ac_ext
31332 cat >>conftest.$ac_ext <<_ACEOF
31333 /* end confdefs.h. */
31334
31335 /* Override any gcc2 internal prototype to avoid an error. */
31336 #ifdef __cplusplus
31337 extern "C"
31338 #endif
31339 /* We use char because int might match the return type of a gcc2
31340 builtin and then its argument prototype would still apply. */
31341 char inet_addr ();
31342 int
31343 main ()
31344 {
31345 inet_addr ();
31346 ;
31347 return 0;
31348 }
31349 _ACEOF
31350 rm -f conftest.$ac_objext conftest$ac_exeext
31351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31352 (eval $ac_link) 2>conftest.er1
31353 ac_status=$?
31354 grep -v '^ *+' conftest.er1 >conftest.err
31355 rm -f conftest.er1
31356 cat conftest.err >&5
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); } &&
31359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361 (eval $ac_try) 2>&5
31362 ac_status=$?
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); }; } &&
31365 { ac_try='test -s conftest$ac_exeext'
31366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367 (eval $ac_try) 2>&5
31368 ac_status=$?
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; }; then
31371 ac_cv_lib_socket_inet_addr=yes
31372 else
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31375
31376 ac_cv_lib_socket_inet_addr=no
31377 fi
31378 rm -f conftest.err conftest.$ac_objext \
31379 conftest$ac_exeext conftest.$ac_ext
31380 LIBS=$ac_check_lib_save_LIBS
31381 fi
31382 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31383 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31384 if test $ac_cv_lib_socket_inet_addr = yes; then
31385 INET_LINK="socket"
31386
31387 fi
31388
31389
31390
31391 fi
31392
31393
31394
31395 fi
31396
31397
31398
31399 fi
31400 done
31401
31402
31403
31404 for ac_func in inet_aton
31405 do
31406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31407 echo "$as_me:$LINENO: checking for $ac_func" >&5
31408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31409 if eval "test \"\${$as_ac_var+set}\" = set"; then
31410 echo $ECHO_N "(cached) $ECHO_C" >&6
31411 else
31412 cat >conftest.$ac_ext <<_ACEOF
31413 /* confdefs.h. */
31414 _ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31420 #define $ac_func innocuous_$ac_func
31421
31422 /* System header to define __stub macros and hopefully few prototypes,
31423 which can conflict with char $ac_func (); below.
31424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31425 <limits.h> exists even on freestanding compilers. */
31426
31427 #ifdef __STDC__
31428 # include <limits.h>
31429 #else
31430 # include <assert.h>
31431 #endif
31432
31433 #undef $ac_func
31434
31435 /* Override any gcc2 internal prototype to avoid an error. */
31436 #ifdef __cplusplus
31437 extern "C"
31438 {
31439 #endif
31440 /* We use char because int might match the return type of a gcc2
31441 builtin and then its argument prototype would still apply. */
31442 char $ac_func ();
31443 /* The GNU C library defines this for functions which it implements
31444 to always fail with ENOSYS. Some functions are actually named
31445 something starting with __ and the normal name is an alias. */
31446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31447 choke me
31448 #else
31449 char (*f) () = $ac_func;
31450 #endif
31451 #ifdef __cplusplus
31452 }
31453 #endif
31454
31455 int
31456 main ()
31457 {
31458 return f != $ac_func;
31459 ;
31460 return 0;
31461 }
31462 _ACEOF
31463 rm -f conftest.$ac_objext conftest$ac_exeext
31464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31465 (eval $ac_link) 2>conftest.er1
31466 ac_status=$?
31467 grep -v '^ *+' conftest.er1 >conftest.err
31468 rm -f conftest.er1
31469 cat conftest.err >&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } &&
31472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31475 ac_status=$?
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; } &&
31478 { ac_try='test -s conftest$ac_exeext'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; }; then
31484 eval "$as_ac_var=yes"
31485 else
31486 echo "$as_me: failed program was:" >&5
31487 sed 's/^/| /' conftest.$ac_ext >&5
31488
31489 eval "$as_ac_var=no"
31490 fi
31491 rm -f conftest.err conftest.$ac_objext \
31492 conftest$ac_exeext conftest.$ac_ext
31493 fi
31494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31496 if test `eval echo '${'$as_ac_var'}'` = yes; then
31497 cat >>confdefs.h <<_ACEOF
31498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31499 _ACEOF
31500 cat >>confdefs.h <<\_ACEOF
31501 #define HAVE_INET_ATON 1
31502 _ACEOF
31503
31504 else
31505
31506 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31507 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31508 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31509 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31511 else
31512 ac_check_lib_save_LIBS=$LIBS
31513 LIBS="-l$INET_LINK $LIBS"
31514 cat >conftest.$ac_ext <<_ACEOF
31515 /* confdefs.h. */
31516 _ACEOF
31517 cat confdefs.h >>conftest.$ac_ext
31518 cat >>conftest.$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520
31521 /* Override any gcc2 internal prototype to avoid an error. */
31522 #ifdef __cplusplus
31523 extern "C"
31524 #endif
31525 /* We use char because int might match the return type of a gcc2
31526 builtin and then its argument prototype would still apply. */
31527 char inet_aton ();
31528 int
31529 main ()
31530 {
31531 inet_aton ();
31532 ;
31533 return 0;
31534 }
31535 _ACEOF
31536 rm -f conftest.$ac_objext conftest$ac_exeext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31538 (eval $ac_link) 2>conftest.er1
31539 ac_status=$?
31540 grep -v '^ *+' conftest.er1 >conftest.err
31541 rm -f conftest.er1
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } &&
31545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31548 ac_status=$?
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; } &&
31551 { ac_try='test -s conftest$ac_exeext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31554 ac_status=$?
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 eval "$as_ac_Lib=yes"
31558 else
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.$ac_ext >&5
31561
31562 eval "$as_ac_Lib=no"
31563 fi
31564 rm -f conftest.err conftest.$ac_objext \
31565 conftest$ac_exeext conftest.$ac_ext
31566 LIBS=$ac_check_lib_save_LIBS
31567 fi
31568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31569 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31570 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31571 cat >>confdefs.h <<\_ACEOF
31572 #define HAVE_INET_ATON 1
31573 _ACEOF
31574
31575 fi
31576
31577
31578 fi
31579 done
31580
31581
31582 if test "x$INET_LINK" != "x"; then
31583 cat >>confdefs.h <<\_ACEOF
31584 #define HAVE_INET_ADDR 1
31585 _ACEOF
31586
31587 INET_LINK=" -l$INET_LINK"
31588 fi
31589
31590 fi
31591
31592
31593
31594 EXTRALIBS_ESD=
31595 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31596 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31597 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31598 echo $ECHO_N "(cached) $ECHO_C" >&6
31599 else
31600 ac_check_lib_save_LIBS=$LIBS
31601 LIBS="-lesd $LIBS"
31602 cat >conftest.$ac_ext <<_ACEOF
31603 /* confdefs.h. */
31604 _ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31608
31609 /* Override any gcc2 internal prototype to avoid an error. */
31610 #ifdef __cplusplus
31611 extern "C"
31612 #endif
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31615 char esd_close ();
31616 int
31617 main ()
31618 {
31619 esd_close ();
31620 ;
31621 return 0;
31622 }
31623 _ACEOF
31624 rm -f conftest.$ac_objext conftest$ac_exeext
31625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31626 (eval $ac_link) 2>conftest.er1
31627 ac_status=$?
31628 grep -v '^ *+' conftest.er1 >conftest.err
31629 rm -f conftest.er1
31630 cat conftest.err >&5
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); } &&
31633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31636 ac_status=$?
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; } &&
31639 { ac_try='test -s conftest$ac_exeext'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31642 ac_status=$?
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; }; then
31645 ac_cv_lib_esd_esd_close=yes
31646 else
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.$ac_ext >&5
31649
31650 ac_cv_lib_esd_esd_close=no
31651 fi
31652 rm -f conftest.err conftest.$ac_objext \
31653 conftest$ac_exeext conftest.$ac_ext
31654 LIBS=$ac_check_lib_save_LIBS
31655 fi
31656 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31657 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31658 if test $ac_cv_lib_esd_esd_close = yes; then
31659
31660
31661 for ac_header in esd.h
31662 do
31663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31665 echo "$as_me:$LINENO: checking for $ac_header" >&5
31666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31669 fi
31670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31672 else
31673 # Is the header compilable?
31674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31676 cat >conftest.$ac_ext <<_ACEOF
31677 /* confdefs.h. */
31678 _ACEOF
31679 cat confdefs.h >>conftest.$ac_ext
31680 cat >>conftest.$ac_ext <<_ACEOF
31681 /* end confdefs.h. */
31682 $ac_includes_default
31683 #include <$ac_header>
31684 _ACEOF
31685 rm -f conftest.$ac_objext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31687 (eval $ac_compile) 2>conftest.er1
31688 ac_status=$?
31689 grep -v '^ *+' conftest.er1 >conftest.err
31690 rm -f conftest.er1
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31697 ac_status=$?
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; } &&
31700 { ac_try='test -s conftest.$ac_objext'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31703 ac_status=$?
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; }; then
31706 ac_header_compiler=yes
31707 else
31708 echo "$as_me: failed program was:" >&5
31709 sed 's/^/| /' conftest.$ac_ext >&5
31710
31711 ac_header_compiler=no
31712 fi
31713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31715 echo "${ECHO_T}$ac_header_compiler" >&6
31716
31717 # Is the header present?
31718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31720 cat >conftest.$ac_ext <<_ACEOF
31721 /* confdefs.h. */
31722 _ACEOF
31723 cat confdefs.h >>conftest.$ac_ext
31724 cat >>conftest.$ac_ext <<_ACEOF
31725 /* end confdefs.h. */
31726 #include <$ac_header>
31727 _ACEOF
31728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31730 ac_status=$?
31731 grep -v '^ *+' conftest.er1 >conftest.err
31732 rm -f conftest.er1
31733 cat conftest.err >&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); } >/dev/null; then
31736 if test -s conftest.err; then
31737 ac_cpp_err=$ac_c_preproc_warn_flag
31738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31739 else
31740 ac_cpp_err=
31741 fi
31742 else
31743 ac_cpp_err=yes
31744 fi
31745 if test -z "$ac_cpp_err"; then
31746 ac_header_preproc=yes
31747 else
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.$ac_ext >&5
31750
31751 ac_header_preproc=no
31752 fi
31753 rm -f conftest.err conftest.$ac_ext
31754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31755 echo "${ECHO_T}$ac_header_preproc" >&6
31756
31757 # So? What about this header?
31758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31759 yes:no: )
31760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31764 ac_header_preproc=yes
31765 ;;
31766 no:yes:* )
31767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31779 (
31780 cat <<\_ASBOX
31781 ## ----------------------------------------- ##
31782 ## Report this to wx-dev@lists.wxwidgets.org ##
31783 ## ----------------------------------------- ##
31784 _ASBOX
31785 ) |
31786 sed "s/^/$as_me: WARNING: /" >&2
31787 ;;
31788 esac
31789 echo "$as_me:$LINENO: checking for $ac_header" >&5
31790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31793 else
31794 eval "$as_ac_Header=\$ac_header_preproc"
31795 fi
31796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31798
31799 fi
31800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31801 cat >>confdefs.h <<_ACEOF
31802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31803 _ACEOF
31804
31805 EXTRALIBS_ESD="-lesd"
31806
31807 fi
31808
31809 done
31810
31811
31812 fi
31813
31814
31815
31816 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31817 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31818 cat >conftest.$ac_ext <<_ACEOF
31819 /* confdefs.h. */
31820 _ACEOF
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31824 #ifdef __linux__
31825 #include <linux/cdrom.h>
31826 #else
31827 /* For Solaris */
31828 #include <sys/cdio.h>
31829 #endif
31830
31831 int
31832 main ()
31833 {
31834 struct cdrom_tocentry entry, old_entry;
31835 ;
31836 return 0;
31837 }
31838 _ACEOF
31839 rm -f conftest.$ac_objext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31841 (eval $ac_compile) 2>conftest.er1
31842 ac_status=$?
31843 grep -v '^ *+' conftest.er1 >conftest.err
31844 rm -f conftest.er1
31845 cat conftest.err >&5
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); } &&
31848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31850 (eval $ac_try) 2>&5
31851 ac_status=$?
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); }; } &&
31854 { ac_try='test -s conftest.$ac_objext'
31855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31856 (eval $ac_try) 2>&5
31857 ac_status=$?
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; }; then
31860 echo "$as_me:$LINENO: result: yes" >&5
31861 echo "${ECHO_T}yes" >&6
31862 cat >>confdefs.h <<\_ACEOF
31863 #define HAVE_KNOWN_CDROM_INTERFACE 1
31864 _ACEOF
31865
31866 else
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.$ac_ext >&5
31869
31870 echo "$as_me:$LINENO: result: no" >&5
31871 echo "${ECHO_T}no" >&6
31872 fi
31873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31874
31875
31876 cat >confcache <<\_ACEOF
31877 # This file is a shell script that caches the results of configure
31878 # tests run on this system so they can be shared between configure
31879 # scripts and configure runs, see configure's option --config-cache.
31880 # It is not useful on other systems. If it contains results you don't
31881 # want to keep, you may remove or edit it.
31882 #
31883 # config.status only pays attention to the cache file if you give it
31884 # the --recheck option to rerun configure.
31885 #
31886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31888 # following values.
31889
31890 _ACEOF
31891
31892 # The following way of writing the cache mishandles newlines in values,
31893 # but we know of no workaround that is simple, portable, and efficient.
31894 # So, don't put newlines in cache variables' values.
31895 # Ultrix sh set writes to stderr and can't be redirected directly,
31896 # and sets the high bit in the cache file unless we assign to the vars.
31897 {
31898 (set) 2>&1 |
31899 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31900 *ac_space=\ *)
31901 # `set' does not quote correctly, so add quotes (double-quote
31902 # substitution turns \\\\ into \\, and sed turns \\ into \).
31903 sed -n \
31904 "s/'/'\\\\''/g;
31905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31906 ;;
31907 *)
31908 # `set' quotes correctly as required by POSIX, so do not add quotes.
31909 sed -n \
31910 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31911 ;;
31912 esac;
31913 } |
31914 sed '
31915 t clear
31916 : clear
31917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31918 t end
31919 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31920 : end' >>confcache
31921 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31922 if test -w $cache_file; then
31923 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31924 cat confcache >$cache_file
31925 else
31926 echo "not updating unwritable cache $cache_file"
31927 fi
31928 fi
31929 rm -f confcache
31930
31931
31932 CPP_MT_FLAG=
31933 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31934
31935
31936 THREADS_LINK=
31937 THREADS_CFLAGS=
31938
31939 if test "$wxUSE_THREADS" = "yes" ; then
31940 if test "$USE_BEOS" = 1; then
31941 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31942 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31943 wxUSE_THREADS="no"
31944 fi
31945 fi
31946
31947 if test "$wxUSE_THREADS" = "yes" ; then
31948
31949
31950 THREAD_OPTS="-pthread"
31951 case "${host}" in
31952 *-*-solaris2* | *-*-sunos4* )
31953 if test "x$GCC" = "xyes"; then
31954 THREAD_OPTS="-pthreads $THREAD_OPTS"
31955 else
31956 THREAD_OPTS="-mt $THREAD_OPTS"
31957 fi
31958 ;;
31959 *-*-freebsd*)
31960 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31961 ;;
31962 *-*-darwin* | *-*-cygwin* )
31963 THREAD_OPTS=""
31964 ;;
31965 *-*-aix*)
31966 THREAD_OPTS="pthreads"
31967 ;;
31968 *-hp-hpux* )
31969 if test "x$GCC" != "xyes"; then
31970 THREAD_OPTS=""
31971 fi
31972 ;;
31973
31974 *-*-irix* )
31975 if test "x$GCC" = "xyes"; then
31976 THREAD_OPTS=""
31977 fi
31978 ;;
31979
31980 *-*-*UnixWare*)
31981 if test "x$GCC" != "xyes"; then
31982 THREAD_OPTS="-Ethread"
31983 fi
31984 ;;
31985 esac
31986
31987 THREAD_OPTS="$THREAD_OPTS pthread none"
31988
31989 THREADS_OK=no
31990 for flag in $THREAD_OPTS; do
31991 case $flag in
31992 none)
31993 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31994 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31995 ;;
31996
31997 -*)
31998 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31999 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32000 THREADS_CFLAGS="$flag"
32001 ;;
32002
32003 *)
32004 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32005 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32006 THREADS_LINK="-l$flag"
32007 ;;
32008 esac
32009
32010 save_LIBS="$LIBS"
32011 save_CFLAGS="$CFLAGS"
32012 LIBS="$THREADS_LINK $LIBS"
32013 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32014
32015 cat >conftest.$ac_ext <<_ACEOF
32016 /* confdefs.h. */
32017 _ACEOF
32018 cat confdefs.h >>conftest.$ac_ext
32019 cat >>conftest.$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 #include <pthread.h>
32022 int
32023 main ()
32024 {
32025 pthread_create(0,0,0,0);
32026 ;
32027 return 0;
32028 }
32029 _ACEOF
32030 rm -f conftest.$ac_objext conftest$ac_exeext
32031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32032 (eval $ac_link) 2>conftest.er1
32033 ac_status=$?
32034 grep -v '^ *+' conftest.er1 >conftest.err
32035 rm -f conftest.er1
32036 cat conftest.err >&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } &&
32039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32042 ac_status=$?
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; } &&
32045 { ac_try='test -s conftest$ac_exeext'
32046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047 (eval $ac_try) 2>&5
32048 ac_status=$?
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32051 THREADS_OK=yes
32052 else
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.$ac_ext >&5
32055
32056 fi
32057 rm -f conftest.err conftest.$ac_objext \
32058 conftest$ac_exeext conftest.$ac_ext
32059
32060 LIBS="$save_LIBS"
32061 CFLAGS="$save_CFLAGS"
32062
32063 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32064 echo "${ECHO_T}$THREADS_OK" >&6
32065 if test "x$THREADS_OK" = "xyes"; then
32066 break;
32067 fi
32068
32069 THREADS_LINK=""
32070 THREADS_CFLAGS=""
32071 done
32072
32073 if test "x$THREADS_OK" != "xyes"; then
32074 wxUSE_THREADS=no
32075 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32076 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32077 else
32078 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32079 LIBS="$THREADS_LINK $LIBS"
32080
32081 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32082 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32083 flag=no
32084 case "${host}" in
32085 *-aix*)
32086 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32087 flag="-D_THREAD_SAFE"
32088 ;;
32089 *-freebsd*)
32090 flag="-D_THREAD_SAFE"
32091 ;;
32092 *-hp-hpux* )
32093 flag="-D_REENTRANT"
32094 if test "x$GCC" != "xyes"; then
32095 flag="$flag -D_RWSTD_MULTI_THREAD"
32096
32097 LIBS="$LIBS -lcma"
32098 fi
32099 ;;
32100 *solaris* | alpha*-osf*)
32101 flag="-D_REENTRANT"
32102 ;;
32103 esac
32104 echo "$as_me:$LINENO: result: ${flag}" >&5
32105 echo "${ECHO_T}${flag}" >&6
32106 if test "x$flag" != xno; then
32107 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32108 fi
32109
32110 if test "x$THREADS_CFLAGS" != "x"; then
32111 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32112 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32113 fi
32114 fi
32115 fi
32116
32117 if test "$wxUSE_THREADS" = "yes" ; then
32118
32119 for ac_func in thr_setconcurrency
32120 do
32121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32122 echo "$as_me:$LINENO: checking for $ac_func" >&5
32123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32124 if eval "test \"\${$as_ac_var+set}\" = set"; then
32125 echo $ECHO_N "(cached) $ECHO_C" >&6
32126 else
32127 cat >conftest.$ac_ext <<_ACEOF
32128 /* confdefs.h. */
32129 _ACEOF
32130 cat confdefs.h >>conftest.$ac_ext
32131 cat >>conftest.$ac_ext <<_ACEOF
32132 /* end confdefs.h. */
32133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32135 #define $ac_func innocuous_$ac_func
32136
32137 /* System header to define __stub macros and hopefully few prototypes,
32138 which can conflict with char $ac_func (); below.
32139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32140 <limits.h> exists even on freestanding compilers. */
32141
32142 #ifdef __STDC__
32143 # include <limits.h>
32144 #else
32145 # include <assert.h>
32146 #endif
32147
32148 #undef $ac_func
32149
32150 /* Override any gcc2 internal prototype to avoid an error. */
32151 #ifdef __cplusplus
32152 extern "C"
32153 {
32154 #endif
32155 /* We use char because int might match the return type of a gcc2
32156 builtin and then its argument prototype would still apply. */
32157 char $ac_func ();
32158 /* The GNU C library defines this for functions which it implements
32159 to always fail with ENOSYS. Some functions are actually named
32160 something starting with __ and the normal name is an alias. */
32161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32162 choke me
32163 #else
32164 char (*f) () = $ac_func;
32165 #endif
32166 #ifdef __cplusplus
32167 }
32168 #endif
32169
32170 int
32171 main ()
32172 {
32173 return f != $ac_func;
32174 ;
32175 return 0;
32176 }
32177 _ACEOF
32178 rm -f conftest.$ac_objext conftest$ac_exeext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32180 (eval $ac_link) 2>conftest.er1
32181 ac_status=$?
32182 grep -v '^ *+' conftest.er1 >conftest.err
32183 rm -f conftest.er1
32184 cat conftest.err >&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } &&
32187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32189 (eval $ac_try) 2>&5
32190 ac_status=$?
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); }; } &&
32193 { ac_try='test -s conftest$ac_exeext'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32196 ac_status=$?
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; }; then
32199 eval "$as_ac_var=yes"
32200 else
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.$ac_ext >&5
32203
32204 eval "$as_ac_var=no"
32205 fi
32206 rm -f conftest.err conftest.$ac_objext \
32207 conftest$ac_exeext conftest.$ac_ext
32208 fi
32209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32211 if test `eval echo '${'$as_ac_var'}'` = yes; then
32212 cat >>confdefs.h <<_ACEOF
32213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32214 _ACEOF
32215
32216 fi
32217 done
32218
32219
32220
32221 for ac_header in sched.h
32222 do
32223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32225 echo "$as_me:$LINENO: checking for $ac_header" >&5
32226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32229 fi
32230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32232 else
32233 # Is the header compilable?
32234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32236 cat >conftest.$ac_ext <<_ACEOF
32237 /* confdefs.h. */
32238 _ACEOF
32239 cat confdefs.h >>conftest.$ac_ext
32240 cat >>conftest.$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242 $ac_includes_default
32243 #include <$ac_header>
32244 _ACEOF
32245 rm -f conftest.$ac_objext
32246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32247 (eval $ac_compile) 2>conftest.er1
32248 ac_status=$?
32249 grep -v '^ *+' conftest.er1 >conftest.err
32250 rm -f conftest.er1
32251 cat conftest.err >&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); } &&
32254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32256 (eval $ac_try) 2>&5
32257 ac_status=$?
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); }; } &&
32260 { ac_try='test -s conftest.$ac_objext'
32261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32262 (eval $ac_try) 2>&5
32263 ac_status=$?
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); }; }; then
32266 ac_header_compiler=yes
32267 else
32268 echo "$as_me: failed program was:" >&5
32269 sed 's/^/| /' conftest.$ac_ext >&5
32270
32271 ac_header_compiler=no
32272 fi
32273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32275 echo "${ECHO_T}$ac_header_compiler" >&6
32276
32277 # Is the header present?
32278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32280 cat >conftest.$ac_ext <<_ACEOF
32281 /* confdefs.h. */
32282 _ACEOF
32283 cat confdefs.h >>conftest.$ac_ext
32284 cat >>conftest.$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286 #include <$ac_header>
32287 _ACEOF
32288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32290 ac_status=$?
32291 grep -v '^ *+' conftest.er1 >conftest.err
32292 rm -f conftest.er1
32293 cat conftest.err >&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); } >/dev/null; then
32296 if test -s conftest.err; then
32297 ac_cpp_err=$ac_c_preproc_warn_flag
32298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32299 else
32300 ac_cpp_err=
32301 fi
32302 else
32303 ac_cpp_err=yes
32304 fi
32305 if test -z "$ac_cpp_err"; then
32306 ac_header_preproc=yes
32307 else
32308 echo "$as_me: failed program was:" >&5
32309 sed 's/^/| /' conftest.$ac_ext >&5
32310
32311 ac_header_preproc=no
32312 fi
32313 rm -f conftest.err conftest.$ac_ext
32314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32315 echo "${ECHO_T}$ac_header_preproc" >&6
32316
32317 # So? What about this header?
32318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32319 yes:no: )
32320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32324 ac_header_preproc=yes
32325 ;;
32326 no:yes:* )
32327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32339 (
32340 cat <<\_ASBOX
32341 ## ----------------------------------------- ##
32342 ## Report this to wx-dev@lists.wxwidgets.org ##
32343 ## ----------------------------------------- ##
32344 _ASBOX
32345 ) |
32346 sed "s/^/$as_me: WARNING: /" >&2
32347 ;;
32348 esac
32349 echo "$as_me:$LINENO: checking for $ac_header" >&5
32350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32352 echo $ECHO_N "(cached) $ECHO_C" >&6
32353 else
32354 eval "$as_ac_Header=\$ac_header_preproc"
32355 fi
32356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32358
32359 fi
32360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32361 cat >>confdefs.h <<_ACEOF
32362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32363 _ACEOF
32364
32365 fi
32366
32367 done
32368
32369 if test "$ac_cv_header_sched_h" = "yes"; then
32370 echo "$as_me:$LINENO: checking for sched_yield" >&5
32371 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32372 if test "${ac_cv_func_sched_yield+set}" = set; then
32373 echo $ECHO_N "(cached) $ECHO_C" >&6
32374 else
32375 cat >conftest.$ac_ext <<_ACEOF
32376 /* confdefs.h. */
32377 _ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32381 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32383 #define sched_yield innocuous_sched_yield
32384
32385 /* System header to define __stub macros and hopefully few prototypes,
32386 which can conflict with char sched_yield (); below.
32387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32388 <limits.h> exists even on freestanding compilers. */
32389
32390 #ifdef __STDC__
32391 # include <limits.h>
32392 #else
32393 # include <assert.h>
32394 #endif
32395
32396 #undef sched_yield
32397
32398 /* Override any gcc2 internal prototype to avoid an error. */
32399 #ifdef __cplusplus
32400 extern "C"
32401 {
32402 #endif
32403 /* We use char because int might match the return type of a gcc2
32404 builtin and then its argument prototype would still apply. */
32405 char sched_yield ();
32406 /* The GNU C library defines this for functions which it implements
32407 to always fail with ENOSYS. Some functions are actually named
32408 something starting with __ and the normal name is an alias. */
32409 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32410 choke me
32411 #else
32412 char (*f) () = sched_yield;
32413 #endif
32414 #ifdef __cplusplus
32415 }
32416 #endif
32417
32418 int
32419 main ()
32420 {
32421 return f != sched_yield;
32422 ;
32423 return 0;
32424 }
32425 _ACEOF
32426 rm -f conftest.$ac_objext conftest$ac_exeext
32427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32428 (eval $ac_link) 2>conftest.er1
32429 ac_status=$?
32430 grep -v '^ *+' conftest.er1 >conftest.err
32431 rm -f conftest.er1
32432 cat conftest.err >&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); } &&
32435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32437 (eval $ac_try) 2>&5
32438 ac_status=$?
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); }; } &&
32441 { ac_try='test -s conftest$ac_exeext'
32442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32443 (eval $ac_try) 2>&5
32444 ac_status=$?
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); }; }; then
32447 ac_cv_func_sched_yield=yes
32448 else
32449 echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.$ac_ext >&5
32451
32452 ac_cv_func_sched_yield=no
32453 fi
32454 rm -f conftest.err conftest.$ac_objext \
32455 conftest$ac_exeext conftest.$ac_ext
32456 fi
32457 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32458 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32459 if test $ac_cv_func_sched_yield = yes; then
32460 cat >>confdefs.h <<\_ACEOF
32461 #define HAVE_SCHED_YIELD 1
32462 _ACEOF
32463
32464 else
32465
32466 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32467 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32468 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471 ac_check_lib_save_LIBS=$LIBS
32472 LIBS="-lposix4 $LIBS"
32473 cat >conftest.$ac_ext <<_ACEOF
32474 /* confdefs.h. */
32475 _ACEOF
32476 cat confdefs.h >>conftest.$ac_ext
32477 cat >>conftest.$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32479
32480 /* Override any gcc2 internal prototype to avoid an error. */
32481 #ifdef __cplusplus
32482 extern "C"
32483 #endif
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char sched_yield ();
32487 int
32488 main ()
32489 {
32490 sched_yield ();
32491 ;
32492 return 0;
32493 }
32494 _ACEOF
32495 rm -f conftest.$ac_objext conftest$ac_exeext
32496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32497 (eval $ac_link) 2>conftest.er1
32498 ac_status=$?
32499 grep -v '^ *+' conftest.er1 >conftest.err
32500 rm -f conftest.er1
32501 cat conftest.err >&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } &&
32504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32506 (eval $ac_try) 2>&5
32507 ac_status=$?
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); }; } &&
32510 { ac_try='test -s conftest$ac_exeext'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32513 ac_status=$?
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; }; then
32516 ac_cv_lib_posix4_sched_yield=yes
32517 else
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.$ac_ext >&5
32520
32521 ac_cv_lib_posix4_sched_yield=no
32522 fi
32523 rm -f conftest.err conftest.$ac_objext \
32524 conftest$ac_exeext conftest.$ac_ext
32525 LIBS=$ac_check_lib_save_LIBS
32526 fi
32527 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32528 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32529 if test $ac_cv_lib_posix4_sched_yield = yes; then
32530 cat >>confdefs.h <<\_ACEOF
32531 #define HAVE_SCHED_YIELD 1
32532 _ACEOF
32533 POSIX4_LINK=" -lposix4"
32534 else
32535 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32536 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32537
32538 fi
32539
32540
32541
32542 fi
32543
32544 fi
32545
32546 HAVE_PRIOR_FUNCS=0
32547 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32548 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32549 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32550 echo $ECHO_N "(cached) $ECHO_C" >&6
32551 else
32552 cat >conftest.$ac_ext <<_ACEOF
32553 /* confdefs.h. */
32554 _ACEOF
32555 cat confdefs.h >>conftest.$ac_ext
32556 cat >>conftest.$ac_ext <<_ACEOF
32557 /* end confdefs.h. */
32558 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32560 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32561
32562 /* System header to define __stub macros and hopefully few prototypes,
32563 which can conflict with char pthread_attr_getschedpolicy (); below.
32564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32565 <limits.h> exists even on freestanding compilers. */
32566
32567 #ifdef __STDC__
32568 # include <limits.h>
32569 #else
32570 # include <assert.h>
32571 #endif
32572
32573 #undef pthread_attr_getschedpolicy
32574
32575 /* Override any gcc2 internal prototype to avoid an error. */
32576 #ifdef __cplusplus
32577 extern "C"
32578 {
32579 #endif
32580 /* We use char because int might match the return type of a gcc2
32581 builtin and then its argument prototype would still apply. */
32582 char pthread_attr_getschedpolicy ();
32583 /* The GNU C library defines this for functions which it implements
32584 to always fail with ENOSYS. Some functions are actually named
32585 something starting with __ and the normal name is an alias. */
32586 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32587 choke me
32588 #else
32589 char (*f) () = pthread_attr_getschedpolicy;
32590 #endif
32591 #ifdef __cplusplus
32592 }
32593 #endif
32594
32595 int
32596 main ()
32597 {
32598 return f != pthread_attr_getschedpolicy;
32599 ;
32600 return 0;
32601 }
32602 _ACEOF
32603 rm -f conftest.$ac_objext conftest$ac_exeext
32604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32605 (eval $ac_link) 2>conftest.er1
32606 ac_status=$?
32607 grep -v '^ *+' conftest.er1 >conftest.err
32608 rm -f conftest.er1
32609 cat conftest.err >&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); } &&
32612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32615 ac_status=$?
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; } &&
32618 { ac_try='test -s conftest$ac_exeext'
32619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 (eval $ac_try) 2>&5
32621 ac_status=$?
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); }; }; then
32624 ac_cv_func_pthread_attr_getschedpolicy=yes
32625 else
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.$ac_ext >&5
32628
32629 ac_cv_func_pthread_attr_getschedpolicy=no
32630 fi
32631 rm -f conftest.err conftest.$ac_objext \
32632 conftest$ac_exeext conftest.$ac_ext
32633 fi
32634 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32635 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32636 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32637 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32638 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32639 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32641 else
32642 cat >conftest.$ac_ext <<_ACEOF
32643 /* confdefs.h. */
32644 _ACEOF
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32650 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32651
32652 /* System header to define __stub macros and hopefully few prototypes,
32653 which can conflict with char pthread_attr_setschedparam (); below.
32654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32655 <limits.h> exists even on freestanding compilers. */
32656
32657 #ifdef __STDC__
32658 # include <limits.h>
32659 #else
32660 # include <assert.h>
32661 #endif
32662
32663 #undef pthread_attr_setschedparam
32664
32665 /* Override any gcc2 internal prototype to avoid an error. */
32666 #ifdef __cplusplus
32667 extern "C"
32668 {
32669 #endif
32670 /* We use char because int might match the return type of a gcc2
32671 builtin and then its argument prototype would still apply. */
32672 char pthread_attr_setschedparam ();
32673 /* The GNU C library defines this for functions which it implements
32674 to always fail with ENOSYS. Some functions are actually named
32675 something starting with __ and the normal name is an alias. */
32676 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32677 choke me
32678 #else
32679 char (*f) () = pthread_attr_setschedparam;
32680 #endif
32681 #ifdef __cplusplus
32682 }
32683 #endif
32684
32685 int
32686 main ()
32687 {
32688 return f != pthread_attr_setschedparam;
32689 ;
32690 return 0;
32691 }
32692 _ACEOF
32693 rm -f conftest.$ac_objext conftest$ac_exeext
32694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32695 (eval $ac_link) 2>conftest.er1
32696 ac_status=$?
32697 grep -v '^ *+' conftest.er1 >conftest.err
32698 rm -f conftest.er1
32699 cat conftest.err >&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); } &&
32702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32705 ac_status=$?
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; } &&
32708 { ac_try='test -s conftest$ac_exeext'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32711 ac_status=$?
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; }; then
32714 ac_cv_func_pthread_attr_setschedparam=yes
32715 else
32716 echo "$as_me: failed program was:" >&5
32717 sed 's/^/| /' conftest.$ac_ext >&5
32718
32719 ac_cv_func_pthread_attr_setschedparam=no
32720 fi
32721 rm -f conftest.err conftest.$ac_objext \
32722 conftest$ac_exeext conftest.$ac_ext
32723 fi
32724 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32725 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32726 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32727 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32728 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32729 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32730 echo $ECHO_N "(cached) $ECHO_C" >&6
32731 else
32732 cat >conftest.$ac_ext <<_ACEOF
32733 /* confdefs.h. */
32734 _ACEOF
32735 cat confdefs.h >>conftest.$ac_ext
32736 cat >>conftest.$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32738 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32740 #define sched_get_priority_max innocuous_sched_get_priority_max
32741
32742 /* System header to define __stub macros and hopefully few prototypes,
32743 which can conflict with char sched_get_priority_max (); below.
32744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32745 <limits.h> exists even on freestanding compilers. */
32746
32747 #ifdef __STDC__
32748 # include <limits.h>
32749 #else
32750 # include <assert.h>
32751 #endif
32752
32753 #undef sched_get_priority_max
32754
32755 /* Override any gcc2 internal prototype to avoid an error. */
32756 #ifdef __cplusplus
32757 extern "C"
32758 {
32759 #endif
32760 /* We use char because int might match the return type of a gcc2
32761 builtin and then its argument prototype would still apply. */
32762 char sched_get_priority_max ();
32763 /* The GNU C library defines this for functions which it implements
32764 to always fail with ENOSYS. Some functions are actually named
32765 something starting with __ and the normal name is an alias. */
32766 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32767 choke me
32768 #else
32769 char (*f) () = sched_get_priority_max;
32770 #endif
32771 #ifdef __cplusplus
32772 }
32773 #endif
32774
32775 int
32776 main ()
32777 {
32778 return f != sched_get_priority_max;
32779 ;
32780 return 0;
32781 }
32782 _ACEOF
32783 rm -f conftest.$ac_objext conftest$ac_exeext
32784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32785 (eval $ac_link) 2>conftest.er1
32786 ac_status=$?
32787 grep -v '^ *+' conftest.er1 >conftest.err
32788 rm -f conftest.er1
32789 cat conftest.err >&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); } &&
32792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32795 ac_status=$?
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; } &&
32798 { ac_try='test -s conftest$ac_exeext'
32799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32800 (eval $ac_try) 2>&5
32801 ac_status=$?
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); }; }; then
32804 ac_cv_func_sched_get_priority_max=yes
32805 else
32806 echo "$as_me: failed program was:" >&5
32807 sed 's/^/| /' conftest.$ac_ext >&5
32808
32809 ac_cv_func_sched_get_priority_max=no
32810 fi
32811 rm -f conftest.err conftest.$ac_objext \
32812 conftest$ac_exeext conftest.$ac_ext
32813 fi
32814 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32815 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32816 if test $ac_cv_func_sched_get_priority_max = yes; then
32817 HAVE_PRIOR_FUNCS=1
32818 else
32819 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32820 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32821 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32822 echo $ECHO_N "(cached) $ECHO_C" >&6
32823 else
32824 ac_check_lib_save_LIBS=$LIBS
32825 LIBS="-lposix4 $LIBS"
32826 cat >conftest.$ac_ext <<_ACEOF
32827 /* confdefs.h. */
32828 _ACEOF
32829 cat confdefs.h >>conftest.$ac_ext
32830 cat >>conftest.$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32832
32833 /* Override any gcc2 internal prototype to avoid an error. */
32834 #ifdef __cplusplus
32835 extern "C"
32836 #endif
32837 /* We use char because int might match the return type of a gcc2
32838 builtin and then its argument prototype would still apply. */
32839 char sched_get_priority_max ();
32840 int
32841 main ()
32842 {
32843 sched_get_priority_max ();
32844 ;
32845 return 0;
32846 }
32847 _ACEOF
32848 rm -f conftest.$ac_objext conftest$ac_exeext
32849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32850 (eval $ac_link) 2>conftest.er1
32851 ac_status=$?
32852 grep -v '^ *+' conftest.er1 >conftest.err
32853 rm -f conftest.er1
32854 cat conftest.err >&5
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); } &&
32857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859 (eval $ac_try) 2>&5
32860 ac_status=$?
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); }; } &&
32863 { ac_try='test -s conftest$ac_exeext'
32864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32865 (eval $ac_try) 2>&5
32866 ac_status=$?
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; }; then
32869 ac_cv_lib_posix4_sched_get_priority_max=yes
32870 else
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.$ac_ext >&5
32873
32874 ac_cv_lib_posix4_sched_get_priority_max=no
32875 fi
32876 rm -f conftest.err conftest.$ac_objext \
32877 conftest$ac_exeext conftest.$ac_ext
32878 LIBS=$ac_check_lib_save_LIBS
32879 fi
32880 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32881 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32882 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32883
32884 HAVE_PRIOR_FUNCS=1
32885 POSIX4_LINK=" -lposix4"
32886
32887 fi
32888
32889
32890 fi
32891
32892
32893 fi
32894
32895
32896 fi
32897
32898
32899 if test "$HAVE_PRIOR_FUNCS" = 1; then
32900 cat >>confdefs.h <<\_ACEOF
32901 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32902 _ACEOF
32903
32904 else
32905 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32906 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32907 fi
32908
32909 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32910 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32911 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32912 echo $ECHO_N "(cached) $ECHO_C" >&6
32913 else
32914 cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h. */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32922 #define pthread_cancel innocuous_pthread_cancel
32923
32924 /* System header to define __stub macros and hopefully few prototypes,
32925 which can conflict with char pthread_cancel (); below.
32926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32927 <limits.h> exists even on freestanding compilers. */
32928
32929 #ifdef __STDC__
32930 # include <limits.h>
32931 #else
32932 # include <assert.h>
32933 #endif
32934
32935 #undef pthread_cancel
32936
32937 /* Override any gcc2 internal prototype to avoid an error. */
32938 #ifdef __cplusplus
32939 extern "C"
32940 {
32941 #endif
32942 /* We use char because int might match the return type of a gcc2
32943 builtin and then its argument prototype would still apply. */
32944 char pthread_cancel ();
32945 /* The GNU C library defines this for functions which it implements
32946 to always fail with ENOSYS. Some functions are actually named
32947 something starting with __ and the normal name is an alias. */
32948 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32949 choke me
32950 #else
32951 char (*f) () = pthread_cancel;
32952 #endif
32953 #ifdef __cplusplus
32954 }
32955 #endif
32956
32957 int
32958 main ()
32959 {
32960 return f != pthread_cancel;
32961 ;
32962 return 0;
32963 }
32964 _ACEOF
32965 rm -f conftest.$ac_objext conftest$ac_exeext
32966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32967 (eval $ac_link) 2>conftest.er1
32968 ac_status=$?
32969 grep -v '^ *+' conftest.er1 >conftest.err
32970 rm -f conftest.er1
32971 cat conftest.err >&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); } &&
32974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; } &&
32980 { ac_try='test -s conftest$ac_exeext'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32983 ac_status=$?
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; }; then
32986 ac_cv_func_pthread_cancel=yes
32987 else
32988 echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.$ac_ext >&5
32990
32991 ac_cv_func_pthread_cancel=no
32992 fi
32993 rm -f conftest.err conftest.$ac_objext \
32994 conftest$ac_exeext conftest.$ac_ext
32995 fi
32996 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32997 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32998 if test $ac_cv_func_pthread_cancel = yes; then
32999 cat >>confdefs.h <<\_ACEOF
33000 #define HAVE_PTHREAD_CANCEL 1
33001 _ACEOF
33002
33003 else
33004 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33005 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33006 fi
33007
33008
33009
33010
33011 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33012 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33013 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33014 echo $ECHO_N "(cached) $ECHO_C" >&6
33015 else
33016
33017 cat >conftest.$ac_ext <<_ACEOF
33018 /* confdefs.h. */
33019 _ACEOF
33020 cat confdefs.h >>conftest.$ac_ext
33021 cat >>conftest.$ac_ext <<_ACEOF
33022 /* end confdefs.h. */
33023 #include <pthread.h>
33024 int
33025 main ()
33026 {
33027
33028 pthread_mutexattr_t attr;
33029 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33030
33031 ;
33032 return 0;
33033 }
33034 _ACEOF
33035 rm -f conftest.$ac_objext
33036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33037 (eval $ac_compile) 2>conftest.er1
33038 ac_status=$?
33039 grep -v '^ *+' conftest.er1 >conftest.err
33040 rm -f conftest.er1
33041 cat conftest.err >&5
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); } &&
33044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33046 (eval $ac_try) 2>&5
33047 ac_status=$?
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); }; } &&
33050 { ac_try='test -s conftest.$ac_objext'
33051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33052 (eval $ac_try) 2>&5
33053 ac_status=$?
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; }; then
33056
33057 wx_cv_type_pthread_mutexattr_t=yes
33058
33059 else
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.$ac_ext >&5
33062
33063
33064 wx_cv_type_pthread_mutexattr_t=no
33065
33066
33067 fi
33068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33069
33070 fi
33071 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33072 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33073
33074 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33075 cat >>confdefs.h <<\_ACEOF
33076 #define HAVE_PTHREAD_MUTEXATTR_T 1
33077 _ACEOF
33078
33079 else
33080 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33081 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33082 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 else
33085
33086 cat >conftest.$ac_ext <<_ACEOF
33087 /* confdefs.h. */
33088 _ACEOF
33089 cat confdefs.h >>conftest.$ac_ext
33090 cat >>conftest.$ac_ext <<_ACEOF
33091 /* end confdefs.h. */
33092 #include <pthread.h>
33093 int
33094 main ()
33095 {
33096
33097 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33098
33099 ;
33100 return 0;
33101 }
33102 _ACEOF
33103 rm -f conftest.$ac_objext
33104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33105 (eval $ac_compile) 2>conftest.er1
33106 ac_status=$?
33107 grep -v '^ *+' conftest.er1 >conftest.err
33108 rm -f conftest.er1
33109 cat conftest.err >&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); } &&
33112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33114 (eval $ac_try) 2>&5
33115 ac_status=$?
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); }; } &&
33118 { ac_try='test -s conftest.$ac_objext'
33119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33120 (eval $ac_try) 2>&5
33121 ac_status=$?
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); }; }; then
33124
33125 wx_cv_type_pthread_rec_mutex_init=yes
33126
33127 else
33128 echo "$as_me: failed program was:" >&5
33129 sed 's/^/| /' conftest.$ac_ext >&5
33130
33131
33132 wx_cv_type_pthread_rec_mutex_init=no
33133
33134
33135 fi
33136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33137
33138 fi
33139 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33140 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33141 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33142 cat >>confdefs.h <<\_ACEOF
33143 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33144 _ACEOF
33145
33146 else
33147 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33148 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33149 fi
33150 fi
33151 fi
33152
33153 else
33154 if test "$wxUSE_THREADS" = "yes" ; then
33155 case "${host}" in
33156 *-*-mingw32* )
33157 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33158 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33159 if test "${wx_cv_cflags_mthread+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33162
33163 CFLAGS_OLD="$CFLAGS"
33164 CFLAGS="$CFLAGS -mthreads"
33165 cat >conftest.$ac_ext <<_ACEOF
33166 /* confdefs.h. */
33167 _ACEOF
33168 cat confdefs.h >>conftest.$ac_ext
33169 cat >>conftest.$ac_ext <<_ACEOF
33170 /* end confdefs.h. */
33171
33172 int
33173 main ()
33174 {
33175
33176 ;
33177 return 0;
33178 }
33179 _ACEOF
33180 rm -f conftest.$ac_objext
33181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33182 (eval $ac_compile) 2>conftest.er1
33183 ac_status=$?
33184 grep -v '^ *+' conftest.er1 >conftest.err
33185 rm -f conftest.er1
33186 cat conftest.err >&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } &&
33189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33191 (eval $ac_try) 2>&5
33192 ac_status=$?
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); }; } &&
33195 { ac_try='test -s conftest.$ac_objext'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33198 ac_status=$?
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; }; then
33201 wx_cv_cflags_mthread=yes
33202 else
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33205
33206 wx_cv_cflags_mthread=no
33207
33208 fi
33209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33210
33211
33212 fi
33213 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33214 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33215
33216 if test "$wx_cv_cflags_mthread" = "yes"; then
33217 CXXFLAGS="$CXXFLAGS -mthreads"
33218 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33219 LDFLAGS="$LDFLAGS -mthreads"
33220 else
33221 CFLAGS="$CFLAGS_OLD"
33222 fi
33223 ;;
33224 *-pc-os2*emx )
33225 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33226 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33227 LDFLAGS="$LDFLAGS -Zmt"
33228 ;;
33229 esac
33230 fi
33231 fi
33232
33233 if test "$wxUSE_THREADS" = "yes"; then
33234 cat >>confdefs.h <<\_ACEOF
33235 #define wxUSE_THREADS 1
33236 _ACEOF
33237
33238
33239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33240 else
33241 if test "$ac_cv_func_strtok_r" = "yes"; then
33242 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33243 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33244 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33245 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33246 echo "$as_me:$LINENO: result: yes" >&5
33247 echo "${ECHO_T}yes" >&6
33248 else
33249 echo "$as_me:$LINENO: result: no" >&5
33250 echo "${ECHO_T}no" >&6
33251 fi
33252 fi
33253 fi
33254
33255 if test "$WXGTK20" = 1 ; then
33256 cat >>confdefs.h <<_ACEOF
33257 #define __WXGTK20__ $WXGTK20
33258 _ACEOF
33259
33260 WXGTK12=1
33261 fi
33262
33263 if test "$WXGTK12" = 1 ; then
33264 cat >>confdefs.h <<_ACEOF
33265 #define __WXGTK12__ $WXGTK12
33266 _ACEOF
33267
33268 fi
33269
33270 if test "$WXGTK127" = 1 ; then
33271 cat >>confdefs.h <<_ACEOF
33272 #define __WXGTK127__ $WXGTK127
33273 _ACEOF
33274
33275 fi
33276
33277 if test "$WXGPE" = 1 ; then
33278 cat >>confdefs.h <<_ACEOF
33279 #define __WXGPE__ $WXGPE
33280 _ACEOF
33281
33282 fi
33283
33284 WXDEBUG=
33285
33286 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33287 WXDEBUG="-g"
33288 wxUSE_OPTIMISE=no
33289 fi
33290
33291 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33292 wxUSE_DEBUG_INFO=yes
33293 WXDEBUG="-ggdb"
33294 fi
33295
33296 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33297 cat >>confdefs.h <<\_ACEOF
33298 #define WXDEBUG 1
33299 _ACEOF
33300
33301 WXDEBUG_DEFINE="-D__WXDEBUG__"
33302 else
33303 if test "$wxUSE_GTK" = 1 ; then
33304 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33305 fi
33306 fi
33307
33308 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33309 cat >>confdefs.h <<\_ACEOF
33310 #define wxUSE_MEMORY_TRACING 1
33311 _ACEOF
33312
33313 cat >>confdefs.h <<\_ACEOF
33314 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33315 _ACEOF
33316
33317 cat >>confdefs.h <<\_ACEOF
33318 #define wxUSE_DEBUG_NEW_ALWAYS 1
33319 _ACEOF
33320
33321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33322 fi
33323
33324 if test "$wxUSE_DMALLOC" = "yes" ; then
33325 DMALLOC_LIBS="-ldmalloc"
33326 fi
33327
33328 PROFILE=
33329 if test "$wxUSE_PROFILE" = "yes" ; then
33330 PROFILE=" -pg"
33331 fi
33332
33333 CODE_GEN_FLAGS=
33334 CODE_GEN_FLAGS_CXX=
33335 if test "$GCC" = "yes" ; then
33336 if test "$wxUSE_NO_RTTI" = "yes" ; then
33337 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33338 fi
33339 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33340 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33341 fi
33342 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33343 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33344 fi
33345
33346 case "${host}" in
33347 powerpc*-*-aix* )
33348 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33349 ;;
33350 *-hppa* )
33351 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33352 ;;
33353 esac
33354 fi
33355
33356 OPTIMISE=
33357 if test "$wxUSE_OPTIMISE" = "no" ; then
33358 if test "$GCC" = yes ; then
33359 OPTIMISE="-O0"
33360 fi
33361 else
33362 if test "$GCC" = yes ; then
33363 OPTIMISE="-O2"
33364
33365 case "${host}" in
33366 i586-*-*|i686-*-* )
33367 OPTIMISE="${OPTIMISE} "
33368 ;;
33369 esac
33370 else
33371 OPTIMISE="-O"
33372 fi
33373 fi
33374
33375
33376 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33377 cat >>confdefs.h <<\_ACEOF
33378 #define WXWIN_COMPATIBILITY_2_2 1
33379 _ACEOF
33380
33381
33382 WXWIN_COMPATIBILITY_2_4="yes"
33383 fi
33384
33385 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33386 cat >>confdefs.h <<\_ACEOF
33387 #define WXWIN_COMPATIBILITY_2_4 1
33388 _ACEOF
33389
33390 fi
33391
33392
33393 if test "$wxUSE_GUI" = "yes"; then
33394 cat >>confdefs.h <<\_ACEOF
33395 #define wxUSE_GUI 1
33396 _ACEOF
33397
33398
33399 else
33400 cat >>confdefs.h <<\_ACEOF
33401 #define wxUSE_NOGUI 1
33402 _ACEOF
33403
33404 fi
33405
33406
33407 if test "$wxUSE_UNIX" = "yes"; then
33408 cat >>confdefs.h <<\_ACEOF
33409 #define wxUSE_UNIX 1
33410 _ACEOF
33411
33412 fi
33413
33414
33415 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33416
33417 HAVE_DL_FUNCS=0
33418 HAVE_SHL_FUNCS=0
33419 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33420 if test "$USE_DARWIN" = 1; then
33421 HAVE_DL_FUNCS=1
33422 else
33423
33424 for ac_func in dlopen
33425 do
33426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33427 echo "$as_me:$LINENO: checking for $ac_func" >&5
33428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33429 if eval "test \"\${$as_ac_var+set}\" = set"; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 else
33432 cat >conftest.$ac_ext <<_ACEOF
33433 /* confdefs.h. */
33434 _ACEOF
33435 cat confdefs.h >>conftest.$ac_ext
33436 cat >>conftest.$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33440 #define $ac_func innocuous_$ac_func
33441
33442 /* System header to define __stub macros and hopefully few prototypes,
33443 which can conflict with char $ac_func (); below.
33444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33445 <limits.h> exists even on freestanding compilers. */
33446
33447 #ifdef __STDC__
33448 # include <limits.h>
33449 #else
33450 # include <assert.h>
33451 #endif
33452
33453 #undef $ac_func
33454
33455 /* Override any gcc2 internal prototype to avoid an error. */
33456 #ifdef __cplusplus
33457 extern "C"
33458 {
33459 #endif
33460 /* We use char because int might match the return type of a gcc2
33461 builtin and then its argument prototype would still apply. */
33462 char $ac_func ();
33463 /* The GNU C library defines this for functions which it implements
33464 to always fail with ENOSYS. Some functions are actually named
33465 something starting with __ and the normal name is an alias. */
33466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33467 choke me
33468 #else
33469 char (*f) () = $ac_func;
33470 #endif
33471 #ifdef __cplusplus
33472 }
33473 #endif
33474
33475 int
33476 main ()
33477 {
33478 return f != $ac_func;
33479 ;
33480 return 0;
33481 }
33482 _ACEOF
33483 rm -f conftest.$ac_objext conftest$ac_exeext
33484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33485 (eval $ac_link) 2>conftest.er1
33486 ac_status=$?
33487 grep -v '^ *+' conftest.er1 >conftest.err
33488 rm -f conftest.er1
33489 cat conftest.err >&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33495 ac_status=$?
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; } &&
33498 { ac_try='test -s conftest$ac_exeext'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33501 ac_status=$?
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; }; then
33504 eval "$as_ac_var=yes"
33505 else
33506 echo "$as_me: failed program was:" >&5
33507 sed 's/^/| /' conftest.$ac_ext >&5
33508
33509 eval "$as_ac_var=no"
33510 fi
33511 rm -f conftest.err conftest.$ac_objext \
33512 conftest$ac_exeext conftest.$ac_ext
33513 fi
33514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33516 if test `eval echo '${'$as_ac_var'}'` = yes; then
33517 cat >>confdefs.h <<_ACEOF
33518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33519 _ACEOF
33520
33521 cat >>confdefs.h <<\_ACEOF
33522 #define HAVE_DLOPEN 1
33523 _ACEOF
33524
33525 HAVE_DL_FUNCS=1
33526
33527 else
33528
33529 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33530 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33531 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33532 echo $ECHO_N "(cached) $ECHO_C" >&6
33533 else
33534 ac_check_lib_save_LIBS=$LIBS
33535 LIBS="-ldl $LIBS"
33536 cat >conftest.$ac_ext <<_ACEOF
33537 /* confdefs.h. */
33538 _ACEOF
33539 cat confdefs.h >>conftest.$ac_ext
33540 cat >>conftest.$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33542
33543 /* Override any gcc2 internal prototype to avoid an error. */
33544 #ifdef __cplusplus
33545 extern "C"
33546 #endif
33547 /* We use char because int might match the return type of a gcc2
33548 builtin and then its argument prototype would still apply. */
33549 char dlopen ();
33550 int
33551 main ()
33552 {
33553 dlopen ();
33554 ;
33555 return 0;
33556 }
33557 _ACEOF
33558 rm -f conftest.$ac_objext conftest$ac_exeext
33559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33560 (eval $ac_link) 2>conftest.er1
33561 ac_status=$?
33562 grep -v '^ *+' conftest.er1 >conftest.err
33563 rm -f conftest.er1
33564 cat conftest.err >&5
33565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33566 (exit $ac_status); } &&
33567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33569 (eval $ac_try) 2>&5
33570 ac_status=$?
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); }; } &&
33573 { ac_try='test -s conftest$ac_exeext'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33576 ac_status=$?
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; }; then
33579 ac_cv_lib_dl_dlopen=yes
33580 else
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33583
33584 ac_cv_lib_dl_dlopen=no
33585 fi
33586 rm -f conftest.err conftest.$ac_objext \
33587 conftest$ac_exeext conftest.$ac_ext
33588 LIBS=$ac_check_lib_save_LIBS
33589 fi
33590 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33591 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33592 if test $ac_cv_lib_dl_dlopen = yes; then
33593
33594 cat >>confdefs.h <<\_ACEOF
33595 #define HAVE_DLOPEN 1
33596 _ACEOF
33597
33598 HAVE_DL_FUNCS=1
33599 DL_LINK=" -ldl$DL_LINK"
33600
33601 else
33602
33603
33604 for ac_func in shl_load
33605 do
33606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33607 echo "$as_me:$LINENO: checking for $ac_func" >&5
33608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33609 if eval "test \"\${$as_ac_var+set}\" = set"; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33611 else
33612 cat >conftest.$ac_ext <<_ACEOF
33613 /* confdefs.h. */
33614 _ACEOF
33615 cat confdefs.h >>conftest.$ac_ext
33616 cat >>conftest.$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33620 #define $ac_func innocuous_$ac_func
33621
33622 /* System header to define __stub macros and hopefully few prototypes,
33623 which can conflict with char $ac_func (); below.
33624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33625 <limits.h> exists even on freestanding compilers. */
33626
33627 #ifdef __STDC__
33628 # include <limits.h>
33629 #else
33630 # include <assert.h>
33631 #endif
33632
33633 #undef $ac_func
33634
33635 /* Override any gcc2 internal prototype to avoid an error. */
33636 #ifdef __cplusplus
33637 extern "C"
33638 {
33639 #endif
33640 /* We use char because int might match the return type of a gcc2
33641 builtin and then its argument prototype would still apply. */
33642 char $ac_func ();
33643 /* The GNU C library defines this for functions which it implements
33644 to always fail with ENOSYS. Some functions are actually named
33645 something starting with __ and the normal name is an alias. */
33646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33647 choke me
33648 #else
33649 char (*f) () = $ac_func;
33650 #endif
33651 #ifdef __cplusplus
33652 }
33653 #endif
33654
33655 int
33656 main ()
33657 {
33658 return f != $ac_func;
33659 ;
33660 return 0;
33661 }
33662 _ACEOF
33663 rm -f conftest.$ac_objext conftest$ac_exeext
33664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33665 (eval $ac_link) 2>conftest.er1
33666 ac_status=$?
33667 grep -v '^ *+' conftest.er1 >conftest.err
33668 rm -f conftest.er1
33669 cat conftest.err >&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } &&
33672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; } &&
33678 { ac_try='test -s conftest$ac_exeext'
33679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33680 (eval $ac_try) 2>&5
33681 ac_status=$?
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); }; }; then
33684 eval "$as_ac_var=yes"
33685 else
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.$ac_ext >&5
33688
33689 eval "$as_ac_var=no"
33690 fi
33691 rm -f conftest.err conftest.$ac_objext \
33692 conftest$ac_exeext conftest.$ac_ext
33693 fi
33694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33696 if test `eval echo '${'$as_ac_var'}'` = yes; then
33697 cat >>confdefs.h <<_ACEOF
33698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33699 _ACEOF
33700
33701 cat >>confdefs.h <<\_ACEOF
33702 #define HAVE_SHL_LOAD 1
33703 _ACEOF
33704
33705 HAVE_SHL_FUNCS=1
33706
33707 else
33708
33709 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33710 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33711 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33713 else
33714 ac_check_lib_save_LIBS=$LIBS
33715 LIBS="-lshl_load $LIBS"
33716 cat >conftest.$ac_ext <<_ACEOF
33717 /* confdefs.h. */
33718 _ACEOF
33719 cat confdefs.h >>conftest.$ac_ext
33720 cat >>conftest.$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33722
33723 /* Override any gcc2 internal prototype to avoid an error. */
33724 #ifdef __cplusplus
33725 extern "C"
33726 #endif
33727 /* We use char because int might match the return type of a gcc2
33728 builtin and then its argument prototype would still apply. */
33729 char dld ();
33730 int
33731 main ()
33732 {
33733 dld ();
33734 ;
33735 return 0;
33736 }
33737 _ACEOF
33738 rm -f conftest.$ac_objext conftest$ac_exeext
33739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33740 (eval $ac_link) 2>conftest.er1
33741 ac_status=$?
33742 grep -v '^ *+' conftest.er1 >conftest.err
33743 rm -f conftest.er1
33744 cat conftest.err >&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } &&
33747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33749 (eval $ac_try) 2>&5
33750 ac_status=$?
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); }; } &&
33753 { ac_try='test -s conftest$ac_exeext'
33754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33755 (eval $ac_try) 2>&5
33756 ac_status=$?
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); }; }; then
33759 ac_cv_lib_shl_load_dld=yes
33760 else
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33763
33764 ac_cv_lib_shl_load_dld=no
33765 fi
33766 rm -f conftest.err conftest.$ac_objext \
33767 conftest$ac_exeext conftest.$ac_ext
33768 LIBS=$ac_check_lib_save_LIBS
33769 fi
33770 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33771 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33772 if test $ac_cv_lib_shl_load_dld = yes; then
33773
33774 HAVE_SHL_FUNCS=1
33775 DL_LINK=" -ldld$DL_LINK"
33776
33777 fi
33778
33779
33780 fi
33781 done
33782
33783
33784 fi
33785
33786
33787 fi
33788 done
33789
33790
33791 if test "$HAVE_DL_FUNCS" = 1; then
33792
33793 for ac_func in dlerror
33794 do
33795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33796 echo "$as_me:$LINENO: checking for $ac_func" >&5
33797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33798 if eval "test \"\${$as_ac_var+set}\" = set"; then
33799 echo $ECHO_N "(cached) $ECHO_C" >&6
33800 else
33801 cat >conftest.$ac_ext <<_ACEOF
33802 /* confdefs.h. */
33803 _ACEOF
33804 cat confdefs.h >>conftest.$ac_ext
33805 cat >>conftest.$ac_ext <<_ACEOF
33806 /* end confdefs.h. */
33807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33809 #define $ac_func innocuous_$ac_func
33810
33811 /* System header to define __stub macros and hopefully few prototypes,
33812 which can conflict with char $ac_func (); below.
33813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33814 <limits.h> exists even on freestanding compilers. */
33815
33816 #ifdef __STDC__
33817 # include <limits.h>
33818 #else
33819 # include <assert.h>
33820 #endif
33821
33822 #undef $ac_func
33823
33824 /* Override any gcc2 internal prototype to avoid an error. */
33825 #ifdef __cplusplus
33826 extern "C"
33827 {
33828 #endif
33829 /* We use char because int might match the return type of a gcc2
33830 builtin and then its argument prototype would still apply. */
33831 char $ac_func ();
33832 /* The GNU C library defines this for functions which it implements
33833 to always fail with ENOSYS. Some functions are actually named
33834 something starting with __ and the normal name is an alias. */
33835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33836 choke me
33837 #else
33838 char (*f) () = $ac_func;
33839 #endif
33840 #ifdef __cplusplus
33841 }
33842 #endif
33843
33844 int
33845 main ()
33846 {
33847 return f != $ac_func;
33848 ;
33849 return 0;
33850 }
33851 _ACEOF
33852 rm -f conftest.$ac_objext conftest$ac_exeext
33853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33854 (eval $ac_link) 2>conftest.er1
33855 ac_status=$?
33856 grep -v '^ *+' conftest.er1 >conftest.err
33857 rm -f conftest.er1
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } &&
33861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33864 ac_status=$?
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try='test -s conftest$ac_exeext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33870 ac_status=$?
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 eval "$as_ac_var=yes"
33874 else
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.$ac_ext >&5
33877
33878 eval "$as_ac_var=no"
33879 fi
33880 rm -f conftest.err conftest.$ac_objext \
33881 conftest$ac_exeext conftest.$ac_ext
33882 fi
33883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33885 if test `eval echo '${'$as_ac_var'}'` = yes; then
33886 cat >>confdefs.h <<_ACEOF
33887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33888 _ACEOF
33889 cat >>confdefs.h <<\_ACEOF
33890 #define HAVE_DLERROR 1
33891 _ACEOF
33892
33893 else
33894
33895 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33896 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33897 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33898 echo $ECHO_N "(cached) $ECHO_C" >&6
33899 else
33900 ac_check_lib_save_LIBS=$LIBS
33901 LIBS="-ldl $LIBS"
33902 cat >conftest.$ac_ext <<_ACEOF
33903 /* confdefs.h. */
33904 _ACEOF
33905 cat confdefs.h >>conftest.$ac_ext
33906 cat >>conftest.$ac_ext <<_ACEOF
33907 /* end confdefs.h. */
33908
33909 /* Override any gcc2 internal prototype to avoid an error. */
33910 #ifdef __cplusplus
33911 extern "C"
33912 #endif
33913 /* We use char because int might match the return type of a gcc2
33914 builtin and then its argument prototype would still apply. */
33915 char dlerror ();
33916 int
33917 main ()
33918 {
33919 dlerror ();
33920 ;
33921 return 0;
33922 }
33923 _ACEOF
33924 rm -f conftest.$ac_objext conftest$ac_exeext
33925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33926 (eval $ac_link) 2>conftest.er1
33927 ac_status=$?
33928 grep -v '^ *+' conftest.er1 >conftest.err
33929 rm -f conftest.er1
33930 cat conftest.err >&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); } &&
33933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33935 (eval $ac_try) 2>&5
33936 ac_status=$?
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; } &&
33939 { ac_try='test -s conftest$ac_exeext'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33942 ac_status=$?
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; }; then
33945 ac_cv_lib_dl_dlerror=yes
33946 else
33947 echo "$as_me: failed program was:" >&5
33948 sed 's/^/| /' conftest.$ac_ext >&5
33949
33950 ac_cv_lib_dl_dlerror=no
33951 fi
33952 rm -f conftest.err conftest.$ac_objext \
33953 conftest$ac_exeext conftest.$ac_ext
33954 LIBS=$ac_check_lib_save_LIBS
33955 fi
33956 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33957 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33958 if test $ac_cv_lib_dl_dlerror = yes; then
33959 cat >>confdefs.h <<\_ACEOF
33960 #define HAVE_DLERROR 1
33961 _ACEOF
33962
33963 fi
33964
33965
33966
33967 fi
33968 done
33969
33970 fi
33971 fi
33972
33973 if test "$HAVE_DL_FUNCS" = 0; then
33974 if test "$HAVE_SHL_FUNCS" = 0; then
33975 if test "$USE_UNIX" = 1; then
33976 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33977 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33978 wxUSE_DYNAMIC_LOADER=no
33979 wxUSE_DYNLIB_CLASS=no
33980 else
33981 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33982 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33983 fi
33984 fi
33985 fi
33986 fi
33987 fi
33988
33989 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33990 cat >>confdefs.h <<\_ACEOF
33991 #define wxUSE_DYNAMIC_LOADER 1
33992 _ACEOF
33993
33994 fi
33995 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33996 cat >>confdefs.h <<\_ACEOF
33997 #define wxUSE_DYNLIB_CLASS 1
33998 _ACEOF
33999
34000 fi
34001
34002
34003
34004 if test "$wxUSE_PLUGINS" = "yes" ; then
34005 if test "$wxUSE_SHARED" = "no" ; then
34006 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34007 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34008 wxUSE_PLUGINS=no
34009 fi
34010 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34011 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34012 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34013 wxUSE_PLUGINS=no
34014 fi
34015 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34016 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34017 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34018 wxUSE_PLUGINS=no
34019 fi
34020 if test "$wxUSE_PLUGINS" = "yes" ; then
34021 cat >>confdefs.h <<\_ACEOF
34022 #define wxUSE_PLUGINS 1
34023 _ACEOF
34024
34025 fi
34026 fi
34027
34028
34029 if test "$wxUSE_STL" = "yes"; then
34030 cat >>confdefs.h <<\_ACEOF
34031 #define wxUSE_STL 1
34032 _ACEOF
34033
34034 fi
34035
34036 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34037 cat >>confdefs.h <<\_ACEOF
34038 #define wxUSE_APPLE_IEEE 1
34039 _ACEOF
34040
34041 fi
34042
34043 if test "$wxUSE_TIMER" = "yes"; then
34044 cat >>confdefs.h <<\_ACEOF
34045 #define wxUSE_TIMER 1
34046 _ACEOF
34047
34048 fi
34049
34050 WITH_PLUGIN_SDL=0
34051 if test "$wxUSE_SOUND" = "yes"; then
34052 if test "$USE_UNIX" = "1" ; then
34053
34054 for ac_header in sys/soundcard.h
34055 do
34056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34058 echo "$as_me:$LINENO: checking for $ac_header" >&5
34059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 fi
34063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34065 else
34066 # Is the header compilable?
34067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34069 cat >conftest.$ac_ext <<_ACEOF
34070 /* confdefs.h. */
34071 _ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075 $ac_includes_default
34076 #include <$ac_header>
34077 _ACEOF
34078 rm -f conftest.$ac_objext
34079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34080 (eval $ac_compile) 2>conftest.er1
34081 ac_status=$?
34082 grep -v '^ *+' conftest.er1 >conftest.err
34083 rm -f conftest.er1
34084 cat conftest.err >&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } &&
34087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34089 (eval $ac_try) 2>&5
34090 ac_status=$?
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); }; } &&
34093 { ac_try='test -s conftest.$ac_objext'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34096 ac_status=$?
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; }; then
34099 ac_header_compiler=yes
34100 else
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.$ac_ext >&5
34103
34104 ac_header_compiler=no
34105 fi
34106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34108 echo "${ECHO_T}$ac_header_compiler" >&6
34109
34110 # Is the header present?
34111 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34112 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34113 cat >conftest.$ac_ext <<_ACEOF
34114 /* confdefs.h. */
34115 _ACEOF
34116 cat confdefs.h >>conftest.$ac_ext
34117 cat >>conftest.$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34119 #include <$ac_header>
34120 _ACEOF
34121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34123 ac_status=$?
34124 grep -v '^ *+' conftest.er1 >conftest.err
34125 rm -f conftest.er1
34126 cat conftest.err >&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); } >/dev/null; then
34129 if test -s conftest.err; then
34130 ac_cpp_err=$ac_c_preproc_warn_flag
34131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34132 else
34133 ac_cpp_err=
34134 fi
34135 else
34136 ac_cpp_err=yes
34137 fi
34138 if test -z "$ac_cpp_err"; then
34139 ac_header_preproc=yes
34140 else
34141 echo "$as_me: failed program was:" >&5
34142 sed 's/^/| /' conftest.$ac_ext >&5
34143
34144 ac_header_preproc=no
34145 fi
34146 rm -f conftest.err conftest.$ac_ext
34147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34148 echo "${ECHO_T}$ac_header_preproc" >&6
34149
34150 # So? What about this header?
34151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34152 yes:no: )
34153 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34154 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34156 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34157 ac_header_preproc=yes
34158 ;;
34159 no:yes:* )
34160 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34161 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34162 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34163 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34164 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34165 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34166 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34167 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34170 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34171 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34172 (
34173 cat <<\_ASBOX
34174 ## ----------------------------------------- ##
34175 ## Report this to wx-dev@lists.wxwidgets.org ##
34176 ## ----------------------------------------- ##
34177 _ASBOX
34178 ) |
34179 sed "s/^/$as_me: WARNING: /" >&2
34180 ;;
34181 esac
34182 echo "$as_me:$LINENO: checking for $ac_header" >&5
34183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34186 else
34187 eval "$as_ac_Header=\$ac_header_preproc"
34188 fi
34189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34191
34192 fi
34193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34194 cat >>confdefs.h <<_ACEOF
34195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34196 _ACEOF
34197
34198 fi
34199
34200 done
34201
34202
34203 if test "$wxUSE_LIBSDL" != "no"; then
34204
34205 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34206 if test "${with_sdl_prefix+set}" = set; then
34207 withval="$with_sdl_prefix"
34208 sdl_prefix="$withval"
34209 else
34210 sdl_prefix=""
34211 fi;
34212
34213 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34214 if test "${with_sdl_exec_prefix+set}" = set; then
34215 withval="$with_sdl_exec_prefix"
34216 sdl_exec_prefix="$withval"
34217 else
34218 sdl_exec_prefix=""
34219 fi;
34220 # Check whether --enable-sdltest or --disable-sdltest was given.
34221 if test "${enable_sdltest+set}" = set; then
34222 enableval="$enable_sdltest"
34223
34224 else
34225 enable_sdltest=yes
34226 fi;
34227
34228 if test x$sdl_exec_prefix != x ; then
34229 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34230 if test x${SDL_CONFIG+set} != xset ; then
34231 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34232 fi
34233 fi
34234 if test x$sdl_prefix != x ; then
34235 sdl_args="$sdl_args --prefix=$sdl_prefix"
34236 if test x${SDL_CONFIG+set} != xset ; then
34237 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34238 fi
34239 fi
34240
34241
34242 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34243 # Extract the first word of "sdl-config", so it can be a program name with args.
34244 set dummy sdl-config; ac_word=$2
34245 echo "$as_me:$LINENO: checking for $ac_word" >&5
34246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34247 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34248 echo $ECHO_N "(cached) $ECHO_C" >&6
34249 else
34250 case $SDL_CONFIG in
34251 [\\/]* | ?:[\\/]*)
34252 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34253 ;;
34254 *)
34255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34256 for as_dir in $PATH
34257 do
34258 IFS=$as_save_IFS
34259 test -z "$as_dir" && as_dir=.
34260 for ac_exec_ext in '' $ac_executable_extensions; do
34261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34262 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34264 break 2
34265 fi
34266 done
34267 done
34268
34269 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34270 ;;
34271 esac
34272 fi
34273 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34274
34275 if test -n "$SDL_CONFIG"; then
34276 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34277 echo "${ECHO_T}$SDL_CONFIG" >&6
34278 else
34279 echo "$as_me:$LINENO: result: no" >&5
34280 echo "${ECHO_T}no" >&6
34281 fi
34282
34283 min_sdl_version=1.2.0
34284 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34285 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34286 no_sdl=""
34287 if test "$SDL_CONFIG" = "no" ; then
34288 no_sdl=yes
34289 else
34290 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34291 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34292
34293 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34295 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34297 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34299 if test "x$enable_sdltest" = "xyes" ; then
34300 ac_save_CFLAGS="$CFLAGS"
34301 ac_save_LIBS="$LIBS"
34302 CFLAGS="$CFLAGS $SDL_CFLAGS"
34303 LIBS="$LIBS $SDL_LIBS"
34304 rm -f conf.sdltest
34305 if test "$cross_compiling" = yes; then
34306 echo $ac_n "cross compiling; assumed OK... $ac_c"
34307 else
34308 cat >conftest.$ac_ext <<_ACEOF
34309 /* confdefs.h. */
34310 _ACEOF
34311 cat confdefs.h >>conftest.$ac_ext
34312 cat >>conftest.$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34314
34315 #include <stdio.h>
34316 #include <stdlib.h>
34317 #include <string.h>
34318 #include "SDL.h"
34319
34320 char*
34321 my_strdup (char *str)
34322 {
34323 char *new_str;
34324
34325 if (str)
34326 {
34327 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34328 strcpy (new_str, str);
34329 }
34330 else
34331 new_str = NULL;
34332
34333 return new_str;
34334 }
34335
34336 int main (int argc, char *argv[])
34337 {
34338 int major, minor, micro;
34339 char *tmp_version;
34340
34341 /* This hangs on some systems (?)
34342 system ("touch conf.sdltest");
34343 */
34344 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34345
34346 /* HP/UX 9 (%@#!) writes to sscanf strings */
34347 tmp_version = my_strdup("$min_sdl_version");
34348 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34349 printf("%s, bad version string\n", "$min_sdl_version");
34350 exit(1);
34351 }
34352
34353 if (($sdl_major_version > major) ||
34354 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34355 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34356 {
34357 return 0;
34358 }
34359 else
34360 {
34361 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34362 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34363 printf("*** best to upgrade to the required version.\n");
34364 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34365 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34366 printf("*** config.cache before re-running configure\n");
34367 return 1;
34368 }
34369 }
34370
34371
34372 _ACEOF
34373 rm -f conftest$ac_exeext
34374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34375 (eval $ac_link) 2>&5
34376 ac_status=$?
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34380 (eval $ac_try) 2>&5
34381 ac_status=$?
34382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); }; }; then
34384 :
34385 else
34386 echo "$as_me: program exited with status $ac_status" >&5
34387 echo "$as_me: failed program was:" >&5
34388 sed 's/^/| /' conftest.$ac_ext >&5
34389
34390 ( exit $ac_status )
34391 no_sdl=yes
34392 fi
34393 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34394 fi
34395 CFLAGS="$ac_save_CFLAGS"
34396 LIBS="$ac_save_LIBS"
34397 fi
34398 fi
34399 if test "x$no_sdl" = x ; then
34400 echo "$as_me:$LINENO: result: yes" >&5
34401 echo "${ECHO_T}yes" >&6
34402
34403 EXTRALIBS_SDL="$SDL_LIBS"
34404 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34405 cat >>confdefs.h <<\_ACEOF
34406 #define wxUSE_LIBSDL 1
34407 _ACEOF
34408
34409
34410 else
34411 echo "$as_me:$LINENO: result: no" >&5
34412 echo "${ECHO_T}no" >&6
34413 if test "$SDL_CONFIG" = "no" ; then
34414 echo "*** The sdl-config script installed by SDL could not be found"
34415 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34416 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34417 echo "*** full path to sdl-config."
34418 else
34419 if test -f conf.sdltest ; then
34420 :
34421 else
34422 echo "*** Could not run SDL test program, checking why..."
34423 CFLAGS="$CFLAGS $SDL_CFLAGS"
34424 LIBS="$LIBS $SDL_LIBS"
34425 cat >conftest.$ac_ext <<_ACEOF
34426 /* confdefs.h. */
34427 _ACEOF
34428 cat confdefs.h >>conftest.$ac_ext
34429 cat >>conftest.$ac_ext <<_ACEOF
34430 /* end confdefs.h. */
34431
34432 #include <stdio.h>
34433 #include "SDL.h"
34434
34435 int main(int argc, char *argv[])
34436 { return 0; }
34437 #undef main
34438 #define main K_and_R_C_main
34439
34440 int
34441 main ()
34442 {
34443 return 0;
34444 ;
34445 return 0;
34446 }
34447 _ACEOF
34448 rm -f conftest.$ac_objext conftest$ac_exeext
34449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34450 (eval $ac_link) 2>conftest.er1
34451 ac_status=$?
34452 grep -v '^ *+' conftest.er1 >conftest.err
34453 rm -f conftest.er1
34454 cat conftest.err >&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } &&
34457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; } &&
34463 { ac_try='test -s conftest$ac_exeext'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34466 ac_status=$?
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; }; then
34469 echo "*** The test program compiled, but did not run. This usually means"
34470 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34471 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34472 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34473 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34474 echo "*** is required on your system"
34475 echo "***"
34476 echo "*** If you have an old version installed, it is best to remove it, although"
34477 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34478 else
34479 echo "$as_me: failed program was:" >&5
34480 sed 's/^/| /' conftest.$ac_ext >&5
34481
34482 echo "*** The test program failed to compile or link. See the file config.log for the"
34483 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34484 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34485 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34486 fi
34487 rm -f conftest.err conftest.$ac_objext \
34488 conftest$ac_exeext conftest.$ac_ext
34489 CFLAGS="$ac_save_CFLAGS"
34490 LIBS="$ac_save_LIBS"
34491 fi
34492 fi
34493 SDL_CFLAGS=""
34494 SDL_LIBS=""
34495 wxUSE_LIBSDL="no"
34496 fi
34497
34498
34499 rm -f conf.sdltest
34500
34501 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34502 WITH_PLUGIN_SDL=1
34503 fi
34504 fi
34505 fi
34506
34507 cat >>confdefs.h <<\_ACEOF
34508 #define wxUSE_SOUND 1
34509 _ACEOF
34510
34511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34512 fi
34513
34514 if test "$WXGTK20" = 1; then
34515 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34516 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34517
34518
34519 succeeded=no
34520
34521 if test -z "$PKG_CONFIG"; then
34522 # Extract the first word of "pkg-config", so it can be a program name with args.
34523 set dummy pkg-config; ac_word=$2
34524 echo "$as_me:$LINENO: checking for $ac_word" >&5
34525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34526 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34527 echo $ECHO_N "(cached) $ECHO_C" >&6
34528 else
34529 case $PKG_CONFIG in
34530 [\\/]* | ?:[\\/]*)
34531 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34532 ;;
34533 *)
34534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34535 for as_dir in $PATH
34536 do
34537 IFS=$as_save_IFS
34538 test -z "$as_dir" && as_dir=.
34539 for ac_exec_ext in '' $ac_executable_extensions; do
34540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34541 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34543 break 2
34544 fi
34545 done
34546 done
34547
34548 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
34549 ;;
34550 esac
34551 fi
34552 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34553
34554 if test -n "$PKG_CONFIG"; then
34555 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34556 echo "${ECHO_T}$PKG_CONFIG" >&6
34557 else
34558 echo "$as_me:$LINENO: result: no" >&5
34559 echo "${ECHO_T}no" >&6
34560 fi
34561
34562 fi
34563
34564 if test "$PKG_CONFIG" = "no" ; then
34565 echo "*** The pkg-config script could not be found. Make sure it is"
34566 echo "*** in your path, or set the PKG_CONFIG environment variable"
34567 echo "*** to the full path to pkg-config."
34568 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34569 else
34570 PKG_CONFIG_MIN_VERSION=0.9.0
34571 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34572 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2" >&5
34573 echo $ECHO_N "checking for libgnomeprintui-2.2... $ECHO_C" >&6
34574
34575 if $PKG_CONFIG --exists "libgnomeprintui-2.2" ; then
34576 echo "$as_me:$LINENO: result: yes" >&5
34577 echo "${ECHO_T}yes" >&6
34578 succeeded=yes
34579
34580 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34581 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34582 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2"`
34583 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34584 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34585
34586 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34587 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34588 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2"`
34589 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34590 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34591 else
34592 LIBGNOMEPRINTUI_CFLAGS=""
34593 LIBGNOMEPRINTUI_LIBS=""
34594 ## If we have a custom action on failure, don't print errors, but
34595 ## do set a variable so people can do so.
34596 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2"`
34597
34598 fi
34599
34600
34601
34602 else
34603 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34604 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34605 fi
34606 fi
34607
34608 if test $succeeded = yes; then
34609
34610 EXTRALIBS_GNOMEPRINT="$LIBGNOMEPRINTUI_LIBS"
34611 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34612 cat >>confdefs.h <<\_ACEOF
34613 #define wxUSE_LIBGNOMEPRINT 1
34614 _ACEOF
34615
34616
34617 else
34618
34619 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34620 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34621 wxUSE_LIBGNOMEPRINT="no"
34622
34623
34624 fi
34625
34626 fi
34627 fi
34628 fi
34629
34630
34631 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34632 cat >>confdefs.h <<\_ACEOF
34633 #define wxUSE_CMDLINE_PARSER 1
34634 _ACEOF
34635
34636 fi
34637
34638 if test "$wxUSE_STOPWATCH" = "yes"; then
34639 cat >>confdefs.h <<\_ACEOF
34640 #define wxUSE_STOPWATCH 1
34641 _ACEOF
34642
34643 fi
34644
34645 if test "$wxUSE_DATETIME" = "yes"; then
34646 cat >>confdefs.h <<\_ACEOF
34647 #define wxUSE_DATETIME 1
34648 _ACEOF
34649
34650 fi
34651
34652 if test "$wxUSE_FILE" = "yes"; then
34653 cat >>confdefs.h <<\_ACEOF
34654 #define wxUSE_FILE 1
34655 _ACEOF
34656
34657 fi
34658
34659 if test "$wxUSE_FFILE" = "yes"; then
34660 cat >>confdefs.h <<\_ACEOF
34661 #define wxUSE_FFILE 1
34662 _ACEOF
34663
34664 fi
34665
34666 if test "$wxUSE_FILESYSTEM" = "yes"; then
34667 cat >>confdefs.h <<\_ACEOF
34668 #define wxUSE_FILESYSTEM 1
34669 _ACEOF
34670
34671 fi
34672
34673 if test "$wxUSE_FS_ZIP" = "yes"; then
34674 cat >>confdefs.h <<\_ACEOF
34675 #define wxUSE_FS_ZIP 1
34676 _ACEOF
34677
34678 fi
34679
34680 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34681 cat >>confdefs.h <<\_ACEOF
34682 #define wxUSE_ZIPSTREAM 1
34683 _ACEOF
34684
34685 fi
34686
34687 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34688 cat >>confdefs.h <<\_ACEOF
34689 #define wxUSE_ON_FATAL_EXCEPTION 1
34690 _ACEOF
34691
34692 fi
34693
34694 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34695 cat >>confdefs.h <<\_ACEOF
34696 #define wxUSE_SNGLINST_CHECKER 1
34697 _ACEOF
34698
34699 fi
34700
34701 if test "$wxUSE_BUSYINFO" = "yes"; then
34702 cat >>confdefs.h <<\_ACEOF
34703 #define wxUSE_BUSYINFO 1
34704 _ACEOF
34705
34706 fi
34707
34708 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34709 cat >>confdefs.h <<\_ACEOF
34710 #define wxUSE_STD_IOSTREAM 1
34711 _ACEOF
34712
34713 fi
34714
34715 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34716 cat >>confdefs.h <<\_ACEOF
34717 #define wxUSE_TEXTBUFFER 1
34718 _ACEOF
34719
34720 fi
34721
34722 if test "$wxUSE_TEXTFILE" = "yes"; then
34723 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34724 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34725 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34726 else
34727 cat >>confdefs.h <<\_ACEOF
34728 #define wxUSE_TEXTFILE 1
34729 _ACEOF
34730
34731 fi
34732 fi
34733
34734 if test "$wxUSE_CONFIG" = "yes" ; then
34735 if test "$wxUSE_TEXTFILE" != "yes"; then
34736 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34737 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34738 else
34739 cat >>confdefs.h <<\_ACEOF
34740 #define wxUSE_CONFIG 1
34741 _ACEOF
34742
34743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34744 fi
34745 fi
34746
34747 if test "$wxUSE_INTL" = "yes" ; then
34748 if test "$wxUSE_FILE" != "yes"; then
34749 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34750 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34751 else
34752 cat >>confdefs.h <<\_ACEOF
34753 #define wxUSE_INTL 1
34754 _ACEOF
34755
34756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34757 GUIDIST="$GUIDIST INTL_DIST"
34758 fi
34759 fi
34760
34761 if test "$wxUSE_LOG" = "yes"; then
34762 cat >>confdefs.h <<\_ACEOF
34763 #define wxUSE_LOG 1
34764 _ACEOF
34765
34766
34767 if test "$wxUSE_LOGGUI" = "yes"; then
34768 cat >>confdefs.h <<\_ACEOF
34769 #define wxUSE_LOGGUI 1
34770 _ACEOF
34771
34772 fi
34773
34774 if test "$wxUSE_LOGWINDOW" = "yes"; then
34775 cat >>confdefs.h <<\_ACEOF
34776 #define wxUSE_LOGWINDOW 1
34777 _ACEOF
34778
34779 fi
34780
34781 if test "$wxUSE_LOGDIALOG" = "yes"; then
34782 cat >>confdefs.h <<\_ACEOF
34783 #define wxUSE_LOG_DIALOG 1
34784 _ACEOF
34785
34786 fi
34787 fi
34788
34789 if test "$wxUSE_LONGLONG" = "yes"; then
34790 cat >>confdefs.h <<\_ACEOF
34791 #define wxUSE_LONGLONG 1
34792 _ACEOF
34793
34794 fi
34795
34796 if test "$wxUSE_GEOMETRY" = "yes"; then
34797 cat >>confdefs.h <<\_ACEOF
34798 #define wxUSE_GEOMETRY 1
34799 _ACEOF
34800
34801 fi
34802
34803 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34804 cat >>confdefs.h <<\_ACEOF
34805 #define wxUSE_DIALUP_MANAGER 1
34806 _ACEOF
34807
34808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34809 fi
34810
34811 if test "$wxUSE_STREAMS" = "yes" ; then
34812 cat >>confdefs.h <<\_ACEOF
34813 #define wxUSE_STREAMS 1
34814 _ACEOF
34815
34816 fi
34817
34818
34819 if test "$wxUSE_DATETIME" = "yes"; then
34820
34821 for ac_func in strptime
34822 do
34823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34824 echo "$as_me:$LINENO: checking for $ac_func" >&5
34825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34826 if eval "test \"\${$as_ac_var+set}\" = set"; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 else
34829 cat >conftest.$ac_ext <<_ACEOF
34830 /* confdefs.h. */
34831 _ACEOF
34832 cat confdefs.h >>conftest.$ac_ext
34833 cat >>conftest.$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34837 #define $ac_func innocuous_$ac_func
34838
34839 /* System header to define __stub macros and hopefully few prototypes,
34840 which can conflict with char $ac_func (); below.
34841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34842 <limits.h> exists even on freestanding compilers. */
34843
34844 #ifdef __STDC__
34845 # include <limits.h>
34846 #else
34847 # include <assert.h>
34848 #endif
34849
34850 #undef $ac_func
34851
34852 /* Override any gcc2 internal prototype to avoid an error. */
34853 #ifdef __cplusplus
34854 extern "C"
34855 {
34856 #endif
34857 /* We use char because int might match the return type of a gcc2
34858 builtin and then its argument prototype would still apply. */
34859 char $ac_func ();
34860 /* The GNU C library defines this for functions which it implements
34861 to always fail with ENOSYS. Some functions are actually named
34862 something starting with __ and the normal name is an alias. */
34863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34864 choke me
34865 #else
34866 char (*f) () = $ac_func;
34867 #endif
34868 #ifdef __cplusplus
34869 }
34870 #endif
34871
34872 int
34873 main ()
34874 {
34875 return f != $ac_func;
34876 ;
34877 return 0;
34878 }
34879 _ACEOF
34880 rm -f conftest.$ac_objext conftest$ac_exeext
34881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34882 (eval $ac_link) 2>conftest.er1
34883 ac_status=$?
34884 grep -v '^ *+' conftest.er1 >conftest.err
34885 rm -f conftest.er1
34886 cat conftest.err >&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); } &&
34889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34891 (eval $ac_try) 2>&5
34892 ac_status=$?
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); }; } &&
34895 { ac_try='test -s conftest$ac_exeext'
34896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34897 (eval $ac_try) 2>&5
34898 ac_status=$?
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); }; }; then
34901 eval "$as_ac_var=yes"
34902 else
34903 echo "$as_me: failed program was:" >&5
34904 sed 's/^/| /' conftest.$ac_ext >&5
34905
34906 eval "$as_ac_var=no"
34907 fi
34908 rm -f conftest.err conftest.$ac_objext \
34909 conftest$ac_exeext conftest.$ac_ext
34910 fi
34911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34913 if test `eval echo '${'$as_ac_var'}'` = yes; then
34914 cat >>confdefs.h <<_ACEOF
34915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34916 _ACEOF
34917
34918 fi
34919 done
34920
34921
34922 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34923 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34924 if test "${wx_cv_var_timezone+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34926 else
34927
34928 cat >conftest.$ac_ext <<_ACEOF
34929 /* confdefs.h. */
34930 _ACEOF
34931 cat confdefs.h >>conftest.$ac_ext
34932 cat >>conftest.$ac_ext <<_ACEOF
34933 /* end confdefs.h. */
34934
34935 #include <time.h>
34936
34937 int
34938 main ()
34939 {
34940
34941 int tz;
34942 tz = timezone;
34943
34944 ;
34945 return 0;
34946 }
34947 _ACEOF
34948 rm -f conftest.$ac_objext
34949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34950 (eval $ac_compile) 2>conftest.er1
34951 ac_status=$?
34952 grep -v '^ *+' conftest.er1 >conftest.err
34953 rm -f conftest.er1
34954 cat conftest.err >&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } &&
34957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34960 ac_status=$?
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; } &&
34963 { ac_try='test -s conftest.$ac_objext'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; }; then
34969
34970 wx_cv_var_timezone=timezone
34971
34972 else
34973 echo "$as_me: failed program was:" >&5
34974 sed 's/^/| /' conftest.$ac_ext >&5
34975
34976
34977 cat >conftest.$ac_ext <<_ACEOF
34978 /* confdefs.h. */
34979 _ACEOF
34980 cat confdefs.h >>conftest.$ac_ext
34981 cat >>conftest.$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34983
34984 #include <time.h>
34985
34986 int
34987 main ()
34988 {
34989
34990 int tz;
34991 tz = _timezone;
34992
34993 ;
34994 return 0;
34995 }
34996 _ACEOF
34997 rm -f conftest.$ac_objext
34998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34999 (eval $ac_compile) 2>conftest.er1
35000 ac_status=$?
35001 grep -v '^ *+' conftest.er1 >conftest.err
35002 rm -f conftest.er1
35003 cat conftest.err >&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); } &&
35006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35008 (eval $ac_try) 2>&5
35009 ac_status=$?
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); }; } &&
35012 { ac_try='test -s conftest.$ac_objext'
35013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35014 (eval $ac_try) 2>&5
35015 ac_status=$?
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); }; }; then
35018
35019 wx_cv_var_timezone=_timezone
35020
35021 else
35022 echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.$ac_ext >&5
35024
35025
35026 cat >conftest.$ac_ext <<_ACEOF
35027 /* confdefs.h. */
35028 _ACEOF
35029 cat confdefs.h >>conftest.$ac_ext
35030 cat >>conftest.$ac_ext <<_ACEOF
35031 /* end confdefs.h. */
35032
35033 #include <time.h>
35034
35035 int
35036 main ()
35037 {
35038
35039 int tz;
35040 tz = __timezone;
35041
35042 ;
35043 return 0;
35044 }
35045 _ACEOF
35046 rm -f conftest.$ac_objext
35047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35048 (eval $ac_compile) 2>conftest.er1
35049 ac_status=$?
35050 grep -v '^ *+' conftest.er1 >conftest.err
35051 rm -f conftest.er1
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } &&
35055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35058 ac_status=$?
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try='test -s conftest.$ac_objext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35067
35068 wx_cv_var_timezone=__timezone
35069
35070 else
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.$ac_ext >&5
35073
35074
35075 if test "$USE_DOS" = 0 ; then
35076 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35077 echo "$as_me: WARNING: no timezone variable" >&2;}
35078 fi
35079
35080
35081 fi
35082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35083
35084
35085 fi
35086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35087
35088
35089 fi
35090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35091
35092
35093 fi
35094 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35095 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35096
35097 if test "x$wx_cv_var_timezone" != x ; then
35098 cat >>confdefs.h <<_ACEOF
35099 #define WX_TIMEZONE $wx_cv_var_timezone
35100 _ACEOF
35101
35102 fi
35103
35104
35105 for ac_func in localtime
35106 do
35107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35108 echo "$as_me:$LINENO: checking for $ac_func" >&5
35109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35110 if eval "test \"\${$as_ac_var+set}\" = set"; then
35111 echo $ECHO_N "(cached) $ECHO_C" >&6
35112 else
35113 cat >conftest.$ac_ext <<_ACEOF
35114 /* confdefs.h. */
35115 _ACEOF
35116 cat confdefs.h >>conftest.$ac_ext
35117 cat >>conftest.$ac_ext <<_ACEOF
35118 /* end confdefs.h. */
35119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35121 #define $ac_func innocuous_$ac_func
35122
35123 /* System header to define __stub macros and hopefully few prototypes,
35124 which can conflict with char $ac_func (); below.
35125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35126 <limits.h> exists even on freestanding compilers. */
35127
35128 #ifdef __STDC__
35129 # include <limits.h>
35130 #else
35131 # include <assert.h>
35132 #endif
35133
35134 #undef $ac_func
35135
35136 /* Override any gcc2 internal prototype to avoid an error. */
35137 #ifdef __cplusplus
35138 extern "C"
35139 {
35140 #endif
35141 /* We use char because int might match the return type of a gcc2
35142 builtin and then its argument prototype would still apply. */
35143 char $ac_func ();
35144 /* The GNU C library defines this for functions which it implements
35145 to always fail with ENOSYS. Some functions are actually named
35146 something starting with __ and the normal name is an alias. */
35147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35148 choke me
35149 #else
35150 char (*f) () = $ac_func;
35151 #endif
35152 #ifdef __cplusplus
35153 }
35154 #endif
35155
35156 int
35157 main ()
35158 {
35159 return f != $ac_func;
35160 ;
35161 return 0;
35162 }
35163 _ACEOF
35164 rm -f conftest.$ac_objext conftest$ac_exeext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35166 (eval $ac_link) 2>conftest.er1
35167 ac_status=$?
35168 grep -v '^ *+' conftest.er1 >conftest.err
35169 rm -f conftest.er1
35170 cat conftest.err >&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35176 ac_status=$?
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; } &&
35179 { ac_try='test -s conftest$ac_exeext'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35182 ac_status=$?
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; }; then
35185 eval "$as_ac_var=yes"
35186 else
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.$ac_ext >&5
35189
35190 eval "$as_ac_var=no"
35191 fi
35192 rm -f conftest.err conftest.$ac_objext \
35193 conftest$ac_exeext conftest.$ac_ext
35194 fi
35195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35197 if test `eval echo '${'$as_ac_var'}'` = yes; then
35198 cat >>confdefs.h <<_ACEOF
35199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35200 _ACEOF
35201
35202 fi
35203 done
35204
35205
35206 if test "$ac_cv_func_localtime" = "yes"; then
35207 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35208 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35209 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212
35213 cat >conftest.$ac_ext <<_ACEOF
35214 /* confdefs.h. */
35215 _ACEOF
35216 cat confdefs.h >>conftest.$ac_ext
35217 cat >>conftest.$ac_ext <<_ACEOF
35218 /* end confdefs.h. */
35219
35220 #include <time.h>
35221
35222 int
35223 main ()
35224 {
35225
35226 struct tm tm;
35227 tm.tm_gmtoff++;
35228
35229 ;
35230 return 0;
35231 }
35232 _ACEOF
35233 rm -f conftest.$ac_objext
35234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35235 (eval $ac_compile) 2>conftest.er1
35236 ac_status=$?
35237 grep -v '^ *+' conftest.er1 >conftest.err
35238 rm -f conftest.er1
35239 cat conftest.err >&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); } &&
35242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35244 (eval $ac_try) 2>&5
35245 ac_status=$?
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); }; } &&
35248 { ac_try='test -s conftest.$ac_objext'
35249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35250 (eval $ac_try) 2>&5
35251 ac_status=$?
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); }; }; then
35254
35255 wx_cv_struct_tm_has_gmtoff=yes
35256
35257 else
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.$ac_ext >&5
35260
35261 wx_cv_struct_tm_has_gmtoff=no
35262
35263 fi
35264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35265
35266 fi
35267 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35268 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35269 fi
35270
35271 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35272 cat >>confdefs.h <<\_ACEOF
35273 #define WX_GMTOFF_IN_TM 1
35274 _ACEOF
35275
35276 fi
35277
35278
35279
35280 for ac_func in gettimeofday ftime
35281 do
35282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35283 echo "$as_me:$LINENO: checking for $ac_func" >&5
35284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35285 if eval "test \"\${$as_ac_var+set}\" = set"; then
35286 echo $ECHO_N "(cached) $ECHO_C" >&6
35287 else
35288 cat >conftest.$ac_ext <<_ACEOF
35289 /* confdefs.h. */
35290 _ACEOF
35291 cat confdefs.h >>conftest.$ac_ext
35292 cat >>conftest.$ac_ext <<_ACEOF
35293 /* end confdefs.h. */
35294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35296 #define $ac_func innocuous_$ac_func
35297
35298 /* System header to define __stub macros and hopefully few prototypes,
35299 which can conflict with char $ac_func (); below.
35300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35301 <limits.h> exists even on freestanding compilers. */
35302
35303 #ifdef __STDC__
35304 # include <limits.h>
35305 #else
35306 # include <assert.h>
35307 #endif
35308
35309 #undef $ac_func
35310
35311 /* Override any gcc2 internal prototype to avoid an error. */
35312 #ifdef __cplusplus
35313 extern "C"
35314 {
35315 #endif
35316 /* We use char because int might match the return type of a gcc2
35317 builtin and then its argument prototype would still apply. */
35318 char $ac_func ();
35319 /* The GNU C library defines this for functions which it implements
35320 to always fail with ENOSYS. Some functions are actually named
35321 something starting with __ and the normal name is an alias. */
35322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35323 choke me
35324 #else
35325 char (*f) () = $ac_func;
35326 #endif
35327 #ifdef __cplusplus
35328 }
35329 #endif
35330
35331 int
35332 main ()
35333 {
35334 return f != $ac_func;
35335 ;
35336 return 0;
35337 }
35338 _ACEOF
35339 rm -f conftest.$ac_objext conftest$ac_exeext
35340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35341 (eval $ac_link) 2>conftest.er1
35342 ac_status=$?
35343 grep -v '^ *+' conftest.er1 >conftest.err
35344 rm -f conftest.er1
35345 cat conftest.err >&5
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); } &&
35348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35351 ac_status=$?
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; } &&
35354 { ac_try='test -s conftest$ac_exeext'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35357 ac_status=$?
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; }; then
35360 eval "$as_ac_var=yes"
35361 else
35362 echo "$as_me: failed program was:" >&5
35363 sed 's/^/| /' conftest.$ac_ext >&5
35364
35365 eval "$as_ac_var=no"
35366 fi
35367 rm -f conftest.err conftest.$ac_objext \
35368 conftest$ac_exeext conftest.$ac_ext
35369 fi
35370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35372 if test `eval echo '${'$as_ac_var'}'` = yes; then
35373 cat >>confdefs.h <<_ACEOF
35374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35375 _ACEOF
35376 break
35377 fi
35378 done
35379
35380
35381 if test "$ac_cv_func_gettimeofday" = "yes"; then
35382 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35383 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35384 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35385 echo $ECHO_N "(cached) $ECHO_C" >&6
35386 else
35387
35388
35389
35390 ac_ext=cc
35391 ac_cpp='$CXXCPP $CPPFLAGS'
35392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35395
35396
35397 cat >conftest.$ac_ext <<_ACEOF
35398 /* confdefs.h. */
35399 _ACEOF
35400 cat confdefs.h >>conftest.$ac_ext
35401 cat >>conftest.$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35403
35404 #include <sys/time.h>
35405 #include <unistd.h>
35406
35407 int
35408 main ()
35409 {
35410
35411 struct timeval tv;
35412 gettimeofday(&tv, NULL);
35413
35414 ;
35415 return 0;
35416 }
35417 _ACEOF
35418 rm -f conftest.$ac_objext
35419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35420 (eval $ac_compile) 2>conftest.er1
35421 ac_status=$?
35422 grep -v '^ *+' conftest.er1 >conftest.err
35423 rm -f conftest.er1
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } &&
35427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35429 (eval $ac_try) 2>&5
35430 ac_status=$?
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); }; } &&
35433 { ac_try='test -s conftest.$ac_objext'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35436 ac_status=$?
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; }; then
35439 wx_cv_func_gettimeofday_has_2_args=yes
35440 else
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.$ac_ext >&5
35443
35444 cat >conftest.$ac_ext <<_ACEOF
35445 /* confdefs.h. */
35446 _ACEOF
35447 cat confdefs.h >>conftest.$ac_ext
35448 cat >>conftest.$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35450
35451 #include <sys/time.h>
35452 #include <unistd.h>
35453
35454 int
35455 main ()
35456 {
35457
35458 struct timeval tv;
35459 gettimeofday(&tv);
35460
35461 ;
35462 return 0;
35463 }
35464 _ACEOF
35465 rm -f conftest.$ac_objext
35466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35467 (eval $ac_compile) 2>conftest.er1
35468 ac_status=$?
35469 grep -v '^ *+' conftest.er1 >conftest.err
35470 rm -f conftest.er1
35471 cat conftest.err >&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } &&
35474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35476 (eval $ac_try) 2>&5
35477 ac_status=$?
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); }; } &&
35480 { ac_try='test -s conftest.$ac_objext'
35481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35482 (eval $ac_try) 2>&5
35483 ac_status=$?
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); }; }; then
35486 wx_cv_func_gettimeofday_has_2_args=no
35487 else
35488 echo "$as_me: failed program was:" >&5
35489 sed 's/^/| /' conftest.$ac_ext >&5
35490
35491
35492 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35493 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35494 wx_cv_func_gettimeofday_has_2_args=unknown
35495
35496
35497 fi
35498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35499
35500 fi
35501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35502 ac_ext=c
35503 ac_cpp='$CPP $CPPFLAGS'
35504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35507
35508
35509 fi
35510 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35511 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35512
35513 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35514 cat >>confdefs.h <<\_ACEOF
35515 #define WX_GETTIMEOFDAY_NO_TZ 1
35516 _ACEOF
35517
35518 fi
35519 fi
35520
35521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35522 fi
35523
35524
35525 if test "$wxUSE_SOCKETS" = "yes"; then
35526 if test "$wxUSE_MGL" = "1"; then
35527 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35528 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35529 wxUSE_SOCKETS="no"
35530 fi
35531 fi
35532
35533 if test "$wxUSE_SOCKETS" = "yes"; then
35534 if test "$TOOLKIT" != "MSW"; then
35535 echo "$as_me:$LINENO: checking for socket" >&5
35536 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35537 if test "${ac_cv_func_socket+set}" = set; then
35538 echo $ECHO_N "(cached) $ECHO_C" >&6
35539 else
35540 cat >conftest.$ac_ext <<_ACEOF
35541 /* confdefs.h. */
35542 _ACEOF
35543 cat confdefs.h >>conftest.$ac_ext
35544 cat >>conftest.$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35548 #define socket innocuous_socket
35549
35550 /* System header to define __stub macros and hopefully few prototypes,
35551 which can conflict with char socket (); below.
35552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35553 <limits.h> exists even on freestanding compilers. */
35554
35555 #ifdef __STDC__
35556 # include <limits.h>
35557 #else
35558 # include <assert.h>
35559 #endif
35560
35561 #undef socket
35562
35563 /* Override any gcc2 internal prototype to avoid an error. */
35564 #ifdef __cplusplus
35565 extern "C"
35566 {
35567 #endif
35568 /* We use char because int might match the return type of a gcc2
35569 builtin and then its argument prototype would still apply. */
35570 char socket ();
35571 /* The GNU C library defines this for functions which it implements
35572 to always fail with ENOSYS. Some functions are actually named
35573 something starting with __ and the normal name is an alias. */
35574 #if defined (__stub_socket) || defined (__stub___socket)
35575 choke me
35576 #else
35577 char (*f) () = socket;
35578 #endif
35579 #ifdef __cplusplus
35580 }
35581 #endif
35582
35583 int
35584 main ()
35585 {
35586 return f != socket;
35587 ;
35588 return 0;
35589 }
35590 _ACEOF
35591 rm -f conftest.$ac_objext conftest$ac_exeext
35592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35593 (eval $ac_link) 2>conftest.er1
35594 ac_status=$?
35595 grep -v '^ *+' conftest.er1 >conftest.err
35596 rm -f conftest.er1
35597 cat conftest.err >&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); } &&
35600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35603 ac_status=$?
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; } &&
35606 { ac_try='test -s conftest$ac_exeext'
35607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35608 (eval $ac_try) 2>&5
35609 ac_status=$?
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); }; }; then
35612 ac_cv_func_socket=yes
35613 else
35614 echo "$as_me: failed program was:" >&5
35615 sed 's/^/| /' conftest.$ac_ext >&5
35616
35617 ac_cv_func_socket=no
35618 fi
35619 rm -f conftest.err conftest.$ac_objext \
35620 conftest$ac_exeext conftest.$ac_ext
35621 fi
35622 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35623 echo "${ECHO_T}$ac_cv_func_socket" >&6
35624 if test $ac_cv_func_socket = yes; then
35625 :
35626 else
35627
35628 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35629 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35630 if test "${ac_cv_lib_socket_socket+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 else
35633 ac_check_lib_save_LIBS=$LIBS
35634 LIBS="-lsocket $LIBS"
35635 cat >conftest.$ac_ext <<_ACEOF
35636 /* confdefs.h. */
35637 _ACEOF
35638 cat confdefs.h >>conftest.$ac_ext
35639 cat >>conftest.$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35641
35642 /* Override any gcc2 internal prototype to avoid an error. */
35643 #ifdef __cplusplus
35644 extern "C"
35645 #endif
35646 /* We use char because int might match the return type of a gcc2
35647 builtin and then its argument prototype would still apply. */
35648 char socket ();
35649 int
35650 main ()
35651 {
35652 socket ();
35653 ;
35654 return 0;
35655 }
35656 _ACEOF
35657 rm -f conftest.$ac_objext conftest$ac_exeext
35658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35659 (eval $ac_link) 2>conftest.er1
35660 ac_status=$?
35661 grep -v '^ *+' conftest.er1 >conftest.err
35662 rm -f conftest.er1
35663 cat conftest.err >&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); } &&
35666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35668 (eval $ac_try) 2>&5
35669 ac_status=$?
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); }; } &&
35672 { ac_try='test -s conftest$ac_exeext'
35673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35674 (eval $ac_try) 2>&5
35675 ac_status=$?
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); }; }; then
35678 ac_cv_lib_socket_socket=yes
35679 else
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.$ac_ext >&5
35682
35683 ac_cv_lib_socket_socket=no
35684 fi
35685 rm -f conftest.err conftest.$ac_objext \
35686 conftest$ac_exeext conftest.$ac_ext
35687 LIBS=$ac_check_lib_save_LIBS
35688 fi
35689 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35690 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35691 if test $ac_cv_lib_socket_socket = yes; then
35692 if test "$INET_LINK" != " -lsocket"; then
35693 INET_LINK="$INET_LINK -lsocket"
35694 fi
35695 else
35696
35697 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35698 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35699 wxUSE_SOCKETS=no
35700
35701
35702 fi
35703
35704
35705
35706 fi
35707
35708 fi
35709 fi
35710
35711 if test "$wxUSE_SOCKETS" = "yes" ; then
35712 if test "$TOOLKIT" != "MSW"; then
35713 ac_ext=cc
35714 ac_cpp='$CXXCPP $CPPFLAGS'
35715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35718
35719 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35720 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35721 if test "${wx_cv_type_getsockname3+set}" = set; then
35722 echo $ECHO_N "(cached) $ECHO_C" >&6
35723 else
35724
35725 cat >conftest.$ac_ext <<_ACEOF
35726 /* confdefs.h. */
35727 _ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35731
35732 #include <sys/types.h>
35733 #include <sys/socket.h>
35734
35735 int
35736 main ()
35737 {
35738
35739 socklen_t len;
35740 getsockname(0, 0, &len);
35741
35742 ;
35743 return 0;
35744 }
35745 _ACEOF
35746 rm -f conftest.$ac_objext
35747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35748 (eval $ac_compile) 2>conftest.er1
35749 ac_status=$?
35750 grep -v '^ *+' conftest.er1 >conftest.err
35751 rm -f conftest.er1
35752 cat conftest.err >&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } &&
35755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35758 ac_status=$?
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; } &&
35761 { ac_try='test -s conftest.$ac_objext'
35762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35763 (eval $ac_try) 2>&5
35764 ac_status=$?
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); }; }; then
35767 wx_cv_type_getsockname3=socklen_t
35768 else
35769 echo "$as_me: failed program was:" >&5
35770 sed 's/^/| /' conftest.$ac_ext >&5
35771
35772
35773 CFLAGS_OLD="$CFLAGS"
35774 if test "$GCC" = yes ; then
35775 CFLAGS="$CFLAGS -Werror"
35776 fi
35777
35778 cat >conftest.$ac_ext <<_ACEOF
35779 /* confdefs.h. */
35780 _ACEOF
35781 cat confdefs.h >>conftest.$ac_ext
35782 cat >>conftest.$ac_ext <<_ACEOF
35783 /* end confdefs.h. */
35784
35785 #include <sys/types.h>
35786 #include <sys/socket.h>
35787
35788 int
35789 main ()
35790 {
35791
35792 size_t len;
35793 getsockname(0, 0, &len);
35794
35795 ;
35796 return 0;
35797 }
35798 _ACEOF
35799 rm -f conftest.$ac_objext
35800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35801 (eval $ac_compile) 2>conftest.er1
35802 ac_status=$?
35803 grep -v '^ *+' conftest.er1 >conftest.err
35804 rm -f conftest.er1
35805 cat conftest.err >&5
35806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807 (exit $ac_status); } &&
35808 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35810 (eval $ac_try) 2>&5
35811 ac_status=$?
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); }; } &&
35814 { ac_try='test -s conftest.$ac_objext'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35817 ac_status=$?
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; }; then
35820 wx_cv_type_getsockname3=size_t
35821 else
35822 echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.$ac_ext >&5
35824
35825 cat >conftest.$ac_ext <<_ACEOF
35826 /* confdefs.h. */
35827 _ACEOF
35828 cat confdefs.h >>conftest.$ac_ext
35829 cat >>conftest.$ac_ext <<_ACEOF
35830 /* end confdefs.h. */
35831
35832 #include <sys/types.h>
35833 #include <sys/socket.h>
35834
35835 int
35836 main ()
35837 {
35838
35839 int len;
35840 getsockname(0, 0, &len);
35841
35842 ;
35843 return 0;
35844 }
35845 _ACEOF
35846 rm -f conftest.$ac_objext
35847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35848 (eval $ac_compile) 2>conftest.er1
35849 ac_status=$?
35850 grep -v '^ *+' conftest.er1 >conftest.err
35851 rm -f conftest.er1
35852 cat conftest.err >&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); } &&
35855 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35857 (eval $ac_try) 2>&5
35858 ac_status=$?
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); }; } &&
35861 { ac_try='test -s conftest.$ac_objext'
35862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35863 (eval $ac_try) 2>&5
35864 ac_status=$?
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); }; }; then
35867 wx_cv_type_getsockname3=int
35868 else
35869 echo "$as_me: failed program was:" >&5
35870 sed 's/^/| /' conftest.$ac_ext >&5
35871
35872 wx_cv_type_getsockname3=unknown
35873
35874 fi
35875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35876
35877 fi
35878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35879
35880 CFLAGS="$CFLAGS_OLD"
35881
35882
35883 fi
35884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35885
35886 fi
35887 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35888 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35889
35890 if test "$wx_cv_type_getsockname3" = "unknown"; then
35891 wxUSE_SOCKETS=no
35892 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35893 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35894 else
35895 cat >>confdefs.h <<_ACEOF
35896 #define SOCKLEN_T $wx_cv_type_getsockname3
35897 _ACEOF
35898
35899 fi
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35905
35906 fi
35907 fi
35908
35909 if test "$wxUSE_SOCKETS" = "yes" ; then
35910 cat >>confdefs.h <<\_ACEOF
35911 #define wxUSE_SOCKETS 1
35912 _ACEOF
35913
35914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35915 fi
35916
35917 if test "$wxUSE_PROTOCOL" = "yes"; then
35918 if test "$wxUSE_SOCKETS" != "yes"; then
35919 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35920 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35921 wxUSE_PROTOCOL=no
35922 fi
35923 fi
35924
35925 if test "$wxUSE_PROTOCOL" = "yes"; then
35926 cat >>confdefs.h <<\_ACEOF
35927 #define wxUSE_PROTOCOL 1
35928 _ACEOF
35929
35930
35931 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35932 cat >>confdefs.h <<\_ACEOF
35933 #define wxUSE_PROTOCOL_HTTP 1
35934 _ACEOF
35935
35936 fi
35937 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35938 cat >>confdefs.h <<\_ACEOF
35939 #define wxUSE_PROTOCOL_FTP 1
35940 _ACEOF
35941
35942 fi
35943 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35944 cat >>confdefs.h <<\_ACEOF
35945 #define wxUSE_PROTOCOL_FILE 1
35946 _ACEOF
35947
35948 fi
35949 else
35950 if test "$wxUSE_FS_INET" = "yes"; then
35951 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35952 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35953 wxUSE_FS_INET="no"
35954 fi
35955 fi
35956
35957 if test "$wxUSE_URL" = "yes"; then
35958 if test "$wxUSE_PROTOCOL" != "yes"; then
35959 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35960 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35961 wxUSE_URL=no
35962 fi
35963 if test "$wxUSE_URL" = "yes"; then
35964 cat >>confdefs.h <<\_ACEOF
35965 #define wxUSE_URL 1
35966 _ACEOF
35967
35968 fi
35969 fi
35970
35971 if test "$wxUSE_FS_INET" = "yes"; then
35972 cat >>confdefs.h <<\_ACEOF
35973 #define wxUSE_FS_INET 1
35974 _ACEOF
35975
35976 fi
35977
35978
35979 if test "$wxUSE_GUI" = "yes"; then
35980
35981 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35982 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35983 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35984 wxUSE_JOYSTICK=no
35985 fi
35986
35987 if test "$TOOLKIT" != "MSW"; then
35988 if test "$wxUSE_JOYSTICK" = "yes"; then
35989
35990 for ac_header in linux/joystick.h
35991 do
35992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35994 echo "$as_me:$LINENO: checking for $ac_header" >&5
35995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 fi
35999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36001 else
36002 # Is the header compilable?
36003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36005 cat >conftest.$ac_ext <<_ACEOF
36006 /* confdefs.h. */
36007 _ACEOF
36008 cat confdefs.h >>conftest.$ac_ext
36009 cat >>conftest.$ac_ext <<_ACEOF
36010 /* end confdefs.h. */
36011 $ac_includes_default
36012 #include <$ac_header>
36013 _ACEOF
36014 rm -f conftest.$ac_objext
36015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36016 (eval $ac_compile) 2>conftest.er1
36017 ac_status=$?
36018 grep -v '^ *+' conftest.er1 >conftest.err
36019 rm -f conftest.er1
36020 cat conftest.err >&5
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); } &&
36023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025 (eval $ac_try) 2>&5
36026 ac_status=$?
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); }; } &&
36029 { ac_try='test -s conftest.$ac_objext'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36032 ac_status=$?
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }; then
36035 ac_header_compiler=yes
36036 else
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36039
36040 ac_header_compiler=no
36041 fi
36042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36044 echo "${ECHO_T}$ac_header_compiler" >&6
36045
36046 # Is the header present?
36047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36049 cat >conftest.$ac_ext <<_ACEOF
36050 /* confdefs.h. */
36051 _ACEOF
36052 cat confdefs.h >>conftest.$ac_ext
36053 cat >>conftest.$ac_ext <<_ACEOF
36054 /* end confdefs.h. */
36055 #include <$ac_header>
36056 _ACEOF
36057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36059 ac_status=$?
36060 grep -v '^ *+' conftest.er1 >conftest.err
36061 rm -f conftest.er1
36062 cat conftest.err >&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); } >/dev/null; then
36065 if test -s conftest.err; then
36066 ac_cpp_err=$ac_c_preproc_warn_flag
36067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36068 else
36069 ac_cpp_err=
36070 fi
36071 else
36072 ac_cpp_err=yes
36073 fi
36074 if test -z "$ac_cpp_err"; then
36075 ac_header_preproc=yes
36076 else
36077 echo "$as_me: failed program was:" >&5
36078 sed 's/^/| /' conftest.$ac_ext >&5
36079
36080 ac_header_preproc=no
36081 fi
36082 rm -f conftest.err conftest.$ac_ext
36083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36084 echo "${ECHO_T}$ac_header_preproc" >&6
36085
36086 # So? What about this header?
36087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36088 yes:no: )
36089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36093 ac_header_preproc=yes
36094 ;;
36095 no:yes:* )
36096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36108 (
36109 cat <<\_ASBOX
36110 ## ----------------------------------------- ##
36111 ## Report this to wx-dev@lists.wxwidgets.org ##
36112 ## ----------------------------------------- ##
36113 _ASBOX
36114 ) |
36115 sed "s/^/$as_me: WARNING: /" >&2
36116 ;;
36117 esac
36118 echo "$as_me:$LINENO: checking for $ac_header" >&5
36119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36122 else
36123 eval "$as_ac_Header=\$ac_header_preproc"
36124 fi
36125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36127
36128 fi
36129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36130 cat >>confdefs.h <<_ACEOF
36131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36132 _ACEOF
36133
36134 fi
36135
36136 done
36137
36138 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36139 wxUSE_JOYSTICK=no
36140 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36141 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36142 fi
36143 fi
36144 fi
36145
36146 if test "$wxUSE_JOYSTICK" = "yes"; then
36147 cat >>confdefs.h <<\_ACEOF
36148 #define wxUSE_JOYSTICK 1
36149 _ACEOF
36150
36151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36152 fi
36153 fi
36154
36155
36156
36157 if test "$wxUSE_FONTMAP" = "yes" ; then
36158 cat >>confdefs.h <<\_ACEOF
36159 #define wxUSE_FONTMAP 1
36160 _ACEOF
36161
36162 fi
36163
36164 if test "$wxUSE_UNICODE" = "yes" ; then
36165 cat >>confdefs.h <<\_ACEOF
36166 #define wxUSE_UNICODE 1
36167 _ACEOF
36168
36169
36170 if test "$USE_WIN32" != 1; then
36171 wxUSE_UNICODE_MSLU=no
36172 fi
36173
36174 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36175 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36176 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36177 if test "${ac_cv_lib_unicows_main+set}" = set; then
36178 echo $ECHO_N "(cached) $ECHO_C" >&6
36179 else
36180 ac_check_lib_save_LIBS=$LIBS
36181 LIBS="-lunicows $LIBS"
36182 cat >conftest.$ac_ext <<_ACEOF
36183 /* confdefs.h. */
36184 _ACEOF
36185 cat confdefs.h >>conftest.$ac_ext
36186 cat >>conftest.$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188
36189
36190 int
36191 main ()
36192 {
36193 main ();
36194 ;
36195 return 0;
36196 }
36197 _ACEOF
36198 rm -f conftest.$ac_objext conftest$ac_exeext
36199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36200 (eval $ac_link) 2>conftest.er1
36201 ac_status=$?
36202 grep -v '^ *+' conftest.er1 >conftest.err
36203 rm -f conftest.er1
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } &&
36207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36209 (eval $ac_try) 2>&5
36210 ac_status=$?
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); }; } &&
36213 { ac_try='test -s conftest$ac_exeext'
36214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36215 (eval $ac_try) 2>&5
36216 ac_status=$?
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); }; }; then
36219 ac_cv_lib_unicows_main=yes
36220 else
36221 echo "$as_me: failed program was:" >&5
36222 sed 's/^/| /' conftest.$ac_ext >&5
36223
36224 ac_cv_lib_unicows_main=no
36225 fi
36226 rm -f conftest.err conftest.$ac_objext \
36227 conftest$ac_exeext conftest.$ac_ext
36228 LIBS=$ac_check_lib_save_LIBS
36229 fi
36230 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36231 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36232 if test $ac_cv_lib_unicows_main = yes; then
36233
36234 cat >>confdefs.h <<\_ACEOF
36235 #define wxUSE_UNICODE_MSLU 1
36236 _ACEOF
36237
36238
36239 else
36240
36241 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36242 Applications will only run on Windows NT/2000/XP!" >&5
36243 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36244 Applications will only run on Windows NT/2000/XP!" >&2;}
36245 wxUSE_UNICODE_MSLU=no
36246
36247 fi
36248
36249 fi
36250 fi
36251
36252 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36253 cat >>confdefs.h <<\_ACEOF
36254 #define wxUSE_EXPERIMENTAL_PRINTF 1
36255 _ACEOF
36256
36257 fi
36258
36259
36260 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36261 cat >>confdefs.h <<\_ACEOF
36262 #define wxUSE_POSTSCRIPT 1
36263 _ACEOF
36264
36265 fi
36266
36267 cat >>confdefs.h <<\_ACEOF
36268 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36269 _ACEOF
36270
36271
36272 cat >>confdefs.h <<\_ACEOF
36273 #define wxUSE_NORMALIZED_PS_FONTS 1
36274 _ACEOF
36275
36276
36277
36278 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36279 cat >>confdefs.h <<\_ACEOF
36280 #define wxUSE_CONSTRAINTS 1
36281 _ACEOF
36282
36283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36284 fi
36285
36286 if test "$wxUSE_MDI" = "yes"; then
36287 cat >>confdefs.h <<\_ACEOF
36288 #define wxUSE_MDI 1
36289 _ACEOF
36290
36291
36292 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36293 cat >>confdefs.h <<\_ACEOF
36294 #define wxUSE_MDI_ARCHITECTURE 1
36295 _ACEOF
36296
36297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36298 fi
36299 fi
36300
36301 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36302 cat >>confdefs.h <<\_ACEOF
36303 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36304 _ACEOF
36305
36306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36307 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36309 fi
36310 fi
36311
36312 if test "$wxUSE_HELP" = "yes"; then
36313 cat >>confdefs.h <<\_ACEOF
36314 #define wxUSE_HELP 1
36315 _ACEOF
36316
36317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36318
36319 if test "$wxUSE_MSW" = 1; then
36320 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36321 cat >>confdefs.h <<\_ACEOF
36322 #define wxUSE_MS_HTML_HELP 1
36323 _ACEOF
36324
36325 fi
36326 fi
36327
36328 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36329 if test "$wxUSE_HTML" = "yes"; then
36330 cat >>confdefs.h <<\_ACEOF
36331 #define wxUSE_WXHTML_HELP 1
36332 _ACEOF
36333
36334 else
36335 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36336 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36337 wxUSE_WXHTML_HELP=no
36338 fi
36339 fi
36340 fi
36341
36342 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36343 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36344 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36345 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36346 else
36347 cat >>confdefs.h <<\_ACEOF
36348 #define wxUSE_PRINTING_ARCHITECTURE 1
36349 _ACEOF
36350
36351 fi
36352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36353 fi
36354
36355 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36356 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36357 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36358 { (exit 1); exit 1; }; }
36359 fi
36360
36361
36362 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36363 -o "$wxUSE_CLIPBOARD" = "yes" \
36364 -o "$wxUSE_OLE" = "yes" \
36365 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36366
36367 for ac_header in ole2.h
36368 do
36369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36371 echo "$as_me:$LINENO: checking for $ac_header" >&5
36372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36374 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 fi
36376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36378 else
36379 # Is the header compilable?
36380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36382 cat >conftest.$ac_ext <<_ACEOF
36383 /* confdefs.h. */
36384 _ACEOF
36385 cat confdefs.h >>conftest.$ac_ext
36386 cat >>conftest.$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36388 $ac_includes_default
36389 #include <$ac_header>
36390 _ACEOF
36391 rm -f conftest.$ac_objext
36392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36393 (eval $ac_compile) 2>conftest.er1
36394 ac_status=$?
36395 grep -v '^ *+' conftest.er1 >conftest.err
36396 rm -f conftest.er1
36397 cat conftest.err >&5
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); } &&
36400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36402 (eval $ac_try) 2>&5
36403 ac_status=$?
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); }; } &&
36406 { ac_try='test -s conftest.$ac_objext'
36407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36408 (eval $ac_try) 2>&5
36409 ac_status=$?
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); }; }; then
36412 ac_header_compiler=yes
36413 else
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.$ac_ext >&5
36416
36417 ac_header_compiler=no
36418 fi
36419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36421 echo "${ECHO_T}$ac_header_compiler" >&6
36422
36423 # Is the header present?
36424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36426 cat >conftest.$ac_ext <<_ACEOF
36427 /* confdefs.h. */
36428 _ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 #include <$ac_header>
36433 _ACEOF
36434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36436 ac_status=$?
36437 grep -v '^ *+' conftest.er1 >conftest.err
36438 rm -f conftest.er1
36439 cat conftest.err >&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); } >/dev/null; then
36442 if test -s conftest.err; then
36443 ac_cpp_err=$ac_c_preproc_warn_flag
36444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36445 else
36446 ac_cpp_err=
36447 fi
36448 else
36449 ac_cpp_err=yes
36450 fi
36451 if test -z "$ac_cpp_err"; then
36452 ac_header_preproc=yes
36453 else
36454 echo "$as_me: failed program was:" >&5
36455 sed 's/^/| /' conftest.$ac_ext >&5
36456
36457 ac_header_preproc=no
36458 fi
36459 rm -f conftest.err conftest.$ac_ext
36460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36461 echo "${ECHO_T}$ac_header_preproc" >&6
36462
36463 # So? What about this header?
36464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36465 yes:no: )
36466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36470 ac_header_preproc=yes
36471 ;;
36472 no:yes:* )
36473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36485 (
36486 cat <<\_ASBOX
36487 ## ----------------------------------------- ##
36488 ## Report this to wx-dev@lists.wxwidgets.org ##
36489 ## ----------------------------------------- ##
36490 _ASBOX
36491 ) |
36492 sed "s/^/$as_me: WARNING: /" >&2
36493 ;;
36494 esac
36495 echo "$as_me:$LINENO: checking for $ac_header" >&5
36496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36498 echo $ECHO_N "(cached) $ECHO_C" >&6
36499 else
36500 eval "$as_ac_Header=\$ac_header_preproc"
36501 fi
36502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36504
36505 fi
36506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36507 cat >>confdefs.h <<_ACEOF
36508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36509 _ACEOF
36510
36511 fi
36512
36513 done
36514
36515
36516 if test "$ac_cv_header_ole2_h" = "yes" ; then
36517 if test "$GCC" = yes ; then
36518
36519
36520 ac_ext=cc
36521 ac_cpp='$CXXCPP $CPPFLAGS'
36522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36525
36526
36527 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36528 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36529 cat >conftest.$ac_ext <<_ACEOF
36530 /* confdefs.h. */
36531 _ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 #include <windows.h>
36536 #include <ole2.h>
36537 int
36538 main ()
36539 {
36540
36541 ;
36542 return 0;
36543 }
36544 _ACEOF
36545 rm -f conftest.$ac_objext
36546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36547 (eval $ac_compile) 2>conftest.er1
36548 ac_status=$?
36549 grep -v '^ *+' conftest.er1 >conftest.err
36550 rm -f conftest.er1
36551 cat conftest.err >&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } &&
36554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36557 ac_status=$?
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; } &&
36560 { ac_try='test -s conftest.$ac_objext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36563 ac_status=$?
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 echo "$as_me:$LINENO: result: no" >&5
36567 echo "${ECHO_T}no" >&6
36568 else
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.$ac_ext >&5
36571
36572 echo "$as_me:$LINENO: result: yes" >&5
36573 echo "${ECHO_T}yes" >&6
36574 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36575 fi
36576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36577 ac_ext=c
36578 ac_cpp='$CPP $CPPFLAGS'
36579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36582
36583 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36584 if test "$wxUSE_OLE" = "yes" ; then
36585 cat >>confdefs.h <<\_ACEOF
36586 #define wxUSE_OLE 1
36587 _ACEOF
36588
36589 fi
36590 fi
36591
36592 if test "$wxUSE_DATAOBJ" = "yes" ; then
36593 cat >>confdefs.h <<\_ACEOF
36594 #define wxUSE_DATAOBJ 1
36595 _ACEOF
36596
36597 fi
36598 else
36599 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36600 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36601
36602 wxUSE_CLIPBOARD=no
36603 wxUSE_DRAG_AND_DROP=no
36604 wxUSE_DATAOBJ=no
36605 wxUSE_OLE=no
36606 fi
36607
36608 if test "$wxUSE_METAFILE" = "yes"; then
36609 cat >>confdefs.h <<\_ACEOF
36610 #define wxUSE_METAFILE 1
36611 _ACEOF
36612
36613
36614 cat >>confdefs.h <<\_ACEOF
36615 #define wxUSE_ENH_METAFILE 1
36616 _ACEOF
36617
36618 fi
36619 fi
36620
36621 if test "$wxUSE_IPC" = "yes"; then
36622 if test "$wxUSE_SOCKETS" != "yes"; then
36623 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36624 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36625 fi
36626
36627 cat >>confdefs.h <<\_ACEOF
36628 #define wxUSE_IPC 1
36629 _ACEOF
36630
36631 fi
36632
36633 if test "$wxUSE_CLIPBOARD" = "yes"; then
36634 if test "$wxUSE_MGL" = 1; then
36635 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36636 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36637 wxUSE_CLIPBOARD=no
36638 fi
36639
36640 if test "$wxUSE_CLIPBOARD" = "yes"; then
36641 cat >>confdefs.h <<\_ACEOF
36642 #define wxUSE_CLIPBOARD 1
36643 _ACEOF
36644
36645
36646 cat >>confdefs.h <<\_ACEOF
36647 #define wxUSE_DATAOBJ 1
36648 _ACEOF
36649
36650 fi
36651 fi
36652
36653 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36654 if test "$wxUSE_GTK" = 1; then
36655 if test "$WXGTK12" != 1; then
36656 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36657 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36658 wxUSE_DRAG_AND_DROP=no
36659 fi
36660 fi
36661
36662 if test "$wxUSE_MOTIF" = 1; then
36663 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36664 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36665 wxUSE_DRAG_AND_DROP=no
36666 fi
36667
36668 if test "$wxUSE_X11" = 1; then
36669 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36670 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36671 wxUSE_DRAG_AND_DROP=no
36672 fi
36673
36674 if test "$wxUSE_MGL" = 1; then
36675 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36676 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36677 wxUSE_DRAG_AND_DROP=no
36678 fi
36679
36680 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36681 cat >>confdefs.h <<\_ACEOF
36682 #define wxUSE_DRAG_AND_DROP 1
36683 _ACEOF
36684
36685 fi
36686
36687 fi
36688
36689 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36691 fi
36692
36693 if test "$wxUSE_SPLINES" = "yes" ; then
36694 cat >>confdefs.h <<\_ACEOF
36695 #define wxUSE_SPLINES 1
36696 _ACEOF
36697
36698 fi
36699
36700
36701 USES_CONTROLS=0
36702 if test "$wxUSE_CONTROLS" = "yes"; then
36703 USES_CONTROLS=1
36704 fi
36705
36706 if test "$wxUSE_ACCEL" = "yes"; then
36707 cat >>confdefs.h <<\_ACEOF
36708 #define wxUSE_ACCEL 1
36709 _ACEOF
36710
36711 USES_CONTROLS=1
36712 fi
36713
36714 if test "$wxUSE_BUTTON" = "yes"; then
36715 cat >>confdefs.h <<\_ACEOF
36716 #define wxUSE_BUTTON 1
36717 _ACEOF
36718
36719 USES_CONTROLS=1
36720 fi
36721
36722 if test "$wxUSE_BMPBUTTON" = "yes"; then
36723 cat >>confdefs.h <<\_ACEOF
36724 #define wxUSE_BMPBUTTON 1
36725 _ACEOF
36726
36727 USES_CONTROLS=1
36728 fi
36729
36730 if test "$wxUSE_CALCTRL" = "yes"; then
36731 cat >>confdefs.h <<\_ACEOF
36732 #define wxUSE_CALENDARCTRL 1
36733 _ACEOF
36734
36735 USES_CONTROLS=1
36736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36737 fi
36738
36739 if test "$wxUSE_CARET" = "yes"; then
36740 cat >>confdefs.h <<\_ACEOF
36741 #define wxUSE_CARET 1
36742 _ACEOF
36743
36744 USES_CONTROLS=1
36745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36746 fi
36747
36748 if test "$wxUSE_COMBOBOX" = "yes"; then
36749 cat >>confdefs.h <<\_ACEOF
36750 #define wxUSE_COMBOBOX 1
36751 _ACEOF
36752
36753 USES_CONTROLS=1
36754 fi
36755
36756 if test "$wxUSE_CHOICE" = "yes"; then
36757 cat >>confdefs.h <<\_ACEOF
36758 #define wxUSE_CHOICE 1
36759 _ACEOF
36760
36761 USES_CONTROLS=1
36762 fi
36763
36764 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36765 cat >>confdefs.h <<\_ACEOF
36766 #define wxUSE_CHOICEBOOK 1
36767 _ACEOF
36768
36769 USES_CONTROLS=1
36770 fi
36771
36772 if test "$wxUSE_CHECKBOX" = "yes"; then
36773 cat >>confdefs.h <<\_ACEOF
36774 #define wxUSE_CHECKBOX 1
36775 _ACEOF
36776
36777 USES_CONTROLS=1
36778 fi
36779
36780 if test "$wxUSE_CHECKLST" = "yes"; then
36781 cat >>confdefs.h <<\_ACEOF
36782 #define wxUSE_CHECKLISTBOX 1
36783 _ACEOF
36784
36785 USES_CONTROLS=1
36786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36787 fi
36788
36789 if test "$wxUSE_DISPLAY" = "yes"; then
36790 cat >>confdefs.h <<\_ACEOF
36791 #define wxUSE_DISPLAY 1
36792 _ACEOF
36793
36794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36795 fi
36796
36797 if test "$wxUSE_GAUGE" = "yes"; then
36798 cat >>confdefs.h <<\_ACEOF
36799 #define wxUSE_GAUGE 1
36800 _ACEOF
36801
36802 USES_CONTROLS=1
36803 fi
36804
36805 if test "$wxUSE_GRID" = "yes"; then
36806 cat >>confdefs.h <<\_ACEOF
36807 #define wxUSE_GRID 1
36808 _ACEOF
36809
36810 USES_CONTROLS=1
36811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36812 fi
36813
36814 if test "$wxUSE_IMAGLIST" = "yes"; then
36815 cat >>confdefs.h <<\_ACEOF
36816 #define wxUSE_IMAGLIST 1
36817 _ACEOF
36818
36819 fi
36820
36821 if test "$wxUSE_LISTBOOK" = "yes"; then
36822 cat >>confdefs.h <<\_ACEOF
36823 #define wxUSE_LISTBOOK 1
36824 _ACEOF
36825
36826 USES_CONTROLS=1
36827 fi
36828
36829 if test "$wxUSE_LISTBOX" = "yes"; then
36830 cat >>confdefs.h <<\_ACEOF
36831 #define wxUSE_LISTBOX 1
36832 _ACEOF
36833
36834 USES_CONTROLS=1
36835 fi
36836
36837 if test "$wxUSE_LISTCTRL" = "yes"; then
36838 if test "$wxUSE_IMAGLIST" = "yes"; then
36839 cat >>confdefs.h <<\_ACEOF
36840 #define wxUSE_LISTCTRL 1
36841 _ACEOF
36842
36843 USES_CONTROLS=1
36844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36845 else
36846 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36847 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36848 fi
36849 fi
36850
36851 if test "$wxUSE_NOTEBOOK" = "yes"; then
36852 cat >>confdefs.h <<\_ACEOF
36853 #define wxUSE_NOTEBOOK 1
36854 _ACEOF
36855
36856 USES_CONTROLS=1
36857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36858 fi
36859
36860
36861 if test "$wxUSE_RADIOBOX" = "yes"; then
36862 cat >>confdefs.h <<\_ACEOF
36863 #define wxUSE_RADIOBOX 1
36864 _ACEOF
36865
36866 USES_CONTROLS=1
36867 fi
36868
36869 if test "$wxUSE_RADIOBTN" = "yes"; then
36870 cat >>confdefs.h <<\_ACEOF
36871 #define wxUSE_RADIOBTN 1
36872 _ACEOF
36873
36874 USES_CONTROLS=1
36875 fi
36876
36877 if test "$wxUSE_SASH" = "yes"; then
36878 cat >>confdefs.h <<\_ACEOF
36879 #define wxUSE_SASH 1
36880 _ACEOF
36881
36882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36883 fi
36884
36885 if test "$wxUSE_SCROLLBAR" = "yes"; then
36886 cat >>confdefs.h <<\_ACEOF
36887 #define wxUSE_SCROLLBAR 1
36888 _ACEOF
36889
36890 USES_CONTROLS=1
36891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36892 fi
36893
36894 if test "$wxUSE_SLIDER" = "yes"; then
36895 cat >>confdefs.h <<\_ACEOF
36896 #define wxUSE_SLIDER 1
36897 _ACEOF
36898
36899 USES_CONTROLS=1
36900 fi
36901
36902 if test "$wxUSE_SPINBTN" = "yes"; then
36903 cat >>confdefs.h <<\_ACEOF
36904 #define wxUSE_SPINBTN 1
36905 _ACEOF
36906
36907 USES_CONTROLS=1
36908 fi
36909
36910 if test "$wxUSE_SPINCTRL" = "yes"; then
36911 cat >>confdefs.h <<\_ACEOF
36912 #define wxUSE_SPINCTRL 1
36913 _ACEOF
36914
36915 USES_CONTROLS=1
36916 fi
36917
36918 if test "$wxUSE_SPLITTER" = "yes"; then
36919 cat >>confdefs.h <<\_ACEOF
36920 #define wxUSE_SPLITTER 1
36921 _ACEOF
36922
36923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36924 fi
36925
36926 if test "$wxUSE_STATBMP" = "yes"; then
36927 cat >>confdefs.h <<\_ACEOF
36928 #define wxUSE_STATBMP 1
36929 _ACEOF
36930
36931 USES_CONTROLS=1
36932 fi
36933
36934 if test "$wxUSE_STATBOX" = "yes"; then
36935 cat >>confdefs.h <<\_ACEOF
36936 #define wxUSE_STATBOX 1
36937 _ACEOF
36938
36939 USES_CONTROLS=1
36940 fi
36941
36942 if test "$wxUSE_STATTEXT" = "yes"; then
36943 cat >>confdefs.h <<\_ACEOF
36944 #define wxUSE_STATTEXT 1
36945 _ACEOF
36946
36947 USES_CONTROLS=1
36948 fi
36949
36950 if test "$wxUSE_STATLINE" = "yes"; then
36951 cat >>confdefs.h <<\_ACEOF
36952 #define wxUSE_STATLINE 1
36953 _ACEOF
36954
36955 USES_CONTROLS=1
36956 fi
36957
36958 if test "$wxUSE_STATUSBAR" = "yes"; then
36959 cat >>confdefs.h <<\_ACEOF
36960 #define wxUSE_STATUSBAR 1
36961 _ACEOF
36962
36963 USES_CONTROLS=1
36964
36965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36966 fi
36967
36968 if test "$wxUSE_TABDIALOG" = "yes"; then
36969 cat >>confdefs.h <<\_ACEOF
36970 #define wxUSE_TAB_DIALOG 1
36971 _ACEOF
36972
36973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36974 fi
36975
36976 if test "$wxUSE_TEXTCTRL" = "yes"; then
36977 cat >>confdefs.h <<\_ACEOF
36978 #define wxUSE_TEXTCTRL 1
36979 _ACEOF
36980
36981 USES_CONTROLS=1
36982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36983 fi
36984
36985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36986 if test "$wxUSE_COCOA" = 1 ; then
36987 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36988 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36989 wxUSE_TOGGLEBTN=no
36990 else
36991 if test "$wxUSE_PM" = 1; then
36992 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36993 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36994 wxUSE_TOGGLEBTN=no
36995 fi
36996 fi
36997 if test "$wxUSE_UNIVERSAL" = "yes"; then
36998 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36999 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37000 wxUSE_TOGGLEBTN=no
37001 fi
37002
37003 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37004 cat >>confdefs.h <<\_ACEOF
37005 #define wxUSE_TOGGLEBTN 1
37006 _ACEOF
37007
37008 USES_CONTROLS=1
37009 fi
37010 fi
37011
37012 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37013 cat >>confdefs.h <<\_ACEOF
37014 #define wxUSE_TOOLBAR_SIMPLE 1
37015 _ACEOF
37016
37017 wxUSE_TOOLBAR="yes"
37018 USES_CONTROLS=1
37019 fi
37020
37021 if test "$wxUSE_TOOLBAR" = "yes"; then
37022 cat >>confdefs.h <<\_ACEOF
37023 #define wxUSE_TOOLBAR 1
37024 _ACEOF
37025
37026 USES_CONTROLS=1
37027
37028 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37029 wxUSE_TOOLBAR_NATIVE="yes"
37030 fi
37031
37032 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37033 cat >>confdefs.h <<\_ACEOF
37034 #define wxUSE_TOOLBAR_NATIVE 1
37035 _ACEOF
37036
37037 USES_CONTROLS=1
37038 fi
37039
37040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37041 fi
37042
37043 if test "$wxUSE_TOOLTIPS" = "yes"; then
37044 if test "$wxUSE_MOTIF" = 1; then
37045 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37046 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37047 else
37048 if test "$wxUSE_UNIVERSAL" = "yes"; then
37049 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37050 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37051 else
37052 cat >>confdefs.h <<\_ACEOF
37053 #define wxUSE_TOOLTIPS 1
37054 _ACEOF
37055
37056 fi
37057 fi
37058 fi
37059
37060 if test "$wxUSE_TREECTRL" = "yes"; then
37061 if test "$wxUSE_IMAGLIST" = "yes"; then
37062 cat >>confdefs.h <<\_ACEOF
37063 #define wxUSE_TREECTRL 1
37064 _ACEOF
37065
37066 USES_CONTROLS=1
37067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37068 else
37069 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37070 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37071 fi
37072 fi
37073
37074 if test "$wxUSE_POPUPWIN" = "yes"; then
37075 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37076 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37077 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37078 else
37079 if test "$wxUSE_PM" = 1; then
37080 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37081 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37082 else
37083 cat >>confdefs.h <<\_ACEOF
37084 #define wxUSE_POPUPWIN 1
37085 _ACEOF
37086
37087
37088 USES_CONTROLS=1
37089 fi
37090 fi
37091 fi
37092
37093 if test "$wxUSE_TIPWINDOW" = "yes"; then
37094 if test "$wxUSE_PM" = 1; then
37095 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37096 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37097 else
37098 cat >>confdefs.h <<\_ACEOF
37099 #define wxUSE_TIPWINDOW 1
37100 _ACEOF
37101
37102 fi
37103 fi
37104
37105 if test "$USES_CONTROLS" = 1; then
37106 cat >>confdefs.h <<\_ACEOF
37107 #define wxUSE_CONTROLS 1
37108 _ACEOF
37109
37110 fi
37111
37112
37113 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37114 cat >>confdefs.h <<\_ACEOF
37115 #define wxUSE_ACCESSIBILITY 1
37116 _ACEOF
37117
37118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37119 fi
37120
37121 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37122 cat >>confdefs.h <<\_ACEOF
37123 #define wxUSE_DRAGIMAGE 1
37124 _ACEOF
37125
37126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37127 fi
37128
37129 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37130 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37131 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37132 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37133 else
37134 cat >>confdefs.h <<\_ACEOF
37135 #define wxUSE_EXCEPTIONS 1
37136 _ACEOF
37137
37138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
37139 fi
37140 fi
37141
37142 USE_HTML=0
37143 if test "$wxUSE_HTML" = "yes"; then
37144 cat >>confdefs.h <<\_ACEOF
37145 #define wxUSE_HTML 1
37146 _ACEOF
37147
37148 USE_HTML=1
37149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37150 if test "$wxUSE_MAC" = 1; then
37151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
37152 fi
37153 fi
37154 if test "$wxUSE_WEBKIT" = "yes"; then
37155 if test "$wxUSE_MAC" = 1; then
37156 old_CPPFLAGS="$CPPFLAGS"
37157 CPPFLAGS="$CPPFLAGS -x objective-c++"
37158 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37159 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37160 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37161 echo $ECHO_N "(cached) $ECHO_C" >&6
37162 else
37163 cat >conftest.$ac_ext <<_ACEOF
37164 /* confdefs.h. */
37165 _ACEOF
37166 cat confdefs.h >>conftest.$ac_ext
37167 cat >>conftest.$ac_ext <<_ACEOF
37168 /* end confdefs.h. */
37169 #include <Carbon/Carbon.h>
37170
37171 #include <WebKit/HIWebView.h>
37172 _ACEOF
37173 rm -f conftest.$ac_objext
37174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37175 (eval $ac_compile) 2>conftest.er1
37176 ac_status=$?
37177 grep -v '^ *+' conftest.er1 >conftest.err
37178 rm -f conftest.er1
37179 cat conftest.err >&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); } &&
37182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37184 (eval $ac_try) 2>&5
37185 ac_status=$?
37186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37187 (exit $ac_status); }; } &&
37188 { ac_try='test -s conftest.$ac_objext'
37189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37190 (eval $ac_try) 2>&5
37191 ac_status=$?
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); }; }; then
37194 ac_cv_header_WebKit_HIWebView_h=yes
37195 else
37196 echo "$as_me: failed program was:" >&5
37197 sed 's/^/| /' conftest.$ac_ext >&5
37198
37199 ac_cv_header_WebKit_HIWebView_h=no
37200 fi
37201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37202 fi
37203 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37204 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37205 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37206
37207 cat >>confdefs.h <<\_ACEOF
37208 #define wxUSE_WEBKIT 1
37209 _ACEOF
37210
37211 WEBKIT_LINK="-framework WebKit"
37212
37213 else
37214
37215 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37216 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37217 wxUSE_WEBKIT=no
37218
37219 fi
37220
37221
37222 CPPFLAGS="$old_CPPFLAGS"
37223 elif test "$wxUSE_COCOA" = 1; then
37224 cat >>confdefs.h <<\_ACEOF
37225 #define wxUSE_WEBKIT 1
37226 _ACEOF
37227
37228 else
37229 wxUSE_WEBKIT=no
37230 fi
37231 fi
37232
37233 USE_XRC=0
37234 if test "$wxUSE_XRC" = "yes"; then
37235 if test "$wxUSE_XML" != "yes"; then
37236 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37237 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37238 wxUSE_XRC=no
37239 else
37240 cat >>confdefs.h <<\_ACEOF
37241 #define wxUSE_XRC 1
37242 _ACEOF
37243
37244 USE_XRC=1
37245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37246 fi
37247 fi
37248
37249 if test "$wxUSE_MENUS" = "yes"; then
37250 cat >>confdefs.h <<\_ACEOF
37251 #define wxUSE_MENUS 1
37252 _ACEOF
37253
37254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37255 fi
37256
37257 if test "$wxUSE_METAFILE" = "yes"; then
37258 cat >>confdefs.h <<\_ACEOF
37259 #define wxUSE_METAFILE 1
37260 _ACEOF
37261
37262 fi
37263
37264 if test "$wxUSE_MIMETYPE" = "yes"; then
37265 cat >>confdefs.h <<\_ACEOF
37266 #define wxUSE_MIMETYPE 1
37267 _ACEOF
37268
37269 fi
37270
37271 if test "$wxUSE_MINIFRAME" = "yes"; then
37272 cat >>confdefs.h <<\_ACEOF
37273 #define wxUSE_MINIFRAME 1
37274 _ACEOF
37275
37276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37277 fi
37278
37279 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37280 cat >>confdefs.h <<\_ACEOF
37281 #define wxUSE_SYSTEM_OPTIONS 1
37282 _ACEOF
37283
37284 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37285 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37287 fi
37288 fi
37289
37290
37291 if test "$wxUSE_VALIDATORS" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define wxUSE_VALIDATORS 1
37294 _ACEOF
37295
37296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37297 fi
37298
37299 if test "$wxUSE_PALETTE" = "yes" ; then
37300 cat >>confdefs.h <<\_ACEOF
37301 #define wxUSE_PALETTE 1
37302 _ACEOF
37303
37304 fi
37305
37306 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37307 LIBS=" -lunicows $LIBS"
37308 fi
37309
37310
37311 if test "$wxUSE_IMAGE" = "yes" ; then
37312 cat >>confdefs.h <<\_ACEOF
37313 #define wxUSE_IMAGE 1
37314 _ACEOF
37315
37316
37317 if test "$wxUSE_GIF" = "yes" ; then
37318 cat >>confdefs.h <<\_ACEOF
37319 #define wxUSE_GIF 1
37320 _ACEOF
37321
37322 fi
37323
37324 if test "$wxUSE_PCX" = "yes" ; then
37325 cat >>confdefs.h <<\_ACEOF
37326 #define wxUSE_PCX 1
37327 _ACEOF
37328
37329 fi
37330
37331 if test "$wxUSE_IFF" = "yes" ; then
37332 cat >>confdefs.h <<\_ACEOF
37333 #define wxUSE_IFF 1
37334 _ACEOF
37335
37336 fi
37337
37338 if test "$wxUSE_PNM" = "yes" ; then
37339 cat >>confdefs.h <<\_ACEOF
37340 #define wxUSE_PNM 1
37341 _ACEOF
37342
37343 fi
37344
37345 if test "$wxUSE_XPM" = "yes" ; then
37346 cat >>confdefs.h <<\_ACEOF
37347 #define wxUSE_XPM 1
37348 _ACEOF
37349
37350 fi
37351
37352 if test "$wxUSE_ICO_CUR" = "yes" ; then
37353 cat >>confdefs.h <<\_ACEOF
37354 #define wxUSE_ICO_CUR 1
37355 _ACEOF
37356
37357 fi
37358 fi
37359
37360
37361 if test "$wxUSE_CHOICEDLG" = "yes"; then
37362 cat >>confdefs.h <<\_ACEOF
37363 #define wxUSE_CHOICEDLG 1
37364 _ACEOF
37365
37366 fi
37367
37368 if test "$wxUSE_COLOURDLG" = "yes"; then
37369 cat >>confdefs.h <<\_ACEOF
37370 #define wxUSE_COLOURDLG 1
37371 _ACEOF
37372
37373 fi
37374
37375 if test "$wxUSE_FILEDLG" = "yes"; then
37376 cat >>confdefs.h <<\_ACEOF
37377 #define wxUSE_FILEDLG 1
37378 _ACEOF
37379
37380 fi
37381
37382 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37383 cat >>confdefs.h <<\_ACEOF
37384 #define wxUSE_FINDREPLDLG 1
37385 _ACEOF
37386
37387 fi
37388
37389 if test "$wxUSE_FONTDLG" = "yes"; then
37390 cat >>confdefs.h <<\_ACEOF
37391 #define wxUSE_FONTDLG 1
37392 _ACEOF
37393
37394 fi
37395
37396 if test "$wxUSE_DIRDLG" = "yes"; then
37397 if test "$wxUSE_TREECTRL" != "yes"; then
37398 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37399 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37400 else
37401 cat >>confdefs.h <<\_ACEOF
37402 #define wxUSE_DIRDLG 1
37403 _ACEOF
37404
37405 fi
37406 fi
37407
37408 if test "$wxUSE_MSGDLG" = "yes"; then
37409 cat >>confdefs.h <<\_ACEOF
37410 #define wxUSE_MSGDLG 1
37411 _ACEOF
37412
37413 fi
37414
37415 if test "$wxUSE_NUMBERDLG" = "yes"; then
37416 cat >>confdefs.h <<\_ACEOF
37417 #define wxUSE_NUMBERDLG 1
37418 _ACEOF
37419
37420 fi
37421
37422 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37423 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37424 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37425 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37426 else
37427 cat >>confdefs.h <<\_ACEOF
37428 #define wxUSE_PROGRESSDLG 1
37429 _ACEOF
37430
37431 fi
37432 fi
37433
37434 if test "$wxUSE_SPLASH" = "yes"; then
37435 cat >>confdefs.h <<\_ACEOF
37436 #define wxUSE_SPLASH 1
37437 _ACEOF
37438
37439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37440 fi
37441
37442 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37443 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37444 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37445 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37446 else
37447 cat >>confdefs.h <<\_ACEOF
37448 #define wxUSE_STARTUP_TIPS 1
37449 _ACEOF
37450
37451 fi
37452 fi
37453
37454 if test "$wxUSE_TEXTDLG" = "yes"; then
37455 cat >>confdefs.h <<\_ACEOF
37456 #define wxUSE_TEXTDLG 1
37457 _ACEOF
37458
37459 fi
37460
37461 if test "$wxUSE_WIZARDDLG" = "yes"; then
37462 cat >>confdefs.h <<\_ACEOF
37463 #define wxUSE_WIZARDDLG 1
37464 _ACEOF
37465
37466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37467 fi
37468
37469
37470 if test "$cross_compiling" = "yes"; then
37471 OSINFO="\"$host\""
37472 else
37473 OSINFO=`uname -s -r -m`
37474 OSINFO="\"$OSINFO\""
37475 fi
37476
37477 cat >>confdefs.h <<_ACEOF
37478 #define WXWIN_OS_DESCRIPTION $OSINFO
37479 _ACEOF
37480
37481
37482
37483 if test "x$prefix" != "xNONE"; then
37484 wxPREFIX=$prefix
37485 else
37486 wxPREFIX=$ac_default_prefix
37487 fi
37488
37489 cat >>confdefs.h <<_ACEOF
37490 #define wxINSTALL_PREFIX "$wxPREFIX"
37491 _ACEOF
37492
37493
37494
37495
37496 CORE_BASE_LIBS="net base"
37497 CORE_GUI_LIBS="adv core"
37498
37499 if test "$wxUSE_XML" = "yes" ; then
37500 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37501 fi
37502 if test "$wxUSE_ODBC" != "no" ; then
37503 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37504 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37505 fi
37506 if test "$wxUSE_HTML" = "yes" ; then
37507 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37508 fi
37509 if test "$wxUSE_XRC" = "yes" ; then
37510 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37511 fi
37512
37513 if test "$wxUSE_GUI" != "yes"; then
37514 CORE_GUI_LIBS=""
37515 fi
37516
37517
37518
37519
37520
37521
37522
37523
37524 if test "$wxUSE_MAC" = 1 ; then
37525 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
37526 LDFLAGS="$LDFLAGS -framework QuickTime"
37527 fi
37528 if test "$USE_DARWIN" = 1; then
37529 LDFLAGS="$LDFLAGS -framework IOKit"
37530 fi
37531 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37532 fi
37533 if test "$wxUSE_COCOA" = 1 ; then
37534 LDFLAGS="$LDFLAGS -framework Cocoa"
37535 fi
37536
37537
37538 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37539
37540 have_cos=0
37541 have_floor=0
37542
37543 for ac_func in cos
37544 do
37545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37546 echo "$as_me:$LINENO: checking for $ac_func" >&5
37547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37548 if eval "test \"\${$as_ac_var+set}\" = set"; then
37549 echo $ECHO_N "(cached) $ECHO_C" >&6
37550 else
37551 cat >conftest.$ac_ext <<_ACEOF
37552 /* confdefs.h. */
37553 _ACEOF
37554 cat confdefs.h >>conftest.$ac_ext
37555 cat >>conftest.$ac_ext <<_ACEOF
37556 /* end confdefs.h. */
37557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37559 #define $ac_func innocuous_$ac_func
37560
37561 /* System header to define __stub macros and hopefully few prototypes,
37562 which can conflict with char $ac_func (); below.
37563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37564 <limits.h> exists even on freestanding compilers. */
37565
37566 #ifdef __STDC__
37567 # include <limits.h>
37568 #else
37569 # include <assert.h>
37570 #endif
37571
37572 #undef $ac_func
37573
37574 /* Override any gcc2 internal prototype to avoid an error. */
37575 #ifdef __cplusplus
37576 extern "C"
37577 {
37578 #endif
37579 /* We use char because int might match the return type of a gcc2
37580 builtin and then its argument prototype would still apply. */
37581 char $ac_func ();
37582 /* The GNU C library defines this for functions which it implements
37583 to always fail with ENOSYS. Some functions are actually named
37584 something starting with __ and the normal name is an alias. */
37585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37586 choke me
37587 #else
37588 char (*f) () = $ac_func;
37589 #endif
37590 #ifdef __cplusplus
37591 }
37592 #endif
37593
37594 int
37595 main ()
37596 {
37597 return f != $ac_func;
37598 ;
37599 return 0;
37600 }
37601 _ACEOF
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37604 (eval $ac_link) 2>conftest.er1
37605 ac_status=$?
37606 grep -v '^ *+' conftest.er1 >conftest.err
37607 rm -f conftest.er1
37608 cat conftest.err >&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); } &&
37611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37613 (eval $ac_try) 2>&5
37614 ac_status=$?
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); }; } &&
37617 { ac_try='test -s conftest$ac_exeext'
37618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37619 (eval $ac_try) 2>&5
37620 ac_status=$?
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); }; }; then
37623 eval "$as_ac_var=yes"
37624 else
37625 echo "$as_me: failed program was:" >&5
37626 sed 's/^/| /' conftest.$ac_ext >&5
37627
37628 eval "$as_ac_var=no"
37629 fi
37630 rm -f conftest.err conftest.$ac_objext \
37631 conftest$ac_exeext conftest.$ac_ext
37632 fi
37633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37635 if test `eval echo '${'$as_ac_var'}'` = yes; then
37636 cat >>confdefs.h <<_ACEOF
37637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37638 _ACEOF
37639 have_cos=1
37640 fi
37641 done
37642
37643
37644 for ac_func in floor
37645 do
37646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 echo "$as_me:$LINENO: checking for $ac_func" >&5
37648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37649 if eval "test \"\${$as_ac_var+set}\" = set"; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652 cat >conftest.$ac_ext <<_ACEOF
37653 /* confdefs.h. */
37654 _ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37660 #define $ac_func innocuous_$ac_func
37661
37662 /* System header to define __stub macros and hopefully few prototypes,
37663 which can conflict with char $ac_func (); below.
37664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37665 <limits.h> exists even on freestanding compilers. */
37666
37667 #ifdef __STDC__
37668 # include <limits.h>
37669 #else
37670 # include <assert.h>
37671 #endif
37672
37673 #undef $ac_func
37674
37675 /* Override any gcc2 internal prototype to avoid an error. */
37676 #ifdef __cplusplus
37677 extern "C"
37678 {
37679 #endif
37680 /* We use char because int might match the return type of a gcc2
37681 builtin and then its argument prototype would still apply. */
37682 char $ac_func ();
37683 /* The GNU C library defines this for functions which it implements
37684 to always fail with ENOSYS. Some functions are actually named
37685 something starting with __ and the normal name is an alias. */
37686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37687 choke me
37688 #else
37689 char (*f) () = $ac_func;
37690 #endif
37691 #ifdef __cplusplus
37692 }
37693 #endif
37694
37695 int
37696 main ()
37697 {
37698 return f != $ac_func;
37699 ;
37700 return 0;
37701 }
37702 _ACEOF
37703 rm -f conftest.$ac_objext conftest$ac_exeext
37704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37705 (eval $ac_link) 2>conftest.er1
37706 ac_status=$?
37707 grep -v '^ *+' conftest.er1 >conftest.err
37708 rm -f conftest.er1
37709 cat conftest.err >&5
37710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37711 (exit $ac_status); } &&
37712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37714 (eval $ac_try) 2>&5
37715 ac_status=$?
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); }; } &&
37718 { ac_try='test -s conftest$ac_exeext'
37719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37720 (eval $ac_try) 2>&5
37721 ac_status=$?
37722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723 (exit $ac_status); }; }; then
37724 eval "$as_ac_var=yes"
37725 else
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37728
37729 eval "$as_ac_var=no"
37730 fi
37731 rm -f conftest.err conftest.$ac_objext \
37732 conftest$ac_exeext conftest.$ac_ext
37733 fi
37734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37736 if test `eval echo '${'$as_ac_var'}'` = yes; then
37737 cat >>confdefs.h <<_ACEOF
37738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37739 _ACEOF
37740 have_floor=1
37741 fi
37742 done
37743
37744 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37745 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37746 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37747 echo "$as_me:$LINENO: result: yes" >&5
37748 echo "${ECHO_T}yes" >&6
37749 else
37750 echo "$as_me:$LINENO: result: no" >&5
37751 echo "${ECHO_T}no" >&6
37752 LIBS="$LIBS -lm"
37753 # use different functions to avoid configure caching
37754 have_sin=0
37755 have_ceil=0
37756
37757 for ac_func in sin
37758 do
37759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37760 echo "$as_me:$LINENO: checking for $ac_func" >&5
37761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37762 if eval "test \"\${$as_ac_var+set}\" = set"; then
37763 echo $ECHO_N "(cached) $ECHO_C" >&6
37764 else
37765 cat >conftest.$ac_ext <<_ACEOF
37766 /* confdefs.h. */
37767 _ACEOF
37768 cat confdefs.h >>conftest.$ac_ext
37769 cat >>conftest.$ac_ext <<_ACEOF
37770 /* end confdefs.h. */
37771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37773 #define $ac_func innocuous_$ac_func
37774
37775 /* System header to define __stub macros and hopefully few prototypes,
37776 which can conflict with char $ac_func (); below.
37777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37778 <limits.h> exists even on freestanding compilers. */
37779
37780 #ifdef __STDC__
37781 # include <limits.h>
37782 #else
37783 # include <assert.h>
37784 #endif
37785
37786 #undef $ac_func
37787
37788 /* Override any gcc2 internal prototype to avoid an error. */
37789 #ifdef __cplusplus
37790 extern "C"
37791 {
37792 #endif
37793 /* We use char because int might match the return type of a gcc2
37794 builtin and then its argument prototype would still apply. */
37795 char $ac_func ();
37796 /* The GNU C library defines this for functions which it implements
37797 to always fail with ENOSYS. Some functions are actually named
37798 something starting with __ and the normal name is an alias. */
37799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37800 choke me
37801 #else
37802 char (*f) () = $ac_func;
37803 #endif
37804 #ifdef __cplusplus
37805 }
37806 #endif
37807
37808 int
37809 main ()
37810 {
37811 return f != $ac_func;
37812 ;
37813 return 0;
37814 }
37815 _ACEOF
37816 rm -f conftest.$ac_objext conftest$ac_exeext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37818 (eval $ac_link) 2>conftest.er1
37819 ac_status=$?
37820 grep -v '^ *+' conftest.er1 >conftest.err
37821 rm -f conftest.er1
37822 cat conftest.err >&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } &&
37825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37828 ac_status=$?
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try='test -s conftest$ac_exeext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37834 ac_status=$?
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 eval "$as_ac_var=yes"
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37841
37842 eval "$as_ac_var=no"
37843 fi
37844 rm -f conftest.err conftest.$ac_objext \
37845 conftest$ac_exeext conftest.$ac_ext
37846 fi
37847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37849 if test `eval echo '${'$as_ac_var'}'` = yes; then
37850 cat >>confdefs.h <<_ACEOF
37851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37852 _ACEOF
37853 have_sin=1
37854 fi
37855 done
37856
37857
37858 for ac_func in ceil
37859 do
37860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37861 echo "$as_me:$LINENO: checking for $ac_func" >&5
37862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37863 if eval "test \"\${$as_ac_var+set}\" = set"; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37865 else
37866 cat >conftest.$ac_ext <<_ACEOF
37867 /* confdefs.h. */
37868 _ACEOF
37869 cat confdefs.h >>conftest.$ac_ext
37870 cat >>conftest.$ac_ext <<_ACEOF
37871 /* end confdefs.h. */
37872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37874 #define $ac_func innocuous_$ac_func
37875
37876 /* System header to define __stub macros and hopefully few prototypes,
37877 which can conflict with char $ac_func (); below.
37878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37879 <limits.h> exists even on freestanding compilers. */
37880
37881 #ifdef __STDC__
37882 # include <limits.h>
37883 #else
37884 # include <assert.h>
37885 #endif
37886
37887 #undef $ac_func
37888
37889 /* Override any gcc2 internal prototype to avoid an error. */
37890 #ifdef __cplusplus
37891 extern "C"
37892 {
37893 #endif
37894 /* We use char because int might match the return type of a gcc2
37895 builtin and then its argument prototype would still apply. */
37896 char $ac_func ();
37897 /* The GNU C library defines this for functions which it implements
37898 to always fail with ENOSYS. Some functions are actually named
37899 something starting with __ and the normal name is an alias. */
37900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37901 choke me
37902 #else
37903 char (*f) () = $ac_func;
37904 #endif
37905 #ifdef __cplusplus
37906 }
37907 #endif
37908
37909 int
37910 main ()
37911 {
37912 return f != $ac_func;
37913 ;
37914 return 0;
37915 }
37916 _ACEOF
37917 rm -f conftest.$ac_objext conftest$ac_exeext
37918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37919 (eval $ac_link) 2>conftest.er1
37920 ac_status=$?
37921 grep -v '^ *+' conftest.er1 >conftest.err
37922 rm -f conftest.er1
37923 cat conftest.err >&5
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); } &&
37926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37928 (eval $ac_try) 2>&5
37929 ac_status=$?
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); }; } &&
37932 { ac_try='test -s conftest$ac_exeext'
37933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37934 (eval $ac_try) 2>&5
37935 ac_status=$?
37936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937 (exit $ac_status); }; }; then
37938 eval "$as_ac_var=yes"
37939 else
37940 echo "$as_me: failed program was:" >&5
37941 sed 's/^/| /' conftest.$ac_ext >&5
37942
37943 eval "$as_ac_var=no"
37944 fi
37945 rm -f conftest.err conftest.$ac_objext \
37946 conftest$ac_exeext conftest.$ac_ext
37947 fi
37948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37950 if test `eval echo '${'$as_ac_var'}'` = yes; then
37951 cat >>confdefs.h <<_ACEOF
37952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37953 _ACEOF
37954 have_ceil=1
37955 fi
37956 done
37957
37958 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37959 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37960 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37961 echo "$as_me:$LINENO: result: yes" >&5
37962 echo "${ECHO_T}yes" >&6
37963 else
37964 echo "$as_me:$LINENO: result: no" >&5
37965 echo "${ECHO_T}no" >&6
37966 # not sure we should warn the user, crash, etc.
37967 fi
37968 fi
37969
37970 if test "$wxUSE_GUI" = "yes"; then
37971
37972
37973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37974 drawing dynamic erase event exec font image \
37975 minimal propsize rotate shaped widgets render"
37976
37977 if test "$wxUSE_MONOLITHIC" != "yes"; then
37978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37979 fi
37980 else
37981 SAMPLES_SUBDIRS="console"
37982 fi
37983
37984
37985 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37986 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37987
37988 if test "$GXX" = yes ; then
37989 CXXWARNINGS="-Wall"
37990 fi
37991
37992 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37993
37994 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37995 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37996 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37997
37998
37999 LIBS=`echo $LIBS`
38000 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38001 EXTRALIBS_XML="$EXPAT_LINK"
38002 EXTRALIBS_HTML="$MSPACK_LINK"
38003 EXTRALIBS_ODBC="$ODBC_LINK"
38004 if test "$wxUSE_GUI" = "yes"; then
38005 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38006 fi
38007 if test "$wxUSE_OPENGL" = "yes"; then
38008 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
38009 fi
38010
38011 LDFLAGS="$LDFLAGS $PROFILE"
38012
38013 if test "$wxUSE_GTK" = 1; then
38014 WXCONFIG_INCLUDE=
38015 else
38016 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
38017 fi
38018
38019 WXCONFIG_EXTRALIBS="$LIBS"
38020
38021 if test "$wxUSE_REGEX" = "builtin" ; then
38022 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38023 fi
38024 if test "$wxUSE_EXPAT" = "builtin" ; then
38025 wxconfig_3rdparty="$wxconfig_3rdparty expat"
38026 fi
38027 if test "$wxUSE_ODBC" = "builtin" ; then
38028 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38029 fi
38030 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38031 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
38032 fi
38033 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38034 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
38035 fi
38036 if test "$wxUSE_LIBPNG" = "builtin" ; then
38037 wxconfig_3rdparty="$wxconfig_3rdparty png"
38038 fi
38039 if test "$wxUSE_ZLIB" = "builtin" ; then
38040 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
38041 fi
38042 if test "$wxUSE_ODBC" = "builtin" ; then
38043 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38044 fi
38045
38046 for i in $wxconfig_3rdparty ; do
38047 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38048 done
38049
38050
38051 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38052 WXUNIV=1
38053 else
38054 WXUNIV=0
38055 fi
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065 if test $wxUSE_MONOLITHIC = "yes" ; then
38066 MONOLITHIC=1
38067 else
38068 MONOLITHIC=0
38069 fi
38070
38071 if test $wxUSE_PLUGINS = "yes" ; then
38072 USE_PLUGINS=1
38073 else
38074 USE_PLUGINS=0
38075 fi
38076
38077 if test $wxUSE_ODBC != "no" ; then
38078 USE_ODBC=1
38079 else
38080 USE_ODBC=0
38081 fi
38082
38083 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38084 OFFICIAL_BUILD=1
38085 else
38086 OFFICIAL_BUILD=0
38087 fi
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38112
38113
38114
38115
38116
38117
38118
38119
38120 case "$TOOLKIT" in
38121 GTK)
38122 TOOLKIT_USER="GTK+"
38123 if test "$WXGTK20" = 1; then
38124 TOOLKIT_USER="$TOOLKIT_USER 2"
38125 fi
38126 ;;
38127
38128 *)
38129 TOOLKIT_USER=$TOOLKIT_LOWERCASE
38130 ;;
38131 esac
38132
38133
38134 if test "x$BAKEFILE_HOST" = "x"; then
38135 BAKEFILE_HOST="${host}"
38136 fi
38137
38138 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38139
38140 if test -n "$ac_tool_prefix"; then
38141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38143 echo "$as_me:$LINENO: checking for $ac_word" >&5
38144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38145 if test "${ac_cv_prog_RANLIB+set}" = set; then
38146 echo $ECHO_N "(cached) $ECHO_C" >&6
38147 else
38148 if test -n "$RANLIB"; then
38149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38150 else
38151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38152 for as_dir in $PATH
38153 do
38154 IFS=$as_save_IFS
38155 test -z "$as_dir" && as_dir=.
38156 for ac_exec_ext in '' $ac_executable_extensions; do
38157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38160 break 2
38161 fi
38162 done
38163 done
38164
38165 fi
38166 fi
38167 RANLIB=$ac_cv_prog_RANLIB
38168 if test -n "$RANLIB"; then
38169 echo "$as_me:$LINENO: result: $RANLIB" >&5
38170 echo "${ECHO_T}$RANLIB" >&6
38171 else
38172 echo "$as_me:$LINENO: result: no" >&5
38173 echo "${ECHO_T}no" >&6
38174 fi
38175
38176 fi
38177 if test -z "$ac_cv_prog_RANLIB"; then
38178 ac_ct_RANLIB=$RANLIB
38179 # Extract the first word of "ranlib", so it can be a program name with args.
38180 set dummy ranlib; ac_word=$2
38181 echo "$as_me:$LINENO: checking for $ac_word" >&5
38182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38184 echo $ECHO_N "(cached) $ECHO_C" >&6
38185 else
38186 if test -n "$ac_ct_RANLIB"; then
38187 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38188 else
38189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38190 for as_dir in $PATH
38191 do
38192 IFS=$as_save_IFS
38193 test -z "$as_dir" && as_dir=.
38194 for ac_exec_ext in '' $ac_executable_extensions; do
38195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38196 ac_cv_prog_ac_ct_RANLIB="ranlib"
38197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38198 break 2
38199 fi
38200 done
38201 done
38202
38203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38204 fi
38205 fi
38206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38207 if test -n "$ac_ct_RANLIB"; then
38208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38210 else
38211 echo "$as_me:$LINENO: result: no" >&5
38212 echo "${ECHO_T}no" >&6
38213 fi
38214
38215 RANLIB=$ac_ct_RANLIB
38216 else
38217 RANLIB="$ac_cv_prog_RANLIB"
38218 fi
38219
38220 # Find a good install program. We prefer a C program (faster),
38221 # so one script is as good as another. But avoid the broken or
38222 # incompatible versions:
38223 # SysV /etc/install, /usr/sbin/install
38224 # SunOS /usr/etc/install
38225 # IRIX /sbin/install
38226 # AIX /bin/install
38227 # AmigaOS /C/install, which installs bootblocks on floppy discs
38228 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38229 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38230 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38231 # OS/2's system install, which has a completely different semantic
38232 # ./install, which can be erroneously created by make from ./install.sh.
38233 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38234 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38235 if test -z "$INSTALL"; then
38236 if test "${ac_cv_path_install+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38238 else
38239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38240 for as_dir in $PATH
38241 do
38242 IFS=$as_save_IFS
38243 test -z "$as_dir" && as_dir=.
38244 # Account for people who put trailing slashes in PATH elements.
38245 case $as_dir/ in
38246 ./ | .// | /cC/* | \
38247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38248 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38249 /usr/ucb/* ) ;;
38250 *)
38251 # OSF1 and SCO ODT 3.0 have their own names for install.
38252 # Don't use installbsd from OSF since it installs stuff as root
38253 # by default.
38254 for ac_prog in ginstall scoinst install; do
38255 for ac_exec_ext in '' $ac_executable_extensions; do
38256 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38257 if test $ac_prog = install &&
38258 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38259 # AIX install. It has an incompatible calling convention.
38260 :
38261 elif test $ac_prog = install &&
38262 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38263 # program-specific install script used by HP pwplus--don't use.
38264 :
38265 else
38266 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38267 break 3
38268 fi
38269 fi
38270 done
38271 done
38272 ;;
38273 esac
38274 done
38275
38276
38277 fi
38278 if test "${ac_cv_path_install+set}" = set; then
38279 INSTALL=$ac_cv_path_install
38280 else
38281 # As a last resort, use the slow shell script. We don't cache a
38282 # path for INSTALL within a source directory, because that will
38283 # break other packages using the cache if that directory is
38284 # removed, or if the path is relative.
38285 INSTALL=$ac_install_sh
38286 fi
38287 fi
38288 echo "$as_me:$LINENO: result: $INSTALL" >&5
38289 echo "${ECHO_T}$INSTALL" >&6
38290
38291 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38292 # It thinks the first close brace ends the variable substitution.
38293 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38294
38295 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38296
38297 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38298
38299 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38300 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38301 LN_S=$as_ln_s
38302 if test "$LN_S" = "ln -s"; then
38303 echo "$as_me:$LINENO: result: yes" >&5
38304 echo "${ECHO_T}yes" >&6
38305 else
38306 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38307 echo "${ECHO_T}no, using $LN_S" >&6
38308 fi
38309
38310
38311 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38312 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38313 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38314 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38315 echo $ECHO_N "(cached) $ECHO_C" >&6
38316 else
38317 cat >conftest.make <<\_ACEOF
38318 all:
38319 @echo 'ac_maketemp="$(MAKE)"'
38320 _ACEOF
38321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38322 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38323 if test -n "$ac_maketemp"; then
38324 eval ac_cv_prog_make_${ac_make}_set=yes
38325 else
38326 eval ac_cv_prog_make_${ac_make}_set=no
38327 fi
38328 rm -f conftest.make
38329 fi
38330 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38331 echo "$as_me:$LINENO: result: yes" >&5
38332 echo "${ECHO_T}yes" >&6
38333 SET_MAKE=
38334 else
38335 echo "$as_me:$LINENO: result: no" >&5
38336 echo "${ECHO_T}no" >&6
38337 SET_MAKE="MAKE=${MAKE-make}"
38338 fi
38339
38340
38341
38342 if test -n "$ac_tool_prefix"; then
38343 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38344 set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38349 else
38350 if test -n "$AR"; then
38351 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
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 fi
38368 fi
38369 AR=$ac_cv_prog_AR
38370 if test -n "$AR"; then
38371 echo "$as_me:$LINENO: result: $AR" >&5
38372 echo "${ECHO_T}$AR" >&6
38373 else
38374 echo "$as_me:$LINENO: result: no" >&5
38375 echo "${ECHO_T}no" >&6
38376 fi
38377
38378 fi
38379 if test -z "$ac_cv_prog_AR"; then
38380 ac_ct_AR=$AR
38381 # Extract the first word of "ar", so it can be a program name with args.
38382 set dummy ar; ac_word=$2
38383 echo "$as_me:$LINENO: checking for $ac_word" >&5
38384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38385 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38387 else
38388 if test -n "$ac_ct_AR"; then
38389 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38390 else
38391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38392 for as_dir in $PATH
38393 do
38394 IFS=$as_save_IFS
38395 test -z "$as_dir" && as_dir=.
38396 for ac_exec_ext in '' $ac_executable_extensions; do
38397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38398 ac_cv_prog_ac_ct_AR="ar"
38399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38400 break 2
38401 fi
38402 done
38403 done
38404
38405 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38406 fi
38407 fi
38408 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38409 if test -n "$ac_ct_AR"; then
38410 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38411 echo "${ECHO_T}$ac_ct_AR" >&6
38412 else
38413 echo "$as_me:$LINENO: result: no" >&5
38414 echo "${ECHO_T}no" >&6
38415 fi
38416
38417 AR=$ac_ct_AR
38418 else
38419 AR="$ac_cv_prog_AR"
38420 fi
38421
38422 if test -n "$ac_tool_prefix"; then
38423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38424 set dummy ${ac_tool_prefix}strip; ac_word=$2
38425 echo "$as_me:$LINENO: checking for $ac_word" >&5
38426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38427 if test "${ac_cv_prog_STRIP+set}" = set; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 else
38430 if test -n "$STRIP"; then
38431 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38432 else
38433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38434 for as_dir in $PATH
38435 do
38436 IFS=$as_save_IFS
38437 test -z "$as_dir" && as_dir=.
38438 for ac_exec_ext in '' $ac_executable_extensions; do
38439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38440 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38442 break 2
38443 fi
38444 done
38445 done
38446
38447 fi
38448 fi
38449 STRIP=$ac_cv_prog_STRIP
38450 if test -n "$STRIP"; then
38451 echo "$as_me:$LINENO: result: $STRIP" >&5
38452 echo "${ECHO_T}$STRIP" >&6
38453 else
38454 echo "$as_me:$LINENO: result: no" >&5
38455 echo "${ECHO_T}no" >&6
38456 fi
38457
38458 fi
38459 if test -z "$ac_cv_prog_STRIP"; then
38460 ac_ct_STRIP=$STRIP
38461 # Extract the first word of "strip", so it can be a program name with args.
38462 set dummy strip; ac_word=$2
38463 echo "$as_me:$LINENO: checking for $ac_word" >&5
38464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38465 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38466 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 else
38468 if test -n "$ac_ct_STRIP"; then
38469 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38470 else
38471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38472 for as_dir in $PATH
38473 do
38474 IFS=$as_save_IFS
38475 test -z "$as_dir" && as_dir=.
38476 for ac_exec_ext in '' $ac_executable_extensions; do
38477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38478 ac_cv_prog_ac_ct_STRIP="strip"
38479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38480 break 2
38481 fi
38482 done
38483 done
38484
38485 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38486 fi
38487 fi
38488 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38489 if test -n "$ac_ct_STRIP"; then
38490 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38491 echo "${ECHO_T}$ac_ct_STRIP" >&6
38492 else
38493 echo "$as_me:$LINENO: result: no" >&5
38494 echo "${ECHO_T}no" >&6
38495 fi
38496
38497 STRIP=$ac_ct_STRIP
38498 else
38499 STRIP="$ac_cv_prog_STRIP"
38500 fi
38501
38502 if test -n "$ac_tool_prefix"; then
38503 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38504 set dummy ${ac_tool_prefix}nm; ac_word=$2
38505 echo "$as_me:$LINENO: checking for $ac_word" >&5
38506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38507 if test "${ac_cv_prog_NM+set}" = set; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38509 else
38510 if test -n "$NM"; then
38511 ac_cv_prog_NM="$NM" # Let the user override the test.
38512 else
38513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38514 for as_dir in $PATH
38515 do
38516 IFS=$as_save_IFS
38517 test -z "$as_dir" && as_dir=.
38518 for ac_exec_ext in '' $ac_executable_extensions; do
38519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38520 ac_cv_prog_NM="${ac_tool_prefix}nm"
38521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38522 break 2
38523 fi
38524 done
38525 done
38526
38527 fi
38528 fi
38529 NM=$ac_cv_prog_NM
38530 if test -n "$NM"; then
38531 echo "$as_me:$LINENO: result: $NM" >&5
38532 echo "${ECHO_T}$NM" >&6
38533 else
38534 echo "$as_me:$LINENO: result: no" >&5
38535 echo "${ECHO_T}no" >&6
38536 fi
38537
38538 fi
38539 if test -z "$ac_cv_prog_NM"; then
38540 ac_ct_NM=$NM
38541 # Extract the first word of "nm", so it can be a program name with args.
38542 set dummy nm; ac_word=$2
38543 echo "$as_me:$LINENO: checking for $ac_word" >&5
38544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38545 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38546 echo $ECHO_N "(cached) $ECHO_C" >&6
38547 else
38548 if test -n "$ac_ct_NM"; then
38549 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38550 else
38551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38552 for as_dir in $PATH
38553 do
38554 IFS=$as_save_IFS
38555 test -z "$as_dir" && as_dir=.
38556 for ac_exec_ext in '' $ac_executable_extensions; do
38557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38558 ac_cv_prog_ac_ct_NM="nm"
38559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38560 break 2
38561 fi
38562 done
38563 done
38564
38565 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38566 fi
38567 fi
38568 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38569 if test -n "$ac_ct_NM"; then
38570 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38571 echo "${ECHO_T}$ac_ct_NM" >&6
38572 else
38573 echo "$as_me:$LINENO: result: no" >&5
38574 echo "${ECHO_T}no" >&6
38575 fi
38576
38577 NM=$ac_ct_NM
38578 else
38579 NM="$ac_cv_prog_NM"
38580 fi
38581
38582
38583 case ${BAKEFILE_HOST} in
38584 *-hp-hpux* )
38585 INSTALL_DIR="mkdir -p"
38586 ;;
38587 *) INSTALL_DIR="$INSTALL -d"
38588 ;;
38589 esac
38590
38591
38592 LDFLAGS_GUI=
38593 case ${BAKEFILE_HOST} in
38594 *-*-cygwin* | *-*-mingw32* )
38595 LDFLAGS_GUI="-mwindows"
38596 esac
38597
38598
38599 fi
38600
38601 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38602 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38603 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38605 else
38606
38607 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38608 egrep -s GNU > /dev/null); then
38609 bakefile_cv_prog_makeisgnu="yes"
38610 else
38611 bakefile_cv_prog_makeisgnu="no"
38612 fi
38613
38614 fi
38615 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38616 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38617
38618 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38619 IF_GNU_MAKE=""
38620 else
38621 IF_GNU_MAKE="#"
38622 fi
38623
38624
38625
38626 PLATFORM_UNIX=0
38627 PLATFORM_WIN32=0
38628 PLATFORM_MSDOS=0
38629 PLATFORM_MAC=0
38630 PLATFORM_MACOSX=0
38631 PLATFORM_OS2=0
38632
38633 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38634 case "${BAKEFILE_HOST}" in
38635 *-*-cygwin* | *-*-mingw32* )
38636 PLATFORM_WIN32=1
38637 ;;
38638 *-pc-msdosdjgpp )
38639 PLATFORM_MSDOS=1
38640 ;;
38641 *-pc-os2_emx | *-pc-os2-emx )
38642 PLATFORM_OS2=1
38643 ;;
38644 powerpc-*-darwin* )
38645 PLATFORM_MAC=1
38646 PLATFORM_MACOSX=1
38647 ;;
38648 * )
38649 PLATFORM_UNIX=1
38650 ;;
38651 esac
38652 else
38653 case "$BAKEFILE_FORCE_PLATFORM" in
38654 win32 )
38655 PLATFORM_WIN32=1
38656 ;;
38657 msdos )
38658 PLATFORM_MSDOS=1
38659 ;;
38660 os2 )
38661 PLATFORM_OS2=1
38662 ;;
38663 darwin )
38664 PLATFORM_MAC=1
38665 PLATFORM_MACOSX=1
38666 ;;
38667 unix )
38668 PLATFORM_UNIX=1
38669 ;;
38670 * )
38671 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38672 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38673 { (exit 1); exit 1; }; }
38674 ;;
38675 esac
38676 fi
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686 # Check whether --enable-omf or --disable-omf was given.
38687 if test "${enable_omf+set}" = set; then
38688 enableval="$enable_omf"
38689 bk_os2_use_omf="$enableval"
38690 fi;
38691
38692 case "${BAKEFILE_HOST}" in
38693 *-*-darwin* )
38694 CFLAGS="$CFLAGS -fno-common"
38695 CXXFLAGS="$CXXFLAGS -fno-common"
38696 ;;
38697
38698 *-pc-os2_emx | *-pc-os2-emx )
38699 if test "x$bk_os2_use_omf" = "xyes" ; then
38700 AR=emxomfar
38701 RANLIB=:
38702 LDFLAGS="-Zomf $LDFLAGS"
38703 CFLAGS="-Zomf $CFLAGS"
38704 CXXFLAGS="-Zomf $CXXFLAGS"
38705 OS2_LIBEXT="lib"
38706 else
38707 OS2_LIBEXT="a"
38708 fi
38709 ;;
38710 esac
38711
38712
38713 SO_SUFFIX="so"
38714 SO_SUFFIX_MODULE="so"
38715 EXEEXT=""
38716 LIBPREFIX="lib"
38717 LIBEXT=".a"
38718 DLLPREFIX="lib"
38719 DLLPREFIX_MODULE=""
38720 DLLIMP_SUFFIX=""
38721
38722 case "${BAKEFILE_HOST}" in
38723 *-hp-hpux* )
38724 SO_SUFFIX="sl"
38725 SO_SUFFIX_MODULE="sl"
38726 ;;
38727 *-*-aix* )
38728 SO_SUFFIX="a"
38729 SO_SUFFIX_MODULE="a"
38730 ;;
38731 *-*-cygwin* | *-*-mingw32* )
38732 SO_SUFFIX="dll"
38733 SO_SUFFIX_MODULE="dll"
38734 DLLIMP_SUFFIX="dll.a"
38735 EXEEXT=".exe"
38736 DLLPREFIX=""
38737 ;;
38738 *-pc-msdosdjgpp )
38739 EXEEXT=".exe"
38740 DLLPREFIX=""
38741 ;;
38742 *-pc-os2_emx | *-pc-os2-emx )
38743 SO_SUFFIX="dll"
38744 SO_SUFFIX_MODULE="dll"
38745 DLLIMP_SUFFIX=$OS2_LIBEXT
38746 EXEEXT=".exe"
38747 DLLPREFIX=""
38748 LIBPREFIX=""
38749 LIBEXT=".$OS2_LIBEXT"
38750 ;;
38751 powerpc-*-darwin* )
38752 SO_SUFFIX="dylib"
38753 SO_SUFFIX_MODULE="bundle"
38754 ;;
38755 esac
38756
38757 if test "x$DLLIMP_SUFFIX" = "x" ; then
38758 DLLIMP_SUFFIX="$SO_SUFFIX"
38759 fi
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771 SHARED_LD_CC="\$(CC) -shared -o"
38772 SHARED_LD_CXX="\$(CXX) -shared -o"
38773
38774 if test "x$GCC" = "xyes"; then
38775 PIC_FLAG="-fPIC"
38776 fi
38777
38778 case "${BAKEFILE_HOST}" in
38779 *-hp-hpux* )
38780 if test "x$GCC" = "xyes"; then
38781 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38782 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38783 else
38784 LDFLAGS="$LDFLAGS -L/usr/lib"
38785
38786 SHARED_LD_CC="${CC} -b -o"
38787 SHARED_LD_CXX="${CXX} -b -o"
38788 PIC_FLAG="+Z"
38789 fi
38790 ;;
38791
38792 *-*-linux* )
38793 if test "x$GCC" != "xyes"; then
38794 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38795 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38796 if test "${bakefile_cv_prog_icc+set}" = set; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38798 else
38799
38800 cat >conftest.$ac_ext <<_ACEOF
38801 /* confdefs.h. */
38802 _ACEOF
38803 cat confdefs.h >>conftest.$ac_ext
38804 cat >>conftest.$ac_ext <<_ACEOF
38805 /* end confdefs.h. */
38806
38807 int
38808 main ()
38809 {
38810
38811 #ifndef __INTEL_COMPILER
38812 #error Not icc
38813 #endif
38814
38815 ;
38816 return 0;
38817 }
38818 _ACEOF
38819 rm -f conftest.$ac_objext
38820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38821 (eval $ac_compile) 2>conftest.er1
38822 ac_status=$?
38823 grep -v '^ *+' conftest.er1 >conftest.err
38824 rm -f conftest.er1
38825 cat conftest.err >&5
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); } &&
38828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830 (eval $ac_try) 2>&5
38831 ac_status=$?
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; } &&
38834 { ac_try='test -s conftest.$ac_objext'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38837 ac_status=$?
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; }; then
38840 bakefile_cv_prog_icc=yes
38841 else
38842 echo "$as_me: failed program was:" >&5
38843 sed 's/^/| /' conftest.$ac_ext >&5
38844
38845 bakefile_cv_prog_icc=no
38846
38847 fi
38848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38849
38850 fi
38851 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38852 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38853 if test "$bakefile_cv_prog_icc" = "yes"; then
38854 PIC_FLAG="-KPIC"
38855 fi
38856 fi
38857 ;;
38858
38859 *-*-solaris2* )
38860 if test "x$GCC" != xyes ; then
38861 SHARED_LD_CC="${CC} -G -o"
38862 SHARED_LD_CXX="${CXX} -G -o"
38863 PIC_FLAG="-KPIC"
38864 fi
38865 ;;
38866
38867 *-*-darwin* )
38868
38869 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38870 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38871 if test "${wx_cv_gcc31+set}" = set; then
38872 echo $ECHO_N "(cached) $ECHO_C" >&6
38873 else
38874
38875 cat >conftest.$ac_ext <<_ACEOF
38876 /* confdefs.h. */
38877 _ACEOF
38878 cat confdefs.h >>conftest.$ac_ext
38879 cat >>conftest.$ac_ext <<_ACEOF
38880 /* end confdefs.h. */
38881
38882 int
38883 main ()
38884 {
38885
38886 #if (__GNUC__ < 3) || \
38887 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38888 #error old gcc
38889 #endif
38890
38891 ;
38892 return 0;
38893 }
38894 _ACEOF
38895 rm -f conftest.$ac_objext
38896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38897 (eval $ac_compile) 2>conftest.er1
38898 ac_status=$?
38899 grep -v '^ *+' conftest.er1 >conftest.err
38900 rm -f conftest.er1
38901 cat conftest.err >&5
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); } &&
38904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906 (eval $ac_try) 2>&5
38907 ac_status=$?
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); }; } &&
38910 { ac_try='test -s conftest.$ac_objext'
38911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38912 (eval $ac_try) 2>&5
38913 ac_status=$?
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); }; }; then
38916
38917 wx_cv_gcc31=yes
38918
38919 else
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.$ac_ext >&5
38922
38923
38924 wx_cv_gcc31=no
38925
38926
38927 fi
38928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38929
38930 fi
38931 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38932 echo "${ECHO_T}$wx_cv_gcc31" >&6
38933 if test "$wx_cv_gcc31" = "no"; then
38934
38935 D='$'
38936 cat <<EOF >shared-ld-sh
38937 #!/bin/sh
38938 #-----------------------------------------------------------------------------
38939 #-- Name: distrib/mac/shared-ld-sh
38940 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38941 #-- Author: Gilles Depeyrot
38942 #-- Copyright: (c) 2002 Gilles Depeyrot
38943 #-- Licence: any use permitted
38944 #-----------------------------------------------------------------------------
38945
38946 verbose=0
38947 args=""
38948 objects=""
38949 linking_flag="-dynamiclib"
38950
38951 while test ${D}# -gt 0; do
38952 case ${D}1 in
38953
38954 -v)
38955 verbose=1
38956 ;;
38957
38958 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38959 # collect these options and values
38960 args="${D}{args} ${D}1 ${D}2"
38961 shift
38962 ;;
38963
38964 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38965 # collect these options
38966 args="${D}{args} ${D}1"
38967 ;;
38968
38969 -dynamiclib|-bundle)
38970 linking_flag="${D}1"
38971 ;;
38972
38973 -*)
38974 echo "shared-ld: unhandled option '${D}1'"
38975 exit 1
38976 ;;
38977
38978 *.o | *.a | *.dylib)
38979 # collect object files
38980 objects="${D}{objects} ${D}1"
38981 ;;
38982
38983 *)
38984 echo "shared-ld: unhandled argument '${D}1'"
38985 exit 1
38986 ;;
38987
38988 esac
38989 shift
38990 done
38991
38992 #
38993 # Link one module containing all the others
38994 #
38995 if test ${D}{verbose} = 1; then
38996 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38997 fi
38998 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38999 status=${D}?
39000 if test ${D}{status} != 0; then
39001 exit ${D}{status}
39002 fi
39003
39004 #
39005 # Link the shared library from the single module created
39006 #
39007 if test ${D}{verbose} = 1; then
39008 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39009 fi
39010 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39011 status=${D}?
39012 if test ${D}{status} != 0; then
39013 exit ${D}{status}
39014 fi
39015
39016 #
39017 # Remove intermediate module
39018 #
39019 rm -f master.${D}${D}.o
39020
39021 exit 0
39022 EOF
39023
39024 chmod +x shared-ld-sh
39025
39026 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39027 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39028 SHARED_LD_CXX="$SHARED_LD_CC"
39029 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
39030 else
39031 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39032 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39033 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39034 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39035 fi
39036
39037 PIC_FLAG="-dynamic -fPIC"
39038 ;;
39039
39040 *-*-aix* )
39041 if test "x$GCC" != "xyes"; then
39042 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39043 set dummy makeC++SharedLib; ac_word=$2
39044 echo "$as_me:$LINENO: checking for $ac_word" >&5
39045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39046 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39047 echo $ECHO_N "(cached) $ECHO_C" >&6
39048 else
39049 if test -n "$AIX_CXX_LD"; then
39050 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39051 else
39052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39053 for as_dir in $PATH
39054 do
39055 IFS=$as_save_IFS
39056 test -z "$as_dir" && as_dir=.
39057 for ac_exec_ext in '' $ac_executable_extensions; do
39058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39059 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39061 break 2
39062 fi
39063 done
39064 done
39065
39066 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39067 fi
39068 fi
39069 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39070 if test -n "$AIX_CXX_LD"; then
39071 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39072 echo "${ECHO_T}$AIX_CXX_LD" >&6
39073 else
39074 echo "$as_me:$LINENO: result: no" >&5
39075 echo "${ECHO_T}no" >&6
39076 fi
39077
39078 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39079 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39080 fi
39081 ;;
39082
39083 *-*-beos* )
39084 SHARED_LD_CC="${LD} -shared -o"
39085 SHARED_LD_CXX="${LD} -shared -o"
39086 ;;
39087
39088 *-*-irix* )
39089 if test "x$GCC" != "xyes"; then
39090 PIC_FLAG="-KPIC"
39091 fi
39092 ;;
39093
39094 *-*-cygwin* | *-*-mingw32* )
39095 PIC_FLAG=""
39096 ;;
39097
39098 *-pc-os2_emx | *-pc-os2-emx )
39099 SHARED_LD_CC="`pwd`/dllar.sh -o"
39100 SHARED_LD_CXX="`pwd`/dllar.sh -o"
39101 PIC_FLAG=""
39102
39103 D='$'
39104 cat <<EOF >dllar.sh
39105 #!/bin/sh
39106 #
39107 # dllar - a tool to build both a .dll and an .a file
39108 # from a set of object (.o) files for EMX/OS2.
39109 #
39110 # Written by Andrew Zabolotny, bit@freya.etu.ru
39111 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39112 #
39113 # This script will accept a set of files on the command line.
39114 # All the public symbols from the .o files will be exported into
39115 # a .DEF file, then linker will be run (through gcc) against them to
39116 # build a shared library consisting of all given .o files. All libraries
39117 # (.a) will be first decompressed into component .o files then act as
39118 # described above. You can optionally give a description (-d "description")
39119 # which will be put into .DLL. To see the list of accepted options (as well
39120 # as command-line format) simply run this program without options. The .DLL
39121 # is built to be imported by name (there is no guarantee that new versions
39122 # of the library you build will have same ordinals for same symbols).
39123 #
39124 # dllar is free software; you can redistribute it and/or modify
39125 # it under the terms of the GNU General Public License as published by
39126 # the Free Software Foundation; either version 2, or (at your option)
39127 # any later version.
39128 #
39129 # dllar is distributed in the hope that it will be useful,
39130 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39131 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39132 # GNU General Public License for more details.
39133 #
39134 # You should have received a copy of the GNU General Public License
39135 # along with dllar; see the file COPYING. If not, write to the Free
39136 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39137 # 02111-1307, USA.
39138
39139 # To successfuly run this program you will need:
39140 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39141 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39142 # - gcc
39143 # (used to build the .dll)
39144 # - emxexp
39145 # (used to create .def file from .o files)
39146 # - emximp
39147 # (used to create .a file from .def file)
39148 # - GNU text utilites (cat, sort, uniq)
39149 # used to process emxexp output
39150 # - GNU file utilities (mv, rm)
39151 # - GNU sed
39152 # - lxlite (optional, see flag below)
39153 # (used for general .dll cleanup)
39154 #
39155
39156 flag_USE_LXLITE=1;
39157
39158 #
39159 # helper functions
39160 # basnam, variant of basename, which does _not_ remove the path, _iff_
39161 # second argument (suffix to remove) is given
39162 basnam(){
39163 case ${D}# in
39164 1)
39165 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39166 ;;
39167 2)
39168 echo ${D}1 | sed 's/'${D}2'${D}//'
39169 ;;
39170 *)
39171 echo "error in basnam ${D}*"
39172 exit 8
39173 ;;
39174 esac
39175 }
39176
39177 # Cleanup temporary files and output
39178 CleanUp() {
39179 cd ${D}curDir
39180 for i in ${D}inputFiles ; do
39181 case ${D}i in
39182 *!)
39183 rm -rf \`basnam ${D}i !\`
39184 ;;
39185 *)
39186 ;;
39187 esac
39188 done
39189
39190 # Kill result in case of failure as there is just to many stupid make/nmake
39191 # things out there which doesn't do this.
39192 if [] ${D}# -eq 0 []; then
39193 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39194 fi
39195 }
39196
39197 # Print usage and exit script with rc=1.
39198 PrintHelp() {
39199 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39200 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39201 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39202 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39203 echo ' []*.o[] []*.a[]'
39204 echo '*> "output_file" should have no extension.'
39205 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39206 echo ' The import library name is derived from this and is set to "name".a,'
39207 echo ' unless overridden by -import'
39208 echo '*> "importlib_name" should have no extension.'
39209 echo ' If it has the .o, or .a extension, it is automatically removed.'
39210 echo ' This name is used as the import library name and may be longer and'
39211 echo ' more descriptive than the DLL name which has to follow the old '
39212 echo ' 8.3 convention of FAT.'
39213 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39214 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39215 echo ' These flags will be put at the start of GCC command line.'
39216 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39217 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39218 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39219 echo ' If the last character of a symbol is "*", all symbols beginning'
39220 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39221 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39222 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39223 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39224 echo ' C runtime DLLs.'
39225 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39226 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39227 echo ' unchanged to GCC at the end of command line.'
39228 echo '*> If you create a DLL from a library and you do not specify -o,'
39229 echo ' the basename for DLL and import library will be set to library name,'
39230 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39231 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39232 echo ' library will be renamed into gcc_s.a.'
39233 echo '--------'
39234 echo 'Example:'
39235 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39236 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39237 CleanUp
39238 exit 1
39239 }
39240
39241 # Execute a command.
39242 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39243 # @Uses Whatever CleanUp() uses.
39244 doCommand() {
39245 echo "${D}*"
39246 eval ${D}*
39247 rcCmd=${D}?
39248
39249 if [] ${D}rcCmd -ne 0 []; then
39250 echo "command failed, exit code="${D}rcCmd
39251 CleanUp
39252 exit ${D}rcCmd
39253 fi
39254 }
39255
39256 # main routine
39257 # setup globals
39258 cmdLine=${D}*
39259 outFile=""
39260 outimpFile=""
39261 inputFiles=""
39262 description=""
39263 CC=gcc.exe
39264 CFLAGS="-s -Zcrtdll"
39265 EXTRA_CFLAGS=""
39266 EXPORT_BY_ORDINALS=0
39267 exclude_symbols=""
39268 library_flags=""
39269 curDir=\`pwd\`
39270 curDirS=curDir
39271 case ${D}curDirS in
39272 */)
39273 ;;
39274 *)
39275 curDirS=${D}{curDirS}"/"
39276 ;;
39277 esac
39278 # Parse commandline
39279 libsToLink=0
39280 while [] ${D}1 []; do
39281 case ${D}1 in
39282 -ord*)
39283 EXPORT_BY_ORDINALS=1;
39284 ;;
39285 -o*)
39286 shift
39287 outFile=${D}1
39288 ;;
39289 -i*)
39290 shift
39291 outimpFile=${D}1
39292 ;;
39293 -d*)
39294 shift
39295 description=${D}1
39296 ;;
39297 -f*)
39298 shift
39299 CFLAGS=${D}1
39300 ;;
39301 -c*)
39302 shift
39303 CC=${D}1
39304 ;;
39305 -h*)
39306 PrintHelp
39307 ;;
39308 -ex*)
39309 shift
39310 exclude_symbols=${D}{exclude_symbols}${D}1" "
39311 ;;
39312 -libf*)
39313 shift
39314 library_flags=${D}{library_flags}${D}1" "
39315 ;;
39316 -nocrt*)
39317 CFLAGS="-s"
39318 ;;
39319 -nolxl*)
39320 flag_USE_LXLITE=0
39321 ;;
39322 -* | /*)
39323 case ${D}1 in
39324 -L* | -l*)
39325 libsToLink=1
39326 ;;
39327 *)
39328 ;;
39329 esac
39330 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39331 ;;
39332 *)
39333 found=0;
39334 if [] ${D}libsToLink -ne 0 []; then
39335 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39336 else
39337 for file in ${D}1 ; do
39338 if [] -f ${D}file []; then
39339 inputFiles="${D}{inputFiles} ${D}file"
39340 found=1
39341 fi
39342 done
39343 if [] ${D}found -eq 0 []; then
39344 echo "ERROR: No file(s) found: "${D}1
39345 exit 8
39346 fi
39347 fi
39348 ;;
39349 esac
39350 shift
39351 done # iterate cmdline words
39352
39353 #
39354 if [] -z "${D}inputFiles" []; then
39355 echo "dllar: no input files"
39356 PrintHelp
39357 fi
39358
39359 # Now extract all .o files from .a files
39360 newInputFiles=""
39361 for file in ${D}inputFiles ; do
39362 case ${D}file in
39363 *.a | *.lib)
39364 case ${D}file in
39365 *.a)
39366 suffix=".a"
39367 AR="ar"
39368 ;;
39369 *.lib)
39370 suffix=".lib"
39371 AR="emxomfar"
39372 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39373 ;;
39374 *)
39375 ;;
39376 esac
39377 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39378 mkdir ${D}dirname
39379 if [] ${D}? -ne 0 []; then
39380 echo "Failed to create subdirectory ./${D}dirname"
39381 CleanUp
39382 exit 8;
39383 fi
39384 # Append '!' to indicate archive
39385 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39386 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39387 cd ${D}curDir
39388 found=0;
39389 for subfile in ${D}dirname/*.o* ; do
39390 if [] -f ${D}subfile []; then
39391 found=1
39392 if [] -s ${D}subfile []; then
39393 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39394 newInputFiles="${D}newInputFiles ${D}subfile"
39395 fi
39396 fi
39397 done
39398 if [] ${D}found -eq 0 []; then
39399 echo "WARNING: there are no files in archive \'${D}file\'"
39400 fi
39401 ;;
39402 *)
39403 newInputFiles="${D}{newInputFiles} ${D}file"
39404 ;;
39405 esac
39406 done
39407 inputFiles="${D}newInputFiles"
39408
39409 # Output filename(s).
39410 do_backup=0;
39411 if [] -z ${D}outFile []; then
39412 do_backup=1;
39413 set outFile ${D}inputFiles; outFile=${D}2
39414 fi
39415
39416 # If it is an archive, remove the '!' and the '_%' suffixes
39417 case ${D}outFile in
39418 *_%!)
39419 outFile=\`basnam ${D}outFile _%!\`
39420 ;;
39421 *)
39422 ;;
39423 esac
39424 case ${D}outFile in
39425 *.dll)
39426 outFile=\`basnam ${D}outFile .dll\`
39427 ;;
39428 *.DLL)
39429 outFile=\`basnam ${D}outFile .DLL\`
39430 ;;
39431 *.o)
39432 outFile=\`basnam ${D}outFile .o\`
39433 ;;
39434 *.obj)
39435 outFile=\`basnam ${D}outFile .obj\`
39436 ;;
39437 *.a)
39438 outFile=\`basnam ${D}outFile .a\`
39439 ;;
39440 *.lib)
39441 outFile=\`basnam ${D}outFile .lib\`
39442 ;;
39443 *)
39444 ;;
39445 esac
39446 case ${D}outimpFile in
39447 *.a)
39448 outimpFile=\`basnam ${D}outimpFile .a\`
39449 ;;
39450 *.lib)
39451 outimpFile=\`basnam ${D}outimpFile .lib\`
39452 ;;
39453 *)
39454 ;;
39455 esac
39456 if [] -z ${D}outimpFile []; then
39457 outimpFile=${D}outFile
39458 fi
39459 defFile="${D}{outFile}.def"
39460 arcFile="${D}{outimpFile}.a"
39461 arcFile2="${D}{outimpFile}.lib"
39462 dllFile="${D}outFile"
39463 # Add suffix to dllFile later, first we need a version to use as
39464 # name in .def file.
39465
39466 if [] ${D}do_backup -ne 0 [] ; then
39467 if [] -f ${D}arcFile [] ; then
39468 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39469 fi
39470 if [] -f ${D}arcFile2 [] ; then
39471 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39472 fi
39473 fi
39474
39475 # Extract public symbols from all the object files.
39476 tmpdefFile=${D}{defFile}_%
39477 rm -f ${D}tmpdefFile
39478 for file in ${D}inputFiles ; do
39479 case ${D}file in
39480 *!)
39481 ;;
39482 *)
39483 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39484 ;;
39485 esac
39486 done
39487
39488 # Create the def file.
39489 rm -f ${D}defFile
39490 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39491 dllFile="${D}dllFile.dll"
39492 if [] -n ${D}description []; then
39493 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39494 fi
39495 echo "EXPORTS" >> ${D}defFile
39496
39497 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39498 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39499
39500 # Checks if the export is ok or not.
39501 for word in ${D}exclude_symbols; do
39502 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39503 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39504 done
39505
39506
39507 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39508 sed "=" < ${D}tmpdefFile | \
39509 sed '
39510 N
39511 : loop
39512 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39513 t loop
39514 ' > ${D}{tmpdefFile}%
39515 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39516 else
39517 rm -f ${D}{tmpdefFile}%
39518 fi
39519 cat ${D}tmpdefFile >> ${D}defFile
39520 rm -f ${D}tmpdefFile
39521
39522 # Do linking, create implib, and apply lxlite.
39523 gccCmdl="";
39524 for file in ${D}inputFiles ; do
39525 case ${D}file in
39526 *!)
39527 ;;
39528 *)
39529 gccCmdl="${D}gccCmdl ${D}file"
39530 ;;
39531 esac
39532 done
39533 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39534 touch "${D}{outFile}.dll"
39535
39536 doCommand "emximp -o ${D}arcFile ${D}defFile"
39537 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39538 add_flags="";
39539 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39540 add_flags="-ynd"
39541 fi
39542 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39543 fi
39544 doCommand "emxomf -s -l ${D}arcFile"
39545
39546 # Successful exit.
39547 CleanUp 1
39548 exit 0
39549 EOF
39550
39551 chmod +x dllar.sh
39552 ;;
39553
39554 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39555 *-*-sunos4* | \
39556 *-*-osf* | \
39557 *-*-dgux5* | \
39558 *-*-sysv5* )
39559 ;;
39560
39561 *)
39562 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39563 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39564 { (exit 1); exit 1; }; }
39565 esac
39566
39567 if test "x$PIC_FLAG" != "x" ; then
39568 PIC_FLAG="$PIC_FLAG -DPIC"
39569 fi
39570
39571 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39572 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39573 fi
39574 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39575 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39576 fi
39577
39578
39579
39580
39581
39582
39583
39584
39585 USE_SOVERSION=0
39586 USE_SOVERLINUX=0
39587 USE_SOVERSOLARIS=0
39588 USE_SOSYMLINKS=0
39589 USE_MACVERSION=0
39590 SONAME_FLAG=
39591
39592 case "${BAKEFILE_HOST}" in
39593 *-*-linux* )
39594 SONAME_FLAG="-Wl,-soname,"
39595 USE_SOVERSION=1
39596 USE_SOVERLINUX=1
39597 USE_SOSYMLINKS=1
39598 ;;
39599
39600 *-*-solaris2* )
39601 SONAME_FLAG="-h "
39602 USE_SOVERSION=1
39603 USE_SOVERSOLARIS=1
39604 USE_SOSYMLINKS=1
39605 ;;
39606
39607 *-*-darwin* )
39608 USE_MACVERSION=1
39609 USE_SOVERSION=1
39610 USE_SOSYMLINKS=1
39611 ;;
39612 esac
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39623 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39624 DEPS_TRACKING=0
39625
39626 if test "x$GCC" = "xyes"; then
39627 DEPSMODE=gcc
39628 DEPS_TRACKING=1
39629 case "${BAKEFILE_HOST}" in
39630 powerpc-*-darwin* )
39631 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39632 ;;
39633 * )
39634 DEPSFLAG_GCC="-MMD"
39635 ;;
39636 esac
39637 echo "$as_me:$LINENO: result: gcc" >&5
39638 echo "${ECHO_T}gcc" >&6
39639 else
39640 echo "$as_me:$LINENO: result: none" >&5
39641 echo "${ECHO_T}none" >&6
39642 fi
39643
39644 if test $DEPS_TRACKING = 1 ; then
39645
39646 D='$'
39647 cat <<EOF >bk-deps
39648 #!/bin/sh
39649
39650 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39651 # script. It is used to track C/C++ files dependencies in portable way.
39652 #
39653 # Permission is given to use this file in any way.
39654
39655 DEPSMODE=${DEPSMODE}
39656 DEPSDIR=.deps
39657 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39658
39659 mkdir -p ${D}DEPSDIR
39660
39661 if test ${D}DEPSMODE = gcc ; then
39662 ${D}* ${D}{DEPSFLAG_GCC}
39663 status=${D}?
39664 if test ${D}{status} != 0 ; then
39665 exit ${D}{status}
39666 fi
39667 # move created file to the location we want it in:
39668 while test ${D}# -gt 0; do
39669 case "${D}1" in
39670 -o )
39671 shift
39672 objfile=${D}1
39673 ;;
39674 -* )
39675 ;;
39676 * )
39677 srcfile=${D}1
39678 ;;
39679 esac
39680 shift
39681 done
39682 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39683 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39684 if test -f ${D}depfile ; then
39685 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39686 rm -f ${D}depfile
39687 else
39688 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39689 if test -f ${D}depfile ; then
39690 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39691 rm -f ${D}depfile
39692 fi
39693 fi
39694 exit 0
39695 else
39696 ${D}*
39697 exit ${D}?
39698 fi
39699 EOF
39700
39701 chmod +x bk-deps
39702 fi
39703
39704
39705
39706
39707 RESCOMP=
39708 SETFILE=
39709
39710 case ${BAKEFILE_HOST} in
39711 *-*-cygwin* | *-*-mingw32* )
39712 if test "$build" != "$host" ; then
39713 RESCOMP=$host_alias-windres
39714 else
39715 # Extract the first word of "windres", so it can be a program name with args.
39716 set dummy windres; ac_word=$2
39717 echo "$as_me:$LINENO: checking for $ac_word" >&5
39718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39719 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39720 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 else
39722 if test -n "$RESCOMP"; then
39723 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39724 else
39725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39726 for as_dir in $PATH
39727 do
39728 IFS=$as_save_IFS
39729 test -z "$as_dir" && as_dir=.
39730 for ac_exec_ext in '' $ac_executable_extensions; do
39731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39732 ac_cv_prog_RESCOMP="windres"
39733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39734 break 2
39735 fi
39736 done
39737 done
39738
39739 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39740 fi
39741 fi
39742 RESCOMP=$ac_cv_prog_RESCOMP
39743 if test -n "$RESCOMP"; then
39744 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39745 echo "${ECHO_T}$RESCOMP" >&6
39746 else
39747 echo "$as_me:$LINENO: result: no" >&5
39748 echo "${ECHO_T}no" >&6
39749 fi
39750
39751 fi
39752 ;;
39753
39754 *-*-darwin* )
39755 # Extract the first word of "Rez", so it can be a program name with args.
39756 set dummy Rez; ac_word=$2
39757 echo "$as_me:$LINENO: checking for $ac_word" >&5
39758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39759 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39760 echo $ECHO_N "(cached) $ECHO_C" >&6
39761 else
39762 if test -n "$RESCOMP"; then
39763 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39764 else
39765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39766 for as_dir in $PATH
39767 do
39768 IFS=$as_save_IFS
39769 test -z "$as_dir" && as_dir=.
39770 for ac_exec_ext in '' $ac_executable_extensions; do
39771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39772 ac_cv_prog_RESCOMP="Rez"
39773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39774 break 2
39775 fi
39776 done
39777 done
39778
39779 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39780 fi
39781 fi
39782 RESCOMP=$ac_cv_prog_RESCOMP
39783 if test -n "$RESCOMP"; then
39784 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39785 echo "${ECHO_T}$RESCOMP" >&6
39786 else
39787 echo "$as_me:$LINENO: result: no" >&5
39788 echo "${ECHO_T}no" >&6
39789 fi
39790
39791 # Extract the first word of "SetFile", so it can be a program name with args.
39792 set dummy SetFile; ac_word=$2
39793 echo "$as_me:$LINENO: checking for $ac_word" >&5
39794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39795 if test "${ac_cv_prog_SETFILE+set}" = set; then
39796 echo $ECHO_N "(cached) $ECHO_C" >&6
39797 else
39798 if test -n "$SETFILE"; then
39799 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39800 else
39801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39802 for as_dir in $PATH
39803 do
39804 IFS=$as_save_IFS
39805 test -z "$as_dir" && as_dir=.
39806 for ac_exec_ext in '' $ac_executable_extensions; do
39807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39808 ac_cv_prog_SETFILE="SetFile"
39809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39810 break 2
39811 fi
39812 done
39813 done
39814
39815 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39816 fi
39817 fi
39818 SETFILE=$ac_cv_prog_SETFILE
39819 if test -n "$SETFILE"; then
39820 echo "$as_me:$LINENO: result: $SETFILE" >&5
39821 echo "${ECHO_T}$SETFILE" >&6
39822 else
39823 echo "$as_me:$LINENO: result: no" >&5
39824 echo "${ECHO_T}no" >&6
39825 fi
39826
39827 ;;
39828 esac
39829
39830
39831
39832
39833
39834 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
39835
39836
39837
39838
39839
39840 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
39841
39842
39843
39844 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39845 if test "${enable_precomp_headers+set}" = set; then
39846 enableval="$enable_precomp_headers"
39847 bk_use_pch="$enableval"
39848 fi;
39849
39850 GCC_PCH=0
39851
39852 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39853 if test "x$GCC" = "xyes"; then
39854 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39855 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39856 cat >conftest.$ac_ext <<_ACEOF
39857 /* confdefs.h. */
39858 _ACEOF
39859 cat confdefs.h >>conftest.$ac_ext
39860 cat >>conftest.$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39862
39863 int
39864 main ()
39865 {
39866
39867 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39868 #error "no pch support"
39869 #endif
39870 #if (__GNUC__ < 3)
39871 #error "no pch support"
39872 #endif
39873 #if (__GNUC__ == 3) && \
39874 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39875 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39876 #error "no pch support"
39877 #endif
39878
39879 ;
39880 return 0;
39881 }
39882 _ACEOF
39883 rm -f conftest.$ac_objext
39884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39885 (eval $ac_compile) 2>conftest.er1
39886 ac_status=$?
39887 grep -v '^ *+' conftest.er1 >conftest.err
39888 rm -f conftest.er1
39889 cat conftest.err >&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } &&
39892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39895 ac_status=$?
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; } &&
39898 { ac_try='test -s conftest.$ac_objext'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39901 ac_status=$?
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; }; then
39904
39905 echo "$as_me:$LINENO: result: yes" >&5
39906 echo "${ECHO_T}yes" >&6
39907 GCC_PCH=1
39908
39909 else
39910 echo "$as_me: failed program was:" >&5
39911 sed 's/^/| /' conftest.$ac_ext >&5
39912
39913
39914 echo "$as_me:$LINENO: result: no" >&5
39915 echo "${ECHO_T}no" >&6
39916
39917 fi
39918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39919 if test $GCC_PCH = 1 ; then
39920 cat <<EOF >bk-make-pch
39921 #!/bin/sh
39922
39923 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39924 # script. It is used to generated precompiled headers.
39925 #
39926 # Permission is given to use this file in any way.
39927
39928 outfile="\${1}"
39929 header="\${2}"
39930 shift
39931 shift
39932
39933 compiler=
39934 headerfile=
39935 while test \${#} -gt 0; do
39936 case "\${1}" in
39937 -I* )
39938 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39939 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39940 headerfile="\${incdir}/\${header}"
39941 fi
39942 ;;
39943 esac
39944 compiler="\${compiler} \${1}"
39945 shift
39946 done
39947
39948 if test "x\${headerfile}" = "x" ; then
39949 echo "error: can't find header \${header} in include paths" >2
39950 else
39951 if test -f \${outfile} ; then
39952 rm -f \${outfile}
39953 else
39954 mkdir -p \`dirname \${outfile}\`
39955 fi
39956 depsfile=".deps/\`basename \${outfile}\`.d"
39957 mkdir -p .deps
39958 # can do this because gcc is >= 3.4:
39959 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39960 exit \${?}
39961 fi
39962 EOF
39963 chmod +x bk-make-pch
39964 fi
39965 fi
39966 fi
39967
39968
39969
39970
39971
39972
39973
39974 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39975 if test "${enable_precomp_headers+set}" = set; then
39976 enableval="$enable_precomp_headers"
39977 bk_use_pch="$enableval"
39978 fi;
39979
39980 GCC_PCH=0
39981
39982 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39983 if test "x$GCC" = "xyes"; then
39984 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39985 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39986 cat >conftest.$ac_ext <<_ACEOF
39987 /* confdefs.h. */
39988 _ACEOF
39989 cat confdefs.h >>conftest.$ac_ext
39990 cat >>conftest.$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39992
39993 int
39994 main ()
39995 {
39996
39997 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39998 #error "no pch support"
39999 #endif
40000 #if (__GNUC__ < 3)
40001 #error "no pch support"
40002 #endif
40003 #if (__GNUC__ == 3) && \
40004 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40005 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40006 #error "no pch support"
40007 #endif
40008
40009 ;
40010 return 0;
40011 }
40012 _ACEOF
40013 rm -f conftest.$ac_objext
40014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40015 (eval $ac_compile) 2>conftest.er1
40016 ac_status=$?
40017 grep -v '^ *+' conftest.er1 >conftest.err
40018 rm -f conftest.er1
40019 cat conftest.err >&5
40020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021 (exit $ac_status); } &&
40022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40024 (eval $ac_try) 2>&5
40025 ac_status=$?
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; } &&
40028 { ac_try='test -s conftest.$ac_objext'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40031 ac_status=$?
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; }; then
40034
40035 echo "$as_me:$LINENO: result: yes" >&5
40036 echo "${ECHO_T}yes" >&6
40037 GCC_PCH=1
40038
40039 else
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40042
40043
40044 echo "$as_me:$LINENO: result: no" >&5
40045 echo "${ECHO_T}no" >&6
40046
40047 fi
40048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40049 if test $GCC_PCH = 1 ; then
40050 cat <<EOF >bk-make-pch
40051 #!/bin/sh
40052
40053 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40054 # script. It is used to generated precompiled headers.
40055 #
40056 # Permission is given to use this file in any way.
40057
40058 outfile="\${1}"
40059 header="\${2}"
40060 shift
40061 shift
40062
40063 compiler=
40064 headerfile=
40065 while test \${#} -gt 0; do
40066 case "\${1}" in
40067 -I* )
40068 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40069 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40070 headerfile="\${incdir}/\${header}"
40071 fi
40072 ;;
40073 esac
40074 compiler="\${compiler} \${1}"
40075 shift
40076 done
40077
40078 if test "x\${headerfile}" = "x" ; then
40079 echo "error: can't find header \${header} in include paths" >2
40080 else
40081 if test -f \${outfile} ; then
40082 rm -f \${outfile}
40083 else
40084 mkdir -p \`dirname \${outfile}\`
40085 fi
40086 depsfile=".deps/\`basename \${outfile}\`.d"
40087 mkdir -p .deps
40088 # can do this because gcc is >= 3.4:
40089 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40090 exit \${?}
40091 fi
40092 EOF
40093 chmod +x bk-make-pch
40094 fi
40095 fi
40096 fi
40097
40098
40099
40100 COND_BUILD_DEBUG="#"
40101 if test "x$BUILD" = "xdebug" ; then
40102 COND_BUILD_DEBUG=""
40103 fi
40104
40105 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40106 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40107 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40108 fi
40109
40110 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40111 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40112 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40113 fi
40114
40115 COND_BUILD_DEBUG_UNICODE_0="#"
40116 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40117 COND_BUILD_DEBUG_UNICODE_0=""
40118 fi
40119
40120 COND_BUILD_DEBUG_UNICODE_1="#"
40121 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40122 COND_BUILD_DEBUG_UNICODE_1=""
40123 fi
40124
40125 COND_BUILD_RELEASE="#"
40126 if test "x$BUILD" = "xrelease" ; then
40127 COND_BUILD_RELEASE=""
40128 fi
40129
40130 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40131 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40132 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40133 fi
40134
40135 COND_BUILD_RELEASE_UNICODE_0="#"
40136 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40137 COND_BUILD_RELEASE_UNICODE_0=""
40138 fi
40139
40140 COND_BUILD_RELEASE_UNICODE_1="#"
40141 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40142 COND_BUILD_RELEASE_UNICODE_1=""
40143 fi
40144
40145 COND_DEBUG_FLAG_1="#"
40146 if test "x$DEBUG_FLAG" = "x1" ; then
40147 COND_DEBUG_FLAG_1=""
40148 fi
40149
40150 COND_DEBUG_INFO_0="#"
40151 if test "x$DEBUG_INFO" = "x0" ; then
40152 COND_DEBUG_INFO_0=""
40153 fi
40154
40155 COND_DEBUG_INFO_1="#"
40156 if test "x$DEBUG_INFO" = "x1" ; then
40157 COND_DEBUG_INFO_1=""
40158 fi
40159
40160 COND_DEPS_TRACKING_0="#"
40161 if test "x$DEPS_TRACKING" = "x0" ; then
40162 COND_DEPS_TRACKING_0=""
40163 fi
40164
40165 COND_DEPS_TRACKING_1="#"
40166 if test "x$DEPS_TRACKING" = "x1" ; then
40167 COND_DEPS_TRACKING_1=""
40168 fi
40169
40170 COND_GCC_PCH_1="#"
40171 if test "x$GCC_PCH" = "x1" ; then
40172 COND_GCC_PCH_1=""
40173 fi
40174
40175 COND_MONOLITHIC_0="#"
40176 if test "x$MONOLITHIC" = "x0" ; then
40177 COND_MONOLITHIC_0=""
40178 fi
40179
40180 COND_MONOLITHIC_0_SHARED_0="#"
40181 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40182 COND_MONOLITHIC_0_SHARED_0=""
40183 fi
40184
40185 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40186 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40187 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40188 fi
40189
40190 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40191 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40192 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40193 fi
40194
40195 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40196 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40197 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40198 fi
40199
40200 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40202 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40203 fi
40204
40205 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40207 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40208 fi
40209
40210 COND_MONOLITHIC_0_SHARED_1="#"
40211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40212 COND_MONOLITHIC_0_SHARED_1=""
40213 fi
40214
40215 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40217 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40218 fi
40219
40220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40223 fi
40224
40225 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40227 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40228 fi
40229
40230 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40232 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40233 fi
40234
40235 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40237 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40238 fi
40239
40240 COND_MONOLITHIC_0_USE_ODBC_1="#"
40241 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40242 COND_MONOLITHIC_0_USE_ODBC_1=""
40243 fi
40244
40245 COND_MONOLITHIC_1="#"
40246 if test "x$MONOLITHIC" = "x1" ; then
40247 COND_MONOLITHIC_1=""
40248 fi
40249
40250 COND_MONOLITHIC_1_SHARED_0="#"
40251 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40252 COND_MONOLITHIC_1_SHARED_0=""
40253 fi
40254
40255 COND_MONOLITHIC_1_SHARED_1="#"
40256 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40257 COND_MONOLITHIC_1_SHARED_1=""
40258 fi
40259
40260 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40261 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40262 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40263 fi
40264
40265 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40266 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40267 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40268 fi
40269
40270 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40271 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40272 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40273 fi
40274
40275 COND_PLATFORM_MACOSX_1="#"
40276 if test "x$PLATFORM_MACOSX" = "x1" ; then
40277 COND_PLATFORM_MACOSX_1=""
40278 fi
40279
40280 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40281 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40282 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40283 fi
40284
40285 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40286 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40287 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40288 fi
40289
40290 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40291 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40292 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40293 fi
40294
40295 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40296 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40297 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40298 fi
40299
40300 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40301 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40302 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40303 fi
40304
40305 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40306 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40307 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40308 fi
40309
40310 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40311 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40312 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40313 fi
40314
40315 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40316 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40317 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40318 fi
40319
40320 COND_PLATFORM_MACOS_1="#"
40321 if test "x$PLATFORM_MACOS" = "x1" ; then
40322 COND_PLATFORM_MACOS_1=""
40323 fi
40324
40325 COND_PLATFORM_MAC_1="#"
40326 if test "x$PLATFORM_MAC" = "x1" ; then
40327 COND_PLATFORM_MAC_1=""
40328 fi
40329
40330 COND_PLATFORM_OS2_1="#"
40331 if test "x$PLATFORM_OS2" = "x1" ; then
40332 COND_PLATFORM_OS2_1=""
40333 fi
40334
40335 COND_PLATFORM_UNIX_0="#"
40336 if test "x$PLATFORM_UNIX" = "x0" ; then
40337 COND_PLATFORM_UNIX_0=""
40338 fi
40339
40340 COND_PLATFORM_UNIX_1="#"
40341 if test "x$PLATFORM_UNIX" = "x1" ; then
40342 COND_PLATFORM_UNIX_1=""
40343 fi
40344
40345 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40346 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40347 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40348 fi
40349
40350 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40351 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40352 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40353 fi
40354
40355 COND_PLATFORM_WIN32_0="#"
40356 if test "x$PLATFORM_WIN32" = "x0" ; then
40357 COND_PLATFORM_WIN32_0=""
40358 fi
40359
40360 COND_PLATFORM_WIN32_1="#"
40361 if test "x$PLATFORM_WIN32" = "x1" ; then
40362 COND_PLATFORM_WIN32_1=""
40363 fi
40364
40365 COND_SHARED_0="#"
40366 if test "x$SHARED" = "x0" ; then
40367 COND_SHARED_0=""
40368 fi
40369
40370 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40371 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40372 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40373 fi
40374
40375 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40376 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40377 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40378 fi
40379
40380 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40381 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40382 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40383 fi
40384
40385 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40386 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40387 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40388 fi
40389
40390 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40391 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40392 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40393 fi
40394
40395 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40396 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40397 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40398 fi
40399
40400 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40401 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40402 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40403 fi
40404
40405 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40406 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40407 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40408 fi
40409
40410 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40411 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40412 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40413 fi
40414
40415 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40416 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40417 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40418 fi
40419
40420 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40421 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40422 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40423 fi
40424
40425 COND_SHARED_1="#"
40426 if test "x$SHARED" = "x1" ; then
40427 COND_SHARED_1=""
40428 fi
40429
40430 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40431 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40432 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40433 fi
40434
40435 COND_TOOLKIT_="#"
40436 if test "x$TOOLKIT" = "x" ; then
40437 COND_TOOLKIT_=""
40438 fi
40439
40440 COND_TOOLKIT_COCOA="#"
40441 if test "x$TOOLKIT" = "xCOCOA" ; then
40442 COND_TOOLKIT_COCOA=""
40443 fi
40444
40445 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40446 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40447 COND_TOOLKIT_COCOA_USE_GUI_1=""
40448 fi
40449
40450 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40451 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40452 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40453 fi
40454
40455 COND_TOOLKIT_GTK="#"
40456 if test "x$TOOLKIT" = "xGTK" ; then
40457 COND_TOOLKIT_GTK=""
40458 fi
40459
40460 COND_TOOLKIT_GTK_USE_GUI_1="#"
40461 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40462 COND_TOOLKIT_GTK_USE_GUI_1=""
40463 fi
40464
40465 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40466 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40467 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40468 fi
40469
40470 COND_TOOLKIT_MAC="#"
40471 if test "x$TOOLKIT" = "xMAC" ; then
40472 COND_TOOLKIT_MAC=""
40473 fi
40474
40475 COND_TOOLKIT_MAC_USE_GUI_1="#"
40476 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40477 COND_TOOLKIT_MAC_USE_GUI_1=""
40478 fi
40479
40480 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40481 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40482 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40483 fi
40484
40485 COND_TOOLKIT_MGL="#"
40486 if test "x$TOOLKIT" = "xMGL" ; then
40487 COND_TOOLKIT_MGL=""
40488 fi
40489
40490 COND_TOOLKIT_MGL_USE_GUI_1="#"
40491 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40492 COND_TOOLKIT_MGL_USE_GUI_1=""
40493 fi
40494
40495 COND_TOOLKIT_MOTIF="#"
40496 if test "x$TOOLKIT" = "xMOTIF" ; then
40497 COND_TOOLKIT_MOTIF=""
40498 fi
40499
40500 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40501 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40502 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40503 fi
40504
40505 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40506 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40507 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40508 fi
40509
40510 COND_TOOLKIT_MSW="#"
40511 if test "x$TOOLKIT" = "xMSW" ; then
40512 COND_TOOLKIT_MSW=""
40513 fi
40514
40515 COND_TOOLKIT_MSW_USE_GUI_1="#"
40516 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40517 COND_TOOLKIT_MSW_USE_GUI_1=""
40518 fi
40519
40520 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40521 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40522 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40523 fi
40524
40525 COND_TOOLKIT_PM="#"
40526 if test "x$TOOLKIT" = "xPM" ; then
40527 COND_TOOLKIT_PM=""
40528 fi
40529
40530 COND_TOOLKIT_PM_USE_GUI_1="#"
40531 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40532 COND_TOOLKIT_PM_USE_GUI_1=""
40533 fi
40534
40535 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40536 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40537 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40538 fi
40539
40540 COND_TOOLKIT_WINCE="#"
40541 if test "x$TOOLKIT" = "xWINCE" ; then
40542 COND_TOOLKIT_WINCE=""
40543 fi
40544
40545 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40546 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40547 COND_TOOLKIT_WINCE_USE_GUI_1=""
40548 fi
40549
40550 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40551 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40552 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40553 fi
40554
40555 COND_TOOLKIT_X11="#"
40556 if test "x$TOOLKIT" = "xX11" ; then
40557 COND_TOOLKIT_X11=""
40558 fi
40559
40560 COND_TOOLKIT_X11_USE_GUI_1="#"
40561 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40562 COND_TOOLKIT_X11_USE_GUI_1=""
40563 fi
40564
40565 COND_UNICODE_1="#"
40566 if test "x$UNICODE" = "x1" ; then
40567 COND_UNICODE_1=""
40568 fi
40569
40570 COND_USE_EXCEPTIONS_0="#"
40571 if test "x$USE_EXCEPTIONS" = "x0" ; then
40572 COND_USE_EXCEPTIONS_0=""
40573 fi
40574
40575 COND_USE_EXCEPTIONS_1="#"
40576 if test "x$USE_EXCEPTIONS" = "x1" ; then
40577 COND_USE_EXCEPTIONS_1=""
40578 fi
40579
40580 COND_USE_GUI_0="#"
40581 if test "x$USE_GUI" = "x0" ; then
40582 COND_USE_GUI_0=""
40583 fi
40584
40585 COND_USE_GUI_1="#"
40586 if test "x$USE_GUI" = "x1" ; then
40587 COND_USE_GUI_1=""
40588 fi
40589
40590 COND_USE_GUI_1_WXUNIV_0="#"
40591 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40592 COND_USE_GUI_1_WXUNIV_0=""
40593 fi
40594
40595 COND_USE_GUI_1_WXUNIV_1="#"
40596 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40597 COND_USE_GUI_1_WXUNIV_1=""
40598 fi
40599
40600 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40601 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40602 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40603 fi
40604
40605 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40606 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40607 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40608 fi
40609
40610 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40611 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40612 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40613 fi
40614
40615 COND_USE_ODBC_1="#"
40616 if test "x$USE_ODBC" = "x1" ; then
40617 COND_USE_ODBC_1=""
40618 fi
40619
40620 COND_USE_OPENGL_1="#"
40621 if test "x$USE_OPENGL" = "x1" ; then
40622 COND_USE_OPENGL_1=""
40623 fi
40624
40625 COND_USE_PLUGINS_0="#"
40626 if test "x$USE_PLUGINS" = "x0" ; then
40627 COND_USE_PLUGINS_0=""
40628 fi
40629
40630 COND_USE_SOSYMLINKS_1="#"
40631 if test "x$USE_SOSYMLINKS" = "x1" ; then
40632 COND_USE_SOSYMLINKS_1=""
40633 fi
40634
40635 COND_USE_SOVERLINUX_1="#"
40636 if test "x$USE_SOVERLINUX" = "x1" ; then
40637 COND_USE_SOVERLINUX_1=""
40638 fi
40639
40640 COND_USE_SOVERSION_0="#"
40641 if test "x$USE_SOVERSION" = "x0" ; then
40642 COND_USE_SOVERSION_0=""
40643 fi
40644
40645 COND_USE_SOVERSOLARIS_1="#"
40646 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40647 COND_USE_SOVERSOLARIS_1=""
40648 fi
40649
40650 COND_USE_XRC_1="#"
40651 if test "x$USE_XRC" = "x1" ; then
40652 COND_USE_XRC_1=""
40653 fi
40654
40655 COND_WITH_PLUGIN_SDL_1="#"
40656 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40657 COND_WITH_PLUGIN_SDL_1=""
40658 fi
40659
40660 COND_WXUNIV_1="#"
40661 if test "x$WXUNIV" = "x1" ; then
40662 COND_WXUNIV_1=""
40663 fi
40664
40665 COND_WXUSE_EXPAT_BUILTIN="#"
40666 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40667 COND_WXUSE_EXPAT_BUILTIN=""
40668 fi
40669
40670 COND_WXUSE_LIBJPEG_BUILTIN="#"
40671 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40672 COND_WXUSE_LIBJPEG_BUILTIN=""
40673 fi
40674
40675 COND_WXUSE_LIBPNG_BUILTIN="#"
40676 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40677 COND_WXUSE_LIBPNG_BUILTIN=""
40678 fi
40679
40680 COND_WXUSE_LIBTIFF_BUILTIN="#"
40681 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40682 COND_WXUSE_LIBTIFF_BUILTIN=""
40683 fi
40684
40685 COND_WXUSE_ODBC_BUILTIN="#"
40686 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40687 COND_WXUSE_ODBC_BUILTIN=""
40688 fi
40689
40690 COND_WXUSE_REGEX_BUILTIN="#"
40691 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40692 COND_WXUSE_REGEX_BUILTIN=""
40693 fi
40694
40695 COND_WXUSE_ZLIB_BUILTIN="#"
40696 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40697 COND_WXUSE_ZLIB_BUILTIN=""
40698 fi
40699
40700 COND_BUILD_DEBUG="#"
40701 if test "x$BUILD" = "xdebug" ; then
40702 COND_BUILD_DEBUG=""
40703 fi
40704
40705 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40706 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40707 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40708 fi
40709
40710 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40711 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40712 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40713 fi
40714
40715 COND_BUILD_DEBUG_UNICODE_0="#"
40716 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40717 COND_BUILD_DEBUG_UNICODE_0=""
40718 fi
40719
40720 COND_BUILD_DEBUG_UNICODE_1="#"
40721 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40722 COND_BUILD_DEBUG_UNICODE_1=""
40723 fi
40724
40725 COND_BUILD_RELEASE="#"
40726 if test "x$BUILD" = "xrelease" ; then
40727 COND_BUILD_RELEASE=""
40728 fi
40729
40730 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40731 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40732 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40733 fi
40734
40735 COND_BUILD_RELEASE_UNICODE_0="#"
40736 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40737 COND_BUILD_RELEASE_UNICODE_0=""
40738 fi
40739
40740 COND_BUILD_RELEASE_UNICODE_1="#"
40741 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40742 COND_BUILD_RELEASE_UNICODE_1=""
40743 fi
40744
40745 COND_DEBUG_FLAG_1="#"
40746 if test "x$DEBUG_FLAG" = "x1" ; then
40747 COND_DEBUG_FLAG_1=""
40748 fi
40749
40750 COND_DEBUG_INFO_0="#"
40751 if test "x$DEBUG_INFO" = "x0" ; then
40752 COND_DEBUG_INFO_0=""
40753 fi
40754
40755 COND_DEBUG_INFO_1="#"
40756 if test "x$DEBUG_INFO" = "x1" ; then
40757 COND_DEBUG_INFO_1=""
40758 fi
40759
40760 COND_DEPS_TRACKING_0="#"
40761 if test "x$DEPS_TRACKING" = "x0" ; then
40762 COND_DEPS_TRACKING_0=""
40763 fi
40764
40765 COND_DEPS_TRACKING_1="#"
40766 if test "x$DEPS_TRACKING" = "x1" ; then
40767 COND_DEPS_TRACKING_1=""
40768 fi
40769
40770 COND_GCC_PCH_1="#"
40771 if test "x$GCC_PCH" = "x1" ; then
40772 COND_GCC_PCH_1=""
40773 fi
40774
40775 COND_MONOLITHIC_0="#"
40776 if test "x$MONOLITHIC" = "x0" ; then
40777 COND_MONOLITHIC_0=""
40778 fi
40779
40780 COND_MONOLITHIC_0_SHARED_0="#"
40781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40782 COND_MONOLITHIC_0_SHARED_0=""
40783 fi
40784
40785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40788 fi
40789
40790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40792 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40793 fi
40794
40795 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40797 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40798 fi
40799
40800 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40802 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40803 fi
40804
40805 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40807 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40808 fi
40809
40810 COND_MONOLITHIC_0_SHARED_1="#"
40811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40812 COND_MONOLITHIC_0_SHARED_1=""
40813 fi
40814
40815 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40817 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40818 fi
40819
40820 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40823 fi
40824
40825 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40827 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40828 fi
40829
40830 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40832 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40833 fi
40834
40835 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40837 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40838 fi
40839
40840 COND_MONOLITHIC_0_USE_ODBC_1="#"
40841 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40842 COND_MONOLITHIC_0_USE_ODBC_1=""
40843 fi
40844
40845 COND_MONOLITHIC_1="#"
40846 if test "x$MONOLITHIC" = "x1" ; then
40847 COND_MONOLITHIC_1=""
40848 fi
40849
40850 COND_MONOLITHIC_1_SHARED_0="#"
40851 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40852 COND_MONOLITHIC_1_SHARED_0=""
40853 fi
40854
40855 COND_MONOLITHIC_1_SHARED_1="#"
40856 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40857 COND_MONOLITHIC_1_SHARED_1=""
40858 fi
40859
40860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40861 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40863 fi
40864
40865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40866 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40867 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40868 fi
40869
40870 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40871 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40872 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40873 fi
40874
40875 COND_PLATFORM_MACOSX_1="#"
40876 if test "x$PLATFORM_MACOSX" = "x1" ; then
40877 COND_PLATFORM_MACOSX_1=""
40878 fi
40879
40880 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40882 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40883 fi
40884
40885 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40887 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40888 fi
40889
40890 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40892 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40893 fi
40894
40895 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40897 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40898 fi
40899
40900 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40902 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40903 fi
40904
40905 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40907 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40908 fi
40909
40910 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40913 fi
40914
40915 COND_PLATFORM_MAC_1="#"
40916 if test "x$PLATFORM_MAC" = "x1" ; then
40917 COND_PLATFORM_MAC_1=""
40918 fi
40919
40920 COND_PLATFORM_OS2_1="#"
40921 if test "x$PLATFORM_OS2" = "x1" ; then
40922 COND_PLATFORM_OS2_1=""
40923 fi
40924
40925 COND_PLATFORM_UNIX_0="#"
40926 if test "x$PLATFORM_UNIX" = "x0" ; then
40927 COND_PLATFORM_UNIX_0=""
40928 fi
40929
40930 COND_PLATFORM_UNIX_1="#"
40931 if test "x$PLATFORM_UNIX" = "x1" ; then
40932 COND_PLATFORM_UNIX_1=""
40933 fi
40934
40935 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40936 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40937 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40938 fi
40939
40940 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40941 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40942 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40943 fi
40944
40945 COND_PLATFORM_WIN32_0="#"
40946 if test "x$PLATFORM_WIN32" = "x0" ; then
40947 COND_PLATFORM_WIN32_0=""
40948 fi
40949
40950 COND_PLATFORM_WIN32_1="#"
40951 if test "x$PLATFORM_WIN32" = "x1" ; then
40952 COND_PLATFORM_WIN32_1=""
40953 fi
40954
40955 COND_SHARED_0="#"
40956 if test "x$SHARED" = "x0" ; then
40957 COND_SHARED_0=""
40958 fi
40959
40960 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40962 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40963 fi
40964
40965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40966 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40968 fi
40969
40970 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40971 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40972 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40973 fi
40974
40975 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40976 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40977 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40978 fi
40979
40980 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40981 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40982 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40983 fi
40984
40985 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40986 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40987 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40988 fi
40989
40990 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40991 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40992 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40993 fi
40994
40995 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40996 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40997 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40998 fi
40999
41000 COND_SHARED_1="#"
41001 if test "x$SHARED" = "x1" ; then
41002 COND_SHARED_1=""
41003 fi
41004
41005 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41006 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41007 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41008 fi
41009
41010 COND_TOOLKIT_COCOA="#"
41011 if test "x$TOOLKIT" = "xCOCOA" ; then
41012 COND_TOOLKIT_COCOA=""
41013 fi
41014
41015 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41016 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41017 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41018 fi
41019
41020 COND_TOOLKIT_GTK="#"
41021 if test "x$TOOLKIT" = "xGTK" ; then
41022 COND_TOOLKIT_GTK=""
41023 fi
41024
41025 COND_TOOLKIT_GTK_USE_GUI_1="#"
41026 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41027 COND_TOOLKIT_GTK_USE_GUI_1=""
41028 fi
41029
41030 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41031 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41032 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41033 fi
41034
41035 COND_TOOLKIT_MAC="#"
41036 if test "x$TOOLKIT" = "xMAC" ; then
41037 COND_TOOLKIT_MAC=""
41038 fi
41039
41040 COND_TOOLKIT_MAC_USE_GUI_1="#"
41041 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41042 COND_TOOLKIT_MAC_USE_GUI_1=""
41043 fi
41044
41045 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41046 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41047 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41048 fi
41049
41050 COND_TOOLKIT_MAC_WXUNIV_0="#"
41051 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41052 COND_TOOLKIT_MAC_WXUNIV_0=""
41053 fi
41054
41055 COND_TOOLKIT_MGL="#"
41056 if test "x$TOOLKIT" = "xMGL" ; then
41057 COND_TOOLKIT_MGL=""
41058 fi
41059
41060 COND_TOOLKIT_MGL_USE_GUI_1="#"
41061 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41062 COND_TOOLKIT_MGL_USE_GUI_1=""
41063 fi
41064
41065 COND_TOOLKIT_MOTIF="#"
41066 if test "x$TOOLKIT" = "xMOTIF" ; then
41067 COND_TOOLKIT_MOTIF=""
41068 fi
41069
41070 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41071 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41072 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41073 fi
41074
41075 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41076 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41077 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41078 fi
41079
41080 COND_TOOLKIT_MSW="#"
41081 if test "x$TOOLKIT" = "xMSW" ; then
41082 COND_TOOLKIT_MSW=""
41083 fi
41084
41085 COND_TOOLKIT_MSW_USE_GUI_1="#"
41086 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41087 COND_TOOLKIT_MSW_USE_GUI_1=""
41088 fi
41089
41090 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41091 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41092 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41093 fi
41094
41095 COND_TOOLKIT_MSW_WXUNIV_0="#"
41096 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41097 COND_TOOLKIT_MSW_WXUNIV_0=""
41098 fi
41099
41100 COND_TOOLKIT_PM="#"
41101 if test "x$TOOLKIT" = "xPM" ; then
41102 COND_TOOLKIT_PM=""
41103 fi
41104
41105 COND_TOOLKIT_PM_USE_GUI_1="#"
41106 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41107 COND_TOOLKIT_PM_USE_GUI_1=""
41108 fi
41109
41110 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41111 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41112 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41113 fi
41114
41115 COND_TOOLKIT_PM_WXUNIV_0="#"
41116 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41117 COND_TOOLKIT_PM_WXUNIV_0=""
41118 fi
41119
41120 COND_TOOLKIT_WINCE="#"
41121 if test "x$TOOLKIT" = "xWINCE" ; then
41122 COND_TOOLKIT_WINCE=""
41123 fi
41124
41125 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41126 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41127 COND_TOOLKIT_WINCE_USE_GUI_1=""
41128 fi
41129
41130 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41131 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41132 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41133 fi
41134
41135 COND_TOOLKIT_X11="#"
41136 if test "x$TOOLKIT" = "xX11" ; then
41137 COND_TOOLKIT_X11=""
41138 fi
41139
41140 COND_TOOLKIT_X11_USE_GUI_1="#"
41141 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41142 COND_TOOLKIT_X11_USE_GUI_1=""
41143 fi
41144
41145 COND_UNICODE_1="#"
41146 if test "x$UNICODE" = "x1" ; then
41147 COND_UNICODE_1=""
41148 fi
41149
41150 COND_USE_EXCEPTIONS_0="#"
41151 if test "x$USE_EXCEPTIONS" = "x0" ; then
41152 COND_USE_EXCEPTIONS_0=""
41153 fi
41154
41155 COND_USE_EXCEPTIONS_1="#"
41156 if test "x$USE_EXCEPTIONS" = "x1" ; then
41157 COND_USE_EXCEPTIONS_1=""
41158 fi
41159
41160 COND_USE_GUI_0="#"
41161 if test "x$USE_GUI" = "x0" ; then
41162 COND_USE_GUI_0=""
41163 fi
41164
41165 COND_USE_GUI_1="#"
41166 if test "x$USE_GUI" = "x1" ; then
41167 COND_USE_GUI_1=""
41168 fi
41169
41170 COND_USE_GUI_1_WXUNIV_0="#"
41171 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41172 COND_USE_GUI_1_WXUNIV_0=""
41173 fi
41174
41175 COND_USE_GUI_1_WXUNIV_1="#"
41176 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41177 COND_USE_GUI_1_WXUNIV_1=""
41178 fi
41179
41180 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41181 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41182 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41183 fi
41184
41185 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41186 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41187 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41188 fi
41189
41190 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41191 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41192 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41193 fi
41194
41195 COND_USE_ODBC_1="#"
41196 if test "x$USE_ODBC" = "x1" ; then
41197 COND_USE_ODBC_1=""
41198 fi
41199
41200 COND_USE_PLUGINS_0="#"
41201 if test "x$USE_PLUGINS" = "x0" ; then
41202 COND_USE_PLUGINS_0=""
41203 fi
41204
41205 COND_USE_SOSYMLINKS_1="#"
41206 if test "x$USE_SOSYMLINKS" = "x1" ; then
41207 COND_USE_SOSYMLINKS_1=""
41208 fi
41209
41210 COND_USE_SOVERLINUX_1="#"
41211 if test "x$USE_SOVERLINUX" = "x1" ; then
41212 COND_USE_SOVERLINUX_1=""
41213 fi
41214
41215 COND_USE_SOVERSION_0="#"
41216 if test "x$USE_SOVERSION" = "x0" ; then
41217 COND_USE_SOVERSION_0=""
41218 fi
41219
41220 COND_USE_SOVERSOLARIS_1="#"
41221 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41222 COND_USE_SOVERSOLARIS_1=""
41223 fi
41224
41225 COND_WITH_PLUGIN_SDL_1="#"
41226 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41227 COND_WITH_PLUGIN_SDL_1=""
41228 fi
41229
41230 COND_WXUNIV_1="#"
41231 if test "x$WXUNIV" = "x1" ; then
41232 COND_WXUNIV_1=""
41233 fi
41234
41235 COND_WXUSE_EXPAT_BUILTIN="#"
41236 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41237 COND_WXUSE_EXPAT_BUILTIN=""
41238 fi
41239
41240 COND_WXUSE_LIBJPEG_BUILTIN="#"
41241 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41242 COND_WXUSE_LIBJPEG_BUILTIN=""
41243 fi
41244
41245 COND_WXUSE_LIBPNG_BUILTIN="#"
41246 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41247 COND_WXUSE_LIBPNG_BUILTIN=""
41248 fi
41249
41250 COND_WXUSE_LIBTIFF_BUILTIN="#"
41251 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41252 COND_WXUSE_LIBTIFF_BUILTIN=""
41253 fi
41254
41255 COND_WXUSE_ODBC_BUILTIN="#"
41256 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41257 COND_WXUSE_ODBC_BUILTIN=""
41258 fi
41259
41260 COND_WXUSE_REGEX_BUILTIN="#"
41261 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41262 COND_WXUSE_REGEX_BUILTIN=""
41263 fi
41264
41265 COND_WXUSE_ZLIB_BUILTIN="#"
41266 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41267 COND_WXUSE_ZLIB_BUILTIN=""
41268 fi
41269
41270
41271
41272 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41273 { { 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
41274 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;}
41275 { (exit 1); exit 1; }; }
41276 fi
41277
41278
41279 if test "$wxUSE_SHARED" = "yes"; then
41280
41281 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41282 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41283
41284 else
41285
41286 EXE_LINKER="$CXX -o"
41287
41288 fi
41289
41290 GCC_PRAGMA_FLAGS=""
41291 if test $GCC_PCH = 1 ; then
41292 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41293 else
41294 case "${host}" in
41295 powerpc-*-darwin* )
41296 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41297 ;;
41298 *-*-mingw32* )
41299 if test "$wxUSE_STL" = "yes" -o \
41300 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41301 "$wxUSE_NO_RTTI" != "yes"; then
41302 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41303 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41304 cat >conftest.$ac_ext <<_ACEOF
41305 /* confdefs.h. */
41306 _ACEOF
41307 cat confdefs.h >>conftest.$ac_ext
41308 cat >>conftest.$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41310
41311 int
41312 main ()
41313 {
41314 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41315 #error "Not GCC 3.2 or greater"
41316 #endif
41317
41318 ;
41319 return 0;
41320 }
41321 _ACEOF
41322 rm -f conftest.$ac_objext
41323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41324 (eval $ac_compile) 2>conftest.er1
41325 ac_status=$?
41326 grep -v '^ *+' conftest.er1 >conftest.err
41327 rm -f conftest.er1
41328 cat conftest.err >&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } &&
41331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333 (eval $ac_try) 2>&5
41334 ac_status=$?
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; } &&
41337 { ac_try='test -s conftest.$ac_objext'
41338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41339 (eval $ac_try) 2>&5
41340 ac_status=$?
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); }; }; then
41343 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41344 echo "$as_me:$LINENO: result: yes" >&5
41345 echo "${ECHO_T}yes" >&6
41346 else
41347 echo "$as_me: failed program was:" >&5
41348 sed 's/^/| /' conftest.$ac_ext >&5
41349
41350 echo "$as_me:$LINENO: result: no" >&5
41351 echo "${ECHO_T}no" >&6
41352 fi
41353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41354 fi
41355 ;;
41356 esac
41357 fi
41358 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41359
41360
41361 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420
41421
41422
41423
41424
41425 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41427 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41428 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41429 echo $ECHO_N "(cached) $ECHO_C" >&6
41430 else
41431 cat >conftest.make <<\_ACEOF
41432 all:
41433 @echo 'ac_maketemp="$(MAKE)"'
41434 _ACEOF
41435 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41436 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41437 if test -n "$ac_maketemp"; then
41438 eval ac_cv_prog_make_${ac_make}_set=yes
41439 else
41440 eval ac_cv_prog_make_${ac_make}_set=no
41441 fi
41442 rm -f conftest.make
41443 fi
41444 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41445 echo "$as_me:$LINENO: result: yes" >&5
41446 echo "${ECHO_T}yes" >&6
41447 SET_MAKE=
41448 else
41449 echo "$as_me:$LINENO: result: no" >&5
41450 echo "${ECHO_T}no" >&6
41451 SET_MAKE="MAKE=${MAKE-make}"
41452 fi
41453
41454
41455
41456 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41457
41458
41459 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41460
41461
41462 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41463
41464
41465 ac_config_files="$ac_config_files version-script Makefile"
41466
41467
41468 ac_config_commands="$ac_config_commands wx-config
41469 "
41470
41471
41472
41473
41474 if test "$wxUSE_GUI" = "yes"; then
41475 SUBDIRS="samples demos utils contrib"
41476 else SUBDIRS="samples utils"
41477 fi
41478
41479
41480
41481 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41482 if test "${with_cppunit_prefix+set}" = set; then
41483 withval="$with_cppunit_prefix"
41484 cppunit_config_prefix="$withval"
41485 else
41486 cppunit_config_prefix=""
41487 fi;
41488
41489 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41490 if test "${with_cppunit_exec_prefix+set}" = set; then
41491 withval="$with_cppunit_exec_prefix"
41492 cppunit_config_exec_prefix="$withval"
41493 else
41494 cppunit_config_exec_prefix=""
41495 fi;
41496
41497 if test x$cppunit_config_exec_prefix != x ; then
41498 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41499 if test x${CPPUNIT_CONFIG+set} != xset ; then
41500 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41501 fi
41502 fi
41503 if test x$cppunit_config_prefix != x ; then
41504 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41505 if test x${CPPUNIT_CONFIG+set} != xset ; then
41506 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41507 fi
41508 fi
41509
41510 # Extract the first word of "cppunit-config", so it can be a program name with args.
41511 set dummy cppunit-config; ac_word=$2
41512 echo "$as_me:$LINENO: checking for $ac_word" >&5
41513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41514 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41515 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 else
41517 case $CPPUNIT_CONFIG in
41518 [\\/]* | ?:[\\/]*)
41519 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41520 ;;
41521 *)
41522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41523 for as_dir in $PATH
41524 do
41525 IFS=$as_save_IFS
41526 test -z "$as_dir" && as_dir=.
41527 for ac_exec_ext in '' $ac_executable_extensions; do
41528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41529 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41531 break 2
41532 fi
41533 done
41534 done
41535
41536 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41537 ;;
41538 esac
41539 fi
41540 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41541
41542 if test -n "$CPPUNIT_CONFIG"; then
41543 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41544 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41545 else
41546 echo "$as_me:$LINENO: result: no" >&5
41547 echo "${ECHO_T}no" >&6
41548 fi
41549
41550 cppunit_version_min=1.8.0
41551
41552 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41553 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41554 no_cppunit=""
41555 if test "$CPPUNIT_CONFIG" = "no" ; then
41556 no_cppunit=yes
41557 else
41558 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41559 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41560 cppunit_version=`$CPPUNIT_CONFIG --version`
41561
41562 cppunit_major_version=`echo $cppunit_version | \
41563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41564 cppunit_minor_version=`echo $cppunit_version | \
41565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41566 cppunit_micro_version=`echo $cppunit_version | \
41567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41568
41569 cppunit_major_min=`echo $cppunit_version_min | \
41570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41571 cppunit_minor_min=`echo $cppunit_version_min | \
41572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41573 cppunit_micro_min=`echo $cppunit_version_min | \
41574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41575
41576 cppunit_version_proper=`expr \
41577 $cppunit_major_version \> $cppunit_major_min \| \
41578 $cppunit_major_version \= $cppunit_major_min \& \
41579 $cppunit_minor_version \> $cppunit_minor_min \| \
41580 $cppunit_major_version \= $cppunit_major_min \& \
41581 $cppunit_minor_version \= $cppunit_minor_min \& \
41582 $cppunit_micro_version \>= $cppunit_micro_min `
41583
41584 if test "$cppunit_version_proper" = "1" ; then
41585 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41586 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41587 else
41588 echo "$as_me:$LINENO: result: no" >&5
41589 echo "${ECHO_T}no" >&6
41590 no_cppunit=yes
41591 fi
41592 fi
41593
41594 if test "x$no_cppunit" = x ; then
41595 SUBDIRS="$SUBDIRS tests"
41596 else
41597 CPPUNIT_CFLAGS=""
41598 CPPUNIT_LIBS=""
41599 :
41600 fi
41601
41602
41603
41604
41605
41606 for subdir in `echo $SUBDIRS`; do
41607 if test -d ${srcdir}/${subdir} ; then
41608 if test "$wxUSE_GUI" = "yes"; then
41609 if test ${subdir} = "samples"; then
41610 makefiles="samples/Makefile.in $makefiles"
41611 for sample in `echo $SAMPLES_SUBDIRS`; do
41612 if test -d $srcdir/samples/$sample; then
41613 makefiles="samples/$sample/Makefile.in $makefiles"
41614 fi
41615 done
41616 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41617 fi
41618 else if test ${subdir} = "samples"; then
41619 makefiles="samples/Makefile.in samples/console/Makefile.in"
41620 elif test ${subdir} = "utils"; then
41621 makefiles=""
41622 for util in HelpGen tex2rtf ; do
41623 if test -d $srcdir/utils/$util ; then
41624 makefiles="utils/$util/Makefile.in \
41625 utils/$util/src/Makefile.in \
41626 $makefiles"
41627 fi
41628 done
41629 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41630 fi
41631 fi
41632
41633 for mkin in $makefiles ; do
41634 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41635 ac_config_files="$ac_config_files $mk"
41636
41637 done
41638 fi
41639 done
41640
41641
41642 cat >confcache <<\_ACEOF
41643 # This file is a shell script that caches the results of configure
41644 # tests run on this system so they can be shared between configure
41645 # scripts and configure runs, see configure's option --config-cache.
41646 # It is not useful on other systems. If it contains results you don't
41647 # want to keep, you may remove or edit it.
41648 #
41649 # config.status only pays attention to the cache file if you give it
41650 # the --recheck option to rerun configure.
41651 #
41652 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41653 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41654 # following values.
41655
41656 _ACEOF
41657
41658 # The following way of writing the cache mishandles newlines in values,
41659 # but we know of no workaround that is simple, portable, and efficient.
41660 # So, don't put newlines in cache variables' values.
41661 # Ultrix sh set writes to stderr and can't be redirected directly,
41662 # and sets the high bit in the cache file unless we assign to the vars.
41663 {
41664 (set) 2>&1 |
41665 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41666 *ac_space=\ *)
41667 # `set' does not quote correctly, so add quotes (double-quote
41668 # substitution turns \\\\ into \\, and sed turns \\ into \).
41669 sed -n \
41670 "s/'/'\\\\''/g;
41671 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41672 ;;
41673 *)
41674 # `set' quotes correctly as required by POSIX, so do not add quotes.
41675 sed -n \
41676 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41677 ;;
41678 esac;
41679 } |
41680 sed '
41681 t clear
41682 : clear
41683 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41684 t end
41685 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41686 : end' >>confcache
41687 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41688 if test -w $cache_file; then
41689 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41690 cat confcache >$cache_file
41691 else
41692 echo "not updating unwritable cache $cache_file"
41693 fi
41694 fi
41695 rm -f confcache
41696
41697 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41698 # Let make expand exec_prefix.
41699 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41700
41701 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41702 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41703 # trailing colons and then remove the whole line if VPATH becomes empty
41704 # (actually we leave an empty line to preserve line numbers).
41705 if test "x$srcdir" = x.; then
41706 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41707 s/:*\$(srcdir):*/:/;
41708 s/:*\${srcdir}:*/:/;
41709 s/:*@srcdir@:*/:/;
41710 s/^\([^=]*=[ ]*\):*/\1/;
41711 s/:*$//;
41712 s/^[^=]*=[ ]*$//;
41713 }'
41714 fi
41715
41716 DEFS=-DHAVE_CONFIG_H
41717
41718 ac_libobjs=
41719 ac_ltlibobjs=
41720 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41721 # 1. Remove the extension, and $U if already installed.
41722 ac_i=`echo "$ac_i" |
41723 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41724 # 2. Add them.
41725 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41726 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41727 done
41728 LIBOBJS=$ac_libobjs
41729
41730 LTLIBOBJS=$ac_ltlibobjs
41731
41732
41733
41734 : ${CONFIG_STATUS=./config.status}
41735 ac_clean_files_save=$ac_clean_files
41736 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41737 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41738 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41739 cat >$CONFIG_STATUS <<_ACEOF
41740 #! $SHELL
41741 # Generated by $as_me.
41742 # Run this file to recreate the current configuration.
41743 # Compiler output produced by configure, useful for debugging
41744 # configure, is in config.log if it exists.
41745
41746 debug=false
41747 ac_cs_recheck=false
41748 ac_cs_silent=false
41749 SHELL=\${CONFIG_SHELL-$SHELL}
41750 _ACEOF
41751
41752 cat >>$CONFIG_STATUS <<\_ACEOF
41753 ## --------------------- ##
41754 ## M4sh Initialization. ##
41755 ## --------------------- ##
41756
41757 # Be Bourne compatible
41758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41759 emulate sh
41760 NULLCMD=:
41761 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41762 # is contrary to our usage. Disable this feature.
41763 alias -g '${1+"$@"}'='"$@"'
41764 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41765 set -o posix
41766 fi
41767 DUALCASE=1; export DUALCASE # for MKS sh
41768
41769 # Support unset when possible.
41770 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41771 as_unset=unset
41772 else
41773 as_unset=false
41774 fi
41775
41776
41777 # Work around bugs in pre-3.0 UWIN ksh.
41778 $as_unset ENV MAIL MAILPATH
41779 PS1='$ '
41780 PS2='> '
41781 PS4='+ '
41782
41783 # NLS nuisances.
41784 for as_var in \
41785 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41786 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41787 LC_TELEPHONE LC_TIME
41788 do
41789 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41790 eval $as_var=C; export $as_var
41791 else
41792 $as_unset $as_var
41793 fi
41794 done
41795
41796 # Required to use basename.
41797 if expr a : '\(a\)' >/dev/null 2>&1; then
41798 as_expr=expr
41799 else
41800 as_expr=false
41801 fi
41802
41803 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41804 as_basename=basename
41805 else
41806 as_basename=false
41807 fi
41808
41809
41810 # Name of the executable.
41811 as_me=`$as_basename "$0" ||
41812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41813 X"$0" : 'X\(//\)$' \| \
41814 X"$0" : 'X\(/\)$' \| \
41815 . : '\(.\)' 2>/dev/null ||
41816 echo X/"$0" |
41817 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41818 /^X\/\(\/\/\)$/{ s//\1/; q; }
41819 /^X\/\(\/\).*/{ s//\1/; q; }
41820 s/.*/./; q'`
41821
41822
41823 # PATH needs CR, and LINENO needs CR and PATH.
41824 # Avoid depending upon Character Ranges.
41825 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41826 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41827 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41828 as_cr_digits='0123456789'
41829 as_cr_alnum=$as_cr_Letters$as_cr_digits
41830
41831 # The user is always right.
41832 if test "${PATH_SEPARATOR+set}" != set; then
41833 echo "#! /bin/sh" >conf$$.sh
41834 echo "exit 0" >>conf$$.sh
41835 chmod +x conf$$.sh
41836 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41837 PATH_SEPARATOR=';'
41838 else
41839 PATH_SEPARATOR=:
41840 fi
41841 rm -f conf$$.sh
41842 fi
41843
41844
41845 as_lineno_1=$LINENO
41846 as_lineno_2=$LINENO
41847 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41848 test "x$as_lineno_1" != "x$as_lineno_2" &&
41849 test "x$as_lineno_3" = "x$as_lineno_2" || {
41850 # Find who we are. Look in the path if we contain no path at all
41851 # relative or not.
41852 case $0 in
41853 *[\\/]* ) as_myself=$0 ;;
41854 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41855 for as_dir in $PATH
41856 do
41857 IFS=$as_save_IFS
41858 test -z "$as_dir" && as_dir=.
41859 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41860 done
41861
41862 ;;
41863 esac
41864 # We did not find ourselves, most probably we were run as `sh COMMAND'
41865 # in which case we are not to be found in the path.
41866 if test "x$as_myself" = x; then
41867 as_myself=$0
41868 fi
41869 if test ! -f "$as_myself"; then
41870 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41871 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41872 { (exit 1); exit 1; }; }
41873 fi
41874 case $CONFIG_SHELL in
41875 '')
41876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41877 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41878 do
41879 IFS=$as_save_IFS
41880 test -z "$as_dir" && as_dir=.
41881 for as_base in sh bash ksh sh5; do
41882 case $as_dir in
41883 /*)
41884 if ("$as_dir/$as_base" -c '
41885 as_lineno_1=$LINENO
41886 as_lineno_2=$LINENO
41887 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41888 test "x$as_lineno_1" != "x$as_lineno_2" &&
41889 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41890 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41891 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41892 CONFIG_SHELL=$as_dir/$as_base
41893 export CONFIG_SHELL
41894 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41895 fi;;
41896 esac
41897 done
41898 done
41899 ;;
41900 esac
41901
41902 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41903 # uniformly replaced by the line number. The first 'sed' inserts a
41904 # line-number line before each line; the second 'sed' does the real
41905 # work. The second script uses 'N' to pair each line-number line
41906 # with the numbered line, and appends trailing '-' during
41907 # substitution so that $LINENO is not a special case at line end.
41908 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41909 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41910 sed '=' <$as_myself |
41911 sed '
41912 N
41913 s,$,-,
41914 : loop
41915 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41916 t loop
41917 s,-$,,
41918 s,^['$as_cr_digits']*\n,,
41919 ' >$as_me.lineno &&
41920 chmod +x $as_me.lineno ||
41921 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41922 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41923 { (exit 1); exit 1; }; }
41924
41925 # Don't try to exec as it changes $[0], causing all sort of problems
41926 # (the dirname of $[0] is not the place where we might find the
41927 # original and so on. Autoconf is especially sensible to this).
41928 . ./$as_me.lineno
41929 # Exit status is that of the last command.
41930 exit
41931 }
41932
41933
41934 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41935 *c*,-n*) ECHO_N= ECHO_C='
41936 ' ECHO_T=' ' ;;
41937 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41938 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41939 esac
41940
41941 if expr a : '\(a\)' >/dev/null 2>&1; then
41942 as_expr=expr
41943 else
41944 as_expr=false
41945 fi
41946
41947 rm -f conf$$ conf$$.exe conf$$.file
41948 echo >conf$$.file
41949 if ln -s conf$$.file conf$$ 2>/dev/null; then
41950 # We could just check for DJGPP; but this test a) works b) is more generic
41951 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41952 if test -f conf$$.exe; then
41953 # Don't use ln at all; we don't have any links
41954 as_ln_s='cp -p'
41955 else
41956 as_ln_s='ln -s'
41957 fi
41958 elif ln conf$$.file conf$$ 2>/dev/null; then
41959 as_ln_s=ln
41960 else
41961 as_ln_s='cp -p'
41962 fi
41963 rm -f conf$$ conf$$.exe conf$$.file
41964
41965 if mkdir -p . 2>/dev/null; then
41966 as_mkdir_p=:
41967 else
41968 test -d ./-p && rmdir ./-p
41969 as_mkdir_p=false
41970 fi
41971
41972 as_executable_p="test -f"
41973
41974 # Sed expression to map a string onto a valid CPP name.
41975 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41976
41977 # Sed expression to map a string onto a valid variable name.
41978 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41979
41980
41981 # IFS
41982 # We need space, tab and new line, in precisely that order.
41983 as_nl='
41984 '
41985 IFS=" $as_nl"
41986
41987 # CDPATH.
41988 $as_unset CDPATH
41989
41990 exec 6>&1
41991
41992 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41993 # report actual input values of CONFIG_FILES etc. instead of their
41994 # values after options handling. Logging --version etc. is OK.
41995 exec 5>>config.log
41996 {
41997 echo
41998 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41999 ## Running $as_me. ##
42000 _ASBOX
42001 } >&5
42002 cat >&5 <<_CSEOF
42003
42004 This file was extended by wxWidgets $as_me 2.5.3, which was
42005 generated by GNU Autoconf 2.59. Invocation command line was
42006
42007 CONFIG_FILES = $CONFIG_FILES
42008 CONFIG_HEADERS = $CONFIG_HEADERS
42009 CONFIG_LINKS = $CONFIG_LINKS
42010 CONFIG_COMMANDS = $CONFIG_COMMANDS
42011 $ $0 $@
42012
42013 _CSEOF
42014 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42015 echo >&5
42016 _ACEOF
42017
42018 # Files that config.status was made for.
42019 if test -n "$ac_config_files"; then
42020 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42021 fi
42022
42023 if test -n "$ac_config_headers"; then
42024 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42025 fi
42026
42027 if test -n "$ac_config_links"; then
42028 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42029 fi
42030
42031 if test -n "$ac_config_commands"; then
42032 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42033 fi
42034
42035 cat >>$CONFIG_STATUS <<\_ACEOF
42036
42037 ac_cs_usage="\
42038 \`$as_me' instantiates files from templates according to the
42039 current configuration.
42040
42041 Usage: $0 [OPTIONS] [FILE]...
42042
42043 -h, --help print this help, then exit
42044 -V, --version print version number, then exit
42045 -q, --quiet do not print progress messages
42046 -d, --debug don't remove temporary files
42047 --recheck update $as_me by reconfiguring in the same conditions
42048 --file=FILE[:TEMPLATE]
42049 instantiate the configuration file FILE
42050 --header=FILE[:TEMPLATE]
42051 instantiate the configuration header FILE
42052
42053 Configuration files:
42054 $config_files
42055
42056 Configuration headers:
42057 $config_headers
42058
42059 Configuration commands:
42060 $config_commands
42061
42062 Report bugs to <bug-autoconf@gnu.org>."
42063 _ACEOF
42064
42065 cat >>$CONFIG_STATUS <<_ACEOF
42066 ac_cs_version="\\
42067 wxWidgets config.status 2.5.3
42068 configured by $0, generated by GNU Autoconf 2.59,
42069 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42070
42071 Copyright (C) 2003 Free Software Foundation, Inc.
42072 This config.status script is free software; the Free Software Foundation
42073 gives unlimited permission to copy, distribute and modify it."
42074 srcdir=$srcdir
42075 INSTALL="$INSTALL"
42076 _ACEOF
42077
42078 cat >>$CONFIG_STATUS <<\_ACEOF
42079 # If no file are specified by the user, then we need to provide default
42080 # value. By we need to know if files were specified by the user.
42081 ac_need_defaults=:
42082 while test $# != 0
42083 do
42084 case $1 in
42085 --*=*)
42086 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42087 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42088 ac_shift=:
42089 ;;
42090 -*)
42091 ac_option=$1
42092 ac_optarg=$2
42093 ac_shift=shift
42094 ;;
42095 *) # This is not an option, so the user has probably given explicit
42096 # arguments.
42097 ac_option=$1
42098 ac_need_defaults=false;;
42099 esac
42100
42101 case $ac_option in
42102 # Handling of the options.
42103 _ACEOF
42104 cat >>$CONFIG_STATUS <<\_ACEOF
42105 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42106 ac_cs_recheck=: ;;
42107 --version | --vers* | -V )
42108 echo "$ac_cs_version"; exit 0 ;;
42109 --he | --h)
42110 # Conflict between --help and --header
42111 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42112 Try \`$0 --help' for more information." >&5
42113 echo "$as_me: error: ambiguous option: $1
42114 Try \`$0 --help' for more information." >&2;}
42115 { (exit 1); exit 1; }; };;
42116 --help | --hel | -h )
42117 echo "$ac_cs_usage"; exit 0 ;;
42118 --debug | --d* | -d )
42119 debug=: ;;
42120 --file | --fil | --fi | --f )
42121 $ac_shift
42122 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42123 ac_need_defaults=false;;
42124 --header | --heade | --head | --hea )
42125 $ac_shift
42126 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42127 ac_need_defaults=false;;
42128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42129 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42130 ac_cs_silent=: ;;
42131
42132 # This is an error.
42133 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42134 Try \`$0 --help' for more information." >&5
42135 echo "$as_me: error: unrecognized option: $1
42136 Try \`$0 --help' for more information." >&2;}
42137 { (exit 1); exit 1; }; } ;;
42138
42139 *) ac_config_targets="$ac_config_targets $1" ;;
42140
42141 esac
42142 shift
42143 done
42144
42145 ac_configure_extra_args=
42146
42147 if $ac_cs_silent; then
42148 exec 6>/dev/null
42149 ac_configure_extra_args="$ac_configure_extra_args --silent"
42150 fi
42151
42152 _ACEOF
42153 cat >>$CONFIG_STATUS <<_ACEOF
42154 if \$ac_cs_recheck; then
42155 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42156 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42157 fi
42158
42159 _ACEOF
42160
42161 cat >>$CONFIG_STATUS <<_ACEOF
42162 #
42163 # INIT-COMMANDS section.
42164 #
42165
42166 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42167 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42168 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42169 LN_S="${LN_S}"
42170
42171
42172 _ACEOF
42173
42174
42175
42176 cat >>$CONFIG_STATUS <<\_ACEOF
42177 for ac_config_target in $ac_config_targets
42178 do
42179 case "$ac_config_target" in
42180 # Handling of arguments.
42181 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42182 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42183 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42184 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42185 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42186 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42187 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42188 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42189 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42190 { (exit 1); exit 1; }; };;
42191 esac
42192 done
42193
42194 # If the user did not use the arguments to specify the items to instantiate,
42195 # then the envvar interface is used. Set only those that are not.
42196 # We use the long form for the default assignment because of an extremely
42197 # bizarre bug on SunOS 4.1.3.
42198 if $ac_need_defaults; then
42199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42200 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42201 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42202 fi
42203
42204 # Have a temporary directory for convenience. Make it in the build tree
42205 # simply because there is no reason to put it here, and in addition,
42206 # creating and moving files from /tmp can sometimes cause problems.
42207 # Create a temporary directory, and hook for its removal unless debugging.
42208 $debug ||
42209 {
42210 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42211 trap '{ (exit 1); exit 1; }' 1 2 13 15
42212 }
42213
42214 # Create a (secure) tmp directory for tmp files.
42215
42216 {
42217 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42218 test -n "$tmp" && test -d "$tmp"
42219 } ||
42220 {
42221 tmp=./confstat$$-$RANDOM
42222 (umask 077 && mkdir $tmp)
42223 } ||
42224 {
42225 echo "$me: cannot create a temporary directory in ." >&2
42226 { (exit 1); exit 1; }
42227 }
42228
42229 _ACEOF
42230
42231 cat >>$CONFIG_STATUS <<_ACEOF
42232
42233 #
42234 # CONFIG_FILES section.
42235 #
42236
42237 # No need to generate the scripts if there are no CONFIG_FILES.
42238 # This happens for instance when ./config.status config.h
42239 if test -n "\$CONFIG_FILES"; then
42240 # Protect against being on the right side of a sed subst in config.status.
42241 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42242 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42243 s,@SHELL@,$SHELL,;t t
42244 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42245 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42246 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42247 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42248 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42249 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42250 s,@exec_prefix@,$exec_prefix,;t t
42251 s,@prefix@,$prefix,;t t
42252 s,@program_transform_name@,$program_transform_name,;t t
42253 s,@bindir@,$bindir,;t t
42254 s,@sbindir@,$sbindir,;t t
42255 s,@libexecdir@,$libexecdir,;t t
42256 s,@datadir@,$datadir,;t t
42257 s,@sysconfdir@,$sysconfdir,;t t
42258 s,@sharedstatedir@,$sharedstatedir,;t t
42259 s,@localstatedir@,$localstatedir,;t t
42260 s,@libdir@,$libdir,;t t
42261 s,@includedir@,$includedir,;t t
42262 s,@oldincludedir@,$oldincludedir,;t t
42263 s,@infodir@,$infodir,;t t
42264 s,@mandir@,$mandir,;t t
42265 s,@build_alias@,$build_alias,;t t
42266 s,@host_alias@,$host_alias,;t t
42267 s,@target_alias@,$target_alias,;t t
42268 s,@DEFS@,$DEFS,;t t
42269 s,@ECHO_C@,$ECHO_C,;t t
42270 s,@ECHO_N@,$ECHO_N,;t t
42271 s,@ECHO_T@,$ECHO_T,;t t
42272 s,@LIBS@,$LIBS,;t t
42273 s,@build@,$build,;t t
42274 s,@build_cpu@,$build_cpu,;t t
42275 s,@build_vendor@,$build_vendor,;t t
42276 s,@build_os@,$build_os,;t t
42277 s,@host@,$host,;t t
42278 s,@host_cpu@,$host_cpu,;t t
42279 s,@host_vendor@,$host_vendor,;t t
42280 s,@host_os@,$host_os,;t t
42281 s,@target@,$target,;t t
42282 s,@target_cpu@,$target_cpu,;t t
42283 s,@target_vendor@,$target_vendor,;t t
42284 s,@target_os@,$target_os,;t t
42285 s,@CC@,$CC,;t t
42286 s,@CFLAGS@,$CFLAGS,;t t
42287 s,@LDFLAGS@,$LDFLAGS,;t t
42288 s,@CPPFLAGS@,$CPPFLAGS,;t t
42289 s,@ac_ct_CC@,$ac_ct_CC,;t t
42290 s,@EXEEXT@,$EXEEXT,;t t
42291 s,@OBJEXT@,$OBJEXT,;t t
42292 s,@CPP@,$CPP,;t t
42293 s,@EGREP@,$EGREP,;t t
42294 s,@CXX@,$CXX,;t t
42295 s,@CXXFLAGS@,$CXXFLAGS,;t t
42296 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42297 s,@RANLIB@,$RANLIB,;t t
42298 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42299 s,@AR@,$AR,;t t
42300 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42301 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42302 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42303 s,@STRIP@,$STRIP,;t t
42304 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42305 s,@LN_S@,$LN_S,;t t
42306 s,@CXXCPP@,$CXXCPP,;t t
42307 s,@subdirs@,$subdirs,;t t
42308 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42309 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42310 s,@GTK_LIBS@,$GTK_LIBS,;t t
42311 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42312 s,@X_CFLAGS@,$X_CFLAGS,;t t
42313 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42314 s,@X_LIBS@,$X_LIBS,;t t
42315 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42316 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42317 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42318 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42319 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42320 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42321 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42322 s,@RESCOMP@,$RESCOMP,;t t
42323 s,@DEREZ@,$DEREZ,;t t
42324 s,@SETFILE@,$SETFILE,;t t
42325 s,@LIBICONV@,$LIBICONV,;t t
42326 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42327 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42328 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42329 s,@SDL_LIBS@,$SDL_LIBS,;t t
42330 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42331 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42332 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42333 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42334 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42335 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42336 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42337 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42338 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42339 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42340 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42341 s,@VENDOR@,$VENDOR,;t t
42342 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42343 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42344 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42345 s,@WXUNIV@,$WXUNIV,;t t
42346 s,@MONOLITHIC@,$MONOLITHIC,;t t
42347 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42348 s,@EXTRALIBS@,$EXTRALIBS,;t t
42349 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42350 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42351 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42352 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42353 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42354 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42355 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42356 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42357 s,@UNICODE@,$UNICODE,;t t
42358 s,@BUILD@,$BUILD,;t t
42359 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42360 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42361 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42362 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42363 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42364 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42365 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42366 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42367 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42368 s,@SET_MAKE@,$SET_MAKE,;t t
42369 s,@MAKE_SET@,$MAKE_SET,;t t
42370 s,@ac_ct_AR@,$ac_ct_AR,;t t
42371 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42372 s,@NM@,$NM,;t t
42373 s,@ac_ct_NM@,$ac_ct_NM,;t t
42374 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42375 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42376 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42377 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42378 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42379 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42380 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42381 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42382 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42383 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42384 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42385 s,@LIBPREFIX@,$LIBPREFIX,;t t
42386 s,@LIBEXT@,$LIBEXT,;t t
42387 s,@DLLPREFIX@,$DLLPREFIX,;t t
42388 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42389 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42390 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42391 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42392 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42393 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42394 s,@PIC_FLAG@,$PIC_FLAG,;t t
42395 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42396 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42397 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42398 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42399 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42400 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42401 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42402 s,@GCC_PCH@,$GCC_PCH,;t t
42403 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42404 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42405 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42406 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42407 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42408 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42409 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42410 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42411 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42412 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42413 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42414 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42415 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42416 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42417 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42418 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42419 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42420 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42421 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
42422 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42423 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42424 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42425 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42426 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42427 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
42428 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42429 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42430 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42431 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42432 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42433 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42434 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42435 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42436 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42437 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42438 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42439 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42440 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42441 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42442 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42443 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42444 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42445 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42446 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42447 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42448 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42449 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42450 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42451 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42452 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42453 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42454 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42455 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42456 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42457 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42458 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42459 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42460 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42461 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42462 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42463 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42464 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42465 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42466 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42467 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42468 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42469 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42470 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42471 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42472 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42473 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42474 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42475 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42476 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42477 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42478 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42479 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42480 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42481 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42482 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42483 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42484 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42485 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42486 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42487 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42488 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42489 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42490 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42491 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42492 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42493 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42494 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42495 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42496 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42497 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42498 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42499 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42500 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42501 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42502 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42503 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42504 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42505 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42506 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42507 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42508 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42509 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42510 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42511 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42512 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42513 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42514 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42515 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42516 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42517 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42518 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42519 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42520 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42521 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42522 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42523 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42524 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42525 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42526 s,@SHARED@,$SHARED,;t t
42527 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42528 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42529 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42530 s,@USE_GUI@,$USE_GUI,;t t
42531 s,@AFMINSTALL@,$AFMINSTALL,;t t
42532 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42533 s,@TOOLKIT@,$TOOLKIT,;t t
42534 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42535 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42536 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42537 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42538 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42539 s,@cross_compiling@,$cross_compiling,;t t
42540 s,@WIDGET_SET@,$WIDGET_SET,;t t
42541 s,@WX_RELEASE@,$WX_RELEASE,;t t
42542 s,@WX_VERSION@,$WX_VERSION,;t t
42543 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42544 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42545 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42546 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42547 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42548 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42549 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42550 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42551 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42552 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42553 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42554 s,@EXE_LINKER@,$EXE_LINKER,;t t
42555 s,@GUIDIST@,$GUIDIST,;t t
42556 s,@DISTDIR@,$DISTDIR,;t t
42557 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42558 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42559 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42560 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42561 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42562 s,@RESFLAGS@,$RESFLAGS,;t t
42563 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42564 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42565 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42566 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42567 s,@MACRESCOMP@,$MACRESCOMP,;t t
42568 s,@MACSETFILE@,$MACSETFILE,;t t
42569 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42570 s,@GCC@,$GCC,;t t
42571 s,@DLLTOOL@,$DLLTOOL,;t t
42572 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42573 s,@LIBOBJS@,$LIBOBJS,;t t
42574 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42575 CEOF
42576
42577 _ACEOF
42578
42579 cat >>$CONFIG_STATUS <<\_ACEOF
42580 # Split the substitutions into bite-sized pieces for seds with
42581 # small command number limits, like on Digital OSF/1 and HP-UX.
42582 ac_max_sed_lines=48
42583 ac_sed_frag=1 # Number of current file.
42584 ac_beg=1 # First line for current file.
42585 ac_end=$ac_max_sed_lines # Line after last line for current file.
42586 ac_more_lines=:
42587 ac_sed_cmds=
42588 while $ac_more_lines; do
42589 if test $ac_beg -gt 1; then
42590 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42591 else
42592 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42593 fi
42594 if test ! -s $tmp/subs.frag; then
42595 ac_more_lines=false
42596 else
42597 # The purpose of the label and of the branching condition is to
42598 # speed up the sed processing (if there are no `@' at all, there
42599 # is no need to browse any of the substitutions).
42600 # These are the two extra sed commands mentioned above.
42601 (echo ':t
42602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42603 if test -z "$ac_sed_cmds"; then
42604 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42605 else
42606 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42607 fi
42608 ac_sed_frag=`expr $ac_sed_frag + 1`
42609 ac_beg=$ac_end
42610 ac_end=`expr $ac_end + $ac_max_sed_lines`
42611 fi
42612 done
42613 if test -z "$ac_sed_cmds"; then
42614 ac_sed_cmds=cat
42615 fi
42616 fi # test -n "$CONFIG_FILES"
42617
42618 _ACEOF
42619 cat >>$CONFIG_STATUS <<\_ACEOF
42620 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42621 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42622 case $ac_file in
42623 - | *:- | *:-:* ) # input from stdin
42624 cat >$tmp/stdin
42625 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42626 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42627 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42628 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42629 * ) ac_file_in=$ac_file.in ;;
42630 esac
42631
42632 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42633 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42635 X"$ac_file" : 'X\(//\)[^/]' \| \
42636 X"$ac_file" : 'X\(//\)$' \| \
42637 X"$ac_file" : 'X\(/\)' \| \
42638 . : '\(.\)' 2>/dev/null ||
42639 echo X"$ac_file" |
42640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42642 /^X\(\/\/\)$/{ s//\1/; q; }
42643 /^X\(\/\).*/{ s//\1/; q; }
42644 s/.*/./; q'`
42645 { if $as_mkdir_p; then
42646 mkdir -p "$ac_dir"
42647 else
42648 as_dir="$ac_dir"
42649 as_dirs=
42650 while test ! -d "$as_dir"; do
42651 as_dirs="$as_dir $as_dirs"
42652 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42654 X"$as_dir" : 'X\(//\)[^/]' \| \
42655 X"$as_dir" : 'X\(//\)$' \| \
42656 X"$as_dir" : 'X\(/\)' \| \
42657 . : '\(.\)' 2>/dev/null ||
42658 echo X"$as_dir" |
42659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42661 /^X\(\/\/\)$/{ s//\1/; q; }
42662 /^X\(\/\).*/{ s//\1/; q; }
42663 s/.*/./; q'`
42664 done
42665 test ! -n "$as_dirs" || mkdir $as_dirs
42666 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42667 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42668 { (exit 1); exit 1; }; }; }
42669
42670 ac_builddir=.
42671
42672 if test "$ac_dir" != .; then
42673 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42674 # A "../" for each directory in $ac_dir_suffix.
42675 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42676 else
42677 ac_dir_suffix= ac_top_builddir=
42678 fi
42679
42680 case $srcdir in
42681 .) # No --srcdir option. We are building in place.
42682 ac_srcdir=.
42683 if test -z "$ac_top_builddir"; then
42684 ac_top_srcdir=.
42685 else
42686 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42687 fi ;;
42688 [\\/]* | ?:[\\/]* ) # Absolute path.
42689 ac_srcdir=$srcdir$ac_dir_suffix;
42690 ac_top_srcdir=$srcdir ;;
42691 *) # Relative path.
42692 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42693 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42694 esac
42695
42696 # Do not use `cd foo && pwd` to compute absolute paths, because
42697 # the directories may not exist.
42698 case `pwd` in
42699 .) ac_abs_builddir="$ac_dir";;
42700 *)
42701 case "$ac_dir" in
42702 .) ac_abs_builddir=`pwd`;;
42703 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42704 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42705 esac;;
42706 esac
42707 case $ac_abs_builddir in
42708 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42709 *)
42710 case ${ac_top_builddir}. in
42711 .) ac_abs_top_builddir=$ac_abs_builddir;;
42712 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42713 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42714 esac;;
42715 esac
42716 case $ac_abs_builddir in
42717 .) ac_abs_srcdir=$ac_srcdir;;
42718 *)
42719 case $ac_srcdir in
42720 .) ac_abs_srcdir=$ac_abs_builddir;;
42721 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42722 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42723 esac;;
42724 esac
42725 case $ac_abs_builddir in
42726 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42727 *)
42728 case $ac_top_srcdir in
42729 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42730 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42731 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42732 esac;;
42733 esac
42734
42735
42736 case $INSTALL in
42737 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42738 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42739 esac
42740
42741 # Let's still pretend it is `configure' which instantiates (i.e., don't
42742 # use $as_me), people would be surprised to read:
42743 # /* config.h. Generated by config.status. */
42744 if test x"$ac_file" = x-; then
42745 configure_input=
42746 else
42747 configure_input="$ac_file. "
42748 fi
42749 configure_input=$configure_input"Generated from `echo $ac_file_in |
42750 sed 's,.*/,,'` by configure."
42751
42752 # First look for the input files in the build tree, otherwise in the
42753 # src tree.
42754 ac_file_inputs=`IFS=:
42755 for f in $ac_file_in; do
42756 case $f in
42757 -) echo $tmp/stdin ;;
42758 [\\/$]*)
42759 # Absolute (can't be DOS-style, as IFS=:)
42760 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42761 echo "$as_me: error: cannot find input file: $f" >&2;}
42762 { (exit 1); exit 1; }; }
42763 echo "$f";;
42764 *) # Relative
42765 if test -f "$f"; then
42766 # Build tree
42767 echo "$f"
42768 elif test -f "$srcdir/$f"; then
42769 # Source tree
42770 echo "$srcdir/$f"
42771 else
42772 # /dev/null tree
42773 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42774 echo "$as_me: error: cannot find input file: $f" >&2;}
42775 { (exit 1); exit 1; }; }
42776 fi;;
42777 esac
42778 done` || { (exit 1); exit 1; }
42779
42780 if test x"$ac_file" != x-; then
42781 { echo "$as_me:$LINENO: creating $ac_file" >&5
42782 echo "$as_me: creating $ac_file" >&6;}
42783 rm -f "$ac_file"
42784 fi
42785 _ACEOF
42786 cat >>$CONFIG_STATUS <<_ACEOF
42787 sed "$ac_vpsub
42788 $extrasub
42789 _ACEOF
42790 cat >>$CONFIG_STATUS <<\_ACEOF
42791 :t
42792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42793 s,@configure_input@,$configure_input,;t t
42794 s,@srcdir@,$ac_srcdir,;t t
42795 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42796 s,@top_srcdir@,$ac_top_srcdir,;t t
42797 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42798 s,@builddir@,$ac_builddir,;t t
42799 s,@abs_builddir@,$ac_abs_builddir,;t t
42800 s,@top_builddir@,$ac_top_builddir,;t t
42801 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42802 s,@INSTALL@,$ac_INSTALL,;t t
42803 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42804 rm -f $tmp/stdin
42805 if test x"$ac_file" != x-; then
42806 mv $tmp/out $ac_file
42807 else
42808 cat $tmp/out
42809 rm -f $tmp/out
42810 fi
42811
42812 # Run the commands associated with the file.
42813 case $ac_file in
42814 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42815 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42816 esac
42817 done
42818 _ACEOF
42819 cat >>$CONFIG_STATUS <<\_ACEOF
42820
42821 #
42822 # CONFIG_HEADER section.
42823 #
42824
42825 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42826 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42827 #
42828 # ac_d sets the value in "#define NAME VALUE" lines.
42829 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42830 ac_dB='[ ].*$,\1#\2'
42831 ac_dC=' '
42832 ac_dD=',;t'
42833 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42834 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42835 ac_uB='$,\1#\2define\3'
42836 ac_uC=' '
42837 ac_uD=',;t'
42838
42839 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42840 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42841 case $ac_file in
42842 - | *:- | *:-:* ) # input from stdin
42843 cat >$tmp/stdin
42844 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42845 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42846 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42847 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42848 * ) ac_file_in=$ac_file.in ;;
42849 esac
42850
42851 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42852 echo "$as_me: creating $ac_file" >&6;}
42853
42854 # First look for the input files in the build tree, otherwise in the
42855 # src tree.
42856 ac_file_inputs=`IFS=:
42857 for f in $ac_file_in; do
42858 case $f in
42859 -) echo $tmp/stdin ;;
42860 [\\/$]*)
42861 # Absolute (can't be DOS-style, as IFS=:)
42862 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42863 echo "$as_me: error: cannot find input file: $f" >&2;}
42864 { (exit 1); exit 1; }; }
42865 # Do quote $f, to prevent DOS paths from being IFS'd.
42866 echo "$f";;
42867 *) # Relative
42868 if test -f "$f"; then
42869 # Build tree
42870 echo "$f"
42871 elif test -f "$srcdir/$f"; then
42872 # Source tree
42873 echo "$srcdir/$f"
42874 else
42875 # /dev/null tree
42876 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42877 echo "$as_me: error: cannot find input file: $f" >&2;}
42878 { (exit 1); exit 1; }; }
42879 fi;;
42880 esac
42881 done` || { (exit 1); exit 1; }
42882 # Remove the trailing spaces.
42883 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42884
42885 _ACEOF
42886
42887 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42888 # `conftest.undefs', that substitutes the proper values into
42889 # config.h.in to produce config.h. The first handles `#define'
42890 # templates, and the second `#undef' templates.
42891 # And first: Protect against being on the right side of a sed subst in
42892 # config.status. Protect against being in an unquoted here document
42893 # in config.status.
42894 rm -f conftest.defines conftest.undefs
42895 # Using a here document instead of a string reduces the quoting nightmare.
42896 # Putting comments in sed scripts is not portable.
42897 #
42898 # `end' is used to avoid that the second main sed command (meant for
42899 # 0-ary CPP macros) applies to n-ary macro definitions.
42900 # See the Autoconf documentation for `clear'.
42901 cat >confdef2sed.sed <<\_ACEOF
42902 s/[\\&,]/\\&/g
42903 s,[\\$`],\\&,g
42904 t clear
42905 : clear
42906 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42907 t end
42908 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42909 : end
42910 _ACEOF
42911 # If some macros were called several times there might be several times
42912 # the same #defines, which is useless. Nevertheless, we may not want to
42913 # sort them, since we want the *last* AC-DEFINE to be honored.
42914 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42915 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42916 rm -f confdef2sed.sed
42917
42918 # This sed command replaces #undef with comments. This is necessary, for
42919 # example, in the case of _POSIX_SOURCE, which is predefined and required
42920 # on some systems where configure will not decide to define it.
42921 cat >>conftest.undefs <<\_ACEOF
42922 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42923 _ACEOF
42924
42925 # Break up conftest.defines because some shells have a limit on the size
42926 # of here documents, and old seds have small limits too (100 cmds).
42927 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42928 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42929 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42930 echo ' :' >>$CONFIG_STATUS
42931 rm -f conftest.tail
42932 while grep . conftest.defines >/dev/null
42933 do
42934 # Write a limited-size here document to $tmp/defines.sed.
42935 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42936 # Speed up: don't consider the non `#define' lines.
42937 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42938 # Work around the forget-to-reset-the-flag bug.
42939 echo 't clr' >>$CONFIG_STATUS
42940 echo ': clr' >>$CONFIG_STATUS
42941 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42942 echo 'CEOF
42943 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42944 rm -f $tmp/in
42945 mv $tmp/out $tmp/in
42946 ' >>$CONFIG_STATUS
42947 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42948 rm -f conftest.defines
42949 mv conftest.tail conftest.defines
42950 done
42951 rm -f conftest.defines
42952 echo ' fi # grep' >>$CONFIG_STATUS
42953 echo >>$CONFIG_STATUS
42954
42955 # Break up conftest.undefs because some shells have a limit on the size
42956 # of here documents, and old seds have small limits too (100 cmds).
42957 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42958 rm -f conftest.tail
42959 while grep . conftest.undefs >/dev/null
42960 do
42961 # Write a limited-size here document to $tmp/undefs.sed.
42962 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42963 # Speed up: don't consider the non `#undef'
42964 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42965 # Work around the forget-to-reset-the-flag bug.
42966 echo 't clr' >>$CONFIG_STATUS
42967 echo ': clr' >>$CONFIG_STATUS
42968 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42969 echo 'CEOF
42970 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42971 rm -f $tmp/in
42972 mv $tmp/out $tmp/in
42973 ' >>$CONFIG_STATUS
42974 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42975 rm -f conftest.undefs
42976 mv conftest.tail conftest.undefs
42977 done
42978 rm -f conftest.undefs
42979
42980 cat >>$CONFIG_STATUS <<\_ACEOF
42981 # Let's still pretend it is `configure' which instantiates (i.e., don't
42982 # use $as_me), people would be surprised to read:
42983 # /* config.h. Generated by config.status. */
42984 if test x"$ac_file" = x-; then
42985 echo "/* Generated by configure. */" >$tmp/config.h
42986 else
42987 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42988 fi
42989 cat $tmp/in >>$tmp/config.h
42990 rm -f $tmp/in
42991 if test x"$ac_file" != x-; then
42992 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42993 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42994 echo "$as_me: $ac_file is unchanged" >&6;}
42995 else
42996 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42998 X"$ac_file" : 'X\(//\)[^/]' \| \
42999 X"$ac_file" : 'X\(//\)$' \| \
43000 X"$ac_file" : 'X\(/\)' \| \
43001 . : '\(.\)' 2>/dev/null ||
43002 echo X"$ac_file" |
43003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43004 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43005 /^X\(\/\/\)$/{ s//\1/; q; }
43006 /^X\(\/\).*/{ s//\1/; q; }
43007 s/.*/./; q'`
43008 { if $as_mkdir_p; then
43009 mkdir -p "$ac_dir"
43010 else
43011 as_dir="$ac_dir"
43012 as_dirs=
43013 while test ! -d "$as_dir"; do
43014 as_dirs="$as_dir $as_dirs"
43015 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43017 X"$as_dir" : 'X\(//\)[^/]' \| \
43018 X"$as_dir" : 'X\(//\)$' \| \
43019 X"$as_dir" : 'X\(/\)' \| \
43020 . : '\(.\)' 2>/dev/null ||
43021 echo X"$as_dir" |
43022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43024 /^X\(\/\/\)$/{ s//\1/; q; }
43025 /^X\(\/\).*/{ s//\1/; q; }
43026 s/.*/./; q'`
43027 done
43028 test ! -n "$as_dirs" || mkdir $as_dirs
43029 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43030 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43031 { (exit 1); exit 1; }; }; }
43032
43033 rm -f $ac_file
43034 mv $tmp/config.h $ac_file
43035 fi
43036 else
43037 cat $tmp/config.h
43038 rm -f $tmp/config.h
43039 fi
43040 done
43041 _ACEOF
43042 cat >>$CONFIG_STATUS <<\_ACEOF
43043
43044 #
43045 # CONFIG_COMMANDS section.
43046 #
43047 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43048 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43049 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43050 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43051 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43052 X"$ac_dest" : 'X\(//\)[^/]' \| \
43053 X"$ac_dest" : 'X\(//\)$' \| \
43054 X"$ac_dest" : 'X\(/\)' \| \
43055 . : '\(.\)' 2>/dev/null ||
43056 echo X"$ac_dest" |
43057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43059 /^X\(\/\/\)$/{ s//\1/; q; }
43060 /^X\(\/\).*/{ s//\1/; q; }
43061 s/.*/./; q'`
43062 { if $as_mkdir_p; then
43063 mkdir -p "$ac_dir"
43064 else
43065 as_dir="$ac_dir"
43066 as_dirs=
43067 while test ! -d "$as_dir"; do
43068 as_dirs="$as_dir $as_dirs"
43069 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43071 X"$as_dir" : 'X\(//\)[^/]' \| \
43072 X"$as_dir" : 'X\(//\)$' \| \
43073 X"$as_dir" : 'X\(/\)' \| \
43074 . : '\(.\)' 2>/dev/null ||
43075 echo X"$as_dir" |
43076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43078 /^X\(\/\/\)$/{ s//\1/; q; }
43079 /^X\(\/\).*/{ s//\1/; q; }
43080 s/.*/./; q'`
43081 done
43082 test ! -n "$as_dirs" || mkdir $as_dirs
43083 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43084 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43085 { (exit 1); exit 1; }; }; }
43086
43087 ac_builddir=.
43088
43089 if test "$ac_dir" != .; then
43090 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43091 # A "../" for each directory in $ac_dir_suffix.
43092 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43093 else
43094 ac_dir_suffix= ac_top_builddir=
43095 fi
43096
43097 case $srcdir in
43098 .) # No --srcdir option. We are building in place.
43099 ac_srcdir=.
43100 if test -z "$ac_top_builddir"; then
43101 ac_top_srcdir=.
43102 else
43103 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43104 fi ;;
43105 [\\/]* | ?:[\\/]* ) # Absolute path.
43106 ac_srcdir=$srcdir$ac_dir_suffix;
43107 ac_top_srcdir=$srcdir ;;
43108 *) # Relative path.
43109 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43110 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43111 esac
43112
43113 # Do not use `cd foo && pwd` to compute absolute paths, because
43114 # the directories may not exist.
43115 case `pwd` in
43116 .) ac_abs_builddir="$ac_dir";;
43117 *)
43118 case "$ac_dir" in
43119 .) ac_abs_builddir=`pwd`;;
43120 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43121 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43122 esac;;
43123 esac
43124 case $ac_abs_builddir in
43125 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43126 *)
43127 case ${ac_top_builddir}. in
43128 .) ac_abs_top_builddir=$ac_abs_builddir;;
43129 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43130 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43131 esac;;
43132 esac
43133 case $ac_abs_builddir in
43134 .) ac_abs_srcdir=$ac_srcdir;;
43135 *)
43136 case $ac_srcdir in
43137 .) ac_abs_srcdir=$ac_abs_builddir;;
43138 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43139 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43140 esac;;
43141 esac
43142 case $ac_abs_builddir in
43143 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43144 *)
43145 case $ac_top_srcdir in
43146 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43147 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43148 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43149 esac;;
43150 esac
43151
43152
43153 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43154 echo "$as_me: executing $ac_dest commands" >&6;}
43155 case $ac_dest in
43156 wx-config ) rm -f wx-config
43157 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43158 ;;
43159 esac
43160 done
43161 _ACEOF
43162
43163 cat >>$CONFIG_STATUS <<\_ACEOF
43164
43165 { (exit 0); exit 0; }
43166 _ACEOF
43167 chmod +x $CONFIG_STATUS
43168 ac_clean_files=$ac_clean_files_save
43169
43170
43171 # configure is writing to config.log, and then calls config.status.
43172 # config.status does its own redirection, appending to config.log.
43173 # Unfortunately, on DOS this fails, as config.log is still kept open
43174 # by configure, so config.status won't be able to write to it; its
43175 # output is simply discarded. So we exec the FD to /dev/null,
43176 # effectively closing config.log, so it can be properly (re)opened and
43177 # appended to by config.status. When coming back to configure, we
43178 # need to make the FD available again.
43179 if test "$no_create" != yes; then
43180 ac_cs_success=:
43181 ac_config_status_args=
43182 test "$silent" = yes &&
43183 ac_config_status_args="$ac_config_status_args --quiet"
43184 exec 5>/dev/null
43185 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43186 exec 5>>config.log
43187 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43188 # would make configure fail if this is the last instruction.
43189 $ac_cs_success || { (exit 1); exit 1; }
43190 fi
43191
43192 #
43193 # CONFIG_SUBDIRS section.
43194 #
43195 if test "$no_recursion" != yes; then
43196
43197 # Remove --cache-file and --srcdir arguments so they do not pile up.
43198 ac_sub_configure_args=
43199 ac_prev=
43200 for ac_arg in $ac_configure_args; do
43201 if test -n "$ac_prev"; then
43202 ac_prev=
43203 continue
43204 fi
43205 case $ac_arg in
43206 -cache-file | --cache-file | --cache-fil | --cache-fi \
43207 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43208 ac_prev=cache_file ;;
43209 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43210 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43211 | --c=*)
43212 ;;
43213 --config-cache | -C)
43214 ;;
43215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43216 ac_prev=srcdir ;;
43217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43218 ;;
43219 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43220 ac_prev=prefix ;;
43221 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43222 ;;
43223 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43224 esac
43225 done
43226
43227 # Always prepend --prefix to ensure using the same prefix
43228 # in subdir configurations.
43229 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43230
43231 ac_popdir=`pwd`
43232 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43233
43234 # Do not complain, so a configure script can configure whichever
43235 # parts of a large source tree are present.
43236 test -d $srcdir/$ac_dir || continue
43237
43238 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43239 echo "$as_me: configuring in $ac_dir" >&6;}
43240 { if $as_mkdir_p; then
43241 mkdir -p "$ac_dir"
43242 else
43243 as_dir="$ac_dir"
43244 as_dirs=
43245 while test ! -d "$as_dir"; do
43246 as_dirs="$as_dir $as_dirs"
43247 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43249 X"$as_dir" : 'X\(//\)[^/]' \| \
43250 X"$as_dir" : 'X\(//\)$' \| \
43251 X"$as_dir" : 'X\(/\)' \| \
43252 . : '\(.\)' 2>/dev/null ||
43253 echo X"$as_dir" |
43254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43255 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43256 /^X\(\/\/\)$/{ s//\1/; q; }
43257 /^X\(\/\).*/{ s//\1/; q; }
43258 s/.*/./; q'`
43259 done
43260 test ! -n "$as_dirs" || mkdir $as_dirs
43261 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43262 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43263 { (exit 1); exit 1; }; }; }
43264
43265 ac_builddir=.
43266
43267 if test "$ac_dir" != .; then
43268 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43269 # A "../" for each directory in $ac_dir_suffix.
43270 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43271 else
43272 ac_dir_suffix= ac_top_builddir=
43273 fi
43274
43275 case $srcdir in
43276 .) # No --srcdir option. We are building in place.
43277 ac_srcdir=.
43278 if test -z "$ac_top_builddir"; then
43279 ac_top_srcdir=.
43280 else
43281 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43282 fi ;;
43283 [\\/]* | ?:[\\/]* ) # Absolute path.
43284 ac_srcdir=$srcdir$ac_dir_suffix;
43285 ac_top_srcdir=$srcdir ;;
43286 *) # Relative path.
43287 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43288 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43289 esac
43290
43291 # Do not use `cd foo && pwd` to compute absolute paths, because
43292 # the directories may not exist.
43293 case `pwd` in
43294 .) ac_abs_builddir="$ac_dir";;
43295 *)
43296 case "$ac_dir" in
43297 .) ac_abs_builddir=`pwd`;;
43298 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43299 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43300 esac;;
43301 esac
43302 case $ac_abs_builddir in
43303 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43304 *)
43305 case ${ac_top_builddir}. in
43306 .) ac_abs_top_builddir=$ac_abs_builddir;;
43307 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43308 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43309 esac;;
43310 esac
43311 case $ac_abs_builddir in
43312 .) ac_abs_srcdir=$ac_srcdir;;
43313 *)
43314 case $ac_srcdir in
43315 .) ac_abs_srcdir=$ac_abs_builddir;;
43316 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43317 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43318 esac;;
43319 esac
43320 case $ac_abs_builddir in
43321 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43322 *)
43323 case $ac_top_srcdir in
43324 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43325 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43326 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43327 esac;;
43328 esac
43329
43330
43331 cd $ac_dir
43332
43333 # Check for guested configure; otherwise get Cygnus style configure.
43334 if test -f $ac_srcdir/configure.gnu; then
43335 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43336 elif test -f $ac_srcdir/configure; then
43337 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43338 elif test -f $ac_srcdir/configure.in; then
43339 ac_sub_configure=$ac_configure
43340 else
43341 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43342 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43343 ac_sub_configure=
43344 fi
43345
43346 # The recursion is here.
43347 if test -n "$ac_sub_configure"; then
43348 # Make the cache file name correct relative to the subdirectory.
43349 case $cache_file in
43350 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43351 *) # Relative path.
43352 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43353 esac
43354
43355 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43356 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43357 # The eval makes quoting arguments work.
43358 eval $ac_sub_configure $ac_sub_configure_args \
43359 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43360 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43361 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43362 { (exit 1); exit 1; }; }
43363 fi
43364
43365 cd "$ac_popdir"
43366 done
43367 fi
43368
43369
43370 echo
43371 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43372 echo ""
43373 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43374 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43375
43376 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43377 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43378 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43379
43380 echo " What level of wxWidgets compatibility should be enabled?"
43381 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43382 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43383
43384 echo " Which libraries should wxWidgets use?"
43385 echo " jpeg ${wxUSE_LIBJPEG-none}"
43386 echo " png ${wxUSE_LIBPNG-none}"
43387 echo " regex ${wxUSE_REGEX}"
43388 echo " tiff ${wxUSE_LIBTIFF-none}"
43389 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43390 echo " xpm ${wxUSE_LIBXPM-none}"
43391 fi
43392 echo " zlib ${wxUSE_ZLIB}"
43393 echo " odbc ${wxUSE_ODBC}"
43394 echo " expat ${wxUSE_EXPAT}"
43395 echo " libmspack ${wxUSE_LIBMSPACK}"
43396 echo " sdl ${wxUSE_LIBSDL}"
43397 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"
43398
43399 echo ""
43400